A kind for the treatment of method and apparatus of network packet
Technical field
The present invention relates to view networking technology field, more particularly to a kind of network packet treating method and apparatus, one
The transparent transmission treating method and apparatus of kind network packet.
Background technique
Depending on network be Ethernet more advanced form, be a real-time exchange platform, can be realized current internet without
The whole network large-scale high-definition realtime video transmission that method is realized pushes numerous network video applications to high Qinghua, unitizes.
Have the advantages that asynchronous and packet switch two of Ethernet depending on networking, eliminates 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.
However, being a high speed private networks depending on networking, if there is unknown IP data packet to enter view networking network, it is likely that
There is unknown IP network storm, or even brings great security risk to depending on networking.
Summary of the invention
The embodiment of the present invention the technical problem to be solved is that provide a kind of network packet treating method and apparatus, one
The transparent transmission treating method and apparatus of kind network packet can prevent unknown network data from entering view networking, be joined with improving view
The safety of net.
To solve the above-mentioned problems, the invention discloses a kind of processing methods of network packet, comprising:
Receive the network packet from internet;
The view networking packet header that addition meets view networking protocol is wrapped in the network data, obtains regarding networking data accordingly
Packet;Described depending on networking packet header includes that the corresponding view of the view networking data packet is networked destination address information;
The view networking data packet is sent to view networked server, to transmit the view networking data packet in depending on networking.
Preferably, the server for receiving the network packet from internet is the first protocol conversion server;Institute
The connection view networking of the first protocol conversion server and internet are stated, it is concurrent for network packet to be encapsulated as view networking data packet
It send into view networking;
It is described that the view networking packet header that addition meets view networking protocol is wrapped in the network data, it obtains regarding networking accordingly
The step of data packet, comprising:
Networking number is regarded using the view of first protocol conversion server networking number as source;
The view networking number of preconfigured second protocol change server is regarded into networking number as a purpose;Described second
Protocol conversion server connection view networking and internet, for that will be reduced to network packet depending on networking data packet and be sent to mutually
In networking;
Using the MAC Address of first protocol conversion server as view networking source address;
Using the MAC Address of the second protocol change server as view networking destination address;
It is raw that networking number, purpose view networking number, view networking source address and view networking destination address are regarded according to the source
At the view networking packet header for meeting view networking protocol;
Addition view networking packet header is wrapped in the network data, obtains regarding networking data packet accordingly.
According to another aspect of the invention, a kind of processing method of network packet is provided, comprising:
It receives come the view networking data packet for networking of considering oneself as;
The view networking packet header in the view networking data packet is removed, corresponding network packet is obtained;
The network packet is sent to internet.
Another aspect according to the present invention provides a kind of transparent transmission processing method of network packet, comprising:
First protocol conversion server receives the network packet from internet;
First protocol conversion server wraps the view connection that addition meets view networking protocol in the network data received
Packet header is netted, obtains regarding networking data packet accordingly;
First protocol conversion server sends the view networking data packet to view networked server;
The view networked server networks the view received according to the view networking destination address in view networking packet header
Data packet is forwarded to second protocol change server;
The second protocol change server removes view networking packet header depending on networking data packet for what is received, obtains network number
According to wrapping and be sent in internet.
Preferably, first protocol conversion server wraps addition in the network data received and meets view networking protocol
View network packet header, obtain the step of regarding networking data packet accordingly, comprising:
Networking number is regarded using the view of first protocol conversion server networking number as source;
The view networking number of preconfigured second protocol change server is regarded into networking number as a purpose;Described second
Protocol conversion server connection view networking and internet, for that will be reduced to network packet depending on networking data packet and be sent to mutually
In networking;
Using the MAC Address of first protocol conversion server as view networking source address;
Using the MAC Address of the second protocol change server as view networking destination address;
It is raw that networking number, purpose view networking number, view networking source address and view networking destination address are regarded according to the source
At the view networking packet header for meeting view networking protocol;
Addition view networking packet header is wrapped in the network data, obtains regarding networking data packet accordingly.
Preferably, the method also includes:
It is described to judge whether the packet header depending on networking data packet meets view networking protocol depending on networked server, if
It does not meet, then abandons the view networking data packet.
Preferably, first protocol conversion server sends the step for regarding networking data packet to depending on networked server
Suddenly, comprising:
First protocol conversion server sends the view networking data packet to apart from nearest view networked server.
Another aspect according to the present invention provides a kind of processing unit of network packet, comprising:
Network data receiving module, for receiving the network packet from internet;
Network data package module, for wrapping the view networking packet that addition meets view networking protocol in the network data
Head obtains regarding networking data packet accordingly;Described depending on networking packet header includes that the corresponding view of the view networking data packet is networked purpose
Address information;And
Depending on networking data sending module, for sending the view networking data packet to view networked server, to network in view
The middle transmission view networking data packet.
Preferably, described device is the first protocol conversion server;The first protocol conversion server connection view networking
And internet, for network packet to be encapsulated as depending on networking data packet and is sent in view networking;
The network data package module, comprising:
First determines submodule, for using the view of first protocol conversion server networking number as source view networking number
Code;
Second determines submodule, for the view of preconfigured second protocol change server to be networked number as a purpose
Depending on number of networking;The second protocol change server connection view networking and internet, for that will be reduced to depending on networking data packet
Network packet is simultaneously sent in internet;
Third determines submodule, for using the MAC Address of first protocol conversion server as view networking source address;
4th determines submodule, for using the MAC Address of the second protocol change server as view networking destination
Location;
Generate submodule, for according to the source regard networking number, purpose view networking number, view networking source address and
The view networking packet header for meeting view networking protocol is generated depending on networking destination address;
Submodule is encapsulated, for wrapping addition view networking packet header in the network data, obtains regarding networking accordingly
Data packet.
Another aspect according to the present invention provides a kind of processing unit of network packet, comprising:
Depending on networking data receiving module, the view networking data packet for networking of considering oneself as receiving;
It is obtained corresponding depending on networking data parsing module for removing the view networking packet header in the view networking data packet
Network packet;And
Network data sending module, for sending the network packet to internet.
Another aspect according to the present invention provides a kind of transparent transmission processing unit of network packet, comprising: the first association
Discuss change server, second protocol change server and view networked server;
Wherein, first protocol conversion server includes:
Receiving module, for receiving the network packet from internet;
Package module meets the view networking packet header of view networking protocol for wrapping addition in the network data received, obtains
To corresponding view networking data packet;
Sending module, for sending the view networking data packet to view networked server;
The view networked server, for destination address of networking according to the view regarded in networking packet header, described in receiving
Second protocol change server is forwarded to depending on networking data packet;
The second protocol change server is obtained for removing view networking packet header depending on networking data packet for what is received
Network packet is simultaneously sent in internet.
Preferably, the package module, comprising:
First determines submodule, for using the view of first protocol conversion server networking number as source view networking number
Code;
Second determines submodule, for the view of preconfigured second protocol change server to be networked number as a purpose
Depending on number of networking;The second protocol change server connection view networking and internet, for that will be reduced to depending on networking data packet
Network packet is simultaneously sent in internet;
Third determines submodule, for using the MAC Address of first protocol conversion server as view networking source address;
4th determines submodule, for using the MAC Address of the second protocol change server as view networking destination
Location;
Generate submodule, for according to the source regard networking number, purpose view networking number, view networking source address and
The view networking packet header for meeting view networking protocol is generated depending on networking destination address;And
Submodule is encapsulated, for wrapping addition view networking packet header in the network data, obtains regarding networking accordingly
Data packet.
Compared with prior art, the embodiment of the present invention includes following advantages:
A kind of processing method of network packet provided in an embodiment of the present invention enters view networking in network packet
Before, the view networking packet header that addition meets view networking protocol is wrapped in the network data, obtains regarding networking data packet accordingly, make
Obtaining this can be transmitted depending on networking data packet in depending on networking;The network packet that this process realizes user can pass through height
Speed is dedicated to be transmitted depending on networking, and meets view networking protocol due to uniformly adding to the network packet entered depending on networking
View network packet header so that enter view networking data packet meet unified standard, so as to avoid depending on network in occur not
The IP data packet known, it can thus be avoided there is the case where unknown IP network storm, to improve the safety of view networking.
Detailed description of the invention
Fig. 1 shows a kind of step flow chart of the processing method embodiment of network packet of the invention;
Fig. 2 shows a kind of wrap in network data of the invention to add the step for regarding networking packet header for meeting view networking protocol
Rapid flow chart;
Fig. 3 shows the step flow chart of the processing method embodiment of another network packet of the invention;
Fig. 4 shows a kind of structural schematic diagram of network transparent transmission system of the invention;
Fig. 5 shows a kind of step flow chart of the transparent transmission processing method embodiment of network packet of the invention;
Fig. 6 shows a kind of structural block diagram of the processing unit of network packet of the invention;
Fig. 7 shows the structural block diagram of the processing unit of another network packet of the invention;And
Fig. 8 shows the structural block diagram of the device of IP transparent transmission in a kind of view networking of the present invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real
Applying mode, the present invention is described in further detail.
Embodiment one
Referring to Fig.1, a kind of step flow chart of the processing method embodiment of network packet of the invention is shown, specifically
May include:
Step 101 receives the network packet from internet;
It is a high speed private networks depending on networking, in order to guarantee the safety of view networking, prevents unknown IP data packet from entering
Depending on network of networking, lead to the case where unknown IP network storm occur, the data packet that the embodiment of the present invention only allows to have permission enters
Depending on networking, this method is similar to have added a pass depending on the data in networking, and the data packet of the pass will not
It is identified.Therefore, it for the network packet from internet received, needs to provide one first for the network packet
Into the pass of view networking.
Step 102 wraps the view networking packet header that addition meets view networking protocol in the network data, is regarded accordingly
Networking data packet;It is described to can specifically include the corresponding view networking destination address letter of the view networking data packet depending on networking packet header
Breath;
In the present embodiment, the view networking for meeting view networking protocol is uniformly added depending on the network packet networked for entering
Packet header, this is depending on including that this transmits view networking to be achieved destination depending on networking data packet in depending on networking in networking packet header
Location;Wherein, it is used to carry out routing addressing to the view networking data packet in view networking depending on networking destination address.Join when being encapsulated as view
After the network packet of network data packet enters view networking, due to having depending on the pass (depending on packet header of networking) that can be identified of networking,
Therefore it can be transmitted in depending on networking according to depending on networking protocol and depending on the destination address information in networking packet header.
Referring to table 1, a kind of structural schematic diagram of view networking data packet of the invention is shown.
Table 1
Depending on packet header of networking |
The packet header IP |
IP data |
Wherein, the original network packet of encapsulation can specifically include the packet header IP and IP data, the embodiment of the present invention pair
Original network packet is without any processing, i.e., the present invention will not parse or modify any one user data package.Namely
It says, the present invention only establishes a completely isolated transparent pipeline between the sender and recipient of network data.User is whole
End is without exception unrelated with network regardless of receiving and dispatching what data, in this way, having cut off the lifeline of virus and wooden horse from structure.Therefore,
Can prevent the possibility that the irrelevant personnel on network steals user data, similarly, those want when hacker or the people of system poison at all
Not for the object of attack, to improve the safety of view intranet network.
Step 103 sends the view networking data packet to view networked server, to transmit the view networking in depending on networking
Data packet.
It is packaged depending on networking data packet can according to the view networking destination address in view networking packet header in view networking into
Row transmission, specifically, can be by being forwarded depending on networked server to depending on networking data.
To sum up, the processing method of a kind of network packet provided in an embodiment of the present invention enters view connection in network packet
Before net, the view networking packet header that addition meets view networking protocol is wrapped in the network data, obtains regarding networking data accordingly
Packet transmits this in depending on networking depending on networking data packet;The network packet that this process realizes user can be with
By being transmitted depending on networking for high-speed dedicated, and meet view connection due to uniformly adding to the network packet entered depending on networking
The view networking packet header of fidonetFido, meets unified standard depending on the data packet networked so that entering, so as to avoid in view networking
There is unknown IP data packet, it can thus be avoided there is the case where unknown IP network storm, to improve the safety of view networking
Property.
Embodiment two
The processing method of the network data of the present embodiment further can also include such as on the basis of the above embodiment 1
Under optional technical solution.
The server for receiving the network packet from internet is the first protocol conversion server;First association
Change server connection view networking and internet are discussed, for network packet to be encapsulated as depending on networking data packet and is sent to view connection
In net;
Wherein, the first protocol conversion server can be regarded as the entrance that network packet enters view networking, can be
Network packet provides the unified pass, and the first protocol conversion server, which is specifically as follows, supports IP agreement to turn view networking protocol
The X86 equipment for having operational capability, the equipment can be separately connected by 2 network interface cards internet and view networking so that first association
Discuss change server has IP address in internet, has MAC Address as configured view networked devices in view networking
With the view networking number of the first protocol conversion server of unique identification.In practical applications, the present invention is for the first protocol conversion
The concrete model of server and configuration are without restriction.
Referring to Fig. 2, shows a kind of wrap in network data of the invention and add the view networking packet for meeting view networking protocol
The step flow chart of head, can specifically include:
The view of first protocol conversion server networking number is regarded networking number by step 201;
Wherein, depending on networking number for the equipment in unique identification view networking, for example, the view of the first protocol conversion server
Networking number is 0x 0e df af 00 00 01, certainly, in a particular application, can according to need flexible setting view networking number
The format of code, the present invention are without restriction to this.
The view networking number of preconfigured second protocol change server is regarded networking number by step 202 as a purpose;
The second protocol change server connection view networking and internet, for network packet will to be reduced to simultaneously depending on networking data packet
It is sent in internet;
Wherein, second protocol change server can be regarded as the outlet of view networking, the passage of removal view networking data packet
Card, it is identical X86 equipment that second protocol change server and the first protocol conversion server, which can be set, likewise, second
Protocol conversion server has IP address in internet, in view networking with MAC as configured view networked devices
The view of location and unique identification second protocol change server networking number.
Step 203, using the MAC Address of first protocol conversion server as view network source address;
Step 204, using the MAC Address of the second protocol change server as view network destination address;
In a particular application, when user need to borrow view network data are quickly transmitted when, i.e. the IP data of user
Packet needs to pass through view networking from internet when enter back into internet, can send IP data packet to regarding the entrance (the networked
One protocol conversion server), it is view networking data packet by the IP packet encapsulation after addition regards the processing in networking packet header,
Be sent to view networking in, this regard networking data packet regard networking source address as the MAC Address of the first protocol conversion server, depending on join
Net destination address is the MAC Address of second protocol change server, by the routing forwarding of multiple view networked servers, by the view
Networking data packet is forwarded to the outlet (second protocol change server) of view networking, after removal regards the processing in networking packet header,
This is reverted into original IP data packet depending on networking data packet, is sent in internet.
Preferably, the first protocol conversion server and second protocol change server of the embodiment of the present invention have an a pair
The relationship answered can be with pre-configured corresponding second protocol change server that is, for the first protocol conversion server.
For example, the first protocol conversion server and second protocol change server can be stored by setting allocation list or database
The information such as gateway, address mapping relations.It, can be by checking when the first protocol conversion server receives IP data packet
Allocation list obtains the gateway of second protocol change server, address information, regards networking packet header to generate.Certainly, in practical application
In, the first protocol conversion server and second protocol change server also can have one-to-many or multi-to-multi relationship, this
Invention is without restriction to this.
Step 205 regards networking number, purpose view networking number, view networking source address and view networking mesh according to the source
Address generate meet view networking protocol view networking packet header;
Referring to table 2, a kind of structural schematic diagram in view networking packet header of the invention is shown.
Table 2
Wherein, purpose subaddressing and source subaddressing can be used as spare, PDU (Protocol Data Unit, protocol data
Unit) it is inner for encapsulation network packet.
Step 206 wraps addition view networking packet header in the network data, obtains regarding networking data packet accordingly.
To sum up, the embodiment of the present invention wraps the view networking packet header that addition meets view networking protocol in network data, obtains phase
The view networking data packet answered transmits this in depending on networking depending on networking data packet, also, regards networking packet in addition
During head, without any processing to original network packet, i.e., the present invention will not parse or modify any one user
Data packet.That is, the present invention only establishes a completely isolated transparent pipeline between sender and recipient.User
Terminal is without exception unrelated with network regardless of receiving and dispatching what data, in this way, having cut off the lifeline of virus and wooden horse from structure.Cause
This, can prevent the possibility that the irrelevant personnel on network steals user data, and similarly, those are want when the people of hacker or system poison are basic
Just not for the object of attack, to improve the safety of view intranet network.
Embodiment three
The present embodiment illustrates the processing method of network packet of the invention by taking second protocol change server side as an example.
Referring to Fig. 3, a kind of step flow chart of the processing method embodiment of network packet of the invention is shown, specifically
May include:
Step 301 receives come the view networking data packet for networking of considering oneself as;
Wherein, what is received regards networking data packet as the network packet after encapsulation, and second protocol change server receives
To after the view networking data packet, it can be reduced to original network packet, and according to the network packet in internet
In corresponding destination address be forwarded.
View networking packet header in step 302, the removal view networking data packet, obtains corresponding network packet;
Step 303 sends the network packet to internet.
The embodiment of the present invention will be reduced to network packet depending on networking data packet and be sent in internet, without to network number
Parsed or modified according to packet, it is possible thereby to realize network packet enter depending on networking transmitted after, then by view networking
The process for exporting (second protocol change server) outflow view networking may be implemented under the premise of guarantee regards networking safety,
The network packet of user can transmitting depending on networking by high-speed dedicated.
Example IV
Referring to Fig. 4, a kind of structural schematic diagram of network transparent transmission system of the invention is shown.Wherein, Ip_v2v is view connection
The entrance of net, i.e. the first protocol conversion server;V2v_ip is the outlet of view networking, i.e. second protocol change server;V2v is
Depending on networked server.
Referring to Fig. 5, a kind of step flow chart of the transparent transmission processing method embodiment of network packet of the invention is shown,
It can specifically include:
Step 501, the first protocol conversion server receive the network packet from internet;
Step 502, first protocol conversion server wrap addition in the network data received and meet view networking association
The view networking packet header of view, obtains regarding networking data packet accordingly;
Step 503, first protocol conversion server send the view networking data packet to view networked server;
Step 504, the view networked server are according to the view networking destination address in view networking packet header, the institute that will be received
It states and is forwarded to second protocol change server depending on networking data packet;
Step 505, the second protocol change server remove view networking packet header depending on networking data packet for what is received, obtain
To network packet and it is sent in internet.
In a kind of application example of the invention, if two provinces of A and B will carry out remote medical consultation with specialists, then video needs to join in view
It exchanges and transmits in net, but department service data needs transmit under IP network system, in order to solve asking for this 2 links
Topic, can the transparent transmission processing method of network packet through the invention solve the problems, such as this, by " the first protocol conversion server "
IP data packet is received in the IP network that A is saved, and is encapsulated as depending on networking data packet so as to be transmitted in depending on networking,
After " second protocol change server " receives the view networking data packet, then carries out reverse resolution and obtains original IP data packet,
It is sent to the IP device specified in B province.
It in a particular application, first can be to the first protocol conversion server and second protocol conversion clothes before step 501
Business device carries out initialization access view networking.Access is described in detail so that the first protocol conversion server accesses view networking as an example below
Step can specifically include:
Step A1, inquiry packet is issued depending on the node server with centralized control functions in networking;
Wherein, node server is the view networked server with centralized control functions, such as receives and processes other clothes
The networking request of business device, other servers are added in view networking;Address information table can also be safeguarded, for managing into entoilage
Location.
Step A2, the first protocol conversion server receives inquiry packet, and returning includes the first protocol conversion server sequence number
Response bag;
Step A3, node server searches the first protocol translation service corresponding with the sequence number in Registry
Device information, the first protocol conversion server information include that the first protocol conversion server MAC Address and first agreement turn
Change the terminal MAC address bound under server;
Step A4, node server sends to network to first protocol conversion server and order, in the networking order
Comprising the first protocol conversion server in the address of view networking and the MAC Address of the first protocol conversion server;
Step A5, described first protocol conversion server returns to response, the first protocol translation service after receiving networking order
Device access view networking.
In embodiments of the present invention, it accesses and needs to carry out registration on node server depending on the server networked to connect
Enter, any unregistered server or terminal not can access view networking, so that all meeting unification depending on the equipment in networking
Specification, to improve the safety of network.
In one preferred embodiment of the invention, the method can also include: that view networked server judges the view
Whether the packet header of networking data packet meets view networking protocol, if not meeting, abandons the view networking data packet, without
The view networking data packet is subjected to transparent transmission and forwarding, that is, only carrying out to the view networking data packet for meeting view networking protocol saturating
It passes and forwards.
Specifically, can be by judging whether depending on the data packet in networking include to filter not meeting view connection depending on networking packet header
The data packet of fidonetFido.Further, it is also possible to be judged by the following aspects:
Judge the source address of user data package: to prevent user from sending any personation or anonymous data packet;
Judge destination address: user can only transmit packets to the specified object of view networked server.
The present invention, which passes through, judges whether meet regulation depending on the data packet in networking, does not need firewall, antivirus, encryption etc. and disappears
Pole means can block the approach of hacker attack and virus diffusion, to guarantee the safety of network.
In another preferred embodiment of the invention, first protocol conversion server is sent to view networked server
The step of view networking data packet, can specifically include: first protocol conversion server is to apart from nearest view networking
Server sends the view networking data packet.
It can specifically include following steps preferably for the process transmitted in depending on networking depending on networking data packet:
Step B1, the first protocol conversion server sends the view networking data to apart from nearest view networked server
Packet;
Step B2, the described nearest view networked server is according to the view networking destination address in view networking packet header, according to road
This is forwarded to next view networked server depending on networking data packet by forwarding strategy, until this reaches view connection depending on networking data packet
Net destination address.
Installation practice one
Referring to Fig. 6, a kind of structural block diagram of the processing unit of network packet of the present invention is shown, can specifically include:
Network data receiving module 610, for receiving the network packet from internet;
Network data package module 620, for wrapping the view networking that addition meets view networking protocol in the network data
Packet header obtains regarding networking data packet accordingly;Described depending on networking packet header includes that the corresponding view of the view networking data packet is networked mesh
Address information;And
Depending on networking data sending module 630, for sending the view networking data packet to view networked server, to join in view
The view networking data packet is transmitted in net.
Preferably, described device is the first protocol conversion server;The first protocol conversion server connection view networking
And internet, for network packet to be encapsulated as depending on networking data packet and is sent in view networking;
The network data package module 620, can specifically include:
First determines submodule, for using the view of first protocol conversion server networking number as source view networking number
Code;
Second determines submodule, for the view of preconfigured second protocol change server to be networked number as a purpose
Depending on number of networking;The second protocol change server connection view networking and internet, for that will be reduced to depending on networking data packet
Network packet is simultaneously sent in internet;
Third determines submodule, for using the MAC Address of first protocol conversion server as view networking source address;
4th determines submodule, for using the MAC Address of the second protocol change server as view networking destination
Location;
Generate submodule, for according to the source regard networking number, purpose view networking number, view networking source address and
The view networking packet header for meeting view networking protocol is generated depending on networking destination address;And
Submodule is encapsulated, for wrapping addition view networking packet header in the network data, obtains regarding networking accordingly
Data packet.
Installation practice two
Referring to Fig. 7, the structural block diagram of the processing unit of another network packet of the invention is shown, specifically can wrap
It includes:
Depending on networking data receiving module 710, the view networking data packet for networking of considering oneself as receiving;
It is obtained corresponding depending on networking data parsing module 720 for removing the view networking packet header in the view networking data packet
Network packet;And
Network data sending module 730, for sending the network packet to internet.
Installation practice three
Referring to Fig. 8, a kind of structural block diagram of the transparent transmission processing unit of network packet of the present invention is shown, specifically can wrap
It includes: the first protocol conversion server 810, second protocol change server 820 and view networked server 830;
Wherein, first protocol conversion server 810 can specifically include:
Receiving module 811, for receiving the network packet from internet;
Package module 812 meets the view networking packet header of view networking protocol for wrapping addition in the network data received,
It obtains regarding networking data packet accordingly;
Sending module 813, for sending the view networking data packet to view networked server;
The view networked server 830, for destination address of networking according to the view regarded in networking packet header, the institute that will be received
It states and is forwarded to second protocol change server depending on networking data packet;
The second protocol change server 820 is obtained for removing view networking packet header depending on networking data packet for what is received
To network packet and it is sent in internet.
Preferably, the package module 812, can specifically include:
First determines submodule, for using the view of first protocol conversion server networking number as source view networking number
Code;
Second determines submodule, for the view of preconfigured second protocol change server to be networked number as a purpose
Depending on number of networking;The second protocol change server connection view networking and internet, for that will be reduced to depending on networking data packet
Network packet is simultaneously sent in internet;
Third determines submodule, for using the MAC Address of first protocol conversion server as view networking source address;
4th determines submodule, for using the MAC Address of the second protocol change server as view networking destination
Location;
Generate submodule, for according to the source regard networking number, purpose view networking number, view networking source address and
The view networking packet header for meeting view networking protocol is generated depending on networking destination address;
Submodule is encapsulated, for wrapping addition view networking packet header in the network data, obtains regarding networking accordingly
Data packet.
Preferably, described to can specifically include depending on networked server:
Judgment module, for judging whether the packet header depending on networking data packet meets view networking protocol, if not
Meet, then abandons the data packet.
Preferably, the sending module 813 can be specifically used for sending the view connection to apart from nearest view networked server
Network data packet.
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 for the treatment of method and apparatus of network packet provided by the present invention, a kind of network packet it is saturating
Treating method and apparatus is passed, is described in detail, specific case used herein is to the principle of the present invention and embodiment
It is expounded, the above description of the embodiment is only used to help understand the method for the present invention and its core ideas;Meanwhile for
Those of ordinary skill in the art have change according to the thought of the present invention in specific embodiments and applications
Place, in conclusion the contents of this specification are not to be construed as limiting the invention.