Disclosure of Invention
Aiming at the technical problem, the invention provides a tracking method of a CBTC system based on a terminal equipment ID.
The invention provides a terminal state tracking method for a CBTC (communication based train control system), which is an automatic train control system based on communication and comprises a vehicle-mounted terminal unit TAU (terminal equipment unit), wherein the vehicle-mounted terminal unit is used as user equipment to be tracked, a network element identification unit identifier IMSI or TMSI (network element identification unit) of the vehicle-mounted terminal unit is associated with an MME (mobility management entity) _ UE _ S1AP _ ID, a Cellid and a UEID (user equipment identifier), and a mapping table is maintained, so that the user equipment can be uniquely identified on the whole link, and the tracking of the state of the terminal is supported; storing the mapping table in a base station end, and adding the terminal state information to an identification label of the relevant network element identification equipment; when analyzing the terminal state information, the identification labels are unified according to the mapping table, and filtering is carried out to obtain the state of the user equipment in the whole network.
Furthermore, the way in which the association is made is as follows,
when the user equipment accesses a certain cell of the base station, the Cellid is the identification code allocated by the base station for the cell, the signaling based on the terminal access flow establishes the mapping relation as follows,
the user equipment sends an RRC connection request signaling with a temporary mobile user identifier TMS or a random value Randon;
after receiving the RRC connection request signaling, the base station allocates a cell wireless network temporary identifier and a UEID (user equipment ID) as an identity identifier of the equipment in the base station for the user equipment, and sends an RRC connection establishment signaling;
after receiving the RRC connection establishment signaling, the user equipment sends an RRC connection establishment completion signaling carrying TMSI identification user equipment;
after receiving the RRC connection establishment completion signaling, the base station sends an initial UE message signaling to the core network, wherein the signaling carries MME _ UE _ S1AP _ ID and ENB _ UE _ S1AP _ ID;
after receiving an initial UE message signaling sent by a base station, a core network interacts with a corresponding signaling with a request for identity confirmation, authorization and integrity protection with user equipment; carrying MME _ UE _ S1AP _ ID, ENB _ UE _ S1AP _ ID and IMSI;
completing the mapping establishment among the TMSI, the UEID, the MME _ UE _ S1AP _ ID and the IMSI;
when the user equipment is switched between two base stations S1, a certain cell of a source base station is switched to a certain cell of a target base station, Cellid is an identification code distributed by eNB for the cell, a mapping relation is established based on a signaling of a terminal S1 switching process as follows,
switching scenes at S1, when the switching measurement reporting condition is satisfied, the user equipment sends a measurement result reporting signaling to the resident cell, and the signaling carries a UEID cell;
after receiving the measurement report, the source base station sends a switching application signaling to the mobility management entity, wherein the signaling carries MME _ UE _ S1AP _ ID and ENB _ UE _ S1AP _ ID;
after receiving the switching application signaling, the mobility management entity sends a switching request signaling to a target base station, wherein the switching request signaling carries MME _ UE _ S1AP _ ID and ENB _ UE _ S1AP _ ID;
after receiving the switching request signaling, the target base station sends a switching request confirmation signaling to the mobility management entity, wherein the switching request confirmation signaling carries MME _ UE _ S1AP _ ID and ENB _ UE _ S1AP _ ID;
after receiving the switching request confirmation signaling, the mobility management entity sends a switching command signaling to the source base station, wherein the switching command signaling carries MME _ UE _ S1AP _ ID and ENB _ UE _ S1AP _ ID;
after receiving the switching command signaling, the source base station sends a radio resource connection reconfiguration signaling to the user equipment, wherein the radio resource connection reconfiguration signaling carries a C-Rnti cell;
the user equipment receives the radio resource connection reconfiguration signaling, and sends a radio resource connection reconfiguration completion signaling to the target base station at the time domain and the frequency domain position indicated by the C-Rnti;
after receiving the signaling for completing the reconfiguration of the wireless resource connection, the target base station allocates UE ID for the user equipment;
and finishing the switching process of the user equipment, finishing the mapping of the UE ID and the MME _ UE _ S1AP _ ID in the source base station, and finishing the mapping corresponding to the MME _ UE _ S1AP _ ID and the UE ID in the target base station.
And storing the mapping table at the base station end, including storing the mapping relation in the structural body based on the mapping table, storing the obtained structural body in the base station end by adopting a dynamic linked list, and storing the mapping table as a text file.
Furthermore, the terminal state information includes logs, state counters and trace information including normal and abnormal behavior, state of the user equipment.
Moreover, the step of adding the terminal state information to the identification label of the related network element identification equipment comprises the step of adding the [ IMSI ] [ UEID ] or [ TMSI ] [ UEID ] label to the terminal state information when the user equipment accesses a certain cell of the base station; when the user equipment is switched S1 between two base stations, the source base station uses [ IMSI ] [ UEID ] or [ TMSI ] [ UEID ], and the target base station uses [ MME _ UE _ S1AP _ ID ] [ UEID ] label.
And, the unified identification label according to the mapping table includes that [ MME _ UE _ S1AP _ ID ] [ UEID ] or [ TMSI ] [ UEID ] label is replaced by [ IMSI ] [ UEID ] label.
And performing anomaly analysis and positioning according to the state of the obtained user equipment in the whole network when the terminal state information is analyzed.
The terminal state tracking method for the CBTC can improve the efficiency in the installation and debugging stage, track the state of terminal equipment during the operation of a train, quickly find and locate the problems, avoid the situation that the terminal cannot be tracked in time in mass data information stored in a base station, ensure the safe operation of the train, prevent the occurrence of major economic loss of personnel, can be popularized and used in the field of international high-speed rail operation, and has important market value.
Detailed Description
The technical solution of the present invention is described in detail below with reference to the accompanying drawings and examples.
The invention proposes:
the terminal device ID is different in representation form of the network element, and the terminal device ID is the identification of the network element identification device. In the core network, the terminal device ID is represented by IMSI (International Mobile subscriber identity Number) or TMSI (Temporary Mobile subscriber identity); the ID at the base station end is expressed as ue ID (User Equipment Identity), and the base station allocates numbers according to the access sequence.
The ID representations of the terminal devices in different states are different. In the stage that the terminal equipment is accessed to the base station, the base station identifies the terminal equipment through C-Rnti (Cell Radio NetWork Temporary Identifier); during handover, the core network identifies the terminal device by MME _ UE _ S1AP _ ID (unique identification of UE on S1 interface within MME), and the base station identifies the terminal device by ENB _ UE _ S1AP _ ID (unique identification of UE on S1 interface within ENB).
Wherein, the UE is User Equipment, and the terminal equipment is a name of a base station; MME is Mobility management entity; the interface of S1 is the interface between MME/S-GW gateway and eNB.
One core network manages a plurality of base stations, one base station establishes a plurality of cells, Cellid is used for identifying the cells in the base station, one cell can be accessed to a plurality of terminal devices, although the terminal device IMSI or TMSI has a mapping relation with MME _ UE _ S1AP _ ID, the core network does not know the cell of the base station where each terminal device is located and the specific state in the cell.
Therefore, based on the networking topology scheme of the CBTC, fig. 1 is a wireless partial topology diagram of a CBTC system, the present invention proposes to associate the IMSI or TMSI with the MME _ UE _ S1AP _ ID, Cellid and UE ID, maintain a mapping table, and enable the terminal device to uniquely identify on the whole link. The terminal equipment can identify and the behavior and state of the equipment can be monitored all the time.
Referring to fig. 1, in a CBTC system, except that a connection line between an LTE base station and a station switch is an optical fiber, other devices connected to the switch are network lines; a connecting line between the TAU (vehicle-mounted equipment) and the vehicle-mounted antenna is a radio frequency feeder; the LTE leaky coaxial cable is connected with the vehicle-mounted antenna through a wireless air interface. The EPC is connected with LTE base station equipment distributed along the rail transit through various levels of exchange transmission networks; the LTE base stations are arranged along the line and connected to the control center through optical fibers; the vehicle-mounted equipment (TAU) establishes wireless connection with the LTE base station and accesses to a vehicle-mounted switch, and the TAU is the user equipment aimed by the invention. The CBTC equipment is connected with the TAU through the switch to jointly form a vehicle-mounted transmission system.
In order to associate the IMSI or the TMSI with the MME _ UE _ S1AP _ ID, Cellid, and UEID, a mapping table is maintained, and at the base station, rcconnectionrequest (rrc connection request) signaling includes a cell UE-Identity (UE Identity), or rcconnectionsettupcompute (rrc connection setup complete) signaling includes a cell dedicatedinfonnas (proprietary non-access stratum information), from which the TMSI can be obtained; the Nas (non-access stratum) signaling ULInformationTransfer (uplink information transmission) comprises a cell Mobile Identity (Mobile Identity), and the IMSI can be obtained from the cell Mobile Identity; the information element ID-MME-UE-S1 AP-ID is contained in a Nas signaling DownlinkNASTransport (downlink non-access stratum transport), and MME _ UE _ S1AP _ ID can be obtained. Mapping and associating the IMSI or the TMSI, the MME _ UE _ S1AP _ ID, and the UE ID of the terminal device allocated by the base station Cellid, so as to obtain a mapping table, for example, fig. 2 is an access flow mapping relationship, and fig. 3 is a handover flow mapping relationship.
Fig. 2 shows signaling when a UE (User equipment) accesses a Cell in an eNB (Evolved Node B), where Cellid is an identification code allocated by the eNB for the Cell, and an arrow represents a signaling direction;
a UE (User equipment) sends an RRCConnectionRequest (RRC, radio resource Control connection request) signaling with a TMSI (temporary mobile subscriber identity) or a random value Randon (when initially accessing a core network);
after receiving the RRC connection request signaling, an eNB (base station) allocates C-Rnti (Cell Rnti, Cell radio network temporary identifier) and UE id as an identity of the UE in the base station, and sends an RRC connection setup signaling;
after receiving the RRC connection establishment signaling, the UE (User equipment) sends an RRCConnectionSetupComplete signaling, which carries the TMSI to identify the User equipment;
after receiving the RRC connection establishment completion signaling, the eNB sends an Initial UE Message signaling to the core network, and the signaling carries MME _ UE _ S1AP _ ID (the unique identifier of the UE on an S1 interface in the MME) and ENB _ UE _ S1AP _ ID (the unique identifier of the UE on an S1 interface in the eNB);
5. after receiving an initial UE message signaling sent by a base station, a core network carries out request interaction of identity, authorization and Security with the UE and the corresponding signaling; carrying MME _ UE _ S1AP _ ID, ENB _ UE _ S1AP _ ID and IMSI (International Mobile subscriber identity);
6. thus, the mapping establishment among the TMSI, the UEID, the MME _ UE _ S1AP _ ID and the IMSI is completed, and the mapping relation is stored in the structural body.
Fig. 3 shows signaling of a UE (User equipment) during S1 handover between two enbs (Evolved Node bs), where a Cell is handed over from an S-eNB (Source eNB) to a Cell of a T-eNB (Target eNB), Cellid is an identification code allocated by an eNB for the Cell, and an arrow represents a signaling direction;
1. in a scenario of S1 handover (base station-core network-base station), when a handover Measurement report condition is satisfied, a UE (user equipment) sends a Measurement report signaling to a resident cell, where the Measurement report signaling carries a UE id cell;
after receiving the measurement report, the S-eNB (Source eNB, Source base station) processes and prepares the measurement report, and sends a Handover Required signaling to an MME (Mobility Management Entity), which carries MME _ UE _ S1AP _ ID (unique identifier of UE on S1 interface in MME) and eNB _ UE _ S1AP _ ID (unique identifier of UE on S1 interface in eNB);
after receiving a Handover Request signaling, the MME sends a Handover Request signaling to a T-eNB (Target eNB, Target base station), and carries MME _ UE _ S1AP _ ID (unique identifier of the UE on an S1 interface in the MME) and eNB _ UE _ S1AP _ ID (unique identifier of the UE on an S1 interface in the eNB);
after receiving a Handover Request signaling, a T-eNB (Target eNB, Target base station) confirms, configures and prepares, and sends a Handover Request ACK signaling to an MME, wherein the signaling carries MME _ UE _ S1AP _ ID (unique identification of UE on an S1 interface in the MME) and ENB _ UE _ S1AP _ ID (unique identification of UE on an S1 interface in the eNB);
after receiving a Handover Request ACK (Handover Request acknowledgement) signaling, the MME sends a Handover Command signaling to the source base station, and the signaling carries MME _ UE _ S1AP _ ID (the unique identifier of the UE on an S1 interface in the MME) and ENB _ UE _ S1AP _ ID (the unique identifier of the UE on an S1 interface in the eNB);
6. after receiving a Handover Command signaling, a source base station sends an RRCConnRecfg (radio resource connection reconfiguration) signaling to UE, and the signaling carries a C-Rnti (Cell Rnti, Cell radio network temporary identifier) Cell;
7, the UE receives RRCConnRecfg (radio resource connection reconfiguration) signaling, and sends RRCConnRecfgComplete (radio resource connection reconfiguration completion) signaling to the target base station at the time domain and frequency domain position indicated by C-Rnti (Cell Rnti, Cell radio network temporary identifier);
8. after receiving signaling of sending RRCConnRecfgComplete (radio resource connection reconfiguration is completed), the target base station allocates UE ID for the UE;
and finishing the UE switching process, finishing the mapping of the UE ID and the MME _ UE _ S1AP _ ID in the source base station, and finishing the one-to-one mapping of the MME _ UE _ S1AP _ ID and the UE ID in the target base station. The mapping relationships are stored in a structure.
Further, the present invention stores the mapping relationships in a structure. Examples the structures are defined as follows:
based on the mapping table, the obtained structures UE _ info _ data of the IMSI, the MME _ UE _ S1AP _ ID, the TMSI and the UEID are stored in the base station terminal by adopting a dynamic linked list, and the mapping table is stored as a txt text file. The terminal state information comprises conventional logs, state counters and tracking information (normal and abnormal behaviors and states of the terminal equipment), and when the user equipment accesses a certain cell of the base station, the terminal state information is added with a [ IMSI ] [ UEID ] or [ TMSI ] [ UEID ] label; when the user equipment is switched S1 between two base stations, the [ IMSI ] [ UEID ] or [ TMSI ] [ UEID ] is used at the source base station and the [ MME _ UE _ S1AP _ ID ] [ UEID ] label is used at the target base station. The state counter may be a count of normal or abnormal states of the terminal device. In specific embodiments, [ ] are specific numerical values.
A tester and other related users can request terminal state information from a base station terminal according to requirements, select part or all of output logs, state counters and tracking information, and then replace all tags of [ MME _ UE _ S1AP _ ID ] [ UEID ] or [ TMSI ] [ UEID ] in the output information with [ IMSI ] [ UEID ] tags according to the mapped txt text file by using a corresponding analysis tool. The output log, the state counter and the tracking information are filtered according to the IMSI (the specific numerical value in the brackets), and the state of the UE (terminal equipment) in the whole network can be obtained quickly. Therefore, the system can be remotely installed and debugged, and the state of the terminal equipment can be tracked at any time; and when an abnormal condition occurs, relevant maintenance personnel can analyze the problem and finally locate the problem according to the abnormal condition report, the abnormal condition relevant state counting value comparison and the abnormal condition occurring log.
The invention aims to support installation, debugging, tracking terminal state, and performing abnormity analysis and positioning under the specific environment of the CTBC system, thereby providing guarantee for the whole solution and assisting in later-period network maintenance. In specific implementation, the automatic operation can be realized by adopting a computer software technology.
The foregoing is a more detailed description of the present invention that is presented in conjunction with specific embodiments, and the practice of the invention is not to be considered limited to those descriptions. It will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and principles of the invention.