CN104767725A - Network data transmitting-receiving device and method - Google Patents
Network data transmitting-receiving device and method Download PDFInfo
- Publication number
- CN104767725A CN104767725A CN201410853923.1A CN201410853923A CN104767725A CN 104767725 A CN104767725 A CN 104767725A CN 201410853923 A CN201410853923 A CN 201410853923A CN 104767725 A CN104767725 A CN 104767725A
- Authority
- CN
- China
- Prior art keywords
- data
- network
- receiving
- transmission method
- network data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 58
- 230000008569 process Effects 0.000 claims abstract description 22
- 230000005540 biological transmission Effects 0.000 claims description 29
- 230000001960 triggered effect Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 5
- 230000007246 mechanism Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 239000012634 fragment Substances 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a network data transmitting-receiving device and method. The network data transmitting-receiving device comprises a receiving unit which comprises a bottom data capturing module and a firewall module. The bottom data capturing module is used for obtaining data from a network card, and the firewall module is used for intercepting the data, so that a Windows operation system will not process the data, namely a network protocol of the system can be bypassed, a TCP/IP protocol stack of the system will not be triggered, and a data package can still be obtained.
Description
Technical field
The present invention relates to a kind of network data R-T unit and method.One embodiment of the present of invention relate to bottom-layer network data source and sink based on Windows XP system and method, particularly relate to network data R-T unit and the method for the ICP/IP protocol not relying on system.
Background technology
At present, in PC (Personal Computer) at home, Windows XP (Microsoft releases the operating system for PC) is still the operating system of most widely used model.Windows XP has, good stability lower to the requirement of hardware, the advantage such as easy to use.In network service, Windows XP provides a set of TCP (Transmission Control Protocol transmission control protocol)/IP (Internet Protocol) agreement and API (Application Programming Interface application programming interface), is used for the data of handle link layer and network layer.Based on this agreement, application developer can be absorbed in the data interaction of application layer, and need not pay close attention to the network service of bottom.
But this protocol processes mechanism also brings some problems, Windows XP system given application developer can not the packet of receiver layer and network layer.But in some cases, need the data of receiver layer and network layer, instead of rely on the ICP/IP protocol of operating system, at this moment the protocol processes mechanism of operating system just brings inconvenience to us.
Summary of the invention
The object of the invention is to, provide a kind of network data R-T unit, it can not limit by the agreement of Windows XP operating system, receiving network data.
The present invention is achieved through the following technical solutions: a kind of network data R-T unit, and described network data R-T unit comprises receiving element, and described receiving element comprises:
Bottom data packet capturing module, it is for obtaining data from network interface card; With
FWSM, it makes Windows operating system can not process these data for tackling described data.
Preferably, described receiving element also comprises:
Data processing module, it is for the treatment of the data obtained from network interface card by described bottom data packet capturing module.
Preferably, described network data R-T unit also comprises transmitting element,
Described transmitting element comprises:
Bottom data sending module, it is for directly sending data to be sent with the form of data link layer.
Preferably, described receiving element also comprises:
Data processing module, it is for the treatment of the data obtained from network interface card by described bottom data packet capturing module,
Described network data R-T unit also comprises transmitting element,
Described transmitting element comprises:
Bottom data sending module, it is for directly sending data to be sent with the form of data link layer.
According to a further aspect in the invention, provide a kind of network data receiving/transmission method, described network data receiving/transmission method comprises receiving step, and described receiving step comprises:
S102 receives data from network interface card;
S103 obtains this data by bottom data packet capturing module; With
S104 tackles this data by FWSM, makes Windows operating system can not process these data.
Preferably, described network data receiving/transmission method also comprises forwarding step, and described forwarding step comprises:
S202 prepares data to be sent; With
S203 sends this data by bottom data sending module.
Preferably, in S203, data to be sent directly send with the form of data link layer by described bottom data sending module.
In accordance with a further aspect of the present invention, provide a kind of network data receiving/transmission method, described network data receiving/transmission method comprises receiving step, and described receiving step comprises:
S112 receives data from network interface card;
S113 obtains this data by bottom data packet capturing module; With
S114 tackles this data by FWSM, makes Windows operating system can not process these data, and the data caught are submitted to data processing module processes.
Preferably, described network data receiving/transmission method also comprises forwarding step, and described forwarding step comprises:
S202 prepares data to be sent; With
S203 sends this data by bottom data sending module.
Preferably, in S203, data to be sent directly send with the form of data link layer by described bottom data sending module.
The invention has the beneficial effects as follows: network data R-T unit of the present invention comprises receiving element, receiving element comprises bottom data packet capturing module and FWSM, data are obtained by bottom data packet capturing module, then FWSM is utilized to tackle this data, make Windows operating system can not process these data, both can bypass the procotol of system, the ICP/IP protocol stack of triggering system, can not receive packet again.
Accompanying drawing explanation
Fig. 1 is the schematic block diagram of the network data R-T unit according to the first embodiment of the present invention;
Fig. 2 is the schematic block diagram of network data R-T unit according to a second embodiment of the present invention;
Fig. 3 is the schematic flow diagram of the receiving step of network data receiving/transmission method according to an embodiment of the invention;
Fig. 4 is the schematic flow diagram of the receiving step of network data receiving/transmission method according to another embodiment of the present invention;
Fig. 5 is the schematic flow diagram of the forwarding step of network data receiving/transmission method according to an embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is further detailed.
Be described below in detail embodiments of the invention, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Being exemplary below by the embodiment be described with reference to the drawings, only for explaining the present invention, and can not limitation of the present invention being interpreted as.On the contrary, embodiments of the invention comprise fall into attached claims spirit and intension within the scope of all changes, amendment and equivalent.
In describing the invention, it is to be appreciated that term " first ", " second " etc. are only for describing object, and instruction or hint relative importance can not be interpreted as.In addition, in describing the invention, except as otherwise noted, the implication of " multiple " is two or more.
Describe and can be understood in flow chart or in this any process otherwise described or method, represent and comprise one or more for realizing the module of the code of the executable instruction of the step of specific logical function or process, fragment or part, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can not according to order that is shown or that discuss, comprise according to involved function by the mode while of basic or by contrary order, carry out n-back test, this should understand by embodiments of the invention person of ordinary skill in the field.
As shown in Figure 1, the network data R-T unit 10 of the first embodiment of the present invention comprises receiving element 100.
Wherein, described receiving element 100 comprises:
Bottom data packet capturing module 120, it is for obtaining data from network interface card (network adapter, also claims network adapter); With
FWSM 110, it is for tackling described data, makes Windows operating system (especially Windows XP operating system) can not process these data.FWSM 110 act as data interception bag, make Windows operating system cannot receive these data.
In addition, described network data R-T unit 10 can also comprise transmitting element 200.Described transmitting element 200 comprises bottom data sending module 210.Bottom data sending module 210 is for directly sending data to be sent with the form of data link layer.
According to network data R-T unit 10 of the present invention, when sending data, without ICP/IP protocol API (the Application Programming Interface of operating system, application programming interface), but use bottom data sending module 120, the data format that data group is bundled into data link layer is directly sent.The protocol of system can be walked around like this, complete sending function.
Thus, obtain data by bottom data packet capturing module 120, then utilize FWSM 110 to tackle this data, make Windows operating system can not process these data, both can bypass the procotol of system, the ICP/IP protocol stack of triggering system, can not obtain packet again.
According to network data R-T unit 10 of the present invention, the mode utilizing FWSM and bottom data packet capturing module to combine, reaches the object of network service, more near bottom stack, provide more powerful function, and practicality is more flexible.
Network data R-T unit of the present invention can realize the data transmit-receive of more bottom, can realize network layer, the data transmit-receive process of application layer and the API original function of Windows system.And, network data R-T unit of the present invention can provide more function, comprise: replace the port numbers sending IP bag source address/destination address, replace TCP/UDP bag, realize the identity transceiving data with other network addresss, meet the needs of specific area exploitation; Network Packet Intercept is developed, and comprises the functions such as the filtration of particular data packet, interception.
In the network data R-T unit 10A of the second embodiment of the present invention, as shown in Figure 2, described receiving element 100 comprises FWSM 110, bottom data packet capturing module 120, data processing module 130.Data processing module 130 is for the treatment of the data obtained from network interface card by described bottom data packet capturing module 120.
Before FWSM 110 data interception, bottom data packet capturing module 120 can get the data being about to be blocked, and can the extraction of these data process for data processing module 130.
Thus, data are obtained by bottom data packet capturing module 120, then FWSM 110 is utilized to tackle this data, make Windows operating system can not process these data, both can bypass the procotol of system, the ICP/IP protocol stack of triggering system, can not obtain data again, and is processed these data by data processing module.The network data R-T unit of the second embodiment also has the technique effect of the network data R-T unit of the first embodiment.
As shown in Figure 3, present invention also offers a kind of network data receiving/transmission method.This network data receiving/transmission method is realized by the R-T unit of network data shown in Fig. 1 10.This network data receiving/transmission method comprises receiving step.Described receiving step comprises:
S101 starts step;
S102 receives data from network interface card;
S103 obtains this data by bottom data packet capturing module;
S104 tackles this data by FWSM, makes Windows operating system can not process these data; With
S105 end step.
Preferably, described network data receiving/transmission method also comprises forwarding step.As shown in Figure 5, described forwarding step comprises:
S201 starts step;
S202 prepares data to be sent;
S203 sends this data by bottom data sending module; With
S204 end step.
In S203, data to be sent directly send with the form of data link layer by described bottom data sending module.
As shown in Figure 4, present invention also offers another kind of network data receiving/transmission method.This network data receiving/transmission method is realized by network data R-T unit 10A shown in Fig. 2.This network data receiving/transmission method comprises receiving step.Described receiving step comprises:
S111 starts step;
S112 receives data from network interface card;
S113 obtains this data by bottom data packet capturing module;
S114 tackles this data by FWSM, makes Windows operating system can not process these data, and the data caught are submitted to data processing module processes; With
S115 end step.
Preferably, described network data receiving/transmission method also comprises forwarding step.As shown in Figure 5, described forwarding step comprises:
S201 starts step;
S202 prepares data to be sent;
S203 sends this data by bottom data sending module; With
S204 end step.
In S203, data to be sent directly send with the form of data link layer by described bottom data sending module.
According to the embodiment of network data R-T unit of the present invention and method, can not limit by the agreement of Windows XP operating system, transmitting-receiving network data.Network data R-T unit of the present invention does not re-use the protocol of operating system, and it is bottom-layer network R-T unit.
Although illustrate and describe embodiments of the invention, those having ordinary skill in the art will appreciate that: can carry out multiple change, amendment, replacement and modification to these embodiments when not departing from principle of the present invention and aim, scope of the present invention is by claim and equivalents thereof.
Claims (10)
1. a network data R-T unit, is characterized in that, described network data R-T unit comprises receiving element,
Described receiving element comprises:
Bottom data packet capturing module, it is for obtaining data from network interface card; With
FWSM, it makes Windows operating system can not process these data for tackling described data.
2. network data R-T unit according to claim 1, is characterized in that, described receiving element also comprises:
Data processing module, it is for the treatment of the data obtained from network interface card by described bottom data packet capturing module.
3. network data R-T unit according to claim 1, is characterized in that, described network data R-T unit also comprises transmitting element,
Described transmitting element comprises:
Bottom data sending module, it is for directly sending data to be sent with the form of data link layer.
4. network data R-T unit according to claim 1, is characterized in that, described receiving element also comprises:
Data processing module, it is for the treatment of the data obtained from network interface card by described bottom data packet capturing module,
Described network data R-T unit also comprises transmitting element,
Described transmitting element comprises:
Bottom data sending module, it is for directly sending data to be sent with the form of data link layer.
5. a network data receiving/transmission method, is characterized in that, described network data receiving/transmission method comprises receiving step, and described receiving step comprises:
S102 receives data from network interface card;
S103 obtains this data by bottom data packet capturing module; With
S104 tackles this data by FWSM, makes Windows operating system can not process these data.
6. network data receiving/transmission method according to claim 5, is characterized in that, described network data receiving/transmission method also comprises forwarding step, and described forwarding step comprises:
S202 prepares data to be sent; With
S203 sends this data by bottom data sending module.
7. network data receiving/transmission method according to claim 6, is characterized in that, in S203, data to be sent directly send with the form of data link layer by described bottom data sending module.
8. a network data receiving/transmission method, is characterized in that, described network data receiving/transmission method comprises receiving step, and described receiving step comprises:
S112 receives data from network interface card;
S113 obtains this data by bottom data packet capturing module; With
S114 tackles this data by FWSM, makes Windows operating system can not process these data, and the data caught are submitted to data processing module processes.
9. network data receiving/transmission method according to claim 8, is characterized in that, described network data receiving/transmission method also comprises forwarding step, and described forwarding step comprises:
S202 prepares data to be sent; With
S203 sends this data by bottom data sending module.
10. network data receiving/transmission method according to claim 9, is characterized in that, in S203, data to be sent directly send with the form of data link layer by described bottom data sending module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410853923.1A CN104767725A (en) | 2014-12-31 | 2014-12-31 | Network data transmitting-receiving device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410853923.1A CN104767725A (en) | 2014-12-31 | 2014-12-31 | Network data transmitting-receiving device and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104767725A true CN104767725A (en) | 2015-07-08 |
Family
ID=53649336
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410853923.1A Pending CN104767725A (en) | 2014-12-31 | 2014-12-31 | Network data transmitting-receiving device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104767725A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050216552A1 (en) * | 2004-03-24 | 2005-09-29 | Samuel Fineberg | Communication-link-attached persistent memory system |
CN101119237A (en) * | 2006-07-31 | 2008-02-06 | 英业达股份有限公司 | Network card test method |
CN102404398A (en) * | 2011-11-17 | 2012-04-04 | 曙光信息产业(北京)有限公司 | RDMA (remote direct memory Access) message sending method supporting multiple clients |
CN102833144A (en) * | 2011-06-15 | 2012-12-19 | 鸿富锦精密工业(深圳)有限公司 | Network card data transmission method and system |
-
2014
- 2014-12-31 CN CN201410853923.1A patent/CN104767725A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050216552A1 (en) * | 2004-03-24 | 2005-09-29 | Samuel Fineberg | Communication-link-attached persistent memory system |
CN101119237A (en) * | 2006-07-31 | 2008-02-06 | 英业达股份有限公司 | Network card test method |
CN102833144A (en) * | 2011-06-15 | 2012-12-19 | 鸿富锦精密工业(深圳)有限公司 | Network card data transmission method and system |
CN102404398A (en) * | 2011-11-17 | 2012-04-04 | 曙光信息产业(北京)有限公司 | RDMA (remote direct memory Access) message sending method supporting multiple clients |
Non-Patent Citations (1)
Title |
---|
苏朋程等: "基于多Agent 内核级网络数据包的研究与应用", 《计算机技术与发展》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10798058B2 (en) | Distributed identity-based firewalls | |
US8036127B2 (en) | Notifying network applications of receive overflow conditions | |
US7751401B2 (en) | Method and apparatus to provide virtual toe interface with fail-over | |
EP3849153A3 (en) | Technologies for secure bootstrapping of virtual network functions | |
CN104412558B (en) | Reverse access method for securing front-end applications and other applications | |
RU2008124972A (en) | SYSTEMS AND METHODS OF DETECTION AND INTERACTION WITH SERVICES | |
US7613198B2 (en) | Method and apparatus for dynamic assignment of network interface card resources | |
JP2018107791A5 (en) | ||
US7746783B1 (en) | Method and apparatus for monitoring packets at high data rates | |
CN106533954A (en) | Message scheduling method and device | |
US9106637B2 (en) | Identification of a protocol used in a message | |
CN103001966B (en) | The process of a kind of private network IP, recognition methods and device | |
CN103823721B (en) | A kind of method and apparatus of interprocess communication | |
CN103425486A (en) | Remote card content management method and system using synchronous server-side scripting | |
JP2018022501A5 (en) | ||
CN102647358A (en) | Message transmitting and processing method, device, client equipment and network equipment | |
US8149709B2 (en) | Serialization queue framework for transmitting packets | |
CN104184729B (en) | A kind of message processing method and device | |
CN104205745A (en) | Method and device for processing message | |
CN109661854A (en) | The method and apparatus of transmission in wireless network signaling | |
CN104767725A (en) | Network data transmitting-receiving device and method | |
CN103200056A (en) | Security check system based on network and method of security check system for achieving cooperative work | |
CN103905302B (en) | A kind of method that source IP is bound on Windows main frames using Microsoft Loopback Adapter | |
US8635284B1 (en) | Method and apparatus for defending against denial of service attacks | |
CN108153579A (en) | Desktop cloud peripheral hardware access system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150708 |