[go: up one dir, main page]

CN102740313B - Log reporting method, journal obtaining method, equipment and system - Google Patents

Log reporting method, journal obtaining method, equipment and system Download PDF

Info

Publication number
CN102740313B
CN102740313B CN201110082239.4A CN201110082239A CN102740313B CN 102740313 B CN102740313 B CN 102740313B CN 201110082239 A CN201110082239 A CN 201110082239A CN 102740313 B CN102740313 B CN 102740313B
Authority
CN
China
Prior art keywords
terminal
log
target cell
plmn
base station
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
CN201110082239.4A
Other languages
Chinese (zh)
Other versions
CN102740313A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201110082239.4A priority Critical patent/CN102740313B/en
Publication of CN102740313A publication Critical patent/CN102740313A/en
Application granted granted Critical
Publication of CN102740313B publication Critical patent/CN102740313B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

本发明实施例提供一种日志上报方法、日志获取方法、设备和系统,该日志上报方法包括:终端获取目标小区的PLMN列表;该终端根据该目标小区的PLMN列表判断该终端在目标小区的日志归属PLMN与该终端在源小区的日志归属PLMN是否相同;若该终端在目标小区的日志归属PLMN与该终端在源小区的日志归属PLMN相同,则该终端向上述目标小区的控制基站发送日志。本发明实施例,终端在判断出终端在目标小区的日志归属PLMN和终端在源小区的日志归属PLMN相同时,才会向目标小区的控制基站发送日志,由此可以避免终端在日志归属PLMN将要改变时向目标小区上报日志,从而可以避免日志的错误上报。

Embodiments of the present invention provide a log reporting method, log acquisition method, device, and system. The log reporting method includes: the terminal obtains the PLMN list of the target cell; the terminal judges the log of the terminal in the target cell according to the PLMN list of the target cell Whether the home PLMN is the same as the home PLMN of the log of the terminal in the source cell; if the home PLMN of the log of the terminal in the target cell is the same as the home PLMN of the log of the terminal in the source cell, then the terminal sends the log to the control base station of the target cell. In the embodiment of the present invention, the terminal will only send the log to the control base station of the target cell when it determines that the PLMN of the terminal's log in the target cell belongs to the same PLMN as the log of the terminal in the source cell. When changing, the log is reported to the target cell, so that wrong reporting of the log can be avoided.

Description

日志上报方法、日志获取方法、设备和系统Log reporting method, log acquisition method, device and system

技术领域 technical field

本发明实施例涉及通信技术领域,尤其涉及一种日志上报方法、日志获取方法、设备和系统。The embodiments of the present invention relate to the technical field of communications, and in particular, to a log reporting method, log acquisition method, device, and system.

背景技术 Background technique

MDT(MinimizationofDriveTests,最小化路测)可以减少运营商在网络建立以及后续的维护阶段进行的传统路测工作。MDT可以要求执行MDT的终端在连接态或空闲(Idle)态记录网络情况,并在合适的时间将记录的网络情况上报到网络。MDT (Minimization of Drive Tests, Minimization of Drive Tests) can reduce the traditional drive test work performed by operators in the network establishment and subsequent maintenance phases. The MDT may require a terminal executing the MDT to record network conditions in a connected state or an idle (Idle) state, and report the recorded network conditions to the network at an appropriate time.

现有3GPP(The3rdGenerationPartnershipProject,第三代合作伙伴计划)中的MDT可以分为两种:立即上报MDT(ImmediateMDT)和日志MDT(LoggedMDT)。ImmediateMDT是网络侧在RRC(RadioResourceControl,无线资源控制协议)连接态对执行MDT的终端进行MDT配置,终端在连接态进行MDT测量和记录,并立即上报测量结果的一种MDT方式。LoggedMDT是网络侧在RRC连接态对执行MDT的终端进行MDT配置,终端在空闲态进行MDT测量和记录,并且在终端进入到连接态时进行MDT日志(MDTlog)上报的一种MDT方式。The MDT in the existing 3GPP (The 3rd Generation Partnership Project, 3rd Generation Partnership Project) can be divided into two types: Immediate MDT (ImmediateMDT) and Logged MDT (LoggedMDT). ImmediateMDT is an MDT method in which the network side performs MDT configuration on the terminal performing MDT in the RRC (RadioResourceControl, radio resource control protocol) connection state, and the terminal performs MDT measurement and recording in the connection state, and immediately reports the measurement result. LoggedMDT is an MDT method in which the network side performs MDT configuration on the terminal performing MDT in the RRC connection state, the terminal performs MDT measurement and recording in the idle state, and reports the MDT log (MDTlog) when the terminal enters the connected state.

LoggedMDT的过程可以包括:终端在空闲态进行MDT测量和记录,在终端进入到连接态时,终端要判断当前的日志归属PLMN(PublicLandMobileNetwork,公共陆地移动网)是否为MDTPLMN;其中,MDTPLMN是为终端配置MDT时终端的日志归属PLMN;如果当前的日志归属PLMN为MDTPLMN,则终端按照是否有MDTlog来指示日志是否有效,如果有MDTlog,则向网络侧指示日志有效,如果没有MDTlog,则不向网络侧指示日志有效;如果当前的日志归属PLMN不是MDTPLMN,则不管终端是否具有MDTlog,终端都不向网络侧指示日志有效。The LoggedMDT process may include: the terminal performs MDT measurement and recording in the idle state. When the terminal enters the connected state, the terminal needs to determine whether the current log belongs to the PLMN (PublicLandMobileNetwork, public land mobile network) is MDTPLMN; wherein, MDTPLMN is the terminal When configuring MDT, the log of the terminal belongs to the PLMN; if the current log belongs to the PLMN of MDTPLMN, the terminal indicates whether the log is valid according to whether there is an MDT log. If there is an MDT log, it indicates to the network that the log is valid; The side indicates that the log is valid; if the current log belongs to a PLMN other than the MDTPLMN, the terminal will not indicate to the network side that the log is valid regardless of whether the terminal has an MDT log.

当终端发生小区选择或重选时有可能发生PLMN变化。例如:当终端从PLMN1的小区移动到PLMN2的小区时,终端的日志归属PLMN将会从PLMN1变化为PLMN2。然而,当终端刚从PLMN1的小区移动到PLMN2的小区时,终端可能还没有进行跟踪区更新(TrackingAreaUpdate,简称为TAU)过程,那么终端也就没有进行PLMN重新注册的过程,因此终端维护的当前日志归属PLMN并没有改变。此时终端判断当前的日志归属PLMN为MDTPLMN,所以终端向目标小区的控制基站指示MDTlog有效,并在目标小区的控制基站索要MDTlog时向网络侧上报该MDTlog。由此,使得终端将PLMN1对应的MDTlog上报给了PLMN2的小区,从而造成了MDT日志的错误上报。PLMN changes may occur when a terminal undergoes cell selection or reselection. For example: when the terminal moves from the cell of PLMN1 to the cell of PLMN2, the home PLMN of the log of the terminal will change from PLMN1 to PLMN2. However, when the terminal has just moved from the cell of PLMN1 to the cell of PLMN2, the terminal may not have performed the Tracking Area Update (TAU) process, and the terminal has not yet performed the PLMN re-registration process, so the terminal maintains the current Log attribution to PLMN has not changed. At this time, the terminal judges that the current log belongs to MDTPLMN, so the terminal indicates to the control base station of the target cell that the MDTlog is valid, and reports the MDTlog to the network side when the control base station of the target cell asks for the MDTlog. As a result, the terminal reports the MDT log corresponding to the PLMN1 to the cell of the PLMN2, thus causing an erroneous report of the MDT log.

发明内容 Contents of the invention

本发明一方面提供一种日志上报方法,包括:终端获取目标小区的公共陆地移动网PLMN列表;上述终端根据该目标小区的PLMN列表判断该终端在目标小区的日志归属PLMN与该终端在源小区的日志归属PLMN是否相同,若该终端在目标小区的日志归属PLMN与该终端在源小区的日志归属PLMN相同,则上述终端向上述目标小区的控制基站发送日志。One aspect of the present invention provides a log reporting method, including: the terminal obtains the public land mobile network PLMN list of the target cell; the terminal judges according to the PLMN list of the target cell that the log of the terminal in the target cell belongs to the PLMN and the log of the terminal in the source cell Whether the log attributable PLMN of the terminal is the same, if the log attributable PLMN of the terminal in the target cell is the same as the attributable PLMN of the log of the terminal in the source cell, the terminal sends the log to the control base station of the target cell.

本发明另一方面提供一种日志获取方法,包括:向终端发送目标小区的公共陆地移动网PLMN列表,以使上述终端根据该目标小区的PLMN列表判断该终端在目标小区的日志归属PLMN与该终端在源小区的日志归属PLMN是否相同;接收上述终端在该终端在目标小区的日志归属PLMN与该终端在源小区的日志归属PLMN相同时发送的日志。Another aspect of the present invention provides a log acquisition method, including: sending the target cell's public land mobile network PLMN list to the terminal, so that the above-mentioned terminal judges that the terminal's log in the target cell belongs to the PLMN according to the target cell's PLMN list. Whether the log attributable PLMN of the terminal in the source cell is the same; receiving the log sent by the terminal when the attributable PLMN of the log of the terminal in the target cell is the same as the attributable PLMN of the log of the terminal in the source cell.

本发明再一方面提供一种终端,包括获取单元,判断单元和发送单元。上述获取单元用于获取目标小区的公共陆地移动网PLMN列表;上述判断单元用于根据该目标小区的PLMN列表判断该终端在目标小区的日志归属PLMN与该终端在源小区的日志归属PLMN是否相同;上述发送单元用于当上述判断单元的判断结果为该终端在目标小区的日志归属PLMN与该终端在源小区的日志归属PLMN相同时,向上述目标小区的控制基站发送日志。Another aspect of the present invention provides a terminal, including an acquiring unit, a judging unit, and a sending unit. The acquiring unit is used to acquire the PLMN list of the target cell; the judging unit is used to judge whether the PLMN of the log belonging to the terminal in the target cell is the same as the PLMN belonging to the log of the terminal in the source cell according to the PLMN list of the target cell The above-mentioned sending unit is used to send the log to the control base station of the above-mentioned target cell when the judgment result of the above-mentioned judging unit is that the log attributable PLMN of the terminal in the target cell is the same as the log attributable PLMN of the terminal in the source cell.

本发明又一方面提供一种基站,包括发送单元和接收单元。上述发送单元用于向终端发送目标小区的公共陆地移动网PLMN列表,以使上述终端根据该目标小区的PLMN列表判断该终端在目标小区的日志归属PLMN与该终端在源小区的日志归属PLMN是否相同;上述接收单元用于接收上述终端在该终端在目标小区的日志归属PLMN与该终端在源小区的日志归属PLMN相同时发送的日志。Another aspect of the present invention provides a base station, including a sending unit and a receiving unit. The above-mentioned sending unit is used to send the PLMN list of the target cell to the terminal, so that the above-mentioned terminal judges whether the log of the terminal in the target cell belongs to the PLMN and the log of the terminal in the source cell belongs to the PLMN according to the PLMN list of the target cell. The same; the receiving unit is configured to receive the log sent by the terminal when the PLMN of the log of the terminal in the target cell is the same as the PLMN of the log of the terminal in the source cell.

本发明又一方面还提供一种通信系统,包括如上所述的终端和基站。Still another aspect of the present invention provides a communication system, including the above-mentioned terminal and base station.

通过上述技术方案提供的日志上报方法、日志获取方法、设备和系统,终端获取目标小区的PLMN列表后,根据该目标小区的PLMN列表判断该终端在目标小区的日志归属PLMN和该终端在源小区的日志归属PLMN是否相同,若相同,则该终端向目标小区的控制基站发送日志。本发明实施例,终端在判断出终端在目标小区的日志归属PLMN和终端在源小区的日志归属PLMN相同时,即终端在判断出在终端进入目标小区之后日志归属PLMN不会改变时,才会向目标小区的控制基站发送日志,由此可以避免终端在日志归属PLMN将要改变时向目标小区上报日志,从而可以避免日志的错误上报。Through the log reporting method, log acquisition method, device, and system provided by the above technical solution, after the terminal obtains the PLMN list of the target cell, it can judge that the log of the terminal in the target cell belongs to the PLMN and the log of the terminal in the source cell according to the PLMN list of the target cell. Whether the logs belong to the same PLMN, and if they are the same, the terminal sends the logs to the control base station of the target cell. In the embodiment of the present invention, when the terminal determines that the PLMN to which the log belongs to the terminal in the target cell is the same as the PLMN to which the log belongs to the terminal in the source cell, that is, when the terminal determines that the PLMN to which the log belongs to will not change after the terminal enters the target cell, the The log is sent to the control base station of the target cell, thereby preventing the terminal from reporting the log to the target cell when the PLMN to which the log belongs is about to change, thereby avoiding erroneous reporting of the log.

附图说明 Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings that need to be used in the description of the embodiments. Obviously, the drawings in the following description are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.

图1为本发明日志上报方法实施例一的流程图;Fig. 1 is a flow chart of Embodiment 1 of the log reporting method of the present invention;

图2为本发明日志获取方法实施例一的流程图;Fig. 2 is a flow chart of Embodiment 1 of the log acquisition method of the present invention;

图3为本发明日志处理方法实施例一的流程图;FIG. 3 is a flow chart of Embodiment 1 of the log processing method of the present invention;

图4为本发明日志处理方法实施例二的流程图;FIG. 4 is a flow chart of Embodiment 2 of the log processing method of the present invention;

图5为本发明终端实施例一的示意图;FIG. 5 is a schematic diagram of Embodiment 1 of a terminal of the present invention;

图6为本发明终端实施例二的示意图;FIG. 6 is a schematic diagram of Embodiment 2 of the terminal of the present invention;

图7为本发明基站实施例的示意图。Fig. 7 is a schematic diagram of an embodiment of a base station according to the present invention.

具体实施方式 detailed description

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

图1为本发明日志上报方法实施例一的流程图,如图1所示,该方法包括以下内容。FIG. 1 is a flow chart of Embodiment 1 of the log reporting method of the present invention. As shown in FIG. 1 , the method includes the following contents.

101,终端获取目标小区的PLMN列表。101. A terminal acquires a PLMN list of a target cell.

其中,上述目标小区为终端发生切换时的目标小区,或者,上述目标小区为终端发生小区重选后驻留的小区,例如:终端发生无线链路失败(RadioLinkFailure,简称为RLF)后会选择信号质量最好的小区(即目标小区)驻留。Wherein, the above-mentioned target cell is the target cell when the terminal is handed over, or the above-mentioned target cell is the cell where the terminal resides after cell reselection occurs, for example: the terminal will select the signal The cell with the best quality (that is, the target cell) resides.

在不同的应用场景下,终端可以通过接收到携带目标小区的PLMN列表的RRC连接建立消息、RRC连接重配消息或者RRC连接重建消息,获取上述目标小区的PLMN列表;或者,在终端可以通过读取目标小区的广播信道,获取上述目标小区的PLMN列表。In different application scenarios, the terminal can acquire the PLMN list of the above-mentioned target cell by receiving the RRC connection establishment message, RRC connection reconfiguration message or RRC connection re-establishment message carrying the PLMN list of the target cell; The broadcast channel of the target cell is used to obtain the PLMN list of the target cell.

终端获取到目标小区的PLMN列表后,可以进一步获取终端在目标小区的日志归属PLMN。After obtaining the PLMN list of the target cell, the terminal may further obtain the PLMN that the terminal belongs to in the log of the target cell.

本实施例中的日志可以为MDT日志、RLF日志或ANR(AutomaticNeighbourRelation,自动邻区关系)日志,相应的,日志归属PLMN可以为以下两种。The logs in this embodiment may be MDT logs, RLF logs or ANR (Automatic NeighbourRelation, automatic neighbor relationship) logs. Correspondingly, the PLMN to which the logs belong may be the following two types.

第一种情况:当日志为MDT日志时,日志归属PLMN为MDTPLMN,该MDTPLMN可以是为终端配置MDT日志时,终端的PPLMN(主PLMN);当日志为RLF日志时,日志归属PLMN为RLFPLMN,该RLFPLMN可以是终端发生RLF时,终端的PPLMN;当日志为ANR日志时,日志归属PLMN为ANRPLMN,该ANRPLMN可以是为终端配置ANR日志时,终端的PPLMN。Case 1: When the log is an MDT log, the PLMN attributable to the log is MDTPLMN, which can be the PPLMN (primary PLMN) of the terminal when the MDT log is configured for the terminal; when the log is an RLF log, the PLMN attributable to the log is RLFPLMN, The RLFPLMN may be the PPLMN of the terminal when RLF occurs in the terminal; when the log is an ANR log, the PLMN to which the log belongs is ANRPLMN, and the ANRPLMN may be the PPLMN of the terminal when the ANR log is configured for the terminal.

第二种情况:当日志为MDT日志时,日志归属PLMN为MDTPLMN,该MDTPLMN可以是为终端配置MDT日志时,终端的RPLMN(注册的PLMN);当日志为RLF日志时,日志归属PLMN为RLFPLMN,该RLFPLMN可以是终端发生RLF时,终端的RPLMN;当日志为ANR日志时,日志归属PLMN为ANRPLMN,该ANRPLMN可以是为终端配置ANR日志时,终端的RPLMN。The second case: when the log is an MDT log, the PLMN attributable to the log is MDTPLMN, and the MDTPLMN can be the RPLMN (registered PLMN) of the terminal when the MDT log is configured for the terminal; when the log is an RLF log, the PLMN attributable to the log is RLFPLMN , the RLFPLMN may be the RPLMN of the terminal when RLF occurs in the terminal; when the log is an ANR log, the PLMN to which the log belongs is ANRPLMN, and the ANRPLMN may be the RPLMN of the terminal when the ANR log is configured for the terminal.

102,上述终端根据上述目标小区的PLMN列表判断该终端在目标小区的日志归属PLMN与该终端在源小区的日志归属PLMN是否相同。102. The terminal judges, according to the PLMN list of the target cell, whether the log home PLMN of the terminal in the target cell is the same as the log home PLMN of the terminal in the source cell.

具体地,上述终端获取到该终端在目标小区的日志归属PLMN后,可以判断出该终端在目标小区的日志归属PLMN与该终端在源小区的日志归属PLMN是否相同;即,终端可以判断出日志归属PLMN是否将要改变,即日志归属PLMN在预设时间或预设过程之后是否会发生改变。Specifically, after the terminal obtains the PLMN to which the log of the terminal in the target cell belongs, it can determine whether the PLMN to which the log of the terminal in the target cell belongs is the same as the PLMN to which the log of the terminal in the source cell belongs; Whether the attribution PLMN will change, that is, whether the log attribution PLMN will change after a preset time or a preset process.

其中,预设时间可以采用预设的缺省值也可以采用网络配置的方式,比如设置预设时间为T。当终端接收到目标小区的PLMN列表后判断在后续的时间T内日志归属PLMN都不会改变那么判断日志归属PLMN将不会改变。Wherein, the preset time may adopt a preset default value or a network configuration manner, for example, setting the preset time as T. After receiving the PLMN list of the target cell, the terminal judges that the PLMN that the log belongs to will not change in the subsequent time T, then it determines that the PLMN that the log belongs to will not change.

预设过程可以用预设的缺省过程也可以采用网络配置的方式,比如设置预设过程是TAU更新完成消息。当终端接收到目标小区的PLMN列表后判断在后续的TAU更新完成消息后归属PLMN都不会改变那么判断归属PLMN将不会改变。The preset process may be a preset default process or a network configuration method, for example, the preset process is set to be a TAU update completion message. When the terminal receives the PLMN list of the target cell and judges that the home PLMN will not change after the subsequent TAU update complete message, it determines that the home PLMN will not change.

上述终端根据该目标小区的PLMN列表判断该终端在目标小区的日志归属PLMN与该终端在源小区的日志归属PLMN是否相同,即终端判断日志归属PLMN是否将要改变的过程具体可以包括:The above-mentioned terminal judges whether the log belonging PLMN of the terminal in the target cell is the same as the log belonging PLMN of the terminal in the source cell according to the PLMN list of the target cell, that is, the process for the terminal to determine whether the log belonging PLMN will be changed may specifically include:

1、日志归属PLMN为上述第一种情况:1. The log belongs to the PLMN in the first case above:

若终端在源小区的日志归属PLMN为PLMN1,目标小区的PLMN列表中第一个PLMN为PLMN1,则终端进入到目标小区后,日志归属PLMN不会发生改变,仍然还是PLMN1,由此可以判断出该终端在目标小区的日志归属PLMN与该终端在源小区的日志归属PLMN相同,即日志归属PLMN在预设时间或预设过程之后不会发生改变;If the log attributable PLMN of the terminal in the source cell is PLMN1, and the first PLMN in the PLMN list of the target cell is PLMN1, after the terminal enters the target cell, the log attributable PLMN will not change, and it is still PLMN1, so it can be judged The log home PLMN of the terminal in the target cell is the same as the log home PLMN of the terminal in the source cell, that is, the log home PLMN will not change after the preset time or preset process;

若终端在源小区的日志归属PLMN为PLMN1,目标小区的PLMN列表中第一个PLMN不是PLMN1,则终端进入到目标小区后,日志归属PLMN将会改变为目标小区的PLMN列表中的第一个PLMN,由此可以判断出该终端在目标小区的日志归属PLMN与该终端在源小区的日志归属PLMN不相同,即日志归属PLMN在预设时间或预设过程之后发生改变。If the log attributable PLMN of the terminal in the source cell is PLMN1, and the first PLMN in the PLMN list of the target cell is not PLMN1, after the terminal enters the target cell, the log attributable PLMN will be changed to the first in the PLMN list of the target cell PLMN, thus it can be judged that the log home PLMN of the terminal in the target cell is different from the log home PLMN of the terminal in the source cell, that is, the log home PLMN changes after a preset time or a preset process.

2、日志归属PLMN为上述第二种情况:2. The log belongs to the PLMN in the second case above:

若终端在源小区的日志归属PLMN为PLMN1,目标小区的PLMN列表中只包括PLMN1,则终端进入到目标小区后,日志归属PLMN不会发生改变,仍然还是PLMN1,由此可以判断出该终端在目标小区的日志归属PLMN与该终端在源小区的日志归属PLMN相同,即日志归属PLMN在预设时间或预设过程之后不会发生改变;If the log attributable PLMN of the terminal in the source cell is PLMN1, and the PLMN list of the target cell only includes PLMN1, after the terminal enters the target cell, the log attributable PLMN will not change, and it is still PLMN1, so it can be judged that the terminal is in the target cell. The log attributable PLMN of the target cell is the same as the log attributable PLMN of the terminal in the source cell, that is, the log attributable PLMN will not change after the preset time or preset process;

若终端在源小区的日志归属PLMN为PLMN1,目标小区的PLMN列表中不包括PLMN1,则终端进入到目标小区后,日志归属PLMN将会改变为PLMN列表中的一个PLMN,由此可以判断出该终端在目标小区的日志归属PLMN与该终端在源小区的日志归属PLMN不相同,即日志归属PLMN在预设时间或预设过程之后发生改变;If the log attributable PLMN of the terminal in the source cell is PLMN1, and the PLMN list of the target cell does not include PLMN1, after the terminal enters the target cell, the log attributable PLMN will be changed to a PLMN in the PLMN list. The log home PLMN of the terminal in the target cell is different from the log home PLMN of the terminal in the source cell, that is, the log home PLMN changes after a preset time or a preset process;

若终端在源小区的日志归属PLMN为PLMN1,目标小区的PLMN列表中至少包括有PLMN1和PLMN2,则需要根据目标小区的PLMN列表中各个PLMN的优先级或者根据用户手动选择来判断终端进入到目标小区后,日志归属PLMN是否还是PLMN1,若是,则判断出该终端在目标小区的日志归属PLMN与该终端在源小区的日志归属PLMN相同,即日志归属PLMN在预设时间或预设过程之后不会发生改变,若否,则判断出该终端在目标小区的日志归属PLMN与该终端在源小区的日志归属PLMN不相同,即日志归属PLMN在预设时间或预设过程之后会发生改变。If the PLMN of the terminal's log in the source cell belongs to PLMN1, and the PLMN list of the target cell includes at least PLMN1 and PLMN2, it is necessary to judge the terminal's access to the target according to the priority of each PLMN in the PLMN list of the target cell or according to the user's manual selection. After the cell, whether the log belongs to PLMN is still PLMN1, and if so, it is determined that the log belongs to the PLMN of the terminal in the target cell and the log belongs to the PLMN of the terminal in the source cell, that is, the log belongs to the PLMN after the preset time or preset process. Will change, if not, then it is judged that the terminal's log attributable PLMN in the target cell is different from the log attributable PLMN of the terminal in the source cell, that is, the log attributable PLMN will change after a preset time or a preset process.

103,若该终端在目标小区的日志归属PLMN与该终端在源小区的日志归属PLMN相同,则该终端向目标小区的控制基站发送日志。103. If the home PLMN of the log of the terminal in the target cell is the same as the home PLMN of the log of the terminal in the source cell, the terminal sends the log to the control base station of the target cell.

其中,本实施例中的控制基站可以包括LTE网络中的演进基站(eNB),也可以包括UTRAN网络中的无线网络控制器(RadioNetworkController,简称为RNC)和基站(NB)。Wherein, the controlling base station in this embodiment may include an evolved base station (eNB) in an LTE network, or may include a radio network controller (Radio Network Controller, RNC for short) and a base station (NB) in a UTRAN network.

若上述终端判断出该终端在目标小区的日志归属PLMN与该终端在源小区的日志归属PLMN相同,即日志归属PLMN在预设时间或预设过程之后不改变,则终端可以向目标小区上报日志。终端向目标小区上报日志的方式具体可以包括以下两种:1、终端判断出该终端在目标小区的日志归属PLMN与该终端在源小区的日志归属PLMN相同,即日志归属PLMN在预设时间或预设过程之后不改变后,终端向目标小区的控制基站发送日志有效的指示消息,然后目标小区的控制基站根据该指示消息向终端发送日志请求,终端根据该日志请求向目标小区的控制基站发送日志;2、终端先向目标小区的控制基站发送表示该终端具有日志的标识信息,然后终端判断出该终端在目标小区的日志归属PLMN与该终端在源小区的日志归属PLMN相同,即日志归属PLMN在预设时间或预设过程之后不改变,目标小区的控制基站根据上述表示该终端具有日志的标识信息获知终端具有日志,向终端发送用于获取日志的日志请求,当终端接收到目标小区的控制基站根据上述标识信息发送的日志请求时,终端向目标小区的控制基站发送日志。If the above-mentioned terminal determines that the log attributable PLMN of the terminal in the target cell is the same as the log attributable PLMN of the terminal in the source cell, that is, the log attributable PLMN does not change after the preset time or preset process, then the terminal can report the log to the target cell . The method for the terminal to report the log to the target cell may specifically include the following two methods: 1. The terminal determines that the PLMN of the log of the terminal in the target cell is the same as the PLMN of the log of the terminal in the source cell, that is, the log belongs to the PLMN at the preset time or After the preset process is not changed, the terminal sends an indication message that the log is valid to the control base station of the target cell, and then the control base station of the target cell sends a log request to the terminal according to the indication message, and the terminal sends a log request to the control base station of the target cell according to the log request. Log; 2. The terminal first sends identification information indicating that the terminal has a log to the control base station of the target cell, and then the terminal judges that the PLMN of the log of the terminal in the target cell is the same as the PLMN of the log of the terminal in the source cell, that is, the log belongs to The PLMN does not change after the preset time or preset process. The control base station of the target cell knows that the terminal has a log according to the above identification information indicating that the terminal has a log, and sends a log request for obtaining the log to the terminal. When the terminal receives the target cell When the control base station of the target cell sends a log request according to the above identification information, the terminal sends the log to the control base station of the target cell.

若上述终端判断出该终端在目标小区的日志归属PLMN与终端在源小区的日志归属PLMN不相同,即日志归属PLMN在预设时间或预设过程之后发生改变,则终端不向目标小区的控制基站上报日志,具体可以包括:终端向目标小区的控制基站发送用于指示日志无效的指示信息,或者终端向目标小区的控制基站发送不包含日志的空报告消息。在具体实现过程中,当终端是基于目标小区的控制基站的日志请求上报日志时,终端不向目标小区上报日志的方式具体可以包括:1、终端判断出该终端在目标小区的日志归属PLMN与终端在源小区的日志归属PLMN不相同,即日志归属PLMN在预设时间或预设过程之后发生改变,则终端不向目标小区的控制基站发送日志有效的指示消息,或者向目标小区的控制基站发送日志无效的指示消息,由此目标小区的控制基站就不会向终端发送获取日志的日志请求,进而终端不向目标小区的控制基站上报日志;2、终端先向目标小区的控制基站发送表示该终端具有日志的标识信息,然后终端判断出该终端在目标小区的日志归属PLMN与终端在源小区的日志归属PLMN不相同,即日志归属PLMN在预设时间或预设过程之后会发生改变,目标小区的控制基站根据上述表示该终端具有日志的标识信息获知终端具有日志,向终端发送用于获取日志的日志请求,当终端接收到目标小区的控制基站根据上述标识信息发送的日志请求时,终端向网络侧发送不包含日志的空报告。If the above-mentioned terminal judges that the log attributable PLMN of the terminal in the target cell is different from the log attributable PLMN of the terminal in the source cell, that is, the log attributable PLMN changes after the preset time or the preset process, the terminal will not report to the target cell. The base station reporting the log may specifically include: the terminal sends indication information for indicating that the log is invalid to the control base station of the target cell, or the terminal sends an empty report message that does not include the log to the control base station of the target cell. In the specific implementation process, when the terminal requests to report the log based on the log of the control base station of the target cell, the manner in which the terminal does not report the log to the target cell may specifically include: 1. The terminal determines that the log of the terminal in the target cell belongs to the PLMN and If the log attributable PLMN of the terminal in the source cell is different, that is, the log attributable PLMN changes after a preset time or a preset process, the terminal will not send an indication message that the log is valid to the control base station of the target cell, or send a valid log message to the control base station of the target cell. Send an indication message that the log is invalid, so that the control base station of the target cell will not send a log request to the terminal to obtain the log, and the terminal will not report the log to the control base station of the target cell; 2. The terminal first sends an indication to the control base station of the target cell The terminal has log identification information, and then the terminal determines that the log attributable PLMN of the terminal in the target cell is different from the log attributable PLMN of the terminal in the source cell, that is, the log attributable PLMN will change after a preset time or a preset process, The controlling base station of the target cell knows that the terminal has a log according to the above identification information indicating that the terminal has a log, and sends a log request for obtaining the log to the terminal. When the terminal receives the log request sent by the controlling base station of the target cell according to the above identification information, The terminal sends an empty report without logs to the network side.

