The content of the invention
The embodiment of the present invention provides a kind of information processing method and gateway device, for solving request message because that can not be believed
Make processing module parse and so that the technical problem that communication process can not be carried out.
First aspect includes there is provided a kind of information processing method method, this method:
Secure Access Modules in gateway device receive the request message that user equipment is sent;Wherein, the gateway device
Including the Secure Access Modules, protocol conversion module and signaling processing module;
The protocol conversion module constructs the information MAP that the request message includes to the protocol conversion module
In protocol Data Unit;Wherein, the signaling processing module can recognize the information being carried in the protocol Data Unit;
The protocol Data Unit after mapping is sent to the signaling processing module by the protocol conversion module;
The information that the signaling processing module includes according to the protocol Data Unit after the mapping carries out corresponding position
Reason.
Optionally, after the request message that the Secure Access Modules reception user equipment in the gateway device is sent,
Also include:
The Secure Access Modules obtain key;The key is used to decrypt the request message;
Secure Access Modules request message according to the secret key decryption, is included with to obtain the request message
Information.
Optionally, the protocol Data Unit of the protocol conversion module construction includes message head unit, type of message
Unit, message content unit, message-length unit and verification unit;Wherein, the message head unit is used to carry the request
The address information of message;The type of message unit is used for the type information for carrying the request message;The message content list
Member is used for the content for carrying the request message;The message-length unit is used for the total length for carrying the protocol Data Unit
Information;The verification unit is used to verify the information that the protocol Data Unit includes.
Optionally, the information MAP that the protocol conversion module includes the request message is to the protocol conversion module
In the protocol Data Unit of construction, including:
The mapping address information that the protocol conversion module includes the request message is to the message head unit, by institute
The type information for stating the request message that request message includes is mapped to the type of message unit, by the request message bag
The content map of the request message included is to the message content unit.
Optionally, the request message is that attach request or attachment removal are asked;The attach request is used to ask described
Connection is set up between the network that user equipment and the gateway device are accessed, the attachment removal asks to be used to ask disconnection described
Connection between the network that user equipment and the gateway device are accessed.
Second aspect includes there is provided a kind of gateway device, the gateway device:
Secure Access Modules, the request message for receiving user equipment transmission;
Protocol conversion module, what the information MAP for the request message to be included was constructed to the protocol conversion module
In protocol Data Unit;Wherein, the signaling processing module can recognize the information being carried in the protocol Data Unit;
The protocol conversion module is additionally operable to the protocol Data Unit after mapping being sent to the signaling processing mould
Block;
The signaling processing module, the information for being included according to the protocol Data Unit after the mapping carries out phase
It should handle.
Optionally, the Secure Access Modules are additionally operable to:Asking for user equipment transmission is received in the Secure Access Modules
Ask after message, obtain key, the key is used to decrypt the request message;Ask to disappear according to the secret key decryption
Breath, to obtain the information that the request message includes.
Optionally, the protocol Data Unit of the protocol conversion module construction includes message head unit, type of message
Unit, message content unit, message-length unit and verification unit;Wherein, the message head unit is used to carry the request
The address information of message;The type of message unit is used for the type information for carrying the request message;The message content list
Member is used for the content for carrying the request message;The message-length unit is used for the total length for carrying the protocol Data Unit
Information;The verification unit is used to verify the information that the protocol Data Unit includes.
Optionally, the protocol conversion module is used for the information MAP that includes the request message to the protocol conversion
In the protocol Data Unit of module structure, including:
The mapping address information that the protocol conversion module includes the request message is to the message head unit, by institute
The type information for stating the request message that request message includes is mapped to the type of message unit, by the request message bag
The content map of the request message included is to the message content unit.
Optionally, the request message is that attach request or attachment removal are asked;The attach request is used to ask described
Connection is set up between the network that user equipment and the gateway device are accessed, the attachment removal asks to be used to ask disconnection described
Connection between the network that user equipment and the gateway device are accessed.
The embodiment of the present invention increases protocol conversion module newly in gateway device, and such as gateway device is ePDG.The agreement
The agreement that the content map for the message request that modular converter can receive Secure Access Modules is constructed to the protocol conversion module
In data cell, and signaling processing module can recognize the information in the protocol Data Unit of protocol conversion module construction,
So, signaling processing module can just obtain the information of message request carrying by protocol Data Unit, carry out according to acquisition
Information handled accordingly, also allow for user equipment transmission message request can be handled in time so that communicated
Journey is able to normally continue.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described.
Hereinafter, the part term in the embodiment of the present invention is explained, in order to skilled artisan understands that.
User equipment, refers to the equipment for providing a user voice and/or data connectivity, for example, can include having wirelessly
The portable equipment of linkage function or the processing equipment for being connected to radio modem.The user equipment can be through wirelessly connecing
Networking (Radio Access Network, RAN) is communicated with core net, and voice and/or data are exchanged with RAN.The user
Equipment can include UE, wireless terminal device, mobile terminal device, subscri er unit (Subscriber Unit), subscriber station
(Subscriber Station), movement station (Mobile Station), mobile station (Mobile), distant station (Remote
Station), access point (Access Point, AP), RTU (Remote Terminal), access terminal equipment
(Access Terminal), subscriber terminal equipment (User Terminal), user agent (User Agent) or subscriber's installation
(User Device) etc..For example, mobile phone (or being " honeycomb " phone), the meter with mobile terminal device can be included
Calculation machine, portable, pocket, hand-held, built-in computer or vehicle-mounted mobile device.For example, PCS
It is (Personal Communication Service, PCS) phone, wireless phone, Session initiation Protocol (SIP) phone, wireless
Local loop (Wireless Local Loop, WLL) is stood, personal digital assistant (Personal Digital Assistant,
PDA), the equipment such as intelligent wearable equipment.
A kind of application scenarios of the embodiment of the present invention are introduced first, refer to Fig. 1.Wherein, when user uses operator's net
When network is communicated, user equipment is connected by carrier network with evolved base station (evolved Node B, eNodeB),
Communicated again by eNodeB and Evolved Packet Core (Evolved Packet Core, EPC).Wherein, EPC includes
Gateway (Serving-Gateway, S-GW), packet data network gateway (Packet Data Network Gateway, P-
GW), mobile management entity (Mobility Management Entity, MME) and home signature user server (Home
Subscriber Server, HSS).When user equipment accesses VoWiFi systems, if desired the core net with operator is carried out
Communication, then need by ePDG come core network access.Wherein, user equipment is connected to WiFi network, and passes through user equipment
SWu interfaces are connected with ePDG, can by SWm interfaces and checking, authorization and accounting server (Authentication,
Authorization and Accounting, AAA) connect, and the P-GW that ePDG also passes through in S2b interfaces and core net connects
Connect.
User equipment is when using VoWiFi functions, and request message is sent to ePDG by user equipment by WIFi networks,
EPDG receives request message, and the request message is decrypted, and obtains the information that the request message includes, and different requests disappear
Breath needs different equipment to handle, or needs multiple equipment collaboration to handle.Therefore, ePDG can be determined according to the information of acquisition
Need to be handled by which equipment, then the information of acquisition is sent to corresponding equipment.If for example, information of the ePDG according to acquisition
It is determined that needing ePDG to handle, then ePDG is directly handled accordingly according to the information of acquisition;If ePDG determines to need by it
His equipment is handled, then the information of acquisition is sent to the other equipment by ePDG, is handled by the other equipment;If ePDG is true
Fixed to need to cooperate with processing by ePDG and other equipment, then ePDG is except directly being handled accordingly according to the information of acquisition,
Also the information of acquisition can be sent to other equipment.Wherein, other equipment is, for example, the arbitrary equipment that EPC includes, or AAA
Etc. equipment.That is, user equipment send request message be required for via ePDG handle or via ePDG be sent to AAA or
EPC.But current ePDG only includes two parts of Secure Access Modules and signaling processing module, and signaling processing module can not
The content that the message request that parsing Secure Access Modules are obtained from user equipment is carried, so that signaling processing module can not be located
The request message is managed, causes communication process not carry out.
In consideration of it, the embodiment of the present invention provides a kind of information processing method, this method increases agreement newly in network element device and turned
Change the mold block, the content map of the message request that the protocol conversion module can receive Secure Access Modules to the protocol conversion mould
In the protocol Data Unit of block construction, and signaling processing module can recognize the protocol data list of protocol conversion module construction
Information in member, so, signaling processing module can just obtain the information of message request carrying by protocol Data Unit, enter
Row is handled accordingly according to the information of acquisition, and the message request for also allowing for user equipment transmission can be handled in time,
So that communication process is able to normally continue.
Technical scheme provided in an embodiment of the present invention is introduced below in conjunction with the accompanying drawings.During following introduction, it incite somebody to action this
Exemplified by the technical scheme that inventive embodiments are provided is applied in the network architecture shown in Fig. 1, the application of certain embodiment of the present invention
Scene not limited to this.
Fig. 2 is referred to, one embodiment of the invention provides a kind of gateway device 20, and the gateway device 20 can be used for performing this hair
The method that bright embodiment is provided.The gateway device 20 includes Secure Access Modules 201, protocol conversion module 202 and signaling processing
Module 203.Wherein, Secure Access Modules 201, protocol conversion module 202 and signaling processing module 203 can pass through centre
Manage device (Central Processing Unit, CPU) or microprocessor (Microprocessor Control Unit, MCU)
Realized Deng part, it is of course also possible to be realized by other possible parts.In addition, Secure Access Modules 201, agreement turn
Changing the mold the function of block 202 and signaling processing module 203 can be realized by same part, such as same CPU or same
Individual MCU.In one embodiment, the gateway device 20 can be realized by ePDG.
Fig. 3 is referred to, one embodiment of the invention provides a kind of information processing method, and the flow of this method is described as follows:
Step 301:Secure Access Modules 201 in gateway device 20 receive the request message that user equipment is sent;Wherein,
Gateway device 20 includes Secure Access Modules 201, protocol conversion module 202 and signaling processing module 203;
Step 302:Protocol conversion module 202 constructs the information MAP that request message includes to protocol conversion module 202
Protocol Data Unit in;Wherein, signaling processing module 203 can recognize the information being carried in protocol Data Unit;
Step 303:Protocol Data Unit after mapping is sent to signaling processing module 203 by protocol conversion module 202;
Step 304:The information that signaling processing module 203 includes according to the protocol Data Unit after mapping carries out corresponding position
Reason.
In the embodiment of the present invention, user equipment can send request message to gateway device 20.Specifically, working as user equipment
When being connected to WiFi network, user equipment can by WiFi network to gateway device 20 send request message.In addition, in user
When equipment sends request message, to ensure the security of information transfer, it will usually which the message to transmission is encrypted, that is to say, that
Corresponding host-host protocol can be applied when being communicated between user equipment and gateway device 20, when gateway device 20 receives request message
Afterwards, request message can be also decrypted by the host-host protocol to obtain the information of request message carrying.Specifically, user sets
The standby host-host protocol applied between gateway device 20 can be ISAKMP agreements, it is of course also possible to be other possible associations
View, the embodiment of the present invention is without limitation.
Specifically, the request message that user equipment is sent can be attach request or attachment removal request, it is of course also possible to
It is other possible request messages, the embodiment of the present invention is without limitation.Wherein, if user equipment supports VoWiFi functions,
Then user equipment start access WiFi network or user equipment from carrier network be switched to WiFi network when, user equipment is all
Attach request can be sent to ePDG, to ask to set up between user equipment and the network of ePDG accesses to connect.And in user
Equipment shut down or user equipment from WiFi network be switched to carrier network when, user equipment then can to ePDG send attachment removal
Request, to ask to disconnect the connection between the network of user equipment and ePDG accesses.
In the embodiment of the present invention, after user equipment sends request message by WiFi network, then Secure Access Modules
201 can receive the request message.After Secure Access Modules 201 receive the request message, Secure Access Modules 201 may be used also
To consult to obtain key by the host-host protocol between user equipment and user equipment, further according to acquisition key to the request
Message is decrypted, to obtain the information of request message carrying.Specifically, the information that request message is carried can include request
The content of message, and send the relevant information of the user equipment of the request message etc..
After Secure Access Modules 201 obtain the information that request message is carried, Secure Access Modules 201 are then notified that association
Modular converter 202 is discussed, protocol conversion module 202 will construct protocol Data Unit, wherein, what the protocol Data Unit was applied
Agreement is that signaling processing module 203 is supported, therefore signaling processing module 203 can recognize the letter in the protocol Data Unit
Breath.
In the embodiment of the present invention, the protocol Data Unit that protocol conversion module 202 is constructed can include multiple fields, each
Field is used to carry corresponding information.Specifically, referring to Fig. 4, protocol Data Unit can include message head unit, message class
Type unit, message content unit, message-length unit and verification unit.Wherein, message head unit is used for bearing request message
Address information, for example, the source address of user equipment can be included, and the request message destination address etc..Type of message list
Member is used for the type information for carrying the request message, for example, the information that type of message unit is carried is used to indicate that the request disappears
The type of breath is attach request or takes attach request etc..Message content unit is then used for the content of request message.Request message is not
Meanwhile, the content of request message would also vary from, if for example, request message is asked for attachment removal, message content unit can
Identification information and access network information to carry the user equipment etc..Wherein, the identification information of user equipment can be that user sets
Standby international mobile subscriber identity (International Mobile Subscriber Identification Number,
IMSI), it can then determine to send the user equipment of request message by the IMSI.Message-length unit is then used for bearing protocol number
According to the total length information of unit.Verification unit is then used to verify the information that protocol Data Unit includes, single by verifying
Member can verify the integrality of the protocol Data Unit data, correctness etc..
After the construction protocol Data Unit of protocol conversion module 202 is finished, protocol conversion module 202 then can be by secure accessing
In the protocol Data Unit that the information MAP that request message after the decryption of module 201 is carried is constructed to the protocol conversion module 202.
Specifically, the mapping address information that protocol conversion module 202 can include request message is to message head unit, by request message bag
The type information of the request message included is mapped to type of message unit, by the content map of request message to message content unit.
Wherein, the information that message-length unit and verification unit are carried is that protocol conversion module 202 is automatically generated.
In the embodiment of the present invention, protocol conversion module 202 is completed after mapping, then the protocol data that will can be obtained after mapping
Unit is sent to signaling processing module 203.Because signaling processing module 203 can recognize the information in the protocol Data Unit,
Therefore after signaling processing module 203 receives the protocol Data Unit after mapping, the protocol data list after the mapping can be obtained
Included information in member, and handled accordingly according to information included in the protocol Data Unit after the mapping.Example
Such as, when information included in the protocol Data Unit after the mapping asks related information for attachment removal, if user equipment makes
Overall network resource or partial network resource are distributed by ePDG, then signaling processing module 203 can discharge ePDG to be somebody's turn to do
The Internet resources that user equipment is distributed, meanwhile, what signaling processing module 203 also included the protocol Data Unit after mapping
The identification information of user equipment is sent to AAA and P-GW so that AAA releases AAA is the Internet resources that the user equipment is distributed, with
And cause P-GW releases P-GW to be the Internet resources that the user equipment is distributed.If included by the protocol Data Unit after mapping
Information is the related information of attach request, and Secure Access Modules 201 can preserve the request message that decryption is obtained, and signaling processing
Module 203 can also preserve the protocol Data Unit after the mapping of reception.When the execution of signaling processing module 203 goes Additional Note to ask,
The corresponding Internet resources of user equipment, Secure Access Modules 201 when the Internet resources are included in processing attach request can then be discharged
The protocol Data Unit for 203 pairs of preservations of request message and signaling processing module that the decryption of preservation is obtained.
In summary, the embodiment of the present invention increases protocol conversion module 202, the protocol conversion module newly in network element device
The agreement that the content map of 202 message requests that can receive Secure Access Modules 201 is constructed to the protocol conversion module 202
In data cell, and signaling processing module 203 can be recognized in the protocol Data Unit of the protocol conversion module 202 construction
Information, so, signaling processing module 203 can just obtain the information of message request carrying by protocol Data Unit, according to
The information of acquisition is handled accordingly, and the message request for also allowing for user equipment transmission can be handled in time so that logical
Letter process is able to normally continue.
In embodiments of the present invention, it should be understood that disclosed apparatus and method, can be real by another way
It is existing.Apparatus embodiments described above are only schematical, for example, the division of the unit or unit, is only one kind
Division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or can
To be integrated into another system, or some features can be ignored, or not perform.In addition, it should also be understood that shown or discussed
Coupling or direct-coupling or communication connection each other, can be the INDIRECT COUPLING by some interfaces, equipment or unit
Or communication connection or electrical or other forms.
Each functional unit in embodiments of the present invention can be integrated in a processing unit, or unit also may be used
To be independent physical module.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used
When, it can be stored in a computer read/write memory medium.Understood based on such, the technical scheme of the embodiment of the present invention
All or part can be embodied in the form of software product, the computer software product is stored in a storage medium
In, including some instructions can be personal computer to cause a computer equipment, such as, server, or network are set
It is standby etc., or processor (processor) performs all or part of step of each embodiment methods described of the invention.And it is foregoing
Storage medium includes:General serial bus USB (Universal Serial Bus flash drive), mobile hard disk, only
Read memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disc
Or CD etc. is various can be with the medium of store program codes.
Described above, above example is only described in detail to the technical scheme to the application, but implements above
The explanation of example is only intended to help the method for understanding the embodiment of the present invention, should not be construed as the limitation to the embodiment of the present invention.This
The change or replacement that those skilled in the art can readily occur in, should all cover the embodiment of the present invention protection domain it
It is interior.