CN109818960A - Data processing method and device - Google Patents
Data processing method and device Download PDFInfo
- Publication number
- CN109818960A CN109818960A CN201910088233.4A CN201910088233A CN109818960A CN 109818960 A CN109818960 A CN 109818960A CN 201910088233 A CN201910088233 A CN 201910088233A CN 109818960 A CN109818960 A CN 109818960A
- Authority
- CN
- China
- Prior art keywords
- networking
- message
- datagram text
- view
- view networking
- 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
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides a kind of data processing method and devices, are applied in view networking.Wherein method includes: that the first view networking gateway equipment receives the IP datagram text that the first internet device is sent;First, which judges whether there is having used with remaining space depending on networking gateway equipment, regards networking message;First regard networking gateway equipment judging result as in the presence of, according to the length of IP datagram text, network message using having used view networking message, or using use view networking message and view being not used, encapsulation IP datagram is literary;First regard networking gateway equipment judging result as in the absence of, according to the length of IP datagram text, utilize at least one that view networking message encapsulation IP datagram text is not used.The present invention has used before can making full use of and the view networking message with remaining space, avoids the waste in this some residual space, makes full use of transmission bandwidth, improves throughput parameter, improving performance index.
Description
Technical field
The present invention relates to view networking technology fields, fill more particularly to a kind of data processing method and a kind of data processing
It sets.
Background technique
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.
Since view networking is based on view networking visual telephone service, the data field for carrying the view networking message of data, which has, to be fixed
Length, so the data transmitted in depending on networking occupy the space of the regular length of a view networking message.
But for deviateing the biggish data of the regular length, when transmitting these data using aforesaid way, will cause
The waste of bandwidth causes throughput parameter lower, and performance indicator is undesirable.
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 data processing method to solve the above problems and a kind of corresponding data processing equipment.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of data processing method, the method is applied to view
In networking, includes the first view networking gateway equipment in view networking, include the first internet device, the method in internet
It include: the described first IP datagram text that the first internet device transmission is received depending on networking gateway equipment;First view
Networking gateway equipment, which is judged whether there is, has used view networking message with remaining space;The first view networking gateway equipment
In the presence of judging result is, according to the length of the IP datagram text, view networking message is used using described, or utilize
It is described that view networking message has been used to regard message of networking with unused, encapsulate the IP datagram text;The first view networking gateway
Equipment is in the absence of judging result is, according to the length of the IP datagram text, view networking report is not used using at least one
Text encapsulates the IP datagram text.
Optionally, the length according to the IP datagram text has used view networking message using described, or has utilized
It is described that view networking message has been used to regard message of networking with unused, encapsulate the step of the IP datagram text, comprising: in the IP
When the length of data message is less than or equal to the first default value, institute is encapsulated using the remaining space for having used view networking message
State IP datagram text;When the length of the IP datagram text is greater than the first default value and is less than or equal to the second default value,
Using the remaining space for having used view networking message encapsulate in IP datagram text with the remaining space equal length
Part, and by one be not used view networking message space divide, utilize it is described it is unused view network message part
Space encapsulates the remainder in the IP datagram text;When the length of the IP datagram text is greater than the second default value,
Using the remaining space for having used view networking message encapsulate in IP datagram text with the remaining space equal length
Part, and using one be not used view networking message encapsulate the IP datagram it is literary in remainder.
It optionally, include a plurality of view networking tunnel in the first view networking gateway equipment, every view networking tunnel is corresponding
One mark;It is described using it is described using the remaining space of view networking message encapsulate the IP datagram text step it
Afterwards, further includes: described first will be used for transmission the corresponding mark in view networking tunnel of the IP datagram text depending on networking gateway equipment
Will is labeled as being not present;It is encapsulated in the IP datagram text described using the unused segment space depending on message of networking
After the step of remainder, further includes: described first will be used for transmission the view of the IP datagram text depending on networking gateway equipment
The corresponding flag tag in tunnel of networking is to exist;The view networking message encapsulation IP datagram text is not used using one described
In remainder the step of after, further includes: described first will be used for transmission IP datagram text depending on networking gateway equipment
Regard the corresponding flag tag in networking tunnel as there is no.
Optionally, the length according to the IP datagram text is not used view networking message using at least one and encapsulates
The step of the IP datagram text, comprising: when the length of the IP datagram text is less than or equal to the first default value, by one
The space being not used depending on message of networking is divided, and encapsulates the IP number using the segment space of the unused view networking message
According to message;When the length of the IP datagram text is greater than the first default value and is less than or equal to the second default value, one is utilized
A unused view networking message encapsulates the IP datagram text;It is greater than the second default value in the length of the IP datagram text
When, view networking message is not used using one and encapsulates message equal length of networking in the IP datagram text with the unused view
Part, and again by one be not used view networking message space divide, utilize it is described it is unused view network message portion
Point space encapsulates the remainder in the IP datagram text.
It optionally, include a plurality of view networking tunnel in the first view networking gateway equipment, every view networking tunnel is corresponding
One mark;It is described using it is described it is unused depending on network message segment space encapsulate the IP datagram text step it
Afterwards, further includes: described first will be used for transmission the corresponding mark in view networking tunnel of the IP datagram text depending on networking gateway equipment
Will is labeled as presence;After being not used at the utilization one and encapsulate the step of the IP datagram text depending on networking message, also wrap
Include: described first regard networking gateway equipment will be used for transmission IP datagram text regard the corresponding flag tag in networking tunnel as
It is not present;The remainder in IP datagram text is encapsulated using the unused segment space depending on message of networking described
The step of after, further includes: described first depending on networking gateway equipment will be used for transmission the IP datagram text view network tunnel
Corresponding flag tag is to exist.
Optionally, first default value is equal to the half of the length of view networking message, second present count
Value is equal to the length of view networking message;It is described to divide a unused space depending on message of networking, do not made using described
The step of encapsulating the remainder in the IP datagram text with the segment space depending on message of networking includes: that view is not used by one
The space average of networking message is divided into two spaces;Described in previous space encapsulation using the unused view networking message
Remainder in IP datagram text.
It optionally, include a plurality of view networking tunnel in the first view networking gateway equipment, every view networking tunnel is corresponding
One mark;Described first judges whether there is the step for having used view networking message with remaining space depending on networking gateway equipment
It suddenly include: the described first corresponding mark in view networking tunnel that the IP datagram text is used for transmission depending on the acquisition of networking gateway equipment
Will;Described first depending on networking gateway equipment in the presence of the mark is marked as, judging result be exist;In the mark quilt
In the absence of being labeled as, judging result be there is no.
Optionally, further include the second view networking gateway equipment and view networked server in depending on networking, gone back in internet
Including the second internet device;The method also includes: described first depending on networking gateway equipment will encapsulate IP datagram text,
And having used for remaining space does not regard networking message, is forwarded to the second view networking gateway depending on networked server via described
Equipment;Described second parses the encapsulation IP datagram text and the not use of remaining space depending on networking gateway equipment
Depending on message of networking, the IP datagram text is obtained, and the IP datagram text is sent to second internet device.
Optionally, the method also includes: described first is detecting described there is remaining space depending on networking gateway equipment
Used view networking message residence time be more than setting time threshold value when, by it is described with remaining space use view connection
Network packet is forwarded to the second view networking gateway equipment depending on networked server via described.
On the other hand, the embodiment of the invention also discloses a kind of data processing equipment, described device is applied in view networking,
Include the first view networking gateway equipment in view networking, includes the first internet device in internet, the first view networking
Gateway includes: receiving module, the IP datagram text sent for receiving first internet device;Judgment module is used
View networking message has been used with remaining space in judging whether there is;First package module, for being to deposit in judging result
When, according to the length of the IP datagram text, used view networking message using described, or use view connection using described
Network packet and unused view networking message, encapsulate the IP datagram text;Second package module, for being not deposit in judging result
When, according to the length of the IP datagram text, utilize at least one that view networking message is not used and encapsulate IP datagram text.
Optionally, first package module includes: the first encapsulation submodule, for the length in the IP datagram text
When less than or equal to the first default value, the IP datagram text is encapsulated using the remaining space for having used view networking message;
Second encapsulation submodule, is greater than the first default value for the length in the IP datagram text and is less than or equal to the second present count
When value, encapsulated using the remaining space for having used view networking message identical as the remaining space in the IP datagram text
The part of length, and a unused space depending on message of networking is divided, utilize the unused view networking message
Segment space encapsulates the remainder in the IP datagram text;Third encapsulates submodule, in the IP datagram text
When length is greater than the second default value, encapsulated in the IP datagram text using the remaining space for having used view networking message
With the part of the remaining space equal length, and using one be not used view networking message encapsulate the IP datagram it is literary in
Remainder.
It optionally, include a plurality of view networking tunnel in the first view networking gateway equipment, every view networking tunnel is corresponding
One mark;The first view networking gateway equipment further include: the first mark module, in the first encapsulation submodule benefit
After encapsulating the IP datagram text with the remaining space for having used view networking message, the IP datagram will be used for transmission
Text regard the corresponding flag tag in networking tunnel as there is no;Second mark module, in the second encapsulation submodule
After block encapsulates the remainder in the IP datagram text using the unused segment space depending on message of networking, it will be used for
Transmit the IP datagram text regards the corresponding flag tag in networking tunnel to exist;Third mark module, in the institute
Stating third encapsulation submodule utilizes one to be not used after the remainder encapsulated in the IP datagram text depending on networking message, will
Be used for transmission IP datagram text regard the corresponding flag tag in networking tunnel as there is no.
Optionally, second package module includes: the 4th encapsulation submodule, for the length in the IP datagram text
When less than or equal to the first default value, a unused space depending on message of networking is divided, the unused view is utilized
The segment space of networking message encapsulates the IP datagram text;5th encapsulation submodule, for the length in the IP datagram text
When degree is greater than the first default value and is less than or equal to the second default value, view networking message is not used using one and encapsulates the IP
Data message;6th encapsulation submodule utilizes one when being greater than the second default value for the length in the IP datagram text
The unused part encapsulated depending on networking message in the IP datagram text with the unused view networking message equal length, and again
One unused space depending on message of networking is divided, the segment space of the unused view networking message is utilized to encapsulate institute
State the remainder in IP datagram text.
It optionally, include a plurality of view networking tunnel in the first view networking gateway equipment, every view networking tunnel is corresponding
One mark;The first view networking gateway equipment further include: the 4th mark module, in the 4th encapsulation submodule benefit
After encapsulating the IP datagram text with the segment space of the unused view networking message, the IP datagram will be used for transmission
Text regards the corresponding flag tag in networking tunnel to exist;5th mark module, for being utilized in the 5th encapsulation submodule
After one unused view networking message encapsulates the IP datagram text, the view networking tunnel of the IP datagram text will be used for transmission
The corresponding flag tag in road be there is no;6th mark module, for being not used in the 6th encapsulation submodule using described
Depending on message of networking segment space encapsulate the remainder in IP datagram text after, the IP datagram will be used for transmission
Text regards the corresponding flag tag in networking tunnel to exist.
Optionally, first default value is equal to the half of the length of view networking message, second present count
Value is equal to the length of view networking message;It is described to divide a unused space depending on message of networking, do not made using described
The step of encapsulating the remainder in the IP datagram text with the segment space depending on message of networking includes: that view is not used by one
The space average of networking message is divided into two spaces;Described in previous space encapsulation using the unused view networking message
Remainder in IP datagram text.
It optionally, include a plurality of view networking tunnel in the first view networking gateway equipment, every view networking tunnel is corresponding
One mark;The judgment module includes: acquisition submodule, for obtaining the view networking tunnel for being used for transmission the IP datagram text
The corresponding mark in road;Submodule is determined, in the presence of the mark is marked as, judging result to be to exist;In the mark
In the absence of will is marked as, judging result be there is no.
Optionally, further include the second view networking gateway equipment and view networked server in depending on networking, gone back in internet
Including the second internet device;The first view networking gateway equipment further include: the first forwarding module, for the IP will to be encapsulated
Data message and not remaining space have used view networking message, are forwarded to described second depending on networked server via described
Depending on networking gateway equipment;Described second depending on networking gateway equipment includes: sending module, for parsing the encapsulation IP data
Message and not remaining space have used view networking message, obtain the IP datagram text, and the IP datagram text is sent out
It send to second internet device.
Optionally, the first view networking gateway equipment further include: the second forwarding module is used to detect described have
When the residence time of view networking message having been used to be more than setting time threshold value of remaining space, has had remaining space for described
Using view networking message, the second view networking gateway equipment is forwarded to depending on networked server via described.
In the embodiment of the present invention, the first view networking gateway equipment receives the IP datagram text that the first internet device is sent;
First, which judges whether there is having used with remaining space depending on networking gateway equipment, regards networking message;First sets depending on networking gateway
For in the presence of judging result is, according to the length of IP datagram text, networking message is regarded using having used, or utilize and used
Depending on networking message and view networking message is not used, encapsulation IP datagram text;First regards networking gateway equipment in judging result as not
In the presence of, according to the length of IP datagram text, view networking message encapsulation IP datagram text is not used using at least one.Thus may be used
Know, used in the embodiment of the present invention when being packaged to IP datagram text, before can making full use of and have and is remaining empty
Between view network message, avoid the waste in this some residual space, make full use of transmission bandwidth, improve throughput parameter, mention
Rise performance indicator.
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 data processing method of the embodiment of the present invention one;
Fig. 6 is a kind of step flow chart of data processing method of the embodiment of the present invention two;
Fig. 7 is a kind of schematic diagram of encapsulation of IP datagram text in the related technology;
Fig. 8 is a kind of schematic diagram of IP datagram text encapsulation of the embodiment of the present invention two;
Fig. 9 is a kind of structural block diagram of data processing equipment of the embodiment of the present invention three.
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.
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
Video flow.(Circuit is exchanged different from simple network packet packet switch (Packet Switching) or lattice network
Switching), Streaming demand is met using Packet Switching depending on networking technology.Has grouping depending on networking technology
Flexible, the simple and low price of exchange, is provided simultaneously with the quality and safety assurance of circuit switching, it is virtually electric to realize the whole network switch type
The seamless connection of road 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.
1, view networked devices classification
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 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.
1.2 equipment for wherein accessing mesh portions can be mainly divided into 3 classes: node server, access switch (including ether
Net 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 mould, are forwarded: 1) port if meeting the following conditions
It is less than to send caching;2) the queue package counting facility is greater than zero.Disk array module 204 mainly realizes the control to hard disk, including
The operation 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 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 204 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, are divided to two kinds of situations in embodiments of the present invention:
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 208 is configured by CPU module 204, 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 destination 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, if there is Bao Ze is according to the view of packet networking purpose
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 data packets, 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.
Based on the above-mentioned characteristic of view networking, the data processing scheme of the embodiment of the present invention is proposed, it then follows regard the association of networking
View makes full use of transmission bandwidth when transmitting data in view networking, improves throughput parameter.
Embodiment one
The data processing method of the embodiment of the present invention can be applied in view networking, may include the first view in depending on networking
Networking gateway equipment may include the first internet device in internet.
Referring to Fig. 5, a kind of step flow chart of data processing method of the embodiment of the present invention one is shown.
The data processing method of the embodiment of the present invention may comprise steps of:
Step 501, first the IP datagram text that first internet device is sent is received depending on networking gateway equipment.
First internet device internet protocol-based handles data, therefore the first internet device data to be sent
After being encapsulated as IP (Internet Protocol, network interconnection agreement) data message, IP datagram text is sent by internet
To the first view networking gateway equipment.It may include the packet header IP and data segment in IP datagram text.
Step 502, first depending on networking gateway equipment judge whether there is with remaining space having used view networking message.
In the presence of, execute step 503, in the absence of, execute step 504.
If IP datagram text will be transmitted in depending on networking, it is packaged using depending on networking message.Depending on connection
Network packet refers to the message in view networked link transmission, by forming depending on networking packet header and bearing message data segment.Depending on packet header of networking
The head for referring to view networking message includes view networking (Media Access Control, the media access control) address MAC and view
The information such as networking protocol.Bearing message data segment refers to the data field depending on being used to carry IP datagram text in networking message.
In the embodiment of the present invention, since view networking message has regular length, if no matter the length of IP datagram text is
How much depending on networking message to it being packaged of regular length is all made of, and it will cause the wastes of view networking message space.Therefore,
First depending on networking gateway equipment after receiving IP datagram text, and indirect new it is carried out depending on message of networking using one
Encapsulation, but first judge whether there is and used view networking message with remaining space.Wherein, made with remaining space
With depending on networking message refer to this depending on network message segment space encapsulating before IP datagram text namely segment space
It has been used that, but there is also remaining not used spaces.
Step 503, first regard networking gateway equipment judging result as in the presence of, according to the length of the IP datagram text
It spends, has used view networking message using described, or used to regard networking message and be not used described in and regarded networking message, envelope
Fill the IP datagram text.
First regard networking gateway equipment judging result as in the presence of, according to the length of the IP datagram text, if tool
Have remaining space can carry whole IP datagram texts using depending on the remaining space in networking message, then can use tool
Have remaining space has used the remaining space of view networking message to encapsulate the IP datagram text.If there is remaining space
Whole IP datagram texts cannot be carried using depending on the remaining space in networking message, then utilizes the use with remaining space
A part of the IP datagram text is encapsulated depending on the remaining space for message of networking, and is sealed using the space that view networking message is not used
Fill the remainder of the IP datagram text.
Step 504, first regard networking gateway equipment judging result as in the absence of, according to the length of the IP datagram text
Degree is not used view networking message using at least one and encapsulates the IP datagram text.
First regard networking gateway equipment judging result as in the absence of, according to the length of the IP datagram text, if
The space being not used depending on message of networking can carry whole IP datagram texts, then can use one and view networking message is not used
Space encapsulate IP datagram text.If the space being not used depending on message of networking cannot carry whole IP datagram texts,
The a part for encapsulating the IP datagram text depending on the space for message of networking then is not used using one, and recycles one to be not used
The remainder of the IP datagram text is encapsulated depending on the space for message of networking.
It has used and has had surplus in the embodiment of the present invention when being packaged to IP datagram text, before can making full use of
The view networking message of complementary space, avoids the waste in this some residual space, makes full use of transmission bandwidth, improve handling capacity ginseng
Number, improving performance index.
Embodiment two
The data processing method of the embodiment of the present invention can be applied in view networking.It may include the first view in depending on networking
Networking gateway equipment, second regard networking gateway equipment and regard networked server (can be above-mentioned node server).First view
Networking gateway equipment and second is registered in depending on networked server depending on networking gateway equipment, to be linked into view networking
In.After registration, first depending on networking gateway equipment and second depending on dialling between networking gateway equipment, so as to establish the first view connection
Connection between net gateway and the second view networking gateway equipment, depending on the first view networking gateway can be saved in networked server
Connection relationship between equipment and the second view networking gateway equipment.
First depending on may include multiple virtual terminals in networking gateway equipment, the corresponding view networking tunnel of each virtual terminal
Road, after the first view networking gateway equipment is registered in view networked server, regarding networked server can be the first view networking gateway
The information such as each virtual terminal distribution view networking MAC Address and view networking number in equipment.In second view networking gateway equipment
It may include multiple virtual terminals, each virtual terminal corresponding view networking tunnel, the second view networking gateway equipment joins in view
After registering in network server, regarding networked server can be each virtual terminal distribution view connection in the second view networking gateway equipment
The information such as net MAC Address and view networking number.It is virtual whole in the first view networking gateway equipment depending on that can be saved in networked server
End (namely depending on tunnel of networking) is correspondingly connected with pass depending on virtual terminal in networking gateway equipment (namely depending on tunnel of networking) with second
System.In the implementation, can be joined by saving the view networking MAC Address of virtual terminal and the second view in the first view networking gateway equipment
Virtual terminal is correspondingly connected with relationship depending on networking MAC Address in net gateway, embodies the first view networking gateway equipment and second
Depending on the connection relationship between networking gateway equipment.
For example, may include that higher level regards networking Modem (modem) and junior's view networking depending on networking gateway equipment
Modem.Higher level can be used as the first view networking gateway equipment depending on networking Modem, can also be used as the second view networking gateway equipment.
Likewise, junior can be used as the first view networking gateway equipment depending on networking Modem, it can also be used as second and set depending on networking gateway
It is standby.One higher level can connect with multiple juniors depending on networking Modem depending on networking Modem.
It may include the first internet device and the second internet device in internet.For example, internet device can be with
Including Dropbox server and Dropbox client.Dropbox server can be used as the first internet gateway device, can also be used as
Two internet gateway devices.Likewise, Dropbox client can be used as the first internet gateway device, second can also be used as mutually
Networking gateway equipment.Dropbox server is view networking data storage Dropbox system.Dropbox client can be in PC (personal electricity
Brain), mobile phone, the upper client software installed such as tablet computer, for logging in Dropbox server, read-write network disk data etc..
For example, the first internet device is Dropbox client, first, which regards networking gateway equipment, regards networking Modem as junior,
Second, which regards networking gateway equipment, regards networking Modem as higher level, and the second internet device is Dropbox server.Alternatively, the first interconnection
Net equipment is Dropbox server, and first, which regards networking gateway equipment, regards networking Modem as higher level, and second regards networking gateway equipment as under
Grade view networking Modem, the second internet device is Dropbox client.
Referring to Fig. 6, a kind of step flow chart of data processing method of the embodiment of the present invention two is shown.
The data processing method of the embodiment of the present invention may comprise steps of:
Step 601, first the IP datagram text that first internet device is sent is received depending on networking gateway equipment.
First internet device is communicated with first depending on internet protocol-based between networking gateway equipment, the first view connection
Net gateway and second depending between networking gateway equipment based on being communicated depending on networking protocol, the second view networking gateway equipment and
Internet protocol-based is communicated between second internet device.
First internet device will be sent to first depending on networking gateway equipment IP data be encapsulated as IP datagram text, will
The IP datagram text is sent to the first view networking gateway equipment.
Step 602, first depending on networking gateway equipment judge whether there is with remaining space having used view networking message.
In the presence of, execute step 603, in the absence of, execute step 604.
First receives IP datagram text depending on networking gateway equipment, due to passing the IP datagram text in depending on networking
It is defeated, therefore first is packaged IP datagram text depending on networking message depending on networking gateway equipment utilization.
First depending on including multiple ports communicated with the first internet device, such as VLAN in networking gateway equipment
(Virtual Local Area Network, virtual LAN) port, each port are corresponding with a view networking tunnel.Cause
This, first view networking gateway equipment by receive the first internet device send IP datagram text port, that is, can determine and
The corresponding view networking tunnel for being used for transmission IP datagram text in the port.
The corresponding mark in every view networking tunnel, the mark have for marking this to regard to whether there is in networking tunnel
Remaining space has used view networking message.Therefore, step 602 may include: first depending on networking gateway equipment obtain for passing
The corresponding mark in view networking tunnel of defeated IP datagram text;In the presence of the mark is marked as, judging result is to exist;?
In the absence of the mark is marked as, judging result be there is no.
Step 603, first regard networking gateway equipment judging result as in the presence of, according to the length of the IP datagram text
It spends, has used view networking message using described, or used to regard networking message and be not used described in and regarded networking message, envelope
Fill the IP datagram text.
There is regular length depending on networking message.Since the length situation of IP datagram text is more, if according to all length
Exhaustive division can not be such that the problem is preferably solved, and increase the complexity of problem.Therefore, the present invention is implemented
Example in consider IP datagram text actual conditions, such as length it is larger (such as be greater than 1 depending on networking message length and be less than
1.5 view networking message length) IP datagram text it is more, can be by IP data in order to simplify the complexity for the treatment of process
Message is divided into three classes, and one kind is the IP datagram text that length is less than or equal to the first default value, and one kind is that length is greater than first in advance
If numerical value and the IP datagram text for being less than or equal to the second default value, one kind is the IP datagram that length is greater than the second default value
Text.Wherein, the first default value can be set to the half for being equal to the length of view networking message, and the second default value can be with
It is equal to the length of view networking message.
Step 603 may include:
A1 has used view to network when the length of the IP datagram text is less than or equal to the first default value using described
The remaining space of message encapsulates the IP datagram text.
When the length of IP datagram text is less than or equal to the first default value, the residue for having used view networking message is empty
Between can carry whole IP datagrams text, therefore can use the remaining space encapsulation IP for use view networking message
Data message.
After encapsulating the IP datagram text using the remaining space for having used view networking message, the first view networking
Gateway can also will be used for transmission IP datagram text regard the corresponding flag tag in networking tunnel as there is no.
A2, when the length of the IP datagram text is greater than the first default value and is less than or equal to the second default value, benefit
With it is described using the remaining space depending on message of networking encapsulate in IP datagram text with the remaining space equal length
Part, and a unused space depending on message of networking is divided, utilize the part of the unused view networking message empty
Between encapsulate remainder in IP datagram text.
The IP datagram text length be greater than the first default value and be less than or equal to the second default value when, it is described
It can use described used with bearing part IP datagram text, therefore using the remaining space depending on message of networking and regard networking
The remaining space packed part IP datagram text of message, and remainder IP datagram is encapsulated using view networking message is not used
Text.
Since the length of IP datagram text is less than or equal to the second default value, unused view networking message is being utilized
When, it can use the segment space encapsulation remainder IP datagram text that view networking message is not used.Therefore, not by one
It is divided using the space depending on message of networking, encapsulates the IP data using the segment space of the unused view networking message
The step of remainder in message may include: that the space average that one is not used view networking message is divided into two skies
Between;The remainder in the IP datagram text is encapsulated using the unused previous space depending on message of networking.At this point, institute
It states to be not used and becomes to have used view networking message depending on networking message, and this has used view networking message to have remaining space, remains
Complementary space is the latter space for having used view networking message.
Divide it encapsulating the remainder in the IP datagram text using the unused segment space depending on message of networking
Afterwards, the first corresponding flag tag in view networking tunnel that can also will be used for transmission the IP datagram text depending on networking gateway equipment
To exist.It is existing to have been made as latter space using regard network message namely above-mentioned remaining space with remaining space
With view networking message.
A3 has used view networking message using described when the length of the IP datagram text is greater than the second default value
Remaining space encapsulate the part in IP datagram text with the remaining space equal length, and view is not used using one
Networking message encapsulates the remainder in the IP datagram text.
When the length of the IP datagram text is greater than the second default value, the residue for having used view networking message is empty
Between can with bearing part IP datagram text, therefore, can use it is described use view network message remaining space packed part
IP datagram text, and networking message encapsulation remainder IP datagram text is regarded using being not used.
Since the length of IP datagram text is greater than the second default value (and length of less than 1.5 view networking messages), because
This can not divide the unused space depending on message of networking, not using one when using view networking message is not used
Use the space encapsulation remainder IP datagram text of view networking message.
After the remainder encapsulated in the IP datagram text depending on networking message is not used using one, the first view connection
Net gateway can also will be used for transmission IP datagram text regard the corresponding flag tag in networking tunnel as there is no.
Step 604, first regard networking gateway equipment judging result as in the absence of, according to the length of the IP datagram text
Degree is not used view networking message using at least one and encapsulates the IP datagram text.
Step 604 may include:
View networking report is not used by one when the length of the IP datagram text is less than or equal to the first default value in B1
The space of text is divided, and encapsulates the IP datagram text using the segment space of the unused view networking message.
When the length of the IP datagram text is less than or equal to the first default value, one be not used view network message can be with
Whole IP datagram texts are carried, and can use the segment space that one is not used view networking message and encapsulate whole IP datagrams
Text.
One unused space depending on message of networking is divided, utilizes the part of the unused view networking message empty
Between encapsulate the IP datagram text step may include: by one be not used view networking message space average be divided into two
Space;Whole IP datagram texts are encapsulated using the previous space of the unused view networking message.At this point, the unused view
Networking message becomes to have used view networking message, and this has used view networking message to have remaining space, and remaining space is
This has used the latter space of view networking message.
After encapsulating the IP datagram text using the segment space of the unused view networking message, the first view networking
Gateway can also will be used for transmission literary the regarding of the IP datagram and network the corresponding flag tag in tunnel to exist.It is existing
Having used with remaining space regards networking message namely above-mentioned remaining space and has used view networking message as latter space.
B2, when the length of the IP datagram text is greater than the first default value and is less than or equal to the second default value, benefit
View networking message is not used with one and encapsulates the IP datagram text.
When the length of the IP datagram text is greater than the first default value and is less than or equal to the second default value, one is not
Whole IP datagram texts can be carried using depending on networking message, and the unused space depending on message of networking can not be drawn
Point, the space that view networking message is not used using one encapsulates whole IP datagram texts.
After view networking message is not used using one and encapsulates the IP datagram text, the first view networking gateway equipment is also
Can will be used for transmission IP datagram text regard the corresponding flag tag in networking tunnel as there is no.
View networking message is not used using one when the length of the IP datagram text is greater than the second default value in B3
The part in the IP datagram text with the unused view networking message equal length is encapsulated, and view connection is not used by one again
The space of network packet is divided, and is encapsulated in the IP datagram text using the unused segment space depending on message of networking
Remainder.
The IP datagram text length be greater than the second default value when, one be not used view network message can carry
Partial IP data message, therefore can use the space packed part IP datagram text that view networking message is not used, and again
View networking message encapsulation remainder IP datagram text is not used using one.
When recycle one be not used view networking message encapsulation remainder IP datagram text when, can recycle one not
Use the segment space encapsulation remainder IP datagram text of view networking message.Therefore, view networking message then by one is not used
Space divided, encapsulate the remainder in IP datagram text using the unused segment space depending on message of networking
The step of dividing may include: that a unused space average depending on message of networking is divided into two spaces again;Using it is described not
The remainder in the IP datagram text is encapsulated using the previous space depending on message of networking.At this point, the unused view connection
Network packet becomes to have used view networking message, and this has used view networking message to have remaining space, and remaining space is should
The latter space of view networking message is used.
Divide it encapsulating the remainder in the IP datagram text using the unused segment space depending on message of networking
Afterwards, the first corresponding flag tag in view networking tunnel that can also will be used for transmission the IP datagram text depending on networking gateway equipment
To exist.It is existing to have been made as latter space using regard network message namely above-mentioned remaining space with remaining space
With view networking message.
Step 605, first the IP datagram text and the not use of remaining space will be encapsulated depending on networking gateway equipment
Depending on message of networking, the second view networking gateway equipment is forwarded to depending on networked server via described.
First depending on networking gateway equipment after being packaged to IP datagram text, can will encapsulate IP datagram text,
And having used for remaining space does not regard networking message, is forwarded to the second view networking gateway depending on networked server via described
Equipment.For encapsulating the IP datagram text and being temporarily detained using depending on networking message with remaining space.
Depending on may include view networking packet header in networking message, this is depending on may include source address and destination address in networking packet header
Etc. information, source address can for first view be used for transmission in networking gateway equipment IP datagram text view network tunnel correspondence virtually
The view networking MAC Address of terminal, destination address can be the view networking MAC Address of view networked server.First view networking gateway
Equipment will encapsulate the IP datagram text and having used for remaining space does not regard networking message, by being sent to view depending on networking
In networked server.The encapsulation IP datagram text is received depending on networked server and having used for remaining space does not regard connection
After network packet, can network MAC Address and second according to the view of virtual terminal in the first view networking gateway equipment pre-saved
Relationship is correspondingly connected with depending on networking MAC Address depending on virtual terminal in networking gateway equipment, searches view and network include in packet header the
Virtual terminal view in the corresponding second view networking gateway equipment of view networking MAC Address of virtual terminal in one view networking gateway equipment
Networking MAC Address.And source address and destination address in the packet header for regarding networking message are modified, source address modification is view the Internet services
The view networking MAC Address of device, destination address are revised as virtual terminal view networking MAC in the find second view networking gateway equipment
Address will encapsulate the IP datagram depending on networking MAC Address depending on virtual terminal in networking gateway equipment according to second found
Text and not remaining space are networked tunnel using the corresponding view that view networking message is sent to the second view networking gateway equipment.
Step 606, second encapsulation IP datagram text and not remaining space are parsed depending on networking gateway equipment
View networking message has been used, has obtained the IP datagram text, and the IP datagram text is sent to second internet and is set
It is standby.
Second receives encapsulation IP datagram text depending on networking gateway equipment and remaining space use view connection
After network packet, it is parsed, obtains IP datagram text therein.
Second depending on including multiple ports communicated with the second internet device in networking gateway equipment, such as the end VLAN
Mouthful, each port is corresponding with a view networking tunnel.Therefore, the second view networking gateway equipment is by receiving view networking degree weapon hair
The view networking tunnel for having used view networking message of the encapsulation the sent IP datagram text and not remaining space, that is, can determine
With this depending on the corresponding port for being used for transmission IP datagram text in networking tunnel.It is used to pass by this depending on networking gateway equipment second
The IP datagram text that parsing obtains is sent to the second internet device by the port of defeated IP datagram text.
In a kind of optional embodiment, in order to guarantee the performance parameters such as tunnel time delay, shake, can limit has residue
Space used view networking message first view the networking gateway equipment residence time.For example, can be in encapsulation IP datagram
Text and being timed using depending on networking start of heading delay with remaining space, and real-time detection has remaining space
It whether is more than setting time threshold value the use of the residence time depending on message of networking.Described make with remaining space detecting
When being more than setting time threshold value with the residence time of view networking message, view networking report has been used with remaining space by described
Text is forwarded to the second view networking gateway equipment depending on networked server via described, and the first view networking gateway equipment is also
Can will be used for transmission IP datagram text regard the corresponding flag tag in networking tunnel as there is no.Second view networking gateway
Equipment parses the encapsulation IP datagram text and has used view networking message with remaining space, obtains the IP datagram
Text, and the IP datagram text is sent to second internet device.Detailed process is referring to step 605 and step 606
Associated description.
The data processing method of the embodiment of the present invention can be applied to various the answering with data transmission such as testing throughput
With in scene.In the following, being introduced by taking testing throughput process as an example, each numerical value therein is only intended to for example, simultaneously
Not as the limitation to the embodiment of the present invention.
Handling capacity refers in the case where no frame loss, the maximum data rate that equipment can be received and be forwarded.It handles up
Amount is as an important test parameter for measuring view networking tunnel performance.It, can when test regards the handling capacity in networking tunnel
To use the IP datagram text of different length, such as 64 bytes, 128 bytes, 512 bytes, 1024 bytes, 1518 bytes, respectively
The corresponding handling capacity of different length is tested out, view networking tunnel handling capacity detailed can be reflected.But since view is networked
Tunnel has regular length based on visual telephone service of networking is regarded, depending on networking message, for example regards the view networking packet header for message of networking
For 64 bytes, bearing message data segment is 1024 bytes, so transmitting similar 64 bytes, 128 bytes, 512 bytes, 1518 words
When section etc. deviates 1024 bytes biggish message, by view network tunnel data when, cause the waste of bandwidth, cause to gulp down
The amount of spitting parameter is lower.
Referring to Fig. 7, a kind of schematic diagram of encapsulation of IP datagram text in the related technology is shown.As shown in Figure 7, if using
Which is packaged IP packet, then when transmission is greater than the IP packet of 1024 bytes, IP packet is split as two data
Message is packaged into two view networking messages and sends, preceding 1024 byte of first view networking message bearing IP packet, second view
The remainder of networking message bearing IP packet;When transmitting less than 1024 message, IP packet is directly packaged into 1 view connection
Network packet.Therefore it when carrying larger or smaller IP packet transmission, is provided depending on networking tunnel throughput well below equipment
Physical link bandwidth.It should be noted that the IP packet in Fig. 7 is the IP datagram text in the embodiment of the present invention.
If solved the above problems, existing major demands can be with are as follows: 1, how will not in complicated network environment
IP datagram text with length is classified, and complicated problem is simplified, according to the different reasonable optimization of IP datagram text confirmation
Scheme.2, how that all length is random due to there are many kinds of the length arrangement combinations of the IP datagram text that is transmitted in network
The message queue of composition, by algorithm by all possibility all it is considered that the pole of the handling capacity to realization in the prior art
It is big to be promoted.3, how to make full use of view networking message to improve the handling capacity of equipment, and legacy data link cannot be influenced and existed
Time delay, the parameters such as shake.
It is maximum up to 1518 bytes due to minimum 64 bytes of IP datagram text, if according to all field exhaustive divisions, and
The problem cannot be made preferably to be solved, and increase the complexity of problem.Therefore, IP datagram text can be divided into three
Class is less than or equal to 512 bytes, between 512 bytes and 1024 bytes, between 1024 bytes and 1518 bytes.Change sentence
It talks about, the IP datagram text that length is less than or equal to 512 byte lengths is uniformly considered a kind of, the space of such 512 byte of distribution
Transmission;Length is greater than 512 byte lengths and is uniformly considered a kind of less than or equal to the IP datagram text of 1024 byte lengths, such
Distribute the space propagation of complete 1024 byte;The IP datagram text that length is greater than 1024 byte lengths is uniformly considered one
Class, the space propagation of such distribution one complete 1024 byte and 512 bytes.
In summary, two kinds of situations will be divided into depending on the space of 1024 bytes of message of networking to use: 1, by 1024 bytes
Space used as a complete space;2, the space that the space of 1024 bytes is divided into two 512 bytes is used.
Referring to Fig. 8, a kind of schematic diagram of IP datagram text encapsulation of the embodiment of the present invention two is shown.As shown in Figure 8, when
When IP packet length is less than or equal to 512 byte, two IP packets can be carried using a view networking message, gulp down equipment
The amount of spitting doubles.When IP packet length is greater than 512 bytes and is less than or equal to 1024 byte, IP packet just directly uses one
A complete view networking message carrying.When IP packet length is greater than 1024 byte, 3 view networking reports are can be used in two IP packets
Text carrying, realizes handling capacity improving 1/2 (being not shown in this kind of situation map 8).It should be noted that the IP packet in Fig. 8 is
For the IP datagram text in the embodiment of the present invention.
Due to guarantee the time delay in view networking tunnel, the performance parameters such as shake in realization, and limit IP datagram text
Residence time in a device, therefore drive that is detained can have two using the transmission depending on message of networking with remaining space
Kind mode: 1, message driving: message is continually sent, and the message to be forwarded newly entered will push since previous message forwards
Remaining complementary space, to constantly push ahead, message is successively sent, and protects view networking tunnel performance in arriving for delay variation
Card.2, timer driver message is sent: if the residence time for having used view networking message with remaining space is more than setting
Threshold value, then message that the view will be networked is sent, subsequent 512 byte is no longer waiting for subsequent IP datagram text and uses, and makes to regard
Tunnel performance of networking guarantees in arriving for delay variation.
In the implementation, every view networking tunnel is arranged a mark (flag is equal to 0 or 1), represents and be not present equal to 0
View networking message has been used with remaining space, has been represented equal to 1 and has used view networking message in the presence of with remaining space,
It is unused using view networking message to have there remains 512 bytes before i.e., and also not sent has gone out.
The first situation shares 3 kinds of situations, IP datagram text length when receiving an IP datagram text and mark is 0
Less than or equal to 512 bytes, it is greater than 512 bytes and is less than or equal to 1024 bytes, be greater than 1024 bytes.Separately below by this 3 kinds of feelings
Condition describes respectively: 1, IP datagram text length is sealed less than 512 bytes using preceding 512 bytes of a new view networking message
IP datagram text is filled, is 1 by traffic sign placement, it is for later use.2, IP datagram text length is greater than 512 bytes and is less than or equal to
1024 bytes are networked message using a new view, the space which is put into this 1024 byte are sent, mark according to
It is so 0.3, IP datagram text length is greater than 1024 bytes, first by IP datagram text fragment, uses a complete view networking report
It 1024 bytes and is sent before text encapsulation first, is networked 512 bytes encapsulation second before message using a view, mark is set
It is set to 1, it is for later use.
Second situation shares 3 kinds of situations, IP datagram text length when receiving an IP datagram text and mark is 1
Less than or equal to 512 bytes, it is greater than 512 bytes and is less than or equal to 1024 bytes, be greater than 1024 bytes.Separately below by this 3 kinds of feelings
Condition describes respectively: 1, IP datagram text length has used the surplus of view networking message using with remaining space less than 512 bytes
512 byte spaces of remaininging encapsulate IP datagram text, are 0 by traffic sign placement.2, IP datagram text length is greater than 512 bytes and is less than
Equal to 1024 bytes, the IP data are encapsulated using 512 byte space of residue depending on message of networking using with remaining space
Preceding 512 bytes of message encapsulate the remaining number of IP datagram text using new preceding 512 byte depending on message of networking
According to mark is still 1, for later use.3, IP datagram text length is greater than 1024 bytes and makes first by IP datagram text fragment
512 bytes before encapsulating first with 512 byte space of residue for having used view networking message with remaining space, use one
A complete view networking message encapsulates second, is 0 by traffic sign placement.
The embodiment of the present invention sees the handling capacity that equipment can be improved, and increases bandwidth availability ratio.In test performance handling capacity
When parameter, performance parameter index can be optimized, enhanced product performance.
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.
Embodiment three
Referring to Fig. 9, a kind of structural block diagram of data processing equipment of the embodiment of the present invention three is shown.The embodiment of the present invention
Data processing equipment can be applied to view networking in, view networking in include first view networking gateway equipment, in internet
Including the first internet device.
The data processing equipment of the embodiment of the present invention may include with lower module:
Described first includes: depending on networking gateway equipment
Receiving module 901, the IP datagram text sent for receiving first internet device;
Judgment module 902 has used view networking message with remaining space for judging whether there is;
First package module 903, for according to the length of the IP datagram text, utilizing in the presence of judging result is
It is described to have used view networking message, or used to regard networking message and be not used described in and regarded networking message, described in encapsulation
IP datagram text;
Second package module 904, in the absence of judging result is, according to the length of the IP datagram text, benefit
View networking message is not used at least one and encapsulates the IP datagram text.
Optionally, first package module includes: the first encapsulation submodule, for the length in the IP datagram text
When less than or equal to the first default value, the IP datagram text is encapsulated using the remaining space for having used view networking message;
Second encapsulation submodule, is greater than the first default value for the length in the IP datagram text and is less than or equal to the second present count
When value, encapsulated using the remaining space for having used view networking message identical as the remaining space in the IP datagram text
The part of length, and a unused space depending on message of networking is divided, utilize the unused view networking message
Segment space encapsulates the remainder in the IP datagram text;Third encapsulates submodule, in the IP datagram text
When length is greater than the second default value, encapsulated in the IP datagram text using the remaining space for having used view networking message
With the part of the remaining space equal length, and using one be not used view networking message encapsulate the IP datagram it is literary in
Remainder.
It optionally, include a plurality of view networking tunnel in the first view networking gateway equipment, every view networking tunnel is corresponding
One mark;The first view networking gateway equipment further include: the first mark module, in the first encapsulation submodule benefit
After encapsulating the IP datagram text with the remaining space for having used view networking message, the IP datagram will be used for transmission
Text regard the corresponding flag tag in networking tunnel as there is no;Second mark module, in the second encapsulation submodule
After block encapsulates the remainder in the IP datagram text using the unused segment space depending on message of networking, it will be used for
Transmit the IP datagram text regards the corresponding flag tag in networking tunnel to exist;Third mark module, in the institute
Stating third encapsulation submodule utilizes one to be not used after the remainder encapsulated in the IP datagram text depending on networking message, will
Be used for transmission IP datagram text regard the corresponding flag tag in networking tunnel as there is no.
Optionally, second package module includes: the 4th encapsulation submodule, for the length in the IP datagram text
When less than or equal to the first default value, a unused space depending on message of networking is divided, the unused view is utilized
The segment space of networking message encapsulates the IP datagram text;5th encapsulation submodule, for the length in the IP datagram text
When degree is greater than the first default value and is less than or equal to the second default value, view networking message is not used using one and encapsulates the IP
Data message;6th encapsulation submodule utilizes one when being greater than the second default value for the length in the IP datagram text
The unused part encapsulated depending on networking message in the IP datagram text with the unused view networking message equal length, and again
One unused space depending on message of networking is divided, the segment space of the unused view networking message is utilized to encapsulate institute
State the remainder in IP datagram text.
It optionally, include a plurality of view networking tunnel in the first view networking gateway equipment, every view networking tunnel is corresponding
One mark;The first view networking gateway equipment further include: the 4th mark module, in the 4th encapsulation submodule benefit
After encapsulating the IP datagram text with the segment space of the unused view networking message, the IP datagram will be used for transmission
Text regards the corresponding flag tag in networking tunnel to exist;5th mark module, for being utilized in the 5th encapsulation submodule
After one unused view networking message encapsulates the IP datagram text, the view networking tunnel of the IP datagram text will be used for transmission
The corresponding flag tag in road be there is no;6th mark module, for being not used in the 6th encapsulation submodule using described
Depending on message of networking segment space encapsulate the remainder in IP datagram text after, the IP datagram will be used for transmission
Text regards the corresponding flag tag in networking tunnel to exist.
Optionally, first default value is equal to the half of the length of view networking message, second present count
Value is equal to the length of view networking message;It is described to divide a unused space depending on message of networking, do not made using described
The step of encapsulating the remainder in the IP datagram text with the segment space depending on message of networking includes: that view is not used by one
The space average of networking message is divided into two spaces;Described in previous space encapsulation using the unused view networking message
Remainder in IP datagram text.
It optionally, include a plurality of view networking tunnel in the first view networking gateway equipment, every view networking tunnel is corresponding
One mark;The judgment module includes: acquisition submodule, for obtaining the view networking tunnel for being used for transmission the IP datagram text
The corresponding mark in road;Submodule is determined, in the presence of the mark is marked as, judging result to be to exist;In the mark
In the absence of will is marked as, judging result be there is no.
Optionally, further include the second view networking gateway equipment and view networked server in depending on networking, gone back in internet
Including the second internet device;The first view networking gateway equipment further include: the first forwarding module, for the IP will to be encapsulated
Data message and not remaining space have used view networking message, are forwarded to described second depending on networked server via described
Depending on networking gateway equipment;Described second depending on networking gateway equipment includes: sending module, for parsing the encapsulation IP data
Message and not remaining space have used view networking message, obtain the IP datagram text, and the IP datagram text is sent out
It send to second internet device.
Optionally, the first view networking gateway equipment further include: the second forwarding module is used to detect described have
When the residence time of view networking message having been used to be more than setting time threshold value of remaining space, has had remaining space for described
Using view networking message, the second view networking gateway equipment is forwarded to depending on networked server via described.
It has used and has had surplus in the embodiment of the present invention when being packaged to IP datagram text, before can making full use of
The view networking message of complementary space, avoids the waste in this some residual space, makes full use of transmission bandwidth, improve handling capacity ginseng
Number, improving performance index.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple
Place illustrates referring to the part of embodiment of the method.
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.
Above to a kind of data processing method provided by the present invention and a kind of data processing equipment, detailed Jie has been carried out
It continues, used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only
It is to be used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, according to this hair
Bright thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not manage
Solution is limitation of the present invention.
Claims (18)
1. a kind of data processing method, which is characterized in that the method is applied in view networking, includes the first view in view networking
Networking gateway equipment includes the first internet device in internet, which comprises
Described first receives the IP datagram text that first internet device is sent depending on networking gateway equipment;
Described first, which judges whether there is having used with remaining space depending on networking gateway equipment, regards networking message;
Described first regard networking gateway equipment judging result as in the presence of, according to the length of the IP datagram text, utilize institute
It states and has used view networking message, or used to regard networking message and be not used described in and regarded networking message, encapsulate the IP
Data message;
Described first regard networking gateway equipment judging result as in the absence of, according to the length of the IP datagram text, utilize
At least one is not used view networking message and encapsulates the IP datagram text.
2. the method according to claim 1, wherein the length according to the IP datagram text, utilizes institute
It states and has used view networking message, or used to regard networking message and be not used described in and regarded networking message, encapsulate the IP
The step of data message, comprising:
When the length of the IP datagram text is less than or equal to the first default value, the surplus of view networking message has been used using described
Complementary space encapsulates the IP datagram text;
The IP datagram text length be greater than the first default value and be less than or equal to the second default value when, using it is described
The part in the IP datagram text with the remaining space equal length is encapsulated using the remaining space depending on message of networking, and will
One unused space depending on message of networking is divided, described in the segment space encapsulation using the unused view networking message
Remainder in IP datagram text;
It is empty using the residue for having used view networking message when the length of the IP datagram text is greater than the second default value
Between encapsulate part in IP datagram text with the remaining space equal length, and view networking message is not used using one
Encapsulate the remainder in the IP datagram text.
3. according to the method described in claim 2, it is characterized in that, including that a plurality of view joins in the first view networking gateway equipment
Net tunnel, every corresponding mark in view networking tunnel;
It is described using it is described encapsulate the step of the IP datagram text using the remaining space of view networking message after, also wrap
Include: described first regard networking gateway equipment will be used for transmission IP datagram text regard the corresponding flag tag in networking tunnel as
It is not present;
The remainder in IP datagram text is encapsulated using the unused segment space depending on message of networking described
After step, further includes: described first will be used for transmission the view networking tunnel pair of the IP datagram text depending on networking gateway equipment
The flag tag answered is to exist;
After described the step of utilizing one remainder encapsulated in the IP datagram text depending on networking message is not used, also
It include: the described first corresponding flag tag in view networking tunnel that the IP datagram text will be used for transmission depending on networking gateway equipment
For there is no.
4. the method according to claim 1, wherein the length according to the IP datagram text, using extremely
Few one is not used the step that the IP datagram text is encapsulated depending on networking message, comprising:
When the length of the IP datagram text is less than or equal to the first default value, one is not used the space of view networking message
It is divided, encapsulates the IP datagram text using the segment space of the unused view networking message;
When the length of the IP datagram text is greater than the first default value and is less than or equal to the second default value, not using one
The IP datagram text is encapsulated using view networking message;
When the length of the IP datagram text is greater than the second default value, it is not used described in view networking message encapsulation using one
With the part of the unused view networking message equal length in IP datagram text, and view networking message is not used by one again
Space is divided, and the remainder in the IP datagram text is encapsulated using the unused segment space depending on message of networking
Point.
5. according to the method described in claim 4, it is characterized in that, including that a plurality of view joins in the first view networking gateway equipment
Net tunnel, every corresponding mark in view networking tunnel;
It is described using it is described it is unused depending on network message segment space encapsulate the step of the IP datagram text after, also wrap
Include: described first regard networking gateway equipment will be used for transmission IP datagram text regard the corresponding flag tag in networking tunnel as
In the presence of;
It networks after message encapsulates the step of the IP datagram text in the view that is not used using one, further includes: described the
One regard networking gateway equipment will be used for transmission IP datagram text regard the corresponding flag tag in networking tunnel as there is no;
The remainder in IP datagram text is encapsulated using the unused segment space depending on message of networking described
After step, further includes: described first will be used for transmission the view networking tunnel pair of the IP datagram text depending on networking gateway equipment
The flag tag answered is to exist.
6. method according to claim 2 or 4, which is characterized in that first default value is equal to view networking message
The half of length, second default value are equal to the length of view networking message;
It is described to divide a unused space depending on message of networking, utilize the part of the unused view networking message empty
Between the step of encapsulating the remainder in IP datagram text include:
One unused space average depending on message of networking is divided into two spaces;
The remainder in the IP datagram text is encapsulated using the unused previous space depending on message of networking.
7. method described according to claim 1 or 3 or 5, which is characterized in that include more in the first view networking gateway equipment
Item view networking tunnel, every corresponding mark in view networking tunnel;Described first judges whether there is tool depending on networking gateway equipment
Have remaining space using depending on networking message the step of include:
Described first obtains the corresponding mark in view networking tunnel for being used for transmission the IP datagram text depending on networking gateway equipment;
Described first depending on networking gateway equipment in the presence of the mark is marked as, judging result be exist;In the mark
In the absence of being marked as, judging result be there is no.
8. the method according to claim 1, wherein depending on networking in further include the second view networking gateway equipment and
It further include the second internet device in internet depending on networked server;The method also includes:
Described first will encapsulate IP datagram text depending on networking gateway equipment and remaining space use the view networking to report
Text is forwarded to the second view networking gateway equipment depending on networked server via described;
Described second parses encapsulation IP datagram text depending on networking gateway equipment and remaining space has not used view
Networking message obtains the IP datagram text, and the IP datagram text is sent to second internet device.
9. method according to claim 1 or 8, which is characterized in that the method also includes:
Described first depending on networking gateway equipment detect it is described with remaining space use view network message delay when
Between be more than setting time threshold value when, by it is described with remaining space use view network message, via the view the Internet services
Device is forwarded to the second view networking gateway equipment.
10. a kind of data processing equipment, which is characterized in that described device is applied in view networking, includes first in view networking
It include the first internet device in internet, described first includes: depending on networking gateway equipment depending on networking gateway equipment
Receiving module, the IP datagram text sent for receiving first internet device;
Judgment module has used view networking message with remaining space for judging whether there is;
First package module, for according to the length of the IP datagram text, having been made using described in the presence of judging result is
It is networked message with view, or use view networking message using described and view networking message is not used, encapsulate the IP datagram
Text;
Second package module, for according to the length of the IP datagram text, utilizing at least one in the absence of judging result is
A unused view networking message encapsulates the IP datagram text.
11. device according to claim 10, which is characterized in that first package module includes:
First encapsulation submodule, when for the length in the IP datagram text less than or equal to the first default value, using described
The remaining space of view networking message has been used to encapsulate the IP datagram text;
Second encapsulation submodule is greater than the first default value for the length in the IP datagram text and is less than or equal to second in advance
If when numerical value, using the remaining space for having used view networking message encapsulate in IP datagram text with the remaining space
The part of equal length, and a unused space depending on message of networking is divided, utilize the unused view networking report
The segment space of text encapsulates the remainder in the IP datagram text;
Third encapsulates submodule, when being greater than the second default value for the length in the IP datagram text, has been made using described
The part in the IP datagram text with the remaining space equal length is encapsulated with the remaining space depending on message of networking, and is utilized
One is not used the remainder encapsulated in the IP datagram text depending on networking message.
12. device according to claim 11, which is characterized in that include a plurality of view in the first view networking gateway equipment
Networking tunnel, every corresponding mark in view networking tunnel;The first view networking gateway equipment further include:
First mark module, for being sealed in the first encapsulation submodule using the remaining space for having used view networking message
After filling the IP datagram text, literary the regarding of the IP datagram will be used for transmission and network the corresponding flag tag in tunnel not deposit
?;
Second mark module, for empty using the part of the unused view networking message in the second encapsulation submodule
Between encapsulate remainder in IP datagram text after, the view networking tunnel correspondence of the IP datagram text will be used for transmission
Flag tag be exist;
Third mark module, for being not used described in view networking message encapsulation in third encapsulation submodule using one
After remainder in IP datagram text, the corresponding flag tag in view networking tunnel of the IP datagram text will be used for transmission
For there is no.
13. device according to claim 10, which is characterized in that second package module includes:
4th encapsulation submodule, when being less than or equal to the first default value for the length in the IP datagram text, not by one
It is divided using the space depending on message of networking, encapsulates the IP data using the segment space of the unused view networking message
Message;
5th encapsulation submodule is greater than the first default value for the length in the IP datagram text and is less than or equal to second in advance
If when numerical value, view networking message being not used using one and encapsulates the IP datagram text;
6th encapsulation submodule is not made when being greater than the second default value for the length in the IP datagram text using one
With the part encapsulated depending on networking message in IP datagram text with the unused view networking message equal length, and again by one
A unused space depending on message of networking is divided, and encapsulates the IP using the segment space of the unused view networking message
Remainder in data message.
14. device according to claim 13, which is characterized in that include a plurality of view in the first view networking gateway equipment
Networking tunnel, every corresponding mark in view networking tunnel;The first view networking gateway equipment further include:
4th mark module, for being sealed in the 4th encapsulation submodule using the segment space of the unused view networking message
After filling the IP datagram text, literary the regarding of the IP datagram will be used for transmission and network the corresponding flag tag in tunnel to deposit
?;
5th mark module encapsulates the IP number for view networking message to be not used using one in the 5th encapsulation submodule
After message, will be used for transmission IP datagram text regard the corresponding flag tag in networking tunnel as there is no;
6th mark module, for being sealed in the 6th encapsulation submodule using the segment space of the unused view networking message
After filling the remainder in the IP datagram text, the corresponding mark in view networking tunnel of the IP datagram text will be used for transmission
Will is labeled as presence.
15. device according to claim 11 or 13, which is characterized in that first default value is equal to view networking message
Length half, second default value be equal to view networking message length;It is described that view networking is not used by one
The space of message is divided, and is encapsulated using the unused segment space depending on message of networking surplus in the IP datagram text
The step of remaining part is divided includes: that a unused space average depending on message of networking is divided into two spaces;Do not made using described
The remainder in the IP datagram text is encapsulated with the previous space depending on message of networking.
16. device described in 0 or 12 or 14 according to claim 1, which is characterized in that described first in networking gateway equipment depending on wrapping
Include a plurality of view networking tunnel, every corresponding mark in view networking tunnel;The judgment module includes:
Acquisition submodule, for obtaining the corresponding mark in view networking tunnel for being used for transmission the IP datagram text;
Submodule is determined, in the presence of the mark is marked as, judging result to be to exist;It is marked as in the mark
In the absence of, judging result be there is no.
17. device according to claim 9, which is characterized in that depending on further including the second view networking gateway equipment in networking
It further include the second internet device in internet with view networked server;
The first view networking gateway equipment further include: the first forwarding module, for that will encapsulate the IP datagram text and not have
Remaining space has used view networking message, is forwarded to the second view networking gateway equipment depending on networked server via described;
Described second depending on networking gateway equipment includes: sending module, for parsing the encapsulation IP datagram text and not having
Remaining space has used view networking message, obtains IP datagram text, and the IP datagram text is sent to described the
Two internet devices.
18. the device according to claim 9 or 17, which is characterized in that the first view networking gateway equipment further include:
Second forwarding module is used for
When setting time threshold value, view networking message is used with remaining space by described, has been forwarded via the view networked server
To the second view networking gateway equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910088233.4A CN109818960B (en) | 2019-01-29 | 2019-01-29 | Data processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910088233.4A CN109818960B (en) | 2019-01-29 | 2019-01-29 | Data processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109818960A true CN109818960A (en) | 2019-05-28 |
CN109818960B CN109818960B (en) | 2021-07-09 |
Family
ID=66605787
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910088233.4A Active CN109818960B (en) | 2019-01-29 | 2019-01-29 | Data processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109818960B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110417792A (en) * | 2019-08-02 | 2019-11-05 | 视联动力信息技术股份有限公司 | Communication means, system, gateway and storage medium |
CN111181872A (en) * | 2019-11-19 | 2020-05-19 | 视联动力信息技术股份有限公司 | Data processing method and device |
CN112367409A (en) * | 2021-01-14 | 2021-02-12 | 广州技象科技有限公司 | Internet of things node data transmission control method and device |
CN112866079A (en) * | 2020-12-31 | 2021-05-28 | 广州技象科技有限公司 | Method, device, equipment and storage medium for transmitting regular messages based on Internet of things |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0992160A1 (en) * | 1997-06-26 | 2000-04-12 | Citrix Systems, Inc. | System for adaptive video/audio transport over a network |
EP1227615A1 (en) * | 2000-08-08 | 2002-07-31 | Semiconductores Investigaci n Y Diseno S.A. -(SIDSA) | Methods and systems for the broadcast internet, audio or video contents without prior agreement with the service provider or return channel |
CN1516184A (en) * | 2003-01-10 | 2004-07-28 | 华为技术有限公司 | Processing method of multi-media data |
CN103595660A (en) * | 2013-11-04 | 2014-02-19 | 上海数字电视国家工程研究中心有限公司 | IP data packet encapsulating method and method for compressing packet head of data packet |
CN108173895A (en) * | 2016-12-07 | 2018-06-15 | 北京视联动力国际信息技术有限公司 | A kind of communication means and device |
CN108882008A (en) * | 2017-10-23 | 2018-11-23 | 北京视联动力国际信息技术有限公司 | A kind of method and apparatus of data conversion |
-
2019
- 2019-01-29 CN CN201910088233.4A patent/CN109818960B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0992160A1 (en) * | 1997-06-26 | 2000-04-12 | Citrix Systems, Inc. | System for adaptive video/audio transport over a network |
EP1227615A1 (en) * | 2000-08-08 | 2002-07-31 | Semiconductores Investigaci n Y Diseno S.A. -(SIDSA) | Methods and systems for the broadcast internet, audio or video contents without prior agreement with the service provider or return channel |
CN1516184A (en) * | 2003-01-10 | 2004-07-28 | 华为技术有限公司 | Processing method of multi-media data |
CN103595660A (en) * | 2013-11-04 | 2014-02-19 | 上海数字电视国家工程研究中心有限公司 | IP data packet encapsulating method and method for compressing packet head of data packet |
CN108173895A (en) * | 2016-12-07 | 2018-06-15 | 北京视联动力国际信息技术有限公司 | A kind of communication means and device |
CN108882008A (en) * | 2017-10-23 | 2018-11-23 | 北京视联动力国际信息技术有限公司 | A kind of method and apparatus of data conversion |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110417792A (en) * | 2019-08-02 | 2019-11-05 | 视联动力信息技术股份有限公司 | Communication means, system, gateway and storage medium |
CN111181872A (en) * | 2019-11-19 | 2020-05-19 | 视联动力信息技术股份有限公司 | Data processing method and device |
CN112866079A (en) * | 2020-12-31 | 2021-05-28 | 广州技象科技有限公司 | Method, device, equipment and storage medium for transmitting regular messages based on Internet of things |
CN112367409A (en) * | 2021-01-14 | 2021-02-12 | 广州技象科技有限公司 | Internet of things node data transmission control method and device |
CN112367409B (en) * | 2021-01-14 | 2021-04-27 | 广州技象科技有限公司 | Internet of things node data transmission control method and device |
Also Published As
Publication number | Publication date |
---|---|
CN109818960B (en) | 2021-07-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109120962A (en) | The method and apparatus of software terminal connection view networking | |
CN109194660A (en) | The method of network entry and device of mobile terminal | |
CN108632559B (en) | A kind of video data handling procedure and device | |
CN109818960A (en) | Data processing method and device | |
CN108965223A (en) | It is a kind of based on view networking web page processing method, proxy server and view networked terminals | |
CN109151058A (en) | A kind of data transmission method and device | |
CN109889420A (en) | Method and device for business processing | |
CN109474715A (en) | A kind of resource allocation method and device based on view networking | |
CN109246486A (en) | A kind of framing method and device | |
CN109889779A (en) | A kind for the treatment of method and apparatus of packet out-ordering | |
CN110166433A (en) | A kind of method and system that video data obtains | |
CN109743536A (en) | A kind of method and apparatus of video data access | |
CN110049346A (en) | A kind of method and system of net cast | |
CN110049341A (en) | Method for processing video frequency and device | |
CN109743526A (en) | A kind of communication connection method for building up and system based on view networking | |
CN109788369A (en) | Terminal control method and device | |
CN110138513A (en) | A kind of data transmission method and view networked system | |
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 | |
CN109547727A (en) | Data cache method and device | |
CN110401848A (en) | A kind of video broadcasting method and device | |
CN109862439A (en) | Data processing method and device | |
CN110336796A (en) | A kind of communication means and communication device | |
CN110351573A (en) | Virtual present presentation method, system and device | |
CN110266577A (en) | A kind of tunnel establishing method and view networked system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |