Specific implementation mode
The embodiment of the present application provides a kind of method for message transmission, is applied to the network rack that MM functions and SM functions detach
Structure.The embodiment of the present invention is described in detail below in conjunction with the accompanying drawings.
A kind of connection identifier defined in the embodiment of the present application, the connection identifier are used for the routing of SM message.The connection mark
Knowledge can be used to identify the message for belonging to same session, and MM functional entitys can determine the target SM work(of SM message according to the connection identifier
It can entity.In the message interacted between MM and SM, the connection identifier is carried.Wherein, the session can be grouped data
Unit (Packed Data Unit, abbreviation PDU) PDU sessions.
The connection identifier is distributed by MM functional entitys, and SM work(is sent in SM message transmitting procedures by MM functional entitys
It can entity and terminal.In MM functional entitys, SM functional entitys and terminal, the relevant information of connection identifier can be stored, specifically:
Connection identifier and SM functional entitys information corresponding with connection identifier are stored on-MM functional entitys (hereinafter referred to as
Mapping relation information between connection identifier and SM functional entitys), for example a mapping relations are represented by<Connection identifier, SM
Functional entity address>;The mapping relation information is storable in the context of terminal;
Session information is stored on-SM functional entitys and connection identifier information corresponding with session information (hereinafter referred to as can
Talk about and the mapping relation information between connection identifier), for example a mapping relations are represented by<PDU session identifications, connection identifier
>;The mapping relation information is storable in the context of terminal;
The mapping relation information between session and connection identifier is stored in terminal, for example a mapping relations are represented by<
PDU session identifications, connection identifier>.
Fig. 3 schematically illustrates a kind of message transfer process.As shown, in S301, SM functional entitys are to MM work(
Energy entity sends message, including the connection identifier for routeing SM message;In S302, MM functional entitys disappear according to
Connection identifier in breath carries out respective handling.The switching of the transmission process, session release process and SM functional entitys of SM message
Process can carry out information exchange according to flow shown in Fig. 3.
Fig. 4 schematically illustrates a kind of message transfer process.As shown, in S401, MM functional entitys are to SM work(
Energy entity sends request message, and the request message includes the first SM message and the company for routeing the first SM message
Connect mark;In S402, SM functional entitys are replied message according to the request message to what MM functional entitys were sent, the reply
Message includes the 2nd SM message and the connection identifier.The transmission process of SM message can be carried out according to flow shown in Fig. 4
Information exchange.
The transmission process of SM message may include that the session establishment process, the session modification process of SM message, SM of SM message disappear
The session of breath discharges process.
Fig. 5 schematically illustrates the session establishment process of SM message.As shown in figure 5, the process may include:
S501:UE sends wireless heterogeneous networks (Radio Resource Control, abbreviation RRC) to Radio Access Network
Message, the RRC information include SM message 1, be may include for selecting the information needed for SM functional entitys in the SM message 1.
S502:After Radio Access Network receives the RRC information, NG2 interface messages, the NG2 are sent to MM functional entitys
The parameter carried in interface message may include the parameter that UE is provided in RRC information.
S503:MM functional entitys receive NG2 interface messages, due to not carrying the company for routeing SM message in the message
Mark is connect, then MM functional entitys are used to select the information needed for SM functional entitys according to what is carried in message, in the NG2 message
SM message 1 select SM functional entitys, distribute connection identifier for routeing SM message, and to the SM functional entitys hair selected
Request message is sent, SM message 1 and the connection identifier distributed are may include in the request message.MM functional entitys are above and below the UE
The mapping relation information between distributed Route Distinguisher and selected SM functional entitys is stored in text.
S504:After SM functional entitys receive request message, connection identifier is obtained from the request message, is being locally stored
Mapping relation information between PDU sessions and the connection identifier handles the SM message 1 for including in the request message, according to processing
As a result SM message 2 is generated, and is replied message to MM functional entitys, this may include that SM message 2 and connection are marked in replying message
Know.Wherein, the connection identifier for replying message middle carrying is identical as the connection identifier carried in request message, is carried in request message
SM message 1 and reply message the SM message 2 of middle carrying and belong to same PDU sessions.
S505:MM functional entitys receive reply message after, the wireless access network of the UE is determined according to the context of the UE
The information of network, and NG2 interface messages are sent to the Radio Access Network, which includes that SM message 2 and connection are marked
Know, the connection identifier in the NG2 interface messages is identical as the connection identifier in replying message.
S506:After Radio Access Network receives the NG2 interface messages, RRC information is sent to UE, it can in the RRC information
Including SM message 2 and connection identifier.UE after receiving the RRC information, be locally stored the PDU sessions belonging to SM message 2 and
Mapping relation information between the connection identifier.
In a further embodiment, when new PDU sessions are established in UE requests, since different PDU sessions may be by difference
SM functional entitys provide service, so UE send PDU session requests when SM message in include connection identifier.Such case
Under, in S502, after MM functional entitys receive NG2 interface messages, due to not including wherein connection identifier, so MM functions
One SM functional entity of entity selection, if selection SM functional entitys be already contained in mapping relation information it is (i.e. a certain to reflect
The SM functional entitys penetrated in relationship are identical as the SM functional entitys currently selected), then MM functional entitys will be in the mapping relations
The corresponding connection identifier of the SM functional entitys carries in NG2 message.
Fig. 6 schematically illustrates the session modification process of SM message.As shown in fig. 6, after establishing PDU sessions
(process of establishing of PDU sessions can be as shown in Figure 5), UE can initiate PDU session modification processes, which may include:
S601:UE sends RRC information to Radio Access Network, which includes SM message 3 and for routeing SM
The connection identifier of message 2.In the step, the PDU sessions being locally stored and company are searched in PDU sessions of the UE belonging to SM message 3
The mapping relation information for connecing mark obtains corresponding connection identifier, and the connection identifier is carried in RRC information.
S602:After Radio Access Network receives the RRC information, NG2 interface messages, the NG2 are sent to MM functional entitys
Interface message includes SM message 3 and connection identifier.
S603:MM functional entitys receive NG2 interface messages, due to carrying the company for routeing SM message 3 in the message
Mark is connect, then MM functional entitys inquire the mapping between the SM functional entitys being locally stored and connection identifier according to the connection identifier
Relation information, obtains SM functional entitys corresponding with the connection identifier, and MM functional entitys are sent to the SM functional entitys inquired
Request message may include SM message 3 and the connection identifier in the request message.When it is implemented, MM functional entitys can be according to this
The mark of terminal is looked into from the mapping relation information between the SM functional entitys preserved in the context of the terminal and connection identifier
Ask SM functional entitys corresponding with the connection identifier.
S604:After SM functional entitys receive request message, the SM message 3 for including in the request message is handled, according to place
It manages result and generates SM message 4, and replied message to MM functional entitys, this may include SM message 4 and the company in replying message
Connect mark.Wherein, the connection identifier for replying message middle carrying is identical as the connection identifier carried in request message, in request message
The SM message 3 of carrying belongs to same PDU sessions with the SM message 4 for replying message middle carrying.
S605:MM functional entitys receive reply message after, the nothing which currently connects is determined according to the context of the UE
Line access network, and NG2 interface messages are sent to the Radio Access Network, which includes SM message 4 and the company
Connect mark.
S606:After Radio Access Network receives the NG2 interface messages, RRC information is sent to UE, it can in the RRC information
Including SM message 4 and the connection identifier.
In some embodiments, in PDU conversation procedures, one is received after MM functional entitys distribution connection identifier or often
It (for example receives with the relevant SM message of certain connection identifier and carries the NG2 interface messages of connection identifier, or from SM functional entitys
Receive the message for carrying connection identifier), start timer corresponding with the connection identifier.If before the timer expiry,
It receives SM message and is connection identifier corresponding with the timer for routeing the connection identifier of the SM message, then resetting should
Timer;If the timer expiry, according to the corresponding connection identifier of the timer, by the associated mapping relations of the connection identifier
Information deletion.
Above-mentioned flow shown in fig. 6 can equally be well applied to discharge process by the PDU sessions that UE is initiated.In some embodiments
In, during PDU sessions discharge, SM functional entitys can carry instruction information, the instruction information in replying message in S604
It is used to indicate MM functional entitys and deletes the mapping relation information replied message with this associated by connection identifier of middle carrying.In S605
In, it, can be according to the instruction information deletion and the associated mapping relations of the connection identifier after MM functional entitys send NG2 interface messages
Information.Optionally, MM functional entitys are after sending NG2 interface messages, may wait for deleting again after setting long-time connecting mark with this
Know associated mapping relation information.Wherein, it specifically refers to include that this connect with the associated mapping relation information of the connection identifier
The mapping relation information of mark.
Fig. 7 schematically illustrates the deletion process of the connection identifier relevant information during PDU sessions release.Such as Fig. 7
Shown, which may include:
S701:SM functional entitys send a notification message to MM functional entitys, which includes connection identifier.The step
In rapid, SM functional entitys can send the notification message, which disappears after deleting PDU conversation procedures to MM functional entitys
The connection identifier carried in breath is the connection identifier for needing to delete.In one example, only when relevant with certain connection identifier
When all PDU sessions of UE are all released, SM functional entitys just send a notification message to MM functional entitys, for notifying MM work(
Energy entity deletes the relevant mapping relation information of the connection identifier.
S702:After MM functional entitys receive the notification message, according to the connection identifier that the notification message includes, delete
With the mapping relation information associated by the connection identifier.Wherein, it is specifically referred to the associated mapping relation information of the connection identifier
It include the mapping relation information of the connection identifier.
It in some embodiments, can be in different SM functions when the SM functional entitys for providing service for UE change
Connection identifier is transmitted between entity, to realize the switching of SM functional entitys.
Fig. 8 schematically illustrates a kind of process of the target SM functional entitys by the selection switching of SM functional entitys.Wherein,
Source SM functional entitys change, and need the PDU Dialog processings that selection target SM functional entitys are handled to source SM functional entitys
Operation, the flow may include:
In S801, source SM functional entity selection target SM functional entitys, the connection mark that will be stored in the SM functional entitys of source
Know and the information (such as address of target SM functional entitys) of target SM functional entitys is sent to MM function realities by notification message
Body.
In S802, after MM functional entitys receive the notification message, according to the connection identifier carried in the notification message
With the information of target SM functional entitys, reflecting between the MM functional entitys connection identifier being locally stored and SM functional entitys is updated
Penetrate relationship.Specifically, MM functional entitys can be by the source SM in the associated mapping relation information of SM functional entitys in terminal contexts
Functional entity is updated to the objective function entity.
In 803, the mapping relation information that source SM functional entitys are stored is sent to target SM functional entitys.Wherein,
Source SM functional entitys UE contexts can be sent to target source SM functional entitys (in the UE contexts comprising PDU sessions with connect
The mapping relation information of mark).
Fig. 9 schematically illustrates a kind of process by MM functional entity selection target SM functional entitys.Wherein, source SM work(
Energy entity changes, and needs the PDU Dialog processings operation that selection target SM functional entitys are handled to source SM functional entitys, should
Flow may include:
In S901, source SM functional entitys send triggering message to MM functional entitys.The triggering message is used to indicate MM work(
Energy entity is source SM functional entity selection target SM functional entitys.
In S902, after MM functional entitys receive the triggering message, for source SM functional entity selection target SM functions
Entity, and the information (such as address of SM functional entitys) for the target SM functional entitys selected is sent to source SM functions reality
Body.
In S903, the mapping relation information hair between the PDU sessions stored of source SM functional entitys and connection identifier
Give target SM functional entitys.Wherein, UE contexts can be sent to target source SM functional entitys (UE by source SM functional entitys
Include the mapping relation information of PDU sessions and connection identifier in context).
In S904, source SM functional entitys return to confirmation message to MM functional entitys.MM functional entitys receive confirmation and disappear
After breath, the mapping relation information between the connection identifier being locally stored and SM functions is updated.Specifically, MM functional entitys can incite somebody to action
Source SM functional entitys in terminal contexts in the associated mapping relation information of SM functional entitys are updated to the objective function entity.
In a further embodiment, above-mentioned confirmation message can be omitted, in this way, MM functional entitys can for the source SM functions reality
After body selection target SM functional entitys, the mapping relation information between the connection identifier being locally stored and SM functions is updated.
Based on the same technical idea, the embodiment of the present invention additionally provides a kind of MM functional entity devices.It, should referring to Figure 10
Equipment may include:Receiving module 1001, processing module 1002, further, which may also include sending module 1003,
In:
Receiving module 1001, the message for receiving the transmission of session management SM functional entitys, including for routeing SM
The connection identifier of message;Processing module 1002, for carrying out respective handling according to the connection identifier.
Optionally, the message that the SM functional entitys are sent is the first notification message.Processing module 1002 is specifically used for:Root
The connection identifier of MM functional entitys storage and SM functions corresponding with the connection identifier are deleted according to the connection identifier
Entity information.
Optionally, the connection identifier is the MM functional entitys distribution, and processing module 1002 is additionally operable to described in distribution
Start corresponding timer after connection identifier.Processing module 1002 is specifically used for:It is received before the timer expiry described
After the message that SM functional entitys are sent, the connection identifier for including according to the message resets the timer.Place
Reason module 1002 is additionally operable to:If the timer expiry, delete MM functional entitys storage the connection identifier and
SM functional entity information corresponding with the connection identifier.
Optionally, the message that the SM functional entitys are sent is triggering message.Processing module 1002 is specifically used for:According to institute
It is the SM functional entitys selection target SM functional entitys to state triggering message, and the information of the target SM functional entitys is sent
To the SM functional entitys.
Optionally, processing module 1002 is additionally operable to:The MM functional entitys are stored corresponding with the connection identifier
SM functional entity information updates be the objective function entity information.
Optionally, processing module 1002 is specifically used for:After receiving the confirmation message that the SM functional entitys are sent, by institute
It is the objective function entity to state the SM functional entity information updates corresponding with the connection identifier that MM functional entitys are stored
Information;Wherein, the confirmation message is information of the SM functional entitys according to the target SM functional entitys received, will
After the connection identifier and corresponding session information of the SM functional entitys storage are sent to the target SM functional entitys
It sends.
Optionally, the message that the SM functional entitys are sent is second notification message, and the second notification message includes
Connection identifier be SM functional entitys storage connection identifier, further include that the SM functions are real in the second notification message
The information of the target SM functional entitys of body selection.
Optionally, processing module 1002 is specifically used for:The connection identifier for including according to the second notification message
And the information of the target SM functional entitys, the SM work(corresponding with the connection identifier that the MM functional entitys are stored
Energy entity information is updated to the objective function entity information.
Optionally, the message that the SM functional entitys are sent is to reply message, and described reply message includes that the 2nd SM disappears
Breath and the connection identifier, the 2nd SM message are the response message of the first SM message.Processing module 1002 is specifically used for:
Before sending request message to SM functional entitys, the first SM message that terminal is sent, institute are received by the receiving module
State the connection identifier carried in the first SM message for routeing the first SM message;It is inquired according to the connection identifier
Corresponding SM functional entitys;And request message is sent to the SM functional entitys that inquire by sending module, including the
One SM message and the connection identifier for routeing the first SM message.
In another example, processing module 1002 is specifically used for:It is sent and is asked to SM functional entitys by sending module
Before message, the first SM message that terminal is sent is received by receiving module, is not carried in the first SM message useful
In the connection identifier for routeing the first SM message;SM functional entitys, distribution is selected to be used for road for the first SM message
By the connection identifier of the first SM message, request is sent to selected SM functional entitys by the sending module and is disappeared
Breath, including the first SM message and the connection identifier distributed.
Optionally, described reply message includes instruction information.Processing module 1002 is additionally operable to:Believed according to the instruction
It ceases, deletes or deleted after setting duration the connection identifier and SM functional entitys corresponding with the connection identifier immediately
Information.
Based on the same technical idea, the embodiment of the present invention additionally provides a kind of SM functional entity devices.It, should referring to Figure 11
Equipment may include:Sending module 1101, receiving module 1102, further may also include processing module 1103, wherein:
Sending module 1101 disappears for sending message to mobile management MM functional entitys including for routeing SM
The connection identifier of breath;Receiving module 1102, the connection for including according to the message for receiving the MM functional entitys
Mark carries out the response message sent after respective handling.
Optionally, the message that sending module 1101 is sent is the first notification message, and first notification message is used to indicate
The MM functional entitys are deleted the MM functional entitys according to the connection identifier that first notification message includes and are stored
The connection identifier and SM functional entity information corresponding with the connection identifier.
Optionally, processing module 1103 can delete the SM functional entitys storage after receiving the response message
The connection identifier and session information corresponding with the connection identifier.
Optionally, the message is the triggering message that the SM functional entitys are sent, and the triggering message is used to indicate institute
It is the SM functional entitys selection target SM functional entitys to state MM functional entitys.Processing module 1103, for receiving the sound
After answering message, the information of the target SM functional entitys carried in the response message is obtained, the target SM functional entitys are
The MM functional entitys are SM functional entitys selection according to the triggering message;And by the connection mark of storage
Know and session information corresponding with the connection identifier is sent to the target SM functional entitys by the sending module.
Optionally, before processing module 1103 can be used for sending message to the MM functional entitys, selection target SM functions
Entity.Further, sending module 1101 can be specifically used for:Second notification message is sent to the MM functional entitys, described the
The connection identifier that two notification messages include is the connection identifier of SM functional entitys storage, is gone back in the second message
Include the information of the target SM functional entitys, the second notification message, which is used to indicate, is stored the MM functional entitys
SM functional entity information updates corresponding with the connection identifier are the objective function entity information.Further, mould is sent
Block 1101 is additionally operable to:The connection identifier of SM functional entitys storage and corresponding session information are sent to the target
SM functional entitys.
Based on the same technical idea, the embodiment of the present invention additionally provides a kind of communication equipment, which can realize
The message transfer process that above-mentioned MM functional entitys are realized.The communication equipment may include:Processor, memory, Network Interface Module
And bus interface.
Processor is responsible for bus architecture and common processing, and memory can store processor and execute operation when institute
The data used.Network Interface Module for sending and receiving data under the control of a processor.
Bus architecture may include the bus and bridge of any number of interconnection, the one or more specifically represented by processor
The various circuits for the memory that processor and memory represent link together.Bus architecture can also will such as peripheral equipment,
Various other circuits of voltage-stablizer and management circuit or the like link together, and these are all it is known in the art, because
This, it will not be further described herein.Bus interface provides interface.Network interface can be multiple element, that is, include
Transmitter and transceiver provide the unit for being communicated over a transmission medium with various other devices.Processor is responsible for always
Line architecture and common processing, memory can store processor used data when executing operation.
The flow that the embodiment of the present invention discloses, can be applied in processor, or realized by processor.In the process of realization
In, each step of data transmission flow can pass through the integrated logic circuit of the hardware in processor or the instruction of software form
It completes.Processor can be general processor, digital signal processor, application-specific integrated circuit, field programmable gate array or
Either transistor logic, discrete hardware components may be implemented or execute this hair for other programmable logic device, discrete gate
Disclosed each method, step and logic diagram in bright embodiment.General processor can be microprocessor or any routine
Processor etc..The step of method in conjunction with disclosed in the embodiment of the present invention, can be embodied directly in hardware processor and execute
At, or in processor hardware and software module combination execute completion.Software module can be located at random access memory, dodge
It deposits, read-only memory, this fields such as programmable read only memory or electrically erasable programmable memory, register are ripe to deposit
In storage media.The storage medium is located at memory, and processor reads the information in memory, and control plane is completed in conjunction with its hardware
The step of processing method.
Specifically, processor, for reading the program in memory, execution can be realized as previously described by MM functional entitys
Flow.
Based on the same technical idea, the embodiment of the present invention additionally provides a kind of communication equipment, which can realize
The message transfer process that above-mentioned SM functional entitys are realized.The communication equipment may include:Processor, memory, Network Interface Module
And bus interface.
Processor is responsible for bus architecture and common processing, and memory can store processor and execute operation when institute
The data used.Network Interface Module for sending and receiving data under the control of a processor.
Bus architecture may include the bus and bridge of any number of interconnection, the one or more specifically represented by processor
The various circuits for the memory that processor and memory represent link together.Bus architecture can also will such as peripheral equipment,
Various other circuits of voltage-stablizer and management circuit or the like link together, and these are all it is known in the art, because
This, it will not be further described herein.Bus interface provides interface.Network interface can be multiple element, that is, include
Transmitter and transceiver provide the unit for being communicated over a transmission medium with various other devices.Processor is responsible for always
Line architecture and common processing, memory can store processor used data when executing operation.
The flow that the embodiment of the present invention discloses, can be applied in processor, or realized by processor.In the process of realization
In, each step of data transmission flow can pass through the integrated logic circuit of the hardware in processor or the instruction of software form
It completes.Processor can be general processor, digital signal processor, application-specific integrated circuit, field programmable gate array or
Either transistor logic, discrete hardware components may be implemented or execute this hair for other programmable logic device, discrete gate
Disclosed each method, step and logic diagram in bright embodiment.General processor can be microprocessor or any routine
Processor etc..The step of method in conjunction with disclosed in the embodiment of the present invention, can be embodied directly in hardware processor and execute
At, or in processor hardware and software module combination execute completion.Software module can be located at random access memory, dodge
It deposits, read-only memory, this fields such as programmable read only memory or electrically erasable programmable memory, register are ripe to deposit
In storage media.The storage medium is located at memory, and processor reads the information in memory, and control plane is completed in conjunction with its hardware
The step of processing method.
Specifically, processor, for reading the program in memory, execution can be realized as previously described by SM functional entitys
Flow.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.