CN110113337A - A kind of data transmission method, correlation technique and the relevant apparatus of zero-address equipment - Google Patents
A kind of data transmission method, correlation technique and the relevant apparatus of zero-address equipment Download PDFInfo
- Publication number
- CN110113337A CN110113337A CN201910376166.6A CN201910376166A CN110113337A CN 110113337 A CN110113337 A CN 110113337A CN 201910376166 A CN201910376166 A CN 201910376166A CN 110113337 A CN110113337 A CN 110113337A
- Authority
- CN
- China
- Prior art keywords
- data
- address
- packet
- zero
- equipment
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/02—Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
- H04L63/0227—Filtering policies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/30—Network architectures or network communication protocols for network security for supporting lawful interception, monitoring or retaining of communications or communication related information
- H04L63/306—Network architectures or network communication protocols for network security for supporting lawful interception, monitoring or retaining of communications or communication related information intercepting packet switched data communications, e.g. Web, Internet or IMS communications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/146—Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Technology Law (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
This application discloses a kind of data transmission methods of zero-address equipment, comprising: default mark is added to data to be transmitted packet according to preset rules;It is determined according to the network protocol of the data to be transmitted packet and sends rule, being sent to the data to be transmitted packet according to the transmission rule has address device with what zero-address equipment was connect, so that the zero-address equipment is when getting the data packet comprising the default mark by network data filter element, corresponding operation is executed to the data packet.By adding default mark to data packet to be transmitted, and transmitting it to has address device with what zero-address equipment was connect, so that zero-address equipment is truncated to the data packet by default mark, realizes and pass through network to zero-address equipment transmission data, improve data transfer efficiency.Disclosed herein as well is a kind of data transmitting equipment, zero-address equipment, computer equipment and computer readable storage mediums, have the above beneficial effect.
Description
Technical field
This application involves field of computer technology, in particular to a kind of data transmission method of zero-address equipment, data connect
Receiving method, data transmitting equipment, zero-address equipment, computer equipment and computer readable storage medium.
Background technique
With the continuous development of information technology, different nets can be sent data to by different agreements in a network
In network equipment, the convenience of data transmission is greatly improved, user is facilitated and obtains more information.
But it will appear no IP (Internet Protocol Address interconnection in actual use environment at present
FidonetFido address) address and MAC (Media Access Control Address physical address) address equipment, such as one
The hardware firewall of computer equipment.General hardware firewall, in order to guarantee the safety of the firewall, hardware firewall is logical
It often is not provided with IP address, is also not provided with MAC Address.So that being had no idea by network sends malice to the hardware firewall
Data guarantee its safety.But it is clear that having no idea to transmit data to it using current data network protocol.And
And it can only be by other physical medium transport data, for example, USB flash disk, hard disk etc. when the equipment needs data.Transmission
Efficiency is extremely slow, it is also necessary to manual operation, higher cost.
It therefore, is those skilled in the art pass how by equipment transmission data of the network to no IP address MAC address free
The Important Problems of note.
Summary of the invention
The purpose of the application is to provide a kind of data transmission method of zero-address equipment, data receiver method, data transmission
Equipment, zero-address equipment, computer equipment and computer readable storage medium, by adding pre- bidding to data packet to be transmitted
Know, and transmit it to and have address device with what zero-address equipment connect, so that zero-address equipment is intercepted by default mark
To the data packet, realizes and pass through network to zero-address equipment transmission data, improve data transfer efficiency.
In order to solve the above technical problems, the application provides a kind of data transmission method of zero-address equipment, comprising:
Default mark is added to data to be transmitted packet according to preset rules;
It is determined according to the network protocol of the data to be transmitted packet and sends rule, it will be described to be passed according to the transmission rule
Transmission of data packet, which is sent to, has address device with what zero-address equipment was connect, works as so as to the zero-address equipment and passes through network data mistake
When filter unit gets the data packet comprising the default mark, corresponding operation is executed to the data packet.
Optionally, it is determined according to the network protocol of the data to be transmitted packet and sends rule, it will according to the transmission rule
The data to be transmitted packet, which is sent to, has address device with what zero-address equipment was connect, comprising:
When the network protocol, which is, connection protocol, there is connection protocol to there is address device transmission to hold to described according to described
Hand message, to there is address device to establish connection with described;
When with it is described there is address device to establish connection when, Xiang Suoshu has address device to send the data to be transmitted packet.
Optionally, it is determined according to the network protocol of the data to be transmitted packet and sends rule, it will according to the transmission rule
The data to be transmitted packet, which is sent to, has address device with what zero-address equipment was connect, comprising:
When the network protocol is connectionless protocol, Xiang Suoshu has address device to send the data to be transmitted packet.
The application also provides a kind of data receiver method of zero-address equipment, comprising:
Zero-address equipment obtains the data packet for being sent to address device by network data filter element;
Judge whether the data packet includes default mark according to the content of the data packet;
If so, executing corresponding operation to the data packet.
Optionally, judge whether the data packet includes default mark according to the content of the data packet, comprising:
Port numbers parsing is carried out to the content of the data packet, obtains port numbers;
Judge whether the port numbers are equal with the port numbers of the default mark.
Optionally, further includes:
If it is not, then forwarding the data packet.
The application also provides a kind of data transmitting equipment, comprising:
Flag bit adding module, for default mark to be added to data to be transmitted packet according to preset rules;
Packet sending module sends rule for determining according to the network protocol of the data to be transmitted packet, according to institute
Stating transmission rule and being sent to the data to be transmitted packet has address device with what zero-address equipment was connect, so as to the zero-address
Equipment is when getting the data packet comprising the default mark by network data filter element, to data packet execution pair
The operation answered.
The application also provides a kind of zero-address equipment, comprising:
Data packet obtains module, has been sent to address device by the acquisition of network data filter element for zero-address equipment
Data packet;
Flag bit judgment module, for judging whether the data packet includes pre- bidding according to the content of the data packet
Know;
Data packet handing module is used for when the data packet includes the default mark, to data packet execution pair
The operation answered;
Data packet forward module, for when the data packet does not include the default mark, the data packet to be carried out
Forwarding.
The application also provides a kind of computer equipment, comprising:
Memory, for storing computer program;
Processor, the step of data transmission method as described above is realized when for executing the computer program and/or
The step of data receiver method.
The application also provides a kind of computer readable storage medium, and calculating is stored on the computer readable storage medium
The step of machine program, the computer program realizes data transmission method as described above when being executed by processor and/or data
The step of method of reseptance.
The data transmission method of a kind of zero-address equipment provided herein, comprising: will be marked in advance according to preset rules
Knowledge is added to data to be transmitted packet;It is determined according to the network protocol of the data to be transmitted packet and sends rule, according to the transmission
The data to be transmitted packet is sent to by rule has address device with what zero-address equipment was connect, so that the zero-address equipment is worked as
When getting the data packet comprising the default mark by network data filter element, corresponding behaviour is executed to the data packet
Make.
As it can be seen that technical scheme when to zero-address equipment send data to be transmitted packet when, by the data to be transmitted packet
Being sent to has address device with what zero-address equipment was connect, so as to pass through this to all data packets for having address device to send
Zero-address equipment.Also, default mark is added, in data to be transmitted packet so that zero-address equipment is determined by the default mark
Whether data intercept packet, that is, zero-address equipment determines whether to receive the data packet by default mark.When zero-address equipment
When the data packet of acquisition includes default mark, then corresponding operation is executed to the data packet, data are just also got by network
Packet completes the transmission process of data, realizes and sends data to zero-address equipment by network, avoids passing through and use in device context
Storage medium transmits data, and improve data transfer efficiency reduces data transmission cost.
The application also provides a kind of data transmitting equipment, zero-address equipment, computer equipment and computer-readable storage
Medium has the above beneficial effect, and this will not be repeated here.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of the data transmission method of zero-address equipment provided by the embodiment of the present application;
Fig. 2 is a kind of flow chart of the data receiver method of zero-address equipment provided by the embodiment of the present application;
Fig. 3 is a kind of structural schematic diagram of data transmitting equipment provided by the embodiment of the present application;
Fig. 4 is a kind of structural schematic diagram of zero-address equipment provided by the embodiment of the present application;
Fig. 5 is a kind of structural schematic diagram of computer equipment provided by the embodiment of the present application.
Specific embodiment
The core of the application is to provide a kind of data transmission method of zero-address equipment, data receiver method, data transmission
Equipment, zero-address equipment, computer equipment and computer readable storage medium, by adding pre- bidding to data packet to be transmitted
Know, and transmit it to and have address device with what zero-address equipment connect, so that zero-address equipment is intercepted by default mark
To the data packet, realizes and pass through network to zero-address equipment transmission data, improve data transfer efficiency.
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application
In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is
Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall in the protection scope of this application.
It will appear no IP (Internet Protocol Address internet protocol in actual use environment at present
Discuss address) address and MAC (Media Access Control Address physical address) address equipment, such as one calculating
The hardware firewall of machine equipment.General hardware firewall, in order to guarantee the safety of the firewall, hardware firewall does not have usually
There is setting IP address, is also not provided with MAC Address.So that being had no idea by network sends malice number to the hardware firewall
According to guaranteeing its safety.But it is clear that having no idea to transmit data to it using current data network protocol.Also,
It can only be by other physical medium transport data, for example, USB flash disk, hard disk etc. when the equipment needs data.Efficiency of transmission
It is extremely slow, it is also necessary to manual operation, higher cost.
Therefore, the application provides a kind of data transmission method of zero-address equipment, to be transmitted when sending to zero-address equipment
When data packet, which, which is sent to, has address device with what zero-address equipment was connect, so as to there is address device
All data packets sent pass through the zero-address equipment.Also, default mark is added, in data to be transmitted packet so as to nothing
Address device determines whether that data intercept packet, that is, zero-address equipment are determined whether by default mark by the default mark
Receive the data packet.When the data packet that zero-address equipment obtains includes default mark, then corresponding behaviour is executed to the data packet
Make, data packet is just also got by network, complete the transmission process of data, realizes and number is sent to zero-address equipment by network
According to, avoid passing through device context using storage medium transmit data, improve data transfer efficiency, reduce data transmission cost.
Referring to FIG. 1, Fig. 1 is a kind of process of the data transmission method of zero-address equipment provided by the embodiment of the present application
Figure.
In the present embodiment, this method may include:
Default mark is added to data to be transmitted packet according to preset rules by S101;
This step mainly adds corresponding mark in data to be transmitted packet, that is, will be marked in advance according to preset rules
Knowledge is added in data to be transmitted packet.
Wherein, preset rules refer to the rule of the default mark of addition, that is, use what mode, in the packet assorted
Default mark is added in data to be transmitted packet by position.Default mark can directly be added in the packet header of data packet position
It sets, such as default port numbers is filled in the position of port numbers.
S102 is determined according to the network protocol of data to be transmitted packet and is sent rule, regular by data to be transmitted according to sending
Packet, which is sent to, has address device with what zero-address equipment was connect, works as so as to zero-address equipment and is obtained by network data filter element
When to comprising the default data packet identified, corresponding operation is executed to data packet.
On the basis of S101, this step, which is intended to for data to be transmitted packet being sent to, has address with what zero-address equipment was connect
Equipment.
Since Data Transport Protocol is different in network transmission, and to there is address device hair in different transport protocols
Send the mode of data to be transmitted packet also not identical.Therefore, the network protocol according to data to be transmitted packet is needed in this step, also
It is Data Transport Protocol, determines and send rule.Then it is sent further according to the transmission rule.Further, different network
The corresponding transmission rule of agreement, can refer to following embodiment, this will not be repeated here.
Further, the destination of data to be transmitted packet is to have address device in this step, is primarily due in a network
Generally only there is address device that can just receive data, and in order to send data to be transmitted packet, waits for this in this step
Transmission data packet has been sent to address device, also, it is to have address device with what zero-address equipment was connect that this, which has address device,.Cause
This, zero-address equipment can filter out the data packet of needs from the data packet being sent in address device.It is contemplated that
It is that execute the condition of screening be exactly the default mark added in S101.
Wherein, zero-address equipment and there is relationship between address device that can be illustrated in such a way that data are transmitted.
It is the equipment that can carry out in a network normal communication that this, which has address device, and this has the data that address device sends and receives
Bao Jun keeps the zero-address equipment that can get by network data filter element and has been transmitted to ground by the zero-address equipment
The data packet of location equipment.According to body, zero-address equipment can be attached by way of bridge joint with there is address device, no ground
Location equipment is also used as the routing of address device and has address device connection, and zero-address equipment can also be used as address and set
Standby hardware firewall and there is address device connection.As it can be seen that realizing in the present embodiment has between address device and zero-address equipment
The mode of connection, not uniquely, this will not be repeated here.
No matter zero-address equipment and have which kind of connection type is selected between address device, which can pass through
Network data filter element gets the data packet for being sent to address device, and then judges whether the data packet is to be sent to again
The data packet of zero-address equipment, realization are carried out data transmission by network.
To sum up, which is sent to by the present embodiment when sending data to be transmitted packet to zero-address equipment
There is address device with what zero-address equipment was connect, so as to pass through the zero-address to all data packets for thering is address device to send
Equipment.Also, default mark is added, in data to be transmitted packet so that zero-address equipment determines whether to cut by the default mark
Data packet, that is, zero-address equipment is taken to determine whether to receive the data packet by default mark.It is obtained when zero-address equipment
When data packet includes default mark, then corresponding operation is executed to the data packet, data packet is just also got by network, completed
The transmission process of data is realized and sends data to zero-address equipment by network, avoided passing through and be situated between in device context using storage
Matter transmits data, and improve data transfer efficiency reduces data transmission cost.
Below by way of two embodiments, how data to be transmitted packet is sent to address device in a upper embodiment
Method is illustrated.
One embodiment:
When network protocol be have connection protocol when, first according to have connection protocol to have address device send handshake information,
To establish connection with there is address device.Wherein, connection protocol is such as TCP (Transmission Control
Protocol transmission control protocol) network protocol.Such agreement needs to establish Data receiver before carrying out data transmission
Effective connection, can just carry out data transmission.In general, the mode that TCP establishes connection is that data receiver is held three times
Hand.It is to carry out three-way handshake with there is address device, and not shake hands with zero-address equipment in the present embodiment.
In addition, the mode for establishing connection is also different since what is specifically used has connection protocol different in the present embodiment.
Therefore, the mode that connection is established in the present embodiment can establish mode using any one connection that the prior art provides, herein
Without limitation.
Then when with there is address device to establish connection, to have address device send data to be transmitted packet.It is, connection
It establishes after completing to there is address device normally to send data to be transmitted packet, to make zero-address equipment get the data to be transmitted
Packet.
Another embodiment:
When network protocol be connectionless protocol when, to have address device send data to be transmitted packet.
As it can be seen that in the present embodiment namely when the network protocol is connectionless protocol, such as UDP (User Datagram
Protocol User Datagram Protocol), ICMP (Internet Control Message Protocol Internet Control Message Protocol)
When agreement, due to this type agreement before data transmission without establishing connection, can directly to there is address device to send should
Data to be transmitted packet.
Above embodiments are illustrated in technical solution of the data sending terminal to the application, are implemented below by way of one
Example, in data receiver i.e. one end of zero-address equipment, is illustrated the technical solution of the application.
Referring to FIG. 2, Fig. 2 is a kind of process of the data receiver method of zero-address equipment provided by the embodiment of the present application
Figure.
In the present embodiment, which may include:
S201, zero-address equipment obtain the data packet for being sent to address device by network data filter element;
This step is intended to obtain the data packet for being sent to address device by network data filter element.As it can be seen that sending
To the data packet for having address device can by zero-address equipment, so as to zero-address equipment judge the data packet receiving end whether
For the zero-address equipment.
Wherein, any one network data filter element that this step can be provided using the prior art, such as
Netfilter, NDIS, ipqueue, netfilter_queue etc..As it can be seen that the network data filtering used in the present embodiment is single
Member is not unique, can select suitable network data filter element according to actual demand, it is not limited here.
S202 judges whether data packet includes default mark according to the content of data packet;If so, executing S203;If it is not,
Then execute S204;
On the basis of S201, this step be intended to be judged according to the content in the data packet that gets the data packet whether be
It is sent to the data packet of zero-address equipment, that is, judges in the data packet whether to include default mark.
Optionally, this step may include:
Step 1 carries out port numbers parsing to the content of data packet, obtains port numbers;
Step 2 judges whether port numbers are equal with the port numbers of default mark.
As it can be seen that this optional method mainly pass through the port numbers for judging data packet, determine the data packet receiving end whether
For the zero-address equipment.Namely using port numbers as the mark of the default mark of storage, it is empty to avoid new extension in the packet
Between, reduce the difficulty of implementation.
S203 executes corresponding operation to data packet;
On the basis of S202, when this step is intended to determine that the recipient of the data packet is the zero-address equipment, obtain
Corresponding operation is executed to the data packet, and to the data packet.
S204 forwards data packet.
On the basis of S202, when this step is intended to determine that the recipient of the data packet is that this has address device, by the number
Address device has been forwarded to according to packet.
As it can be seen that the present embodiment is directly acquired by zero-address equipment to the data packet for having address device to send, to the data
Packet is judged that filtering out includes the default data packet identified, that is, gets the number for needing to be sent to zero-address equipment
According to packet, zero-address equipment, which is realized, gets data packet by network, avoids the data transmission method using physical connection, improves number
According to efficiency of transmission, data transmission cost is reduced.
A kind of data transmitting equipment provided by the embodiments of the present application is introduced below, a kind of data hair described below
Send equipment that can correspond to each other reference with a kind of above-described data transmission method of zero-address equipment.
Referring to FIG. 3, Fig. 3 is a kind of structural schematic diagram of data transmitting equipment provided by the embodiment of the present application.
In the present embodiment, which may include:
Flag bit adding module 110, for default mark to be added to data to be transmitted packet according to preset rules;
Packet sending module 120 sends rule for determining according to the network protocol of data to be transmitted packet, according to transmission
Data to be transmitted packet is sent to by rule has address device with what zero-address equipment was connect, works as so as to zero-address equipment and passes through network
When data filtering units get the data packet comprising default mark, corresponding operation is executed to data packet.
As it can be seen that data transmitting equipment provided herein, when sending data to be transmitted packet to zero-address equipment, by this
Data to be transmitted packet, which is sent to, has address device with what zero-address equipment was connect, so as to all numbers for having address device to send
Pass through the zero-address equipment according to Bao Jun.Also, default mark is added, in data to be transmitted packet so that zero-address equipment is by being somebody's turn to do
Default mark determines whether that data intercept packet, that is, zero-address equipment determine whether to receive the data packet by default mark.
When the data packet that zero-address equipment obtains includes default mark, then corresponding operation is executed to the data packet, also just pass through net
Network gets data packet, completes the transmission process of data, realizes and sends data to zero-address equipment by network, avoids passing through
Device context transmits data using storage medium, and improve data transfer efficiency reduces data transmission cost.
In some specific embodiments, packet sending module 120 is specifically used for when network protocol being to have connection protocol
When, according to have connection protocol to have address device send handshake information, to establish connection with there is address device;When with have address
When equipment establishes connection, to have address device send data to be transmitted packet.
In some specific embodiments, packet sending module 120 is specifically used for when network protocol being connectionless protocol
When, to have address device send data to be transmitted packet.
A kind of zero-address equipment provided by the embodiments of the present application is introduced below, a kind of zero-address described below is set
It is standby to correspond to each other reference with a kind of above-described data receiver method of zero-address equipment.
Referring to FIG. 4, Fig. 4 is a kind of structural schematic diagram of zero-address equipment provided by the embodiment of the present application.
In the present embodiment, which may include:
Data packet obtains module 210, has been sent to address by the acquisition of network data filter element for zero-address equipment
The data packet of equipment;
Flag bit judgment module 220 judges whether data packet includes default mark for the content according to data packet;
Data packet handing module 230, for executing corresponding operation to data packet when data packet includes default mark;
Data packet forward module 240, for when the data packet do not include the default mark when, by the data packet into
Row forwarding.
As it can be seen that zero-address equipment provided herein, directly acquired by zero-address equipment to there is address device transmission
Data packet, which is judged, filter out include default mark data packet, that is, get and need to send
To the data packet of zero-address equipment, zero-address equipment, which is realized, gets data packet by network, avoids the number using physical connection
According to transmission method, improve data transfer efficiency reduces data transmission cost.
In some specific embodiments, flag bit judgment module 220 is specifically used for carrying out port to the content of data packet
Number parsing, obtain port numbers;Judge whether port numbers are equal with the port numbers of default mark.
In some specific embodiments, further includes: data packet forward module, for not including default mark when data packet
When, forward data packet.
Computer equipment provided by the embodiments of the present application is introduced below, computer equipment described below and above
The data transmission method and data method of reseptance of description can correspond to each other reference.
Referring to FIG. 5, Fig. 5 is a kind of structural schematic diagram of computer equipment provided by the embodiment of the present application, the vehicle
Speed control apparatus may include:
Memory 11, for storing computer program;
Processor 12 can realize following steps when for executing the computer program of the above-mentioned storage of memory 11:
Default mark is added to data to be transmitted packet according to preset rules;Network protocol according to data to be transmitted packet is true
It is fixed to send rule, there is address device with what zero-address equipment was connect according to sending rule and being sent to data to be transmitted packet, so as to
Zero-address equipment executes correspondence to data packet when getting the data packet comprising default mark by network data filter element
Operation.
And/or following steps:
Zero-address equipment obtains the data packet for being sent to address device by network data filter element;According to data packet
Content judge whether data packet includes default mark;If so, executing corresponding operation to data packet.
In the present embodiment, processor 12 execute memory 11 in save computer subprogram when, can implement with
Lower step: when network protocol be have connection protocol when, according to have connection protocol to have address device send handshake information, so as to
There is address device to establish connection;When with there is address device to establish connection, to have address device send data to be transmitted packet.
In the present embodiment, processor 12 execute memory 11 in save computer subprogram when, can implement with
Lower step: when network protocol be connectionless protocol when, to have address device send data to be transmitted packet.
In the present embodiment, processor 12 execute memory 11 in save computer subprogram when, can implement with
Lower step: port numbers parsing is carried out to the content of data packet, obtains port numbers;Judge port numbers whether the port with default mark
It is number equal.
Further, the embodiment of the present application also discloses a kind of computer readable storage medium, for storing computer journey
Sequence, wherein can realize following steps when computer program is executed by processor:
Default mark is added to data to be transmitted packet according to preset rules;Network protocol according to data to be transmitted packet is true
It is fixed to send rule, there is address device with what zero-address equipment was connect according to sending rule and being sent to data to be transmitted packet, so as to
Zero-address equipment executes correspondence to data packet when getting the data packet comprising default mark by network data filter element
Operation.
And/or following steps:
Zero-address equipment obtains the data packet for being sent to address device by network data filter element;According to data packet
Content judge whether data packet includes default mark;If so, executing corresponding operation to data packet.
In some specific embodiments, the computer subprogram saved in computer readable storage medium is held by processor
When row, following steps can be implemented: when network protocol, which is, connection protocol, according to having connection protocol to there is address device
Handshake information is sent, to establish connection with there is address device;When with there is address device to establish connection, to there is address device hair
Send data to be transmitted packet.
In some specific embodiments, the computer subprogram saved in computer readable storage medium is held by processor
When row, following steps can be implemented: when network protocol be connectionless protocol when, to have address device send data to be transmitted
Packet.
In some specific embodiments, the computer subprogram saved in computer readable storage medium is held by processor
When row, following steps can be implemented: port numbers parsing being carried out to the content of data packet, obtains port numbers;Judge port numbers
It is whether equal with the port numbers of default mark.
The computer readable storage medium may include: USB flash disk, mobile hard disk, read-only memory (Read-Only
Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. is various to deposit
Store up the medium of program code.
Above method embodiment is please referred to for the specific introduction of computer readable storage medium provided by the present application, this Shen
It please this will not be repeated here.
Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realities
The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment
Speech, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part illustration
?.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond scope of the present application.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor
The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
A kind of data transmission method of zero-address equipment provided herein, data receiver method, data are sent out above
Equipment, zero-address equipment, computer equipment and computer readable storage medium is sent to be described in detail.It is used herein
The principle and implementation of this application are described for specific case, and the above embodiments are only used to help understand originally
The method and its core concept of application.It should be pointed out that for those skilled in the art, not departing from this Shen
Please under the premise of principle, can also to the application, some improvement and modification can also be carried out, these improvement and modification also fall into the application power
In the protection scope that benefit requires.
Claims (10)
1. a kind of data transmission method of zero-address equipment characterized by comprising
Default mark is added to data to be transmitted packet according to preset rules;
It is determined according to the network protocol of the data to be transmitted packet and sends rule, it is regular by the number to be transmitted according to the transmission
Being sent to according to packet has address device with what zero-address equipment was connect, so that the zero-address equipment is single when being filtered by network data
When member gets the data packet comprising the default mark, corresponding operation is executed to the data packet.
2. data transmission method according to claim 1, which is characterized in that assisted according to the network of the data to be transmitted packet
View, which determines, sends rule, and being sent to the data to be transmitted packet according to the transmission rule has ground with what zero-address equipment was connect
Location equipment, comprising:
When the network protocol, which is, connection protocol, there is connection protocol to there is address device transmission to shake hands and disappear to described according to described
Breath, to there is address device to establish connection with described;
When with it is described there is address device to establish connection when, Xiang Suoshu has address device to send the data to be transmitted packet.
3. data transmission method according to claim 1, which is characterized in that assisted according to the network of the data to be transmitted packet
View, which determines, sends rule, and being sent to the data to be transmitted packet according to the transmission rule has ground with what zero-address equipment was connect
Location equipment, comprising:
When the network protocol is connectionless protocol, Xiang Suoshu has address device to send the data to be transmitted packet.
4. a kind of data receiver method of zero-address equipment characterized by comprising
Zero-address equipment obtains the data packet for being sent to address device by network data filter element;
Judge whether the data packet includes default mark according to the content of the data packet;
If so, executing corresponding operation to the data packet.
5. data receiver method according to claim 4, which is characterized in that according to the judgement of the content of the data packet
Whether data packet includes default mark, comprising:
Port numbers parsing is carried out to the content of the data packet, obtains port numbers;
Judge whether the port numbers are equal with the port numbers of the default mark.
6. data receiver method according to claim 4, which is characterized in that further include:
If it is not, then forwarding the data packet.
7. a kind of data transmitting equipment characterized by comprising
Flag bit adding module, for default mark to be added to data to be transmitted packet according to preset rules;
Packet sending module sends rule for determining according to the network protocol of the data to be transmitted packet, according to the hair
Sending rule to be sent to the data to be transmitted packet has address device with what zero-address equipment was connect, so as to the zero-address equipment
When getting the data packet comprising the default mark by network data filter element, the data packet is executed corresponding
Operation.
8. a kind of zero-address equipment characterized by comprising
Data packet obtains module, obtains the number for being sent to address device by network data filter element for zero-address equipment
According to packet;
Flag bit judgment module, for judging whether the data packet includes default mark according to the content of the data packet;
Data packet handing module, for being executed to the data packet corresponding when the data packet includes the default mark
Operation;
Data packet forward module, for when the data packet does not include the default mark, the data packet to be forwarded.
9. a kind of computer equipment characterized by comprising
Memory, for storing computer program;
Processor realizes data transmission method as described in any one of claims 1 to 3 when for executing the computer program
The step of and/or the step of claim 4 to 6 described in any item data receiver methods.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program, the computer program realize data transmission method as described in any one of claims 1 to 3 when being executed by processor
The step of step and/or claim 4 to 6 described in any item data receiver methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910376166.6A CN110113337A (en) | 2019-05-07 | 2019-05-07 | A kind of data transmission method, correlation technique and the relevant apparatus of zero-address equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910376166.6A CN110113337A (en) | 2019-05-07 | 2019-05-07 | A kind of data transmission method, correlation technique and the relevant apparatus of zero-address equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110113337A true CN110113337A (en) | 2019-08-09 |
Family
ID=67488463
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910376166.6A Pending CN110113337A (en) | 2019-05-07 | 2019-05-07 | A kind of data transmission method, correlation technique and the relevant apparatus of zero-address equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110113337A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111131241A (en) * | 2019-12-23 | 2020-05-08 | 中煤科工集团重庆研究院有限公司 | Method for controlling data transmission efficiency of Ethernet and serial port under coal mine |
CN113300863A (en) * | 2020-02-24 | 2021-08-24 | 任娜娜 | Network equipment operation management method without address information and network equipment |
CN113872819A (en) * | 2020-06-30 | 2021-12-31 | 深圳Tcl数字技术有限公司 | Equipment testing method and computer equipment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101291343A (en) * | 2008-05-20 | 2008-10-22 | 北京锐安科技有限公司 | Remote controlling method and system based on transparent proxy equipment |
CN101355415A (en) * | 2007-07-26 | 2009-01-28 | 万能 | Method and system for implementing safety access public network of network terminal as well as special network access controller thereof |
CN103095702A (en) * | 2013-01-11 | 2013-05-08 | 大唐移动通信设备有限公司 | Request message reporting and processing method and device thereof |
CN104580544A (en) * | 2013-10-17 | 2015-04-29 | 中国电信股份有限公司 | Network access method and system based on wireless network double protocols |
CN107347085A (en) * | 2016-05-04 | 2017-11-14 | 中国移动通信集团广东有限公司 | A kind of information acquisition method and device |
CN108076051A (en) * | 2017-11-16 | 2018-05-25 | 北京润信恒达科技有限公司 | A kind of internet of things equipment means of defence and device |
CN109167777A (en) * | 2018-08-28 | 2019-01-08 | 西安工业大学 | A kind of cell phone intelligent terminal firewall device |
US20190068402A1 (en) * | 2017-08-28 | 2019-02-28 | Michael Emory Mazarick | System and Method for Providing Private Instances of Shared Resources using VxLAN |
-
2019
- 2019-05-07 CN CN201910376166.6A patent/CN110113337A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101355415A (en) * | 2007-07-26 | 2009-01-28 | 万能 | Method and system for implementing safety access public network of network terminal as well as special network access controller thereof |
CN101291343A (en) * | 2008-05-20 | 2008-10-22 | 北京锐安科技有限公司 | Remote controlling method and system based on transparent proxy equipment |
CN103095702A (en) * | 2013-01-11 | 2013-05-08 | 大唐移动通信设备有限公司 | Request message reporting and processing method and device thereof |
CN104580544A (en) * | 2013-10-17 | 2015-04-29 | 中国电信股份有限公司 | Network access method and system based on wireless network double protocols |
CN107347085A (en) * | 2016-05-04 | 2017-11-14 | 中国移动通信集团广东有限公司 | A kind of information acquisition method and device |
US20190068402A1 (en) * | 2017-08-28 | 2019-02-28 | Michael Emory Mazarick | System and Method for Providing Private Instances of Shared Resources using VxLAN |
CN108076051A (en) * | 2017-11-16 | 2018-05-25 | 北京润信恒达科技有限公司 | A kind of internet of things equipment means of defence and device |
CN109167777A (en) * | 2018-08-28 | 2019-01-08 | 西安工业大学 | A kind of cell phone intelligent terminal firewall device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111131241A (en) * | 2019-12-23 | 2020-05-08 | 中煤科工集团重庆研究院有限公司 | Method for controlling data transmission efficiency of Ethernet and serial port under coal mine |
CN113300863A (en) * | 2020-02-24 | 2021-08-24 | 任娜娜 | Network equipment operation management method without address information and network equipment |
CN113300863B (en) * | 2020-02-24 | 2023-06-30 | 北京北斗弘鹏科技有限公司 | Network equipment operation management method without address information and network equipment |
CN113872819A (en) * | 2020-06-30 | 2021-12-31 | 深圳Tcl数字技术有限公司 | Equipment testing method and computer equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10432522B2 (en) | Network packet flow controller with extended session management | |
US8121135B2 (en) | Discovering path maximum transmission unit size | |
Shacham et al. | IP payload compression protocol (IPComp) | |
CN110113337A (en) | A kind of data transmission method, correlation technique and the relevant apparatus of zero-address equipment | |
CA2666425C (en) | Path mtu discovery in network system | |
CN103647759B (en) | The machinery of consultation of MSS a kind of and device | |
WO2016030724A1 (en) | Methods and systems for transmitting packets through an aggregated connection | |
Barré | Implementation and assessment of modern host-based multipath solutions. | |
US9531508B2 (en) | Methods and systems for estimating missing data | |
CN102340451B (en) | Trace route testing method, system, device and equipment | |
CN106713523B (en) | Network address conversion method based on SCTP | |
WO2011144114A2 (en) | Method, device and system for detecting path information | |
CN108989480A (en) | A method of client address is obtained in server | |
CN102315918B (en) | Method and device for intercommunicating TCP (Transmission Control Protocol) connection with SCTP (Stream Control Transmission Protocol) connection | |
EP3099015B1 (en) | Selecting and monitoring a plurality of services key performance indicators using twamp | |
CN105812272B (en) | Processing method, device and the system of business chain | |
JP2016174268A (en) | Network system, network system control method, communication device and program | |
CN114745456A (en) | Message processing method and device and network address translation equipment | |
CN103368841B (en) | Message forwarding method and device | |
Bonaventure | Decoupling TCP from IP with multipath TCP | |
CN103947163A (en) | Method, apparatus and system for implementing tunnel processing | |
CN111865884A (en) | Message processing method, device and equipment | |
KR101469244B1 (en) | Apparatus and method for eliminating unnecessary packets in received data | |
CN105376341B (en) | The method of the more IP configurations of automatic tracking device | |
CN110650079B (en) | Information transmission method, device, terminal, system and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190809 |