CN112911732B - Message association method and device, electronic equipment and storage medium - Google Patents

Message association method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112911732B
CN112911732B CN202110041367.8A CN202110041367A CN112911732B CN 112911732 B CN112911732 B CN 112911732B CN 202110041367 A CN202110041367 A CN 202110041367A CN 112911732 B CN112911732 B CN 112911732B
Authority
CN
China
Prior art keywords
rrc
message
information
key
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110041367.8A
Other languages
Chinese (zh)
Other versions
CN112911732A (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.)
Eversec Beijing Technology Co Ltd
Original Assignee
Eversec Beijing Technology Co Ltd
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 Eversec Beijing Technology Co Ltd filed Critical Eversec Beijing Technology Co Ltd
Priority to CN202110041367.8A priority Critical patent/CN112911732B/en
Publication of CN112911732A publication Critical patent/CN112911732A/en
Application granted granted Critical
Publication of CN112911732B publication Critical patent/CN112911732B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/27Transitions between radio resource control [RRC] states
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/08Reselecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Abstract

The embodiment of the invention discloses a message association method, a message association device, electronic equipment and a storage medium. The method comprises the following steps: generating a first key value pair node according to first packet header information and first packet body information of a Radio Resource Control (RRC) establishment request message; and associating the RRC establishment request message with the RRC message according to the first key information of the first key value pair node and the second header information or the second packet information of the RRC message. By operating the technical scheme provided by the embodiment of the invention, the problem that the information for changing the state is irrelevant to the terminal information when the state of the terminal is changed by sending the information because the terminal information can only be obtained from the directly-associated interface in the prior art can be solved, and the effects of improving the transferability and the acquirability of the information are realized.

Description

Message association method and device, electronic equipment and storage medium
Technical Field
The present invention relates to communications technologies, and in particular, to a message association method, an apparatus, an electronic device, and a storage medium.
Background
With the rapid development of communication technology, the construction of 5G is further promoted, and further, the acquisition and analysis of information in 5G communication are particularly important.
In the prior art, the terminal information can only be acquired from the directly associated interface, so that when the state of the terminal is changed by sending a message, the message for changing the state is irrelevant to the terminal information, and the transferability and the acquirability of the information are reduced.
Disclosure of Invention
The embodiment of the invention provides a message association method, a message association device, electronic equipment and a storage medium, which are used for improving the transferability and the acquirability of information.
In a first aspect, an embodiment of the present invention provides a message association method, where the method includes:
generating a first key value pair node according to first packet header information and first packet body information of a Radio Resource Control (RRC) establishment request message;
and associating the RRC establishment request message with the RRC message according to the first key information of the first key value pair node and the second header information or the second packet information of the RRC message.
In a second aspect, an embodiment of the present invention further provides a message association apparatus, where the apparatus includes:
the key value pair node generating module is used for generating a first key value pair node according to first packet header information and first packet body information of a Radio Resource Control (RRC) establishment request message;
and the message association module is used for associating the RRC establishment request message with the RRC message according to the first key information of the first key value pair node and the second header information or the second packet information of the RRC message.
In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a message association method as described above.
In a fourth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the message association method described above.
According to the embodiment of the invention, a first key value pair node is generated through first packet head information and first packet body information of a Radio Resource Control (RRC) establishment request message; and associating the RRC establishment request message with the RRC message according to the first key information of the first key value pair node and the second header information or the second packet information of the RRC message. The problem that in the prior art, the terminal information can only be acquired from a directly associated interface, so that when the state of the terminal is changed by sending a message, the message for changing the state is irrelevant to the terminal information is solved, and the effects of improving the transferability and the acquirability of the information are achieved.
Drawings
Fig. 1 is a flowchart of a message association method according to an embodiment of the present invention;
fig. 2 is a signaling diagram of a message association method according to an embodiment of the present invention;
fig. 3 is a signaling diagram of a message association method according to an embodiment of the present invention;
fig. 4 is a signaling diagram of a message association method according to an embodiment of the present invention;
fig. 5 is a signaling diagram of a message association method according to an embodiment of the present invention;
fig. 6 is a signaling diagram of a message association method according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a message association apparatus according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings, not all of them.
Fig. 1 is a flowchart of a message association method according to an embodiment of the present invention, where this embodiment is applicable to a case of associating messages transmitted between the same terminal and a base station through a Uu interface, and the method may be executed by a message association apparatus according to an embodiment of the present invention, and the apparatus may be implemented in a software and/or hardware manner. Referring to fig. 1, the message association method provided in this embodiment includes:
step 110, generating a first key-value pair node according to the first packet header information and the first packet body information of the RRC establishment request message.
The Radio Resource Control (RRC) establishment request message is a request message for RRC establishment, which is sent by a terminal to a base station. The RRC establishment request message includes a first packet header and a first packet body, where first packet header information carried by the first packet header may include a Cell identification code CellID and a Cell-radio network temporary identifier (C-RNTI), and first packet body information carried by the first packet body may include information such as a terminal Identity identifier UE-Identity and context information of a terminal (User Equipment, UE) in the RRC request-IEs. A hash node may be established with the first packet header information as a key and the first packet body information as a value.
And step 120, associating the RRC establishment request message with the RRC message according to the first key information of the first key value pair node and the second header information or the second packet information of the RRC message.
Wherein, the RRC message is other radio resource control messages except for the RRC establishment request message, which are transmitted between the terminal and the base station. The RRC message comprises a second header or a second header and a second packet body, the second header or the second packet body information of the RRC message is compared with the first key information, if the second header or the second packet body information of the RRC message is consistent with the first key information, the RRC establishment request message is associated with the RRC message, the first key information of the node can be acquired by inquiring the RRC message, and the RRC message can be used in the subsequent association with other interfaces of the 5G or network optimization and the like.
It should be noted that the terminal is various devices with communication functions, including a handheld device, an in-vehicle device, a wearable device, a computing device, and the like. The base station is a base station device, and is a device deployed in a radio access network to provide a wireless communication function. The apparatus providing base station functionality, for example in 5G, includes a node B that continues to evolve (gNB). The terminal has three states, namely an RRC IDLE state RRC _ IDLE, an RRC INACTIVE state RRC _ INACTIVE and an RRC CONNECTED state RRC _ CONNECTED. When the terminal state is changed from RRC _ IDLE to RRC _ CONNECTED, the RRC is triggered to establish a Setup flow; when the terminal state is changed from RRC _ INACTIVE to RRC _ CONNECTED, an RRC repairing Resume flow is triggered; when the terminal state is changed from RRC _ CONNECTED to RRC _ INACTIVE or from RRC _ CONNECTED to RRC _ IDLE, the RRC Release flow is triggered; in the RRC _ CONNECTED procedure, RRC Reconfiguration or RRC reestablishment of the reestablishment procedure is triggered.
Optionally, after the RRC establishment request message is associated with the RRC message, a corresponding ticket may be generated according to an association relationship between messages and a transmission condition, so as to visually display a communication condition of the user terminal.
According to the technical scheme provided by the embodiment, a first key-value pair node is generated according to first packet header information and first packet body information of a Radio Resource Control (RRC) establishment request message; and associating the RRC establishment request message with the RRC message according to the first key information of the node and the second header information or the second packet information of the RRC message, so that the problem that the state change message is irrelevant to the terminal information when the state of the terminal is changed by sending the message because the terminal information can only be acquired from a directly associated interface in the prior art is solved, and the effects of transferability and acquirability of the information are achieved.
In this embodiment, optionally, if the RRC message is an RRC repair message and the second header information is header information of the RRC repair message, associating the RRC establishment request message with the RRC message according to the first key information of the first key value to the node and the second header information or the second packet information of the RRC message, including:
the first value information of the first key-value pair node generates a second key-value pair node according to a radio network temporary identifier in an RRC release message associated with the RRC establishment request message and the first value information of the first key-value pair node, and deletes the first key-value pair node;
associating the RRC release message with the RRC repair request message according to second key information of the second key value pair node and body information of the RRC repair request message;
deleting the second key-value pair node, and generating a third key-value pair node according to the packet header information of the RRC repairing request message and the second value information of the second key-value pair node;
judging whether the context request of the retrieval terminal in the RRC repairing process is successful or not;
and if the message is successful, associating the RRC establishment request message with the RRC repairing message according to the third key information of the node and the header information of the RRC repairing message.
Since the RRC release is required before the RRC repairing process is performed, the header information of the RRC release message is matched with the first key information, and if the matching is successful, the RRC release message is associated with the RRC establishment request message, that is, the RRC release message is also associated with the first value information.
And generating a second key-value pair node according to the Radio Network Temporary Identity (RNTI) and the first value information in the RRC release message, and deleting the first key-value pair node. The radio network temporary identifier may include an I-RNTI and a Short I-RNTI, and second key-Value pairs are respectively generated with the first Value information according to keys of a Value I-RNTI-Value of the I-RNTI and a Value Short I-RNTI-Value of the Short I-RNTI, so that second key information of different second key-Value pairs can be associated with a repair process triggered by different scenes subsequently.
Illustratively, when the RRC release message is an RRC Resume Request, a packet of the RRC release message carries ShortI-RNTI-Value, the ShortI-RNTI-Value is used for matching with the second key information, if the matching is successful, the RRC release message is associated with the RRC repair Request message to obtain the second Value information, the second key Value pair node is deleted, and a third key Value pair node is generated according to the packet header information and the second Value information of the RRC repair Request message.
And judging whether the terminal context retrieval request in the RRC repairing process is successful, wherein the terminal context retrieval request is used for retrieving the base station which is connected with the terminal at the latest time, and if the request is successful, indicating that the connection with the base station is successful, the RRC repairing process of the current base station can be carried out.
And associating the RRC establishment request message, the RRC repair message and the RRC repair completion message according to the third key information of the node, the header information of the RRC repair message and the header information of the subsequent RRC repair request message. Thereby completing the association of messages from and to the RRC release procedure and the RRC repair procedure.
In this embodiment, optionally, the determining whether the request for retrieving the context of the terminal in the RRC repairing process is successful includes:
and if the message fails, sending the RRC establishment message again, and associating the RRC establishment message with the RRC repair request message according to the header information and the third key information of the RRC establishment message.
When the request for retrieving the context of the terminal in the RRC repairing process fails, the connection with the base station which is connected with the terminal at the last time is failed, the RRC establishing process is carried out again, the RRC establishing request message is sent before the terminal, so the RRC establishing message is directly sent to the terminal through the current base station, the header information and the third key information of the RRC establishing message are matched, and if the RRC establishing message is successful, the RRC establishing message and the RRC repairing request message are associated. So that the relevance between the terminal and the message of the new base station and the message of the user and the message of the old base station can be established when the repairing process fails.
In this embodiment, optionally, if the RRC message is an RRC reestablishment message and the second header information is header information of the RRC reestablishment message, associating the RRC establishment request message with the RRC message according to the first key information of the first key value pair node and the second header information or the second packet information of the RRC message, including:
acquiring first value information of the first key value to a node according to the inclusion information of the RRC reestablishment request message and the first key information;
generating a fourth key-value pair node according to the first value information of the first key-value pair node and the header information of the RRC reestablishment request message, and deleting the first key-value pair node;
judging whether the context request of the retrieval terminal in the RRC reestablishment process is successful or not;
and if the fourth key value is successful, associating the RRC establishment request message with the RRC reestablishment message according to the fourth key information of the node and the header information of the RRC reestablishment message.
And matching the inclusion information of the RRC reestablishment request message with the first key information to obtain corresponding first Value information, wherein the inclusion information of the RRC reestablishment request message can comprise historical CellID, which is recorded as RNTI-Value and historical C-RNTI, which is recorded as PhySCELId. And generating a fourth key-value pair node by taking the first value information as a value and the header information of the RRC reestablishment request message as a key, and deleting the first key-value pair node, wherein the header information of the RRC reestablishment request message can comprise the current CellID and the current C-RNTI.
And judging whether the request for retrieving the terminal context in the RRC reestablishment process is successful or not, wherein the request for retrieving the terminal context is used for retrieving the base station which is connected with the terminal last time, and if the request is successful, the connection with the base station is successful, and the RRC reestablishment process of the current base station can be carried out. And matching the fourth key information of the node with the header information of the RRC reestablishment message according to the fourth key value, and if the matching is successful, associating the RRC establishment request message with the RRC reestablishment message.
If the connection with the base station which is connected with the terminal last time fails, the RRC establishment process is carried out again, the terminal sends an RRC establishment request message before, so that the RRC establishment message is directly sent to the terminal through the current base station, the header information of the RRC establishment message is matched with the fourth key information, and if the connection is successful, the RRC establishment message is associated with the RRC reestablishment request message. Thereby completing the association of messages from and to the RRC reestablishment procedure.
In this embodiment, optionally, if the RRC message is an RRC reconfiguration message, the second header information is header information of the RRC reconfiguration message, and the second packet information is packet information of the RRC reconfiguration message, associating the RRC establishment request message with the RRC message according to the first key information of the first key value pair node and the second header information or the second packet information of the RRC message, includes:
judging whether a base station is switched in the RRC reconfiguration process;
and if the switching is not performed, associating the RRC establishment request message with the RRC reconfiguration message according to the first key information of the first key value pair node and the header message of the RRC reconfiguration message.
And judging whether the base station is switched in the RRC reconfiguration process, if not, directly carrying out the reconfiguration process, matching the first key information of the first key value pair node with the header message of the RRC reconfiguration message, and associating the successfully matched RRC establishment request message with the RRC reconfiguration message so as to complete the association of the messages from and to in the RRC reestablishment process in the non-switched state.
In this embodiment, optionally, the determining whether to switch the base station in the RRC reconfiguration process includes:
if the switching is carried out, acquiring first value information of the first key-value pair node according to the first key information of the first key-value pair node and the inclusion message of the RRC reconfiguration message;
generating a fifth key-value pair node according to the first value information of the first key-value pair node and the header information of the RRC reconfiguration message, and deleting the first key-value pair node, so as to associate the RRC reconfiguration completion message with the RRC reconfiguration message according to the fifth key information of the fifth key-value pair node and the header information of the RRC reconfiguration completion message.
And if the base station is switched, the RRC reconfiguration message is sent to the terminal by the source base station, the first key information of the node is matched with the inclusion information of the RRC reconfiguration message according to the first key Value, wherein the inclusion information can carry RNTI-Value and PhysCellId, and if the matching is successful, the first Value information is obtained from the first key Value to the node.
And generating a fifth key value pair node according to the first value information and the header information of the RRC reconfiguration message, deleting the first key value pair node, matching the fifth key information of the fifth key value pair node with the header information of the RRC reconfiguration completion message, and associating the successfully matched RRC reconfiguration completion message with the RRC reconfiguration message. To complete the association of messages from and to the RRC reestablishment procedure in the handover state.
Fig. 2 is a signaling diagram of a message association method according to an embodiment of the present invention. The embodiment is applicable to the case of information association in the RRC establishment procedure. Referring to fig. 2, the message association method provided in this embodiment includes:
the terminal transmits an RRC setup request message to the base station. CellID and C-RNTI are carried in the packet header, and ng-5G-S-TMSI-Part1 in UE-Identity is carried in the packet body.
The base station transmits an RRC setup message to the terminal. The packet header carries CellID and C-RNTI.
The terminal transmits an RRC setup complete message to the base station. CellID and C-RNTI are carried in the packet head, and ng-5G-S-TMSI-Part2 is carried in the bag body.
The base station transmits a Security Mode Command (Security Mode Command) message to the terminal. The packet header carries location information such as CellID, C-RNTI and AMF _ UE _ NGAP _ ID/Region _ ID/Set _ ID/Pionter.
In the above process, a hash node is established in a hash table through the header information and the body information of the RRC establishment completion message, the header information of the RRC establishment message is used as a key to search in the hash table, and the RRC establishment message is associated with the RRC establishment request message, so as to obtain associated terminal information subsequently.
And searching in a hash table by taking packet header information of the RRC establishment completion message as a key so as to obtain ng-5G-S-TMSI-Part1, and jointly forming the ng-5G-S-TMSI-Part1 and the ng-5G-S-TMSI-Part2 to obtain the complete ng-5G-S-TMSI.
Since there is no AMF _ UE _ NGAP _ ID/Region _ ID/Set _ ID/Pionter in the header after the RRC establishment request message is sent, at this time, it is necessary to wait for a subsequent message, such as a security mode command message, overtime, and backfill the AMF _ UE _ NGAP _ ID/Region _ ID/Set _ ID/Pionter into the value information of the hash node through the relationship between the CellID, C-RNTI and the RRC establishment completion message in the header of the security mode command message.
The association of the RRC establishment request message, the RRC establishment completion message, the security mode command message and the like in the RRC establishment process is completed through the process, and different related messages of the same terminal are associated with the terminal information, so that the terminal information can be acquired from the related messages in the follow-up process.
Fig. 3 is a signaling diagram of a message association method according to an embodiment of the present invention. The embodiment is applicable to the case of information association in the RRC release procedure. Referring to fig. 3, the message association method provided in this embodiment includes:
the base station sends an RRC release message to the terminal. The packet header carries CellID and C-RNTI.
When the RRC release flow is from a connection state to an idle state, the CellID and the C-RNTI are used as keys to look up in the hash table to see whether corresponding hash nodes exist or not, and if the hash nodes exist, value information is kept.
When the RRC release flow is from a connection state to a non-activation state, the RRCRelease-IEs of the RRC release message carry I-RNTI-Value and Short I-RNTI-Value, the I-RNTI-Value and the Short I-RNTI-Value are respectively used as keys to establish nodes taking terminal information such as ng-5G-S-TMSI-Value as values, and all nodes established by CellID and C-RNTI are deleted for the association of the subsequent flows such as RRC repair and RRC establishment.
The association between the RRC release message in the RRC release flow and the message in the RRC establishment flow is completed through the flow, and the related different messages of the same terminal are all associated with the terminal information, so that the terminal information can be acquired from the related messages in the follow-up process.
Fig. 4 is a signaling diagram of a message association method according to an embodiment of the present invention. The embodiment is applicable to the case of information association in the RRC repair procedure. Referring to fig. 4, the message association method provided in this embodiment includes:
and the terminal sends an RRC repairing request message or an RRC repairing request 1 message to the current base station. CellID and C-RNTI are carried in the packet header, and I-RNTI-Value or shortI-RNTI-Value is carried in the packet body.
The current base station sends a retrieve terminal context request message to an upper serving base station.
And the last service base station sends a context reply message of the retrieval terminal to the current base station.
And if the search of the context reply message of the terminal is successful, the current base station sends RRC repairing message to the terminal in step 1 a. The packet header carries CellID and C-RNTI.
1b, the terminal sends RRC repairing completion information to the current base station. The packet header carries CellID and C-RNTI.
And if the search of the terminal context response message is failed, performing 2a, and sending an RRC establishment message to the terminal by the current base station. The packet header carries CellID and C-RNTI.
2b, the terminal sends RRC establishment completion information to the current base station. The packet header carries CellID and C-RNTI, and the bag body carries ng-5G-S-TMSI.
And completing the association of RRC repair request information, RRC repair request 1 information, RRC repair completion information, RRC establishment completion information and the like in the RRC repair process through the process, wherein when the RRC repair request information exists, a short I-RNTI-Value is carried in a bag body, and the established node taking the short I-RNTI as a key associates the information such as the UE-Identity, the UE context and the like. When the RRC is repaired or the RRC is repaired and requested to be 1 is sent, the packet body carries I-RNTI-Value, and the established node taking the I-RNTI as a key associates the information such as the UE-Identity, the UE context and the like.
If the search of the terminal context reply message is successful, a normal RRC repair process is carried out, and correlation is carried out through CellID and C-RNTI in the packet header.
If the search terminal context reply message fails, the establishment of the RRC Setup is resumed. At this time, the messages are associated through CellID and C-RNTI in the header, and the backfill of the UE-Identity is acquired through ng-5G-S-TMSI-Value in RRCSetupcomplete-IEs of RRC establishment completion message, and the time Value is ng-5G-S-TMSI. And associating the information with the terminal information by the information which is related to the same terminal and is different from the related information so as to be convenient for acquiring the terminal information from the related information.
Fig. 5 is a signaling diagram of a message association method according to an embodiment of the present invention. The embodiment is applicable to the case of performing information association in the RRC reestablishment procedure. Referring to fig. 5, the message association method provided in this embodiment includes:
and the terminal sends an RRC reestablishment request message to the current base station. CellID and C-RNTI are carried in the packet header, and RNTI-Value and PhysCellId are carried in the bag body.
The current base station sends a retrieve terminal context request message to an upper serving base station.
And the last service base station sends a context reply message of the retrieval terminal to the current base station.
And if the context reply message of the terminal is successfully retrieved, the current base station sends RRC reestablishment message to the terminal in step 1 a. The packet header carries CellID and C-RNTI.
1b, the terminal sends RRC reestablishment completion information to the current base station. The packet header carries CellID and C-RNTI.
And if the search of the terminal context response message is failed, performing 2a, and sending an RRC establishment message to the terminal by the current base station. The packet header carries CellID and C-RNTI.
2b, the terminal sends RRC establishment completion information to the current base station. CellID and C-RNTI are carried in the packet header, and ng-5G-S-TMSI is carried in the bag body.
The association of the RRC reestablishment request message, the RRC reestablishment completion message, the RRC establishment completion message and the like in the RRC reestablishment process is completed through the process.
And searching the relation between the previous RRC establishment process and the UE-Identity and the UE context by taking the RNTI-Value and the PhySCELId as keys.
If the search of the terminal context reply message is successful, a normal RRC reconstruction process is carried out, and correlation is carried out through CellID and C-RNTI in the packet header.
If the search terminal context reply message fails, the establishment of the RRC Setup is resumed. At this time, the messages are associated through CellID and C-RNTI in the packet header, and the backfill of the UE-Identity is obtained through ng-5G-S-TMSI-Value in RRCSetupcomplete-IEs of RRC establishment completion message, wherein the time Value is ng-5G-S-TMSI. And associating the information with the terminal information of the messages which are related to the same terminal so as to facilitate the subsequent acquisition of the terminal information from the related messages.
Fig. 6 is a signaling diagram of a message association method according to an embodiment of the present invention. The present embodiment is applicable to the case of performing information association in the RRC reconfiguration procedure. Referring to fig. 6, the message association method provided in this embodiment includes:
and the source base station sends an RRC reconfiguration message to the terminal. The packet header carries CellID and C-RNTI.
And the terminal sends an RRC reconfiguration completion message to the target base station. The header carries CellID and C-RNTI, and the packet carries RNTI-Value and PhysCellId.
The above process is a reconfiguration process in a switching state, and the terminal information can be searched in the RRC reconfiguration message by using RNTI-Value and physcellld as keys. And when the reconfiguration flow is in the non-switching state, the CellID and the C-RNTI in the packet header of the RRC reconfiguration message and the RRC reconfiguration completion message are associated. And associating the information with the terminal information by the information which is related to the same terminal and is different from the related information so as to be convenient for acquiring the terminal information from the related information.
Fig. 7 is a schematic structural diagram of a message association apparatus according to an embodiment of the present invention. The device can be realized in a hardware and/or software mode, can execute the message association method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. As shown in fig. 7, the apparatus includes:
a key-value pair node generating module 710, configured to generate a first key-value pair node according to first packet header information and first packet body information of a radio resource control RRC establishment request message;
a message association module 720, configured to associate the RRC establishment request message with the RRC message according to the first key information of the first key value pair node and the second header information or the second packet information of the RRC message.
According to the technical scheme provided by the embodiment, a first key-value pair node is generated according to first packet header information and first packet body information of a Radio Resource Control (RRC) establishment request message; and associating the RRC establishment request message with the RRC message according to the first key information of the node and the second header information or the second packet information of the RRC message, so that the problem that the state change message is irrelevant to the terminal information when the state of the terminal is changed by sending the message because the terminal information can only be acquired from a directly associated interface in the prior art is solved, and the effects of transferability and acquirability of the information are achieved.
On the basis of the foregoing technical solutions, optionally, if the RRC message is an RRC repair message and the second header information is header information of the RRC repair message, the message association module includes:
a second key-value-pair node generating unit, configured to generate a second key-value-pair node according to the first value information of the first key-value-pair node and a radio network temporary identifier in an RRC release message associated with the RRC establishment request message, and delete the first key-value-pair node;
a first message association unit, configured to associate the RRC release message with the RRC repair request message according to second key information of the second key value to a node and body information of the RRC repair request message;
a third key-value-pair node generating unit, configured to delete the second key-value-pair node, and generate a third key-value-pair node according to the header information of the RRC repair request message and the second value information of the second key-value-pair node;
a first request success judging unit, configured to judge whether a context request of a search terminal in an RRC repair process is successful;
and the second message association unit is used for associating the RRC establishment request message with the RRC repair message according to the third key information of the node and the header information of the RRC repair message if the first request success judgment unit judges that the first request success judgment unit is successful.
On the basis of the foregoing technical solutions, optionally, the first request success determining unit includes:
and the first message association subunit is configured to, if the first request success determining unit determines that the first request has failed, re-send the RRC establishment message, and associate the RRC establishment message with the RRC repair request message according to the header information of the RRC establishment message and the third key information.
On the basis of the foregoing technical solutions, optionally, if the RRC message is an RRC reestablishment message and the second header information is header information of the RRC reestablishment message, the message associating module includes:
a first value information obtaining unit, configured to obtain first value information of the first key value to a node according to the packet information of the RRC reestablishment request message and the first key information;
a fourth key-value pair node generating unit, configured to generate a fourth key-value pair node according to the first value information of the first key-value pair node and the packet header information of the RRC reestablishment request message, and delete the first key-value pair node;
a second request success judging unit, configured to judge whether the context request of the search terminal in the RRC reestablishment process is successful;
and a third message association unit, configured to associate the RRC connection establishment request message and the RRC reestablishment message according to fourth key information of a node and header information of the RRC reestablishment message, if the second request success determination unit determines that the second request success determination unit succeeds.
On the basis of the foregoing technical solutions, optionally, if the RRC message is an RRC reconfiguration message, the second header information is header information of the RRC reconfiguration message, and the second body information is body information of the RRC reconfiguration message, the message association module includes:
a base station switching judging unit for judging whether to switch base stations in the RRC reconfiguration process;
a fourth message associating unit, configured to associate the RRC establishment request message with the RRC reconfiguration message according to the first key information of the first key value pair node and the header message of the RRC reconfiguration message if the base station handover determining unit determines that the handover is not performed.
On the basis of the foregoing technical solutions, optionally, the base station switching determining unit includes:
a first value information obtaining subunit, configured to, if switching is performed, obtain first value information of the first key-value pair node according to first key information of the first key-value pair node and a packet body message of the RRC reconfiguration message;
and the second message association subunit is configured to generate a fifth key-value pair node according to the first value information of the first key-value pair node and the header information of the RRC reconfiguration message, and delete the first key-value pair node, so as to associate the RRC reconfiguration complete message with the RRC reconfiguration message according to the fifth key information of the fifth key-value pair node and the header information of the RRC reconfiguration complete message.
Fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, as shown in fig. 8, the electronic device includes a processor 80, a memory 81, an input device 82, and an output device 83; the number of the processors 80 in the electronic device may be one or more, and one processor 80 is taken as an example in fig. 8; the processor 80, the memory 81, the input device 82 and the output device 83 in the electronic apparatus may be connected by a bus or other means, and the connection by the bus is exemplified in fig. 8.
The memory 81 is a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the message association method in the embodiment of the present invention. The processor 80 executes various functional applications and data processing of the electronic device by executing software programs, instructions and modules stored in the memory 81, that is, implements the message association method described above.
The memory 81 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 81 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 81 may further include memory located remotely from the processor 80, which may be connected to the electronic device through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Embodiments of the present invention also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a method for message association, the method comprising:
generating a first key value pair node according to first packet header information and first packet body information of a Radio Resource Control (RRC) establishment request message;
and associating the RRC establishment request message with the RRC message according to the first key information of the first key value pair node and the second header information or the second packet information of the RRC message.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the method operations described above, and may also perform related operations in the message association method provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes instructions for enabling a computer device (which may be a personal computer, a server, or a base station) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the message association apparatus, each included unit and module are only divided according to functional logic, but are not limited to the above division as long as the corresponding function can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (9)

