CN100361541C - Efficient early protocol detecting method - Google Patents

Efficient early protocol detecting method Download PDF

Info

Publication number
CN100361541C
CN100361541C CNB008154457A CN00815445A CN100361541C CN 100361541 C CN100361541 C CN 100361541C CN B008154457 A CNB008154457 A CN B008154457A CN 00815445 A CN00815445 A CN 00815445A CN 100361541 C CN100361541 C CN 100361541C
Authority
CN
China
Prior art keywords
byte
content
configuration information
communication equipment
message part
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.)
Expired - Fee Related
Application number
CNB008154457A
Other languages
Chinese (zh)
Other versions
CN1437829A (en
Inventor
N·阿布罗尔
M·利奥依
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.)
Qualcomm Inc
Original Assignee
Qualcomm Inc
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 Qualcomm Inc filed Critical Qualcomm Inc
Publication of CN1437829A publication Critical patent/CN1437829A/en
Application granted granted Critical
Publication of CN100361541C publication Critical patent/CN100361541C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/14Relay systems
    • H04B7/15Active relay systems
    • H04B7/204Multiple access
    • H04B7/216Code division or spread-spectrum multiple access [CDMA, SSMA]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/324Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the data link layer [OSI layer 2], e.g. HDLC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)

Abstract

A method and system that detects protocol and configuration messages in a PPP packet without having to unframe the entire packet. The method includes a communication device that receives a plurality data frames, wherein the communication device is capable of ascertaining the beginning of an information portion within the received frames. The communications device detects whether the information portion contains configuration information, such as protocol and configuration messages of a predetermined type. In a first embodiment, the detection is achieved by the communication device unescaping the contents of a plurality of bytes and determining whether the escaped bytes contains the desired configuration information. In a second embodiment, the communication device determines whether the contents of a particular byte contain the desired configuration information, in escaped or unescaped form, and the communication device continues to sequentially process the bytes within the information portion until the bytes typically containing the desired configuration information are processed.

Description

