CN106302266B - Information transferring method, information acquisition method, sending ending equipment and receiving device - Google Patents
Information transferring method, information acquisition method, sending ending equipment and receiving device Download PDFInfo
- Publication number
- CN106302266B CN106302266B CN201510280452.4A CN201510280452A CN106302266B CN 106302266 B CN106302266 B CN 106302266B CN 201510280452 A CN201510280452 A CN 201510280452A CN 106302266 B CN106302266 B CN 106302266B
- Authority
- CN
- China
- Prior art keywords
- value
- preset field
- packet
- bit
- head
- 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.)
- Active
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Communication Control (AREA)
Abstract
The embodiment of the present invention provides a kind of information transferring method, information acquisition method, sending ending equipment and receiving device.Information transferring method of the present invention includes: the preset field that network control message to be transmitted is placed in the head of multiple Internet protocol IP packets by sending ending equipment;The sending ending equipment sends the multiple IP packet to receiving device, so that the receiving device recovers the network control message according to the multiple IP packet.The data transmission utilization ratio of network bandwidth can be improved in the embodiment of the present invention.
Description
Technical field
The present embodiments relate to network technology more particularly to a kind of information transferring method, information acquisition method, transmitting terminals
Equipment and receiving device.
Background technique
In internet area, transmission control protocol (Transfer Control Protocol, abbreviation TCP)/internet protocol
(Internet Protocol, abbreviation IP) is discussed as the standard agreement communicated in internet, can be carried on protocol massages all
Network flow, such as user data and network control message.
Sending ending equipment can carry user data by message, and be transmitted to receiving device.For in network flow
Network control message, sending ending equipment can be by sending and the mutually independent message transmission of the message of carrying user data.
However, sending network control message by transmitting independent message, that is to say, that the network control message then needs to occupy
Certain network bandwidth, so that the data transmission utilization ratio of network bandwidth is lower.
Summary of the invention
The embodiment of the present invention provides a kind of information transferring method, information acquisition method, sending ending equipment and receiving device,
Data transmission utilization ratio to solve the problems, such as network bandwidth is lower.
In a first aspect, the embodiment of the present invention provides a kind of information transferring method, comprising:
Network control message to be transmitted is placed on pre- in the head of multiple Internet protocol IP packets by sending ending equipment
If field;
The sending ending equipment sends the multiple IP packet to receiving device, so that the receiving device is according to institute
It states multiple IP packets and recovers the network control message.
According in a first aspect, the sending ending equipment will be to be passed in the first mode in the cards of first aspect
Defeated network control message is placed on the preset field in the head of multiple IP packets, comprising:
The sending ending equipment is carried out according to each bit of the preset number coding mode to the network control message
Coding, obtains the corresponding coded pulse of each bit of the network control message;
Ratio represented by the corresponding coded pulse of each bit of the sending ending equipment by the network control message
Paricular value is placed on the preset field in the head of the multiple IP packet.
According to the first mode in the cards of first aspect, in second of mode in the cards, the transmission
Bit value represented by the corresponding coded pulse of each bit of the end equipment by the network control message is placed on the multiple
The preset field in the head of IP packet, comprising:
The sending ending equipment is according to represented by the corresponding coded pulse of each bit of the network control message
The corresponding relationship of bit value and bit value and predetermined word segment value determines the predetermined word in the head of the multiple IP packet
The value of section, and be configured.
According to second of mode in the cards of first aspect, in the third mode in the cards,
The corresponding relationship of the bit value and predetermined word segment value is as the sending ending equipment according to corresponding to synchronization signal
The value of the preset field determines;
If the preset field for survival time ttl field or mark id field;The synchronization signal is corresponding described pre-
If the value of field is greater than the minimum value of the preset field, and is less than the maximum value of the preset field.
According to the third mode in the cards of first aspect, in the 4th kind of mode in the cards, the transmission
Before end equipment sends the multiple IP packet to receiving device, the method also includes:
The sending ending equipment puts the synchronization signal according to the value of the corresponding preset field of the synchronization signal
The preset field in the head of an IP packet, and the IP packet including the synchronization signal is sent to the receiving end
Equipment.
Second aspect, the embodiment of the present invention also provide a kind of information acquisition method, comprising:
Receiving device receives multiple IP packets;
The receiving device determines network control message according to the preset field in the head of the multiple IP packet.
According to second aspect, in the first mode in the cards of second aspect, the receiving device is according to institute
It states the preset field in the head of multiple IP packets and determines that network control message includes:
The value and the predetermined word of receiving device preset field according to the head of the multiple IP packet
The corresponding relationship of segment value and bit value determines coded pulse included by preset field described in the head of the multiple IP packet
The bit value of expression;
The receiving device is decoded the coded pulse according to preset number decoding process, determines the net
Each bit of network control information.
According to the first mode in the cards of second aspect, in second of mode in the cards, the reception
Pair of the value of end equipment preset field according to the head of the multiple IP packet and the predetermined word segment value and bit value
Should be related to, determine the corresponding bit value of coded pulse included by preset field described in the head of the multiple IP packet it
Before, the method also includes:
The receiving device determines the corresponding relationship of the predetermined word segment value and bit value.
According to second of mode in the cards of second aspect, in the third mode in the cards, the reception
End equipment determines that the corresponding relationship of the predetermined word segment value and bit value includes:
The receiving device determines the value of the corresponding preset field of synchronization signal;
The receiving device determines the preset field according to the value of the corresponding preset field of the synchronization signal
The corresponding relationship of value and bit value;
If time ttl field or mark id field, the synchronization signal are corresponding described pre- for survival for the preset field
If the value of field is greater than the minimum value of the preset field, and is less than the maximum value of the preset field.
According to the third mode in the cards of second aspect, in the third mode in the cards, the reception
End equipment determines that the value of the corresponding preset field of synchronization signal includes:
The receiving device receives the IP packet including the synchronization signal;
The value of the preset field in the head of IP packet of the receiving device according to including synchronization signal
Determine the value of the corresponding preset field of the synchronization signal.
The third aspect, the embodiment of the present invention also provide a kind of sending ending equipment, comprising:
Placement module, for network control message to be transmitted to be placed in the head of multiple Internet protocol IP packets
Preset field;
Sending module, for sending the multiple IP packet to receiving device, so that the receiving device is according to institute
It states multiple IP packets and recovers the network control message.
According to the third aspect, in the first mode in the cards of the third aspect, the sending ending equipment further include:
Module is obtained, for compiling according to each bit of the preset number coding mode to the network control message
Code, obtains the corresponding coded pulse of each bit of the network control message;
The placement module is also used to represented by the corresponding coded pulse of each bit by the network control message
Bit value be placed on the preset field in the head of the multiple IP packet.
According to the first mode in the cards of the third aspect, in second of mode in the cards,
The placement module is also used to the corresponding coded pulse institute table of each bit according to the network control message
The corresponding relationship of the bit value and bit value and predetermined word segment value that show, determines described pre- in the head of the multiple IP packet
If the value of field, and be configured.
According to second of mode in the cards of the third aspect, in the third mode in the cards,
The corresponding relationship of the bit value and predetermined word segment value is as the sending ending equipment according to corresponding to synchronization signal
The value of the preset field determines;
If the preset field for survival time ttl field or mark id field;The synchronization signal is corresponding described pre-
If the value of field is greater than the minimum value of the preset field, and is less than the maximum value of the preset field.
According to the third mode in the cards of the third aspect, in the 4th kind of mode in the cards,
The placement module, be also used to the sending module send the multiple IP packet to the receiving device it
Before, according to the value of the corresponding preset field of the synchronization signal, the synchronization signal is placed on to the head of an IP packet
In the preset field;
The sending module is also used to send the IP packet including the synchronization signal to the receiving device.
Fourth aspect, the embodiment of the present invention provide a kind of receiving device, comprising:
Receiving module, for receiving multiple IP packets;
Determining module determines network control message for the preset field in the head according to the multiple IP packet.
According to fourth aspect, in the first mode in the cards of fourth aspect, the determining module is also used to root
The corresponding relationship of the value of preset field described in head according to the multiple IP packet and the predetermined word segment value and bit value,
The bit value that coded pulse included by preset field described in the head of the multiple IP packet indicates is determined, according to present count
Word decoding process is decoded the coded pulse, determines each bit of the network control message.
According to the first mode in the cards of fourth aspect, in second of mode in the cards,
The determining module is also used to value and institute in the preset field according to the head of the multiple IP packet
The corresponding relationship for stating predetermined word segment value and bit value determines included by preset field described in the head of the multiple IP packet
Before the corresponding bit value of coded pulse, the corresponding relationship of the predetermined word segment value and bit value is determined.
According to second of mode in the cards of fourth aspect, in the third mode in the cards, the determination
Module is also used to determine the value of the corresponding preset field of synchronization signal, corresponding described default according to the synchronization signal
The value of field determines the corresponding relationship of the predetermined word segment value and bit value;
If time ttl field or mark id field, the synchronization signal are corresponding described pre- for survival for the preset field
If the value of field is greater than the minimum value of the preset field, and is less than the maximum value of the preset field.
According to the third mode in the cards of fourth aspect, in the 4th kind of mode in the cards, the reception
Module is also used to receive the IP packet including the synchronization signal;
The determining module, the preset field being also used in the head according to the IP packet including synchronization signal
Value determine the value of the corresponding preset field of the synchronization signal.
Information transferring method of the embodiment of the present invention, information acquisition method sending ending equipment and receiving device, pass through transmission
Network control message to be transmitted is placed on the preset field in the head of multiple IP packets by end equipment, and by multiple IP packet
It is sent, so that the network control message be sent out by sending multiple IP packet in the IP packet that data flow uses
It send, so that the transmission of network control message is not take up extra bandwidth, improves the data transmission utilization ratio of network bandwidth.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to do one simply to introduce, it should be apparent that, the accompanying drawings in the following description is this hair
Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow chart of information transferring method provided in an embodiment of the present invention;
Fig. 2 be the character A corresponding binary code provided in an embodiment of the present invention using nrz encoding mode bit with
The corresponding relationship of coded pulse;
Fig. 3 is the word provided in an embodiment of the present invention using Manchester's code mode and Differential Manchester Encoding mode
Accord with the bit of the corresponding binary code of A and the corresponding relationship of coded pulse;
Fig. 4 is a kind of flow chart of information acquisition method provided in an embodiment of the present invention;
Fig. 5 is information exchange schematic diagram provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of sending ending equipment provided in an embodiment of the present invention
Fig. 7 is a kind of structural schematic diagram of receiving device provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram of another sending ending equipment provided in an embodiment of the present invention;
Fig. 9 is the structural schematic diagram of another receiving device provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Various embodiments of the present invention suitable for the communications field between two network equipments transmission network control information, with right
The scene that the operating index of network or the operating status of the network equipment are analyzed.The embodiment of the invention provides a kind of information biographies
Transmission method and information acquisition method, sending ending equipment is in the hidden channel for sending data flow (multiple IP packets) to receiving device
Middle synchronous transmission network controls information.In this way, sending ending equipment specially sends the network control message without independent message, and
It is that network control message is sent to receiving device while sending data flow (multiple IP packets) to receiving device.
Specifically, which can be executed by sending ending equipment, which can be executed by receiving device.The hair
Network control message after coding is placed on the head of multiple IP packets by encoding to network control message by sending end equipment
In reservation or spare field in, be sent to receiving device.Receiving device passes through while receiving multiple IP packet
The reservation or spare field of multiple IP packet are decoded, the network control message is obtained.Multiple IP are reported in the present invention
The hidden channel of reservation or spare field as data flow in the head of text, controls information for synchronous transmission network.Citing
For, if transmission network is needed to control information in the communication system between two network equipments, such as character " A ", then sending ending equipment
Receiving device is sent to by the spare field in the head of multiple IP packets after " A " being encoded.It is corresponding, receiving end
Equipment extracts progress after the information in the spare field in the head of multiple IP packet after receiving multiple IP packet
Decoding, can get " A ".
Fig. 1 is a kind of flow chart of information transferring method provided in an embodiment of the present invention.This method is held by sending ending equipment
Row, the sending ending equipment and corresponding receiving device can be router, interchanger etc..As shown in Figure 1, the information transmission
Method includes the following steps:
Network control message to be transmitted is placed on the predetermined word in the head of multiple IP packets by S101, sending ending equipment
Section.
Specifically, which may include at least one character, for each word in the network control message
Symbol, which can be according to United States Information Exchange Standard Code (American Standard Code for
Information Interchange, abbreviation ASCII) table of comparisons determines the corresponding binary code of each character, and by the net
The corresponding binary code of character in network control information is placed on the preset field in the head of multiple IP packet.Specifically, should
Sending ending equipment can use the corresponding binary code of the character, set to the preset field in the head of multiple IP packet
It sets, thus the preset field network control message being placed in the head of multiple IP packet.The sending ending equipment may be used also
To be to be encoded according to preset digital encoding scheme to the corresponding binary code of the character, according to the bit pair after the coding
The preset field in the head of multiple IP packet is configured, so that the network control message is placed on multiple IP packet
Head in the preset field.
The IP packet can be for example internet protocol version 4 (Internet Protocol version 4, abbreviation
IPv4) message, or internet protocol version 6 (Internet Protocol version 6, abbreviation Ipv6) message.
The preset field can be the spare field or on-fixed field in the head of the IP packet.It is non-in the head of the IP packet
Fixed field can in the head of the IP packet not with the field of the carried data variation of the data portion of the IP packet.It should
Preset field can be the head of mark (Identification, abbreviation ID) field or the IP packet in the head of the IP packet
Life span (Time to Live, abbreviation TTL) field in portion.
S102, the sending ending equipment send multiple IP packet to receiving device, so that the receiving device is according to this
Multiple IP packets recover the network control message.
A part of IP packet in data flow that multiple IP packet can send for the sending ending equipment, thus it is multiple
The preset field in the head of IP packet includes multiple IP packet payload (payload) outside the network control message
In can also include data.The sending ending equipment is really by the preset field in the head of multiple IP packet to reception
End equipment sends the network control message.Therefore, it transmits the network control message and independent message is not used, and have not been changed original
Furthermore the length of beginning message does not also occupy network bandwidth additionally, improves the utilization rate of communication efficiency and Internet resources (bandwidth).
Information transferring method provided in an embodiment of the present invention is put network control message to be transmitted by sending ending equipment
Preset field in the head of multiple IP packets, and multiple IP packet is sent, thus by the network control message
It is sent to receiving device by multiple IP packet, so that the transmission of network control message is not take up extra bandwidth, is improved
The utilization rate of network bandwidth.
Simultaneously as the sending ending equipment is by the network control message in the information transferring method of the embodiment of the present invention
The preset field being placed in the head of multiple IP packet, rather than the network control message is placed on to the head of an IP packet
In a certain field in portion, the size for the network control message that may make the sending ending equipment to send is not only restricted to IP packet
The size of the preset field, so that information transferring method through the embodiment of the present invention can be in more application scenarios for passing
Defeated network control message.
Optionally, network control message to be transmitted is placed on multiple IP by the sending ending equipment in the S101 of above-described embodiment
Preset field in the head of message may include:
The sending ending equipment is encoded according to each bit of the preset number coding mode to the network control message,
Obtain the corresponding coded pulse of each bit of the network control message;
Bit value represented by the corresponding coded pulse of each bit of the sending ending equipment by the network control message
The preset field being placed in the head of multiple IP packet.
Specifically, each bit of the network control message can be believes according to the network-control in the ASCII table of comparisons
The bit of the corresponding binary code of each character in breath.The corresponding binary code of each character in the network control message can wrap
8 bits are included, which can be using the digital encoding scheme respectively to each word in the network control message
8 bits for according with corresponding binary code are encoded respectively, and each bit for obtaining the network control message is corresponding
Coded pulse.
The corresponding coded pulse of each bit of the network control message includes at least one pulse;Specifically, each
Included pulse number can be determined according to digital encoding scheme in the corresponding coded pulse of bit.Wherein, digital coding
Mode for example can be zero code (Return to Zero code, abbreviation RZ) coding mode or nonreturn to zero code (Not Return
To Zero code, abbreviation NRZ) coding mode.RZ coding mode can be Manchester's code mode or Difference Manchester
Coding mode.Optionally, if the digital encoding scheme is nrz encoding mode, each bit of the network control message is corresponding
Coded pulse in only include a pulse.Optionally, if the digital encoding scheme is that Manchester's code mode or difference are graceful
Che Site coding mode includes two pulses in the corresponding coded pulse of each bit of the network control message.
The sending ending equipment can be a pulse in the coded pulse of each bit of the network control message
Represented bit value is placed on the preset field in the head of an IP packet in multiple IP packet, thus by the network
Control that bit value represented by the corresponding coded pulse of each bit of information is placed in the head of multiple IP packets this is pre-
If field.Wherein, which is placed on the report of an IP in multiple IP packet for bit value represented by a pulse
The preset field in the head of text, can be the bit value according to represented by a pulse to one in multiple IP packet
The preset field in the head of a IP packet is configured.For example, if each bit pair of the network control message
The coded pulse answered includes a pulse, then the sending ending equipment can be each bit of the network control message is corresponding
Coded pulse represented by bit value be placed on the preset field in the head of an IP packet in multiple IP packet.If
The corresponding coded pulse of each bit of the network control message includes two pulses, which can be the net
Bit value represented by the corresponding coded pulse of each bit of network control information is placed on two IP in multiple IP packet
The preset field in the head of message.
For example, if a character of the network control message of the transmission is A, the binary code of character A is
01000001.Fig. 2 is the bit of the character A corresponding binary code provided in an embodiment of the present invention using nrz encoding mode
With the corresponding relationship of coded pulse.According to nrz encoding mode, in the binary code of character A, first from left to right compares
Special position 0 carries out coding and obtains coded pulse to be negative pulse, and second bit 1 carries out coding and obtain coded pulse to be positive pulse,
It is negative pulse that third to the 7th bit 0, which obtains coded pulse, carries out coding acquisition coded pulse to the 8th bit 1 and is
Positive pulse.Wherein, which can indicate bit value 0, the denotable bit value 1 of the positive pulse.As shown in Figure 2, clock signal
A cycle can transmit a bit of the corresponding binary code of a character.If can be seen that the digital coding side
Formula is nrz encoding mode, should since the corresponding binary code of a character of the network control message may include 8 bits
The corresponding coded pulse of each bit of network control message includes a pulse, and bit value represented by each pulse need to be put
Preset field in the head of an IP packet, then for character sending ending equipment of the network control message
The preset field in the head of 8 IP packets is then needed to place.
For example, if a character of the network control message of the transmission is A, the binary code of character A is
01000001.Fig. 3 is provided in an embodiment of the present invention using Manchester's code mode and Differential Manchester Encoding mode
The bit of the corresponding binary code of character A and the corresponding relationship of coded pulse.According to Manchester's code mode, to character
In the binary code of A, it successively include coded pulse is negative pulse and just that first bit 0 from left to right, which carries out coding to obtain,
The jump from low to high of pulse, second bit 1 carry out coding to obtain successively being positive pulse and negative arteries and veins including coded pulse
The jump from high to low of punching, it successively includes that coded pulse is negative arteries and veins that third, which is encoded to the 7th bit 0 and to be obtained,
The jump from low to high of punching and positive pulse carries out coding to obtain successively including coded pulse being positive pulse to the 8th bit 1
With the jump from high to low of negative pulse.Wherein, which can indicate bit value 0, the denotable bit value 1 of the positive pulse.
From the figure 3, it may be seen that a cycle of clock signal can transmit a bit of the corresponding binary code of a character.According to difference
Divide Manchester's code mode, in the binary code of character A, first bit 0 from left to right encode
Begin jump successively includes the coded pulse of negative pulse and positive pulse, and second bit 1 carries out coding and obtain starting without jump
Successively include positive pulse and negative pulse coded pulse, third to the 7th bit 0, which is encoded, to be obtained starting and jumps
What is become successively includes the coded pulse of the coded pulse of positive pulse and negative pulse, carries out coding to the 8th bit 1 and is originated
No jump successively include negative pulse and positive pulse coded pulse.Wherein, which can indicate bit value 0, the positive pulse
Denotable bit value 1.As can be seen that the corresponding binary code of a character due to the network control message may include 8
Bit, if the digital encoding scheme is Manchester's code mode or Differential Manchester Encoding mode, network-control letter
The corresponding coded pulse of each bit of breath may include two pulses, and bit value represented by each pulse need to be placed on an IP report
Preset field in the head of text, then character sending ending equipment for the network control message then needs 16
The preset field in the head of IP packet is placed.
It should be noted that include thing case where other characters for the network control message, the sending ending equipment is to this
The process that other characters are encoded is similar with the above-mentioned process encoded to character A, and details are not described herein.
Information transferring method provided in an embodiment of the present invention, by according to digital encoding scheme to the network control message
Each bit is encoded, and obtains the corresponding coded pulse of each bit of the network control message, and by the network control
Bit value represented by the corresponding coded pulse of each bit of information processed be placed in the head of multiple IP packet this is pre-
If field, it is ensured that the transmission security of the network control message.
Optionally, in information transferring method provided by the above embodiment the sending ending equipment by the every of the network control message
The preset field that bit value represented by the corresponding coded pulse of a bit is placed in the head of multiple IP packet can wrap
It includes:
Sending ending equipment bit according to represented by the corresponding coded pulse of each bit of the network control message
The corresponding relationship of the value of value and bit value and preset field, determines the value of the preset field in the head of multiple IP packet,
And it is configured.
Specifically, in the corresponding relationship of the value of the bit value and preset field, the corresponding predetermined word of different bit values
The value of section can be different.The sending ending equipment determines the value of the preset field in the head of multiple IP packet, can be logical
Cross the value of the corresponding preset field of bit value represented by the corresponding coded pulse of each bit of the network control message
It determines.
Optionally, the bit value is corresponding according to synchronization signal by the sending ending equipment with the corresponding relationship of predetermined word segment value
The value of the preset field determines.
The value of the corresponding preset field of the synchronization signal, is different from, the value of the corresponding preset field of the bit value.
Specifically, which can be the value model that the preset field is determined according to the bit number of the preset field
It encloses, and any value except the maximum value and minimum value in the value range of the preset field is determined as the synchronization signal and is corresponded to
The preset field value.It should be noted that the value of the corresponding preset field of the synchronization signal can be the preset field
Value range median, can also be the predetermined word segment value range non-median.
The sending ending equipment can be the value according to the corresponding preset field of the synchronization signal, by taking for the preset field
Value range is divided into two parts, which can respectively correspond different bit values, and will be in the two parts of the preset field
The corresponding relationship of the value of each section and the different bit value is determined as the corresponding relationship of the value of the bit value and preset field.
Optionally, if the preset field is ttl field or id field, the value of the corresponding preset field of the synchronization signal is big
In the minimum value of the preset field, and it is less than the maximum value of the preset field.
For example, if the preset field is ttl field, then the preset field includes 8 bits, then this is default
The value range of field is 0x00~0xFF, and wherein the minimum value of the preset field can be 0x00, the maximum of the preset field
Value can be 0xFF.The value of the corresponding preset field of the synchronization signal can be for greater than 0x00 and less than any value of 0xFF.
Further, the value of the corresponding preset field of the synchronization signal can be the median of 0x00~0xFF, 0x80, then this is pre-
If value 0x00~0x7F of field can corresponding bit value 0,0x81~0xFF can corresponding bit value 1;Can certainly 0x00~
0x7F corresponding bit value 1,0x80~0xFF corresponding bit value 0.The sending ending equipment can be pre- with this by bit 0 and bit value 1
If the corresponding relationship of the value of field, it is determined as the corresponding relationship of the bit value and the value of the preset field.It should be noted that than
The value of paricular value 0 and the corresponding preset field of bit value 1 can also be other assignment, and the synchronization signal is corresponding, and this is pre-
If the value of field can also be the non-median of 0x00~0xFF, such as 0xEF or other values, then the minimum value of the preset field with should
The value of value and the corresponding preset field of the synchronization signal between the value of the corresponding preset field of synchronization signal with should
Value between the maximum value of preset field can be used for respectively corresponding bit value 0 and 1, and details are not described herein.
If the preset field is id field, then the bit of the preset field 16, then the value of the preset field
Range is 0x0000~0xFFFF, wherein the maximum value of the preset field can be 0x0000, and the minimum value of the preset field can
Think 0xFFFF.The value of the corresponding preset field of the synchronization signal is greater than the minimum value 0x0000 of the preset field, and is less than
The maximum value 0xFFFF of the preset field, then the value of the corresponding preset field of the synchronization signal can for greater than 0x0000 and
Any value less than 0xFFFF.The value of the corresponding preset field of the synchronization signal can be the centre of 0x0000~0xFFFF
Value, then the value of the corresponding preset field of the synchronization signal is 0x8000.If the 0x8000 can be corresponding for the synchronization signal
The value of the preset field, then 0x0000~0x7FFF can corresponding bit value 0,0x8001~0xFFFF can corresponding bit value 1, because
And the corresponding relationship of the bit 0 and bit value 1 and the value of the preset field can be also determined as the ratio by the sending ending equipment
The corresponding relationship of the value of paricular value and the preset field.It should be noted that bit value 0 and corresponding this of bit value 1 are preset
The value of field can also be other assignment, as 0x0000~0x7FFF can corresponding bit value 1,0x8001~0xFFFF can correspond to
Bit value 0.The value of the corresponding preset field of the synchronization signal can also be the non-median of 0x0000~0xFFFF, such as 0xEFFF
Or other values, details are not described herein.
Optionally, it before sending ending equipment sends multiple IP packet to receiving device in above-mentioned S102, can also wrap
It includes:
The synchronization signal is placed on an IP according to the value of the corresponding preset field of the synchronization signal by the sending ending equipment
The preset field in the head of message, and the IP packet including the synchronization signal is sent to the receiving device.
Optionally, which can be the value according to the corresponding preset field of the synchronization signal, to this
The preset field in the head of IP packet is configured, thus being placed on the synchronization signal in the head of an IP packet
The preset field.
For the inchoation equipment equipment before sending multiple IP packet including the network control message, sending includes that this is same
The IP packet for walking signal, may make receiving device after the synchronization signal received, one IP packet of every reception can be true
One bit of the fixed network control message, the i.e. network control message a bit information, thus, the reception can be improved
Demodulation rate of the end equipment to the network control message.
Optionally, network control message to be transmitted is placed on the heads of multiple IP packets by sending ending equipment in above-mentioned S101
In preset field before, this method further include:
For the sending ending equipment according to preset traffic flow information, this of the selection carrying traffic flow information corresponding data stream is more
A IP packet;The traffic flow information includes: data flow five-tuple information or data stream triplet information.
That is, multiple IP packet in above-described embodiment including the network control message is to send data flow to use
IP packet, the data flow of the transmission can be the corresponding data flow of the traffic flow information.
Specifically, data flow five-tuple information can include: the corresponding source IP address of data flow, purpose IP address, source
Mouth, destination port and protocol type.If the traffic flow information is data flow five-tuple information, which can be basis
The data flow five-tuple information, will carry the source IP address, the purpose IP address, the source port, the destination port and the agreement
Multiple IP packet of the corresponding data flow of five kinds of property information of type.The occurrence of each information can in the data flow five-tuple information
To be preset.
The data flow triplet information can include: the corresponding source IP address of data flow, purpose IP address and protocol type.If
The traffic flow information is data flow triplet information, which can be according to the data flow triplet information, will hold
Carry multiple IP packet of the source IP address, the purpose IP address and the corresponding data flow of three kinds of property information of the protocol type.It should
The occurrence of each information can be preset in data flow triplet information.
Alternatively, network control message to be transmitted is placed on the heads of multiple IP packets by sending ending equipment in above-mentioned S101
Before preset field in portion, this method further include:
The sending ending equipment selects multiple IP packet of transmission interface sending according to preset transmission interface.
Optionally, in the method for any of the above-described embodiment, which can be congestion of data flow information;It should
Congestion of data flow information includes: data stream property and/or packet loss response.
Specifically, the data stream property can include: send the corresponding IP packet number of the data flow, the data flow size such as
Bit number or byte number, the data flow the information such as priority in it is any.If in the congestion of data flow information including the data flow
Precedence information, the sending ending equipment by the congestion of data flow information is placed in the head of multiple IP packet this is pre-
If in field, and being sent to the receiving device, it may make the receiving device according to the number in the congestion of data flow information
The data flow is handled according to the precedence information of stream.For example, if the priority of the data flow is higher, which is set
For after the data flow for getting sending ending equipment transmission, preferentially the data flow can be handled.The priority is higher
Data flow can in real time apply corresponding data flow, such as audio data stream.
If including the size of the data flow in the congestion of data flow information, which passes through to the congestion of data flow
Information is placed in the preset field in the head of multiple IP packet, and is sent to the receiving device, may make the reception
End equipment is flexibly handled the data flow according to the size of the data flow in the congestion of data flow information.For example,
If the size of the data flow is greater than preset threshold, that is to say, that the flow between the sending ending equipment and the receiving device is larger,
The receiving device can flexibly be handled according to the data flow, such as abandon a part of the data flow in advance.
Optionally, which may also include following at least one: the temperature of the sending ending equipment, is somebody's turn to do at humidity
The processor occupancy and Interface status of sending ending equipment.
Specifically, which, which can be, is sent to the receiving end for the monitoring of tools information of sending ending equipment and sets
It is standby, it may make receiving device that can be divided according to the monitoring of tools information received the operating status of the sending ending equipment
Analysis.The sending ending equipment can be the network equipments such as couple in router or interchanger.The receiving device can be convergence routing
Device.If the monitoring of tools information for the sending ending equipment that the receiving device receives, also need for those information to be sent to management clothes
Device be engaged in be inquired or be analyzed by operating status of the management server to the sending ending equipment.
The network control message is placed on IP packet by the way that offer is a variety of by information transferring method provided in an embodiment of the present invention
Head in preset field implementation, it is ensured that be transmitted to the accurate of the network control message of the receiving device
Property.Meanwhile in information transferring method provided in an embodiment of the present invention, by providing a variety of different network control messages, it can make
It obtains the information transferring method to be adapted in different application scenarios, practicability is more preferably.
The embodiment of the present invention also provides a kind of information acquisition method.Fig. 4 is that a kind of information provided in an embodiment of the present invention obtains
The flow chart of method is taken, this method is executed by receiving device.As shown in figure 4, the information acquisition method can include:
S401, receiving device receive multiple IP packets.
S402, the receiving device determine network control message according to the preset field in the head of multiple IP packet.
Optionally, this method in above-mentioned S402 the receiving device according to the predetermined word in the head of multiple IP packet
Section determines network control message can include:
The receiving device is according to the value of the preset field in the head of multiple IP packet, the predetermined word segment value and bit
The corresponding relationship of value determines the bit value that coded pulse included by the preset field indicates in the head of multiple IP packet;
The coded pulse includes at least one pulse;
The receiving device is decoded the coded pulse according to preset number decoding process, determines the network-control
Each bit of information.
Wherein, the preset digital decoding mode of the receiving device can be, the preset digital coding of the sending ending equipment
The corresponding decoding process of mode.The digital decoding mode can be sending ending equipment transmission, be also possible to be pre-configured with simultaneously
It is stored in the receiving device.
If the digital decoding mode is NRZ decoding process;The coded pulse includes a pulse.
If the digital decoding mode is manchester decoder mode or Difference Manchester decoding process;The coded pulse packet
Include two pulses.
Optionally, this method preset field in head of the above-mentioned receiving device according to multiple IP packet
The corresponding relationship of value and the predetermined word segment value and bit value, determines in the head of multiple IP packet included by the preset field
The corresponding bit value of coded pulse before, this method further include:
The receiving device determines the corresponding relationship of the predetermined word segment value and bit value.
Optionally, which determines the corresponding relationship of the predetermined word segment value and bit value can include:
The receiving device determines the value of the corresponding preset field of synchronization signal;
The receiving device determines the predetermined word segment value and bit according to the value of the corresponding preset field of the synchronization signal
The corresponding relationship of value;The value of the corresponding preset field of the synchronization signal, is different from, the corresponding preset field of bit value
Value.
It should be noted that the receiving device determines the value of the corresponding preset field of the synchronization signal and determines that this is pre-
If the specific implementation process of the corresponding relationship of field value and bit value can be with the realization process of sending ending equipment in above-described embodiment
Similar, details are not described herein.
Optionally, if the preset field is ttl field or is id field, the value of the corresponding preset field of the synchronization signal
Minimum value greater than the preset field and the maximum value less than the preset field.
In the present embodiment above method, which determines that the value of the corresponding preset field of synchronization signal can wrap
It includes:
The receiving device receives the IP packet including the synchronization signal;
The receiving device is determined according to the value of the preset field in the head for the IP packet that should include synchronization signal should
The value of the corresponding preset field of synchronization signal.
Optionally, multiple IP packet is the carrying data that the sending ending equipment is selected according to preset traffic flow information
The IP packet of the corresponding data flow of stream information;The traffic flow information includes: data flow five-tuple information or data stream triple letter
Breath;Alternatively,
Multiple IP packet is the IP that the sending ending equipment is issued according to the transmission interface that preset transmission interface selects
Message.
Optionally, which is congestion of data flow information;The congestion of data flow information includes: data stream property
And/or packet loss response.
Optionally, which comprises at least one of the following: the temperature of sending ending equipment, humidity, the transmitting terminal
The processor occupancy and Interface status of equipment.
Information acquisition method provided in an embodiment of the present invention, receiving device receive multiple IP packets and according to multiple IP
Preset field in the head of message determines network control message, thus the transmission of the network control message is not take up extra band
Width improves the data transmission utilization ratio of network bandwidth.Simultaneously as in the information acquisition method of the embodiment of the present invention, the reception
End equipment is that preset field in the head according to multiple IP packet determines network control message, rather than IP packet
A certain field in head determines all characters of the network control message, thus the size of the network control message is not only restricted to
The size of the preset field of IP packet or the size of other reserved fields, so that information transmission side through the embodiment of the present invention
The application scenarios that method transmission network controls information are more.
The embodiment of the present invention also provides a kind of information interacting method.Fig. 5 is that information exchange provided in an embodiment of the present invention is shown
It is intended to, the transmission and acquisition of control information is completed by the interaction of transmitting terminal and receiving end.As shown in figure 5, this method can include:
S501, sending ending equipment determine the value of the corresponding preset field of synchronization signal, which is id field.
It should be noted that the present embodiment five is only illustrated with id field, if the preset field is ttl field, specifically
Realization process is similar with described in the various embodiments described above, and details are not described herein.
S502, the sending ending equipment determine that bit value is pre- with this according to the value of the corresponding preset field of the synchronization signal
If the corresponding relationship of the value of field.
The preset field is id field, and the value of the corresponding preset field of the synchronization signal for example can be 0x8000.It should
In the corresponding relationship of the value of bit value and the preset field, the value of the corresponding preset field of bit value 1 can for 0x8001~
0xFFFF, the value of the corresponding preset field of bit value 0 can be 0x0000~0x7FFF.
The synchronization signal is placed on by S503, the sending ending equipment according to the value of the corresponding preset field of the synchronization signal
The preset field in the head of one IP packet.
The sending ending equipment, which can be, sets the synchronization signal for the preset field in the head of an IP packet
The value of the corresponding preset field, such as 0x8000.
S504, the sending ending equipment are encoded according to each bit of the nrz encoding mode to network control message, are obtained
The corresponding coded pulse of each bit.
The network control message can be congestion of data flow information;The congestion of data flow information include: data stream property and/
Or packet loss response.The network control message may also include following at least one: the temperature of the sending ending equipment, humidity, the transmission
The processor occupancy and Interface status of end equipment.
For example, if a character of the network control message is A, the sending ending equipment is according to nrz encoding mode pair
Each bit of character A is encoded, and it includes negative pulse that the first bit 0 from left to right for obtaining character A, which obtains,
Coded pulse, the second bit 1 from left to right of character A obtain include positive pulse coded pulse, character A from a left side
The coded pulse including negative pulse, the 8th ratio from left to right of character A are obtained to right third bit to the 7th bit 0
Special position 1 obtains the coded pulse including positive pulse.The negative pulse indicates bit value 0, and positive pulse indicates bit value 1.
S505, sending ending equipment bit value according to represented by the coded pulse and preset bit value and this is default
The corresponding relationship of the value of field determines the value of the corresponding preset field of the coded pulse.
So, the value of the corresponding preset field of negative pulse of the first bit 0 from left to right of character A can be
It is any in 0x0000~0x7FFF;The corresponding preset field of positive pulse of the second bit 1 from left to right of character A
Value can be any in 0x8001~0xFFFF;The third bit from left to right of character A to the 7th bit 0 negative pulse pair
The value for the preset field answered can be to be any in 0x0000~0x7FFF, and the 8th bit 1 from left to right of character A is just
The value of the corresponding preset field of pulse can be any in 0x8001~0xFFFF.
S506, the sending ending equipment determine multiple IP packets.
The carrying data flow that multiple IP packet can select for the sending ending equipment according to preset traffic flow information
Multiple IP packets of information corresponding data stream;The traffic flow information includes: data flow five-tuple information or data stream triple letter
Breath.What multiple IP packet can also issue for the sending ending equipment according to preset transmission interface, the transmission interface of selection
Multiple IP packet.
S507, the sending ending equipment are according to the value of the corresponding preset field of the coded pulse, to multiple IP packet
The preset field in head is configured.
Due to the corresponding preset field of a pulse value can the preset field in the head to an IP packet set
It sets, if the digital encoding scheme is nrz encoding, for a character of network control message, which can be root
According to the corresponding coded pulse of 8 bits in a character, successively the preset field in 8 1P messages is configured,
One character can be placed in the preset field of 8 IP packets.That is, if in the network control message including one
Character, then the sending ending equipment needs the preset field being placed on the network control message in the head of 8 IP packets.If the net
It includes two characters that network, which controls in information, then the sending ending equipment then needs for the network control message to be placed on 16 IP packets
Preset field in head.
The sending ending equipment can be to be reported according to the first IP to multiple IP packet any in the 0x0000~0x7FFF
Text head in the preset field be configured, thus by the coded-bit 0 of the first bit of character A be placed on this first
In IP packet;According in the head to the second IP packet of multiple IP packet any in the 0x8001~0xFFFF this is default
Field is configured, so that the coded-bit 1 of the second bit of character A is placed in second IP packet;According to this
Any predetermined word to the third IP packet of multiple IP packet into the head of the 7th IP packet in 0x0000~0x7FFF
Section is configured, so that the coded-bit 0 of third to the 7th bit of character A is placed on the third IP packet to the 7th IP
In message;According to the predetermined word in the head to the 8th IP packet of multiple IP packet any in the 0x8001~0xFFFF
Section is configured, so that the coded-bit 1 of the 8th bit of character A is placed in the 8th IP packet.
S508, the sending ending equipment send the IP packet including the synchronization signal.
S509, the sending ending equipment send multiple IP packet including the network control message.
S510, receiving device receive include the synchronization signal IP packet, and determine the synchronization signal corresponding this be pre-
If the value of field.
S511, the receiving device determine the predetermined word segment value according to the value of the corresponding preset field of the synchronization signal
With the corresponding relationship of bit value.
S512, the receiving device receive multiple IP packet including the network control message, and according to the predetermined word
The corresponding relationship of segment value and bit value determines that coded pulse included by the preset field indicates in the head of multiple IP packet
Bit value.
S513, the receiving device are decoded the coded pulse, determine the network-control according to NRZ decoding process
Each bit of information.
Information interacting method provided in an embodiment of the present invention can be interacted with receiving device by sending ending equipment and complete net
Network controls the transmission and acquisition of information, so that sending ending equipment can pass through multiple IP packets that transmission data information uses
The network control message is transmitted to receiving device by preset field, the receiving device after receiving multiple IP packet,
According to the network control message that the preset field of multiple IP packet obtains, without passing through independent message transfers net
It controls information and improves the data transmission utilization ratio of network bandwidth so that the transmission of network control message is not take up extra bandwidth.
The embodiment of the present invention also provides a kind of sending ending equipment.Fig. 6 is that a kind of transmitting terminal provided in an embodiment of the present invention is set
Standby structural schematic diagram.As shown in fig. 6, sending ending equipment 600 can include:
Sending module 602, for sending multiple IP packet to receiving device, so that the receiving device is more according to this
A IP packet recovers the network control message.
Optionally, sending ending equipment 600 further include:
Module is obtained, for compiling according to each bit of the preset number coding mode to the network control message
Code, obtains the corresponding coded pulse of each bit of the network control message.
Optionally, placement module 601 are also used to the corresponding coded pulse of each bit according to the network control message
The corresponding relationship of represented bit value and bit value and predetermined word segment value, determines described in the head of multiple IP packet
The value of preset field, and be configured.
Optionally, the corresponding relationship of the bit value and predetermined word segment value is as the sending ending equipment according to corresponding to synchronization signal
The preset field value determine.
If the preset field is ttl field or id field;It is pre- that the value of the corresponding preset field of the synchronization signal is greater than this
If the minimum value of field, and it is less than the maximum value of the preset field.
Optionally, placement module 601, be also used to sending module 602 send multiple IP packet to receiving device it
Before, according to the value of the corresponding preset field of the synchronization signal, which is placed on to being somebody's turn to do in the head of an IP packet
Preset field.
Sending module 602 is also used to send the IP packet including the synchronization signal to the receiving device.
Sending ending equipment provided in an embodiment of the present invention can be used for executing the information transmission of the above embodiment of the present invention offer
Method, realization process and beneficial effect can refer to above-described embodiment, and details are not described herein.
The embodiment of the present invention also provides a kind of receiving device.Fig. 7 is that a kind of receiving end provided in an embodiment of the present invention is set
Standby structural schematic diagram.As shown in fig. 7, the receiving device 700 can include:
Receiving module 701, for receiving multiple IP packets.
Determining module 702 determines network control message for the preset field in the head according to multiple IP packet.
Optionally, determining module 702 are also used to the value of the preset field in the head according to multiple IP packet, and should
The corresponding relationship of predetermined word segment value and bit value determines coding arteries and veins included by the preset field in the head of multiple IP packet
The bit value that punching indicates is decoded the coded pulse, determines the network control message according to preset number decoding process
Each bit.
Optionally, determining module 702 are also used to the value of the preset field in the head according to multiple IP packet, and
The corresponding relationship of the predetermined word segment value and bit value determines coding included by the preset field in the head of multiple IP packet
Before the corresponding bit value of pulse, the corresponding relationship of the predetermined word segment value and bit value is determined.
Optionally, determining module 702 are also used to determine the value of the corresponding preset field of synchronization signal, according to the synchronization
The value of the corresponding preset field of signal, determines the corresponding relationship of the predetermined word segment value and bit value;
If the preset field is ttl field or id field, it is pre- that the value of the corresponding preset field of the synchronization signal is greater than this
If the minimum value of field, and it is less than the maximum value of the preset field.
Optionally, receiving module 701 are also used to receive the IP packet including the synchronization signal;
Determining module 702 is also used to the value of the preset field in the head according to the IP packet that should include synchronization signal
Determine the value of the corresponding preset field of the synchronization signal.
The information acquisition method that the above embodiment of the present invention provides can be performed in receiving device provided in an embodiment of the present invention,
Its realization process and beneficial effect can refer to above-described embodiment, and details are not described herein.
The embodiment of the present invention also provides another sending ending equipment.Fig. 8 is another transmission provided in an embodiment of the present invention
The structural schematic diagram of end equipment.As shown in figure 8, the sending ending equipment 800 can include: processor 801, transmitter 802 and storage
Device 803.
Processor 801, transmitter 802 and memory 803 are connected with each other by bus 804;Bus 804 can be peripheral hardware portion
Part interconnection standards (peripheral component interconnect, abbreviation PCI) bus or expanding the industrial standard structure
(extended industry standard architecture, abbreviation EISA) bus etc..The bus can be divided into address
Bus, data/address bus, control bus etc..Only to be indicated with a thick line in Fig. 8, it is not intended that only one convenient for indicating
Bus or a type of bus.
Memory 803, for storing program.Specifically, program may include program code, and said program code includes meter
Calculation machine operational order.Memory 803 may include random access memory (random access memory, abbreviation RAM),
It may further include nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.
Wherein, processor 801 executes the program that memory 803 is stored, for putting network control message to be transmitted
Preset field in the head of multiple IP packets.
Transmitter, for sending multiple IP packet to receiving device, so that the receiving device is according to multiple IP
Message recovers the network control message.
Optionally, processor 801 is also used to each bit according to preset number coding mode to the network control message
Position is encoded, and the corresponding coded pulse of each bit of the network control message is obtained;By the every of the network control message
Bit value represented by the corresponding coded pulse of a bit is placed on the preset field in the head of multiple IP packet.
Optionally, processor 801 is also used to the corresponding coded pulse institute of each bit according to the network control message
The corresponding relationship of the bit value and bit value of expression and predetermined word segment value, determine in the head of multiple IP packet this is default
The value of field, and be configured.
The memory 803 can also be used in the corresponding relationship for storing the bit value Yu predetermined word segment value.
Optionally, the corresponding relationship of the bit value and predetermined word segment value is as the sending ending equipment according to corresponding to synchronization signal
The preset field value determine;
If the preset field is ttl field or id field;It is pre- that the value of the corresponding preset field of the synchronization signal is greater than this
If the minimum value of field, and it is less than the maximum value of the preset field.
Optionally, processor 801 is also used to before transmitter 802 sends multiple IP packet to receiving device, root
According to the value of the corresponding preset field of the synchronization signal, the predetermined word which is placed in the head of an IP packet
Section.
Transmitter 802 is also used to send the IP packet including the synchronization signal to the receiving device.
Above-mentioned processor 801 can be general processor, including central processing unit (Central Processing
Unit, abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor
(DSP), specific integrated circuit (ASIC), field programmable gate array (FPGA) or other programmable logic device.
The another kind sending ending equipment provided in an embodiment of the present invention, can be used for executing in the above embodiment of the present invention and provides
Information transferring method, realization process and beneficial effect can refer to above-described embodiment, and details are not described herein.
The embodiment of the present invention also provides another receiving device.Fig. 9 is another reception provided in an embodiment of the present invention
The structural schematic diagram of end equipment.As shown in figure 9, receiving device 900 may include receiver 901, processor 902 and memory
903,。
Wherein, receiver 901, for receiving multiple IP packets;
Optionally, processor 902, are also used in the head according to multiple IP packet the value of the preset field and this is pre-
If the corresponding relationship of field value and bit value, coded pulse included by the preset field in the head of multiple IP packet is determined
The bit value of expression;According to preset number decoding process, which is decoded, determines the every of the network control message
A bit.
Optionally, processor 902 is also used in the head according to multiple IP packet the value of the preset field and this is pre-
If the corresponding relationship of field value and bit value, coded pulse included by the preset field in the head of multiple IP packet is determined
Before corresponding bit value, the corresponding relationship of the predetermined word segment value and bit value is determined.
The memory 903 can also be used in the corresponding relationship for storing the bit value Yu predetermined word segment value.
Optionally, processor 902 is also used to determine the value of the corresponding preset field of synchronization signal, according to the synchronization signal
The value of the corresponding preset field determines the corresponding relationship of the predetermined word segment value and bit value.
If the preset field is ttl field or id field, it is pre- that the value of the corresponding preset field of the synchronization signal is greater than this
If the minimum value of field, and it is less than the maximum value of the preset field.
Optionally, receiver 901 are also used to receive the IP packet including the synchronization signal.
Above-mentioned processor 902 can be general processor, including central processing unit (CPU), network processing unit (NP) etc.;
Can also be digital signal processor (DSP), specific integrated circuit (ASIC), field programmable gate array (FPGA) or other
Programmable logic device.
Receiving device provided in an embodiment of the present invention can be used for executing information acquisition method provided by the above embodiment,
Realization process and beneficial effect can refer to above-described embodiment, and details are not described herein.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to
The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey
When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or
The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (14)
1. a kind of information transferring method characterized by comprising
Network control message to be transmitted is placed on the predetermined word in the head of multiple Internet protocol IP packets by sending ending equipment
Section;
The sending ending equipment sends the multiple IP packet to receiving device, so that the receiving device is according to described more
A IP packet recovers the network control message;
Network control message to be transmitted is placed on the preset field in the head of multiple IP packets by the sending ending equipment, packet
It includes:
The sending ending equipment is encoded according to each bit of the preset number coding mode to the network control message,
Obtain the corresponding coded pulse of each bit of the network control message;
Bit value represented by the corresponding coded pulse of each bit of the sending ending equipment by the network control message
The preset field being placed in the head of the multiple IP packet;
Bit value represented by the corresponding coded pulse of each bit of the sending ending equipment by the network control message
The preset field being placed in the head of the multiple IP packet, comprising:
Sending ending equipment bit according to represented by the corresponding coded pulse of each bit of the network control message
The corresponding relationship of value and bit value and predetermined word segment value, determines the preset field in the head of the multiple IP packet
Value, and be configured.
2. the method according to claim 1, wherein
The corresponding relationship of the bit value and predetermined word segment value as the sending ending equipment according to corresponding to synchronization signal described in
The value of preset field determines;
If the preset field for survival time ttl field or mark id field;The corresponding predetermined word of the synchronization signal
The value of section is greater than the minimum value of the preset field, and is less than the maximum value of the preset field.
3. according to the method described in claim 2, it is characterized in that, the sending ending equipment sends the multiple IP packet to connecing
Before receiving end equipment, the method also includes:
The synchronization signal is placed on one according to the value of the corresponding preset field of the synchronization signal by the sending ending equipment
The preset field in the head of a IP packet, and send IP packet to the receiving end including the synchronization signal and set
It is standby.
4. a kind of information acquisition method characterized by comprising
Receiving device receives multiple IP packets;
The receiving device determines network control message according to the preset field in the head of the multiple IP packet;
The receiving device determines that network control message includes: according to the preset field in the head of the multiple IP packet
The value of receiving device preset field according to the head of the multiple IP packet and the predetermined word segment value
With the corresponding relationship of bit value, determine that coded pulse included by preset field described in the head of the multiple IP packet indicates
Bit value;
The receiving device is decoded the coded pulse according to preset number decoding process, determines the network control
Each bit of information processed.
5. according to the method described in claim 4, it is characterized in that, the receiving device is according to the head of the multiple IP packet
The corresponding relationship of the value of preset field described in portion and the predetermined word segment value and bit value, determines the multiple IP packet
Before the corresponding bit value of coded pulse included by preset field described in head, the method also includes:
The receiving device determines the corresponding relationship of the predetermined word segment value and bit value.
6. according to the method described in claim 5, it is characterized in that, the receiving device determine the predetermined word segment value with than
The corresponding relationship of paricular value includes:
The receiving device determines the value of the corresponding preset field of synchronization signal;
The receiving device according to the value of the corresponding preset field of the synchronization signal, determine the predetermined word segment value with
The corresponding relationship of bit value;
If the preset field time ttl field or mark id field for survival, the corresponding predetermined word of the synchronization signal
The value of section is greater than the minimum value of the preset field, and is less than the maximum value of the preset field.
7. according to the method described in claim 6, it is characterized in that, the receiving device determines that synchronization signal is corresponding described
The value of preset field includes:
The receiving device receives the IP packet including the synchronization signal;
The receiving device is determined according to the value of the preset field in the head of the IP packet including synchronization signal
The value of the corresponding preset field of the synchronization signal.
8. a kind of sending ending equipment characterized by comprising
Placement module, it is default in the head of multiple Internet protocol IP packets for network control message to be transmitted to be placed on
Field;
Sending module, for sending the multiple IP packet to receiving device, so that the receiving device is according to described more
A IP packet recovers the network control message;
Module is obtained, for being encoded according to each bit of the preset number coding mode to the network control message,
Obtain the corresponding coded pulse of each bit of the network control message;
The placement module is also used to ratio represented by the corresponding coded pulse of each bit by the network control message
Paricular value is placed on the preset field in the head of the multiple IP packet;
The placement module is also used to according to represented by the corresponding coded pulse of each bit of the network control message
The corresponding relationship of bit value and bit value and predetermined word segment value determines the predetermined word in the head of the multiple IP packet
The value of section, and be configured.
9. sending ending equipment according to claim 8, which is characterized in that
The corresponding relationship of the bit value and predetermined word segment value as the sending ending equipment according to corresponding to synchronization signal described in
The value of preset field determines;
If the preset field for survival time ttl field or mark id field;The corresponding predetermined word of the synchronization signal
The value of section is greater than the minimum value of the preset field, and is less than the maximum value of the preset field.
10. sending ending equipment according to claim 9, which is characterized in that
The placement module is also used to before the sending module sends the multiple IP packet to the receiving device,
According to the value of the corresponding preset field of the synchronization signal, the synchronization signal is placed in the head of an IP packet
The preset field;
The sending module is also used to send the IP packet including the synchronization signal to the receiving device.
11. a kind of receiving device characterized by comprising
Receiving module, for receiving multiple IP packets;
Determining module determines network control message for the preset field in the head according to the multiple IP packet;
The determining module is also used to the value of the preset field according to the head of the multiple IP packet and described default
The corresponding relationship of field value and bit value determines coding arteries and veins included by preset field described in the head of the multiple IP packet
The bit value that punching indicates is decoded the coded pulse according to preset number decoding process, determines the network-control letter
Each bit of breath.
12. receiving device according to claim 11, which is characterized in that
The determining module is also used in the value of the preset field according to the head of the multiple IP packet and described pre-
If the corresponding relationship of field value and bit value determines coding included by preset field described in the head of the multiple IP packet
Before the corresponding bit value of pulse, the corresponding relationship of the predetermined word segment value and bit value is determined.
13. receiving device according to claim 12, which is characterized in that
The determining module is also used to determine the value of the corresponding preset field of synchronization signal, according to the synchronization signal pair
The value for the preset field answered determines the corresponding relationship of the predetermined word segment value and bit value;
If the preset field time ttl field or mark id field for survival, the corresponding predetermined word of the synchronization signal
The value of section is greater than the minimum value of the preset field, and is less than the maximum value of the preset field.
14. receiving device according to claim 13, which is characterized in that
The receiving module is also used to receive the IP packet including the synchronization signal;
The determining module is also used to the value of the preset field in the head according to the IP packet including synchronization signal
Determine the value of the corresponding preset field of the synchronization signal.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510280452.4A CN106302266B (en) | 2015-05-27 | 2015-05-27 | Information transferring method, information acquisition method, sending ending equipment and receiving device |
PCT/CN2016/080998 WO2016188306A1 (en) | 2015-05-27 | 2016-05-04 | Information transmission method, information acquisition method, sending end device and receiving end device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510280452.4A CN106302266B (en) | 2015-05-27 | 2015-05-27 | Information transferring method, information acquisition method, sending ending equipment and receiving device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106302266A CN106302266A (en) | 2017-01-04 |
CN106302266B true CN106302266B (en) | 2019-10-15 |
Family
ID=57392398
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510280452.4A Active CN106302266B (en) | 2015-05-27 | 2015-05-27 | Information transferring method, information acquisition method, sending ending equipment and receiving device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106302266B (en) |
WO (1) | WO2016188306A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10972397B2 (en) | 2017-09-29 | 2021-04-06 | Futurewei Technologies, Inc. | Self-driving packets with conditional commands |
CN109039537B (en) * | 2018-07-26 | 2020-05-05 | 烽火通信科技股份有限公司 | AMCC information transmission method and system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101989954A (en) * | 2010-11-16 | 2011-03-23 | 中兴通讯股份有限公司 | Message fragmenting method and network forwarding equipment |
CN102158409A (en) * | 2011-04-02 | 2011-08-17 | 杭州华三通信技术有限公司 | Retransmission control method for IP (Internet Protocol) message and equipment thereof |
CN102474452A (en) * | 2009-07-02 | 2012-05-23 | 高通股份有限公司 | Transmission of control information across multiple packets |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070058532A1 (en) * | 2005-09-15 | 2007-03-15 | Manoj Wadekar | System and method for managing network congestion |
US7944978B2 (en) * | 2007-10-29 | 2011-05-17 | Lightwaves Systems, Inc. | High bandwidth data transport system |
WO2011025438A1 (en) * | 2009-08-25 | 2011-03-03 | Telefonaktiebolaget L M Ericsson (Publ) | Using the ecn mechanism to signal congestion directly to the base station |
CN102638395B (en) * | 2012-03-19 | 2015-01-21 | 华为技术有限公司 | Message forwarding method and message forwarding equipment |
CN103986753B (en) * | 2014-05-08 | 2018-05-29 | 京信通信系统(中国)有限公司 | A kind of method and device of transmission packet |
-
2015
- 2015-05-27 CN CN201510280452.4A patent/CN106302266B/en active Active
-
2016
- 2016-05-04 WO PCT/CN2016/080998 patent/WO2016188306A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102474452A (en) * | 2009-07-02 | 2012-05-23 | 高通股份有限公司 | Transmission of control information across multiple packets |
CN101989954A (en) * | 2010-11-16 | 2011-03-23 | 中兴通讯股份有限公司 | Message fragmenting method and network forwarding equipment |
CN102158409A (en) * | 2011-04-02 | 2011-08-17 | 杭州华三通信技术有限公司 | Retransmission control method for IP (Internet Protocol) message and equipment thereof |
Also Published As
Publication number | Publication date |
---|---|
WO2016188306A1 (en) | 2016-12-01 |
CN106302266A (en) | 2017-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3522465A1 (en) | Service data transmission method, device and system, and storage medium | |
CN104982006B (en) | For providing the system and method for software definition protocol stack | |
CN110535782A (en) | A kind of message processing method, equipment and system realizing QoS and ensureing | |
CN107547300B (en) | Network quality detection method and device | |
CN105701053B (en) | Serial data transmitting and receiving method and device | |
WO2018103740A1 (en) | Method and apparatus for sending and receiving multiframe, device, system, and storage medium | |
CN105530193B (en) | Determine method, the network equipment and the system of tunnel maximum transmission unit | |
CN106416171A (en) | Method and device for feature information analysis | |
CN104038505B (en) | A kind of method and apparatus of IPSec anti-replays | |
CN105556916B (en) | The information statistical method and device of network flow | |
CN106302266B (en) | Information transferring method, information acquisition method, sending ending equipment and receiving device | |
CN108235373A (en) | terminal wireless data transmission method, device, terminal and storage medium | |
CN109526030A (en) | Processing method, device and the equipment of message | |
CN103544128A (en) | Inter-chip single signal line communication method, device and system | |
CN107181605A (en) | Message detecting method and system, contents extraction device, flow matches device | |
CN106856457A (en) | A kind of data transmission method, dispensing device and reception device | |
CN102223353A (en) | Host identification protocol (HIP) safe channel multiplexing method and device thereof | |
CN107005538B (en) | Data transmission method, device and system | |
CN105594164B (en) | A kind of transmission method and transmission device of data packet | |
CN105991214B (en) | A kind of data transmission method and its device | |
CN110380957A (en) | Data processing method and device | |
CN104426866B (en) | A kind of data transmission method and device | |
CN102611631A (en) | Method, device and system for protecting protocol under pseudo-wire scene | |
CN109347605A (en) | A kind of coding method, coding/decoding method and device, computer readable storage medium | |
CN115883484A (en) | Message forwarding method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |