[go: up one dir, main page]

CN102573079B - Time slot pattern determination method and equipment - Google Patents

Time slot pattern determination method and equipment Download PDF

Info

Publication number
CN102573079B
CN102573079B CN201210026251.8A CN201210026251A CN102573079B CN 102573079 B CN102573079 B CN 102573079B CN 201210026251 A CN201210026251 A CN 201210026251A CN 102573079 B CN102573079 B CN 102573079B
Authority
CN
China
Prior art keywords
time slot
base station
indication message
control device
pattern
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
CN201210026251.8A
Other languages
Chinese (zh)
Other versions
CN102573079A (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 CN201210026251.8A priority Critical patent/CN102573079B/en
Publication of CN102573079A publication Critical patent/CN102573079A/en
Application granted granted Critical
Publication of CN102573079B publication Critical patent/CN102573079B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a time slot pattern determination method and equipment. The method comprises: an initial time slot pattern of a time division multiplexing (TDM) frame is obtained; a first matching success indication message is sent to a base station controller (BSC) in each time slot corresponding to the initial time slot pattern, wherein the first matching success indication message contains a time slot number corresponding to the initial time slot pattern; and after a second matching success indication message sent by the BSC is received, the initial time slot pattern is determined as a time slot pattern that is going to be configured for a NodeB itself, wherein the second matching success indication message is sent after the BSC compares the time slot number contained in the first matching success indication message with a time slot number configured for the BSC and it is concluded that the two time slot numbers are identical. According to the embodiment of the invention, time for link establishment is reduced; and the application range is not limited.

Description

时隙图案确定方法和设备Time slot pattern determination method and device

技术领域 technical field

本发明涉及网络通信技术领域,尤其涉及一种时隙图案确定方法和设备。The present invention relates to the technical field of network communication, in particular to a method and device for determining a time slot pattern.

背景技术 Background technique

基站在回传时,通常基站向控制器发送的数据只是占用E1帧的部分时隙。每个E1帧包括32个时隙,每个时隙的传输速率为64Kbit/s,因此每个时隙也可以称为64K时隙。基站为了与基站控制设备成功进行点对点协议(Point to Point Protocol,PPP)协商,需要首先确定基站控制设备在E1帧中为PPP链路信息配置的时隙图案,以包括32个时隙的E1帧为例,时隙图案可能占用1个时隙,占用2个时隙,...,占用32个时隙,也就是说,时隙图案的组合数量可以达到231个。现有技术中,基站在自启动时,需要遍历这231种组合,依次对每种组合进行建链尝试,将尝试成功的组合确定为基站控制设备配置的时隙图案,之后采用确定的时隙图案进行建链。由于可能需要轮询231次后才能确定时隙图案,造成自启动的建链时间过长,不能满足业务需求。When the base station transmits back, usually the data sent by the base station to the controller only occupies part of the time slot of the E1 frame. Each E1 frame includes 32 time slots, and the transmission rate of each time slot is 64Kbit/s, so each time slot can also be called a 64K time slot. In order to successfully perform Point to Point Protocol (PPP) negotiation with the base station control equipment, the base station needs to first determine the time slot pattern configured by the base station control equipment for the PPP link information in the E1 frame, so as to include the E1 frame of 32 time slots For example, a time slot pattern may occupy 1 time slot, occupy 2 time slots, ..., occupy 32 time slots, that is to say, the number of combinations of time slot patterns may reach 231 . In the prior art, when the base station is self-starting, it needs to traverse these 231 combinations, try to establish a link for each combination in turn, determine the successful combination as the time slot pattern configured by the base station control device, and then use the determined time slot pattern Gap pattern for link building. Since the time slot pattern may need to be polled for 231 times, the self-starting link establishment time is too long, which cannot meet business requirements.

现有技术中为了降低建链时间,可以根据典型客户的应用场景尝试有限数量的时隙图案,例如,选择20种典型的时隙图案,在基站自启动后只分别尝试这20种时隙图案。但是,尝试这20种时隙图案也是需要较长的时间,并且,随着场景的不同,对应的典型的时隙图案也是不同的,采用固定的时隙图案不能覆盖所有的场景,使用范围受限。In the prior art, in order to reduce the link establishment time, a limited number of time slot patterns can be tried according to typical customer application scenarios, for example, 20 typical time slot patterns are selected, and only these 20 time slot patterns are tried after the base station starts up . However, it takes a long time to try these 20 time slot patterns, and, with different scenarios, the corresponding typical time slot patterns are also different. Using a fixed time slot pattern cannot cover all scenarios, and the scope of use is limited. limit.

发明内容 Contents of the invention

本发明实施例提供一种时隙图案确定方法和设备,能够快速确定时隙图案,进而可以降低建链时间,并且使用范围不受限。Embodiments of the present invention provide a method and device for determining a time slot pattern, which can quickly determine the time slot pattern, thereby reducing link establishment time, and the application range is not limited.

本发明实施例提供了一种时隙图案确定方法,包括:An embodiment of the present invention provides a method for determining a time slot pattern, including:

获取TDM帧的初始时隙图案;Obtain the initial slot pattern of the TDM frame;

在所述初始时隙图案对应的每个时隙内,向基站控制设备发送第一匹配成功指示报文,所述第一匹配成功指示报文中包含初始时隙图案对应的时隙编号;In each time slot corresponding to the initial time slot pattern, send a first matching success indication message to the base station control device, where the first matching success indication message includes a time slot number corresponding to the initial time slot pattern;

在接收到所述基站控制设备发送的第二匹配成功指示报文后,将所述初始时隙图案确定为自身要配置的时隙图案,所述第二匹配成功指示报文为所述基站控制设备在比较所述第一匹配成功指示报文中包含的时隙编号与基站控制设备配置的时隙编号相同后发送的。After receiving the second matching success indication message sent by the base station control device, the initial time slot pattern is determined as the time slot pattern to be configured by itself, and the second matching success indication message is the base station control device The device sends it after comparing that the time slot number included in the first matching success indication message is the same as the time slot number configured by the base station control device.

本发明实施例提供了一种时隙图案确定方法,包括:An embodiment of the present invention provides a method for determining a time slot pattern, including:

接收基站发送的第一匹配成功指示报文,所述第一匹配成功指示报文中包含初始时隙图案对应的时隙编号;Receiving a first matching success indication message sent by the base station, where the first matching success indication message includes a time slot number corresponding to the initial time slot pattern;

比较所述第一匹配成功指示报文中包含的时隙编号与基站控制设备配置的时隙图案的时隙编号;Comparing the time slot number contained in the first matching success indication message with the time slot number of the time slot pattern configured by the base station control device;

在所述第一匹配成功指示报文中包含的时隙编号与基站控制设备配置的时隙图案的时隙编号相同时,向所述基站发送第二匹配成功指示报文,所述第二匹配成功指示报文用于指示所述基站将所述初始时隙图案确定为基站要配置的时隙图案。When the time slot number contained in the first matching success indication message is the same as the time slot number of the time slot pattern configured by the base station control device, send a second matching success indication message to the base station, and the second matching The success indication message is used to instruct the base station to determine the initial time slot pattern as the time slot pattern to be configured by the base station.

本发明实施例提供了一种基站,包括:An embodiment of the present invention provides a base station, including:

获取模块,用于获取TDM帧的初始时隙图案;An acquisition module, configured to acquire an initial time slot pattern of a TDM frame;

发送模块,用于在所述获取模块获取的所述初始时隙图案对应的每个时隙内,向基站控制设备发送第一匹配成功指示报文,所述第一匹配成功指示报文中包含初始时隙图案对应的时隙编号;A sending module, configured to send a first matching success indication message to the base station control device in each time slot corresponding to the initial time slot pattern acquired by the acquisition module, and the first matching success indication message includes The slot number corresponding to the initial slot pattern;

确定模块,用于在接收到所述基站控制设备发送的第二匹配成功指示报文后,将所述初始时隙图案确定为自身要配置的时隙图案,所述第二匹配成功指示报文为所述基站控制设备在比较所述第一匹配成功指示报文中包含的时隙编号与基站控制设备配置的时隙编号相同后发送的。A determining module, configured to determine the initial time slot pattern as the time slot pattern to be configured by itself after receiving the second matching success indication message sent by the base station control device, and the second matching success indication message It is sent by the base station control device after comparing that the time slot number included in the first matching success indication message is the same as the time slot number configured by the base station control device.

本发明实施例提供了一种基站控制设备,包括:An embodiment of the present invention provides a base station control device, including:

第一接收模块,用于接收基站发送的第一匹配成功指示报文,所述第一匹配成功指示报文中包含初始时隙图案对应的时隙编号;The first receiving module is configured to receive a first matching success indication message sent by the base station, where the first matching success indication message includes a time slot number corresponding to the initial time slot pattern;

第一比较模块,用于比较所述第一匹配成功指示报文中包含的时隙编号与基站控制设备配置的时隙图案的时隙编号;A first comparison module, configured to compare the time slot number contained in the first matching success indication message with the time slot number of the time slot pattern configured by the base station control device;

第一发送模块,用于在所述第一比较模块比较的结果为所述第一匹配成功指示报文中包含的时隙编号与基站控制设备配置的时隙图案的时隙编号相同时,向所述基站发送第二匹配成功指示报文,所述第二匹配成功指示报文用于指示所述基站将所述初始时隙图案确定为基站要配置的时隙图案。The first sending module is configured to, when the comparison result of the first comparison module is that the time slot number contained in the first matching success indication message is the same as the time slot number of the time slot pattern configured by the base station control device, send The base station sends a second matching success indication message, where the second matching success indication message is used to instruct the base station to determine the initial time slot pattern as the time slot pattern to be configured by the base station.

由上述技术方案可知,本发明实施例通过基站与基站控制设备的信息交互直接获取配置的时隙图案,并不需要依次轮询,也不是只尝试有限次数,因此可以降低建链时间,并且使用范围不受限。It can be seen from the above technical solution that the embodiment of the present invention directly obtains the configured time slot pattern through the information interaction between the base station and the base station control device, and does not need to poll sequentially, nor does it only try a limited number of times, so the link establishment time can be reduced, and the use of The scope is not limited.

附图说明 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 any creative effort.

图1为本发明第一实施例的流程示意图;Fig. 1 is a schematic flow chart of the first embodiment of the present invention;

图2为本发明第二实施例的流程示意图;Fig. 2 is a schematic flow chart of the second embodiment of the present invention;

图3为本发明中时隙占用指示报文的格式示意图;Fig. 3 is a schematic diagram of the format of a time slot occupancy indication message in the present invention;

图4为本发明中匹配成功指示报文的格式示意图;Fig. 4 is a schematic diagram of the format of a matching success indication message in the present invention;

图5为本发明中协商成功报文的格式示意图;Fig. 5 is a schematic diagram of the format of a negotiated success message in the present invention;

图6为本发明第三实施例的流程示意图;6 is a schematic flow chart of a third embodiment of the present invention;

图7为本发明第四实施例的流程示意图;7 is a schematic flow chart of a fourth embodiment of the present invention;

图8为本发明中匹配失败指示报文的格式示意图;FIG. 8 is a schematic diagram of the format of a matching failure indication message in the present invention;

图9为本发明第五实施例的流程示意图;Fig. 9 is a schematic flow chart of a fifth embodiment of the present invention;

图10为本发明第六实施例的方法流程示意图;FIG. 10 is a schematic flowchart of a method according to a sixth embodiment of the present invention;

图11为本发明第七实施例的基站的结构示意图;FIG. 11 is a schematic structural diagram of a base station according to a seventh embodiment of the present invention;

图12为本发明基站的另一实施例的结构示意图;FIG. 12 is a schematic structural diagram of another embodiment of a base station according to the present invention;

图13为本发明基站的另一实施例的结构示意图;FIG. 13 is a schematic structural diagram of another embodiment of a base station according to the present invention;

图14为本发明基站的另一实施例的结构示意图;FIG. 14 is a schematic structural diagram of another embodiment of a base station according to the present invention;

图15为本发明基站的另一实施例的结构示意图;FIG. 15 is a schematic structural diagram of another embodiment of a base station according to the present invention;

图16为本发明第八实施例的基站控制设备的结构示意图;FIG. 16 is a schematic structural diagram of a base station control device according to an eighth embodiment of the present invention;

图17为本发明基站控制设备的另一实施例的结构示意图;FIG. 17 is a schematic structural diagram of another embodiment of a base station control device according to the present invention;

图18为本发明基站控制设备的另一实施例的结构示意图;FIG. 18 is a schematic structural diagram of another embodiment of a base station control device according to the present invention;

图19为本发明基站控制设备的另一实施例的结构示意图。Fig. 19 is a schematic structural diagram of another embodiment of a base station control device according to the present invention.

具体实施方式 Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。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 making creative efforts belong to the protection scope of the present invention.

图1为本发明第一实施例的流程示意图,包括:Fig. 1 is a schematic flow chart of the first embodiment of the present invention, including:

步骤11:基站获取时分复用(Time Division Multiplexing,TDM)帧的初始时隙图案;Step 11: the base station obtains the initial time slot pattern of the Time Division Multiplexing (TDM) frame;

其中,TDM帧可以为E1帧、T1帧或者J1帧;Wherein, the TDM frame may be an E1 frame, a T1 frame or a J1 frame;

在PPP协议场景下,时隙图案可以是PPP链路信息在TDM帧内占用的时隙的组合;在64K时隙级(fractional)的异步传输模式(Asynchronous TransferMode,ATM)的反向复用技术(Inverse Multiplexing for ATM,IMA)协议场景下,可以是fractional IMA协议信息在TDM帧内占用的时隙的组合;或者,在fractional IMA协议场景下首先采用PPP链路信息进行时隙图案检测,以便检测后得到的时隙图案包括的时隙内传输fractional IMA协议信息,此时,时隙图案也是PPP链路信息在TDM帧内占用的时隙的组合。In the PPP protocol scenario, the time slot pattern can be a combination of the time slots occupied by the PPP link information in the TDM frame; at the 64K time slot level (fractional) Asynchronous Transfer Mode (Asynchronous TransferMode, ATM) inverse multiplexing technology In the (Inverse Multiplexing for ATM, IMA) protocol scenario, it can be a combination of the time slots occupied by fractional IMA protocol information in the TDM frame; or, in the fractional IMA protocol scenario, the PPP link information is first used to detect the slot pattern in order to The time slot pattern obtained after detection includes transmission of fractional IMA protocol information in the time slot. At this time, the time slot pattern is also a combination of time slots occupied by the PPP link information in the TDM frame.

步骤12:基站在初始时隙图案对应的每个时隙内,向基站控制设备发送第一匹配成功指示报文,所述第一匹配成功指示报文中包含初始时隙图案对应的时隙编号;Step 12: The base station sends a first matching success indication message to the base station control device in each time slot corresponding to the initial time slot pattern, and the first matching success indication message includes the time slot number corresponding to the initial time slot pattern ;

其中,基站可以是基站收发站(Base Transceiver Station,BTS),基站控制设备为基站控制设备(Base Station Controller,BSC);或者,基站为NodeB,基站控制设备为无线网络控制器(Radio Network Controller,RNC)。Wherein, the base station can be a base transceiver station (Base Transceiver Station, BTS), and the base station control device is a base station control device (Base Station Controller, BSC); or, the base station is a NodeB, and the base station control device is a radio network controller (Radio Network Controller, RNC).

步骤13:基站在接收所述基站控制设备发送的第二匹配指示报文后,将所述初始时隙图案确定为自身要配置的时隙图案,所述第二匹配成功指示报文为所述基站控制设备比较所述第一匹配成功指示报文中包含的时隙编号与基站控制设备配置的时隙编号相同后发送的。Step 13: After receiving the second matching indication message sent by the base station control device, the base station determines the initial time slot pattern as the time slot pattern to be configured by itself, and the second matching success indication message is the The base station control device sends it after comparing that the time slot number included in the first matching success indication message is the same as the time slot number configured by the base station control device.

本实施例通过基站与基站控制设备的信息交互直接获取配置的时隙图案,并不需要依次轮询,也不是只尝试有限次数,因此可以降低建链时间,并且使用范围不受限。In this embodiment, the configured time slot pattern is obtained directly through the information interaction between the base station and the base station control device, and does not need to be polled sequentially, nor does it only try a limited number of times, so the link establishment time can be reduced, and the scope of use is not limited.

图2为本发明第二实施例的流程示意图,本实施例以基站通过基站控制设备发送的时隙占用指示报文得到初始时隙图案为例。本实施例包括:FIG. 2 is a schematic flow chart of the second embodiment of the present invention. In this embodiment, the base station obtains an initial time slot pattern through a time slot occupancy instruction message sent by a base station control device as an example. This example includes:

步骤201:基站向基站控制设备发送第一时隙占用指示报文(Inform)Step 201: The base station sends the first time slot occupancy indication message (Inform) to the base station control device

其中,本发明实施例中,基站在自启动后先不进行PPP建链协商,而是先确定时隙图案,之后再根据确定的时隙图案发起PPP建链协商。Wherein, in the embodiment of the present invention, the base station does not perform the PPP link establishment negotiation after starting, but first determines the time slot pattern, and then initiates the PPP link establishment negotiation according to the determined time slot pattern.

本发明实施例中,新增加了时隙占用指示报文,用于向对端(比如,基站控制设备)通知本端(比如,基站)的时隙配置。时隙占用指示报文的格式可以如图3所示。参见图3,采用一个新定义的值,如0x00F1(在图3中表示为00F1)表明该报文为时隙占用指示报文,该时隙占用指示报文中还含有本端的时隙编号,如01~1F。In the embodiment of the present invention, a time slot occupancy indication message is newly added, which is used to notify the opposite end (for example, the base station control device) of the time slot configuration of the local end (for example, the base station). The format of the timeslot occupancy indication message may be as shown in FIG. 3 . Referring to Fig. 3, a newly defined value is adopted, such as 0x00F1 (represented as 00F1 in Fig. 3) to show that the message is a time slot occupancy indication message, and the time slot occupancy indication message also contains the time slot number of the local end, Such as 01~1F.

可以理解的是,由于基站在自启动后还不知道时隙图案配置,本实施例中,基站在自启动后,将在所有时隙上均发送时隙占用指示报文,并且每个时隙占用指示报文的时隙编号设置为指示为空(Null)的值。It can be understood that since the base station does not know the time slot pattern configuration after self-starting, in this embodiment, after self-starting, the base station will send time slot occupancy indication messages on all time slots, and each time slot The time slot number of the occupancy indication message is set to a value indicated as null (Null).

步骤202:基站控制设备在接收到基站发送的第一时隙占用指示报文后,向基站发送第二时隙占用指示报文。Step 202: After receiving the first time slot occupation indication message sent by the base station, the base station control device sends the second time slot occupation indication message to the base station.

其中,本发明实施例,基站控制设备用于配置E1帧内的PPP信息的时隙图案,因此,基站控制设备会获知时隙图案,之后,基站控制设备可以通过时隙占用指示报文通知给基站。Wherein, in the embodiment of the present invention, the base station control device is used to configure the time slot pattern of the PPP information in the E1 frame. Therefore, the base station control device will know the time slot pattern. After that, the base station control device can notify the user through the time slot occupation indication message base station.

例如,基站控制设备配置的时隙图案是:PPP链路信息在E1帧的第2、4、6个时隙内发送,则基站控制器在发送的E1帧的第2、4、6个时隙内分别发送时隙占用指示报文,并且分别携带时隙编号2、4、6。For example, the time slot pattern configured by the base station control equipment is: PPP link information is sent in the 2nd, 4th, and 6th time slots of the E1 frame, and the base station controller will Slot occupancy indication messages are sent in the slots respectively, and carry slot numbers 2, 4, and 6 respectively.

基站接收到第二时隙占用指示报文(第二inform报文)后,获取基站控制设备配置的时隙图案,将基站控制设备配置的时隙图案确定为初始时隙图案,也就是将第二时隙占用指示报文内包含的时隙编号确定为初始时隙图案对应的时隙编号。After the base station receives the second time slot occupancy instruction message (the second inform message), it obtains the time slot pattern configured by the base station control device, and determines the time slot pattern configured by the base station control device as the initial time slot pattern, that is, the first The time slot number contained in the second time slot occupancy indication message is determined to be the time slot number corresponding to the initial time slot pattern.

步骤203:基站在初始时隙图案对应的每个时隙内,向基站控制设备发送第一匹配成功指示报文(ACK)。Step 203: the base station sends a first matching success indication message (ACK) to the base station control device in each time slot corresponding to the initial time slot pattern.

例如,第二时隙配置指示报文中携带的时隙编号分别为2、4、6时,基站便可以获知基站控制设备配置的时隙图案是在E1帧的第2、4、6个时隙内发送PPP链路信息。之后,基站可以在第2、4、6个时隙内分别发送ACK报文,此时发送的ACK报文称为第一ACK报文。For example, when the time slot numbers carried in the second time slot configuration indication message are 2, 4, and 6 respectively, the base station can know that the time slot pattern configured by the base station control device is at the 2nd, 4th, and 6th time slots of the E1 frame. Send PPP link information in the slot. Afterwards, the base station may send ACK messages in the 2nd, 4th, and 6th time slots respectively, and the ACK message sent at this time is called the first ACK message.

ACK报文是本发明实施例中新增加的报文,第一ACK报文是由于基站之前并没有时隙配置,基站在根据基站控制设备发送的第二时隙配置指示报文获取时隙配置后,直接发送的。The ACK message is a newly added message in the embodiment of the present invention. The first ACK message is because the base station has no time slot configuration before, and the base station obtains the time slot configuration according to the second time slot configuration indication message sent by the base station control device. After that, send it directly.

ACK报文的格式可以如图4所示。参见图4,采用一个新定义的值,如0x00F2(在图4中表示为00F2)表明该报文为匹配成功指示报文,该匹配成功指示报文中还含有本端的时隙编号,如01~1F。例如,基站获取的时隙编号分别为2、4、6,则基站在发送的E1帧的第2、4、6个时隙内分别发送匹配成功指示报文,并且分别携带时隙编号2、4、6。The format of the ACK message may be as shown in FIG. 4 . Referring to Figure 4, a newly defined value, such as 0x00F2 (shown as 00F2 in Figure 4), indicates that the message is a successful match indication message, and the successful match indication message also contains the time slot number of the local end, such as 01 ~1F. For example, the time slot numbers obtained by the base station are 2, 4, and 6 respectively, then the base station sends matching success indication messages in the 2nd, 4th, and 6th time slots of the E1 frame sent respectively, and carry the time slot numbers 2, 4, and 6 respectively. 4,6.

步骤204:基站控制设备接收到第一匹配成功指示报文后,比较第一匹配成功指示报文表明的时隙图案与自身配置的时隙图案,两者相同时,向基站发送第二匹配成功指示报文。Step 204: After receiving the first matching success indication message, the base station control device compares the time slot pattern indicated by the first matching success indication message with the time slot pattern configured by itself, and when the two are the same, sends the second matching success indication message to the base station. instruction message.

第二匹配成功指示报文是在对端的时隙配置与本端的时隙配置相同时发送的,其格式与第一匹配成功指示报文的格式相同,可以具体参见图4。The second matching success indication message is sent when the time slot configuration of the opposite end is the same as that of the local end, and its format is the same as that of the first matching success indication message. Refer to FIG. 4 for details.

例如,上述的第一匹配成功报文表明时隙图案对应的时隙编号分别为2、4、6,而基站控制设备自身配置的时隙图案对应的时隙编号也分别为2、4、6,由于两者相同,则基站控制设备向基站发送第二ACK报文。For example, the above-mentioned first matching success message indicates that the time slot numbers corresponding to the time slot patterns are 2, 4, and 6 respectively, and the time slot numbers corresponding to the time slot patterns configured by the base station control device are also 2, 4, and 6 respectively. , since the two are the same, the base station control device sends the second ACK message to the base station.

另外,对于基站或基站控制设备,本端可以在接收到第一个时隙占用指示报文后,启动设定的定时器,在该定时器的时间内收集对端发送的时隙占用指示报文,以确定对端的时隙配置。并且,当接收到对端发送的匹配成功指示报文后,可以停止本端发送的时隙占用指示报文。In addition, for the base station or base station control equipment, after receiving the first time slot occupancy indication message, the local end can start the set timer, and collect the time slot occupancy indication message sent by the other end within the timer time. file to determine the time slot configuration of the peer end. Moreover, after receiving the matching success indication message sent by the opposite end, the time slot occupation indication message sent by the local end may be stopped.

当基站接收到基站控制器发送的第二匹配成功指示报文后,可以将初始时隙图案确定为自身要配置的时隙图案。进一步的,为了提高配置的准确性,可以采用三次握手方式,因此,当基站与基站控制器间完成匹配成功指示报文的互发后,还可以进一步再次进行一次握手检测两端是否协商成功,即还可以包括:After receiving the second matching success indication message sent by the base station controller, the base station may determine the initial time slot pattern as the time slot pattern to be configured by itself. Furthermore, in order to improve the accuracy of the configuration, a three-way handshake can be used. Therefore, after the base station and the base station controller complete the exchange of matching success indication messages, they can further perform a handshake again to detect whether the negotiation between the two ends is successful. That is, it can also include:

步骤205:基站侦听到基站控制设备发送的第二ACK报文后,向基站控制设备发送第一协商成功报文。Step 205: After detecting the second ACK message sent by the base station control device, the base station sends the first negotiation success message to the base station control device.

其中,协商成功报文可以称为Up报文,Up报文是本发明实施例中新增加的报文,表明本端和对端针对时隙图案的协商成功,可以在本端发送ACK报文且对端也发送ACK报文的情况下发送,例如,上述基站发送第一ACK报文且接收到第二ACK报文后,向基站控制设备发送Up报文。Wherein, the negotiated success message can be called an Up message, and the Up message is a newly added message in the embodiment of the present invention, indicating that the negotiation between the local end and the opposite end for the time slot pattern is successful, and the ACK message can be sent at the local end And when the opposite end also sends an ACK message, for example, after the above-mentioned base station sends the first ACK message and receives the second ACK message, it sends an Up message to the base station control device.

Up报文的格式可以如图5所示。参见图5,采用一个新定义的值,如0x00F4(图5中表示为00F4)表明该报文为协商成功报文。The format of the Up message may be as shown in FIG. 5 . Referring to FIG. 5 , a newly defined value such as 0x00F4 (shown as 00F4 in FIG. 5 ) is used to indicate that the message is a negotiation success message.

步骤206:基站控制设备侦听到基站发送的第一Up报文后,向基站发送第二Up报文。Step 206: After detecting the first Up message sent by the base station, the base station control device sends a second Up message to the base station.

基站控制设备在侦听到第一Up报文后,确定双方协商成功,之后发送第二Up报文。After detecting the first Up message, the base station control device determines that the negotiation between the two parties is successful, and then sends the second Up message.

另外,由于上述的时隙占用指示(inform)报文、匹配成功指示(ACK)报文、协商成功(Up)报文属于PPP报文,因此除了包含上述特别说明的字段外,还包括PPP报文的一些通用字段,例如上述三种报文的前两个字段就是PPP报文中通用的7E和FF03。In addition, because the above-mentioned time slot occupancy indication (inform) message, matching success indication (ACK) message, and negotiation success (Up) message belong to PPP messages, in addition to the fields specified above, the PPP message is also included. Some common fields of the message, for example, the first two fields of the above three messages are the common 7E and FF03 in the PPP message.

步骤207:基站接收到第二Up报文后,根据第二inform报文获取的时隙图案配置成自身使用的时隙图案。Step 207: After receiving the second Up message, the base station configures the time slot pattern obtained according to the second inform message as the time slot pattern used by itself.

也就是说,基站和基站控制器成功协商后,基站将确定的初始时隙图案确定为自身使用的时隙图案。That is, after successful negotiation between the base station and the base station controller, the base station determines the determined initial time slot pattern as the time slot pattern used by itself.

之后,可以采用该配置的自身使用的时隙图案发送PPP链路信息,与基站控制设备进行PPP建链协商。Afterwards, the configured time slot pattern used by itself may be used to send PPP link information, and perform PPP link establishment negotiation with the base station control device.

本实施例通过基站控制设备在时隙占用指示报文中向基站通知配置的时隙图案,可以使得基站根据时隙占用指示报文直接确定自身要配置的时隙图案,而不需要轮询尝试建链确定时隙图案,可以快速确定所使用的时隙图案,理论上秒级时间可以完成,而现有技术中即使轮询典型的场景也需要几十分钟;本实施例对时隙图案组合没有限制,都可以通过基站与基站控制设备的信息交互确定,因此可以支持任意时隙间的排列组合,避免现有技术在典型场景更改后就不适用的间题,可以保证搬迁场景后依然可以适用。In this embodiment, the base station control device notifies the base station of the configured time slot pattern in the time slot occupancy indication message, so that the base station can directly determine the time slot pattern to be configured by itself according to the time slot occupancy indication message, without polling attempts Establishing a link to determine the time slot pattern can quickly determine the time slot pattern used. Theoretically, it can be completed in seconds, but in the prior art, it takes tens of minutes even to poll typical scenarios; There is no limit, it can be determined through the information interaction between the base station and the base station control equipment, so it can support the arrangement and combination of any time slot, avoiding the problem that the existing technology is not applicable after the typical scene is changed, and can ensure that the scene can still be relocated Be applicable.

图2所示的实施例是以基站在启动后没有配置的时隙图案为例。对于基站重启的场景,即基站原来进行过时隙配置,重新启动时的流程可以如下面的实施例所示。The embodiment shown in FIG. 2 is an example of a time slot pattern that is not configured by the base station after startup. For the scenario where the base station is restarted, that is, the base station has previously configured time slots, the process of restarting may be shown in the following embodiments.

图6为本发明第三实施例的流程示意图,本实施例以基站重启且原来的配置与基站控制设备相同为例。参见图6,本实施例包括:Fig. 6 is a schematic flowchart of the third embodiment of the present invention. In this embodiment, the base station is restarted and the original configuration is the same as that of the base station control device as an example. Referring to Figure 6, this embodiment includes:

步骤601:基站在重启后,向基站控制设备发送第一ACK报文。Step 601: After restarting, the base station sends a first ACK message to the base station control device.

其中,基站在掉电后可以将原来的时隙图案保存在缓存(FLASH)内,该保存在缓存内的时隙图案可以称为初始时隙图案。之后,在重启时,可以直接采用初始时隙图案发送ACK报文。Wherein, the base station may store the original time slot pattern in a cache (FLASH) after power-off, and the time slot pattern stored in the cache may be called an initial time slot pattern. Afterwards, when restarting, the initial time slot pattern can be directly used to send the ACK message.

例如,原来的时隙图案对应的时隙编号为2、4、6,则基站重启后在发送的E1帧的第2、4、6个时隙上分别发送ACK报文,并分别携带时隙编号2、4、6。For example, if the time slot numbers corresponding to the original time slot pattern are 2, 4, and 6, then the base station will send ACK messages on the 2nd, 4th, and 6th time slots of the sent E1 frame after restarting, and carry the time slot numbers respectively. Number 2, 4, 6.

步骤602:基站控制设备侦听到第一ACK报文后,比较第一ACK报文表明的时隙图案与自身配置的时隙图案,两者相同时,向基站发送第二ACK报文。Step 602: After detecting the first ACK message, the base station control device compares the time slot pattern indicated by the first ACK message with the time slot pattern configured by itself, and sends a second ACK message to the base station when the two are the same.

由于基站是重启的,在基站掉电的时间内,基站控制设备内的配置可能发生更改,因此,即使基站原来的配置也是从基站控制设备获取的,基站重启后两者的配置也可能是不同的。当然,如果两者相同,基站控制设备可以向基站发送ACK报文。Because the base station is restarted, the configuration in the base station control device may change during the time when the base station is powered off. Therefore, even if the original configuration of the base station is obtained from the base station control device, the configurations of the two may be different after the base station is restarted. of. Of course, if the two are the same, the base station control device may send an ACK message to the base station.

步骤603:基站侦听到基站控制设备发送的第二ACK报文后,向基站控制设备发送第一协商成功(Up)报文。Step 603: After detecting the second ACK message sent by the base station control device, the base station sends a first negotiation success (Up) message to the base station control device.

步骤604:基站控制设备侦听到基站发送的第一Up报文后,向基站发送第二Up报文。Step 604: After detecting the first Up message sent by the base station, the base station control device sends a second Up message to the base station.

步骤605:基站接收到第二Up报文后,将原初始时隙图案配置成自身使用的时隙图案。之后,可以采用该配置的自身使用的时隙图案发送PPP链路信息,与基站控制设备进行PPP建链协商。Step 605: After receiving the second Up message, the base station configures the original initial time slot pattern as the time slot pattern used by itself. Afterwards, the configured time slot pattern used by itself may be used to send PPP link information, and perform PPP link establishment negotiation with the base station control device.

本实施例的基站在重启后发起时隙图案的确认流程,在接收到基站控制设备发送的ACK报文后才将原来的时隙图案确定为当前的时隙图案,可以避免采用错误的时隙图案。The base station in this embodiment initiates the confirmation process of the time slot pattern after restarting, and determines the original time slot pattern as the current time slot pattern after receiving the ACK message sent by the base station control device, which can avoid using wrong time slots pattern.

图7为本发明第四实施例的流程示意图,本实施例以基站重启且原来的配置与基站控制设备不相同为例。参见图7,本实施例包括:FIG. 7 is a schematic flowchart of a fourth embodiment of the present invention. In this embodiment, a base station is restarted and the original configuration is different from that of the base station control device as an example. Referring to Figure 7, this embodiment includes:

步骤701:基站在重启后,向基站控制设备发送匹配成功指示(ACK)报文。Step 701: After restarting, the base station sends a matching success indication (ACK) message to the base station control device.

其中,基站在掉电后可以将原来的时隙图案保存在缓存(FLASH)内,该保存在缓存内的时隙图案可以称为初始时隙图案。之后,在重启时,可以直接采用原来的时隙图案发送ACK报文。Wherein, the base station may store the original time slot pattern in a cache (FLASH) after power-off, and the time slot pattern stored in the cache may be called an initial time slot pattern. Afterwards, when restarting, the original time slot pattern can be directly used to send the ACK message.

例如,原来的时隙图案对应的时隙编号为2、4、6,则基站重启后在发送的E1帧的第2、4、6个时隙上分别发送ACK报文,并分别携带时隙编号2、4、6。For example, if the time slot numbers corresponding to the original time slot pattern are 2, 4, and 6, then the base station will send ACK messages on the 2nd, 4th, and 6th time slots of the sent E1 frame after restarting, and carry the time slot numbers respectively. Number 2, 4, 6.

步骤702:基站控制设备接收到ACK报文后,比较ACK报文表明的时隙图案与自身配置的时隙图案,两者不相同时,向基站发送匹配失败指示(NACK)报文。Step 702: After receiving the ACK message, the base station control device compares the time slot pattern indicated by the ACK message with the time slot pattern configured by itself, and if the two are different, sends a matching failure indication (NACK) message to the base station.

由于基站是重启的,在基站掉电的时间内,基站控制设备内的配置可能发生更改,因此,即使基站原来的配置也是从基站控制设备获取的,基站重启后两者的配置也可能是不同的。Because the base station is restarted, the configuration in the base station control device may change during the time when the base station is powered off. Therefore, even if the original configuration of the base station is obtained from the base station control device, the configurations of the two may be different after the base station is restarted. of.

在两者不同时,基站控制设备发送NACK报文,NACK报文用于表明对端的时隙配置与本端的时隙配置不同。NACK报文的格式可以参见图8,可以新定义一个值,例如0x00F3(图8中表示为00F3)表明报文为NACK报文。另外,类似上述的inform报文、ACK报文、UP报文,NACK报文中也可以包含PPP报文的一些通用字段,例如前两个字段就是PPP报文中通用的7E和FF03。When the two are different, the base station control device sends a NACK message, and the NACK message is used to indicate that the time slot configuration of the peer end is different from the time slot configuration of the local end. The format of the NACK message can be referred to in FIG. 8 , and a new value can be defined, for example, 0x00F3 (shown as 00F3 in FIG. 8 ) indicates that the message is a NACK message. In addition, similar to the aforementioned inform message, ACK message, and UP message, the NACK message may also contain some common fields of the PPP message, for example, the first two fields are 7E and FF03 commonly used in the PPP message.

步骤703:基站接收到基站控制设备发送的NACK报文后,确定时隙图案已更改,重新确定时隙图案。Step 703: After receiving the NACK message sent by the base station control device, the base station determines that the time slot pattern has been changed, and re-determines the time slot pattern.

其中,重新确定时隙图案的流程可以如图2所示的实施例。即,该步骤703的具体内容可以如步骤201~207所示。Wherein, the process of re-determining the time slot pattern may be the embodiment shown in FIG. 2 . That is, the specific content of step 703 may be as shown in steps 201-207.

本实施例的基站在重启后发起时隙图案的确认流程,在接收到基站控制设备发送的NACK报文后重新配置使用的时隙图案,可以及时发现错误的时隙图案,保证采用的时隙图案的正确性。The base station in this embodiment initiates the confirmation process of the time slot pattern after restarting, and reconfigures the used time slot pattern after receiving the NACK message sent by the base station control device, so that the wrong time slot pattern can be found in time to ensure that the used time slot pattern pattern correctness.

图9为本发明第五实施例的流程示意图,由于基站控制设备和基站之间的承载网内可能包含时隙交叉设备(Digital Cross Connect,DXX)设备,经过DXX设备后,对端配置的时隙与自身收到的时隙可能不同。此时,需要保存对应关系以便后续维护。本实施例包括:Fig. 9 is a schematic flow chart of the fifth embodiment of the present invention. Since the bearer network between the base station control device and the base station may contain a time slot crossover device (Digital Cross Connect, DXX) device, after passing through the DXX device, the time for peer configuration The slot may be different from the one received by itself. At this point, the corresponding relationship needs to be saved for subsequent maintenance. This example includes:

步骤901:基站获取基站控制设备配置的时隙图案。Step 901: the base station acquires the time slot pattern configured by the base station control device.

其中,基站可以将基站控制设备发送的inform报文中包括的时隙编号确定为基站控制设备侧配置的时隙图案对应的时隙编号。例如,基站控制设备向基站发送的inform报文中包含的时隙编号分别为2、4、6,则基站可以确定基站控制设备配置的时隙图案对应的时隙编号分别为2、4、6。Wherein, the base station may determine the time slot number included in the inform message sent by the base station control device as the time slot number corresponding to the time slot pattern configured on the base station control device side. For example, the time slot numbers contained in the inform message sent by the base station control device to the base station are 2, 4, and 6 respectively, and the base station can determine that the time slot numbers corresponding to the time slot patterns configured by the base station control device are 2, 4, and 6 respectively. .

步骤902:基站确定接收时隙编号,接收时隙编号是基站接收到基站控制设备发送的时隙占用指示报文时的时隙编号。Step 902: The base station determines the receiving time slot number, which is the time slot number when the base station receives the time slot occupation indication message sent by the base station control device.

其中,由于基站和基站控制设备之间的承载网内可能存在DXX设备,经过DXX设备后,时隙关系可能发生改变,例如,上述基站控制设备是在E1帧的第2、4、6个时隙上发送的时隙占用指示报文,但是,经过DXX设备后,基站可能在E1帧的第1、3、5个时隙上接收到时隙占用指示报文,则此时,基站确定的时隙编号就是1、3、5。Among them, since there may be DXX equipment in the bearer network between the base station and the base station control equipment, the time slot relationship may change after passing through the DXX equipment. However, after the DXX device, the base station may receive the time slot occupancy indication message on the 1st, 3rd, and 5th time slots of the E1 frame, then at this time, the base station determines the The slot numbers are 1, 3, 5.

步骤903:基站保存接收时隙编号与基站控制设备发送的时隙占用指示报文中包含的时隙编号之间的对应关系。Step 903: the base station saves the corresponding relationship between the received time slot number and the time slot number included in the time slot occupation indication message sent by the base station control device.

例如,保存自身的时隙编号为1时,对应对端的时隙编码2,自身的时隙编号为3时,对应对端的时隙编号为4等。For example, when the own time slot number is saved as 1, the corresponding time slot number is 2, and when the own time slot number is 3, the corresponding time slot number is 4, etc.

通过保存该对应关系,可以提高可维护性。具体来讲,现有技术中E1帧的维护是以E1为处理单位的,可以通过比较基站控制设备发送的E1帧和基站接收的E1的情况确定链路状态,而本实施例中,由于可以在每个时隙内携带报文,则处理单位可以细化到E1帧的时隙,根据每个时隙在基站侧的内容和在基站控制设备侧的内容来进行维护。例如,比较基站控制设备在第2个时隙内发送的内容,与基站在第1个时隙内接收的内容,确定该时隙(基站控制设备侧为第2个时隙、基站侧为第1个时隙)是否连通,或者确定该时隙(基站控制设备侧为第2个时隙、基站侧为第1个时隙)对应的丢包率、误码率等。By saving this correspondence, maintainability can be improved. Specifically, the maintenance of the E1 frame in the prior art is based on the E1 as the processing unit, and the link state can be determined by comparing the E1 frame sent by the base station control device with the E1 received by the base station, and in this embodiment, because it can If the message is carried in each time slot, the processing unit can be refined to the time slot of the E1 frame, and maintenance is performed according to the content of each time slot on the base station side and the content on the base station control device side. For example, compare the content sent by the base station control device in the second time slot with the content received by the base station in the first time slot, and determine the time slot (the base station control device side is the second time slot, the base station side is the first time slot) 1 time slot) is connected, or determine the packet loss rate, bit error rate, etc. corresponding to the time slot (the second time slot on the base station control device side, and the first time slot on the base station side).

另外,需要说明是,在基站控制设备和基站两者的时隙不同时,基站需要按照基站控制设备发送的时隙返回对应的报文。例如,图2中的第二inform报文中包含的时隙编号分别为2、4、6,而基站是在第1、3、5个时隙内接收到的第二inform报文。那么基站在返回第一ACK报文时,依然是要在第2、4、6个时隙内返回,并且第一ACK报文中携带的时隙编号分别是2、4、6。In addition, it should be noted that when the time slots of the base station control device and the base station are different, the base station needs to return a corresponding message according to the time slot sent by the base station control device. For example, the time slot numbers contained in the second inform message in FIG. 2 are 2, 4, and 6 respectively, and the base station receives the second inform message in the 1st, 3rd, and 5th time slots. Then, when the base station returns the first ACK message, it still returns in the 2nd, 4th, and 6th time slots, and the time slot numbers carried in the first ACK message are 2, 4, and 6 respectively.

本实施例通过基站控制设备在时隙占用指示报文中向基站通知配置的时隙图案,可以使得基站根据时隙占用指示报文直接确定自身要配置的时隙图案,而不需要轮询尝试建链确定时隙图案,可以快速确定所使用的时隙图案,理论上秒级时间可以完成,而现有技术中即使轮询典型的场景也需要几十分钟;本实施例对时隙图案组合没有限制,都可以通过基站与基站控制设备的交互确定,因此可以支持任意时隙间的排列组合,避免现有技术在典型场景更改后就不适用的问题,可以保证搬迁场景后依然可以适用。进一步的,本实施例通过保存时隙变换关系,可以提升TDM链路的可维护性。In this embodiment, the base station control device notifies the base station of the configured time slot pattern in the time slot occupancy indication message, so that the base station can directly determine the time slot pattern to be configured by itself according to the time slot occupancy indication message, without polling attempts Establishing a link to determine the time slot pattern can quickly determine the time slot pattern used. Theoretically, it can be completed in seconds, but in the prior art, it takes tens of minutes even to poll typical scenarios; There is no limit, all can be determined through the interaction between the base station and the base station control equipment, so it can support the arrangement and combination of any time slot, avoid the problem that the existing technology is not applicable after the typical scene is changed, and can ensure that the relocation scene is still applicable. Further, in this embodiment, maintainability of the TDM link can be improved by saving the time slot conversion relationship.

图10为本发明第六实施例的方法流程示意图,本实施例以基站控制设备侧的流程为例,包括:FIG. 10 is a schematic flow diagram of a method according to the sixth embodiment of the present invention. This embodiment takes the flow on the side of the base station control device as an example, including:

步骤101:基站控制设备接收基站发送的第一匹配成功指示报文,第一匹配成功指示报文中包含初始时隙图案对应的时隙编号;Step 101: The base station control device receives the first matching success indication message sent by the base station, and the first matching success indication message includes the time slot number corresponding to the initial time slot pattern;

步骤102:基站控制设备比较第一匹配成功指示报文中包含的时隙编号与基站控制设备配置的时隙图案的时隙编号;Step 102: The base station control device compares the time slot number contained in the first matching success indication message with the time slot number of the time slot pattern configured by the base station control device;

步骤103:基站控制设备在第一匹配成功指示报文中包含的时隙编号与基站控制设备配置的时隙图案的时隙编号相同时,向基站发送第二匹配成功指示报文,第二匹配成功指示报文用于指示基站将初始时隙图案确定为基站要配置的时隙图案。Step 103: When the time slot number contained in the first match success indication message is the same as the time slot number of the time slot pattern configured by the base station control device, the base station control device sends a second match success indication message to the base station, and the second match The success indication message is used to instruct the base station to determine the initial time slot pattern as the time slot pattern to be configured by the base station.

进一步的,在步骤101之前,该方法还可以包括:Further, before step 101, the method may also include:

基站控制设备接收基站发送的第一时隙占用指示报文;The base station control device receives the first time slot occupation indication message sent by the base station;

基站控制设备在接收到第一时隙占用指示报文后,向基站发送第二时隙占用指示报文,第二时隙占用指示报文中包含基站控制设备配置的时隙图案的时隙编号,第二时隙占用指示报文用于指示基站将第二时隙占用指示报文中包含的时隙编号确定为初始时隙图案的时隙编号。After receiving the first time slot occupation indication message, the base station control device sends the second time slot occupation indication message to the base station, and the second time slot occupation indication message includes the time slot number of the time slot pattern configured by the base station control device The second time slot occupation indication message is used to instruct the base station to determine the time slot number contained in the second time slot occupation indication message as the time slot number of the initial time slot pattern.

进一步的,在接收第一时隙占用指示报文之前,还可以包括:Further, before receiving the first time slot occupancy indication message, it may also include:

基站控制设备接收基站发送的匹配成功指示报文,匹配成功指示报文中包含基站内已经保存的时隙图案对应的时隙编号;The base station control device receives the matching success indication message sent by the base station, and the matching success indication message includes the time slot number corresponding to the time slot pattern saved in the base station;