本发明实施例,终端在判断出终端在目标小区的日志归属PLMN和终端在源小区的日志归属PLMN相同时,即日志归属PLMN在预设时间或预设过程之后不会改变时,才会向目标小区的控制基站发送日志,由此可以避免终端在日志归属PLMN将要改变时向目标小区上报日志,从而可以避免日志的错误上报。In the embodiment of the present invention, when the terminal judges that the log attributable PLMN of the terminal in the target cell is the same as the log attributable PLMN of the terminal in the source cell, that is, when the log attributable PLMN will not change after the preset time or preset process, the terminal will report to the The control base station of the target cell sends the log, thereby preventing the terminal from reporting the log to the target cell when the PLMN to which the log belongs is about to change, thereby avoiding erroneous reporting of the log.

图2为本发明日志获取方法实施例一的流程图,如图2所示,该方法包括以下内容。Fig. 2 is a flow chart of Embodiment 1 of the log acquisition method of the present invention. As shown in Fig. 2, the method includes the following contents.

201,向终端发送目标小区的PLMN列表,以使终端根据目标小区的PLMN列表判断终端在目标小区的日志归属PLMN与终端在源小区的日志归属PLMN是否相同。201. Send the PLMN list of the target cell to the terminal, so that the terminal determines whether the log home PLMN of the terminal in the target cell is the same as the log home PLMN of the terminal in the source cell according to the PLMN list of the target cell.

本实施例与图1所示的实施例相对应,本实施例的执行主体可以为目标小区的控制基站,例如LTE系统中的eNB,或者UTRAN系统中的RNC和NB。This embodiment corresponds to the embodiment shown in FIG. 1 , and the executor of this embodiment may be the control base station of the target cell, such as the eNB in the LTE system, or the RNC and NB in the UTRAN system.

具体地,基站可以通过发送携带目标小区的PLMN列表的RRC连接建立消息、RRC连接重配消息或者RRC连接重建消息,向终端发送上述目标小区的PLMN列表;或者,基站可以通过广播信道发送该目标小区的PLMN列表。可选地,RRC连接建立消息和RRC连接重建消息可以是目标小区的控制基站发送给终端的;RRC连接重配消息可以是源小区的控制基站发送的。源小区的控制基站向终端发送携带目标小区的PLMN列表的RRC连接重配消息之前,源小区的控制基站可以先从目标小区的控制基站获取目标小区的PLMN列表。Specifically, the base station may send the PLMN list of the target cell to the terminal by sending an RRC connection establishment message, an RRC connection reconfiguration message, or an RRC connection reestablishment message carrying the PLMN list of the target cell; or, the base station may send the target cell through a broadcast channel. The PLMN list of the cell. Optionally, the RRC connection establishment message and the RRC connection re-establishment message may be sent to the terminal by the control base station of the target cell; the RRC connection reconfiguration message may be sent by the control base station of the source cell. Before the control base station of the source cell sends the RRC connection reconfiguration message carrying the PLMN list of the target cell to the terminal, the control base station of the source cell may obtain the PLMN list of the target cell from the control base station of the target cell.

可选地,终端可以进一步根据目标小区的PLMN列表获取终端在目标小区的日志归属PLMN,然后判断终端在目标小区的日志归属PLMN与终端在源小区的日志归属PLMN是否相同的具体过程可以参见图1所示实施例中101和102中的描述。Optionally, the terminal can further obtain the log home PLMN of the terminal in the target cell according to the PLMN list of the target cell, and then determine whether the log home PLMN of the terminal in the target cell is the same as the log home PLMN of the terminal in the source cell. The description in 101 and 102 in the embodiment shown in 1.

202,接收上述终端在该终端在目标小区的日志归属PLMN与终端在源小区的日志归属PLMN相同时发送的日志。202. Receive the log sent by the terminal when the PLMN of the terminal's log in the target cell is the same as that of the terminal's log in the source cell.

终端可以在判断出终端在目标小区的日志归属PLMN与终端在源小区的日志归属PLMN相同时,可以主动向目标小区上报日志;或者,终端可以在判断出终端在目标小区的日志归属PLMN与终端在源小区的日志归属PLMN相同时,向目标小区的控制基站发送用于指示日志有效的指示信息,当目标小区的控制基站接收到终端发送的用于指示日志有效的指示信息后,可以向终端请求获取日志,即可以向终端发送用于获取日志的日志请求。The terminal may actively report the log to the target cell when it determines that the PLMN of the terminal's log in the target cell belongs to the same PLMN as the log of the terminal in the source cell; or, the terminal may determine that the log of the terminal in the target cell belongs to the PLMN and the terminal When the logs of the source cell belong to the same PLMN, send the indication information for indicating that the log is valid to the control base station of the target cell. After receiving the indication information for indicating that the log is valid sent by the terminal, the control base station of the target cell can send the terminal Request to obtain logs, that is, a log request for obtaining logs can be sent to the terminal.

可选地,若终端判断出终端在目标小区的日志归属PLMN与终端在源小区的日志归属PLMN不相同,则目标小区的控制基站会接收到终端上报的不包含日志的空报告或者指示日志无效的报告。Optionally, if the terminal determines that the home PLMN of the terminal's log in the target cell is different from the home PLMN of the terminal's log in the source cell, the control base station of the target cell will receive an empty report that does not include the log or indicate that the log is invalid. Report.

本发明实施例,目标小区的控制基站向终端发送目标小区的PLMN列表,使得终端可以根据目标小区的PLMN列表判断终端在目标小区的日志归属PLMN与终端在源小区的日志归属PLMN是否相同,并且目标小区的控制基站在终端判断出终端在目标小区的日志归属PLMN与终端在源小区的日志归属PLMN相同时,才接收到终端发送的日志,由此可以避免终端在日志归属PLMN将要改变时向目标小区上报日志,从而可以避免日志的错误上报。In the embodiment of the present invention, the control base station of the target cell sends the PLMN list of the target cell to the terminal, so that the terminal can judge whether the PLMN of the log of the terminal in the target cell is the same as the PLMN of the log of the terminal in the source cell according to the PLMN list of the target cell, and The control base station of the target cell does not receive the log sent by the terminal until the terminal determines that the PLMN of the log of the terminal in the target cell is the same as the PLMN of the log of the terminal in the source cell. The target cell reports logs, thereby avoiding false reporting of logs.

图3为本发明日志处理方法实施例一的流程图,如图3所示,本实施例主要介绍终端内的实现过程。该方法包括以下内容。FIG. 3 is a flow chart of Embodiment 1 of the log processing method of the present invention. As shown in FIG. 3 , this embodiment mainly introduces the implementation process in the terminal. The method includes the following contents.

301,终端的接入(AccessStratum,简称为AS)层接收目标小区的PLMN列表,并将PLMN列表发送给终端的非接入(Non-AccessStratum,简称为NAS)层。301. The access (Access Stratum, AS for short) layer of the terminal receives the PLMN list of the target cell, and sends the PLMN list to the non-access Stratum (Non-Access Stratum, NAS for short) layer of the terminal.

终端的AS层接收目标小区的PLMN列表;然后终端的AS层将接收到的PLMN列表发送给终端的NAS层。The AS layer of the terminal receives the PLMN list of the target cell; then the AS layer of the terminal sends the received PLMN list to the NAS layer of the terminal.

本实施例基于图1和图2所示的实施例。本实施例以LTE网络为例进行说明,本实施例的应用并不限于LTE网络。具体地,在LTE系统中,上述PLMN列表可以包含在RRC连接建立(RRCConnectionSetup)消息、RRC连接重配(RRCConnectionReconfiguration)消息、或者RRC连接重建(RRCConnectionReestablishment)消息中;其中,RRC连接建立消息为RRC连接建立场景下目标小区的控制基站发送给终端的消息,RRC连接重配消息为切换场景下源小区的控制基站发送给终端的消息,RRC连接重建消息为RRC重建场景下目标小区的控制基站发送给终端的消息。若本实施例应用在UTRAN网络中,则在与上述各个消息相对应的消息中添加PLMN列表,例如:UTRAN网络中,与切换过程相对应的是重定位过程。This embodiment is based on the embodiments shown in FIG. 1 and FIG. 2 . This embodiment is described by taking an LTE network as an example, and the application of this embodiment is not limited to the LTE network. Specifically, in the LTE system, the above-mentioned PLMN list may be included in an RRC Connection Setup (RRCConnectionSetup) message, an RRC Connection Reconfiguration (RRCConnectionReconfiguration) message, or an RRC Connection Reestablishment (RRCConnectionReestablishment) message; wherein, the RRC Connection Setup message is an RRC connection The message sent by the control base station of the target cell to the terminal in the establishment scenario, the RRC connection reconfiguration message is the message sent by the control base station of the source cell to the terminal in the handover scenario, and the RRC connection reestablishment message is sent to the terminal by the control base station of the target cell in the RRC reconstruction scenario. Terminal messages. If this embodiment is applied in the UTRAN network, the PLMN list is added to the messages corresponding to the above messages. For example, in the UTRAN network, the handover process corresponds to the relocation process.

需要说明的是,当通过RRC连接重配消息把目标小区的PLMN列表发送给终端时,是先由目标小区的控制基站将目标小区的PLMN列表发送给源小区的控制基站,然后再由源小区的控制基站通过RRC连接重配消息把目标小区的PLMN列表发送给终端。It should be noted that when the PLMN list of the target cell is sent to the terminal through the RRC connection reconfiguration message, the control base station of the target cell sends the PLMN list of the target cell to the control base station of the source cell first, and then the source cell The controlling base station sends the PLMN list of the target cell to the terminal through an RRC connection reconfiguration message.

在另一种实施方案中,终端也可以通过读取目标小区的广播信道,获取目标小区的PLMN列表;例如:终端的AS层通过读取目标小区的广播信道,获取目标小区的PLMN列表,然后将获取的目标小区的PLMN列表发送给终端的NAS层。In another embodiment, the terminal can also obtain the PLMN list of the target cell by reading the broadcast channel of the target cell; for example: the AS layer of the terminal obtains the PLMN list of the target cell by reading the broadcast channel of the target cell, and then Send the acquired PLMN list of the target cell to the NAS layer of the terminal.

302,终端的NAS层判断终端在目标小区的日志归属PLMN与终端在源小区的日志归属PLMN是否相同,并将判断结果发送给终端的接入层。302. The NAS layer of the terminal judges whether the log attributable PLMN of the terminal in the target cell is the same as the PLMN attributable to the log of the terminal in the source cell, and sends the judgment result to the access layer of the terminal.

