CN109088955A - Message processing method and device - Google Patents

Message processing method and device Download PDF

Info

Publication number
CN109088955A
CN109088955A CN201810814476.7A CN201810814476A CN109088955A CN 109088955 A CN109088955 A CN 109088955A CN 201810814476 A CN201810814476 A CN 201810814476A CN 109088955 A CN109088955 A CN 109088955A
Authority
CN
China
Prior art keywords
address
message
clear text
terminal
user terminal
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.)
Granted
Application number
CN201810814476.7A
Other languages
Chinese (zh)
Other versions
CN109088955B (en
Inventor
王红雷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CHENGDU SKSPRUCE TECHNOLOGY Inc
Original Assignee
CHENGDU SKSPRUCE TECHNOLOGY 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 CHENGDU SKSPRUCE TECHNOLOGY Inc filed Critical CHENGDU SKSPRUCE TECHNOLOGY Inc
Priority to CN201810814476.7A priority Critical patent/CN109088955B/en
Publication of CN109088955A publication Critical patent/CN109088955A/en
Application granted granted Critical
Publication of CN109088955B publication Critical patent/CN109088955B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5038Address allocation for local use, e.g. in LAN or USB networks, or in a controller area network [CAN]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides a kind of message processing method and device, applied to the AP in carrier network.The described method includes: receiving the clear text for carrying out user terminal, and detect whether itself currently supports IP address of terminal centralized distribution when AP itself is in local forward mode;When AP currently supports IP address of terminal centralized distribution, judge whether clear text is that IP address of terminal obtains message;If clear text is that IP address of terminal obtains message, clear text is sent to AC, so that AC or be that the corresponding user terminal of clear text distributes IP address with the server of AC communication connection;If clear text is not that IP address of terminal obtains message or AP does not support IP address of terminal centralized distribution currently, local forwarding is carried out to clear text based on carrier network.The method can solve the IP address variation issue when roaming on the basis of providing local service for user terminal.

Description

Message processing method and device
Technical field
The present invention relates to carrier network technical fields, in particular to a kind of message processing method and device.
Background technique
Currently, to realize multiple AP (wireless access point, Access that user terminal is disposed in the operator network Point internetwork roaming), and the business that carrier network provides will not be interrupted because of roaming, therefore, to assure that user terminal is unrestrained The IP address of trip front and back will not change.Industry major flow concentrates the mode of forwarding frequently with using in the operator network, All messages of user terminal are all uploaded to AC (wireless controller, Access by the AP disposed in carrier network Controller), all messages are handled by AC, centralized distribution is carried out by IP address of the AC to user terminal, thus really Protecting IP address of the user terminal in the internetwork roaming of multiple AP will not change.But this mode can make entirety because path is too long The processing delay of Message processing process becomes larger and process performance is deteriorated, while also can make AP because network flow focuses on AC No normal direction user terminal provides local service.
Summary of the invention
In order to overcome above-mentioned deficiency in the prior art, the purpose of the present invention is to provide a kind of message processing method and dresses It sets, the message processing method can be on the basis of providing the local service that message locally forwards for user terminal, using collection The mode of middle distribution IP address is the fixed IP address of user terminal distribution, when solution user terminal roams in the operator network IP address variation issue, improve the Message processing performance of whole Message processing process, and reduce the message of Message processing process Processing delay.
For method, the embodiment of the present invention provides a kind of message processing method, and the message processing method is applied to portion The wireless access point AP of administration in the operator network, the AP and wireless controller AC and at least one user terminal communication connect It connects, which comprises
The clear text from the user terminal is received, and is detected when the AP itself is in local forward mode Whether itself currently supports IP address of terminal centralized distribution;
When the AP currently supports IP address of terminal centralized distribution, judge whether the clear text is terminal IP Location obtains message;
If the clear text is that IP address of terminal obtains message, the clear text is sent to the AC, So that the AC or be that the corresponding user terminal of the clear text distributes IP address with the server of AC communication connection;
If the clear text is not that IP address of terminal obtains message or the AP does not support IP address of terminal collection currently Middle distribution then carries out local forwarding to the clear text based on the carrier network, to realize the clear text Corresponding business.
Optionally, in embodiments of the present invention, the above method further include:
It receives the IP address corresponding with the clear text from the AC and feeds back message, wherein the IP address is anti- Feedback message includes the matched IP address of user terminal with the transmission clear text;
The IP address received feedback message is sent to the corresponding user terminal, to complete to the user The IP address of terminal is distributed.
Optionally, in embodiments of the present invention, it is stored in above-mentioned AP for indicating that the AP concentrates IP address of terminal The IP assignment flag of the support status of distribution, it is described to detect the step of itself currently whether supporting IP address of terminal centralized distribution packet It includes:
The set situation of the IP assignment flag is detected;
When detecting the IP assignment flag set, determine that the AP currently supports IP address of terminal centralized distribution, it is no Then determine that the AP does not support IP address of terminal centralized distribution currently.
Optionally, in embodiments of the present invention, there is for indicating that IP address of terminal obtains the pre- of message record in above-mentioned AP If message protocol, wherein the default message protocol includes dynamic host configuration protocol DHCP agreement and Address Resolution Protocol ARP Agreement, it is described to judge whether the clear text is that the step of IP address of terminal obtains message includes:
Message protocol identification is carried out to the clear text, obtains the association of object message corresponding to the clear text View;
The object message agreement is compared with the default message protocol;
When there is agreement identical with the object message agreement in the default message protocol, determine described to be processed Message is that IP address of terminal obtains message, and otherwise determining the clear text not is that IP address of terminal obtains message.
Optionally, in embodiments of the present invention, the above method further include:
To for indicating that the default message protocol of IP address of terminal acquisition message configures.
For device, the embodiment of the present invention provides a kind of message process device, and the message process device is applied to portion The wireless access point AP of administration in the operator network, the AP and wireless controller AC and at least one user terminal communication connect It connects, described device includes:
Detection module is distributed, itself is in for receiving the clear text from the user terminal, and in the AP Detect whether itself currently supports IP address of terminal centralized distribution when local forward mode;
Message judgment module, for judging described to be processed when the AP currently supports IP address of terminal centralized distribution Whether message is that IP address of terminal obtains message;
Message sending module will be described to be processed if being that IP address of terminal obtains message for the clear text Message is sent to the AC, so that the AC or be the corresponding use of the clear text with the server of AC communication connection Family terminal distribution IP address;
Message sending module, if being also used to the clear text not is that IP address of terminal obtains message or the AP is current IP address of terminal centralized distribution is not supported, then local forwarding is carried out to the clear text based on the carrier network, with Realize the corresponding business of the clear text.
Optionally, in embodiments of the present invention, above-mentioned apparatus further includes feedback reception module;
The feedback reception module, for receiving IP address corresponding with the clear text feedback from the AC Message, wherein IP address feedback message includes the matched IP address of user terminal with the transmission clear text;
The message sending module is also used to the IP address received feedback message being sent to the corresponding use Family terminal, to complete the IP address distribution to the user terminal.
Optionally, in embodiments of the present invention, it is stored in above-mentioned AP for indicating that the AP concentrates IP address of terminal The IP assignment flag of the support status of distribution, the distribution detection module detect whether itself currently supports IP address of terminal to concentrate The mode of distribution includes:
The set situation of the IP assignment flag is detected;
When detecting the IP assignment flag set, determine that the AP currently supports IP address of terminal centralized distribution, it is no Then determine that the AP does not support IP address of terminal centralized distribution currently.
Optionally, in embodiments of the present invention, there is for indicating that IP address of terminal obtains the pre- of message record in above-mentioned AP If message protocol, wherein the default message protocol includes dynamic host configuration protocol DHCP agreement and Address Resolution Protocol ARP Agreement, the message judgment module judge the clear text whether be IP address of terminal obtain message mode include:
Message protocol identification is carried out to the clear text, obtains the association of object message corresponding to the clear text View;
The object message agreement is compared with the default message protocol;
When there is agreement identical with the object message agreement in the default message protocol, determine described to be processed Message is that IP address of terminal obtains message, and otherwise determining the clear text not is that IP address of terminal obtains message.
Optionally, in embodiments of the present invention, above-mentioned apparatus further include:
Protocol configuration module, for for indicating that the default message protocol of IP address of terminal acquisition message configures.
In terms of existing technologies, message processing method and device provided in an embodiment of the present invention have below beneficial to effect Fruit: the message processing method can be on the basis of providing the local service that message locally forwards for user terminal, using collection The mode of middle distribution IP address is the fixed IP address of user terminal distribution, when solution user terminal roams in the operator network IP address variation issue, improve the Message processing performance of whole Message processing process, and reduce the message of Message processing process Processing delay.The method is logical applied to the AP, the AP and AC and at least one user terminal disposed in the operator network Letter connection.Firstly, the method receives the clear text from the user terminal, and it is in local in the AP itself and turns Detect whether itself currently supports IP address of terminal centralized distribution when hair mode.Then, the method is currently supported in the AP When IP address of terminal centralized distribution, judge whether the clear text is that IP address of terminal obtains message.Then, the method When the clear text is that IP address of terminal obtains message, the clear text is sent to the AC, so that described AC is that the corresponding user terminal of the clear text distributes IP address with the server of AC communication connection, thus at this The IP address that the mode of centralized distribution IP address is fixed for user terminal distribution is used on the basis of ground forwarding, solves user terminal IP address variation issue when roaming in the operator network.Finally, the method is not terminal IP in the clear text Address obtains message or the AP when not supporting IP address of terminal centralized distribution currently, based on the carrier network to it is described to It handles message and carries out local forwarding, to realize the corresponding business of the clear text, so that it is guaranteed that the carrier network energy Enough normal offer local services, improve the Message processing performance of whole Message processing process, and reduce the report of Message processing process Literary processing delay.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, present pre-ferred embodiments are cited below particularly, And cooperate appended attached drawing, it is described in detail below.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of the claims in the present invention protection scope, for those of ordinary skill in the art, what is do not made the creative labor Under the premise of, it can also be obtained according to these attached drawings other relevant attached drawings.
Fig. 1 is a kind of block diagram of wireless access point AP provided in an embodiment of the present invention.
Fig. 2 is one of the flow diagram of message processing method provided in an embodiment of the present invention.
Fig. 3 is the two of the flow diagram of message processing method provided in an embodiment of the present invention.
Fig. 4 is the three of the flow diagram of message processing method provided in an embodiment of the present invention.
Fig. 5 is one of the block diagram of message process device provided in an embodiment of the present invention.
Fig. 6 is the two of the block diagram of message process device provided in an embodiment of the present invention.
Fig. 7 is the three of the block diagram of message process device provided in an embodiment of the present invention.
Icon: 10-AP;11- memory;12- processor;13- communication unit;100- message process device;110- distribution Detection module;120- message judgment module;130- message sending module;140- feedback reception module;150- protocol configuration module.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.The present invention being usually described and illustrated herein in the accompanying drawings is implemented The component of example can be arranged and be designed with a variety of different configurations.
Therefore, the detailed description of the embodiment of the present invention provided in the accompanying drawings is not intended to limit below claimed The scope of the present invention, but be merely representative of selected embodiment of the invention.Based on the embodiments of the present invention, this field is common Technical staff's every other embodiment obtained without creative efforts belongs to the model that the present invention protects It encloses.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.
With reference to the accompanying drawing, it elaborates to some embodiments of the present invention.In the absence of conflict, following Feature in embodiment and embodiment can be combined with each other.
Fig. 1 is please referred to, is a kind of block diagram of wireless access point AP 10 provided in an embodiment of the present invention.In the present invention In embodiment, the AP10 deployment in the operator network, is used to provide business service to user terminal.The wherein operator The number of the AP10 disposed in network be it is multiple, multiple AP10 be located at the carrier network coverage area outside Wireless controller AC communication connection, to be that the user terminal in the carrier network coverage area carries out terminal by the AC IP address centralized distribution, when making the internetwork roaming of the multiple AP10s of the user terminal in the carrier network coverage area IP address will not change.Multiple AP10 can also provide local service for the user terminal of connection simultaneously.In this implementation In example, the AP10 includes message process device 100, memory 11, processor 12 and communication unit 13.The memory 11, Processor 12 and each element of communication unit 13 are directly or indirectly electrically connected between each other, to realize the transmission or friendship of data Mutually.It is electrically connected for example, these elements can be realized between each other by one or more communication bus or signal wire.The message Processing unit 100 includes that at least one can be stored in the memory 11 in the form of software or firmware (firmware) Software function module, the processor 12 are corresponding by the message process device 100 that operation is stored in memory 11 Software function module, thereby executing various function application and data processing.
In the present embodiment, the memory 11 can be used for storing IP assignment flag, and the IP assignment flag is for indicating Support status of the AP10 to IP address of terminal centralized distribution.If the IP assignment flag set shows that the AP10 works as Preceding support IP address of terminal centralized distribution;If the non-set of IP assignment flag, shows that the AP10 does not support terminal currently IP address centralized distribution.The numerical value that wherein the IP assignment flag corresponds to set can be 1, be also possible to 0, particular situation can Different configurations is carried out according to demand.
The memory 11, which is also used to record, to be had for indicating that IP address of terminal obtains the default message protocol of message, described Whether AP10 can be terminal corresponding to the default message protocol by the message that the default message protocol judgement is got IP address obtain message, wherein the IP address of terminal obtain message be used to indicate send the message user terminal need to obtain One IP address, the default message protocol include DHCP (Dynamic Host Configuration Protocol, dynamic Host configuration) agreement and ARP (Address Resolution Protocol, address resolution protocol agreement) etc..Wherein, The memory 11 may be, but not limited to, random access memory, read-only memory, and programmable read only memory is erasable Programmable read only memory, electrically erasable programmable read-only memory etc..Memory 11 can be also used for storing various using journey Sequence, the processor 12 execute the application program after receiving and executing instruction.Further, in above-mentioned memory 11 Software program and module may also include operating system, may include various (such as memory management, depositing for management system task Store up equipment control, power management etc.) component software and/or driving, and can be in communication with each other with various hardware or component software, from And provide the running environment of other software component.
In the present embodiment, the processor 12 can be a kind of IC chip with signal handling capacity.Its Described in processor 12 can be general processor, including central processing unit (Central Processing Unit, CPU), net Network processor (Network Processor, NP) etc..It may be implemented or execute the disclosed each side in the embodiment of the present invention Method, step and logic diagram.General processor can be microprocessor or the processor is also possible to any conventional processing Device etc..
In the present embodiment, the communication unit 13 by network for being established between the AP10 and other external equipments Communication connection, and carried out data transmission by the network.Wherein other described external equipments include AC and user terminal.
In the present embodiment, the AP10 ensures institute by the message process device 100 being stored in the memory 11 Stating AP10 can be on the basis of providing the local service that message locally forwards for user terminal, using centralized distribution IP address Mode is the fixed IP address of user terminal distribution, solves IP address variation when user terminal roams in the operator network and asks Topic, improves the Message processing performance of whole Message processing process, and reduces the Message processing time delay of Message processing process.
It is understood that structure shown in FIG. 1 is only a kind of structural schematic diagram of AP10, the AP10 may also include ratio More perhaps less component shown in Fig. 1 or with the configuration different from shown in Fig. 1.Each component shown in Fig. 1 can be with It is realized using hardware, software, or its combination.
It referring to figure 2., is one of the flow diagram of message processing method provided in an embodiment of the present invention.Of the invention real It applies in example, the message processing method is applied to the AP10 as shown in Figure 1, the AP10 and AC of deployment in the operator network And the connection of at least one user terminal communication, wherein the number of the AP10 in the carrier network is multiple.It is right below The detailed process and step of message processing method shown in Fig. 2 are described in detail.
Step S210 receives the clear text for carrying out user terminal, and when AP10 itself is in local forward mode Detect whether itself currently supports IP address of terminal centralized distribution.
In the present embodiment, the AP10 deployment is connect in the operator network and at least one user terminal communication, The user terminal obtains itself matched IP address by way of sending message to the AP10 or realizes local service.Institute AP10 is stated when receiving the clear text for carrying out user terminal, can detect itself is in local forward mode or concentration Forward mode.
When the AP10, which is in, concentrates forward mode, the clear text will be directly sent to and institute by the AP10 The AC for stating AP10 communication connection, is handled the clear text by the AC, i.e., by the AC to each user terminal IP address carries out centralized distribution, and carries out centralized management to the business realizing of each user terminal.
When the AP10 is in local forward mode, the AP10 can detect whether itself currently supports IP address of terminal Centralized distribution, wherein being stored in the AP10 for indicating the AP10 to the support status of IP address of terminal centralized distribution IP assignment flag, it is described detection itself currently whether support include: the step of IP address of terminal centralized distribution
The set situation of the IP assignment flag is detected;
When detecting the IP assignment flag set, determine that the AP10 currently supports IP address of terminal centralized distribution, Otherwise determine that the AP10 does not support IP address of terminal centralized distribution currently.
Wherein, when the AP10 currently supports IP address of terminal centralized distribution, the AP10 executes step for corresponding S220;When the AP10 does not currently support IP address of terminal centralized distribution, the AP10 executes step S240 for corresponding.
Step S220 judges whether the clear text is that IP address of terminal obtains message.
In the present embodiment, the IP address of terminal obtains the IP address that message is used to obtain Corresponding matching, the AP10 Middle record has for indicating that IP address of terminal obtains the default message protocol of message, wherein the default message protocol includes DHCP Agreement and ARP protocol.When the AP10 currently supports IP address of terminal centralized distribution, the AP10 can by judge it is described to The corresponding message protocol of message mode whether identical with default message protocol is handled, judges whether the clear text is eventually IP address is held to obtain message.
Optionally, described to judge whether the clear text is that the step of IP address of terminal obtains message includes:
Message protocol identification is carried out to the clear text, obtains the association of object message corresponding to the clear text View;
The object message agreement is compared with the default message protocol;
When there is agreement identical with the object message agreement in the default message protocol, determine described to be processed Message is that IP address of terminal obtains message, and otherwise determining the clear text not is that IP address of terminal obtains message.
In the present embodiment, object message agreement and the default message protocol packet corresponding to the clear text When any one agreement included is identical, shows that the clear text is that IP address of terminal obtains message, send described to be processed The user terminal of message needs to get matched IP address by the clear text;When the default message protocol includes All agreements in there is no it is identical as object message agreement corresponding to the clear text when, show it is described it is to be processed not Message is obtained but business datum message for IP address of terminal, and the user terminal for sending the clear text is needed by described The business function of clear text realization content matching.When the AP10 determines that the clear text is that IP address of terminal obtains Message, the AP10 will execute step S230;When the AP10 determines that the clear text is not that IP address of terminal obtains report Text, the AP10 will execute step S240.
The clear text is sent to the AC by step S230 so that the AC or with the AC communication connection Server is that the corresponding user terminal of the clear text distributes IP address.
In an embodiment of the present embodiment, when the AP10 is in local forward mode, and AP10 judgement When the clear text is that IP address of terminal obtains message, the clear text can be sent to the AC by the AP10, So that the AC is the user terminal progress centralization ground IP address for sending the clear text based on the clear text Distribution, and will include with the IP address of the matched IP address of the user terminal feedback message be sent to the AP10, thus by IP address feedback message is sent to corresponding user terminal by the AP10, realizes the IP address point to the user terminal Match.
In the another embodiment of the present embodiment, the AC communication connection has the server for IP address distribution, When the AP10 is in local forward mode, and the AP10 determines that the clear text is that IP address of terminal obtains message When, the clear text can be sent to the AC by the AP10, and the clear text is sent to the clothes by the AC Business device, so that the server is the user terminal progress centralization for sending the clear text based on the clear text The distribution of ground IP address, and will include being sent to the IP address of the matched IP address of user terminal feedback message through the AC The AP10 is realized so that IP address feedback message is sent to corresponding user terminal by the AP10 to the use The IP address of family terminal is distributed.
In the present embodiment, the step S230 can be on the basis of the AP10 be in local forward mode, using collection The mode of middle distribution IP address is the fixed IP address of user terminal distribution, when solution user terminal roams in the operator network IP address variation issue.
Step S240 carries out local forwarding to the clear text based on carrier network, described to be processed to realize The corresponding business of message.
In the present embodiment, when the AP10 is in local forward mode and the AP10 does not support IP address of terminal currently Centralized distribution shows that the AP10 needs are forwarded the clear text by way of locally forwarding, to realize State the corresponding local service of clear text, at this time the clear text either IP address of terminal obtain message, can also To be business datum message.
When the AP10 is in local forward mode, and the AP10 currently supports IP address of terminal centralized distribution, but institute When stating clear text not and be IP address of terminal and obtaining message, show that the clear text is business datum message, it is described AP10 needs to provide corresponding local service service by way of locally forwarding the clear text for user terminal, thus Ensure that the carrier network can normally provide local service, improves the Message processing performance of whole Message processing process, and Reduce the Message processing time delay of Message processing process.
Referring to figure 3., be message processing method provided in an embodiment of the present invention flow diagram two.Of the invention real It applies in example, the message processing method can also include step S250 and step S260.
Step S250 receives the IP address corresponding with the clear text from the AC and feeds back message.
In the present embodiment, the AP10 is in the clear text hair that will be judged as IP address of terminal acquisition message After giving the AC, the AC or will be based on the corresponding IP of clear text generation with the server of AC communication connection Message is fed back in address, and IP address feedback message is sent to the AP10, is fed back the IP address by the AP10 Message is sent to the user terminal of Corresponding matching.Wherein the IP address feedback message includes and sends the clear text The matched IP address of user terminal.
The IP address received feedback message is sent to the corresponding user terminal, to complete by step S260 IP address distribution to the user terminal.
In the present embodiment, the IP address feedback message accounting has the MAC Address of the user terminal, and the AP10 can IP address feedback message is sent to corresponding user terminal according to the MAC Address of the user terminal, by the user Terminal parses IP address feedback message, obtains assigned IP address corresponding with the user terminal.
Referring to figure 4., be message processing method provided in an embodiment of the present invention flow diagram three.Of the invention real It applies in example, the message processing method can also include step S209.
Step S209, to for indicating that the default message protocol of IP address of terminal acquisition message configures.
In the present embodiment, the default message protocol can by the operation maintenance personnel of the AP10 in the AP10 according to need Ask and carry out different configuration, can also by the carrier network operation maintenance personnel the AC or with AC communication connection Carried out according to demand at server it is different with postponing, will the default message protocol that configuration obtains be handed down to the AP10 into Row data configuration and work operation.
It referring to figure 5., is one of the block diagram of message process device 100 provided in an embodiment of the present invention.In this hair In bright embodiment, the message process device 100 is applied to the AP10 as shown in Figure 1 of deployment in the operator network, described AP10 is connect with AC and at least one user terminal communication, wherein the number of the AP10 in the carrier network is more It is a.In the present embodiment, the message process device 100 includes distribution detection module 110, message judgment module 120 and message Sending module 130.
The distribution detection module 110, for receiving the clear text from the user terminal, and in the AP10 Itself detects whether itself currently supports IP address of terminal centralized distribution when being in local forward mode.
In the present embodiment, it is stored in the AP10 for indicating the AP10 to the branch of IP address of terminal centralized distribution The IP assignment flag of situation is held, whether the detection of distribution detection module 110 itself currently supports IP address of terminal centralized distribution Mode include:
The set situation of the IP assignment flag is detected;
When detecting the IP assignment flag set, determine that the AP10 currently supports IP address of terminal centralized distribution, Otherwise determine that the AP10 does not support IP address of terminal centralized distribution currently.
Wherein, the distribution detection module 110 can execute step S210 shown in Fig. 2, and specific implementation procedure can Referring to above to the detailed description of step S210.
The message judgment module 120, for judging institute when the AP10 currently supports IP address of terminal centralized distribution State whether clear text is that IP address of terminal obtains message.
In the present embodiment, there is for indicating that IP address of terminal obtains the default message association of message record in the AP10 View, wherein the default message protocol includes dynamic host configuration protocol DHCP agreement and Address Resolution Protocol ARP agreement, it is described Message judgment module 120 judge the clear text whether be IP address of terminal obtain message mode include:
Message protocol identification is carried out to the clear text, obtains the association of object message corresponding to the clear text View;
The object message agreement is compared with the default message protocol;
When there is agreement identical with the object message agreement in the default message protocol, determine described to be processed Message is that IP address of terminal obtains message, and otherwise determining the clear text not is that IP address of terminal obtains message.
Wherein, the message judgment module 120 can execute step S220 shown in Fig. 2, and specific implementation procedure can Referring to above to the detailed description of step S220.
The message sending module 130 will be described if being that IP address of terminal obtains message for the clear text Clear text is sent to the AC, so that the AC or the server communicated to connect with the AC are the clear text pair The user terminal distribution IP address answered.
The message sending module 130, if being also used to the clear text not is that IP address of terminal obtains message or institute It states AP10 and does not support IP address of terminal centralized distribution currently, then this is carried out to the clear text based on the carrier network Ground forwarding, to realize the corresponding business of the clear text.
In the present embodiment, the message sending module 130 can execute step S230 shown in Fig. 2 or step S240, specific implementation procedure are referred to above to the detailed description of step S230 and step S240.
Fig. 6 is please referred to, is the two of the block diagram of message process device 100 provided in an embodiment of the present invention.In this hair In bright embodiment, the message process device 100 can also include feedback reception module 140.
The feedback reception module 140, for receiving the IP address corresponding with the clear text from the AC Message is fed back, wherein IP address feedback message includes with the matched IP of user terminal of the transmission clear text Location.
In the present embodiment, the feedback reception module 140 can execute step S250 shown in Fig. 3, specifically hold Row process is referred to above to the detailed description of step S250.
The message sending module 130 is also used to the IP address received feedback message being sent to corresponding institute User terminal is stated, to complete the IP address distribution to the user terminal.
In the present embodiment, step S260 shown in Fig. 3 can also be performed in the message sending module 130, specifically Implementation procedure is referred to above to the detailed description of step S260.
Fig. 7 is please referred to, is the three of the block diagram of message process device 100 provided in an embodiment of the present invention.In this hair In bright embodiment, the message process device 100 can also include protocol configuration module 150.
The protocol configuration module 150, for for indicate IP address of terminal obtain message default message protocol into Row configuration.
In the present embodiment, the protocol configuration module 150 can execute step S209 shown in Fig. 4, specifically hold Row process is referred to above to the detailed description of step S209.
In conclusion in message processing method provided in an embodiment of the present invention and device, the message processing method energy Enough on the basis of providing the local service that message locally forwards for user terminal, the mode of centralized distribution IP address is used to use Terminal distribution fixed IP address in family solves IP address variation issue when user terminal roams in the operator network, improves The Message processing performance of whole Message processing process, and reduce the Message processing time delay of Message processing process.The method application It is connect in the AP of deployment in the operator network, the AP with AC and at least one user terminal communication.Firstly, the method connects The clear text from the user terminal is received, and detect itself currently when the AP itself is in local forward mode to be No support IP address of terminal centralized distribution.Then, the method is sentenced when the AP currently supports IP address of terminal centralized distribution Whether the clear text that breaks is that IP address of terminal obtains message.Then, the method is terminal in the clear text IP address obtain message when, the clear text is sent to the AC so that the AC or with the AC communication connection Server is that the corresponding user terminal of the clear text distributes IP address, is concentrated to use on the basis of locally forwarding The mode for distributing IP address is the fixed IP address of user terminal distribution, is solved when user terminal roams in the operator network IP address variation issue.Finally, the method is not that IP address of terminal obtains message or the AP works as in the clear text It is preceding that local forwarding is carried out to the clear text based on the carrier network when not supporting IP address of terminal centralized distribution, To realize that the corresponding business of the clear text mentions so that it is guaranteed that the carrier network can normally provide local service The Message processing performance of high entirety Message processing process, and reduce the Message processing time delay of Message processing process.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of message processing method, which is characterized in that described applied to the wireless access point AP of deployment in the operator network AP is connect with wireless controller AC and at least one user terminal communication, which comprises
The clear text from the user terminal is received, and detects itself when the AP itself is in local forward mode Currently whether support IP address of terminal centralized distribution;
When the AP currently supports IP address of terminal centralized distribution, judge whether the clear text is that IP address of terminal obtains Take message;
If the clear text is that IP address of terminal obtains message, the clear text is sent to the AC, so that The AC is that the corresponding user terminal of the clear text distributes IP address with the server of AC communication connection;
If the clear text is not that IP address of terminal obtains message or the AP does not support currently IP address of terminal is concentrated to divide Match, then local forwarding is carried out to the clear text based on the carrier network, to realize that the clear text is corresponding Business.
2. the method according to claim 1, wherein the method also includes:
It receives the IP address corresponding with the clear text from the AC and feeds back message, wherein IP address feedback report Text includes the matched IP address of user terminal with the transmission clear text;
The IP address received feedback message is sent to the corresponding user terminal, to complete to the user terminal IP address distribution.
3. method according to claim 1 or 2, which is characterized in that be stored in the AP for indicating the AP to end The IP assignment flag of the support status of IP address centralized distribution is held, whether the detection itself currently supports IP address of terminal to concentrate The step of distribution includes:
The set situation of the IP assignment flag is detected;
When detecting the IP assignment flag set, determines that the AP currently supports IP address of terminal centralized distribution, otherwise sentence The fixed AP does not support IP address of terminal centralized distribution currently.
4. according to the method described in claim 3, it is characterized in that, there is for indicating that IP address of terminal obtains record in the AP The default message protocol of message, wherein the default message protocol includes dynamic host configuration protocol DHCP agreement and address resolution Agreement ARP protocol, it is described to judge whether the clear text is that the step of IP address of terminal obtains message includes:
Message protocol identification is carried out to the clear text, obtains object message agreement corresponding to the clear text;
The object message agreement is compared with the default message protocol;
When there is agreement identical with the object message agreement in the default message protocol, the clear text is determined It is that IP address of terminal obtains message, otherwise determining the clear text not is that IP address of terminal obtains message.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
To for indicating that the default message protocol of IP address of terminal acquisition message configures.
6. a kind of message process device, which is characterized in that described applied to the wireless access point AP of deployment in the operator network AP is connect with wireless controller AC and at least one user terminal communication, and described device includes:
Detection module is distributed, is in local for receiving the clear text from the user terminal, and in the AP itself Detect whether itself currently supports IP address of terminal centralized distribution when forward mode;
Message judgment module, for judging the clear text when the AP currently supports IP address of terminal centralized distribution It whether is that IP address of terminal obtains message;
Message sending module, if being that IP address of terminal obtains message for the clear text, by the clear text It is sent to the AC, so that the AC or be that the corresponding user of the clear text is whole with the server of AC communication connection End distribution IP address;
Message sending module, if being also used to the clear text not is that IP address of terminal obtains message or the AP is not propped up currently IP address of terminal centralized distribution is held, then local forwarding is carried out to the clear text based on the carrier network, to realize The corresponding business of the clear text.
7. device according to claim 6, which is characterized in that described device further includes feedback reception module;
The feedback reception module, for receiving IP address corresponding with the clear text feedback report from the AC Text, wherein IP address feedback message includes the matched IP address of user terminal with the transmission clear text;
The message sending module is also used to the IP address received feedback message being sent to the corresponding user whole End, to complete the IP address distribution to the user terminal.
8. device according to claim 6 or 7, which is characterized in that be stored in the AP for indicating the AP to end The IP assignment flag of the support status of IP address centralized distribution is held, the distribution detection module detects whether itself currently supports end End IP address centralized distribution mode include:
The set situation of the IP assignment flag is detected;
When detecting the IP assignment flag set, determines that the AP currently supports IP address of terminal centralized distribution, otherwise sentence The fixed AP does not support IP address of terminal centralized distribution currently.
9. device according to claim 8, which is characterized in that there is for indicating that IP address of terminal obtains record in the AP The default message protocol of message, wherein the default message protocol includes dynamic host configuration protocol DHCP agreement and address resolution Agreement ARP protocol, the message judgment module judge the clear text whether be IP address of terminal obtain message mode Include:
Message protocol identification is carried out to the clear text, obtains object message agreement corresponding to the clear text;
The object message agreement is compared with the default message protocol;
When there is agreement identical with the object message agreement in the default message protocol, the clear text is determined It is that IP address of terminal obtains message, otherwise determining the clear text not is that IP address of terminal obtains message.
10. device according to claim 9, which is characterized in that described device further include:
Protocol configuration module, for for indicating that the default message protocol of IP address of terminal acquisition message configures.
CN201810814476.7A 2018-07-23 2018-07-23 Message processing method and device Active CN109088955B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810814476.7A CN109088955B (en) 2018-07-23 2018-07-23 Message processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810814476.7A CN109088955B (en) 2018-07-23 2018-07-23 Message processing method and device

Publications (2)

Publication Number Publication Date
CN109088955A true CN109088955A (en) 2018-12-25
CN109088955B CN109088955B (en) 2021-07-09

Family

ID=64838095

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810814476.7A Active CN109088955B (en) 2018-07-23 2018-07-23 Message processing method and device

Country Status (1)

Country Link
CN (1) CN109088955B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113473576A (en) * 2020-03-31 2021-10-01 深圳市万普拉斯科技有限公司 Roaming networking processing method and device, mobile terminal and readable storage medium
CN115086946A (en) * 2022-05-23 2022-09-20 阿里巴巴(中国)有限公司 Communication method, system, wireless access equipment and access controller

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101778425A (en) * 2010-03-10 2010-07-14 北京傲天动联技术有限公司 Method for dynamically balancing broadband access server load in wireless local area network
CN102281594A (en) * 2011-09-06 2011-12-14 华为技术有限公司 Message forwarding method, wireless access point (AP) and message forwarding system
CN102316447A (en) * 2011-09-14 2012-01-11 福建星网锐捷网络有限公司 Internet protocol (IP) address allocation and sending method, wireless access device, server and system
US20120300710A1 (en) * 2011-05-27 2012-11-29 Nokia Siemens Networks Oy Distributing L2 Baseband Processing in a Radio Network
CN103491005A (en) * 2013-09-06 2014-01-01 福建星网锐捷网络有限公司 Method for controlling transmission of message, access point device and relevant system
CN105992395A (en) * 2015-01-30 2016-10-05 杭州华三通信技术有限公司 Method and device for realizing ultrathin access point
CN107295514A (en) * 2016-04-12 2017-10-24 中兴通讯股份有限公司 A kind of data forwarding method, WAP and communication system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101778425A (en) * 2010-03-10 2010-07-14 北京傲天动联技术有限公司 Method for dynamically balancing broadband access server load in wireless local area network
US20120300710A1 (en) * 2011-05-27 2012-11-29 Nokia Siemens Networks Oy Distributing L2 Baseband Processing in a Radio Network
CN102281594A (en) * 2011-09-06 2011-12-14 华为技术有限公司 Message forwarding method, wireless access point (AP) and message forwarding system
CN102316447A (en) * 2011-09-14 2012-01-11 福建星网锐捷网络有限公司 Internet protocol (IP) address allocation and sending method, wireless access device, server and system
CN103491005A (en) * 2013-09-06 2014-01-01 福建星网锐捷网络有限公司 Method for controlling transmission of message, access point device and relevant system
CN105992395A (en) * 2015-01-30 2016-10-05 杭州华三通信技术有限公司 Method and device for realizing ultrathin access point
CN107295514A (en) * 2016-04-12 2017-10-24 中兴通讯股份有限公司 A kind of data forwarding method, WAP and communication system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113473576A (en) * 2020-03-31 2021-10-01 深圳市万普拉斯科技有限公司 Roaming networking processing method and device, mobile terminal and readable storage medium
CN115086946A (en) * 2022-05-23 2022-09-20 阿里巴巴(中国)有限公司 Communication method, system, wireless access equipment and access controller
WO2023226946A1 (en) * 2022-05-23 2023-11-30 阿里巴巴(中国)有限公司 Communication method and system, and wireless access device and access controller
CN115086946B (en) * 2022-05-23 2024-04-16 阿里巴巴(中国)有限公司 Communication method, system, wireless access device and access controller

Also Published As

Publication number Publication date
CN109088955B (en) 2021-07-09

Similar Documents

Publication Publication Date Title
CN102571996B (en) IP (Internet Protocol) address assignment method, IP address assignment device and network system
CN108173753A (en) Message forwarding method, switching card, service card and distribution switch
CN106888450B (en) Information processing method and device
CN102056212B (en) Method for detecting internet speed and network side equipment
CN107171837A (en) Wireless network configuration method, device and system
CN105282773B (en) The configuration method and system of WiFi equipment
CN109728967A (en) Communication quality detection method, communication equipment and system
CN109088955A (en) Message processing method and device
CN109040243A (en) A kind of message processing method and device
CN109587649A (en) A kind of data communications method based on cloud service, apparatus and system
US20220264419A1 (en) Method and apparatus for user plane resource optimization
CN107659930A (en) A kind of AP connection control methods and device
CN104618157B (en) Network management, equipment and system
CN109088823A (en) A kind of method and device for realizing terminal interconnection
CN104243719A (en) Heartbeat period determining method, system and device for long connection in mobile communication network
CN108966281A (en) Mesh network processing method, device, equipment and storage medium
CN101141409A (en) Method and equipment for implementing 6to4 relay routing device backup
CN104780083A (en) High-timeliness low-voltage power line communication networking algorithm based on time division multiplexing mechanism
JP2004166190A (en) Mobile communication system, mobile station, base station and radio network controller
CN106792762A (en) A kind of wireless bridging method and wireless bridging system
CN105490940B (en) The selection method and device of switching node, base node, terminal node
CN105049519B (en) A kind of message route method and system based on soap protocol
CN111131452B (en) Method and device for updating service state of mDNS gateway
CN107995125A (en) A kind of traffic scheduling method and device
CN101286991B (en) Implementing method and device for dynamic host configuring protocol Option82

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Message processing method and device

Effective date of registration: 20220728

Granted publication date: 20210709

Pledgee: Agricultural Bank of China Limited by Share Ltd. Chengdu Wenjiang branch

Pledgor: CHENGDU SKSPRUCE TECHNOLOGY, Inc.

Registration number: Y2022980011424