基站控制设备比较匹配成功指示报文中包含的时隙编号与基站控制设备配置的时隙图案的时隙编号;The base station control device compares the time slot number contained in the matching success indication message with the time slot number of the time slot pattern configured by the base station control device;

基站控制设备在第一匹配成功指示报文中包含的时隙编号与基站控制设备配置的时隙图案的时隙编号不相同时,向基站发送匹配失败指示报文;The base station control device sends a match failure indication message to the base station when the time slot number contained in the first matching success indication message is different from the time slot number of the time slot pattern configured by the base station control device;

该第一时隙占用指示报文为所述基站在接收到所述匹配失败指示报文后发送的。The first time slot occupation indication message is sent by the base station after receiving the matching failure indication message.

可选的,步骤103之后,还可以包括:Optionally, after step 103, it may also include:

基站控制设备接收基站发送的第一协商成功报文,述第一协商成功报文为基站接收到第二匹配成功指示报文后发送的;The base station control device receives the first negotiation success message sent by the base station, and the first negotiation success message is sent after the base station receives the second matching success indication message;

基站控制设备接收到第一协商成功报文后,向基站发送第二协商成功报文,第二协商成功报文用于指示基站将初始时隙图案配置成基站要配置的时隙图案。After receiving the first negotiation success message, the base station control device sends a second negotiation success message to the base station, where the second negotiation success message is used to instruct the base station to configure the initial time slot pattern as the time slot pattern to be configured by the base station.

本实施例通过基站控制设备在时隙占用指示报文中向基站通知配置的时隙图案,可以使得基站根据时隙占用指示报文直接确定自身要配置的时隙图案,而不需要轮询尝试建链确定时隙图案,可以快速确定所使用的时隙图案,理论上秒级时间可以完成,而现有技术中即使轮询典型的场景也需要几十分钟;本实施例对时隙图案组合没有限制,都可以通过基站与基站控制设备的交互确定,因此可以支持任意时隙间的排列组合,避免现有技术在典型场景更改后就不适用的问题,可以保证搬迁场景后依然可以适用。In this embodiment, the base station control device notifies the base station of the configured time slot pattern in the time slot occupancy indication message, so that the base station can directly determine the time slot pattern to be configured by itself according to the time slot occupancy indication message, without polling attempts Establishing a link to determine the time slot pattern can quickly determine the time slot pattern used. Theoretically, it can be completed in seconds, but in the prior art, it takes tens of minutes even to poll typical scenarios; There is no limit, and it can be determined through the interaction between the base station and the base station control equipment. Therefore, it can support the arrangement and combination of any time slot, avoiding the problem that the existing technology is not applicable after the typical scene is changed, and can ensure that the relocation scene is still applicable.

图11为本发明第七实施例的基站的结构示意图,包括获取模块111、发送模块112和确定模块113。FIG. 11 is a schematic structural diagram of a base station according to a seventh embodiment of the present invention, including an acquiring module 111 , a sending module 112 and a determining module 113 .

获取模块111用于获取TDM帧的初始时隙图案;发送模块112用于在获取模块111获取的初始时隙图案对应的每个时隙内,向基站控制设备发送第一匹配成功指示报文,所述第一匹配成功指示报文中包含初始时隙图案对应的时隙编号;确定模块113用于在接收到基站控制设备发送的第二匹配成功指示报文后,将初始时隙图案确定为自身要配置的时隙图案,该第二匹配成功指示报文为基站控制设备在比较第一匹配成功指示报文中包含的时隙编号与基站控制设备配置的时隙编号相同后发送的。The obtaining module 111 is used to obtain the initial time slot pattern of the TDM frame; the sending module 112 is used to send the first matching success indication message to the base station control device in each time slot corresponding to the initial time slot pattern obtained by the obtaining module 111, The first matching success indication message includes the time slot number corresponding to the initial time slot pattern; the determining module 113 is configured to determine the initial time slot pattern as The time slot pattern to be configured by itself, the second matching success indication message is sent by the base station control device after comparing the time slot number contained in the first matching success indication message with the time slot number configured by the base station control device.

可选的,参见图12,获取模块111可以包括:第一发送单元121、第一接收单元122和确定单元123;Optionally, referring to FIG. 12, the acquiring module 111 may include: a first sending unit 121, a first receiving unit 122, and a determining unit 123;

第一发送单元121用于向基站控制设备发送第一时隙占用指示报文;The first sending unit 121 is configured to send a first time slot occupation indication message to the base station control device;

第一接收单元122用于接收基站控制设备发送的第二时隙占用指示报文,该第二时隙占用指示报文为基站控制设备接收到第一时隙占用指示报文后发送的且第二时隙占用指示报文内包含基站控制设备配置的时隙图案的时隙编号;The first receiving unit 122 is configured to receive the second time slot occupation indication message sent by the base station control device, the second time slot occupation indication message is sent by the base station control device after receiving the first time slot occupation indication message and the second 2. The timeslot occupancy indication message includes the timeslot number of the timeslot pattern configured by the base station control device;

确定单元123用于将第二时隙占用指示报文内包含的时隙编号确定为初始时隙图案对应的时隙编号。The determining unit 123 is configured to determine the time slot number contained in the second time slot occupation indication message as the time slot number corresponding to the initial time slot pattern.

可选的,获取模块具体用于:将已经保存的时隙图案确定为初始时隙图案。Optionally, the obtaining module is specifically configured to: determine the saved time slot pattern as the initial time slot pattern.

可选的,参见图13,获取模块111在包括第一发送单元121、第一接收单元122和确定单元123之外,还包括:第二发送单元131和第二接收单元132;Optionally, referring to FIG. 13 , in addition to the first sending unit 121 , the first receiving unit 122 and the determining unit 123 , the acquiring module 111 further includes: a second sending unit 131 and a second receiving unit 132 ;

第二发送单元131用于在已经保存的时隙图案对应的每个时隙内,向基站控制设备发送匹配成功指示报文,匹配成功指示报文中包含已经保存的时隙图案对应的时隙编号;The second sending unit 131 is configured to send a match success indication message to the base station control device in each time slot corresponding to the saved time slot pattern, and the match success indication message includes the time slot corresponding to the saved time slot pattern serial number;

第二接收单元132用于接收基站控制设备发送的匹配失败指示报文,匹配失败指示报文为基站控制设备在匹配成功指示报文中包含的时隙编号与基站控制设备配置的时隙编号不相同后发送的;The second receiving unit 132 is used to receive the matching failure indication message sent by the base station control device. The matching failure indication message is that the time slot number contained in the matching success indication message of the base station control device is different from the time slot number configured by the base station control device. sent after the same;

第一发送单元具体用于在第二接收单元132接收到匹配失败指示报文后,向基站控制设备发送第一时隙占用指示报文。The first sending unit is specifically configured to send the first time slot occupation indication message to the base station control device after the second receiving unit 132 receives the matching failure indication message.

可选的,参见图14,确定模块113包括:协商单元141和配置单元142;Optionally, referring to FIG. 14 , the determination module 113 includes: a negotiation unit 141 and a configuration unit 142;

协商单元141用于接收到基站控制设备发送的第二匹配成功指示报文后,向基站控制设备发送第一协商成功报文,并接收基站控制设备发送的第二协商成功报文,第二协商成功报文为基站控制设备接收到第一协商成功报文后发送的;The negotiation unit 141 is configured to send a first negotiation success message to the base station control device after receiving the second matching success indication message sent by the base station control device, and receive a second negotiation success message sent by the base station control device, and the second negotiation The success message is sent by the base station control device after receiving the first negotiation success message;

配置单元142用于在协商单元141接收到第二协商成功报文后,将初始时隙图案确定为自身要配置的时隙图案。The configuration unit 142 is configured to determine the initial time slot pattern as the time slot pattern to be configured by itself after the negotiation unit 141 receives the second negotiation success message.

可选的,参见图15,基站还可以包括:Optionally, referring to Figure 15, the base station may further include:

保存模块151,用于在接收时隙编号与第二时隙占用指示报文中包含的时隙编号不同时,保存接收时隙编号与第二时隙占用指示报文中包含的时隙编号的对应关系,所述接收时隙编号为基站接收到第二时隙占用指示报文的时隙的编号。The storage module 151 is used to save the received time slot number and the time slot number contained in the second time slot occupancy indication message when the received time slot number is different from the time slot number contained in the second time slot occupancy indication message. Corresponding relationship, the received time slot number is the number of the time slot in which the base station receives the second time slot occupancy indication message.

进一步的,在保存模块保存该对应关系后,该对应关系可以用于以时隙为单位的报文检测和维护。Further, after the saving module saves the corresponding relationship, the corresponding relationship can be used for message detection and maintenance in units of time slots.

上述的时隙占用指示(inform)报文、匹配成功指示(ACK)报文、匹配失败指示(NACK)报文和协商成功(Up)报文的具体格式可以参见上述方法中的相应描述。For the specific formats of the above time slot occupancy indication (inform) message, match success indication (ACK) message, match failure indication (NACK) message and negotiation success (Up) message, refer to the corresponding description in the above method.

本实施例中的基站可以首先通过时隙占用指示过程获取初始时隙图案,再通过匹配过程检验时隙图案,再通过协商确定过程确定时隙图案;其中的时隙占用指示过程可以包括:基站向基站控制设备发送第一时隙占用指示报文,基站控制设备再向基站发送第二时隙占用指示报文;匹配过程可以包括:基站向基站控制设备发送第一匹配成功指示报文,基站控制设备再向基站发送第二匹配成功指示报文;协商确定过程可以包括:基站向基站控制设备发送第一协商成功报文,基站控制设备再向基站发送第二协商成功报文。The base station in this embodiment can first obtain the initial time slot pattern through the time slot occupancy indication process, then check the time slot pattern through the matching process, and then determine the time slot pattern through the negotiation determination process; wherein the time slot occupancy indication process can include: the base station Send the first time slot occupancy instruction message to the base station control device, and the base station control device sends the second time slot occupancy instruction message to the base station; the matching process may include: the base station sends the first matching success indication message to the base station control device, and the base station The control device then sends a second matching success indication message to the base station; the negotiation determination process may include: the base station sends a first negotiation success message to the base station control device, and the base station control device sends a second negotiation success message to the base station.