可选地,终端NAS层可以根据目标小区的PLMN列表获取终端在目标小区的日志归属PLMN,然后再进行判断过程,具体获取终端在目标小区的日志归属PLMN的过程和判断的过程可以参见图1所示实施例中101和102中的描述。Optionally, the NAS layer of the terminal can obtain the PLMN that the log of the terminal in the target cell belongs to according to the PLMN list of the target cell, and then perform the judgment process. For the specific process of obtaining the PLMN that the log of the terminal in the target cell belongs to and the judgment process, please refer to Figure 1 Description in 101 and 102 in the illustrated embodiment.

303,终端的AS层接收NAS层发送的判断结果;若判断终端在目标小区的日志归属PLMN与终端在源小区的日志归属PLMN相同,则执行304。303. The AS layer of the terminal receives the judgment result sent by the NAS layer; if it is judged that the PLMN of the log of the terminal in the target cell is the same as the PLMN of the log of the terminal in the source cell, go to 304.

304,终端的AS层向目标小区的控制基站发送用于指示日志有效的指示信息。304. The AS layer of the terminal sends indication information for indicating that the log is valid to the control base station of the target cell.

305,终端的AS层接收目标小区的控制基站发送的用于获取日志的日志请求,并根据该日志请求,向目标小区的控制基站发送日志。在具体实现过程中,目标小区的控制基站根据接收到的用于指示日志有效的指示信息,向终端发送用于获取日志的日志请求。305. The AS layer of the terminal receives the log request sent by the control base station of the target cell for acquiring logs, and sends the log to the control base station of the target cell according to the log request. In a specific implementation process, the control base station of the target cell sends a log request for acquiring logs to the terminal according to the received indication information indicating that the logs are valid.

可选地,在另一实施方案中,在303中,若判断出终端的NAS层在目标小区的日志归属PLMN与终端在源小区的日志归属PLMN相同,则终端可以主动向目标小区的控制基站发送日志,此时,上述的304-305可以不执行。Optionally, in another embodiment, in 303, if it is determined that the PLMN of the terminal's NAS layer log in the target cell is the same as the terminal's log attributable PLMN in the source cell, the terminal can actively report to the control base station of the target cell To send logs, at this time, the above-mentioned 304-305 may not be executed.

可选地,在另一实施方式中,本实施例中的301之前还可以包括:Optionally, in another implementation manner, before 301 in this embodiment may also include:

300,终端向目标小区的控制基站发送用于表示该终端具有日志的标识信息,以使目标小区的控制基站根据该标识信息向终端发送目标小区的PLMN列表。300. The terminal sends identification information indicating that the terminal has a log to the control base station of the target cell, so that the control base station of the target cell sends the PLMN list of the target cell to the terminal according to the identification information.

终端将终端是否具有日志告知给目标小区的控制基站,使得目标小区的控制基站只向具有日志的终端发送目标小区的PLMN列表。The terminal informs the control base station of the target cell whether the terminal has a log, so that the control base station of the target cell only sends the PLMN list of the target cell to the terminal with the log.

具体的,在RRC连接建立场景下,终端可以在RRC连接请求(RRCConnectionRequest)消息中携带用于表示终端具有日志的标识信息;在重建场景下,终端可以在RRC连接重建请求(RRCConnectionReestablishmentRequest)消息中携带用于表示终端具有日志的标识信息;在切换场景下,终端将其具有日志的信息告知给源小区的控制基站后,源小区的控制基站可以通过网络节点接口(X2或S1)在切换请求中将终端具有日志的标识信息发送给目标小区的控制基站。Specifically, in the RRC connection establishment scenario, the terminal may carry identification information indicating that the terminal has a log in the RRC connection request (RRCConnectionRequest) message; in the reconstruction scenario, the terminal may carry in the RRC connection reestablishment request (RRCConnectionReestablishmentRequest) message The identification information used to indicate that the terminal has a log; in the handover scenario, after the terminal notifies the control base station of the source cell of the information that the terminal has a log, the control base station of the source cell can pass the network node interface (X2 or S1) in the handover request Send the identification information that the terminal has the log to the controlling base station of the target cell.

本发明实施例,终端在判断出终端在目标小区的日志归属PLMN和终端在源小区的日志归属PLMN相同时,才会向目标小区发送日志,由此可以避免终端在日志归属PLMN将要改变时向目标小区上报日志,从而可以避免日志的错误上报;并且,终端还可以先向目标小区上报终端具有日志的标识,使得目标小区只向具有日志的终端下发目标小区的PLMN,从而可以减少对其他终端的影响。In the embodiment of the present invention, the terminal will send the log to the target cell only when it determines that the PLMN of the terminal's log in the target cell is the same as that of the terminal's log in the source cell. The target cell reports the log, so as to avoid the wrong report of the log; and, the terminal can also report the identifier of the terminal having the log to the target cell first, so that the target cell only sends the PLMN of the target cell to the terminal with the log, thereby reducing the need for other terminal impact.

图3所示的实施例中,终端可以在判断出终端在目标小区的日志归属PLMN和终端在源小区的日志归属PLMN相同时,才向目标小区的控制基站发送指示日志有效的指示信息,然后终端根据目标小区的控制基站发送的日志请求,向目标小区上报日志。在另一种实施方式中,终端可能在判断终端在目标小区的日志归属PLMN和终端在源小区的日志归属PLMN是否相同之前,先向目标小区的控制基站发送了用于表示该终端具有日志的标识信息,此时,当目标小区的控制基站根据该标识信息向终端请求获取日志时,终端可以根据终端在目标小区的日志归属PLMN和终端在源小区的日志归属PLMN是否相同的判断结果来决定是否向目标小区上报日志,下面通过图4所示的实施例对该情况进行详细描述。In the embodiment shown in FIG. 3 , the terminal may send indication information indicating that the log is valid to the control base station of the target cell when it is determined that the PLMN of the log of the terminal in the target cell is the same as the PLMN of the log of the terminal in the source cell, and then The terminal reports the log to the target cell according to the log request sent by the control base station of the target cell. In another embodiment, before judging whether the log home PLMN of the terminal in the target cell and the log home PLMN of the terminal in the source cell are the same, the terminal first sends a message indicating that the terminal has a log to the control base station of the target cell. Identification information. At this time, when the control base station of the target cell requests the terminal to obtain logs based on the identification information, the terminal can determine whether the PLMN of the terminal’s log in the target cell is the same as the PLMN of the terminal’s log in the source cell. Whether to report the log to the target cell, this situation will be described in detail below through the embodiment shown in FIG. 4 .

图4为本发明日志处理方法实施例二的流程图,如图4所示,该方法包括以下内容。FIG. 4 is a flow chart of Embodiment 2 of the log processing method of the present invention. As shown in FIG. 4 , the method includes the following contents.

401,终端在PPLMN(或RPLMN)为PLMN1的小区(即源小区)发生RLF,此时终端存储PLMN1为RLFPLMN。401. The terminal generates RLF in a cell whose PPLMN (or RPLMN) is PLMN1 (ie, the source cell), and at this time, the terminal stores PLMN1 as RLF PLMN.

本实施例以日志为RLF日志为例进行说明,但并不限于此。In this embodiment, the log is described as an RLF log as an example, but it is not limited thereto.

402,终端从PLMN1的小区切换到目标小区,源小区的控制基站在切换请求中携带RLF日志有效的标识到目标小区的控制基站。402. The terminal is handed over from the cell of PLMN1 to the target cell, and the control base station of the source cell carries an identifier of a valid RLF log in the handover request to the control base station of the target cell.

403,源小区的控制基站接收目标小区的控制基站发送的目标小区的PLMN列表,然后在RRC连接重配消息中向终端下发目标小区的PLMN列表。403. The control base station of the source cell receives the PLMN list of the target cell sent by the control base station of the target cell, and then sends the PLMN list of the target cell to the terminal in an RRC connection reconfiguration message.

404,终端的AS层把目标小区的PLMN列表发送到终端的NAS层。404. The AS layer of the terminal sends the PLMN list of the target cell to the NAS layer of the terminal.

405,终端的NAS层将RLFPLMN是否将要改变的判断结果发送给终端的AS层,即终端的NAS层将终端在目标小区的日志归属PLMN和终端在源小区的日志归属PLMN是否相同的判断结果发送给终端的AS层。405. The NAS layer of the terminal sends the judgment result of whether the RLFPLMN will be changed to the AS layer of the terminal, that is, the NAS layer of the terminal sends the judgment result of whether the log of the terminal in the target cell belongs to the PLMN and the log of the terminal in the source cell belongs to the same PLMN. To the AS layer of the terminal.

406,终端的AS层根据NAS层发送的判断结果决定是否上报日志。若RLFPLMN不会改变,则AS层在目标小区的控制基站索要RLF日志时,向目标小区上报RLF日志;若RLFPLMN将会改变,则AS层在目标小区的控制基站索要RLF日志时,不向目标小区上报真实的RLF日志,而是向目标小区发送不包含日志的空报告消息。406. The AS layer of the terminal decides whether to report the log according to the judgment result sent by the NAS layer. If the RLF PLMN will not change, the AS layer will report the RLF log to the target cell when the control base station of the target cell asks for the RLF log; if the RLF PLMN will change, the AS layer will not report the RLF log to the target cell when the control base station of the target cell asks for the RLF log The cell reports the real RLF log, but sends an empty report message that does not include the log to the target cell.

本发明实施例,终端在判断出终端在目标小区的日志归属PLMN和终端在源小区的日志归属PLMN相同时,才会根据目标小区发送的日志请求向目标小区上报日志,若终端判断出终端在目标小区的日志归属PLMN和终端在源小区的日志归属PLMN不相同,则终端会根据目标小区发送的日志请求向目标小区上报不包含日志的空报告,由此可以避免终端在日志归属PLMN将要改变时向目标小区上报日志,从而可以避免日志的错误上报。In the embodiment of the present invention, when the terminal determines that the PLMN of the terminal's log in the target cell is the same as the PLMN of the terminal's log in the source cell, it will report the log to the target cell according to the log request sent by the target cell. If the PLMN of the log of the target cell is different from the PLMN of the log of the terminal in the source cell, the terminal will report an empty report that does not contain logs to the target cell according to the log request sent by the target cell, thereby preventing the terminal from changing the PLMN of the log. The log is reported to the target cell from time to time, thereby avoiding false reporting of the log.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for realizing the above-mentioned method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the It includes the steps of the above method embodiments; the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.