1. A message association method, comprising:
generating a first key-value pair node according to first packet header information and first packet body information of a Radio Resource Control (RRC) establishment request message;
associating the RRC establishment request message with the RRC message according to the first key information of the first key value pair node and the second header information or the second packet information of the RRC message;
if the RRC message is an RRC reestablishment message and the second header information is header information of the RRC reestablishment message, associating the RRC establishment request message with the RRC message according to the first key information of the first key value pair node and the second header information or the second packet information of the RRC message, including:
acquiring first value information of the first key value to a node according to the inclusion information of the RRC reestablishment request message and the first key information;
generating a fourth key-value-pair node according to the first value information and the header information of the RRC reestablishment request message, and deleting the first key-value-pair node;
judging whether the context request of the retrieval terminal in the RRC reestablishment process is successful or not;
and if the message is successful, associating the RRC establishment request message with the RRC reestablishment message according to fourth key information of the fourth key value to the node and header information of the RRC reestablishment message.
2. The method according to claim 1, wherein if the RRC message is an RRC repair message and the second header information is header information of the RRC repair message, associating the RRC establishment request message with the RRC message according to the first key information of the first key value pair node and the second header information or the second packet information of the RRC message comprises:
generating a second key-value pair node according to a radio network temporary identifier in an RRC release message associated with the RRC establishment request message and first value information of the first key-value pair node, and deleting the first key-value pair node;
associating the RRC release message with the RRC repair request message according to second key information of the second key value pair node and body information of the RRC repair request message;
deleting the second key-value pair node, and generating a third key-value pair node according to the packet header information of the RRC repairing request message and the second value information of the second key-value pair node;
judging whether the context request of the retrieval terminal in the RRC repairing process is successful or not;
and if the message is successful, associating the RRC establishment request message with the RRC repairing message according to the third key information of the node and the header information of the RRC repairing message.
3. The method of claim 2, wherein determining whether the retrieve terminal context request in the RRC repair procedure is successful comprises:
and if the message fails, sending the RRC establishment message again, and associating the RRC establishment message with the RRC repair request message according to the header information and the third key information of the RRC establishment message.
4. The method according to claim 1, wherein if the RRC message is an RRC reconfiguration message, the second header information is header information of the RRC reconfiguration message, and the second packet information is packet information of the RRC reconfiguration message, associating the RRC establishment request message with the RRC message according to the first key information of the first key value pair node and the second header information or the second packet information of the RRC message comprises:
judging whether a base station is switched in the RRC reconfiguration process;
and if not, associating the RRC establishment request message with the RRC reconfiguration message according to the first key information of the first key value pair node and the header message of the RRC reconfiguration message.
5. The method of claim 4, wherein determining whether to switch the base station during the RRC reconfiguration process comprises:
if the switching is carried out, acquiring first value information of the first key-value pair node according to the first key information of the first key-value pair node and the inclusion message of the RRC reconfiguration message;
generating a fifth key-value pair node according to the first value information of the first key-value pair node and the header information of the RRC reconfiguration message, and deleting the first key-value pair node, so as to associate the RRC reconfiguration completion message with the RRC reconfiguration message according to the fifth key information of the fifth key-value pair node and the header information of the RRC reconfiguration completion message.
6. A message association apparatus, comprising:
the key value pair node generating module is used for generating a first key value pair node according to first packet header information and first packet body information of a Radio Resource Control (RRC) establishment request message;
a message association module, configured to associate the RRC establishment request message with the RRC message according to first key information of the first key value pair node and second header information or second packet information of the RRC message;
if the RRC message is an RRC reestablishment message and the second header information is header information of the RRC reestablishment message, the message associating module includes:
a first value information obtaining unit, configured to obtain first value information of the first key value to a node according to the packet information of the RRC reestablishment request message and the first key information;
a fourth key-value-pair node generating unit, configured to generate a fourth key-value-pair node according to the first value information of the first key-value-pair node and the header information of the RRC reestablishment request message, and delete the first key-value-pair node;
a second request success judging unit, configured to judge whether the context request of the search terminal in the RRC reestablishment process is successful;
and a third message association unit, configured to associate the RRC connection establishment request message and the RRC reestablishment message according to fourth key information of a node and header information of the RRC reestablishment message, if the second request success determination unit determines that the second request success determination unit succeeds.
7. The apparatus of claim 6, wherein if the RRC message is an RRC repair message and the second header information is header information of the RRC repair message, the message association module comprises:
the second key-value pair node generating unit is used for generating a second key-value pair node according to the radio network temporary identifier in the RRC release message associated with the RRC establishment request message and the first value information of the first key-value pair node and deleting the first key-value pair node;
a first message association unit, configured to associate the RRC release message with the RRC repair request message according to second key information of the second key value to a node and body information of the RRC repair request message;
a third key-value-pair node generating unit, configured to delete the second key-value-pair node, and generate a third key-value-pair node according to the header information of the RRC repair request message and the second value information of the second key-value-pair node;
a first request success judging unit, configured to judge whether a context request of a search terminal in an RRC repair process is successful;
and the second message association unit is used for associating the RRC establishment request message with the RRC repair message according to the third key information of the node and the header information of the RRC repair message if the first request success judgment unit judges that the first request success judgment unit is successful.
8. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the message association method as recited in any of claims 1-5.
9. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the message association method as claimed in any one of claims 1 to 5.
CN202110041367.8A 2021-01-13 2021-01-13 Message association method and device, electronic equipment and storage medium Active CN112911732B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110041367.8A CN112911732B (en) 2021-01-13 2021-01-13 Message association method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110041367.8A CN112911732B (en) 2021-01-13 2021-01-13 Message association method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112911732A CN112911732A (en) 2021-06-04
CN112911732B true CN112911732B (en) 2023-03-17

Family

ID=76112683

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110041367.8A Active CN112911732B (en) 2021-01-13 2021-01-13 Message association method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112911732B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114025396B (en) * 2021-10-29 2023-12-19 恒安嘉新(北京)科技股份公司 Data processing method, device and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105307225A (en) * 2015-09-21 2016-02-03 合肥浩瀚深度信息技术有限公司 Correlation method of X2 interface switching process and Uu interface signaling process in LTE system
CN106454874A (en) * 2015-08-05 2017-02-22 中国移动通信集团公司 Signaling analysis method and device
CN108271195A (en) * 2016-12-31 2018-07-10 中国移动通信集团福建有限公司 Based on the soft or hard signalling correlated analysis method and equipment adopted
WO2020043211A1 (en) * 2018-08-31 2020-03-05 华为技术有限公司 Rrc connection release method, and related device and system
CN111182577A (en) * 2020-01-03 2020-05-19 重庆邮电大学 CDR synthesis monitoring system and method suitable for 5G road tester
CN111935789A (en) * 2020-07-09 2020-11-13 宜通世纪物联网研究院(广州)有限公司 Uu interface signaling association method, device and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101050258B1 (en) * 2008-03-20 2011-07-19 이노베이티브 소닉 리미티드 Method and apparatus for improving the RRC connection procedure

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106454874A (en) * 2015-08-05 2017-02-22 中国移动通信集团公司 Signaling analysis method and device
CN105307225A (en) * 2015-09-21 2016-02-03 合肥浩瀚深度信息技术有限公司 Correlation method of X2 interface switching process and Uu interface signaling process in LTE system
CN108271195A (en) * 2016-12-31 2018-07-10 中国移动通信集团福建有限公司 Based on the soft or hard signalling correlated analysis method and equipment adopted
WO2020043211A1 (en) * 2018-08-31 2020-03-05 华为技术有限公司 Rrc connection release method, and related device and system
CN111182577A (en) * 2020-01-03 2020-05-19 重庆邮电大学 CDR synthesis monitoring system and method suitable for 5G road tester
CN111935789A (en) * 2020-07-09 2020-11-13 宜通世纪物联网研究院(广州)有限公司 Uu interface signaling association method, device and storage medium

Also Published As

Publication number Publication date
CN112911732A (en) 2021-06-04

Similar Documents

Publication Publication Date Title
JP6991859B2 (en) Terminals, base stations, and mobile communication systems
EP3337285B1 (en) Base station, user apparatus, and capability information transmission methods
US9713001B2 (en) Method and system for generating an identifier of a key
JP6224238B2 (en) Message processing method, MME selection method, and apparatus
US20210127270A1 (en) Method for instructing user equipment to obtain key, user equipment and network device
CN112770266B (en) Method and device for processing mobility management
JP5858173B2 (en) Method and apparatus for analyzing cause of link failure
CN110636499B (en) Method, device, terminal and base station for updating notification area of wireless access network
RU2545999C2 (en) Method, apparatus and mobile broadcast business management system for transmitting information in data form
CN111510909A (en) Communication module configuration processing method and device, computer equipment and storage medium
CN105101319A (en) Network switching method and terminal device
CN112911732B (en) Message association method and device, electronic equipment and storage medium
TW202046784A (en) Optimized user equipment capabilities signaling including recovery from database failure
CN107819729B (en) Data request method and system, access device, storage device and storage medium
CN105940691B (en) Method and device for sending message
CN103220349B (en) The method that between source user and targeted customer, communication data recovers, device and equipment
CN113950121B (en) Context recovery method and device
CN105323373A (en) Mobile terminal, and method and device for initializing subscriber identity module card of mobile terminal
CN114258088B (en) Method, device and system for discovering intermediate session management function device, and storage medium
CN113973294B (en) Signaling processing method, network warehouse function network element and communication system
JP2017127025A (en) Method and apparatus for analyzing cause of link failure
CN104918246A (en) Authentication method and system, ProSe (Proximity-based Service) functional entities and UE (User Equipment)
AU2017386034A1 (en) Link re-establishment method, apparatus, and system
CN114025396B (en) Data processing method, device and medium
CN115955684B (en) Signaling association method and system of 4G and 5G interaction scene

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