或者,本实施例中的基站可以首先通过已经保存的信息进行匹配过程检验时隙图案,再通过协商确定过程确定时隙图案;其中的匹配过程可以包括:基站采用已经保存的时隙图案向基站控制设备发送第一匹配成功指示报文,基站控制设备在第一匹配成功指示报文包含的时隙编号与自身配置的时隙图案的时隙编号相同时,向基站发送第二匹配成功指示报文;协商确定过程可以如上所示。Or, the base station in this embodiment can first check the time slot pattern through the matching process through the saved information, and then determine the time slot pattern through the negotiation and determination process; the matching process can include: the base station uses the saved time slot pattern to the base station The control device sends the first matching success indication message, and the base station control device sends the second matching success indication message to the base station when the time slot number contained in the first matching success indication message is the same as the time slot number of the time slot pattern configured by itself. document; the negotiation process can be as shown above.

或者,本实施例中的基站可以首先通过已经保存的信息和时隙配置指示过程获取初始时隙图案;再通过匹配过程检验时隙图案,再通过协商确定过程确定时隙图案;其中的通过已经保存的信息和时隙配置指示过程获取初始时隙图案可以包括:采用已经保存的时隙图案对应的时隙编号向基站控制设备发送匹配成功指示报文,再接收基站控制设备发送的匹配失败指示报文,再向基站控制设备发送第一时隙占用指示报文,基站控制设备再向基站发送第二时隙占用指示报文。其中的匹配过程和协商确定过程可以如上所示。Alternatively, the base station in this embodiment may first obtain the initial time slot pattern through the saved information and the time slot configuration indication process; then check the time slot pattern through the matching process, and then determine the time slot pattern through the negotiation determination process; The stored information and the time slot configuration indication process to obtain the initial time slot pattern may include: using the time slot number corresponding to the saved time slot pattern to send a match success indication message to the base station control device, and then receiving a match failure indication sent by the base station control device message, and then send the first time slot occupation indication message to the base station control device, and the base station control device sends the second time slot occupation indication message to the base station. The matching process and negotiation determination process may be as shown above.

本实施例的基站可以为BTS或者NodeB。The base station in this embodiment may be a BTS or a NodeB.

本实施例通过基站与基站控制设备交互直接获取配置的时隙图案,并不需要依次轮询,也不是只尝试有限次数,因此可以降低建链时间,并且使用范围不受限。In this embodiment, the configured time slot pattern is obtained directly through the interaction between the base station and the base station control device, without sequential polling and limited number of attempts, so the link establishment time can be reduced, and the scope of use is not limited.

图16为本发明第八实施例的基站控制设备的结构示意图,包括第一接收模块161、第一比较模块162和第一发送模块163。FIG. 16 is a schematic structural diagram of a base station control device according to an eighth embodiment of the present invention, including a first receiving module 161 , a first comparing module 162 and a first sending module 163 .

第一接收模块161用于接收基站发送的第一匹配成功指示报文,第一匹配成功指示报文中包含初始时隙图案对应的时隙编号;第一比较模块162用于比较第一匹配成功指示报文中包含的时隙编号与基站控制设备配置的时隙图案的时隙编号;第一发送模块163用于在第一比较模块162比较的结果为第一匹配成功指示报文中包含的时隙编号与基站控制设备配置的时隙图案的时隙编号相同时,向基站发送第二匹配成功指示报文,第二匹配成功指示报文用于指示所述基站将初始时隙图案确定为基站要配置的时隙图案。The first receiving module 161 is used to receive the first match success indication message sent by the base station, and the first match success indication message includes the time slot number corresponding to the initial time slot pattern; the first comparison module 162 is used to compare the first match success Indicate the time slot number contained in the message and the time slot number of the time slot pattern configured by the base station control device; the first sending module 163 is used to compare the result of the first comparison module 162 with the first matching success indication message contained in the When the time slot number is the same as the time slot number of the time slot pattern configured by the base station control device, a second matching success indication message is sent to the base station, and the second matching success indication message is used to instruct the base station to determine the initial time slot pattern as The slot pattern to be configured by the base station.

可选的,参见图17,基站控制设备还可以包括:第二接收模块171和第二发送模块172;Optionally, referring to FIG. 17 , the base station control device may further include: a second receiving module 171 and a second sending module 172;

第二接收模块171用于接收所述基站发送的第一时隙占用指示报文;The second receiving module 171 is configured to receive the first time slot occupation indication message sent by the base station;

第二发送模块172用于在第二接收模块171接收到第一时隙占用指示报文后,向基站发送第二时隙占用指示报文,第二时隙占用指示报文中包含基站控制设备配置的时隙图案的时隙编号,第二时隙占用指示报文用于指示基站将第二时隙占用指示报文中包含的时隙编号确定为初始时隙图案的时隙编号。The second sending module 172 is configured to send a second time slot occupation indication message to the base station after the second receiving module 171 receives the first time slot occupation indication message, and the second time slot occupation indication message includes the base station control device The time slot number of the configured time slot pattern, the second time slot occupation indication message is used to instruct the base station to determine the time slot number contained in the second time slot occupation indication message as the time slot number of the initial time slot pattern.

可选的,参见图18,基站控制设备还可以包括:第三接收模块181、第二比较模块182和第三发送模块183;Optionally, referring to FIG. 18, the base station control device may further include: a third receiving module 181, a second comparing module 182, and a third sending module 183;

第三接收模块181用于接收基站发送的匹配成功指示报文,匹配成功指示报文中包含基站内已经保存的时隙图案对应的时隙编号;The third receiving module 181 is used to receive the matching success indication message sent by the base station, and the matching success indication message includes the time slot number corresponding to the time slot pattern saved in the base station;

第二比较模块182用于比较匹配成功指示报文中包含的时隙编号与基站控制设备配置的时隙图案的时隙编号;The second comparison module 182 is used to compare the time slot number contained in the matching success indication message with the time slot number of the time slot pattern configured by the base station control device;

第三发送模块183用于在第二比较模块182比较的结果为匹配成功指示报文中包含的时隙编号与基站控制设备配置的时隙图案的时隙编号不相同时,向基站发送匹配失败指示报文;The third sending module 183 is used to send a matching failure to the base station when the result of the comparison by the second comparing module 182 is that the time slot number contained in the match success indication message is different from the time slot number of the time slot pattern configured by the base station control device instruction message;

第二接收模块171具体用于接收基站发送的第一时隙占用指示报文,第一时隙占用指示报文为基站在接收到匹配失败指示报文后发送的。The second receiving module 171 is specifically configured to receive the first time slot occupation indication message sent by the base station. The first time slot occupation indication message is sent by the base station after receiving the matching failure indication message.

可选的,参见图19,基站控制设备还可以包括:第四接收模块191和第四发送模块192;Optionally, referring to FIG. 19 , the base station control device may further include: a fourth receiving module 191 and a fourth sending module 192;

第四接收模块191用于接收基站发送的第一协商成功报文,第一协商成功报文为基站接收到第二匹配成功指示报文后发送的;The fourth receiving module 191 is configured to receive the first negotiation success message sent by the base station, and the first negotiation success message is sent by the base station after receiving the second matching success indication message;

第四发送模块192用于在第四接收模块191接收到第一协商成功报文后,向基站发送第二协商成功报文,第二协商成功报文用于指示基站将初始时隙图案配置成基站要配置的时隙图案。The fourth sending module 192 is configured to send a second negotiation success message to the base station after the fourth receiving module 191 receives the first negotiation success message, and the second negotiation success message is used to instruct the base station to configure the initial time slot pattern as The slot pattern to be configured by the base station.

上述的时隙占用指示(inform)报文、匹配成功指示(ACK)报文、匹配失败指示(NACK)报文和协商成功(Up)报文的具体格式可以参见上述方法中的相应描述。For the specific formats of the above time slot occupancy indication (inform) message, match success indication (ACK) message, match failure indication (NACK) message and negotiation success (Up) message, refer to the corresponding description in the above method.

本实施例中的基站控制设备可以首先通过时隙占用指示过程向基站指示初始时隙图案,再通过匹配过程检验时隙图案,再通过协商确定过程确定时隙图案;其中的时隙占用指示过程可以包括:基站向基站控制设备发送第一时隙占用指示报文,基站控制设备再向基站发送第二时隙占用指示报文;匹配过程可以包括:基站向基站控制设备发送第一匹配成功指示报文,基站控制设备再向基站发送第二匹配成功指示报文;协商确定过程可以包括:基站向基站控制设备发送第一协商成功报文,基站控制设备再向基站发送第二协商成功报文。The base station control device in this embodiment can first indicate the initial time slot pattern to the base station through the time slot occupancy indication process, then check the time slot pattern through the matching process, and then determine the time slot pattern through the negotiation determination process; the time slot occupancy indication process wherein It may include: the base station sends a first time slot occupation indication message to the base station control device, and the base station control device sends a second time slot occupation indication message to the base station; the matching process may include: the base station sends the first matching success indication to the base station control device message, the base station control device sends a second matching success indication message to the base station; the negotiation determination process may include: the base station sends a first negotiation success message to the base station control device, and the base station control device sends a second negotiation success message to the base station .

或者,本实施例中的基站控制设备可以首先通过基站已经保存的信息进行匹配过程检验时隙图案,再通过协商确定过程确定时隙图案;匹配过程可以包括:基站控制设备接收到基站根据已经保存的信息发送的第一匹配成功指示报文后,如果基站控制设备的时隙配置和该匹配成功指示报文指示的时隙配置相同,则向基站发送第二匹配成功指示报文,后续的协商确定过程可以如上所示。Alternatively, the base station control device in this embodiment may first check the time slot pattern through a matching process based on the information stored by the base station, and then determine the time slot pattern through a negotiation and determination process; the matching process may include: the base station control device receives After the first matching success indication message sent by the information, if the time slot configuration of the base station control device is the same as the time slot configuration indicated by the matching success indication message, the second matching success indication message is sent to the base station, and the subsequent negotiation The determination process can be as shown above.

或者,本实施例中的基站可以首先通过已经保存的信息和时隙配置指示过程获取初始时隙图案;再通过匹配过程检验时隙图案,再通过协商确定过程确定时隙图案;其中的通过已经保存的信息和时隙配置指示过程获取初始时隙图案可以包括:采用已经保存的时隙图案对应的时隙编号向基站控制设备发送匹配成功指示报文,再接收基站控制设备发送的匹配失败指示报文,再向基站控制设备发送第一时隙占用指示报文,基站控制设备再向基站发送第二时隙占用指示报文,基站根据第二时隙占用指示报文获取初始时隙图案。其中的匹配过程和协商确定过程可以如上所示。Alternatively, the base station in this embodiment may first obtain the initial time slot pattern through the saved information and the time slot configuration indication process; then check the time slot pattern through the matching process, and then determine the time slot pattern through the negotiation determination process; The stored information and the time slot configuration indication process to obtain the initial time slot pattern may include: using the time slot number corresponding to the saved time slot pattern to send a match success indication message to the base station control device, and then receiving a match failure indication sent by the base station control device message, and then send the first time slot occupancy indication message to the base station control device, and the base station control device sends the second time slot occupation indication message to the base station, and the base station obtains the initial time slot pattern according to the second time slot occupation indication message. The matching process and negotiation determination process may be as shown above.

本实施例的基站控制设备可以为BSC或者RNC。The base station control device in this embodiment may be a BSC or an RNC.

本实施例通过基站与基站控制设备交互直接获取配置的时隙图案,并不需要依次轮询,也不是只尝试有限次数,因此可以降低建链时间,并且使用范围不受限。In this embodiment, the configured time slot pattern is obtained directly through the interaction between the base station and the base station control device, without sequential polling and limited number of attempts, so the link establishment time can be reduced, and the scope of use is not limited.

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

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。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 (20)