图5为本发明终端实施例一的示意图,如图5所示,该终端包括:获取单元51、判断单元53和发送单元55。FIG. 5 is a schematic diagram of Embodiment 1 of the terminal of the present invention. As shown in FIG. 5 , the terminal includes: an acquiring unit 51 , a judging unit 53 and a sending unit 55 .

其中,上述获取单元51获取目标小区的公共陆地移动网PLMN列表,并根据该目标小区的PLMN列表;上述判断单元53根据该目标小区的PLMN列表判断该终端在目标小区的日志归属PLMN与该终端在源小区的日志归属PLMN是否相同;上述发送单元55在当上述判断单元53的判断结果为该终端在目标小区的日志归属PLMN与该终端在源小区的日志归属PLMN相同时,向上述目标小区的控制基站发送日志。Wherein, the acquisition unit 51 acquires the public land mobile network PLMN list of the target cell, and according to the PLMN list of the target cell; the judgment unit 53 judges that the log of the terminal in the target cell belongs to the PLMN and the terminal according to the PLMN list of the target cell. Whether the log belonging to the PLMN in the source cell is the same; the above-mentioned sending unit 55 sends the above-mentioned target cell to The control base station sends logs.

可选地,上述发送单元55还用于当上述判断单元53的判断结果为该终端在目标小区的日志归属PLMN与该终端在源小区的日志归属PLMN不相同时,向上述目标小区的控制基站发送用于指示日志无效的指示信息,或者向上述目标小区的控制基站发送不包含日志的空报告消息。Optionally, the above-mentioned sending unit 55 is also configured to send a message to the control base station of the above-mentioned target cell when the judgment result of the above-mentioned judging unit 53 is that the log attributable PLMN of the terminal in the target cell is different from the log attributable PLMN of the terminal in the source cell. Send indication information for indicating that the log is invalid, or send an empty report message that does not include the log to the control base station of the target cell.

本实施例中各个单元的工作流程和工作原理参见上述图1所示的方法实施例中的描述,在此不再赘述。本实施例提供的终端用于实现图1所示的方法实施例。For the working process and working principle of each unit in this embodiment, refer to the description in the method embodiment shown in FIG. 1 above, and will not be repeated here. The terminal provided in this embodiment is used to implement the method embodiment shown in FIG. 1 .

本发明实施例,在判断单元判断出终端在目标小区的日志归属PLMN和终端在源小区的日志归属PLMN相同时,即日志归属PLMN在预设时间或预设过程之后不会改变时,发送单元才会向目标小区的控制基站发送日志,由此可以避免终端在日志归属PLMN将要改变时向目标小区上报日志,从而可以避免日志的错误上报。In the embodiment of the present invention, when the judging unit judges that the log attributing PLMN of the terminal in the target cell is the same as the log attributing PLMN of the terminal in the source cell, that is, when the log attributing PLMN will not change after a preset time or a preset process, the sending unit Only then will the log be sent to the control base station of the target cell, thereby preventing the terminal from reporting the log to the target cell when the PLMN to which the log belongs is about to change, thereby avoiding erroneous reporting of the log.

在图5所示实施例的基础上,图6为本发明终端实施例二的示意图。On the basis of the embodiment shown in FIG. 5 , FIG. 6 is a schematic diagram of a second embodiment of a terminal according to the present invention.

如图所示,上述获取单元51可以包括第一获取子单元511或者第二获取子单元513。As shown in the figure, the acquisition unit 51 may include a first acquisition subunit 511 or a second acquisition subunit 513 .

其中,第一获取子单元511用于通过读取上述目标小区的广播信道,获取该目标小区的PLMN列表。上述第二获取子单元513用于通过接收包含上述目标小区的PLMN列表的RRC连接建立消息、RRC连接重配消息或RRC连接重建消息,获取该目标小区的PLMN列表。Wherein, the first acquiring subunit 511 is configured to acquire the PLMN list of the target cell by reading the broadcast channel of the target cell. The second acquiring subunit 513 is configured to acquire the PLMN list of the target cell by receiving the RRC connection establishment message, the RRC connection reconfiguration message or the RRC connection reestablishment message including the PLMN list of the target cell.

上述发送单元55可以包括第一发送子单元551或者第二发送子单元553。The above sending unit 55 may include a first sending subunit 551 or a second sending subunit 553 .

其中,上述第一发送子单元551用于当上述判断单元53的判断结果为该终端在目标小区的日志归属PLMN与该终端在源小区的日志归属PLMN相同时,主动向上述目标小区的控制基站发送日志。上述第二发送子单元553用于当上述判断单元53的判断结果为该终端在目标小区的日志归属PLMN与该终端在源小区的日志归属PLMN相同时,向上述目标小区的控制基站发送用于指示日志有效的指示信息,并当该终端接收到上述目标小区的控制基站在收到该指示信息后发送的日志请求时,向上述目标小区的控制基站发送日志。Wherein, the above-mentioned first sending subunit 551 is configured to actively send a message to the control base station of the above-mentioned target cell when the judgment result of the above-mentioned judging unit 53 is that the PLMN of the log belonging to the terminal in the target cell is the same as the PLMN of the log belonging to the terminal in the source cell. Send logs. The second sending subunit 553 is configured to send a message to the control base station of the target cell when the judging result of the judging unit 53 is that the terminal's log home PLMN in the target cell is the same as the terminal's log home PLMN in the source cell. indication information indicating that the log is valid, and when the terminal receives a log request sent by the control base station of the target cell after receiving the indication information, send the log to the control base station of the target cell.

进一步的,上述的终端还可以包括:标识信息发送单元57,该标识信息发送单元57用于在上述获取单元51获取上述目标小区的PLMN列表之前,向上述目标小区的控制基站发送用于表示该终端具有日志的标识,以使上述目标小区的控制基站根据该标识向上述终端发送该目标小区的PLMN列表。Further, the above-mentioned terminal may further include: an identification information sending unit 57, the identification information sending unit 57 is configured to send to the control base station of the above-mentioned target cell before the above-mentioned obtaining unit 51 obtains the PLMN list of the above-mentioned target cell. The terminal has the identifier of the log, so that the control base station of the target cell sends the PLMN list of the target cell to the terminal according to the identifier.

可选地,上述判断单元53可以包含在该终端的非接入层实体中。Optionally, the above judging unit 53 may be included in a non-access stratum entity of the terminal.

本实施例中各个单元和子单元的工作流程和工作原理参见上述各方法实施例中的描述,在此不再赘述。本实施例提供的终端用于实现本发明方法实施例。For the working process and working principle of each unit and subunit in this embodiment, refer to the descriptions in the above-mentioned method embodiments, and details will not be repeated here. The terminal provided in this embodiment is used to implement the method embodiment of the present invention.

本发明实施例,在判断单元判断出终端在目标小区的日志归属PLMN和终端在源小区的日志归属PLMN相同时,发送单元才会向目标小区发送日志,由此可以避免终端在日志归属PLMN将要改变时向目标小区上报日志,从而可以避免日志的错误上报;并且,标识信息发送单元还可以先向目标小区上报终端具有日志的标识,使得目标小区只向具有日志的终端下发目标小区的PLMN,从而可以减少对其他终端的影响。In the embodiment of the present invention, when the judging unit judges that the log belonging to the PLMN of the terminal in the target cell is the same as the PLMN of the log belonging to the terminal in the source cell, the sending unit will send the log to the target cell, thereby avoiding that the terminal will be in the log belonging to the PLMN. Report the log to the target cell when changing, so as to avoid false reporting of the log; and, the identification information sending unit can also first report to the target cell the identifier that the terminal has the log, so that the target cell only sends the PLMN of the target cell to the terminal with the log. , thereby reducing the impact on other terminals.

图7为本发明基站实施例的示意图,如图7所示,该基站包括:发送单元71和接收单元73。FIG. 7 is a schematic diagram of an embodiment of a base station according to the present invention. As shown in FIG. 7 , the base station includes: a sending unit 71 and a receiving unit 73 .

其中,上述发送单元71用于向终端发送目标小区的公共陆地移动网PLMN列表,以使该终端根据上述目标小区的PLMN列表判断该终端在目标小区的日志归属PLMN与该终端在源小区的日志归属PLMN是否相同;上述接收单元73用于接收上述终端在该终端在目标小区的日志归属PLMN与该终端在源小区的日志归属PLMN相同时发送的日志。Wherein, the sending unit 71 is configured to send the PLMN list of the target cell to the terminal, so that the terminal can judge that the log of the terminal in the target cell belongs to the PLMN and the log of the terminal in the source cell according to the PLMN list of the target cell. Whether the home PLMN is the same; the receiving unit 73 is configured to receive the log sent by the terminal when the home PLMN of the terminal's log in the target cell is the same as the home PLMN of the terminal's log in the source cell.

在上述实施例的基础上,进一步的:上述接收单元73还可以用于接收上述终端发送的用于表示该终端具有日志的标识信息。发送单元71还可以用于根据该接收单元73接收的上述表示该终端具有日志的标识信息向该终端发送上述目标小区的PLMN列表。终端将终端是否具有日志告知给目标小区的控制基站,可以使目标小区的控制基站只向具有日志的终端发送目标小区的PLMN列表。On the basis of the foregoing embodiments, further: the foregoing receiving unit 73 may also be configured to receive identification information sent by the foregoing terminal and used to indicate that the terminal has a log. The sending unit 71 may also be configured to send the PLMN list of the target cell to the terminal according to the identification information received by the receiving unit 73 indicating that the terminal has a log. The terminal informs the control base station of the target cell whether the terminal has a log, so that the control base station of the target cell can only send the PLMN list of the target cell to the terminal with the log.

进一步的,上述接收单元73还可以用于接收上述终端发送的用于指示日志有效的指示信息。发送单元71还用于根据上述用于指示日志有效的指示信息,向上述终端发送用于获取日志的日志请求,以使上述终端在该终端在目标小区的日志归属PLMN与该终端在源小区的日志归属PLMN相同时发送日志。Further, the above-mentioned receiving unit 73 may also be configured to receive indication information sent by the above-mentioned terminal for indicating that the log is valid. The sending unit 71 is further configured to send a log request for obtaining a log to the terminal according to the above indication information for indicating that the log is valid, so that the terminal's log in the target cell belongs to the PLMN and the terminal's log in the source cell Logs are sent when the logs belong to the same PLMN.

