CN104917585B - Message interaction method and device - Google Patents
Message interaction method and device Download PDFInfo
- Publication number
- CN104917585B CN104917585B CN201410085631.8A CN201410085631A CN104917585B CN 104917585 B CN104917585 B CN 104917585B CN 201410085631 A CN201410085631 A CN 201410085631A CN 104917585 B CN104917585 B CN 104917585B
- Authority
- CN
- China
- Prior art keywords
- message
- priority value
- ancp
- priority
- nas
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 230000003993 interaction Effects 0.000 title claims abstract description 27
- 230000004044 response Effects 0.000 claims abstract description 74
- 238000012790 confirmation Methods 0.000 claims description 15
- 230000001360 synchronised effect Effects 0.000 claims 1
- 230000005540 biological transmission Effects 0.000 abstract description 26
- 238000004891 communication Methods 0.000 abstract description 12
- 238000010586 diagram Methods 0.000 description 9
- 230000002452 interceptive effect Effects 0.000 description 6
- 238000012423 maintenance Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/24—Traffic characterised by specific attributes, e.g. priority or QoS
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Communication Control (AREA)
Abstract
The invention discloses a kind of message interaction method and devices, belong to network technique field.This method comprises: access node AN generates the first Access Node Control Protocol ANCP message;The AN sends the first ANCP message to network-node server NAS, first ANCP message carries the first priority value, first priority value is used for after the NAS receives the first ANCP message, sends the response message for being directed to the first ANCP message to the AN with the corresponding priority of the first priority value;The AN receives the response message of NAS transmission, which carries the second priority value;The AN sends the 2nd ANCP protocol massages to the NAS with the corresponding priority of the second priority value.The invention avoids the syntoples caused by message transmission failure to establish, the disconnection of established syntople and user can not be online, improve the stability of communication.
Description
Technical field
The present invention relates to network technique field, in particular to a kind of message interaction method and device.
Background technique
Access Node Control Protocol (Access Node Control Protocol, hereinafter referred to as ANCP) provides net
Network node server (Network Access Server, hereinafter referred to as NAS) and access node (Access Node, below
Abbreviation AN) between control information transmitting channel.
NAS and AN can establish ANCP syntople, and after syntople is established, both sides are respectively regularly sent by its period
Confirm (Acknowledgment, ACK) message, to safeguard ANCP syntople, and is communicated based on the syntople.In neighbour
The maintenance and stage of communication after relationship establishment stage and syntople foundation are connect, it is big that interaction is required between NAS and AN
The protocol massages of amount.
In network congestion, the protocol massages transmitted in any of the above-described stage may be all dropped, will cause NAS and
Syntople can not be established between AN, established syntople disconnects, and cause the communication between NAS and AN unstable, into one
Step will lead to the online failure of accessing user or accessing user configures the problems such as can not issuing.
Summary of the invention
The embodiment of the invention provides a kind of message interaction method and devices.Be conducive to avoid when congestion occurs in network,
Between NAS and AN syntople can not establish or established syntople disconnect the problems such as, thus enhance between NAS and AN lead to
The stability of letter.
In a first aspect, providing a kind of message interaction method, which comprises
Access node AN generates the first Access Node Control Protocol ANCP message;
The AN sends the first ANCP message to network-node server NAS, and the first ANCP message carries
First priority value, first priority value is used for after the NAS receives the first ANCP message, with described first
The corresponding priority of priority value sends the response message for being directed to the first ANCP message to the AN;Described in the AN is received
The response message that NAS is sent, the response message carry the second priority value;The AN is with second priority value
Corresponding priority sends the 2nd ANCP protocol massages to the NAS.
With reference to first aspect, in the first possible implementation of first aspect provided in an embodiment of the present invention, the side
Method further include:
The AN is worth corresponding priority with third priority and sends service message, first priority to the NAS
Value and second priority value are greater than the third priority value.
In conjunction with above-mentioned any possible implementation, can be able to achieve for second in first aspect provided in an embodiment of the present invention
In mode, access node AN generates the first Access Node Control Protocol ANCP message and includes:
It is excellent to obtain corresponding with first user type first according to the first user type of message to be generated by the AN
First grade value, and the first ANCP message is generated according to first priority value;Or,
When the type of message of message to be generated is ANCP message, the AN according to the type of message, obtain with it is described
Corresponding first priority value of first ANCP message, and the first ANCP message is generated according to first priority value.
In conjunction with above-mentioned any possible implementation, the third in first aspect provided in an embodiment of the present invention can be able to achieve
In mode, the first ANCP message is synchronization serial number message, synchronization serial number confirmation message or confirmation message.
Second aspect, the embodiment of the invention provides a kind of message interaction methods, comprising:
Network-node server NAS receives the first ANCP message, and the first ANCP message generates by AN, and carries the
One priority value;The NAS is sent to the AN with the corresponding priority of first priority value and is directed to the first ANCP
The response message of message, the response message carry the second priority value, and second priority value in the AN for connecing
After receiving the response message, the 2nd ANCP agreement report is sent to the NAS with the corresponding priority of second priority value
Text.
In conjunction with second aspect, in the possible implementation of the first of second aspect provided in an embodiment of the present invention, the NAS
Include: for the response message of the first ANCP message to AN transmission with the corresponding priority of first priority value
The NAS obtains the second priority value corresponding with the AN, according to second priority value and described first
ANCP message is generated the response message, and is sent with the corresponding priority of first priority value to the AN and be directed to institute
State the response message of the first ANCP message.
In conjunction with above-mentioned any possible implementation, can be able to achieve for second in second aspect provided in an embodiment of the present invention
In mode, the NAS is sent to the AN with the corresponding priority of first priority value and is directed to the first ANCP message
Response message include:
The NAS and the AN determine the second priority value through consultation, according to second priority value and described the
One ANCP message is generated the response message, and is directed to the corresponding priority of first priority value to AN transmission
The response message of the first ANCP message.
In conjunction with above-mentioned any possible implementation, the third in second aspect provided in an embodiment of the present invention can be able to achieve
In mode, the first ANCP message is sync message, confirmation of synchronization message or confirmation message.
The third aspect, provides a kind of message interaction device, and described device includes:
Message generation module, for generating the first Access Node Control Protocol ANCP message;
Sending module, for sending the first ANCP message, the first ANCP message to network-node server NAS
The first priority value is carried, first priority value is used for after the NAS receives the first ANCP message, with institute
It states the corresponding priority of the first priority value and sends the response message for being directed to the first ANCP message to local terminal;Receiving module,
The response message sent for receiving the NAS, the response message carry the second priority value;The transmission mould
Block is also used to send the 2nd ANCP protocol massages to the NAS with the corresponding priority of second priority value.
In conjunction with the third aspect, in the possible implementation of the first of the third aspect provided in an embodiment of the present invention, the hair
It send module to be also used to and service message, first priority value is sent to the NAS with the corresponding priority of third priority value
It is greater than the third priority value with second priority value.
In conjunction with above-mentioned any possible implementation, can be able to achieve for second in the third aspect provided in an embodiment of the present invention
In mode, the message generation module is used for the first user type according to message to be generated, obtains and first user class
Corresponding first priority value of type, and the first ANCP message is generated according to first priority value;Or, the message is raw
It is used to, according to the type of message, obtain and described first when the type of message of message to be generated is ANCP message at module
Corresponding first priority value of ANCP message, and the first ANCP message is generated according to first priority value.
In conjunction with above-mentioned any possible implementation, the third in the third aspect provided in an embodiment of the present invention can be able to achieve
In mode, the first ANCP message is synchronization serial number message, synchronization serial number confirmation message or confirmation message.
Fourth aspect provides a kind of message interaction device, comprising:
Receiving module, for receiving the first ANCP message, the first ANCP message is generated by AN, and it is excellent to carry first
First grade value;Sending module is directed to described first for sending with the corresponding priority of first priority value to the AN
The response message of ANCP message, the response message carry the second priority value, and second priority value is used for described
After AN receives the response message, the 2nd ANCP agreement report is sent to local terminal with the corresponding priority of second priority value
Text.
In conjunction with fourth aspect, in the possible implementation of the first of fourth aspect provided in an embodiment of the present invention, the hair
Send module for obtain corresponding with the AN the second priority value, according to second priority value and the first ANCP report
Text is generated the response message, and is sent with the corresponding priority of first priority value to the AN and be directed to described first
The response message of ANCP message.
In conjunction with above-mentioned any possible implementation, can be able to achieve for second in fourth aspect provided in an embodiment of the present invention
In mode, the sending module is used to determine the second priority value through consultation with the AN, according to second priority value
With the first ANCP message, the response message is generated, and with the corresponding priority of first priority value to the AN
Send the response message for being directed to the first ANCP message.
In conjunction with above-mentioned any possible implementation, the third in fourth aspect provided in an embodiment of the present invention can be able to achieve
In mode, the first ANCP message is sync message, confirmation of synchronization message or confirmation message.
Technical solution provided in an embodiment of the present invention has the benefit that
By that, with certain priority transmission ANCP protocol massages, ANCP can be made to assist in protocol massages interactive process
View message is able to carry out end to end smoothly transmission in the case where network congestion, transmits so as to avoid due to message
The hair for situations such as syntople caused by failure can not be established, established syntople disconnects and user can not be online
It is raw, improve the stability of communication.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is a kind of flow chart of message interaction method provided in an embodiment of the present invention;
Fig. 2 is the flow chart of another message interaction method provided in an embodiment of the present invention;
Fig. 3 is a kind of TLV form schematic diagram;
Fig. 4 is a kind of structural schematic diagram of message interaction device provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of another message interaction device provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of access node provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of network-node server provided in an embodiment of the present invention
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Whole description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Fig. 1 is a kind of flow chart of message interaction method provided in an embodiment of the present invention.Referring to Fig. 1, which includes:
101, access node AN generates the first Access Node Control Protocol ANCP message.
102, the AN sends the first ANCP message to network-node server NAS, and the first ANCP message carries
One priority value, which is used for after the NAS receives the first ANCP message, with first priority value pair
The priority answered sends the response message for being directed to the first ANCP message to the AN.
103, the AN receives the response message of NAS transmission, which carries the second priority value.
104, the AN sends the 2nd ANCP protocol massages to the NAS with the corresponding priority of the second priority value.
By the way that in protocol massages interactive process, with certain priority transmission protocol massages, protocol massages can be made i.e.
Make also to be able to carry out smoothly transmission end to end in the case where network congestion, is led so as to avoid by message transmission failure
The syntople of cause can not establish, established syntople disconnects and user can not be online, improve
The stability of communication.
Fig. 2 is the flow chart of another message interaction method provided in an embodiment of the present invention.Message interaction in the embodiment
Both sides be NAS and AN, referring to fig. 2, which specifically includes:
201, when the type of message of message to be generated is ANCP message, AN according to the type of message, obtain with this first
Corresponding first priority value of ANCP message, and the first ANCP message is generated according to first priority value.
For AN, the type of message of message to be generated can have service message and ANCP protocol massages, in order to protect
Card syntople be successfully established and maintenance process, the priority of ANCP protocol massages can be set above business report
Text that is to say, the corresponding priority value of ANCP protocol massages is set greater than to the priority value of service message.It such as, is ANCP
Protocol massages setting priority value be the first priority value, be service message be arranged priority value be third priority value,
First priority value is greater than third priority value.
The AN can with the corresponding relationship between maintenance packet type and priority value, so as in a certain message to be sent,
According to type of message, priority value is obtained from corresponding relationship, so that priority value is carried the node capability in message
It concentrates and sends.Such as, in order to guarantee that AN can succeed AN server, can by synchronization serial number (Sequence Number, below
Referred to as SYN) priority of message is set as highest, it that is to say, the priority value of SYN message is set as maximum.
First ANCP message can be that can also be after syntople foundation during establishing syntople
Maintenance phase, such as: the first ANCP message is SYN message, synchronization serial number confirmation (Sequence Number
Acknowledgment, hereinafter referred to as SYNACK) message or ACK, the embodiment of the present invention be not construed as limiting this.
For AN, which can connect multiple users, and each user can send message based on AN, then in the present invention
In another embodiment that embodiment provides, which can be replaced by following step: the AN is according to the first of message to be generated
User type, obtains corresponding with first user type the first priority value, and according to first priority value generate this
One ANCP message.
The AN can safeguard the corresponding relationship between user type and priority value, to send in a certain user to be sent
Message when, according to user type, priority value is obtained from corresponding relationship, thus by priority value carry message access
Node capacity, which is concentrated, to be sent.
202, the AN sends the first ANCP message to network-node server NAS, and the first ANCP message carries
One priority value.
Optionally, ANCP message transmitted by AN carries node capability collection, which can be taken
Band is sent in node capability concentration.
Node capability collection is used to indicate the ability of access node, by extending node capability collection, can make
With the ability of agreement protocol message priority between AN and NAS.It in embodiments of the present invention, can be in access node energy
Power, which is concentrated, increases parameter " DSCP-Configuration=0x05 ", which can represent the energy of agreement protocol message priority
Power increases the ability by concentrating in node capability, so as to add first in the corresponding capacity data of the ability
Priority value, to allow the NAS for receiving the first ANCP message to know that the first ANCP message carries the first priority value.
Generally, capability set is indicated using TLV format in ANCP agreement.TLV format and content can be as shown in Figure 3, wherein
Capability Type represents the capability class supported, Capability Length represents length;Capability Data generation
Table capacity data.The value " 0x05 " of parameter " DSCP-Configuration=0x05 " can be carried in Capability Type
Field carries the first priority value in Capability Data field, when NAS is receiving message, from Capability
It when reading " 0x05 " parameter in the type field, can be read out from Capability Data field, to obtain current
Receive the priority of message.
203, when the NAS receives the first ANCP message, which obtains the second priority value corresponding with the AN,
According to second priority value and the first ANCP message, response message is generated.
The NAS can safeguard the corresponding relationship between AN and priority value, to obtain from corresponding relationship excellent according to AN
First grade value is sent in response message to carrying priority value.Alternatively, the NAS can safeguard user and priority value it
Between corresponding relationship, so as to according to send the first ANCP message user, priority value is obtained from corresponding relationship, thus will
Priority value carrying is sent in response message.Or the NAS can be with corresponding between maintenance packet type and priority value
Relationship, to obtain priority value from corresponding relationship according to type of message, to carrying priority value in response message
It sends.Such as, different priorities value can be arranged to the protocol massages of different type of messages, e.g., for establishing the association of access phase
View message is set as the first priority value, for safeguarding that the protocol massages of access phase are set below first priority value
Priority value etc..
When NAS receives multiple messages, can be responded according to the sequence of priority entrained in multiple messages.Specifically
Ground, when node server receives the second message and third message, it may be determined that the priority value and third that the second message carries
The size relation between priority value that message carries, the priority value entrained by second message are greater than the third message institute
When the priority value of carrying, after responding second message, which is responded.Entrained by the third message
When priority value is greater than priority entrained by first message, after responding the third message, which is rung
It answers.
204, the NAS sends the sound for being directed to the first ANCP message with the corresponding priority of the first priority value to the AN
Answer message.
For example, then NAS carries clothes in the capability set of the SYNACK message of response when the first ANCP message is SYN message
Business device is the priority that the AN is provided.
It further, will be preferential entrained by message when node server receives any message for carrying priority
Grade preserves, and the subsequent protocol massages for being sent to this access node all use this priority.
The server precedence of the node server can be according to different access node divisions, alternatively, according to access
The portfolio of node divides, and can also divide in real time certainly, such as according to the network condition of current access node, the present invention
Embodiment is not especially limited this.
205, after the AN receives the response message, the AN is with the corresponding priority of the second priority value to the NAS
Send the 2nd ANCP protocol massages.
In above-mentioned steps, the priority of protocol massages and service message is classified, AN requires oneself excellent
First grade is sent to NAS, enables NAS during subsequent transmission protocol massages, and the priority according to required by AN carries out
It sends, and required priority is sent to AN by response message by NAS, enables AN in subsequent transmission protocol massages
In the process, the priority according to required by NAS is sent, so that the priority of protocol massages is able to maintain greater than service message
Priority, uplink and downlink orderly carry out, avoid as protocol massages transmit failure and caused by various connectivity problems.
Certainly, above-mentioned steps 203-205 is handed over according to respective priority between access node and node server
It is illustrated for mutually, and in fact, the access node quantity hung under node server is relatively more, type is also relatively more, each
Network condition is again different, so priority can not be unified to be arranged, therefore, can negotiate two by node server and access node
Message interaction priority between person, to adapt to unused network condition.It that is to say, the NAS and the AN determine the through consultation
Two priority values generate the response message according to second priority value and the first ANCP message, and with first priority
It is worth corresponding priority and sends the response message for being directed to the first ANCP message to the AN.The NAS can according to the AN, this first
At least one of in the priority that the type of message and NAS of ANCP can provide, negotiate to determine the second priority value with AN.
Such as, for more important AN, higher priority can be chosen from the priority that NAS can be provided;Or, for for priority
Higher type of message can choose higher priority from the priority that NAS can be provided;Or according to the important of AN
The priority of degree and type of message, can choose suitable priority from the priority that NAS can be provided, and the present invention is real
It applies example and this is not especially limited.The negotiations process can enable the interaction between access node and node server flexible
Be adapted to the current network architecture and real network situation, further ensure the higher user of some priority, AN or
The transmission of message, can provide the communication service of differentiated, targetedly improve the stability of communication.
Method provided in an embodiment of the present invention can by the priority transmission ANCP protocol massages to be higher than service message
So that ANCP protocol massages are able to carry out end to end smoothly transmission in the case where network congestion, so as to avoid
Message transmission failure caused by syntople can not establish, established syntople disconnection and user can not on
Line and so on, improve the stability of communication.
Fig. 4 is a kind of structural schematic diagram of message interaction device 400 provided in an embodiment of the present invention, which can be used for
Method shown in fig. 1 or fig. 2 is executed, which can be the AN in method shown in Fig. 1 or Fig. 2.Referring to fig. 4, described device packet
It includes:
Message generation module 401, for generating the first Access Node Control Protocol ANCP message;
Sending module 402, for sending the first ANCP message, the first ANCP message to network-node server NAS
The first priority value is carried, which is used for after the NAS receives the first ANCP message, first excellent with this
First grade is worth corresponding priority and sends the response message for being directed to the first ANCP message to local terminal;
Receiving module 403, for receiving the response message of NAS transmission, which carries the second priority
Value;
The sending module 402 is also used to send the 2nd ANCP association to the NAS with the corresponding priority of the second priority value
Discuss message.
Optionally, which is also used to send business report to the NAS with the corresponding priority of third priority value
Text, first priority value and second priority value are greater than the third priority value.
Optionally, which is used for according to the first user type of message to be generated, obtain with this first
Corresponding first priority value of user type, and the first ANCP message is generated according to first priority value;Or,
The message generation module 401 is used for when the type of message of message to be generated is ANCP message, according to the message class
Type obtains the first priority value corresponding with the first ANCP message, and generates the first ANCP according to first priority value
Message.
Optionally, the first ANCP message is SYN message, SYNACK message or ACK message.
The above sending module can be transmitter or transceiver, the above receiving module can be receiver or transceiver, and
The sending module constitutes transceiver module together with can integrate with receiving module, and corresponding to hardware realization is transceiver.It is above raw
It can be embedded in the form of hardware at module or independently of in the processor of access node, can also be stored in and connect in a software form
In the memory of ingress, the corresponding operation of the above modules is executed in order to which processor calls.During the processor can be
Central Processing Unit (CPU), microprocessor, single-chip microcontroller etc..
Message interaction device 400 provided in an embodiment of the present invention, by protocol massages interactive process with certain excellent
First grade transmission protocol message can make protocol massages be able to carry out in the case where network congestion end to end smoothly
Transmission can not establish, the disconnection of established syntople so as to avoid the syntople transmitted caused by failure message,
And user can not be online, improves the stability of communication.
Fig. 5 is a kind of structural schematic diagram of message interaction device 500 provided in an embodiment of the present invention, which can be used for
Method shown in fig. 1 or fig. 2 is executed, which can be the NAS in method shown in Fig. 1 or Fig. 2.Referring to Fig. 5, the device packet
It includes:
Receiving module 501, for receiving the first ANCP message, the first ANCP message generates by AN, and carries the
One priority value;
Sending module 502, for being sent to the AN for described the with the corresponding priority of first priority value
The response message of one ANCP message, the response message carry the second priority value, and second priority value is used in institute
It states after AN receives the response message, the 2nd ANCP agreement is sent to local terminal with the corresponding priority of second priority value
Message.
Optionally, the sending module 502 is for obtaining the second priority value corresponding with the AN, according to described second
Priority value and the first ANCP message generate the response message, and with the corresponding priority of first priority value
The response message for being directed to the first ANCP message is sent to the AN.
Optionally, the sending module 502 is used to determine the second priority value through consultation with the AN, according to described the
Two priority values and the first ANCP message generate the response message, and corresponding preferential with first priority value
Grade sends the response message for being directed to the first ANCP message to the AN.
Optionally, the first ANCP message is sync message, confirmation of synchronization message or confirmation message.
The above sending module can be transmitter or transceiver, the above receiving module can be receiver or transceiver, and
The sending module constitutes transceiver module together with can integrate with receiving module, and corresponding to hardware realization is transceiver.It is above raw
It can be embedded at module or independently of in the processor of network-node server, can also deposit in a software form in the form of hardware
It is stored in the memory of network-node server, executes the corresponding operation of the above modules in order to which processor calls.At this
Managing device can be central processing unit (CPU), microprocessor, single-chip microcontroller etc..
Message interaction device 500 provided in an embodiment of the present invention, by protocol massages interactive process with certain excellent
First grade transmission protocol message can make protocol massages be able to carry out in the case where network congestion end to end smoothly
Transmission can not establish, the disconnection of established syntople so as to avoid the syntople transmitted caused by failure message,
And user can not be online, improves the stability of communication.
Fig. 6 is the structural schematic diagram of AN600 provided in an embodiment of the present invention a kind of, the AN600 can be used for executing Fig. 1 or
Method shown in Fig. 2, the AN600 can be the AN in method shown in Fig. 1 or Fig. 2.As shown, the AN600 includes: memory
601, receiver 602 and transmitter 603, and respectively with the memory 601, the receiver 602 and the transmitter 603
The processor 604 of connection, the memory 601 is for storing batch processing instruction, and the processor 604 is for calling described deposit
The program instruction that reservoir 601 stores performs the following operations:
Generate the first ANCP message;
It triggers the transmitter 603 and sends the first ANCP message to NAS, the first ANCP message carries first
Priority value, first priority value are used for after the NAS receives the first ANCP message, preferential with described first
Grade is worth corresponding priority and sends the response message for being directed to the first ANCP message to local terminal;
Triggering receiver 602 receives the response message that the NAS is sent, and it is preferential that the response message carries second
Grade value;
It triggers the transmitter 603 and the 2nd ANCP is sent to the NAS with the corresponding priority of second priority value
Protocol massages.
Optionally, which is also used to send business report to the NAS with the corresponding priority of third priority value
Text, first priority value and second priority value are greater than the third priority value.
Optionally, which is used for the first user type according to message to be generated, obtains and first user class
Corresponding first priority value of type, and the first ANCP message is generated according to first priority value;Or,
The processor 604 is used to, according to the type of message, obtain when the type of message of message to be generated is ANCP message
The first priority value corresponding with the first ANCP message, and the first ANCP message is generated according to first priority value.
Optionally, the first ANCP message is SYN message, SYNACK message or ACK message.
AN600 provided in an embodiment of the present invention, by being passed in ANCP protocol massages interactive process with certain priority
Defeated protocol massages can make protocol massages be able to carry out end to end smoothly transmission in the case where network congestion,
Syntople caused by so as to avoid failing message transmission can not be established, established syntople disconnects, and
User can not be online, improves the stability of communication.
Fig. 7 is the structural schematic diagram of NAS700 provided in an embodiment of the present invention a kind of, which can be used for executing Fig. 1
Or method shown in Fig. 2, the NAS700 can be the ANS in method shown in Fig. 1 or Fig. 2.The NAS700 can be used for executing Fig. 1
Or method shown in Fig. 2, the NAS700 can be the NAS in method shown in Fig. 1 or Fig. 2.As shown, the NAS700 includes:
Memory 701, receiver 702 and transmitter 703, and respectively with the memory 701, the receiver 702 and the hair
The processor 704 for sending device 703 to connect, the memory 701 is for storing batch processing instruction, and the processor 704 is for adjusting
It is performed the following operations with the program instruction that the memory 701 stores:
It triggers receiver 702 and receives the first ANCP message, the first ANCP message generates by AN, and carries the
One priority value;
Generate the response message of the first ANCP message;
The transmitter 703 is triggered to send to the AN for described the with the corresponding priority of first priority value
The response message of one ANCP message, the response message carry the second priority value, and second priority value is used in institute
It states after AN receives the response message, the 2nd ANCP agreement is sent to local terminal with the corresponding priority of second priority value
Message.
Optionally, the transmitter 703 is also used to obtain the second priority value corresponding with the AN, according to described second
Priority value and the first ANCP message generate the response message, and with the corresponding priority of first priority value
The response message for being directed to the first ANCP message is sent to the AN.
Optionally, the transmitter 703 is also used to determine the second priority value through consultation with the AN, according to described the
Two priority values and the first ANCP message generate the response message, and corresponding preferential with first priority value
Grade sends the response message for being directed to the first ANCP message to the AN.
Optionally, the first ANCP message is SYN message, SYNACK message or ACK message.
NAS700 provided in an embodiment of the present invention, by being passed in ANCP protocol massages interactive process with certain priority
Defeated protocol massages can make protocol massages be able to carry out end to end smoothly transmission in the case where network congestion,
Syntople caused by so as to avoid failing message transmission can not be established, established syntople disconnects, and
User can not be online, improves the stability of communication.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through
The relevant hardware of program instruction is completed, and foregoing routine can be stored in a computer readable storage medium, which exists
When execution, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned can be at least one in following media
Kind: read-only memory (Read-Only Memory, ROM), RAM, magnetic or disk etc. be various to can store program code
Medium.
Finally, it should be noted that above embodiments are only to exemplary illustration technical solution of the present invention, rather than it is limited
System;Although the present invention and bring beneficial effect of the present invention are described in detail with reference to the foregoing embodiments, this field
Those of ordinary skill is it is understood that it is still possible to modify the technical solutions described in the foregoing embodiments or right
Part of technical characteristic is equivalently replaced;And these are modified or replaceed, it does not separate the essence of the corresponding technical solution
The range of the claims in the present invention.
Claims (12)
1. a kind of message interaction method, which is characterized in that the described method includes:
Access node AN generates the first Access Node Control Protocol ANCP message, and the first ANCP message is for establishing or safeguarding
Syntople between the AN and network-node server NAS;
The AN sends the first ANCP message to the NAS, and the first ANCP message carries the first priority value, institute
The first priority value is stated to be used for after the NAS receives the first ANCP message, it is corresponding with first priority value
Priority sends the response message for being directed to the first ANCP message to the AN;
The AN receives the response message that the NAS is sent, and the response message carries the second priority value;
The AN sends the 2nd ANCP protocol massages to the NAS with the corresponding priority of second priority value;
The AN is worth corresponding priority with third priority and sends service message to the NAS, first priority value and
Second priority value is respectively greater than the third priority value.
2. the method according to claim 1, wherein access node AN generates the first Access Node Control Protocol
ANCP message includes:
The AN obtains the first priority corresponding with first user type according to the first user type of message to be generated
Value, and the first ANCP message is generated according to first priority value;Or,
When the type of message of message to be generated is ANCP message, the AN is obtained and described first according to the type of message
Corresponding first priority value of ANCP message, and the first ANCP message is generated according to first priority value.
3. -2 described in any item methods according to claim 1, which is characterized in that the first ANCP message is synchronization serial number
SYN message, synchronization serial number confirmation SYNACK message or confirmation ACK message.
4. a kind of message interaction method characterized by comprising
Network-node server NAS receives the first ANCP message, and the first ANCP message is generated by AN, and it is excellent to carry first
First grade value, the first ANCP message are used to establishing or safeguarding the syntople between the AN and the NAS;
The NAS sends the sound for being directed to the first ANCP message with the corresponding priority of first priority value to the AN
Message is answered, the response message carries the second priority value, and second priority value is used to receive in the AN described
After response message, the 2nd ANCP protocol massages are sent to the NAS with the corresponding priority of second priority value;
The NAS receives the AN and is worth the service message that corresponding priority is sent, first priority with third priority
Value and second priority value are respectively greater than the third priority value.
5. according to the method described in claim 4, it is characterized in that, the NAS is corresponding preferential with first priority value
Grade is sent to the AN
The NAS obtains the second priority value corresponding with the AN, according to second priority value and the first ANCP
Message, generates the response message, and is sent to the AN for described the with the corresponding priority of first priority value
The response message of one ANCP message.
6. according to the method described in claim 4, it is characterized in that, the NAS is corresponding preferential with first priority value
Grade is sent to the AN
The NAS and AN determines the second priority value through consultation, according to second priority value and described first
ANCP message is generated the response message, and is sent with the corresponding priority of first priority value to the AN and be directed to institute
State the response message of the first ANCP message.
7. according to the described in any item methods of claim 4-6, which is characterized in that the first ANCP message is synchronous SYN report
Text, confirmation of synchronization SYNACK message or confirmation ACK message.
8. a kind of message interaction device, which is characterized in that be applied to access node AN, described device includes:
Message generation module, for generating the first Access Node Control Protocol ANCP message, the first ANCP message is for building
Found or safeguard the syntople between the AN and network-node server NAS;
Sending module, for sending the first ANCP message to the NAS, it is preferential that the first ANCP message carries first
Grade value, first priority value is used for after the NAS receives the first ANCP message, with first priority value
Corresponding priority sends the response message for being directed to the first ANCP message to local terminal;
Receiving module, the response message sent for receiving the NAS, the response message carry the second priority
Value;
The sending module is also used to send the 2nd ANCP association to the NAS with the corresponding priority of second priority value
Discuss message;
The sending module is also used to send service message to the NAS with the corresponding priority of third priority value, described the
One priority value and second priority value are greater than the third priority value.
9. device according to claim 8, which is characterized in that the message generation module is used for according to message to be generated
First user type obtains the first priority value corresponding with first user type, and according to first priority value
Generate the first ANCP message;Or,
The message generation module is used for when the type of message of message to be generated is ANCP message, according to the type of message,
The first priority value corresponding with the first ANCP message is obtained, and generates described first according to first priority value
ANCP message.
10. a kind of message interaction device, which is characterized in that be applied to network-node server NAS, comprising:
Receiving module, for receiving the first Access Node Control Protocol ANCP message, the first ANCP message is by access node
AN is generated, and carries the first priority value, and the first ANCP message is for establishing or safeguarding between the AN and the NAS
Syntople;
Sending module is reported for being sent with the corresponding priority of first priority value to the AN for the first ANCP
The response message of text, the response message carry the second priority value, and second priority value is used to receive in the AN
To after the response message, the 2nd ANCP protocol massages are sent to local terminal with the corresponding priority of second priority value;
The receiving module is also used to receive the AN with third priority and is worth the service message that corresponding priority is sent, institute
It states the first priority value and second priority value is respectively greater than the third priority value.
11. device according to claim 10, which is characterized in that the sending module is corresponding with the AN for obtaining
Second priority value generates the response message, and according to second priority value and the first ANCP message with described
The corresponding priority of first priority value sends the response message for being directed to the first ANCP message to the AN.
12. device according to claim 10, which is characterized in that the sending module is used for true through consultation with the AN
Fixed second priority value generates the response message according to second priority value and the first ANCP message, and with institute
It states the corresponding priority of the first priority value and sends the response message for being directed to the first ANCP message to the AN.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410085631.8A CN104917585B (en) | 2014-03-10 | 2014-03-10 | Message interaction method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410085631.8A CN104917585B (en) | 2014-03-10 | 2014-03-10 | Message interaction method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104917585A CN104917585A (en) | 2015-09-16 |
CN104917585B true CN104917585B (en) | 2019-02-26 |
Family
ID=54086323
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410085631.8A Active CN104917585B (en) | 2014-03-10 | 2014-03-10 | Message interaction method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104917585B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114363113A (en) * | 2020-09-27 | 2022-04-15 | 中兴通讯股份有限公司 | Method, system, medium and device for assigning VPN service priority |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1913486A (en) * | 2005-08-10 | 2007-02-14 | 中兴通讯股份有限公司 | Method and device for strengthening safety of protocol message |
CN101643075A (en) * | 2009-06-30 | 2010-02-10 | 卡斯柯信号有限公司 | Control method for monitoring information congestion by facing to rail traffic station |
US7715391B1 (en) * | 2008-07-31 | 2010-05-11 | Juniper Networks, Inc. | System and method for optimal delivery of multicast content |
CN103078969A (en) * | 2013-02-01 | 2013-05-01 | 杭州华三通信技术有限公司 | Method and equipment for announcing media access control (MAC) address information |
CN103312807A (en) * | 2013-06-20 | 2013-09-18 | 华为技术有限公司 | Data transmission method, data transmission device and data transmission system |
-
2014
- 2014-03-10 CN CN201410085631.8A patent/CN104917585B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1913486A (en) * | 2005-08-10 | 2007-02-14 | 中兴通讯股份有限公司 | Method and device for strengthening safety of protocol message |
US7715391B1 (en) * | 2008-07-31 | 2010-05-11 | Juniper Networks, Inc. | System and method for optimal delivery of multicast content |
CN101643075A (en) * | 2009-06-30 | 2010-02-10 | 卡斯柯信号有限公司 | Control method for monitoring information congestion by facing to rail traffic station |
CN103078969A (en) * | 2013-02-01 | 2013-05-01 | 杭州华三通信技术有限公司 | Method and equipment for announcing media access control (MAC) address information |
CN103312807A (en) * | 2013-06-20 | 2013-09-18 | 华为技术有限公司 | Data transmission method, data transmission device and data transmission system |
Also Published As
Publication number | Publication date |
---|---|
CN104917585A (en) | 2015-09-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106105310B (en) | The method and apparatus of message transmission rate is adjusted in wireless communication system | |
CN104412640B (en) | High layer compression is carried out using low layer signaling | |
CN101909257B (en) | Method and system for realizing concurrency access of multiple bearer protocols by M2M platform | |
CN103001860A (en) | Achieving system for converged communication Web instant messages | |
EP3022952B1 (en) | Billing of relayed device | |
CN104486243B (en) | Data transmission method, equipment and system | |
CN108200158B (en) | Request Transmission system, method, apparatus and storage medium | |
CN104410982B (en) | Terminal polymerization and reconstructing method in a kind of Wireless Heterogeneous Networks | |
CN110506403A (en) | Flow control for wireless device | |
WO2010148780A1 (en) | Method, apparatus and system for user equipment access authentication | |
CN104658226A (en) | Wireless meter reading system and method | |
CN103825822B (en) | A kind of state information transmission method and device of the network equipment | |
CN109327386A (en) | A kind of link aggregation method, device, equipment and readable storage medium storing program for executing | |
CN117241165B (en) | Master-slave device communication method, storage medium and electronic apparatus for fiber-to-room FTTR | |
CN106465432A (en) | Systems and methods for improved protection modes in high-efficiency wireless networks | |
CN112437153A (en) | Equipment linkage processing method and device | |
CN106162634B (en) | Data interactive method and gateway between a kind of gateway | |
CN105960773A (en) | Systems and methods for improved communication efficiency in high efficiency wireless networks | |
CN108966363A (en) | A kind of connection method for building up and device | |
CN104009961B (en) | A kind of pppoe session mark distributing method and equipment | |
CN104917585B (en) | Message interaction method and device | |
CN104333872B (en) | A kind of method and system for establishing session based on two-way converting detection technique | |
EP3737179A1 (en) | Data transmission method and device, and computer storage medium | |
CN101695049A (en) | Method and device for processing businesses in monitoring system | |
WO2017092489A1 (en) | Method and device for device management for use in cloud wireless local area network and cloud wireless local area 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20211223 Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province Patentee after: xFusion Digital Technologies Co., Ltd. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd. |