The configuration information of predefined type is carried out the method and system of earlier detection
Background of invention
One, invention field
The present invention generally speaking relates to wireless communication field.More specifically say, the present invention relates to a kind ofly need not separate frame and carry out the method and system of the novelty that early protocol and configuration messages detect entire PP P grouping.
Two, the description of correlative technology field
Internet user's history does not have the growth in prostatitis and the recent innovation of radio communication and computer-related technologies is paved the way for mobile computing.In fact, popularizing of mobile computing proposes higher requirement to current internet basic arrangement: provide more supports to the mobile subscriber.Satisfying these requirements and providing the key component of the support of necessity to the user is the use of code division multiple access (CDMA) technology in wireless communication system.
CDMA announces in July, 1993, title is " travelling carriage-base station compatibility standard of dual mode wideband spread spectrum cellular ", digital RF (RF) the channelizing technology of definition is quoted for reference in the telecommunications industry association/electronic industries association interim standard-95 (TIA/EIA IS95) at this.The wireless communication system that utilizes this technology to signal of communication distribute the sign indicating number of a uniqueness and on one public (broadband) apread spectrum bandwidth to these signal of communication spread spectrums.As long as the receiving equipment in the cdma system has correct sign indicating number, then can be successfully from other input of the parallel transmission of identical frequency band and select its signal of communication.The use of CDMA increases the system business capacity, and the minimizing of total call quality and noise is had improvement, and provides a reliable transmission mechanism for data business volume.
Fig. 1 illustrates the elementary cell of such wireless data communication system 100.Have the skilled worker of general technical ability will readily appreciate that, for various standards known in the art, can revise increases or proposes these unit or its interface and do not limit their scope or function.System 100 allows mobile terminal device, and TE2 equipment 102 (for example, the terminal equipment such as above-knee or palmtop PC) is communicated by letter with interworking function (IWF) 108.System 100 comprises Wireless Telecom Equipment, MT2 equipment 104 (for example, radio telephone) and base station/mobile switching centre (BS/MSC) 106.IWF108 is as the gateway between wireless network and other nets (such as public switch telephone network or wired Packet Data Network based on internet or interior special access of netting is provided).
As shown in Figure 1, IWF108 is coupled to BS/MSC106 by L interface.Normal and the common location of BS/MSC106 of IWF108.TE2 equipment 102 is coupled to MT2 equipment 104 electronically by the Rm interface.MT2 equipment 104 is communicated by letter with BS/MSC106 by wave point Um.TE2 equipment 102 can be integrated into individual equipment with MT2 equipment 104 or separate, and resembles in a mounted mobile telephone equipment, and kneetop computer is a TE2 equipment 102 and transceiver is a MT2 equipment 104.Be important to note that as shown in Figure 2, the combination of TE2 equipment 102 and MT2 equipment 104 regardless of being integration or separating, is commonly referred to travelling carriage (MS) 103.
Control, manage or promote the different aspect of radio communication may obtain other support by using various well-known agreements.For example, the lifeline Internet Protocol (IP) of internet basic arrangement has been quoted in radio communication to adapt to the directed business of grouping.The addressing and the Route Selection of grouping (packet) between IP agreement regulation master computer, announce in September, 1981, title is middle definition of request to be evaluated 791 (RFC791) of " the internet project agreement explanation of Internet Protocol Defence Advanced Research Projects Agency ", and is for reference in this citation.
The IP agreement is that data encapsulation is become the network layer protocol of IP grouping to send.Addressing information is attached on the letter head of grouping.IP letter head (for example, IP version 4) contains 32 bit addresses that identification sent and received main frame.These addresses are used for being the path of minute group selection by network by intermediate router, its final destination at this place, grouping head for target address.When originators was known the IP address in purpose place, the grouping that the IP agreement allows arbitrary in the world the Internet nodes to start sent arbitrary in the world other the Internet nodes to.
Another agreement known that has been used for wireless communication system is the PPP(Point-to-Point Protocol) agreement, and this agreement also provides the internet to insert except other things.Ppp protocol announces that in July, 1994 title is for commenting thin description in the request to be evaluated 1661 (REC168) of " PPP(Point-to-Point Protocol) ", and is for reference in this citation.
Basically, a kind of method that is used on point-to-point link, transmitting multiprotocol datagram of ppp protocol regulation, contain three critical pieces: a kind of method that on serial link, encapsulates the multi-protocol data bag, the LCP (LCP) that data link connects is set up, tests, disposes and kept to a kind of being used for, and a kind of Network Control Protocol (NCP) that is used for setting up and disposing the heterogeneous networks layer protocol.
In the effort that many business are provided, various standards have been developed to be applicable to the wireless data transmission between TE2 equipment 102 and IWF108 on wireless communication system.For example, announce in February, 1998, title defines and stipulate a component group data loading service for the TIA/EIA IS-707.5 standard of " the data service option of wide-band spread spectrum system: Packet data service " to supporting the requirement of packet data transmission ability in the TIA/EIA IS-95 system, and is for reference in this citation.Similarly, title also defines the requirement of the packet data transmission support in the TIA/EIA IS-95 system for the TIA/EIAIS-707-A.9 standard of " the data service option of spread spectrum system: Packet data service ", these two standards were announced in March, 1999, and are for reference in this citation.
These standards provide some to can be used to carry out the packet data service option of communicating by letter between TE2 equipment 102 and IWF108 by BS/MSC106.In the process of doing like this, IS-705 introduces network model, and this model refinement is to the packet data protocol requirement of Rm interface, Um Interface and L interface.On this model, provide two ppp links of separating in data link layer: the first ppp link (PPP R) (that is) data link layer, by the Rm interface, the second ppp link (PPP of 104 of TE2 equipment 102 and MT2 equipment be provided U), be independent of first ppp link, (that is, by Um and L interface) between MT2 equipment and IWF108 data link layer is provided.
Separate, independently ppp link helps to support " transparent mobility ", that is, TE2 equipment 102 should experience seamless and transparent service, no matter time and current I WF108 attachment point thereof.Definite, TE2 equipment 102 should not be subjected to the influence of change in location.For example, TE2 equipment 102 should not come across the influence that the PPP on the Um link consults again, such as when MT2 equipment 104 is attempted to be attached to different IWF108.Like this, the model running of network is to separate PPP RLink and PPP ULink is to prevent the variable effect Rm link on the Um link.In other words, PPP ULink can be consulted again and need not be forced PPP RLink is consulted again.
Fig. 2 illustrates the protocol stack in each entity of IS-707.5 network model.The Far Left of Fig. 2 is a protocol stack, illustrates with common vertical format, describes the protocol layer that runs on the TE2 equipment 102 (for example, portable terminal, above-knee or palmtop PC).TE2 equipment 104 protocol stacks be shown with the Rm interface on MT2 equipment 104 protocol stacks logically link to each other.MT2 equipment 104 be shown with Um Interface on the BS/MSC106 protocol stack logically link to each other.The BS/MSC106 protocol stack be shown successively with L interface on the IWF108 protocol stack logically link to each other.
By example, the agreement operation of describing among Fig. 2 is as follows: the PPP on the TE2102 equipment R208 pairs of block encodings of agreement from upper-layer protocol 204 and network layer IP agreement 206.PPP RAgreement 208 sends grouping with TIA/EIA-232-F agreement 210 by the TIA/EIA-232-F compatible port of Rm interface on the MT2 equipment 104 of operation TIA/EIA-232-F agreement 212 then.The TIA/EIA-232-F standard is announced definition in " data terminal equipment and utilize interface between the data circuit terminating equipment of serial binary data interchange " in October, 1997, for reference in this citation.Be understandable that, there are other standards known to the craftsman of common skill or agreement to can be used to define transmission in this area by the Rm interface, for example, other Rm interface standards that are suitable for comprise that it is for reference that " the bluetooth compliant explanation version 1.0A core " announced " USB (USB) specification (version 1.1) " that announce in September, 1998 and in July, 1999 quoted from these two standards at this.
TIA/EIA-232-F agreement 212 on the MT2 equipment 104 receives from the grouping of TE2 equipment 102 and sends PPP to RAgreement 213.As mentioned above, PPP R213 pairs of groupings that are encapsulated in the PPP frame of agreement are separated frame also typically, finish when data connect, and agreement 213 is to PPP RAgreement 217 transmits grouping.Agreement 217 is used for to being arranged in the equal PPP of IWF108 to the framing of dividing into groups again basically USend.Radio link protocol (RLP) 216 and IS-95 agreement 214 are widely known by the people in the art, are used for by the PPP frame of Um Interface to BS/MSC106 transmission packet encapsulation.RLP agreement 216 defines in following two standards: announce in February, 1998, title is to announce the IS-702 standard and in the March, 1997 of " the data service option of wide-band spread spectrum system: radio link protocol ", title is the IS-707-A.2 standard of " the data service option of spread spectrum system: radio link protocol ", and it is for reference to quote from these two standards at this.
Corresponding RLP agreement 220 and the IS-95 agreement 222 among the BS/MSC106 transmit grouping to send by the relay layer protocol 224 of L interface on IWF108 to relay layer protocol 224.PPP UAgreement 232 is then separated frame and they is sent to network layer protocol IP230 the grouping that has received, and 230 send them upper-layer protocol 228 to or they are submitted to the internet successively.
As mentioned above, data link connects when setting up, PPP RAgreement 213 is to PPP UAgreement 217 transmits grouping.RFC 1661 provides must be at each ppp link (that is PPP, RAnd PPP U) go up exchange and LCP (LCP) grouping consulted to set up, configuration and tests data-link connect.Definite, these LCP groupings comprise the configuring request of consulting variety of option, configure-ack, and configuration-Nak, agreement refusal and configure-reject message and following operation: configuration request packet is used for consulting config option.Have only each config option in the configuration request packet that has received to discern and just send the configure-ack grouping when all value can be accepted.Configuration-Nak grouping is that the config option of asking in configuration request packet can be discerned but transmission when containing unacceptable value, and configuration-Nak Option Field is full of the value that unacceptable configuring request config option and suggestion can be worked.When the config option of asking in the configuring request comprises the unapprehended config option of receiver, send the configure-reject grouping, the configure-reject Option Field contains unrecognized configuring request config option.
In case exchange LCP grouping, link options negotiated and set up data link and connect must be set up network layer and be connected between TE2 equipment 102 and IWF108.Such connection realizes by agreement 206,212,218,230, and these agreements comprise, for example, and the IP agreement.Negotiation, configuration, activation and the deexcitation of the IP agreement on the ppp link two ends provided by internet protocol control protocol (IPCP).IPCP is a part that is included in Network Control Protocol (NCP) family in the ppp protocol, announces that in May, 1992 title has description in the request to be evaluated (RFC) 1332 of " PPP internet protocol control protocol (IPCP) ", for reference in this citation.
The IPCP agreement is used the config option negotiation mechanism identical with the LCP agreement, and, resembling very much the LCP agreement, ipcp negotiation all occurs separately Rm interface and Um Interface.Describe as RFC1661, the configure-ack grouping contains the pick list that transmit leg is confirmed.MT2 equipment 104 monitors configure-ack grouping that receive and transmission by Rm and Um Interface and the value of each option is stored in the memory device (such as computer memory), all config options have the default value of RFC1661 definition, use these default values when not consulting corresponding config option.It should be noted that the config option default value can be defined by other RFC, such as, for example, announce that title is the RFC1877 of " the PPP internet protocol control protocol expansion of name server address " December nineteen ninety-five; For reference in this citation.
As above described about network model can be consulted PPP again ULink and need not force and consult PPP again RLink.For keeping this isolation between Rm and Um Interface, MT2 equipment 104 is separated frame and framing again to the PPP grouping that receives usually.Unless the grouping that is received by MT2 equipment 104 will send the execution upper-layer protocol in the MT2 equipment 104 to, grouping is separated frame just for carrying out framing again to PPP, is used for next sending to the PPP peer protocol.Even the framing of frame/again also appears separating when grouping does not need further processing in the MT2 equipment 104.For example, call out when originally setting up, LCP is negotiable with the config option identical with the Rm interface to Um with IPCP mechanism.As long as config option is consistent, all PPP information groupings (with respect to configuration packet) can " by " one by one interface, separate the framing of frame/again and need not 104 pairs of groupings of MT2 equipment.Significantly, under the situation of config option unanimity, what MT2 equipment 104 was carried out too many unwanted PPP grouping separates frame/framing operation again.Such operation has adverse effect to the processing resource of MT2 equipment 104 with by the stand-by period.
Yet, if config option changes, must consult them again, this helps to PPP grouping and separates frame or framing again.For example, because MT2 equipment 104 is these facts that move, it can move to the zone by the IWF108 service that is different from original I WF108.When this happens, MT2 equipment 104 is professional to new IWF108 searching with " switching ".This switching needs the negotiation again of special LCP and IPCP config option on the intervention of MT2 equipment 104 and the Um Interface.If (for example contain config option message, configuring request, configure-ack, configuration-Nak etc.) obtain simply " by " and the content of grouping is not separated frame or inspection, meeting in group forces to carry out the end-to-end synchronous again of whole link, this independence that can finish Rm and Um link synchronously.
Therefore, required is, a kind of energy need not be separated frame and carry out novel effective method and the system that early protocol and configuration messages detect the PPP grouping.
Brief summary of the invention
The present invention need not separate by providing a kind of that frame detects agreement in the PPP grouping and the method and system of configuration messages is handled above-mentioned needs to whole group.
With as embody and method and system that the principle of the present invention of wide in range description is consistent comprises the communication equipment that receives a plurality of Frames herein, wherein, communication equipment can be determined the initial of message part that the frame of reception is interior.Whether communication equipment detection signal part contains configuration information, such as the agreement and the configuration messages of predefined type.In first embodiment, detection is to make the content of a plurality of bytes go the byte of escape and definite escape whether to contain required configuration messages by communication equipment to realize.In a second embodiment, whether the content that communication equipment is determined specified byte is with escape or go the form of escape to contain required configuration information, communication equipment continues to handle according to the order of sequence byte in message part, obtain handling or definite information does not exist up to the byte that typically contains required configuration information.
The accompanying drawing summary
Accompanying drawing combines and constitutes the part of specification with specification, one embodiment of the invention are described and with describing target of the present invention, advantage and principle are described.In the accompanying drawings:
Fig. 1 is a high-level block diagram of describing the various unit of wireless communication system.
Fig. 2 example is described the protocol stack of wireless communication system.
Fig. 3 is a flow chart of describing first embodiment of invention.
Fig. 4 A and Fig. 4 B are the flow charts of describing the second embodiment of the present invention.
Fig. 5 describes the general format that is encapsulated in the grouping in the PPP frame.
Preferred embodiment is described in detail
The following of embodiments of the invention describes in detail with reference to their accompanying drawing of explanation.Other embodiment are possible and can break away from the spirit and scope of the present invention ground to the embodiment correct.Therefore, below detailed description does not limit the present invention.On the contrary, scope of the present invention is defined by accompanying Claim.
The people that common skill is arranged in this area is apparent that as described below, one embodiment of the invention can have multiple enforcement, comprise entity shown in the figure (that is, TE2 equipment 102, MT2 equipment 104, BS/MSC106 and IWF108) software, realize in firmware and the hardware.Be used for implementing actual software sign indicating number of the present invention or control hardware and do not limit the present invention.Thereby, actual software sign indicating number or nextport hardware component NextPort ground be will not refer in particular to and operation of the present invention and performance described.Non-refering in particular to like this is acceptable, because be apparent that, has the people of common skill can come design software and control hardware to implement embodiments of the invention based on description herein in this area.
Because embodiment described herein runs in the PPP grouping that is encapsulated in the HDLC frame, Fig. 5 illustrates the various attributes of such grouping.Initial (with not holding) of frame is to become frame flag to delimit by 1 byte that is expressed as hexadecimal character " 7E ".Two following byte representation protocol address and control fields, they typically are appointed as " 03 " of hexadecimal " FF " respectively to standard P PP grouping.Ensuing two byte representation protocol types, such as, for example, the LCP agreement is expressed as hexadecimal character " CO " and " 21 "; The IPCP agreement is expressed as hexadecimal character " 80 " and " 21 "; Or Van Jacobson agreement compressive state, be expressed as hexadecimal character " 00 " (may compress) and " 2D ".Subsequent byte indication code or configuration messages such as configuring request, are expressed as hexadecimal character " 01 "; Configure-ack is expressed as hexadecimal character " 02 "; Or configuration-Nak, be expressed as hexadecimal character " 03 ".
1, first embodiment
Fig. 3 is a flow chart of describing the first embodiment of the present invention, and is definite, and Fig. 3 describes MT2 equipment 104 in detail and is used for carrying out the operation that early protocol in the PPP frame and configuration messages detect.
Among the step S305, MT2 equipment 104 at first scans input traffic is expressed as hexadecimal character 7E with detection one-tenth frame flag.Therefore this mark is delimited frame, can be used for representing to be encapsulated in the initial of grouping in the PPP frame and/or end not.Do not become frame flag if MT2 equipment 104 detects " 7E ", then shown in step S306, continue scanning input data, up to detecting mark.Become frame flag in case MT2 equipment 104 detects " 7E ", enter step S310.
After detecting " 7E " mark, whether still MT2 equipment 104 determine next byte " 7E " mark in step 310.If MT2 equipment 104 is skipped this specified byte shown in step S320, and return step S310 with next byte is carried out " 7E " labeled test.If next byte is not " 7E " mark, MT2 equipment 104 enters step S315.Be noted that input traffic can contain continuous " 7E " mark, as under the situation of back-to-back grouping, " 7E " mark of the not end of expression frame adjoins with initial follow-up " 7E " mark of the new frame of expression.Step S310 moves from leaching into frame flag with S320, and where the message part that makes MT2 equipment 104 can make a clear distinction the framing grouping starts from.
Notice that next byte is not " 7E " mark, but information byte, X byte MT2 equipment 104 " goes escape " in step S315 below, the wherein relative position of the X correspondence information of in the framing grouping, searching.Because it is as well known in the art, when with asynchronous, when the framing of HDLC and so on (that is, according to RFC1662) sends ppp protocol, this agreement utilizes " escape technology " to shelter some characters that also are used as special control character in the message part of grouping, so will carry out escape.Such character also comprises aforementioned " 7E " mark except that comprising escape mark " 7D ".When meeting with these characters in the message part of framing grouping, the escape technology is filled escape mark " 7D " and is changed character to offset its controlled function before character.Therefore, detect the searching of some agreements or configuration information from input traffic, the byte of the necessary number of information that MT2 equipment 104 is searched visit in step S315 goes escape to disclose its true identity.After going an escape X byte, MT2 equipment 104 is gone into step S325.
In step S325, MT2 equipment 104 determines whether X byte of escape does not comprise standard P PP address character " FF " and control field character " 03 ".Although typically comprising first and second bytes of the message part of PPP grouping, these characters (see that for example, Fig. 5), these characters may be compressed out grouping, thereby influence the location of the information byte of back.Therefore, MT2 equipment 104 must check whether these characters are included in the byte of going escape of grouping so that do necessary adjustment later on.If character " FF " and " 03 " are not included in the byte of escape (that is, character " FF " and " 03 " are compressed out), MT2 equipment 104 checks in step S330 whether these bytes contain the agreement or the configuration messages information of just being searched.If then MT2 equipment 104 is transmitted to MT2 equipment 104 deframers to whole group in step S340, so that grouping is separated frame and from the processing of the detected information representation of the origin of an incident.If byte does not contain the information of searching, MT2 equipment 104 sends to MT2 equipment 104 to whole group and sends part to obtain transmitting by relevant interface, shown in step S345.
Get back to step S325, if go X byte of escape to comprise " FF " and " 03 ", MT2 equipment 104 in step S335 by going escape to compensate in addition 2 bytes outside X the byte of appointment.This adjusts for comprising " FF " and " 03 " character in X the byte.MT2 equipment 104 goes X+2 the byte of escape to submit to step S330 then, and as mentioned above, it checks whether the byte of escape contains information needed in step S330.If then MT2 equipment 104 is transmitted to MT2 equipment 104 deframers to whole group in step S340.If byte does not contain the agreement or the configuration messages information of searching, MT2 equipment 104 sends to MT2 equipment 104 to whole group and sends part to transmit grouping by relevant interface in step S345.
For the operation of explanation present embodiment, suppose that the earlier detection to the LCP protocol packet needs.The LCP protocol specification is to provide in the protocol information part of PPP framing grouping.As shown in Figure 5, the length of protocol information is 2 bytes, typically occupies the byte location 3 and 4 of the message part of standard P PP framing grouping.The scanning input traffic and distinguish information byte and where start from (being step S305, S310 and S320) after, shown in step S315,104 pairs of ensuing two bytes of MT2 equipment (that is, X equals 2) are gone escape.If, in step S325, two bytes do not comprise " FF " and " 03 " character, then MT2 equipment 104 checks whether these bytes contain the LCP information of just being searched, if, then MT2 equipment 104 is transmitted to MT2 equipment 104 deframers to whole group in step S340, so that grouping is separated frame and from the processing of origin of an incident LCP protocol information requirement, if byte does not contain LCP information, MT2 equipment 104 sends to MT2 equipment 104 to whole group and sends part to obtain forwarding by relevant interface, shown in step S345.
On the other hand, be " FF " and " 03 " if go two bytes of X byte of escape, then MT2 equipment 104 in step S335 by going escape to compensate to ensuing two bytes except two bytes.MT2 equipment 104 goes four the escape byte all to submit to step S330 then, and in step 330, as mentioned above, it checks whether these bytes contain the LCP information of just being searched.If then MT2 equipment 104 is transmitted to MT2 equipment 104 deframers to whole group in step S340.If these bytes do not contain LCP information, then MT2 equipment 104 sends to MT2 equipment 104 to whole group and sends part in step S345.
Because above-described embodiment, can not separate frame and detect all titles information that the grouping of PPP framing contains whole group, notice that this point is important.For example, only need to adjust the X value simply in step S315, this embodiment can detect such as protocol information, configuration messages, the PPP information of packet ID etc.Like this, this embodiment need not whole group is separated frame and detects agreement and configuration messages in the PPP stream of packets.On the contrary, by some bytes in the message part of grouping are gone escape, this embodiment provides a kind of does not need to carry out that the framing operation of frame/is again separated in unnecessary PPP grouping and the system and method for detection protocol and configuration messages effectively.
2, second embodiment
Fig. 4 A and Fig. 4 B are the flow charts of describing the second embodiment of the present invention.This embodiment by the scanning input traffic and mechanically stage by stage the inspection message byte detect agreement and the configuration messages that the message part of PPP framing grouping contains, wherein do not need frame is separated in grouping.The form of given PPP framing grouping, as shown in Figure 5, the content of the 1 byte address field that the message part of phase I special detection grouping contains.Second stage detects the content of 1 byte control field, and control field is after address field.Correspondingly, this embodiment can preposition these stages, and detect the content of all information fields, and up to the not end of message part, for example, the phase III can be detected the content of 2 byte protocol fields, and protocol fields is after control field.Yet because the order characteristics of PPP framing packet configuration and present embodiment, the information that contains in the follow-up field of frame normally detects after handling and detecting the information that contains in the field of front.
As the representational example of present embodiment, suppose that control field contains the information that will search.For visiting this field and detect relevant information from input traffic, MT2 equipment 104 must at first be discerned message part initial of PPP grouping, visits and detect the information in the address field then.After handling address field information, MT2 equipment 104 is just prepared visit and is detected control field information.
Definite, the phase I of Fig. 4 A explanation present embodiment.In step S405, MT2 equipment 104 at first scans input traffic to be detected as frame flag " 7E ".After detecting " 7E " mark, MT2 equipment 104 determines at step S410 whether next byte also is " 7E " mark.If MT2 equipment 104 enters next byte, shown in step S415, and return step S410 so that " 7E " labeled test is used for next byte.If next byte is not " 7E " mark, MT2 equipment 104 enters step S420.About as described in first embodiment, step S410 and S415 operation to be to leach into frame flag as top, makes MT2 equipment 104 can discern message part initial of PPP framing grouping.
In case MT2 equipment 104 can be discerned the start information part, it utilizes the form of PPP grouping to detect information stage by stage.As mentioned above, the phase I of present embodiment is to detect character " FF ".
In step S420, MT2 equipment 104 checks whether first information byte is escape character (ESC) " 7D ".As implied above, the escape technology is packed in escape mark " 7D " before some characters and shelters them.If first information byte is not " 7D " (that is, the not escape of first information byte), MT2 equipment 104 checks in step S425 whether first information byte is " FF " character, (that is, to go the escape form).If MT2 equipment 104 enters step S435.If first information byte is not " FF " character, whether MT2 equipment 104 determines to also have in the framing grouping information to search in step S426.If have, MT2 equipment 104 enters the next stage among the step S427.If there is not other information needed, MT2 equipment 104 sends to MT2 equipment 104 to whole group and sends part to transmit grouping by relevant interface in step S428.
Get back to step S420, if first information byte is " 7D " (that is, first information byte is escape), MT2 equipment 104 checks in step S430 whether next byte is " FF " character (that is hexadecimal character " DF ") of escape form.If MT2 equipment 104 enters step S435.If next byte is not " DF " character, MT2 equipment 104 enters step 426, and as mentioned above, MT2 equipment 104 checks whether also have information needed.If have, MT2 equipment 104 enters the next stage among the step S427.If there is not other information needed, MT2 equipment 104 sends to MT2 equipment 104 to whole group and sends part to transmit grouping by relevant interface in step S428.
If, in step S430, next byte be escape form " FF " character (promptly, hexadecimal character " DF "), MT2 equipment 104 enters step S435, and it checks whether also have information to search, if have, MT2 equipment 104 enters the next stage among the step S427.If there is not other information needed, MT2 equipment 104 is transmitted to MT2 equipment 104 deframers to whole group in step S437, so that grouping is separated frame and from the processing of the detected information of origin of an incident indication.
After finishing the phase I (that is, the detection of " FF " character in the protocol address field) of embodiment, MT2 equipment 104 must detect " 03 " character in the control field with the congruence ground effort of representative example.As above illustrated, this detection is called the second stage detection of this embodiment and in Fig. 4 B description is arranged.
In case finish the phase I shown in step S427, MT2 equipment 104 determines once more in step S440 whether next byte is " 7D " character.As mentioned above, the character in the relevant information field has obtained using under the situation of escape and has thisly determined.If next byte is not " 7D " character, MT2 equipment 104 determines in step S445 whether byte is " 03 " character (that is, removing the escape form).If MT2 equipment 104 enters step S435, as previously mentioned bright in this step, MT2 equipment 104 determines whether the other information of just being searched, and if have, MT2 equipment 104 enters next stage, according to step S427.Otherwise MT2 equipment 104 is transmitted to MT2 equipment 104 to whole group and sends part to transmit grouping by relevant interface in step S428.
Get back to step S440, if MT2 equipment 104 determines that following byte is " 7D " character, it checks in step S450 whether subsequent byte is " 03 " character (that is hexadecimal character " 23 ") of escape form.If subsequent byte is not " 23 " character, MT2 equipment 104 enters step S426, to determine entering next stage, in step S427, still whole group is sent to MT1 equipment 104 and send part to transmit grouping, in step S428 by relevant interface.If subsequent byte is " 23 " character, MT2 equipment 104 enters step S435, and it determines to enter next stage in this step, in step S427, still whole group is transmitted to MT2 equipment 104 deframers, in step S437.
Like this, present embodiment need not be separated frame to grouping and detect agreement and configuration messages in the PPP stream of packets.On the contrary, present embodiment scanning input traffic and inspection message byte stage by stage mechanically, the information field of corresponding PPP framing grouping of these stages, therefore, present embodiment does not need to carry out unnecessary PPP grouping and separates that frame/the framing operation does not need to ignore the message that influences link configuration yet and detects information needed according to the order of sequence again.
Preferred embodiment of the present invention aforementioned furnished an explanation and describe, but be not exhaustive example, also the present invention is not limited to the precise forms of announcement.The modification and the variant that meet above-mentioned main idea are possible, and modification and variant also can obtain from practice of the present invention.Correspondingly, scope of the present invention is by claim and quite content-defined.