1.一种时隙图案确定方法,其特征在于,包括:1. A method for determining a time slot pattern, comprising: 获取时分复用TDM帧的初始时隙图案;Obtain the initial time slot pattern of the time division multiplexed TDM frame; 在所述初始时隙图案对应的每个时隙内,向基站控制设备发送第一匹配成功指示报文,所述第一匹配成功指示报文中包含初始时隙图案对应的时隙编号;In each time slot corresponding to the initial time slot pattern, send a first matching success indication message to the base station control device, where the first matching success indication message includes a time slot number corresponding to the initial time slot pattern; 在接收到所述基站控制设备发送的第二匹配成功指示报文后,将所述初始时隙图案确定为自身要配置的时隙图案,所述第二匹配成功指示报文为所述基站控制设备在比较所述第一匹配成功指示报文中包含的时隙编号与基站控制设备配置的时隙图案对应的时隙编号相同后发送的。After receiving the second matching success indication message sent by the base station control device, the initial time slot pattern is determined as the time slot pattern to be configured by itself, and the second matching success indication message is the base station control device The device sends it after comparing that the time slot number included in the first matching success indication message is the same as the time slot number corresponding to the time slot pattern configured by the base station control device. 2.根据权利要求1所述的方法,其特征在于,所述获取TDM帧的初始时隙图案包括:2. The method according to claim 1, wherein said obtaining the initial time slot pattern of the TDM frame comprises: 基站向基站控制设备发送第一时隙占用指示报文;The base station sends the first time slot occupation indication message to the base station control device; 基站接收基站控制设备发送的第二时隙占用指示报文,所述第二时隙占用指示报文为所述基站控制设备接收到所述第一时隙占用指示报文后发送的且所述第二时隙占用指示报文内包含基站控制设备配置的时隙图案的时隙编号;The base station receives the second time slot occupation indication message sent by the base station control device, the second time slot occupation indication message is sent by the base station control device after receiving the first time slot occupation indication message and the The second time slot occupancy indication message contains the time slot number of the time slot pattern configured by the base station control device; 基站将所述第二时隙占用指示报文内包含的时隙编号确定为所述初始时隙图案对应的时隙编号。The base station determines the time slot number included in the second time slot occupation indication message as the time slot number corresponding to the initial time slot pattern. 3.根据权利要求1所述的方法,其特征在于,所述获取TDM帧的初始时隙图案,包括:3. The method according to claim 1, wherein said obtaining the initial time slot pattern of the TDM frame comprises: 将已经保存的时隙图案确定为所述初始时隙图案。The saved time slot pattern is determined as the initial time slot pattern. 4.根据权利要求2所述的方法,其特征在于,所述向基站控制设备发送第一时隙占用指示报文之前,所述方法还包括:4. The method according to claim 2, wherein, before sending the first time slot occupancy indication message to the base station control device, the method further comprises: 基站在已经保存的时隙图案对应的每个时隙内,向基站控制设备发送匹配成功指示报文,所述匹配成功指示报文中包含所述已经保存的时隙图案对应的时隙编号;The base station sends a matching success indication message to the base station control device in each time slot corresponding to the saved time slot pattern, and the matching success indication message includes the time slot number corresponding to the saved time slot pattern; 基站接收所述基站控制设备发送的匹配失败指示报文,所述匹配失败指示报文为所述基站控制设备在比较所述匹配成功指示报文中包含的时隙编号与基站控制设备配置的时隙图案对应的时隙编号不相同后发送的;The base station receives the match failure indication message sent by the base station control device, the match failure indication message is when the base station control device compares the time slot number contained in the match success indication message with the configuration of the base station control device Sent after the slot numbers corresponding to the slot patterns are different; 所述第一时隙占用指示报文为所述基站接收到所述匹配失败指示报文后发送的。The first time slot occupation indication message is sent by the base station after receiving the matching failure indication message. 5.根据权利要求1-4任一项所述的方法,其特征在于,所述在接收到所述基站控制设备发送的第二匹配成功指示报文后,将所述初始时隙图案确定为自身要配置的时隙图案,包括:5. The method according to any one of claims 1-4, wherein after receiving the second matching success indication message sent by the base station control device, determining the initial time slot pattern as The time slot pattern to be configured by itself, including: 接收到所述基站控制设备发送的第二匹配成功指示报文后,向所述基站控制设备发送第一协商成功报文;After receiving the second matching success indication message sent by the base station control device, sending a first negotiation success message to the base station control device; 接收所述基站控制设备发送的第二协商成功报文,所述第二协商成功报文为所述基站控制设备接收到所述第一协商成功报文后发送的;receiving a second negotiation success message sent by the base station control device, where the second negotiation success message is sent by the base station control device after receiving the first negotiation success message; 在接收到所述第二协商成功报文后,将所述初始时隙图案确定为自身要配置的时隙图案。After receiving the second negotiation success message, determine the initial time slot pattern as the time slot pattern to be configured by itself. 6.根据权利要求2所述的方法,其特征在于,还包括:6. The method according to claim 2, further comprising: 基站在接收时隙编号与第二时隙占用指示报文中包含的时隙编号不同时,保存接收时隙编号与第二时隙占用指示报文中包含的时隙编号的对应关系,所述接收时隙编号为基站接收到第二时隙占用指示报文的时隙的编号。When the base station receives a time slot number different from the time slot number contained in the second time slot occupancy indication message, it saves the corresponding relationship between the reception time slot number and the time slot number contained in the second time slot occupancy indication message, and the The receiving time slot number is the number of the time slot in which the base station receives the second time slot occupation indication message. 7.一种时隙图案确定方法,其特征在于,包括:7. A method for determining a time slot pattern, comprising: 接收基站发送的第一匹配成功指示报文,所述第一匹配成功指示报文中包含初始时隙图案对应的时隙编号;Receiving a first matching success indication message sent by the base station, where the first matching success indication message includes a time slot number corresponding to the initial time slot pattern; 比较所述第一匹配成功指示报文中包含的时隙编号与基站控制设备配置的时隙图案的时隙编号;Comparing the time slot number contained in the first matching success indication message with the time slot number of the time slot pattern configured by the base station control device; 在所述第一匹配成功指示报文中包含的时隙编号与基站控制设备配置的时隙图案的时隙编号相同时,向所述基站发送第二匹配成功指示报文,所述第二匹配成功指示报文用于指示所述基站将所述初始时隙图案确定为基站要配置的时隙图案。When the time slot number contained in the first matching success indication message is the same as the time slot number of the time slot pattern configured by the base station control device, send a second matching success indication message to the base station, and the second matching The success indication message is used to instruct the base station to determine the initial time slot pattern as the time slot pattern to be configured by the base station. 8.根据权利要求7所述的方法,其特征在于,还包括:8. The method according to claim 7, further comprising: 接收所述基站发送的第一时隙占用指示报文;receiving the first time slot occupation indication message sent by the base station; 在接收到所述第一时隙占用指示报文后,向所述基站发送第二时隙占用指示报文,所述第二时隙占用指示报文中包含基站控制设备配置的时隙图案的时隙编号,所述第二时隙占用指示报文用于指示基站将第二时隙占用指示报文中包含的时隙编号确定为初始时隙图案的时隙编号。After receiving the first time slot occupancy indication message, send a second time slot occupancy indication message to the base station, where the second time slot occupancy indication message includes information about the time slot pattern configured by the base station control device A time slot number, the second time slot occupation indication message is used to instruct the base station to determine the time slot number contained in the second time slot occupation indication message as the time slot number of the initial time slot pattern. 9.根据权利要求8所述的方法,其特征在于,所述接收所述基站发送的第一时隙占用指示报文之前,所述方法还包括:9. The method according to claim 8, wherein before receiving the first time slot occupancy indication message sent by the base station, the method further comprises: 接收基站发送的匹配成功指示报文,所述匹配成功指示报文中包含基站内已经保存的时隙图案对应的时隙编号;receiving a matching success indication message sent by the base station, the matching success indication message including the time slot number corresponding to the time slot pattern saved in the base station; 比较所述匹配成功指示报文中包含的时隙编号与基站控制设备配置的时隙图案的时隙编号;Comparing the time slot number contained in the matching success indication message with the time slot number of the time slot pattern configured by the base station control device; 在所述匹配成功指示报文中包含的时隙编号与基站控制设备配置的时隙图案的时隙编号不相同时,向所述基站发送匹配失败指示报文;When the time slot number contained in the matching success indication message is different from the time slot number of the time slot pattern configured by the base station control device, sending a matching failure indication message to the base station; 所述第一时隙占用指示报文为所述基站在接收到所述匹配失败指示报文后发送的。The first time slot occupation indication message is sent by the base station after receiving the matching failure indication message. 10.根据权利要求7-9任一项所述的方法,其特征在于,所述向所述基站发送第二匹配成功指示报文之后,所述方法还包括:10. The method according to any one of claims 7-9, wherein after sending the second matching success indication message to the base station, the method further comprises: 接收所述基站发送的第一协商成功报文,所述第一协商成功报文为所述基站接收到所述第二匹配成功指示报文后发送的;receiving a first negotiation success message sent by the base station, where the first negotiation success message is sent by the base station after receiving the second matching success indication message; 接收到所述第一协商成功报文后,向所述基站发送第二协商成功报文,所述第二协商成功报文用于指示所述基站将初始时隙图案配置成基站要配置的时隙图案。After receiving the first negotiation success message, sending a second negotiation success message to the base station, the second negotiation success message is used to instruct the base station to configure the initial time slot pattern as the time slot pattern to be configured by the base station. Gap pattern. 11.一种基站,其特征在于,包括:11. A base station, characterized in that it comprises: 获取模块,用于获取时分复用TDM帧的初始时隙图案;An acquisition module, configured to acquire an initial time slot pattern of a time division multiplexed TDM frame; 发送模块,用于在所述获取模块获取的所述初始时隙图案对应的每个时隙内,向基站控制设备发送第一匹配成功指示报文,所述第一匹配成功指示报文中包含初始时隙图案对应的时隙编号;A sending module, configured to send a first matching success indication message to the base station control device in each time slot corresponding to the initial time slot pattern acquired by the acquisition module, and the first matching success indication message includes The slot number corresponding to the initial slot pattern; 确定模块,用于在接收到所述基站控制设备发送的第二匹配成功指示报文后,将所述初始时隙图案确定为自身要配置的时隙图案,所述第二匹配成功指示报文为所述基站控制设备在比较所述第一匹配成功指示报文中包含的时隙编号与基站控制设备配置的时隙图案对应的时隙编号相同后发送的。A determining module, configured to determine the initial time slot pattern as the time slot pattern to be configured by itself after receiving the second matching success indication message sent by the base station control device, and the second matching success indication message It is sent by the base station control device after comparing that the time slot number included in the first matching success indication message is the same as the time slot number corresponding to the time slot pattern configured by the base station control device. 12.根据权利要求11所述的基站,其特征在于,所述获取模块包括:12. The base station according to claim 11, wherein the acquiring module comprises: 第一发送单元,用于向基站控制设备发送第一时隙占用指示报文;a first sending unit, configured to send a first time slot occupation indication message to a base station control device; 第一接收单元,用于接收基站控制设备发送的第二时隙占用指示报文,所述第二时隙占用指示报文为所述基站控制设备接收到所述第一时隙占用指示报文后发送的且所述第二时隙占用指示报文内包含基站控制设备配置的时隙图案的时隙编号;A first receiving unit, configured to receive a second time slot occupation indication message sent by a base station control device, where the second time slot occupation indication message is the first time slot occupation indication message received by the base station control device The second time slot occupancy instruction message sent later and includes the time slot number of the time slot pattern configured by the base station control device; 确定单元,用于将所述第二时隙占用指示报文内包含的时隙编号确定为所述初始时隙图案对应的时隙编号。A determining unit, configured to determine the time slot number contained in the second time slot occupation indication message as the time slot number corresponding to the initial time slot pattern. 13.根据权利要求11所述的基站,其特征在于,所述获取模块具体用于:13. The base station according to claim 11, wherein the acquiring module is specifically used for: 将已经保存的时隙图案确定为所述初始时隙图案。The saved time slot pattern is determined as the initial time slot pattern. 14.根据权利要求12所述的基站,其特征在于,所述获取模块还包括:14. The base station according to claim 12, wherein the acquiring module further comprises: 第二发送单元,用于在已经保存的时隙图案对应的每个时隙内,向基站控制设备发送匹配成功指示报文,所述匹配成功指示报文中包含所述已经保存的时隙图案对应的时隙编号;The second sending unit is configured to send a match success indication message to the base station control device in each time slot corresponding to the saved time slot pattern, and the match success indication message includes the saved time slot pattern corresponding time slot number; 第二接收单元,用于接收所述基站控制设备发送的匹配失败指示报文,所述匹配失败指示报文为所述基站控制设备在所述匹配成功指示报文中包含的时隙编号与基站控制设备配置的时隙图案对应的时隙编号不相同后发送的;The second receiving unit is configured to receive a match failure indication message sent by the base station control device, where the match failure indication message is the time slot number and the base station number contained in the match success indication message by the base station control device The time slot numbers corresponding to the time slot pattern configured by the control device are different; 所述第一发送单元具体用于在所述第二接收单元接收到所述匹配失败指示报文后,向基站控制设备发送第一时隙占用指示报文。The first sending unit is specifically configured to send a first time slot occupation indication message to a base station control device after the second receiving unit receives the matching failure indication message. 15.根据权利要求11-14任一项所述的基站,其特征在于,所述确定模块包括:15. The base station according to any one of claims 11-14, wherein the determining module comprises: 协商单元,用于接收到所述基站控制设备发送的第二匹配成功指示报文后,向所述基站控制设备发送第一协商成功报文,并接收所述基站控制设备发送的第二协商成功报文,所述第二协商成功报文为所述基站控制设备接收到所述第一协商成功报文后发送的;The negotiating unit is configured to, after receiving the second matching success indication message sent by the base station control device, send a first negotiation success message to the base station control device, and receive the second negotiation success message sent by the base station control device message, the second negotiation success message is sent by the base station control device after receiving the first negotiation success message; 配置单元,用于在所述协商单元接收到所述第二协商成功报文后,将所述初始时隙图案确定为自身要配置的时隙图案。The configuring unit is configured to, after the negotiating unit receives the second negotiation success message, determine the initial time slot pattern as the time slot pattern to be configured by itself. 16.根据权利要求12所述基站,其特征在于,还包括:保存模块,用于在接收时隙编号与第二时隙占用指示报文中包含的时隙编号不同时,保存接收时隙编号与第二时隙占用指示报文中包含的时隙编号的对应关系,所述接收时隙编号为基站接收到第二时隙占用指示报文的时隙的编号。16. The base station according to claim 12, further comprising: a saving module, configured to save the receiving time slot number when the receiving time slot number is different from the time slot number contained in the second time slot occupancy indication message Corresponding relationship with the time slot number included in the second time slot occupation indication message, the received time slot number is the number of the time slot for which the base station receives the second time slot occupation indication message. 17.一种基站控制设备,其特征在于,包括:17. A base station control device, characterized in that it comprises: 第一接收模块,用于接收基站发送的第一匹配成功指示报文,所述第一匹配成功指示报文中包含初始时隙图案对应的时隙编号;The first receiving module is configured to receive a first matching success indication message sent by the base station, where the first matching success indication message includes a time slot number corresponding to the initial time slot pattern; 第一比较模块,用于比较所述第一匹配成功指示报文中包含的时隙编号与基站控制设备配置的时隙图案的时隙编号;A first comparison module, configured to compare the time slot number contained in the first matching success indication message with the time slot number of the time slot pattern configured by the base station control device; 第一发送模块,用于在所述第一比较模块比较的结果为所述第一匹配成功指示报文中包含的时隙编号与基站控制设备配置的时隙图案的时隙编号相同时,向所述基站发送第二匹配成功指示报文,所述第二匹配成功指示报文用于指示所述基站将所述初始时隙图案确定为基站要配置的时隙图案。The first sending module is configured to, when the comparison result of the first comparison module is that the time slot number contained in the first matching success indication message is the same as the time slot number of the time slot pattern configured by the base station control device, send The base station sends a second matching success indication message, where the second matching success indication message is used to instruct the base station to determine the initial time slot pattern as the time slot pattern to be configured by the base station. 18.根据权利要求17所述的设备,其特征在于,还包括:18. The device of claim 17, further comprising: 第二接收模块,用于接收所述基站发送的第一时隙占用指示报文;A second receiving module, configured to receive the first time slot occupation indication message sent by the base station; 第二发送模块,用于在所述第二接收模块接收到所述第一时隙占用指示报文后,向所述基站发送第二时隙占用指示报文,所述第二时隙占用指示报文中包含基站控制设备配置的时隙图案的时隙编号,所述第二时隙占用指示报文用于指示基站将第二时隙占用指示报文中包含的时隙编号确定为初始时隙图案的时隙编号。The second sending module is configured to send a second time slot occupation indication message to the base station after the second receiving module receives the first time slot occupation indication message, the second time slot occupation indication message The message includes the time slot number of the time slot pattern configured by the base station control device, and the second time slot occupancy indication message is used to instruct the base station to determine the time slot number contained in the second time slot occupancy indication message as the initial time slot number. The slot number of the slot pattern. 19.根据权利要求18所述的设备,其特征在于,还包括:19. The device of claim 18, further comprising: 第三接收模块,用于接收基站发送的匹配成功指示报文,所述匹配成功指示报文中包含基站内已经保存的时隙图案对应的时隙编号;The third receiving module is configured to receive a matching success indication message sent by the base station, and the matching success indication message includes a time slot number corresponding to a time slot pattern saved in the base station; 第二比较模块,用于比较所述匹配成功指示报文中包含的时隙编号与基站控制设备配置的时隙图案的时隙编号;A second comparison module, configured to compare the time slot number contained in the matching success indication message with the time slot number of the time slot pattern configured by the base station control device; 第三发送模块,用于在所述第二比较模块比较的结果为所述匹配成功指示报文中包含的时隙编号与基站控制设备配置的时隙图案的时隙编号不相同时,向所述基站发送匹配失败指示报文;The third sending module is configured to, when the result of the comparison by the second comparison module is that the time slot number contained in the matching success indication message is different from the time slot number of the time slot pattern configured by the base station control device, send the The base station sends a matching failure indication message; 所述第二接收模块具体用于接收所述基站发送的第一时隙占用指示报文,所述第一时隙占用指示报文为所述基站在接收到所述匹配失败指示报文后发送的。The second receiving module is specifically configured to receive a first time slot occupation indication message sent by the base station, and the first time slot occupation indication message is sent by the base station after receiving the matching failure indication message of. 20.根据权利要求17-19任一项所述的设备,其特征在于,还包括:20. The device according to any one of claims 17-19, further comprising: 第四接收模块,用于接收所述基站发送的第一协商成功报文,所述第一协商成功报文为所述基站接收到所述第二匹配成功指示报文后发送的;A fourth receiving module, configured to receive a first negotiation success message sent by the base station, where the first negotiation success message is sent by the base station after receiving the second matching success indication message; 第四发送模块,用于在所述第四接收模块接收到所述第一协商成功报文后,向所述基站发送第二协商成功报文,所述第二协商成功报文用于指示所述基站将初始时隙图案配置成基站要配置的时隙图案。a fourth sending module, configured to send a second negotiation success message to the base station after the fourth receiving module receives the first negotiation success message, and the second negotiation success message is used to indicate the The base station configures the initial time slot pattern as the time slot pattern to be configured by the base station.
CN201210026251.8A 2012-02-07 2012-02-07 Time slot pattern determination method and equipment Active CN102573079B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210026251.8A CN102573079B (en) 2012-02-07 2012-02-07 Time slot pattern determination method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210026251.8A CN102573079B (en) 2012-02-07 2012-02-07 Time slot pattern determination method and equipment

Publications (2)

Publication Number Publication Date
CN102573079A CN102573079A (en) 2012-07-11
CN102573079B true CN102573079B (en) 2015-01-21

Family

ID=46417238

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210026251.8A Active CN102573079B (en) 2012-02-07 2012-02-07 Time slot pattern determination method and equipment

Country Status (1)

Country Link
CN (1) CN102573079B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1592144A2 (en) * 1997-12-01 2005-11-02 Matsushita Electric Industrial Co., Ltd. Radio communication apparatus and method
CN101141196A (en) * 2007-10-10 2008-03-12 中兴通讯股份有限公司 Method to display time slot configuration graphical interfaces in telecommunication network management
CN101257344A (en) * 2008-04-09 2008-09-03 陆仕海 Anti-jamming method of movable field TDD wireless transmission group network
CN101854236A (en) * 2010-04-05 2010-10-06 中兴通讯股份有限公司 Method and system for feeding back channel information

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1592144A2 (en) * 1997-12-01 2005-11-02 Matsushita Electric Industrial Co., Ltd. Radio communication apparatus and method
CN101141196A (en) * 2007-10-10 2008-03-12 中兴通讯股份有限公司 Method to display time slot configuration graphical interfaces in telecommunication network management
CN101257344A (en) * 2008-04-09 2008-09-03 陆仕海 Anti-jamming method of movable field TDD wireless transmission group network
CN101854236A (en) * 2010-04-05 2010-10-06 中兴通讯股份有限公司 Method and system for feeding back channel information

Also Published As

Publication number Publication date
CN102573079A (en) 2012-07-11

Similar Documents

Publication Publication Date Title
CN109219157B (en) Method and device for configuring a network mode
CN101651528A (en) Uplink transmission method and uplink transmission system
EP3806535A1 (en) Joint transmission method and communication device
US20230142251A1 (en) Flexible Ethernet Flexe Automatic Configuration Method and Apparatus
JP4755173B2 (en) Method and apparatus for generating a compressed status report updated to indicate data to be received later
JP2022185078A (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
CN106803785A (en) A kind of link management method and device
EP3439358A1 (en) Method for processing voice service and base station
CN101720099B (en) Node cooperation method and node equipment
CN108632855B (en) Method and device for establishing interface between base stations
CN102946618B (en) Load sharing method, base station, subscriber equipment, load sharing nodes and system
CN108391324A (en) Apparatus and method for processing dual connection
KR102236867B1 (en) Short physical-layer control frames
EP3754904A1 (en) Wireless backhaul network, communication method and apparatus
CN102573079B (en) Time slot pattern determination method and equipment
CN115733745B (en) Method and device for generating flexible Ethernet service transmission configuration
WO2014139307A1 (en) Method and apparatus for mcs switching
CN102546137B (en) Method and device for detecting wireless link
CN113748715A (en) Cell group configuration in a split base station architecture
CN107770847A (en) Method for network access, access device and terminal device
CN101615973B (en) Data transmission method, device, user equipment and communication system
EP2840861B1 (en) Peer-to-peer wireless communication-based transmission method and device
TWI481243B (en) Method of quality of service negotiation cross multi-media
CN103444093B (en) Compressed mode startup method, network side device and terminal device
JP7322524B2 (en) Communication system and communication device

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