本实施例中各个单元的工作流程和工作原理参见上述各方法实施例中的描述,在此不再赘述。本实施例提供的终端用于实现上述各方法实施例。本实施例提供的基站,相当于上述各方法实施例中的控制基站。For the working process and working principle of each unit in this embodiment, refer to the descriptions in the above method embodiments, which will not be repeated here. The terminal provided in this embodiment is used to implement the foregoing method embodiments. The base station provided in this embodiment is equivalent to the control base station in the foregoing method embodiments.

本发明实施例,基站获取目标小区的PLMN列表,使得终端可以根据目标小区的PLMN列表判断该终端在目标小区的日志归属PLMN与该终端在源小区的日志归属PLMN是否相同,并且目标小区的基站的接收单元在终端判断出该终端在目标小区的日志归属PLMN与该终端在源小区的日志归属PLMN相同时,才接收到终端发送的日志,由此可以避免终端在日志归属PLMN将要改变时向目标小区上报日志,从而可以避免日志的错误上报。In the embodiment of the present invention, the base station obtains the PLMN list of the target cell, so that the terminal can judge whether the PLMN of the log of the terminal in the target cell is the same as the PLMN of the log of the terminal in the source cell according to the PLMN list of the target cell, and the base station of the target cell The receiving unit only receives the log sent by the terminal when the terminal determines that the PLMN of the terminal’s log in the target cell is the same as the PLMN of the log of the terminal in the source cell. The target cell reports logs, thereby avoiding false reporting of logs.

本发明实施例还提供一种通信系统,该通信系统包括图5-图6所示实施例提供的任一终端和图7所示实施例提供的基站。An embodiment of the present invention also provides a communication system, which includes any terminal provided in the embodiments shown in FIG. 5-FIG. 6 and the base station provided in the embodiment shown in FIG. 7 .

本实施例中各个单元的工作流程和工作原理参见上述各方法实施例中的描述,在此不再赘述。For the working process and working principle of each unit in this embodiment, refer to the descriptions in the above method embodiments, which will not be repeated here.

本发明实施例,终端在判断出终端在目标小区的日志归属PLMN和终端在源小区的日志归属PLMN相同时,即日志归属PLMN在预设时间或预设过程之后不会改变时,才会向目标小区的基站发送日志,由此可以避免终端在日志归属PLMN将要改变时向目标小区上报日志,从而可以避免日志的错误上报。In the embodiment of the present invention, when the terminal judges that the log attributable PLMN of the terminal in the target cell is the same as the log attributable PLMN of the terminal in the source cell, that is, when the log attributable PLMN will not change after the preset time or preset process, the terminal will report to the The base station of the target cell sends the log, thereby preventing the terminal from reporting the log to the target cell when the PLMN to which the log belongs is about to change, thereby avoiding false reporting of the log.

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (19)

1.一种日志上报方法,其特征在于,包括:1. A log reporting method, characterized in that, comprising: 终端获取目标小区的公共陆地移动网PLMN列表;The terminal obtains the public land mobile network PLMN list of the target cell; 所述终端根据所述目标小区的PLMN列表判断所述终端在目标小区的日志归属PLMN与所述终端在源小区的日志归属PLMN是否相同;The terminal judges according to the PLMN list of the target cell whether the log attributable PLMN of the terminal in the target cell is the same as the log attributable PLMN of the terminal in the source cell; 若所述终端在目标小区的日志归属PLMN与所述终端在源小区的日志归属PLMN相同,则所述终端向所述目标小区的控制基站发送日志;If the home PLMN of the log of the terminal in the target cell is the same as the home PLMN of the log of the terminal in the source cell, the terminal sends the log to the control base station of the target cell; 若所述终端在目标小区的日志归属PLMN与所述终端在源小区的日志归属PLMN不相同,则所述终端向所述目标小区的控制基站发送用于指示日志无效的指示信息,或者所述终端向所述目标小区的控制基站发送不包含日志的空报告消息。If the home PLMN of the log of the terminal in the target cell is different from the home PLMN of the log of the terminal in the source cell, the terminal sends indication information for indicating that the log is invalid to the control base station of the target cell, or the The terminal sends an empty report message without logs to the control base station of the target cell. 2.根据权利要求1所述的方法,其特征在于,所述终端获取目标小区的PLMN列表包括:2. The method according to claim 1, wherein said terminal acquiring the PLMN list of the target cell comprises: 所述终端通过读取所述目标小区的广播信道,获取所述目标小区的PLMN列表;或者The terminal obtains the PLMN list of the target cell by reading the broadcast channel of the target cell; or 所述终端通过接收包含所述目标小区的PLMN列表的无线资源控制RRC连接建立消息、RRC连接重配消息或RRC连接重建消息,获取所述目标小区的PLMN列表。The terminal obtains the PLMN list of the target cell by receiving a radio resource control RRC connection establishment message, an RRC connection reconfiguration message or an RRC connection reestablishment message including the PLMN list of the target cell. 3.根据权利要求1所述的方法,其特征在于,所述若所述终端在目标小区的日志归属PLMN与所述终端在源小区的日志归属PLMN相同,则所述终端向所述目标小区的控制基站发送日志包括:3. The method according to claim 1, wherein, if the PLMN of the log of the terminal in the target cell is the same as the PLMN of the log of the terminal in the source cell, the terminal reports to the target cell The control base station sends logs including: 若所述终端在目标小区的日志归属PLMN与所述终端在源小区的日志归属PLMN相同,则所述终端主动向所述目标小区的控制基站发送日志;或者If the home PLMN of the log of the terminal in the target cell is the same as the home PLMN of the log of the terminal in the source cell, the terminal actively sends the log to the control base station of the target cell; or 若所述终端在目标小区的日志归属PLMN与所述终端在源小区的日志归属PLMN相同,所述终端向所述目标小区的控制基站发送用于指示日志有效的指示信息,并当所述终端接收到所述目标小区的控制基站在收到所述指示信息后发送的日志请求时,向所述目标小区的控制基站发送日志。If the home PLMN of the log of the terminal in the target cell is the same as the home PLMN of the log of the terminal in the source cell, the terminal sends indication information for indicating that the log is valid to the control base station of the target cell, and when the terminal When receiving the log request sent by the control base station of the target cell after receiving the indication information, send the log to the control base station of the target cell. 4.根据权利要求1所述的方法,其特征在于,所述终端获取所述目标小区的PLMN列表之前还包括:4. The method according to claim 1, characterized in that before the terminal obtains the PLMN list of the target cell, it further comprises: 所述终端向所述目标小区的控制基站发送用于表示所述终端具有日志的标识信息,以使所述目标小区的控制基站根据所述标识信息向所述终端发送所述目标小区的PLMN列表。The terminal sends identification information indicating that the terminal has a log to the control base station of the target cell, so that the control base station of the target cell sends the PLMN list of the target cell to the terminal according to the identification information . 5.根据权利要求1-4任一所述的方法,其特征在于,所述终端获取目标小区的PLMN列表包括:5. The method according to any one of claims 1-4, wherein said terminal acquiring the PLMN list of the target cell comprises: 所述终端的接入层获取所述目标小区的PLMN列表,并将所述PLMN列表发送给所述终端的非接入层。The access stratum of the terminal obtains the PLMN list of the target cell, and sends the PLMN list to the non-access stratum of the terminal. 6.根据权利要求5所述的方法,其特征在于,所述终端判断所述终端在目标小区的日志归属PLMN与所述终端在源小区的日志归属PLMN是否相同包括:6. The method according to claim 5, wherein the terminal judging whether the log attributable PLMN of the terminal in the target cell is the same as the log attributable PLMN of the terminal in the source cell comprises: 所述终端的非接入层判断所述终端在目标小区的日志归属PLMN与所述终端在源小区的日志归属PLMN是否相同,并将判断结果发送给所述终端的接入层。The non-access stratum of the terminal judges whether the log attributable PLMN of the terminal in the target cell is the same as the log attributable PLMN of the terminal in the source cell, and sends the judgment result to the access stratum of the terminal. 7.根据权利要求1-4任一所述的方法,其特征在于,所述日志包括:最小化路测MDT日志、无线链路失败RLF日志或自动邻区关系ANR日志。7. The method according to any one of claims 1-4, wherein the logs include: minimized drive test (MDT) logs, radio link failure (RLF) logs, or automatic neighbor relation (ANR) logs. 8.一种日志获取方法,其特征在于,包括:8. A log acquisition method, characterized in that, comprising: 向终端发送目标小区的公共陆地移动网PLMN列表,以使所述终端根据所述目标小区的PLMN列表判断所述终端在目标小区的日志归属PLMN与所述终端在源小区的日志归属PLMN是否相同;Sending the PLMN list of the target cell to the terminal, so that the terminal judges whether the log home PLMN of the terminal in the target cell is the same as the log home PLMN of the terminal in the source cell according to the PLMN list of the target cell ; 接收所述终端在所述终端在目标小区的日志归属PLMN与所述终端在源小区的日志归属PLMN相同时发送的日志。receiving the log sent by the terminal when the log attributable PLMN of the terminal in the target cell is the same as the attributable PLMN of the log of the terminal in the source cell. 9.根据权利要求8所述的方法,其特征在于,所述向终端发送目标小区的PLMN列表包括:9. The method according to claim 8, wherein the sending the PLMN list of the target cell to the terminal comprises: 接收所述终端发送的用于表示所述终端具有日志的标识信息,并根据所述标识信息向所述终端发送所述目标小区的PLMN列表。receiving the identification information sent by the terminal for indicating that the terminal has a log, and sending the PLMN list of the target cell to the terminal according to the identification information. 10.根据权利要求9所述的方法,其特征在于,还包括:10. The method of claim 9, further comprising: 接收所述终端发送的用于指示日志有效的指示信息,并根据所述用于指示日志有效的指示信息,向所述终端发送用于获取日志的日志请求,以使所述终端在所述终端在目标小区的日志归属PLMN与所述终端在源小区的日志归属PLMN相同时发送日志。receiving the indication information for indicating that the log is valid sent by the terminal, and sending a log request for obtaining the log to the terminal according to the indication information for indicating that the log is valid, so that the terminal The log is sent when the log attributable PLMN of the target cell is the same as the attributable PLMN of the log of the terminal in the source cell. 11.一种通信终端,其特征在于,包括:11. A communication terminal, characterized in that it comprises: 获取单元,用于获取目标小区的公共陆地移动网PLMN列表;An acquisition unit, configured to acquire the public land mobile network PLMN list of the target cell; 判断单元,用于根据所述目标小区的PLMN列表判断所述通信终端在目标小区的日志归属PLMN与所述通信终端在源小区的日志归属PLMN是否相同;和A judging unit, configured to judge, according to the PLMN list of the target cell, whether the log attributable PLMN of the communication terminal in the target cell is the same as the log attributable PLMN of the communication terminal in the source cell; and 发送单元,用于当所述判断单元的判断结果为所述通信终端在目标小区的日志归属PLMN与所述通信终端在源小区的日志归属PLMN相同时,向所述目标小区的控制基站发送日志;所述发送单元还用于:A sending unit, configured to send the log to the control base station of the target cell when the judging result of the judging unit is that the PLMN of the log of the communication terminal in the target cell is the same as the PLMN of the log of the communication terminal in the source cell ; The sending unit is also used for: 当所述判断单元的判断结果为所述通信终端在目标小区的日志归属PLMN与所述通信终端在源小区的日志归属PLMN不相同时,向所述目标小区的控制基站发送用于指示日志无效的指示信息,或者向所述目标小区的控制基站发送不包含日志的空报告消息。When the judging result of the judging unit is that the home PLMN of the log of the communication terminal in the target cell is different from the home PLMN of the log of the communication terminal in the source cell, send a message indicating that the log is invalid to the control base station of the target cell or send an empty report message that does not include a log to the control base station of the target cell. 12.根据权利要求11所述的通信终端,其特征在于,所述获取单元包括:12. The communication terminal according to claim 11, wherein the acquiring unit comprises: 第一获取子单元,用于通过读取所述目标小区的广播信道,获取所述目标小区的PLMN列表;或者A first acquiring subunit, configured to acquire the PLMN list of the target cell by reading the broadcast channel of the target cell; or 第二获取子单元,用于通过接收包含所述目标小区的PLMN列表的无线资源控制RRC连接建立消息、RRC连接重配消息或RRC连接重建消息,获取所述目标小区的PLMN列表。The second obtaining subunit is configured to obtain the PLMN list of the target cell by receiving a radio resource control RRC connection establishment message, an RRC connection reconfiguration message or an RRC connection reestablishment message containing the PLMN list of the target cell. 13.根据权利要求11所述的通信终端,其特征在于,所述发送单元包括:13. The communication terminal according to claim 11, wherein the sending unit comprises: 第一发送子单元,用于当所述判断单元的判断结果为所述通信终端在目标小区的日志归属PLMN与所述通信终端在源小区的日志归属PLMN相同时,主动向所述目标小区的控制基站发送日志;或者The first sending subunit is configured to, when the judging result of the judging unit is that the log attributable PLMN of the communication terminal in the target cell is the same as the log attributable PLMN of the communication terminal in the source cell, actively send a message to the log at the target cell Control the base station to send logs; or 第二发送子单元,用于当所述判断单元的判断结果为所述通信终端在目标小区的日志归属PLMN与所述通信终端在源小区的日志归属PLMN相同时,向所述目标小区的控制基站发送用于指示日志有效的指示信息,并当所述通信终端接收到所述目标小区的控制基站在收到所述指示信息后发送的日志请求时,向所述目标小区的控制基站发送日志。The second sending subunit is used to send the control to the target cell when the judging result of the judging unit is that the PLMN of the log belonging to the communication terminal in the target cell is the same as the PLMN of the log belonging to the communication terminal in the source cell. The base station sends indication information for indicating that the log is valid, and when the communication terminal receives a log request sent by the control base station of the target cell after receiving the indication information, sends the log to the control base station of the target cell . 14.根据权利要求11所述的通信终端,其特征在于,还包括:14. The communication terminal according to claim 11, further comprising: 标识信息发送单元,用于在所述获取单元获取所述目标小区的PLMN列表之前,向所述目标小区的控制基站发送用于表示所述通信终端具有日志的标识信息,以使所述目标小区的控制基站根据所述标识信息向所述通信终端发送所述目标小区的PLMN列表。an identification information sending unit, configured to send identification information indicating that the communication terminal has a log to the control base station of the target cell before the obtaining unit obtains the PLMN list of the target cell, so that the target cell The controlling base station sends the PLMN list of the target cell to the communication terminal according to the identification information. 15.根据权利要求11-14任一所述的通信终端,其特征在于:所述判断单元包含在所述通信终端的非接入层实体中。15. The communication terminal according to any one of claims 11-14, wherein the judging unit is included in a non-access stratum entity of the communication terminal. 16.一种基站,其特征在于,包括:16. A base station, comprising: 发送单元,用于向终端发送目标小区的公共陆地移动网PLMN列表,以使所述终端根据所述目标小区的PLMN列表判断所述终端在目标小区的日志归属PLMN与所述终端在源小区的日志归属PLMN是否相同;和a sending unit, configured to send the public land mobile network PLMN list of the target cell to the terminal, so that the terminal can judge the PLMN that the log of the terminal in the target cell belongs to and the log of the terminal in the source cell according to the PLMN list of the target cell whether the logs belong to the same PLMN; and 接收单元,用于接收所述终端在所述终端在目标小区的日志归属PLMN与所述终端在源小区的日志归属PLMN相同时发送的日志。The receiving unit is configured to receive the log sent by the terminal when the PLMN of the log of the terminal in the target cell is the same as the PLMN of the log of the terminal in the source cell. 17.根据权利要求16所述的基站,其特征在于,所述接收单元还用于接收所述终端发送的用于表示所述终端具有日志的标识信息;17. The base station according to claim 16, wherein the receiving unit is further configured to receive identification information sent by the terminal to indicate that the terminal has a log; 所述发送单元还用于根据所述接收单元接收的所述标识信息向所述终端发送所述目标小区的PLMN列表。The sending unit is further configured to send the PLMN list of the target cell to the terminal according to the identification information received by the receiving unit. 18.根据权利要求17所述的基站,其特征在于:18. The base station according to claim 17, characterized in that: 所述接收单元还用于接收所述终端发送的用于指示日志有效的指示信息;The receiving unit is further configured to receive indication information sent by the terminal for indicating that the log is valid; 所述发送单元还用于根据所述用于指示日志有效的指示信息,向所述终端发送用于获取日志的日志请求,以使所述终端在所述终端在目标小区的日志归属PLMN与所述终端在源小区的日志归属PLMN相同时发送日志。The sending unit is further configured to send a log request for obtaining a log to the terminal according to the indication information for indicating that the log is valid, so that the terminal is in the PLMN where the log of the terminal in the target cell belongs to The terminal sends logs when the logs of the source cell belong to the same PLMN. 19.一种通信系统,其特征在于,包括如权利要求11-15任一所述的通信终端和如权利要求16-18任一所述的基站。19. A communication system, comprising the communication terminal according to any one of claims 11-15 and the base station according to any one of claims 16-18.
CN201110082239.4A 2011-04-01 2011-04-01 Log reporting method, journal obtaining method, equipment and system Active CN102740313B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110082239.4A CN102740313B (en) 2011-04-01 2011-04-01 Log reporting method, journal obtaining method, equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110082239.4A CN102740313B (en) 2011-04-01 2011-04-01 Log reporting method, journal obtaining method, equipment and system