Claims (13)

1, a kind of the configuration information of predefined type is carried out the method for earlier detection, it is characterized in that described method comprises following steps:
Receive the packet of a plurality of framing on communication equipment, the packet of each described framing contains message part;
On described communication equipment, detect the initial of described message part in the packet of a described framing, and
Determine on described communication equipment whether described message part contains the described configuration information of predefined type,
Wherein, described communication equipment is determining after described message part contains the described configuration information of predefined type frame to be separated in the packet of a described described framing, perhaps it is determining directly to send the packet of a described described framing after described message part does not contain the described configuration information of predefined type, and it is not separated frame.
2, the method for claim 1 is characterized in that, described detection step comprises the packet that scans described a plurality of described framing and is that the described initial of described message part set up in the packet of a described framing by identification frame delimiting character.
3, method as claimed in claim 2 is characterized in that, described detection comprises:
Content to the byte of the predetermined number in the described message part on described communication equipment is gone escape, and
Whether the described content of determining the byte of the described predetermined number that goes escape on described communication equipment comprises book character,
Wherein, when the described content of the byte of the described predetermined number that goes escape comprised described book character, described communication equipment went escape to the content of the other successive byte after the byte of described predetermined number, and
Wherein, described communication equipment determines whether the content of the content of byte of the described predetermined number that goes escape and other successive byte contains the configuration information of described predefined type.
4, method as claimed in claim 2 is characterized in that, described detection comprises:
Determine on described communication equipment whether a specified byte of described message part or the content of all bytes contain the information relevant with address field or control field, and
Determine on described communication equipment whether the described content of described specified byte contains the configuration information of described predefined type,
Wherein, in the byte location time, described communication equipment enters the latter half after configuration information that the described content of described specified byte lacks the configuration information of described predefined type and described predefined type is configured in described specified byte.
5, method as claimed in claim 4 is characterized in that, the described step that enters the latter half also comprises:
On described communication equipment, check the content of at least one subsequent byte of described message part, described subsequent byte after described specified byte, and
Determine on described communication equipment whether the content of described subsequent byte contains the information of the type relevant with described subsequent byte, and
Determine on described communication equipment whether the described content of described subsequent byte contains the configuration information of described predefined type,
Wherein, the successive byte of the described message part of described communication equipment sequential test contains the configuration information of described predefined type up to the content of described subsequent byte.
6, method as claimed in claim 5 is characterized in that, the described content of described specified byte and the described content of described subsequent byte comprise the information of escape.
7, method as claimed in claim 5 is characterized in that, the described content of described specified byte and the described content of described subsequent byte comprise the information of escape.
8, a kind of system that is used for the configuration information of predefined type is carried out earlier detection is characterized in that described system comprises:
Be used for sending and receive the terminal equipment of the packet of a plurality of framing, the packet of each described framing contains message part, and
Be coupled to the communication equipment of described terminal equipment,
Wherein, described communication equipment comprises:
Be used to receive the device of the packet of a plurality of framing;
Be used to detect the initial device of described message part in the packet of a described framing;
Be used for determining whether described message part contains the device of the configuration information of predefined type; And
Be used for determining after described message part contains the described configuration information of predefined type frame to be separated in the packet of a described described framing, perhaps determining directly to send the packet of a described described framing after described message part does not contain the described configuration information of predefined type, and it is not being separated the device of frame.
9, system as claimed in claim 8, it is characterized in that described checkout gear comprises the packet that is used to scan described a plurality of described framing and is the described initial device that described message part is set up in the packet of a described framing by identification frame delimiting character.
10, system as claimed in claim 9 is characterized in that, described checkout gear comprises:
Be used for the content of the byte of the predetermined number in the described message part is removed the device of escape, and
Whether the described content that is used for determining the byte of the described predetermined number that goes escape comprises the device of book character,
Wherein, when the described content of the byte of the described predetermined number that goes escape comprised described book character, described communication equipment went escape to the content of the other successive byte after the byte of described predetermined number, and
Wherein, described communication equipment determines whether the content of the content of byte of the described predetermined number that goes escape and other successive byte contains the configuration information of described predefined type.
11, system as claimed in claim 9 is characterized in that, described checkout gear comprises:
Be used for determining whether the content of a specified byte of described message part or all bytes contains the device of the information relevant with address field or control field, and
Be used for determining whether the described content of described specified byte or all bytes contains the device of the configuration information of described predefined type,
Wherein, in the byte location time, described communication equipment enters next stage after configuration information that the described content of described specified byte or all bytes lacks the configuration information of described predefined type and described predefined type is configured in described specified byte or all bytes.
12, system as claimed in claim 11 is characterized in that, the step that described communication equipment enters next stage also comprises:
Check the content of at least one subsequent byte of described message part, described subsequent byte after described specified byte, and
Whether the described the content whether content of determining described subsequent byte contains the information of the type relevant with described subsequent byte and described subsequent byte contains the configuration information of described predefined type,
Wherein, the successive byte of the described message part of described communication equipment sequential test contains the configuration information of described predefined type up to the content of described subsequent byte.
13, system as claimed in claim 12 is characterized in that, the described content of described specified byte and the described content of described subsequent byte comprise the information of escape.
CNB008154457A 1999-09-08 2000-09-07 Efficient early protocol detecting method Expired - Fee Related CN100361541C (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US39234299A 1999-09-08 1999-09-08
US09/828,623 1999-09-08

Publications (2)

Publication Number Publication Date
CN1437829A CN1437829A (en) 2003-08-20
CN100361541C true CN100361541C (en) 2008-01-09

Family

ID=23550209

Family Applications (2)

Application Number Title Priority Date Filing Date
CN00815410A Pending CN1387732A (en) 1999-09-08 2000-09-07 System and method for automatically determining when to answer incoming packet data calls in wireless communication network
CNB008154457A Expired - Fee Related CN100361541C (en) 1999-09-08 2000-09-07 Efficient early protocol detecting method

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN00815410A Pending CN1387732A (en) 1999-09-08 2000-09-07 System and method for automatically determining when to answer incoming packet data calls in wireless communication network

Country Status (7)

Country Link
JP (2) JP4846948B2 (en)
KR (1) KR20020029783A (en)
CN (2) CN1387732A (en)
AU (1) AU7357700A (en)
CA (2) CA2384168A1 (en)
IL (1) IL148477A0 (en)
WO (2) WO2001019099A2 (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9100457B2 (en) 2001-03-28 2015-08-04 Qualcomm Incorporated Method and apparatus for transmission framing in a wireless communication system
US8121296B2 (en) 2001-03-28 2012-02-21 Qualcomm Incorporated Method and apparatus for security in a data processing system
US7352868B2 (en) 2001-10-09 2008-04-01 Philip Hawkes Method and apparatus for security in a data processing system
US7649829B2 (en) 2001-10-12 2010-01-19 Qualcomm Incorporated Method and system for reduction of decoding complexity in a communication system
US7616637B1 (en) 2002-04-01 2009-11-10 Cisco Technology, Inc. Label switching in fibre channel networks
US7406034B1 (en) 2002-04-01 2008-07-29 Cisco Technology, Inc. Methods and apparatus for fibre channel frame delivery
US7433326B2 (en) 2002-11-27 2008-10-07 Cisco Technology, Inc. Methods and devices for exchanging peer parameters between network devices
US7599655B2 (en) 2003-01-02 2009-10-06 Qualcomm Incorporated Method and apparatus for broadcast services in a communication system
US8098818B2 (en) 2003-07-07 2012-01-17 Qualcomm Incorporated Secure registration for a multicast-broadcast-multimedia system (MBMS)
US8718279B2 (en) 2003-07-08 2014-05-06 Qualcomm Incorporated Apparatus and method for a secure broadcast system
US8724803B2 (en) 2003-09-02 2014-05-13 Qualcomm Incorporated Method and apparatus for providing authenticated challenges for broadcast-multicast communications in a communication system
WO2008060756A2 (en) * 2006-10-03 2008-05-22 Viasat, Inc. Web/bulk transfer preallocation of upstream resources in a satellite communication system
JP5172447B2 (en) * 2008-04-23 2013-03-27 京セラ株式会社 Data transfer system and wireless communication device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5699350A (en) * 1995-10-06 1997-12-16 Canon Kabushiki Kaisha Reconfiguration of protocol stacks and/or frame type assignments in a network interface device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2802188B2 (en) * 1992-02-04 1998-09-24 シャープ株式会社 Modem
JPH07322045A (en) * 1994-05-20 1995-12-08 Matsushita Electric Ind Co Ltd Communication controller and communication control method
FI98027C (en) * 1995-01-10 1997-03-25 Nokia Telecommunications Oy Packet radio system and terminal equipment for a packet radio system
US6108704A (en) * 1995-09-25 2000-08-22 Netspeak Corporation Point-to-point internet protocol
US5940383A (en) * 1996-01-29 1999-08-17 Qualcomm Incorporated Automatic data service selection
JPH10285361A (en) * 1997-04-08 1998-10-23 Ricoh Co Ltd Communication equipment
US6512754B2 (en) * 1997-10-14 2003-01-28 Lucent Technologies Inc. Point-to-point protocol encapsulation in ethernet frame
US20030156571A1 (en) * 1998-06-05 2003-08-21 Hans-Ake Lund Communications network and method for framing point-to-point frame structures
US6765901B1 (en) * 1998-06-11 2004-07-20 Nvidia Corporation TCP/IP/PPP modem

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5699350A (en) * 1995-10-06 1997-12-16 Canon Kabushiki Kaisha Reconfiguration of protocol stacks and/or frame type assignments in a network interface device

Also Published As

Publication number Publication date
WO2001019027A8 (en) 2003-12-31
CN1437829A (en) 2003-08-20
WO2001019027A9 (en) 2002-10-03
WO2001019099A2 (en) 2001-03-15
JP2011055528A (en) 2011-03-17
KR20020029783A (en) 2002-04-19
AU7357700A (en) 2001-04-10
CA2384162A1 (en) 2001-03-15
WO2001019027A2 (en) 2001-03-15
IL148477A0 (en) 2002-09-12
JP4846948B2 (en) 2011-12-28
JP2003509917A (en) 2003-03-11
CN1387732A (en) 2002-12-25
CA2384168A1 (en) 2001-03-15
CA2384162C (en) 2011-01-04
WO2001019099A9 (en) 2002-10-03
WO2001019027A3 (en) 2002-01-17
WO2001019099A3 (en) 2002-01-17

Similar Documents

Publication Publication Date Title
US6400712B1 (en) Fast circuit switched data architecture and method
EP1247385B1 (en) Method of avoiding ppp time-outs during ipcp negotiations
CN100361541C (en) Efficient early protocol detecting method
FI98027C (en) Packet radio system and terminal equipment for a packet radio system
US7408906B2 (en) Mobile data communications apparatus, methods and computer program products implementing cellular wireless data communications via a wireless local area network
WO2002035863B1 (en) Reduction of protocol overhead on the connection between base station controller and base transceiver station of a cellular radio network
CN100592734C (en) Early determination of network support for mobile IP
EP1068692A1 (en) Wireless packet data communication apparatus and method
US20030007479A1 (en) Method and apparatus for determining configuration options negotiated for a communications link employing a network model
CN101772079B (en) Method for selectively maintaining and applying PPP compression in a wireless communication system
CN112868213A (en) Joint use of Ethernet header compression and robust header compression
EP1192827B1 (en) SELECTIVELY FRAMING AND UNFRAMING PPP PACKETS DEPENDING ON NEGOTIATED OPTIONS ON THE Um AND Rm INTERFACES
US20030093540A1 (en) Proxy network layer protocol support in a wireless communication network
EP1274261B1 (en) Apparatus and method for transmitting a voice frame in an all-ip-based mobile communication system
EP1210829B1 (en) Methods for efficient early protocol detection

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: GR

Ref document number: 1056073

Country of ref document: HK

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080109

Termination date: 20180907

CF01 Termination of patent right due to non-payment of annual fee