CN103905147B - Data processing method, sending device, receiving device and communication system - Google Patents

Data processing method, sending device, receiving device and communication system Download PDF

Info

Publication number
CN103905147B
CN103905147B CN201210587925.1A CN201210587925A CN103905147B CN 103905147 B CN103905147 B CN 103905147B CN 201210587925 A CN201210587925 A CN 201210587925A CN 103905147 B CN103905147 B CN 103905147B
Authority
CN
China
Prior art keywords
ntb
bags
messages
transmission equipment
receiving device
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
Application number
CN201210587925.1A
Other languages
Chinese (zh)
Other versions
CN103905147A (en
Inventor
陆智慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Leadcore Technology Co Ltd
Original Assignee
Leadcore Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Leadcore Technology Co Ltd filed Critical Leadcore Technology Co Ltd
Priority to CN201210587925.1A priority Critical patent/CN103905147B/en
Publication of CN103905147A publication Critical patent/CN103905147A/en
Application granted granted Critical
Publication of CN103905147B publication Critical patent/CN103905147B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention provides a data processing method, a sending device, a receiving device and a communication system. The data processing method comprises the steps that the sending device sends the operating mode of the sending device to the receiving device, so that the receiving device and the sending device are in the same operating mode, wherein the operating mode refers to the position and length information of an IP message written in an NTB packet of a network configuration management transmission module; the sending device obtains the position and length information of an IP message, sent from the outside, in a Ethernet packet, the position and length information of the IP message are written into the NTB packet, the NTB packet is sent to the receiving device, so that the receiving device receives and analyzes the NTB packet, the position and length information, of the IP message, in the NTB packet is obtained, and the IP message is processed.

Description

Data processing method, transmission equipment, receiving device and communication system
Technical field
The present invention relates to communication field, more particularly to a kind of data processing method, transmission equipment, receiving device and communication system System.
Background technology
In communication system, existing LTE (LongTermEvolution, Long Term Evolution) terminal devices and PC (PersonalComputer) machine/main frame(Serve, server)Carry out TCP/IP (TransmissionControlProtocol/InternetProtocol, transmission control protocol/Internet Protocol) number According to during transmission, typically connected by USB (UniversalSerialBUS, USB), using USB-NCM communication protocols View, mainly utilizes USB-NCM efficient data transfers to match strict demands of the LTE to big data handling capacity and sequential.
The network adapter that USB-NCM agreements connect exclusively for various use USB, defines transmission IEEE.802 races network The model of data(Generally 802.3 Ethernets).Multiple Ethernet data bags are incorporated in single NCM by USB-NCM agreements (networkconfigurationmanager, network configuration management) transmission block(NTB)In, using USB-Transfer once Property transmission improving efficiency of transmission.Which supports 16bit(64KB is transmitted once)And 32bit(4GB is transmitted once)Transformat. And PC is then using Ethernet bag carrying TCP/IP data, the bag form of the 16bit and 32bit of NTP as depicted in figs. 1 and 2, from As can be seen that by obtaining the NDP indicated in NTB builds in Fig. 1 and Fig. 2(NCMDatagramPoint)Chained list, can retrieve The start address of each Ethernet data bag and length in NTB, and then access each Ethernet data bag.
When TCP/IP transmission is carried out, terminal device needs are extracted in each Ethernet bag IP bags from NTB, Send to high-rise or protocol layer again, this is accomplished by being parsed Ethernet bag.
It is 802.3 standards and EthernetII standards respectively that at present general ether bag form has two kinds, as shown in figure 3, Destination address of the 802.3 standard ethernet bag forms by 6 bytes, 6 byte source addresses, 2 byte length fields, Deta bearer(Bag During 64 byte of curtailment, extra padding is needed)、CRC(CyclicRedundancyCheck, CRC)Verification Field is constituted.Wherein in order to distinguish carried different agreement data, in Deta bearer beginning, generally 8 bytes LLC-SNAP fields, the different protocol data of LLC-SNAP field identifications, such as IP messages, ARP messages etc..
EthernetII (the Ethernet second layer) standard ethernet bag forms by 6 byte destination addresses, 6 byte source addresses, 2 Byte type field, Deta bearer(When packet length is less than 64 byte, extra padding is needed), CRC check field constitute.Wherein lead to The different value of usage type field is crossed, different protocol datas are identified, such as 0x0800 represents IP messages, 0x0806 and represents ARP messages.
In sum, the IP messages in USB-NCMNTB to such as be retrieved, it is necessary to monitored in each Ethernet bag one by one Type field, for example:If adopting 802.3 forms, need to verify the LLC-SNAP fields of 8 bytes, if adopted EthernetII forms, then need to verify the type field of 2 bytes, as shown in Figure 4.It can be seen that terminal device carries out Packet type every time Verification, it is necessary to which, across the data area of at least 64 bytes, the data for reading 2/8 byte are compared.Cause program numerous and diverse, locate Reason amount is larger.
The content of the invention
For solving, based in USB-NCM protocol data processing procedures in prior art, when IP messages are searched, to need one by one Ethernet data bag is searched, the problem of the wasting of resources is caused, a kind of data processing method, transmission is embodiments provided and is set Standby, receiving device and communication system.
A kind of data processing method is embodiments provided, including:
The mode of operation of the transmission equipment is sent to receiving device by transmission equipment, so that the receiving device and described Transmission equipment is in same mode of operation, and the mode of operation is referred to and write mutually in network configuration management transport module NTB bags The position of networking protocol IP messages and length information;
The transmission equipment obtains the position of IP messages in the Ethernet bag of outgoing and length information, and by the IP messages Position and length information write NTB bags it is interior, the NTB bags are sent to into the receiving device, so that the receiving device connects The NTB bags, the position of the IP messages in the acquisition NTB bags and length information is received and parsed, and processes the IP messages.
The embodiment of the present invention additionally provides a kind of transmission equipment, including:
First command process unit, for sending the mode of operation of the transmission equipment, the Working mould to receiving device Formula refers to position and the length information for writing Internet protocol IP message in network configuration management transport module NTB bags;
NTB structural units, for when the equipment of transmission and receiving device are in same mode of operation, obtaining the ether of outgoing The position of IP messages and length information in net bag, and will be the position of the IP messages and length information write NTB bags interior, will be described NTB bags are sent to receiving device, so that the receiving device obtains the position of the IP messages in NTB bags and length information, and locate Manage the IP messages.
The embodiment of the present invention additionally provides a kind of receiving device, including:
Second command process unit, for obtaining the mode of operation of transmission equipment, the mode of operation is referred to matches somebody with somebody in network Position and the length information of Internet protocol IP message is write in putting management transport module NTB bags;
NTB resolution units, for receiving and parsing through the NTB bags that the transmission equipment sends, obtain in the NTB bags Comprising IP messages position and length information, and the position according to IP messages and length information the IP messages are sent to it is right The module answered is processed.
The embodiment of the present invention additionally provides a kind of communication system, including:
Transmission equipment, for consulting with receiving device so that send equipment and receiving device is in same mode of operation, institute State mode of operation and refer to the position comprising Internet protocol IP message and length in the network configuration management transport module NTB bags Information;Position and the length information of IP messages is obtained, and will be the position of the IP messages and length information write NTB bags interior, will The NTB bags are sent to receiving device;
Receiving device, for receiving and parsing through the NTB bags that the transmission equipment sends, obtains the IP reports in the NTB bags The position of text and length information, and the position according to the IP messages and length information be sent to corresponding module and processed.
Data processing method provided in an embodiment of the present invention, transmission equipment, receiving device and communication system, the equipment of transmission exist When sending NTB bags, the position of IP messages and length information are write in the NTB bags and issues receiving device together, so received and set It is standby when NTB bags are received, position and the length information of IP messages can be directly obtained, it is not necessary to detect each one by one with Too net bag, has saved program resource, it is to avoid the problem for causing CPU treatment effeciencies low.
Description of the drawings
Fig. 1 is the NTB bag form schematic diagrams of 16 bit modes in prior art;
Fig. 2 is the NTB bag form schematic diagrams of 32 bit modes in prior art;
Fig. 3 is ethernet packet format schematic diagram;
Fig. 4 is the schematic diagram for detecting IP messages in Ethernet bag;
Fig. 5 is the IP messages position of 16 and length information area schematic;
Fig. 6 is the IP messages position of 32 and length information area schematic;
Fig. 7 is the structural representation of the NTB bags of the length comprising IP messages and positional information;
Fig. 8 is the structural representation of the communication system provided by the embodiment of the present invention;
Fig. 9 is the flow chart of the data processing method provided by the embodiment of the present invention.
Specific embodiment
The method and apparatus for being provided to the embodiment of the present invention below in conjunction with the accompanying drawings is described in detail.
It can be PC, server, router, portable wideband wireless device to send equipment in embodiments of the present invention MIFI or panel computer, then receiving device is data card or user terminal;Or transmission equipment can be data card or Person's user terminal, then receiving device can be PC or server, router, portable wideband wireless device MIFI or Panel computer.
In embodiments of the present invention, sending equipment can be each using the powerful disposal ability of its innernal CPU, instant analysis The type of the Ethernet bag of individual outgoing, if IP messages in the Ethernet bag, extract the length information of the IP messages, by meter Calculate position of the Ethernet bag in NTB bags, it is possible to obtain positional information of the IP messages inside Ethernet bag in NTB bags, and By in the position of the IP messages and length information write NTB bags, the NTB bags are rebuild, then the NTB bags for rebuilding are sent out Give receiving device to be processed, such receiving device can obtain the position of IP messages by parsing after NTB bags are connected to And length information, and the IP messages are issued into corresponding unit processed.
It should be noted that:In NTB bags, the region for writing IP messages position and length information can be continuous sky Between, as shown in Figure 5 and Figure 6.Fig. 5 writes the schematic diagram in IP messages position and length information region in giving 16 byte N TB bags; Fig. 6 writes the schematic diagram in IP messages position and length information region in then giving 32 byte N TB bags.
As the NDP of NCM bag forms (in NCM agreements, by the NDP regions in NTB bags, describes each Ethernet Position of the bag in NTB bags and length information) position is given by packet header corresponding field, IP messages position and length information region The optional position that can be placed in NTB bags(As long as the equipment of transmission and receiving device observe common agreement), such as can be with After being placed directly in NTB packet header, as shown in Figure 7.Fig. 7 gives the one of the NTB bags of the position comprising IP messages and length information Structure is planted, the position of IP messages and length information can be placed on the continuum after the head of NTB bags, wherein:index (IPPacket0)Represent the positional information of IP messages, Length(IPPacket 0)Represent the length information of IP messages.Due to IP The area information of the position of message and length is continuous, when being 0 in the position of IP messages and area information, then it represents that should IP messages are processed, and receiving device, can be without comprehending when the IP messages are resolved to.
In another embodiment of the presently claimed invention, represent in NTB bags that the mode of IP ENMESs also has other modes, such as When the beginning in region is described, by a special length(Length)Field, indicates the area size, by calculating Where terminate in the region for obtaining the IP messages.
In another embodiment of the presently claimed invention, the position of IP messages and length information can not also be put in NTB bags Put in discontinuous region.
In embodiments of the present invention, the request Request lives that equipment and receiving device can be defined by usb protocol are sent Order is held consultation.When initial, can give tacit consent under the NCM agreements of the standard of being operated in, the Request orders defined by usb protocol Or the field arranged in NTB bags is indicated so that send equipment and receiving device is under same mode of operation, the Working mould Formula refers to the position comprising IP messages and length information in NTB bags, specifically:
Transmission equipment can send USBRequest message to receiving device, and the USBRequest message indicates the transmission The mode of operation of equipment,
After receiving device receives the USBRequest message, you can obtain the current mode of operation of transmission equipment;
Or, in NTB bags, one field is set, the field indicates the mode of operation of transmission equipment, and receiving device is received After NTB bags, you can obtain the mode of operation of transmission equipment.
Specifically, self-defining extension can be carried out to the USBRequest orders of standard, such as in USB Request orders One property value of middle increase, the attribute indicate the position comprising IP messages and length information in NTB.
In embodiments of the present invention, if transmission equipment detects non-IP messages, there can be two kinds of processing methods:
The first:In NTB, non-IP messages index region is redefined, receiving device is using low priority task process This part is processed;
Second:Due to 3G/LTE(LongTermEvolution, Long Term Evolution)Network only transmits IP messages, does not transmit Other two layer datas, receiving device such as terminal equipment side can directly ignore non-IP messages, the address relevant for the communication of PC sides Analysis protocol (AddressResolutionProtocol, ARP), DynamicHost arrange agreement (DynamicHostConfigurationProtocol,DHCP)Etc. non-IP messages, equipment such as PC can sent directly at present Machine internal simulation response.
Therefore, the NTB bags for reconfiguring still can realize compared with NCM bag forms compatibility.
Embodiment one:
One kind is embodiments provided based on USB-NCM protocol data processing systems, comprising the equipment of transmission and reception Equipment, wherein, sends equipment and can include USB-NCM improved protocol sending modules, and receiving device can be improved comprising USB-NCM Agreement receiver module.
In one embodiment of the invention, transmission equipment can be PC, server, router, portable broadband without Line apparatus MIFI or panel computer, then receiving device is data card or user terminal.In another enforcement of the present invention In example, transmission equipment can be data card or user terminal, then receiving device can be PC or server, route Device, portable wideband wireless device MIFI or panel computer.
The embodiment of the present invention additionally provides a kind of communication system, as shown in figure 8, including transmission equipment 801 and receiving device 802, wherein
Transmission equipment 801, for sending the mode of operation of transmission equipment to receiving device 802, the mode of operation is referred to Position and the length information of Internet protocol IP message is write in network configuration management transport module NTB bags;Obtain outgoing The position of IP messages and length information in Ethernet bag, and will be the position of the IP messages and length information write NTB bags interior, will The NTB bags are sent to the receiving device 802;
Receiving device 802, for receiving and parsing through the NTB bags that the transmission equipment 801 sends, obtains in the NTB bags IP messages position and length information, and the position according to the IP messages and length information be sent to corresponding module and carry out Process.
In another embodiment of the present invention, send equipment 801 and USB is sent to the receiving device 802 Request USBRequest message, the USBRequest message indicate the mode of operation of the transmission equipment 801;
Receiving device 802 obtains the mode of operation of the transmission equipment 801 according to the USBRequest message.
In another embodiment of the present invention, send equipment 801 and NTB bags, the NTB bags is sent to receiving device 802 In comprising the field for indicating 801 mode of operation of transmission equipment;
Receiving device 802 is obtained according to the field of instruction 801 mode of operation of transmission equipment included in the NTB bags Take the mode of operation of the transmission equipment 801.
In another embodiment of the present invention, the transmission equipment specifically for:Detect the Ethernet of each outgoing The type of bag, if the Ethernet bag is IP messages, extracts the length information of the IP messages;Calculate the outgoing with Too net wraps the position in the NTB bags, the Ethernet bag according to position acquisition of the Ethernet bag in the NTB bags Position of the interior IP messages in the NTB bags.
It should be noted that:In an embodiment of the invention, the IP messages in Ethernet bag can apart from ethernet packet header There can be certain skew.
Therefore, the IP messages in the Ethernet bag according to the Ethernet bag is in the position acquisition in the NTB bags exist Position in the NTB bags, including:
If the skew is present, position of the IP messages in NTB bags is equal to position of the Ethernet bag in NTB and adds IP Side-play amount of the message in Ethernet bag;Or
If the side-play amount is zero, then position of the IP messages in NTB bags is just equal to Ethernet bag in NTB Position.
In embodiments of the present invention, sending equipment can include USB-NCM improved protocol sending modules, the USB- in theory NCM improved protocols sending module can logically be divided into USBRequest command process unit and USB-NCM modified NTB Structural unit.
USBRequest command process unit is used for processing the standard Request order of various usb protocols definition and non- Stereotyped command, for example, include above- mentioned information area for consulting the IP message position length information area forms of foregoing description, opening The transmission mode in domain etc..USB-NCM modified NTB structural units, for according to USBRequest command process unit and reception The negotiation result of equipment, constructs specific USB-NCMNTB bags.
In another embodiment of the present invention, transmission equipment 801 includes command process unit 8011 and NTB structural units 8012, wherein:
First command process unit 8011, for being sent to receiving device, the work by the mode of operation of the equipment of transmission Pattern refers to position and the length information for writing Internet protocol IP message in network configuration management transport module NTB bags;
NTB structural units 8012, for when the equipment of transmission and receiving device are in same mode of operation, obtaining outgoing The position of IP messages and length information in Ethernet bag, and will be the position of the IP messages and length information write NTB bags interior, will The NTB bags are sent to receiving device, so that the receiving device obtains the position of the IP messages in NTB bags and length information, And process the IP messages.
In embodiments of the present invention, the first command process unit 8011, specifically for sending to receiving device USBRequest message, the USBRequest message indicate the mode of operation of the transmission equipment, the receiving device according to The USBRequest message knows the mode of operation of transmission equipment;Or
The NTB structural units 8012, represent the transmission equipment mode of operation specifically for the write in the NTB bags Field, receiving device just can obtain the mode of operation of transmission equipment according to the field.
In another embodiment of the present invention, the NTB structural units 8012, specifically for detecting each outgoing The type of Ethernet bag, if the Ethernet bag is IP messages, extracts the length information of the IP messages;Calculate described outer Position of the Ethernet bag in the NTB bags sent out, according to position acquisition of the Ethernet bag in the NTB bags with Position of the IP messages too in net bag in the NTB bags.
It should be noted that:In an embodiment of the invention, the IP messages in Ethernet bag can apart from ethernet packet header There can be certain skew, therefore, the IP in the Ethernet bag according to the Ethernet bag is in the position acquisition in the NTB bags Position of the message in the NTB bags, including:
If the skew is present, position of the IP messages in NTB bags is equal to position of the Ethernet bag in NTB and adds IP Side-play amount of the message in Ethernet bag;Or
If the side-play amount is zero, then position of the IP messages in NTB bags is just equal to Ethernet bag in NTB Position.
In another embodiment of the presently claimed invention, USB-NCM improved protocols receiver module is located in receiving device, from patrolling Saying on volume to include USBRequest command process unit and USB-UCM modified NTB resolution units.USBRequest orders Processing unit is used for processing the standard Request order of various usb protocol definition and nonstandard quasi instruction, such as above-mentioned for consulting The IP message position length information area forms of description, the transmission mode of unlatching comprising above- mentioned information region etc..USB-NCM is improved Type NTB resolution unit, for according to USBRequest command process unit and the negotiation result of the equipment of transmission side, parsing specific USB-NCMNTB bags.
In another embodiment of the present invention, receiving device 802 includes order unit 8021 and NTB resolution units 8022, wherein:
Second command process unit 8021, for obtaining the mode of operation of transmission equipment, the mode of operation is referred in net Position and the length information of Internet protocol IP message is write in network configuration management transport module NTB bags;
NTB resolution units 8022, for receiving and parsing through the NTB bags that the transmission equipment sends, obtain in the NTB bags Comprising IP messages position and length information, and the IP messages are sent to correspondence by the position according to IP messages and length information Module processed.
Wherein, the second command process unit 8021, sends USB Request message, institute for receiving the transmission equipment The mode of operation that USBRequest message indicates the transmission equipment is stated, the transmission is obtained according to the USBRequest message The mode of operation of equipment;
Or
The NTB resolution units 8022, for parsing the NTB bags, set according to the simply transmission included in the NTB bags The field of standby mode of operation obtains the mode of operation of the transmission equipment.
In a preferred embodiment of the invention, USB-NCM improved protocols sending module is arranged on PC or service The inside of device, it is preferred that can be arranged on inside the trawl performance of PC sides;USB-NCM improved protocols receiver module can be arranged In UE side datas card terminal/smart mobile phone/FeaturePhone(It is non intelligent)Interior of mobile phone, it is preferred that data can be arranged on The platform interior of card terminal.
Communication system, transmission equipment and receiving device that the embodiment of the present invention is provided, send equipment and are sending NTB bags When, the position of IP messages and length information being write in the NTB bags and issues receiving device together, such receiving device is being received During NTB bags, position and the length information of IP messages can be directly obtained, it is not necessary to detect each Ethernet bag one by one, be saved About program resource, it is to avoid the problem that causes CPU treatment effeciencies low.
Embodiment two
One kind is embodiments provided based on USB-NCM protocol data processing methods, is applied in embodiment one Based in USB-NCM protocol data processing systems, as shown in figure 9, including:
901st, the mode of operation of the transmission equipment is sent to receiving device by transmission equipment so that the receiving device and The transmission equipment is in same mode of operation, and the mode of operation is referred to be write in network configuration management transport module NTB bags Enter position and the length information of Internet protocol IP message;
902nd, position and length information that equipment obtains IP messages in the Ethernet bag of outgoing is sent, and by the IP messages Position and length information write NTB bags it is interior, the NTB bags are sent to into the receiving device, so that the receiving device connects The NTB bags, the position of the IP messages in the acquisition NTB bags and length information is received and parsed, and processes the IP messages.
In one embodiment of the invention, the transmission equipment obtain IP messages in the Ethernet bag of outgoing position and Length information, including:
The transmission equipment detects the type of the Ethernet bag of each outgoing, if the Ethernet bag is IP messages, The length information of the IP messages is extracted then;
Position of the Ethernet bag of the outgoing in the NTB bags is calculated, according to the Ethernet bag in the NTB bags In position acquisition described in the position of IP messages in Ethernet bag in the NTB bags.
It should be noted that:In an embodiment of the invention, the IP messages in Ethernet bag can apart from ethernet packet header There can be certain skew, therefore, the IP in the Ethernet bag according to the Ethernet bag is in the position acquisition in the NTB bags Position of the message in the NTB bags, including:
If the skew is present, position of the IP messages in NTB bags is equal to position of the Ethernet bag in NTB and adds IP Side-play amount of the message in Ethernet bag;Or
If the side-play amount is zero, then position of the IP messages in NTB bags is just equal to Ethernet bag in NTB Position.
In another embodiment of the present invention, after receiving device receives the NTB bags, if it find that having untreated IP messages position and length information, then it is right to be sent to the IP messages according to the position of the IP messages and length information The module answered is processed.
In another embodiment of the present invention, the untreated IP messages position and length information include the IP reports The position and length information at least one of text is not zero.
In another embodiment of the present invention, the transmission equipment is held consultation with receiving device, and described transmission is set Standby mode of operation notified to the receiving device, including:
The transmission equipment sends USB request USBRequest message to the receiving device, described USBRequest message indicates the mode of operation of the transmission equipment;Or
Comprising the field for indicating the transmission equipment mode of operation in the NTB bags.
The embodiment of the present invention is completely corresponding with embodiment one and embodiment two, in embodiments of the present invention no detailed description Part, the description being referred in embodiment one and embodiment two.
Data processing method provided in an embodiment of the present invention, send equipment send NTB bags when, by the position of IP messages with Length information writes in the NTB bags and issues receiving device together, and such receiving device directly can be obtained when NTB bags are received Get position and the length information of IP messages, it is not necessary to detect each Ethernet bag one by one, saved program resource, it is to avoid lead The problem for causing CPU treatment effeciencies low.
It is more than some preferably embodiments of the embodiment of the present invention, anyone premise in skilled Under, without departing substantially from the present invention spirit and without departing from technical scope according to the present invention on the premise of, can to the present invention description Details make various supplements and modification.Protection scope of the present invention is not limited to the scope cited by embodiment, the protection of the present invention Scope is defined by claim.

Claims (15)

1. a kind of data processing method, it is characterised in that include:
The mode of operation of the transmission equipment is sent to receiving device by transmission equipment, so that the receiving device and the transmission Equipment is in same mode of operation, and the mode of operation is referred to and writes internet in network configuration management transport module NTB bags The position of protocol IP message and length information;
The transmission equipment obtains the position of IP messages in the Ethernet bag of outgoing and length information, and by the position of the IP messages Put with length information write NTB bags, the NTB bags are sent to into the receiving device, so that the receiving device is received simultaneously The NTB bags, the position of the IP messages in the acquisition NTB bags and length information is parsed, and processes the IP messages.
2. the method for claim 1, it is characterised in that:IP messages in the Ethernet bag of the transmission equipment acquisition outgoing Position and length information, including:
The transmission equipment detects the type of the Ethernet bag of each outgoing, if the Ethernet bag is IP messages, carries Take the length information of the IP messages;
Position of the Ethernet bag of the outgoing in the NTB bags is calculated, according to the Ethernet bag in the NTB bags Position of the IP messages in Ethernet bag described in position acquisition in the NTB bags.
3. the method for claim 1, it is characterised in that:So that the receiving device obtains the IP reports in the NTB bags The position of text and length information, and the IP messages are processed, including:
After the receiving device receives the NTB bags, if it find that have untreated IP messages position and length information, then root The IP messages are sent to into corresponding module and are processed according to the position and length information of the IP messages.
4. method as claimed in claim 3, it is characterised in that:The untreated IP messages position and length information include institute The position and length information at least one for stating IP messages is not zero.
5. the method as described in Claims 1-4 is arbitrary, it is characterised in that:The transmission equipment is by the work of the transmission equipment Operation mode notified to the receiving device, including:
The transmission equipment sends USB request USBRequest message, the USB to the receiving device Request message indicates the mode of operation of the transmission equipment;Or
Comprising the field for indicating the transmission equipment mode of operation in the NTB bags.
6. a kind of transmission equipment, it is characterised in that include:
First command process unit, for sending the mode of operation of the transmission equipment to receiving device, the mode of operation is Refer to position and the length information for writing Internet protocol IP message in network configuration management transport module NTB bags;
NTB structural units, for when the transmission equipment and receiving device are in same mode of operation, obtaining the ether of outgoing The position of IP messages and length information in net bag, and will be the position of the IP messages and length information write NTB bags interior, will be described NTB bags are sent to receiving device, so that the receiving device obtains the position of the IP messages in NTB bags and length information, and locate Manage the IP messages.
It is 7. as claimed in claim 6 to send equipment, it is characterised in that:
The first command process unit, disappears specifically for sending USB request USB Request to receiving device Breath, the USB Request message indicate the mode of operation of the transmission equipment.
It is 8. as claimed in claim 6 to send equipment, it is characterised in that:
The NTB structural units, indicate the field of the transmission equipment mode of operation specifically for the write in the NTB bags.
9. the transmission equipment as described in claim 6 to 8 is arbitrary, it is characterised in that:
The NTB structural units, the type of the Ethernet bag specifically for detecting each outgoing, if the Ethernet bag is IP messages, then extract the length information of the IP messages;Position of the Ethernet bag of the outgoing in the NTB bags is calculated, IP messages in the Ethernet bag according to position acquisition of the Ethernet bag in the NTB bags are in the NTB bags Position.
10. a kind of receiving device, it is characterised in that include:
Second command process unit, for obtaining the mode of operation of transmission equipment, the mode of operation is referred in network configuration pipe Position and the length information of Internet protocol IP message is write in reason transport module NTB bags;
NTB resolution units, for receiving and parsing through the NTB bags that the transmission equipment sends, are wrapped in obtaining the NTB bags The position of the IP messages for containing and length information, and the position according to IP messages and length information the IP messages are sent to it is corresponding Module is processed.
11. receiving devices as claimed in claim 10, it is characterised in that:
The second command process unit, specifically for receiving the USB request USB that the transmission equipment sends Request message, the USB Request message indicate the mode of operation of the transmission equipment, according to the USB Request Message obtains the mode of operation of the transmission equipment;
Or
The NTB resolution units, specifically for parsing the NTB bags, according to the instruction transmission included in the NTB bags The field of equipment mode of operation obtains the mode of operation of the transmission equipment.
12. a kind of communication systems, it is characterised in that include:
Transmission equipment, for the mode of operation of the transmission equipment is sent to receiving device, the mode of operation is referred in net Position and the length information of Internet protocol IP message is write in network configuration management transport module NTB bags;Obtain the ether of outgoing The position of IP messages and length information in net bag, and will be the position of the IP messages and length information write NTB bags interior, will be described NTB bags are sent to the receiving device;
Receiving device, for receiving and parsing through the NTB bags that the transmission equipment sends, the IP messages in the acquisition NTB bags Position and length information, and the position according to the IP messages and length information be sent to corresponding module and processed.
13. communication systems as claimed in claim 12, it is characterised in that
The transmission equipment is specifically for sending USB request USB Request message, institute to the receiving device State the mode of operation that USB Request message indicates the transmission equipment;
The receiving device is specifically for the mode of operation according to the USB Request message acquisition transmission equipment.
14. communication systems as claimed in claim 12, it is characterised in that:
The transmission equipment is set comprising described transmission of instruction in the NTB bags specifically for sending NTB bags to the receiving device The field of standby mode of operation;
The receiving device is specifically for the field according to the instruction transmission equipment mode of operation included in the NTB bags Obtain the mode of operation of the transmission equipment.
15. communication systems as described in claim 12 to 14 is arbitrary, it is characterised in that:The transmission equipment is specifically for detection The type of the Ethernet bag of each outgoing, if the Ethernet bag is IP messages, extracts the length letter of the IP messages Breath;Position of the Ethernet bag of the outgoing in the NTB bags is calculated, according to the Ethernet bag in the NTB bags Position of the IP messages in Ethernet bag described in position acquisition in the NTB bags.
CN201210587925.1A 2012-12-28 2012-12-28 Data processing method, sending device, receiving device and communication system Active CN103905147B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210587925.1A CN103905147B (en) 2012-12-28 2012-12-28 Data processing method, sending device, receiving device and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210587925.1A CN103905147B (en) 2012-12-28 2012-12-28 Data processing method, sending device, receiving device and communication system

Publications (2)

Publication Number Publication Date
CN103905147A CN103905147A (en) 2014-07-02
CN103905147B true CN103905147B (en) 2017-03-22

Family

ID=50996314

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210587925.1A Active CN103905147B (en) 2012-12-28 2012-12-28 Data processing method, sending device, receiving device and communication system

Country Status (1)

Country Link
CN (1) CN103905147B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107851072B (en) * 2015-07-23 2021-03-12 索尼公司 Receiving apparatus, transmitting apparatus, and data processing method
CN106656853B (en) * 2016-12-27 2019-08-16 盛科网络(苏州)有限公司 The method and device of traffic flow information is extracted under Ethernet chip low-delay mode

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1913470A (en) * 2006-06-30 2007-02-14 华为技术有限公司 Information transmitting method and system between Ethernet equipment
CN101650686A (en) * 2009-05-19 2010-02-17 上海闻泰电子科技有限公司 Developing and using method of intelligent mobile phone based on Ethernet Over USB
CN101795146A (en) * 2010-03-10 2010-08-04 北京航空航天大学 Multi-frequency-band cognitive network node used for frequency spectrum monitoring
CN102474546A (en) * 2009-08-10 2012-05-23 摩托罗拉解决方案公司 Methods and apparatus for communicating a push-to-talk state to a communication device
CN102572585A (en) * 2010-12-08 2012-07-11 中国科学院声学研究所 Method and system for high speed and parallel data reception and processing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6976174B2 (en) * 2001-01-04 2005-12-13 Troika Networks, Inc. Secure multiprotocol interface

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1913470A (en) * 2006-06-30 2007-02-14 华为技术有限公司 Information transmitting method and system between Ethernet equipment
CN101650686A (en) * 2009-05-19 2010-02-17 上海闻泰电子科技有限公司 Developing and using method of intelligent mobile phone based on Ethernet Over USB
CN102474546A (en) * 2009-08-10 2012-05-23 摩托罗拉解决方案公司 Methods and apparatus for communicating a push-to-talk state to a communication device
CN101795146A (en) * 2010-03-10 2010-08-04 北京航空航天大学 Multi-frequency-band cognitive network node used for frequency spectrum monitoring
CN102572585A (en) * 2010-12-08 2012-07-11 中国科学院声学研究所 Method and system for high speed and parallel data reception and processing

Also Published As

Publication number Publication date
CN103905147A (en) 2014-07-02

Similar Documents

Publication Publication Date Title
CN102739473B (en) Network detecting method using intelligent network card
CN103856361B (en) Realize the method and system of remote debugging
CN107613583B (en) Distributed wireless sensor network data summarizing gateway
CN101582895A (en) EPA-based embedded industrial wireless WIA-PA gateway
CN107787025A (en) Method, control terminal and the system of equipment access network
CN102946347A (en) Method and device for accelerating to process local data packet by using Linux system
CN207766561U (en) A kind of system of control terminal and equipment access network
CN111294235B (en) Data processing method, device, gateway and readable storage medium
CN103384274B (en) Public network based on http agreement connects the communication means of inner net computer
CN106131028B (en) A kind of data transmission method of Free-port communication gateway
CN104580187B (en) A method of realizing that the external device of different MODULEBUS agreements is interacted with server
US20180234535A1 (en) Method and apparatus for communication
CN107707557A (en) Anonymous access method, apparatus, the network equipment and readable storage medium storing program for executing
CN103747061B (en) A kind of dynamic environment monitoring system and its operation method of supporting many networkings to access
CN102118361B (en) Method and device for controlling data transmission based on network protocol
CN107547430A (en) A kind of file transmitting method and device
CN102377505A (en) Serial port-based IPMI (Intelligent Platform Management Interface) package transmission method
CN103905147B (en) Data processing method, sending device, receiving device and communication system
CN107623752A (en) Network management and device based on link layer
CN103796191B (en) Method, device and the terminal of data are sent to user terminal
CN103823721B (en) A kind of method and apparatus of interprocess communication
CN101119374A (en) iSCSI communication method and corresponding initiation equipment and objective equipment
CN110337103A (en) A kind of connectionless data hided transmission method based on 802.11 agreements
CN103731345B (en) A kind of network message processing method and equipment
CN104768176B (en) The method, apparatus that sFlow is sampled in wireless network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20140702

Assignee: Shanghai Li Ke Semiconductor Technology Co., Ltd.

Assignor: Leadcore Technology Co., Ltd.

Contract record no.: 2018990000159

Denomination of invention: Data processing method, sending device, receiving device and communication system

Granted publication date: 20170322

License type: Common License

Record date: 20180615

EE01 Entry into force of recordation of patent licensing contract