A kind for the treatment of method and apparatus of network packet
Technical field
The present invention relates to, regarding networking technology field, particularly relate to the processing method of a kind of network packet
Transparent transmission treating method and apparatus with device, a kind of network packet.
Background technology
Being the higher level form of Ethernet depending on networking, being a real-time exchange platform, it is capable of mesh
Numerous Internet videos are applied by the whole network large-scale high-definition realtime video transmission that front internet cannot realize
Push high Qinghua to, unitize.
Depending on networking, there is the asynchronous of Ethernet and two advantages of packet switch, eliminate on the premise of full compatibility
Ethernet defect, possesses the whole network end-to-end seamless link, direct user terminal, directly carries IP number
According to bag.User data is not required to the conversion of any form in network-wide basis.
But, it is a high speed private networks depending on networking, if having the IP packet entrance of the unknown regarding networking
Network, it is likely that unknown IP network storm occurs, is even brought great potential safety hazard depending on networking.
Content of the invention
Embodiment of the present invention technical problem to be solved is to provide the processing method of a kind of network packet
It with the transparent transmission treating method and apparatus of device, a kind of network packet, is prevented from the network data of the unknown
Enter and regard networking, to improve the security regarding networking.
In order to solve the problems referred to above, the invention discloses the processing method of a kind of network packet, bag
Include:
Receive the network packet from internet;
Described network data wrap add meet regarding networking protocol regard networking packet header, regarded accordingly
Networking data bag;Described include described regarding networking data bag is corresponding regards networking destination address depending on packet header of networking
Information;
Described regarding networking data bag to sending regarding networked server, described regarding networking with transmission in regarding networking
Packet.
Preferably, the described server receiving from the network packet of internet is the first protocol conversion clothes
Business device;Described first protocol conversion server connects to regard networks and internet, for encapsulating network data
Dress is for extremely regarding in networking regarding networking data bag transmission;
Described wrap to add to meet in described network data regard networking packet header regarding networking protocol, obtain corresponding
Regard networking data bag step, comprising:
The networking number that regards of described first protocol conversion server is regarded networking number as source;
The networking number that regards of the second protocol change server being pre-configured with is regarded networking number as purpose;
Described second protocol change server connects to regard networks and internet, for being reduced to depending on networking data bag
Network packet simultaneously sends to internet;
Using the MAC Address of described first protocol conversion server as regarding networking source address;
Using the MAC Address of described second protocol change server as regarding networking destination address;
Regard, according to described source, number of networking, purpose regards networking number, regard networking source address and regarding networking
Destination address generate meet regarding networking protocol regard networking packet header;
Wrap in described network data and described in interpolation, regard networking packet header, obtain regarding accordingly networking data bag.
According to another aspect of the present invention, provide the processing method of a kind of network packet, bag
Include:
Receive networking of considering oneself as regards networking data bag;
Remove described regard in networking data bag regard networking packet header, obtain corresponding network packet;
Send described network packet to internet.
According to the transparent transmission processing method that it is still another aspect of the present invention to provide a kind of network packet, bag
Include:
First protocol conversion server receives the network packet from internet;
Described first protocol conversion server is wrapped interpolation in the network data receiving and is met regarding networking association
That discusses regards networking packet header, obtains regarding accordingly networking data bag;
Described first protocol conversion server is described regarding networking data bag to sending regarding networked server;
Described regarding networked server according to regard networking packet header in regard networking destination address, the institute that will receive
State and be forwarded to second protocol change server depending on networking data bag;
Removing depending on networking data bag of receiving is regarded networking packet header by described second protocol change server,
To network packet and send to internet.
Preferably, described first protocol conversion server is wrapped interpolation in the network data receiving and is met
Depending on networking protocol regard networking packet header, obtain accordingly regard networking data bag step, comprising:
The networking number that regards of described first protocol conversion server is regarded networking number as source;
The networking number that regards of the second protocol change server being pre-configured with is regarded networking number as purpose;
Described second protocol change server connects to regard networks and internet, for being reduced to depending on networking data bag
Network packet simultaneously sends to internet;
Using the MAC Address of described first protocol conversion server as regarding networking source address;
Using the MAC Address of described second protocol change server as regarding networking destination address;
Regard, according to described source, number of networking, purpose regards networking number, regard networking source address and regarding networking
Destination address generate meet regarding networking protocol regard networking packet header;
Wrap in described network data and described in interpolation, regard networking packet header, obtain regarding accordingly networking data bag.
Preferably, described method also includes:
Described whether meeting depending on the described packet header depending on networking data bag of networked server judgement regards connection
FidonetFido, if not meeting, then abandons described regarding networking data bag.
Preferably, described first protocol conversion server is described regarding networking number to sending regarding networked server
Step according to bag, comprising:
Described first protocol conversion server sends described regarding networking to the closest networked server that regards
Packet.
According to another aspect of the invention, provide the processing means of a kind of network packet, comprising:
Network data receiver module, for receiving the network packet from internet;
Network data package module, meets regarding depending on networking protocol for wrapping interpolation in described network data
Networking packet header, obtains regarding accordingly networking data bag;Described include described regarding networking data depending on packet header of networking
Wrap corresponding regarding networking destination address information;And
Depending on networking data sending module, for regarding networking data bag described in sending regarding networked server, with
In regarding networking, transmission is described regards networking data bag.
Preferably, described device is the first protocol conversion server;Described first protocol conversion server is even
Connect and regard networking and internet, for network packet being encapsulated as extremely regard networking regarding networking data bag transmission
In;
Described network data package module, comprising:
First determination submodule, for using described first protocol conversion server regard networking number as source
Depending on networking number;
Second determination submodule, for will be pre-configured with second protocol change server regard networking number
Regard networking number as purpose;Described second protocol change server connects to regard networks and internet, is used for
Network packet will be reduced to depending on networking data bag and send to internet;
3rd determination submodule, for using the MAC Address of described first protocol conversion server as regarding
Networking source address;
4th determination submodule, for using the MAC Address of described second protocol change server as regarding
Networking destination address;
Generating submodule, for regarding networking number according to described source, purpose regards networking number, regard networking source
Address and depending on networking destination address generate meet regarding networking protocol regard networking packet header;
Encapsulation submodule, for wrapping in described network data, interpolation is described regards networking packet header, obtains corresponding
Regard networking data bag.
According to another aspect of the invention, provide the processing means of a kind of network packet, bag
Include:
Depending on networking data receiver module, regard networking data bag for receive networking of considering oneself as;
Depending on networking data parsing module, for remove described regard in networking data bag regard networking packet header,
To corresponding network packet;And
Network data sending module, for sending described network packet to internet.
According to another aspect of the invention, provide the transparent transmission processing means of a kind of network packet, bag
Include: the first protocol conversion server, second protocol change server and regard networked server;
Wherein, described first protocol conversion server includes:
Receiver module, for receiving the network packet from internet;
Package module, networks regarding regarding of networking protocol for wrapping to add to meet in the network data receiving
Packet header, obtains regarding accordingly networking data bag;
Sending module, for regarding networking data bag described in sending regarding networked server;
Described regarding networked server, for networking packet header regarding networking destination address according to regarding, will receive
To described be forwarded to second protocol change server depending on networking data bag;
Described second protocol change server, for removing receive regarding networking bag depending on networking data bag
Head, obtains network packet and sends to internet.
Preferably, described package module, comprising:
First determination submodule, for using described first protocol conversion server regard networking number as source
Depending on networking number;
Second determination submodule, for will be pre-configured with second protocol change server regard networking number
Regard networking number as purpose;Described second protocol change server connects to regard networks and internet, is used for
Network packet will be reduced to depending on networking data bag and send to internet;
3rd determination submodule, for using the MAC Address of described first protocol conversion server as regarding
Networking source address;
4th determination submodule, for using the MAC Address of described second protocol change server as regarding
Networking destination address;
Generating submodule, for regarding networking number according to described source, purpose regards networking number, regard networking source
Address and depending on networking destination address generate meet regarding networking protocol regard networking packet header;And
Encapsulation submodule, for wrapping in described network data, interpolation is described regards networking packet header, obtains corresponding
Regard networking data bag.
Compared with prior art, the embodiment of the present invention includes advantages below:
The processing method of a kind of network packet that the embodiment of the present invention provides, enters in network packet
Depending on networking before, described network data wrap add meet regarding networking protocol regard networking packet header, obtain
Corresponding regarding networking data bag so that can should to be transmitted in depending on networking depending on networking data bag;This mistake
Journey achieve user network packet can being transmitted depending on networking by high-speed dedicated, and due to
To entering, the network packet regarding networking is unified regards, regarding networking protocol, packet header of networking plus meeting so that enter
Enter the packet depending on networking and meet unified standard, such that it is able to avoid the IP depending on the unknown occurs in networking
Packet, it can thus be avoided there is the situation of unknown IP network storm, regards networking to improve
Security.
Brief description
Fig. 1 shows the flow chart of steps of the processing method embodiment of a kind of network packet of the present invention;
Fig. 2 show the present invention a kind of network data wrap add meet regarding networking protocol regard networking
The flow chart of steps in packet header;
Fig. 3 shows the step of the processing method embodiment of the another kind of network packet of the present invention
Flow chart;
Fig. 4 shows the structural representation of a kind of network transparent transmission system of the present invention;
Fig. 5 shows the steps flow chart of the transparent transmission processing method embodiment of a kind of network packet of the present invention
Figure;
Fig. 6 shows the structured flowchart of the processing means of a kind of network packet of the present invention;
Fig. 7 shows the structured flowchart of the processing means of the another kind of network packet of the present invention;And
Fig. 8 shows a kind of structured flowchart regarding the device of IP transparent transmission in networking of the present invention.
Detailed description of the invention
Understandable for enabling the above-mentioned purpose of the present invention, feature and advantage to become apparent from, below in conjunction with attached
The present invention is further detailed explanation with detailed description of the invention for figure.
Embodiment one
With reference to Fig. 1, show the step stream of the processing method embodiment of a kind of network packet of the present invention
Cheng Tu, specifically may include that
Step 101, the network packet from internet for the reception;
It is a high speed private networks depending on networking, in order to ensure to regard the safety of networking, prevent the IP of the unknown
Packet enters and regards networking network, causes the situation unknown IP network storm occur, the embodiment of the present invention
Only allowing the packet having permission to enter and regarding networking, this method is similar to as adding depending on the data in networking
One pass, does not has the packet of the pass to be identified.Therefore, for receive from
The network packet of internet, needs first to provide one for this network packet and enters current regarding network
Card.
Step 102, described network data wrap add meet regarding networking protocol regard networking packet header,
Regard networking data bag to corresponding;Described specifically can include described regarding networking data bag pair depending on packet header of networking
That answers regards networking destination address information;
In the present embodiment, unified the adding of network packet entering depending on networking is met regarding networking protocol
Regard networking packet header, should regard networking packet header includes and should regard networking data bag and transmitting and wanted in networking
Reach regards networking destination address;Wherein, depending on networking destination address for networking being regarded to this in regarding networking
Packet carries out routing addressing.After being encapsulated as entering regarding networking regarding the network packet of networking data bag,
Owing to having the pass (depending on networking packet header) being capable of identify that depending on networking, therefore can depend in depending on networking
It is transmitted according to depending on networking protocol and depending on the destination address information in networking packet header.
See table 1, show a kind of structural representation regarding networking data bag of the present invention.
Table 1
Depending on networking packet header |
IP packet header |
IP data |
Wherein, the original network packet of encapsulation specifically can include IP packet header and IP data, this
Original network packet is left intact by bright embodiment, i.e. the present invention will not resolve or change and appoint
Anticipate a user data package.It is to say, the present invention is simply in sender and the reception of network data
A completely isolated transparent pipeline is set up between side.No matter user terminal receives and dispatches any data, and one
General unrelated with network, so, from structure, cut off the lifeline of virus and wooden horse.Therefore, may be used
To stop the possibility that the unrelated person on network steals user data, in like manner, those want as hacker or
The people of system poison is not just available for the object attacked at all, thus improves the safety regarding intranet network
Property.
Step 103, described regard networking data bag to sending regarding networked server, with transmission in regarding networking
Described regarding networking data bag.
Packaged can be according to depending on regarding depending on destination address of networking in networking packet header depending on networking data bag
Networking is transmitted, specifically, can be forwarded to depending on networking data by depending on networked server.
To sum up, the processing method of a kind of network packet that the embodiment of the present invention provides, in network packet
Enter regard networking before, described network data wrap add meet regarding networking protocol regard networking packet header,
Obtain regarding accordingly networking data bag so that can should be transmitted in depending on networking depending on networking data bag;
This process achieve user network packet can being transmitted depending on networking by high-speed dedicated, and
Owing to entering, the network packet regarding networking is unified regards, regarding networking protocol, packet header of networking plus meeting, make
The packet depending on networking must be entered and meet unified standard, such that it is able to avoid regarding in networking, the unknown occur
IP packet, it can thus be avoided there is the situation of unknown IP network storm, regards networking to improve
Security.
Embodiment two
The processing method of the network data of the present embodiment, on the basis of above-described embodiment one, also may be used further
To include following optional technical scheme.
The described server receiving from the network packet of internet is the first protocol conversion server;Institute
State the first protocol conversion server and connect regarding networking and internet, for network packet being encapsulated as regard connection
Network data bag simultaneously sends in networking;
Wherein, the first protocol conversion server can be regarded as network packet and enters the entrance regarding networking,
It can provide the unified pass for network packet, and the first protocol conversion server is specifically as follows and props up
Holding IP agreement and turning the X86 equipment possessing operational capability depending on networking protocol, this equipment can pass through 2 nets
Card connects internet respectively and regards networking so that the first protocol conversion server has IP in internet
Address, has MAC Address and unique mark first as configured depending on networked devices in depending on networking
Protocol conversion server regard networking number.In actual applications, the present invention takes for the first protocol conversion
The concrete model of business device and configuration are not any limitation as.
With reference to Fig. 2, show that the present invention a kind of wraps interpolation in network data and meet regarding networking protocol
Depending on the flow chart of steps in packet header of networking, specifically may include that
Step 201, using described first protocol conversion server regard networking number as source regard networking number;
Wherein, the equipment in networking, for example, the first protocol conversion are regarded depending on networking number for unique mark
Server regard networking number as 0x 0e df af 00 00 01, certainly, in a particular application, Ke Yigen
According to needing to arrange the form regarding networking number flexibly, this is not any limitation as by the present invention.
Step 202, regarding the second protocol change server being pre-configured with as purpose depending on number of networking
Networking number;Described second protocol change server connects to regard networks and internet, and being used for will be regarding networking number
It is reduced to network packet according to bag and send to internet;
Wherein, second protocol change server can be regarded as regarding the outlet of networking, removes and regards networking data
The pass of bag, can arrange second protocol change server and the first protocol conversion server is identical
X86 equipment, same, second protocol change server has IP address in internet, is regarding connection
Net have MAC Address and unique mark second protocol Transformation Service as configured depending on networked devices
Device regard networking number.
Step 203, using the MAC Address of described first protocol conversion server as regard networking source address;
Step 204, using the MAC Address of described second protocol change server as regard networking destination
Location;
In a particular application, when user needs to use and quickly transmits data depending on networking, i.e. user
IP packets need pass through when enter back into internet depending on networking from internet, IP number can be sent
According to bag to the entrance (the first protocol conversion server) regarding networking, through adding the process regarding networking packet header
After, by this IP packet encapsulation for regarding networking data bag, send to regarding in networking, networking data should be regarded
Bag regard networking source address as the MAC Address of the first protocol conversion server, regard network destination address as
The MAC Address of second protocol change server, through multiple routing forwarding regarding networked server, will
Should be forwarded to regard the outlet (second protocol change server) of networking depending on networking data bag, regard through removing
After the process in networking packet header, this is reverted to original IP packet depending on networking data bag, send to mutually
In networking.
Preferably, the first protocol conversion server of the embodiment of the present invention and second protocol Transformation Service utensil
There is relation one to one, i.e. for the first protocol conversion server, can be pre-configured corresponding therewith
Second protocol change server.For example, it is possible to by arranging allocation list or database, store first
The mapping relations of the information such as the gateway of protocol conversion server and second protocol change server, address.When
When first protocol conversion server receives IP packet, can be by checking that allocation list obtains the second association
The gateway of view change server, address information, regard networking packet header to generate.Certainly, in actual applications,
First protocol conversion server and second protocol change server also can have one-to-many or multi-to-multi
Relation, this is not any limitation as by the present invention.
Step 205, according to described source regard networking number, purpose regard networking number, regard networking source address,
And depending on networking destination address generate meet regarding networking protocol regard networking packet header;
See table 2, show a kind of structural representation regarding networking packet header of the present invention.
Table 2
Wherein, purpose subaddressing and source subaddressing can as standby, PDU (Protocol Data Unit,
Protocol Data Unit) the inner network packet for encapsulation.
Step 206, wrap in described network data that interpolation is described regards networking packet header, obtain corresponding regarding connection
Network data bag.
To sum up, the embodiment of the present invention is wrapped to add in network data and is met wrapping regarding networking regarding networking protocol
Head, obtains regarding accordingly networking data bag so that can should pass in depending on networking depending on networking data bag
Defeated, and, adding during networking packet header, original network packet be left intact,
The i.e. present invention will not resolve or change any one user data package.It is to say, the present invention is
A completely isolated transparent pipeline is set up between sender and recipient.No matter user terminal is received
Send out any data, without exception unrelated with network, so, from structure, cut off the life of virus and wooden horse
Life line.The unrelated person that therefore, it can stop on network steals the possibility of user data, in like manner,
Those want when the people of hacker or system poison is not just available for the object of attack at all, thus improve and regard connection
The security of net network.
Embodiment three
The present embodiment, as a example by second protocol change server side, illustrates the place of the network packet of the present invention
Reason method.
With reference to Fig. 3, show the step stream of the processing method embodiment of a kind of network packet of the present invention
Cheng Tu, specifically may include that
Step 301, receive consider oneself as networking regard networking data bag;
Wherein, receive regard networking data bag as encapsulation after network packet, second protocol conversion clothes
Business device receives and should can be reduced to original network packet, and foundation after the networking data bag
This network packet corresponding destination address in internet forwards.
Step 302, remove described regard in networking data bag regard networking packet header, obtain corresponding network number
According to bag;
Step 303, send described network packet to internet.
The embodiment of the present invention will be reduced to network packet depending on networking data bag and send to internet, it is not necessary to
Network packet resolved or changes, thus can realize that network packet enters and pass depending on networking
After defeated, then by spreading out of the process regarding networking depending on the outlet (second protocol change server) of networking, can
To realize that the network packet of user can pass through high-speed dedicated on the premise of ensureing regarding networking security
Be transmitted depending on networking.
Embodiment four
With reference to Fig. 4, show the structural representation of a kind of network transparent transmission system of the present invention.Wherein,
Ip_v2v is the entrance regarding networking, the i.e. first protocol conversion server;V2v_ip is the outlet regarding networking,
I.e. second protocol change server;V2v is for regarding networked server.
With reference to Fig. 5, show the step of the transparent transmission processing method embodiment of a kind of network packet of the present invention
Rapid flow chart, specifically may include that
Step 501, the first protocol conversion server receive the network packet from internet;
Step 502, described first protocol conversion server are wrapped interpolation in the network data receiving and are met
Depending on networking protocol regard networking packet header, obtain accordingly regard networking data bag;
Step 503, described first protocol conversion server are described regarding networking number to sending regarding networked server
According to bag;
Step 504, described regarding networked server according to regard networking packet header in regard networking destination address, will
Receive described is forwarded to second protocol change server depending on networking data bag;
Removing depending on networking data bag of receiving is regarded connection by step 505, described second protocol change server
Net packet header, obtains network packet and sends to internet.
In a kind of application example of the present invention, remote medical consultation with specialists as to be carried out in two provinces of A and B, then regard
Frequency needs to exchange and transmit in depending on networking, but department service data need to pass under IP network system
Defeated, in order to solve the problem of this 2 links, can be by the transparent transmission process of the network packet of the present invention
Method solves this problem, is received IP number by " the first protocol conversion server " in the IP network that A saves
According to bag, and being encapsulated as depending on networking data bag such that it is able to be transmitted in depending on networking, " second protocol turns
Change server " receive this and regard after networking data bag, then carry out reverse resolution and obtain original IP data
Bag, is sent to during B saves the IP device specified.
In a particular application, before step 501, first can be to the first protocol conversion server and second
Protocol conversion server carries out initializing accessing to regard networks.Access with the first protocol conversion server below and regard
Describe the step of access as a example by networking in detail, specifically may include that
Step A1, issue inquiry bag depending on networking has the node server of centralized control functions;
Wherein, node server be have centralized control functions regard networked server, for example receive and locate
Manage the networking request of other servers, other servers are added and regards in networking;Address can also be safeguarded
Information table, is used for managing into net address.
Step A2, the first protocol conversion server receive inquiry bag, return and comprise the first protocol conversion clothes
The response bag of business device sequence number;
Step A3, node server search the corresponding with described sequence number first association in Registry
View change server information, described first protocol conversion server information includes the first protocol translation service
The terminal MAC address of binding under device MAC Address and this first protocol conversion server;
Step A4, node server send, to described first protocol conversion server, the order that networks, described
Network and comprise the first protocol conversion server in ordering in the address regarding networking and the first protocol translation service
The MAC Address of device;
Step A5, described first protocol conversion server return response, the first association after receiving networking order
View change server accesses and regards networking.
In embodiments of the present invention, accessing the server depending on networking needs to register on node server
Can access, any unregistered server or terminal not can be accessed by and regard networking so that regards in networking
Equipment all meet unified specification, to improve the security of network.
In one preferred embodiment of the invention, described method can also include: sentences depending on networked server
Whether the disconnected described packet header depending on networking data bag meets regarding networking protocol, if not meeting, then abandons
Described regarding networking data bag, and do not carry out transparent transmission and forwarding by described depending on networking data bag, that is, only right
Meet and carry out transparent transmission and forwarding depending on networking protocol depending on networking data bag.
Specifically, can be by judging whether comprise to filter not depending on packet header of networking depending on the packet in networking
Meet the packet regarding networking protocol.Further, it is also possible to judged by the following aspects:
Judge the source address of user data package: to prevent user from sending any personation or anonymous data bag;
Judge destination address: user can only transmit packets to the object specified depending on networked server.
The present invention is by judging depending on whether the packet in networking meets regulation, it is not necessary to fire wall,
The negative meanses such as antivirus, encryption, can block assault and the approach of virus diffusion, to ensure
The security of network.
In another preferred embodiment of the invention, described first protocol conversion server takes to regarding networking
Business device sends the described step regarding networking data bag, specifically may include that described first protocol translation service
Device sends described regarding networking data bag to the closest networked server that regards.
Preferably for depending on networking data bag in depending on networking the process that is transmitted specifically can include with
Lower step:
Step B1, the first protocol conversion server to closest depending on networked server send described in regard
Networking data bag;
Step B2, described nearest regard networked server and networking packet header regards destination of networking according to regarding
This is forwarded to next regarding networked server according to routing forwarding strategy by location depending on networking data bag, until
Should reach to regard networking destination address depending on networking data bag.
Device embodiment one
With reference to Fig. 6, show the structured flowchart of the processing means of a kind of network packet of the present invention, specifically
May include that
Network data receiver module 610, for receiving the network packet from internet;
Network data package module 620, meets regarding networking protocol for wrapping interpolation in described network data
Regard networking packet header, obtain accordingly regard networking data bag;Described include described regarding networking depending on packet header of networking
Packet is corresponding regards networking destination address information;And
Depending on networking data sending module 630, for regarding networking data bag described in sending regarding networked server,
Regard networking data bag so that transmission in regarding networking is described.
Preferably, described device is the first protocol conversion server;Described first protocol conversion server is even
Connect and regard networking and internet, for network packet being encapsulated as extremely regard networking regarding networking data bag transmission
In;
Described network data package module 620, specifically may include that
First determination submodule, for using described first protocol conversion server regard networking number as source
Depending on networking number;
Second determination submodule, for will be pre-configured with second protocol change server regard networking number
Regard networking number as purpose;Described second protocol change server connects to regard networks and internet, is used for
Network packet will be reduced to depending on networking data bag and send to internet;
3rd determination submodule, for using the MAC Address of described first protocol conversion server as regarding
Networking source address;
4th determination submodule, for using the MAC Address of described second protocol change server as regarding
Networking destination address;
Generating submodule, for regarding networking number according to described source, purpose regards networking number, regard networking source
Address and depending on networking destination address generate meet regarding networking protocol regard networking packet header;And
Encapsulation submodule, for wrapping in described network data, interpolation is described regards networking packet header, obtains corresponding
Regard networking data bag.
Device embodiment two
With reference to Fig. 7, show the structured flowchart of the processing means of the another kind of network packet of the present invention,
Specifically may include that
Depending on networking data receiver module 710, regard networking data bag for receive networking of considering oneself as;
Depending on networking data parsing module 720, for remove described regard in networking data bag regard networking packet header,
Obtain corresponding network packet;And
Network data sending module 730, for sending described network packet to internet.
Device embodiment three
With reference to Fig. 8, show the structured flowchart of the transparent transmission processing means of a kind of network packet of the present invention,
Specifically may include that the first protocol conversion server the 810th, second protocol change server 820 and regard
Networked server 830;
Wherein, described first protocol conversion server 810 specifically may include that
Receiver module 811, for receiving the network packet from internet;
Package module 812, meets regarding depending on networking protocol for wrapping interpolation in the network data receiving
Networking packet header, obtains regarding accordingly networking data bag;
Sending module 813, for regarding networking data bag described in sending regarding networked server;
Described regarding networked server 830, for networking packet header regarding networking destination address according to regarding, will
Receive described is forwarded to second protocol change server depending on networking data bag;
Described second protocol change server 820, for removing receive regarding connection depending on networking data bag
Net packet header, obtains network packet and sends to internet.
Preferably, described package module 812, specifically may include that
First determination submodule, for using described first protocol conversion server regard networking number as source
Depending on networking number;
Second determination submodule, for will be pre-configured with second protocol change server regard networking number
Regard networking number as purpose;Described second protocol change server connects to regard networks and internet, is used for
Network packet will be reduced to depending on networking data bag and send to internet;
3rd determination submodule, for using the MAC Address of described first protocol conversion server as regarding
Networking source address;
4th determination submodule, for using the MAC Address of described second protocol change server as regarding
Networking destination address;
Generating submodule, for regarding networking number according to described source, purpose regards networking number, regard networking source
Address and depending on networking destination address generate meet regarding networking protocol regard networking packet header;
Encapsulation submodule, for wrapping in described network data, interpolation is described regards networking packet header, obtains corresponding
Regard networking data bag.
Preferably, described may include that depending on the Internet services implement body
Judge module, regards networking association for judging whether the described packet header depending on networking data bag meets
View, if not meeting, then abandons described packet.
Preferably, described sending module 813, can be specifically for sending out depending on networked server to closest
Send described regarding networking data bag.
For device embodiment, due to itself and embodiment of the method basic simlarity, so the comparison describing
Simply, related part sees the part of embodiment of the method and illustrates.
Each embodiment in this specification all uses the mode gone forward one by one to describe, and each embodiment stresses
Be all the difference with other embodiments, between each embodiment, identical similar part sees mutually
?.
Those skilled in the art are it should be appreciated that the embodiment of the embodiment of the present invention can be provided as method, dress
Put or computer program.Therefore, the embodiment of the present invention can use complete hardware embodiment, completely
Software implementation or the form of the embodiment in terms of combining software and hardware.And, the embodiment of the present invention
Can use and can be situated between with storage at one or more computers wherein including computer usable program code
The upper computer journey implemented of matter (including but not limited to magnetic disc store, CD-ROM, optical memory etc.)
The form of sequence product.
The embodiment of the present invention is with reference to method according to embodiments of the present invention, terminal device (system) and meter
The flow chart of calculation machine program product and/or block diagram describe.It should be understood that can be by computer program instructions
Each flow process in flowchart and/or block diagram and/or square frame and flow chart and/or square frame
Flow process in figure and/or the combination of square frame.Can provide these computer program instructions to all-purpose computer,
The processor of special-purpose computer, Embedded Processor or other programmable data processing terminal equipment is to produce
One machine so that performed by the processor of computer or other programmable data processing terminal equipment
Instruction produce for realizing at one flow process of flow chart or multiple flow process and/or one square frame of block diagram or
The device of the function specified in multiple square frames.
These computer program instructions may be alternatively stored in and can guide computer or other programmable data process
In the computer-readable memory that terminal device works in a specific way so that be stored in this computer-readable
Instruction in memory produces the manufacture including command device, and this command device realizes flow chart one
The function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded into computer or other programmable data processing terminals set
Standby upper so that on computer or other programmable terminal equipment, to perform sequence of operations step in terms of producing
The process that calculation machine realizes, thus the instruction performing on computer or other programmable terminal equipment provides and uses
In realizing in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame
The step of the function specified.
Although having been described for the preferred embodiment of the embodiment of the present invention, but those skilled in the art being once
Know basic creative concept, then can make other change and modification to these embodiments.So,
Claims are intended to the institute being construed to include preferred embodiment and fall into range of embodiment of the invention
Have change and modification.
Finally, in addition it is also necessary to explanation, herein, the relation art of such as first and second or the like
Language is used merely to separate an entity or operation with another entity or operating space, and not necessarily
Require or imply relation or the order that there is any this reality between these entities or operation.And
And, term " includes ", "comprising" or its any other variant are intended to comprising of nonexcludability, from
And make the process, method, article or the terminal device that include a series of key element not only include that those are wanted
Element, but also include other key elements being not expressly set out, or also include for this process, side
The intrinsic key element of method, article or terminal device.In the case of there is no more restriction, by statement
The key element that " including one ... " limits, it is not excluded that including the process of described key element, method, thing
Product or terminal device there is also other identical element.
Treating method and apparatus, a kind of network number to a kind of network packet provided by the present invention above
It according to the transparent transmission treating method and apparatus of bag, is described in detail, specific case pair used herein
The principle of the present invention and embodiment are set forth, and the explanation of above example is only intended to help reason
Solve method and the core concept thereof of the present invention;Simultaneously for one of ordinary skill in the art, foundation
The thought of the present invention, all will change in specific embodiments and applications, to sum up institute
Stating, this specification content should not be construed as limitation of the present invention.