Publications (2)

Publication Number Publication Date
CN102740313A CN102740313A (en) 2012-10-17
CN102740313B true CN102740313B (en) 2016-06-22

Family

ID=46994910

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110082239.4A Active CN102740313B (en) 2011-04-01 2011-04-01 Log reporting method, journal obtaining method, equipment and system

Country Status (1)

Country Link
CN (1) CN102740313B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210061306A (en) * 2018-09-18 2021-05-27 광동 오포 모바일 텔레커뮤니케이션즈 코포레이션 리미티드 Neighbor relationship maintenance method and device, network device
CN111757373B (en) 2019-03-29 2022-11-25 华为技术有限公司 Communication method, device and system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101931981A (en) * 2009-06-18 2010-12-29 华为技术有限公司 A method and device for minimizing drive test log measurement

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6799038B2 (en) * 2002-01-09 2004-09-28 Motorola, Inc. Method and apparatus for wireless network selection

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101931981A (en) * 2009-06-18 2010-12-29 华为技术有限公司 A method and device for minimizing drive test log measurement

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Handling of the Log Available Indication;CATT;《3GPP TSG RAN WG2 Meeting #70 R2-102793》;20100514;第2部分 *
Idle Mode Logged MDT reporting mechanism;Alcatel-Lucent;《3GPP TSG-RAN WG2 Meeting #69bis R2-102056》;20100416;全文 *

Also Published As

Publication number Publication date
CN102740313A (en) 2012-10-17

Similar Documents

Publication Publication Date Title
KR102324186B1 (en) Method and apparatus for transmitting a handover report and an rlf report
JP6389221B2 (en) Method, apparatus, and system for locating wireless network problems
KR102073223B1 (en) Method and device for preserving mobility information in terminal state transition and effectively re-accessing in heterogeneous cell network in mobile communication system
CN103428783B (en) The method for supporting detection RLF or handover failure reason
KR101432913B1 (en) Method and user equipment for reporting handover scenario judgement parameter and base station for handover scenario judgement
CN101808354B (en) Method for detecting and switching failure scene based on mobile terminal information
CN101938757B (en) Method, base station and system for detecting premature handover
KR101545169B1 (en) Processing method for handover failure and user equipment
JP2013535904A (en) Method for providing information, mobile station apparatus, base station apparatus, and communication apparatus
EP3205171B1 (en) Enhanced timer setting for mobility robustness optimization
CN103298004A (en) Method for reporting wireless link failure information
KR20170121877A (en) Method and apparatus of supporting handover in wireless communication system
WO2014135061A1 (en) Method and user equipment for reestablishing rrc connection
CN102932821B (en) A kind of terminal reports the method, system and terminal of radio link failure report
KR102299350B1 (en) Method for executing a handover in a communication system and system therefor
CN103379558A (en) Method for detecting switchover mobility problems between different network types and device
CN103517322B (en) For providing the method and apparatus of information in cellular radio communication system
CN102740313B (en) Log reporting method, journal obtaining method, equipment and system
CN102076012B (en) Neighboring BS information processing method, switching instruction method, terminal and base station
CN107708160A (en) A kind of detection method and device switched too early

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant