CN112825503A - Link scheduling method and device - Google Patents

Link scheduling method and device Download PDF

Info

Publication number
CN112825503A
CN112825503A CN201911140523.5A CN201911140523A CN112825503A CN 112825503 A CN112825503 A CN 112825503A CN 201911140523 A CN201911140523 A CN 201911140523A CN 112825503 A CN112825503 A CN 112825503A
Authority
CN
China
Prior art keywords
optical port
optical
aau
target
bbu
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.)
Granted
Application number
CN201911140523.5A
Other languages
Chinese (zh)
Other versions
CN112825503B (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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201911140523.5A priority Critical patent/CN112825503B/en
Publication of CN112825503A publication Critical patent/CN112825503A/en
Application granted granted Critical
Publication of CN112825503B publication Critical patent/CN112825503B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Optical Communication System (AREA)

Abstract

The invention provides a link scheduling method and equipment, which are used for solving the problems of low efficiency caused by manual change of optical fiber connection in the prior art. The method is applied to the link scheduling equipment and comprises the following steps that the link scheduling equipment is connected with at least one baseband processing unit (BBU) to be tested through a cable, the link scheduling equipment is connected with at least one active antenna processing unit (AAU) to be tested through a cable, and the at least one BBU to be tested and the at least one AAU to be tested are not conducted on the link scheduling equipment, wherein the method comprises the following steps: receiving a connection instruction sent by the management equipment, wherein the connection instruction is used for instructing to conduct a link between a target BBU in the at least one BBU to be tested and a target AAU in the at least one AAU to be tested; and conducting a link between the target BBU and the target AAU according to the connection instruction.

Description

Link scheduling method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a link scheduling method and device.
Background
In the Base station test process, various types of radio frequency units (Active Antenna processing units) often need to be traversed, the Active Antenna processing Unit (AAU) is accessed to a Base Band processing Unit (BBU) of the Base station through an optical fiber, and the traversing of the AAU needs to change optical fiber connection.
At present, the optical fiber connection is usually changed manually by manpower, the work of optical fiber wiring or equipment moving is involved, the efficiency is low, and the automatic test cannot be realized.
Disclosure of Invention
The invention provides a link scheduling method and equipment, which are used for solving the problems of low efficiency caused by manual change of optical fiber connection in the prior art.
In a first aspect, an embodiment of the present invention provides a link scheduling method, which is applied to a link scheduling device, where the link scheduling device is connected to at least one baseband processing unit BBU to be tested by a cable, the link scheduling device is connected to at least one active antenna processing unit AAU to be tested by a cable, and no conduction exists between the at least one BBU to be tested and the at least one AAU to be tested on the link scheduling device, and the method includes:
receiving a connection instruction sent by a management device, wherein the connection instruction is used for instructing to conduct a link between a target BBU in the at least one BBU to be tested and a target AAU in the at least one AAU to be tested;
and conducting a link between the target BBU and the target AAU according to the connection instruction.
In an optional implementation manner, the connection instruction carries an identifier of the target BBU and type information of the AAU, where the target AAU is an AAU that is matched with the target BBU in the at least one to-be-tested AAU, and the type of the target AAU is matched with the type information of the AAU.
In an optional implementation manner, the connection instruction carries an identifier of the target BBU and an identifier of the target AAU.
In an optional implementation manner, a plurality of optical ports are provided on the link scheduling device, the optical ports are respectively connected to the at least one BBU to be tested and the at least one AAU to be tested through cables, and the conducting a link between the target BBU and the target AAU according to the connection instruction includes:
determining a first optical port set and a second optical port set in a plurality of optical ports included in the link scheduling device, where optical ports in the first optical port set are respectively connected with the target BBU through cables, and optical ports in the second optical port set are connected with the target AAU through cables;
and communicating a first optical port in the first optical port set and a second optical port in the second optical port set.
In an optional implementation manner, the first optical port is any one of at least one optical port included in the first optical port set and in a non-connected state, and the second optical port is any one of the second optical ports set.
In an optional implementation manner, the optical ports in the first optical port set are connected to the device optical ports on the target BBU in a one-to-one correspondence manner through cables, and the optical ports in the second optical port set are connected to the device optical ports on the target AAU in a one-to-one correspondence manner through cables;
wherein, the connection instruction carries an identifier of a first device optical port in the device optical ports on the target BBU and an identifier of a second device optical port in the device optical ports on the target AAU;
the conducting a first optical port in the first optical port set and a second optical port in the second optical port set includes:
according to the identification of the first equipment optical port, determining the first optical port connected with the first equipment optical port through a cable from the first optical port set;
according to the identification of the second equipment optical port, determining the second optical port connected with the second equipment optical port through a cable from the second optical port set;
and communicating the first optical port and the second optical port.
In an optional implementation, after the first optical port and the second optical port are conducted, the method further includes:
receiving an interrupt instruction sent by the management device, wherein the interrupt instruction carries an identifier of the optical port of the first device;
according to the identification of the first equipment optical port, determining the first optical port connected with the first equipment optical port through a cable from the first optical port set;
interrupting a link between the first optical port and the second optical port.
In a second aspect, an embodiment of the present invention provides a link scheduling apparatus, where the link scheduling apparatus is connected to at least one baseband processing unit BBU to be tested by a cable, the link scheduling apparatus is connected to at least one active antenna processing unit AAU to be tested by a cable, and there is no conduction between the at least one BBU to be tested and the at least one AAU to be tested on the link scheduling apparatus, and the apparatus includes:
a receiving module, configured to receive a connection instruction sent by a management device, where the connection instruction is used to instruct to turn on a link between a target BBU in the at least one BBU to be tested and a target AAU in the at least one AAU to be tested;
and the conducting module is used for conducting a link between the target BBU and the target AAU according to the connection instruction.
In an optional implementation manner, the connection instruction carries an identifier of the target BBU and type information of the AAU, where the target AAU is an AAU that is matched with the target BBU in the at least one to-be-tested AAU, and the type of the target AAU is matched with the type information of the AAU.
In an optional implementation manner, the connection instruction carries an identifier of the target BBU and an identifier of the target AAU.
In an optional implementation manner, a plurality of optical ports are provided on the link scheduling device, the optical ports are respectively connected to the at least one BBU to be tested and the at least one AAU to be tested through cables, and the conducting module is specifically configured to:
determining a first optical port set and a second optical port set in a plurality of optical ports included in the link scheduling device, where optical ports in the first optical port set are respectively connected with the target BBU through cables, and optical ports in the second optical port set are connected with the target AAU through cables;
and communicating a first optical port in the first optical port set and a second optical port in the second optical port set.
In an optional implementation manner, the first optical port is any one of at least one optical port included in the first optical port set and in a non-connected state, and the second optical port is any one of the second optical ports set.
In an optional implementation manner, the optical ports in the first optical port set are connected to the device optical ports on the target BBU in a one-to-one correspondence manner through cables, and the optical ports in the second optical port set are connected to the device optical ports on the target AAU in a one-to-one correspondence manner through cables;
wherein, the connection instruction carries an identifier of a first device optical port in the device optical ports on the target BBU and an identifier of a second device optical port in the device optical ports on the target AAU;
the conducting module, when conducting a first optical port in the first optical port set and a second optical port in the second optical port set, is specifically configured to:
according to the identification of the first equipment optical port, determining the first optical port connected with the first equipment optical port through a cable from the first optical port set;
according to the identification of the second equipment optical port, determining the second optical port connected with the second equipment optical port through a cable from the second optical port set;
and communicating the first optical port and the second optical port.
In an alternative implementation, the apparatus further includes an interrupt module;
the receiving module is further configured to receive an interrupt instruction sent by the management device after the first optical port and the second optical port are switched on, where the interrupt instruction carries an identifier of the first device optical port;
the interruption module is configured to determine, according to the identifier of the first device optical port, the first optical port connected to the first device optical port through the cable from the first optical port set; interrupting a link between the first optical port and the second optical port.
In a third aspect, an embodiment of the present invention provides a link scheduling apparatus, including:
a memory and a processor;
a memory for storing program instructions;
and the processor is used for calling the program instructions stored in the memory and executing the method of any implementation mode of the first aspect according to the obtained program.
In a fourth aspect, the present invention provides a computer-readable storage medium storing computer instructions, which, when executed on a computer, cause the computer to perform the above method.
In the embodiment of the invention, at least one BBU to be tested and at least one AAU to be tested are connected to a link scheduling device in advance through cables, the link scheduling device is applied to receive a connection instruction which is sent by a management device and used for indicating to conduct a link between a target BBU in the at least one BBU to be tested and a target AAU in the at least one AAU to be tested, and then the link between the target BBU and the target AAU is conducted according to the connection instruction. Need not the manual change optical fiber connection of manual work based on the test demand, realize automatic test, promoted efficiency.
Drawings
Fig. 1 is a schematic view of a first connection structure provided in an embodiment of the present invention;
fig. 2 is a flowchart illustrating a link scheduling method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a second connection structure according to an embodiment of the present invention;
FIG. 4 is a schematic view of a third connection structure provided in the embodiment of the present invention;
fig. 5 is a block diagram of a link scheduling device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another link scheduling device provided by the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The plurality of the present invention means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. Further, it should be understood that although the terms first, second, etc. may be used to describe various optical ports in embodiments of the present invention, these optical ports should not be limited by these terms. These terms are only used to distinguish the ports from each other.
The embodiment of the invention provides a link scheduling method and equipment, which are used for solving the problems of low efficiency caused by manual change of optical fiber connection in the prior art. The method and the device are based on the same inventive concept, and because the principles of solving the problems of the method and the device are similar, the implementation of the device and the method can be mutually referred, and repeated parts are not repeated.
For the convenience of understanding the present embodiment, a link scheduling method provided in the embodiment of the present invention is described in detail.
First, as shown in fig. 1, an embodiment of the present invention provides a first connection structure diagram, which illustrates that a link scheduling device 100 is connected to at least one baseband processing unit BBU to be tested through a cable, and the link scheduling device 100 is connected to at least one active antenna processing unit AAU to be tested through a cable; specifically, two BBUs are illustrated in fig. 1, BBU1 and BBU 2; specifically, three AAUs are illustrated in fig. 1, AAU1, AAU2, and AAU3, respectively. There is no conduction between at least one BBU to be tested and at least one AAU to be tested on the link scheduling apparatus 100.
Further, referring to fig. 2, an embodiment of the present invention provides a link scheduling method, which is applied to the foregoing link scheduling device, and the method includes:
step S201, receiving a connection instruction sent by the management device, wherein the connection instruction is used for instructing to conduct a link between a target BBU in at least one BBU to be tested and a target AAU in at least one AAU to be tested; the management device may be a terminal device, such as a computer terminal, a mobile phone terminal, or the like, that establishes a communication connection with the link scheduling device.
And step S202, conducting a link between the target BBU and the target AAU according to the connection instruction.
In the embodiment of the invention, at least one BBU to be tested and at least one AAU to be tested are connected to a link scheduling device in advance through cables, the link scheduling device is applied to receive a connection instruction which is sent by a management device and used for indicating to conduct a link between a target BBU in the at least one BBU to be tested and a target AAU in the at least one AAU to be tested, and then the link between the target BBU and the target AAU is conducted according to the connection instruction. Need not the manual change optical fiber connection of manual work based on the test demand, realize automatic test, promoted efficiency.
Specifically, the management device may instruct the link scheduling device to conduct a link between a BBU and an AAU belonging to a specified type in the AAUs matched with the BBU; or the management equipment indicates the link scheduling equipment to specifically indicate to conduct the link between a certain BBU and a certain AAU. Therefore, in an optional implementation manner, the connection instruction carries an identifier of the target BBU and type information of the AAU, the target AAU is an AAU matched with the target BBU in the at least one to-be-tested AAU, the type of the target AAU is matched with the type information of the AAU, and the type information of the AAU specifically indicates the type of the AAU; in another optional implementation manner, the connection instruction carries an identifier of the target BBU and an identifier of the target AAU.
The AAU matched with the target BBU is an AAU supporting connection of the target BBU, and may be determined according to an access right configured for the AAU for at least one BBU to be tested. In specific implementation, independent management account numbers can be respectively set for one or more base stations managed by the management device, and because one base station includes one BBU, the identifier of the BBU can be used as the user name of the corresponding management account number, and the related information of the AAU matched with one BBU is recorded in each management account number. Based on this, the management device can acquire a management account corresponding to a certain base station required by a current test line from the base station managed by the management device based on the requirement of the test case, and further initiate a link scheduling indication between the BBU corresponding to the management account and the AAU matched with the management account to the link scheduling device, and further perform related link scheduling operation by the link scheduling device. The access permission is divided to avoid mutual influence among the test cases, and during specific implementation, the management equipment can actively acquire the management account number required by the current test line from the base station and package the management account number into the automatic script, so that the automatic script can be applied to different test lines, the related operation flow is simplified, and the efficiency is improved.
Further, on the basis of fig. 1, referring to fig. 3, an embodiment of the present invention further provides a second schematic connection structure, where a plurality of optical ports are disposed on the link scheduling device 100 (or may be referred to as an optical matrix), and the plurality of optical ports are respectively connected to at least one BBU to be tested and at least one AAU to be tested through cables, specifically, fig. 3 illustrates that the BBU1 is connected to the first three optical ports in the first column of the link scheduling device 100 through cables, and the BBU2 is connected to the last two optical ports in the first column of the link scheduling device 100 through cables; the AAU1 is connected to the first two optical ports of the second column on the link scheduling device 100 by cables, the AAU2 is connected to the last two optical ports of the second column on the link scheduling device 300 by cables, and the AAU3 is connected to the first two optical ports of the third column on the link scheduling device 300 by cables.
Based on this, the above-mentioned conducting the link between the target BBU and the target AAU according to the connection instruction can be implemented by referring to the following manner:
(1) determining a first optical port set and a second optical port set in a plurality of optical ports included in the link scheduling equipment, wherein the optical ports in the first optical port set are respectively connected with a target BBU through cables, and the optical ports in the second optical port set are connected with a target AAU through cables;
(2) and communicating a first optical port in the first optical port set and a second optical port in the second optical port set.
In an optional embodiment, the first optical port is any one of at least one optical port included in the first optical port set in a non-connected state, and the second optical port is any one of the second optical ports set.
In another optional embodiment, the optical ports in the first optical port set are connected to the device optical ports on the target BBU in a one-to-one correspondence manner through cables, and the optical ports in the second optical port set are connected to the device optical ports on the target AAU in a one-to-one correspondence manner through cables; as shown in the third schematic connection structure diagram shown in fig. 4, taking BBU1 as a target BBU and AAU3 as a target AAU as an example, it is illustrated that three device optical ports on BBU1 and optical ports in the first optical port set are connected in a one-to-one correspondence manner through cables, and two device optical ports on AAU3 and optical ports in the second optical port set are connected in a one-to-one correspondence manner through cables. The connection instruction carries an identifier of a first device optical port in the device optical ports on the target BBU and an identifier of a second device optical port in the device optical ports on the target AAU.
Based on this, the above-mentioned conduction between the first optical port in the first optical port set and the second optical port in the second optical port set can be implemented as follows:
according to the identification of the first equipment optical port, a first optical port connected with the first equipment optical port through a cable is determined from the first optical port set; according to the identification of the optical port of the second device, a second optical port connected with the optical port of the second device through a cable is determined from the second optical port set; and the first optical port and the second optical port are conducted.
The link scheduling device uses the identifier as an index and stores a correspondence between the identifier of the optical port and the identifier of the device optical port on the AAU or BBU to which the link scheduling device is connected, that is, for example, the link scheduling device may determine the identifier of the first device optical port on the link scheduling device according to the identifier of the first device optical port on the target BBU, and further determine the first optical port connected to the first device optical port in the first optical port set according to the identifier of the first optical port.
In the embodiment of the present invention, the optical port on the link scheduling device is bound to the device optical port of the AAU or BBU connected to the optical port, for example, a correspondence relationship between the identifier of the optical port and the identifier of the device optical port on the AAU or BBU connected to the optical port is established. The identifier of the equipment gateway is used as an index, when the binding between the equipment optical port and the optical port is changed, the optical port corresponding to the equipment optical port on the link scheduling equipment can be accurately positioned, the influence of environmental changes such as the position of the link scheduling equipment is avoided, and the transportability is strong.
In specific implementation, the identifier of the optical port on the BBU or AAU and the identifier of the optical port on the link scheduling device may be a custom name that can uniquely indicate the optical port of the device or the optical port, and the like. For ease of understanding, embodiments of the present invention provide a named example, as follows:
optical port of BBU equipment
For one BBU, it is considered that there are multiple slot positions for inserting a board card in the BBU, and each slot position can insert one board card, and each board card has multiple device optical ports, so the device optical port in one BBU can be represented by "slot number + device optical port number", for example, the 1 st optical port in the board card inserted in the 8 th slot position can be named as 8-1.
Furthermore, for different BBUs, device identifiers of BBUs may be introduced, such as names, numbers (ids), and the like, which can uniquely represent one BBU, so that the device optical ports on the BBUs may be represented by "device identifier of BBU + slot number + device optical port number", for example, the 1 st optical port on the board card inserted in the 8 th slot on the BBU with the number of 201 may be named as 201-8-1.
Equipment optical port on AAU (II)
For a plurality of device optical ports on one AAU, the device optical ports on one AAU can be represented by a "device optical port number", such as the 1 st optical port, which can be named as "1".
Furthermore, for different AAUs, considering that the types (models) of the different AAUs may be different, in order to distinguish the device optical ports on the different AAUs, the AAU model + the device optical port number + the device identifier of the AAU may be represented by "AAU model + the device optical port number + the device identifier of the AAU", where the device identifier of the AAU may be its physical location, name, and number. For example, the No. 0 light port on the AAU with type1, which is located on the 2 nd column A of the equipment rack, can be named A-2-type 1-0.
Optical interface on (III) link scheduling equipment
The optical ports may be located by assigning a unique number to each optical port on the link scheduling device, and specifically, the optical ports may be uniquely numbered according to their physical positions on the link scheduling device panel. For example, the panel numbered 1, i.e. the light port on the 2 nd row and 1 st column of the panel 1, can be named as: 1.2.1; the panel numbered 1, i.e. the row 2 and column 2 light ports on the panel 1, can be named as: 1.2.2.
based on the named example, assuming that a wired cable connection is established between the optical port on the 1 st line on the 2 nd column on the current link scheduling device panel 1 and the 1 st optical port on the board card inserted into the 8 th slot position on the BBU numbered 201, the corresponding relationship between the identifier "1.2.1" of the optical port and the identifier "201-8-1" of the device optical port is recorded; assuming that a cable connection is established between the optical ports in the 2 nd row and the 3 rd column on the current link scheduling equipment panel 1 and the optical ports 0 th column and the 2 nd station on the AAU with the type of 1 on the equipment rack, the corresponding relationship between the identifier "1.2.3" of the optical ports and the identifier "a-2-type 1-0" of the equipment optical ports is recorded.
Further, based on the named example, the embodiment of the present invention further provides a way to turn on a link between the target BBU and the target AAU according to the connection instruction, which is described in detail as follows.
Firstly, taking an example that a connection instruction carries an identifier of a target BBU and type information of an AAU, the method includes the following steps:
(1) determining a first optical port set in a plurality of optical ports included on the link scheduling equipment according to the identifier of the target BBU; and the identifier of the equipment optical port corresponding to the identifier of each optical port in the first optical port set comprises the identifier of the target BBU.
In specific implementation, a first obtaining function may be predefined, where the first obtaining function is used to obtain an identifier of an optical interface connected to the target BBU on the link scheduling apparatus. The identification of the target BBU is transmitted to a first acquisition function, a plurality of optical ports included by the link scheduling equipment are traversed, the optical ports containing the identification of the target BBU in the identification of the corresponding equipment optical ports are screened out from the plurality of optical ports, and then the identification of the screened optical ports is returned by taking the identification of the equipment optical ports as an index. For example, the first obtaining function is defined as GetBbuOfp (), BBU is defined as GetBbuOfp (201), and BBU [8,1] represents an identifier (1.2.1) of the 1 st optical port on the board where the 8 th slot is inserted on the BBU with the number of 201 on the optical port corresponding to the link scheduling device.
(2) Determining an AAU (architecture) matched with the target BBU based on the identifier of the target BBU and the authority division information table; and the AAU matched with the target BBU represents the corresponding relation between the equipment identifier of the target BBU and the equipment identifier of the AAU supporting the connection of the target BBU, which is stored in the BBU authority division table.
(3) Determining a second optical port set from at least one optical port which is connected with the AAU matched with the target BBU and is included on the link scheduling equipment through a cable according to the AAU type represented by the condition information; wherein, the identifier of the device optical port corresponding to the identifier of each optical port in the second optical port set contains the AAU type.
In specific implementation, a second obtaining function may be predefined, where the second obtaining function is used to obtain an identifier of an optical port connected to the target AAU on the link scheduling device. And transmitting the AAU type represented by the condition information carried in the connection instruction to a second acquisition function, traversing at least one optical port connected with the AAU matched with the target BBU and included in the link scheduling equipment through a cable, screening out the optical port of the AAU type contained in the identifier of the corresponding equipment optical port, and returning the identifier of the screened optical port by taking the identifier of the equipment optical port as an index. For example, if the first obtaining function is defined in advance as GetAauOfp (), aau is defined as GetAauOfp (type1), aau [0] indicates an identifier (1.2.3) of an optical port numbered 0 on aau of type1 in the non-connected state, on the optical port corresponding to the link scheduling device.
(4) And when the management equipment does not specifically indicate the conducted optical ports, conducting a link between any one of the at least one optical port in the first optical port set in the non-connected state and any one of the second optical port set.
(5) When the management device specifically indicates a conducted optical port, that is, the aforementioned connection instruction carries an identifier of a first device optical port in the device optical ports on the target BBU and an identifier of a second device optical port in the device optical ports on the target AAU, a first optical port in the first optical port set that is connected with a first device optical port cable is conducted with a second optical port in the second optical port set that is connected with a second device optical port cable.
In specific implementation, a connection function may be predefined, the first device optical port identifier and the second device optical port identifier are transferred to the connection function, an identifier of a first optical port corresponding to the first device optical port identifier in the first optical port set is determined, an identifier of a second optical port corresponding to the second device optical port identifier in the second optical port set is determined, and then an executable command line of a bottom layer of the link scheduling device is generated, so as to implement the link connection between the first optical port and the second optical port. For example, a connection function is defined as OfpConnect (), based on the determined target BBU and target AAU, a transfer parameter does not need to indicate which BBU or device optical port identifier in the AAU, OfpConnect (BBU [8,1], AAU [0]) is executed, that is, an optical port (1.2.1) connected to the 1 st optical port of the 8 th slot on the target BBU on the link scheduling device and an optical port (1.2.3) connected to the 0 th optical port on the target AAU on the link scheduling device are conducted, and an executable command line "connect 1.2.1-1.2.3" is generated, thereby implementing the conduction of the link between the two optical ports.
Further, after the first optical port and the second optical port are conducted, the method further includes: receiving an interrupt instruction sent by management equipment, wherein the interrupt instruction carries an identifier of an optical port of first equipment; according to the identification of the first equipment optical port, a first optical port connected with the first equipment optical port through a cable is determined from the first optical port set; the link between the first optical port and the second optical port is interrupted.
In specific implementation, an interrupt function may be predefined, and the first device optical port identifier or the second device optical port identifier is transferred to the interrupt function, so as to determine an identifier of a first optical port in the first optical port set corresponding to the first device optical port identifier, or determine an identifier of a second optical port in the second optical port set corresponding to the second device optical port identifier; and further generating an executable command line to realize interruption of the link between the first optical port and the second optical port. For example, a connection function is defined as OfpDisConnect (), based on the determined target BBU and target AAU, the transfer parameter does not need to indicate which BBU or device optical port identifier in the AAU, OfpDisConnect (BBU [8,1]) or OfpDisConnect (AAU [0]) is executed, that is, the link between the optical port (1.2.1) connected to the 1 st optical port of the 8 th slot on the target BBU on the link scheduling device and the optical port (1.2.3) connected to the 0 th optical port on the target AAU on the link scheduling device is interrupted, and an executable command line "disconnect 1.2.1-1.2.3" is generated, thereby realizing the interruption of the link between the two optical ports.
In the embodiment of the invention, the link scheduling equipment realizes the conduction and the interruption of the link between the BBU and the AAU through software operation, changes hardware operation into software operation and enables a test case to be automated; the optical fiber connection is not required to be manually changed, the probability of accidents such as connector damage and electric shock is reduced, the work of wiring, power connection, equipment placement and the like is reduced, and the work efficiency is improved.
Corresponding to the above method, referring to fig. 5, an embodiment of the present invention provides a block diagram of a link scheduling device 100, where the link scheduling device 100 is connected to at least one baseband processing unit BBU to be tested by a cable, the link scheduling device 100 is connected to at least one active antenna processing unit AAU to be tested by a cable, and there is no conduction between the at least one BBU to be tested and the at least one AAU to be tested on the link scheduling device 100, and the link scheduling device 100 includes:
a receiving module 501, configured to receive a connection instruction sent by the management device, where the connection instruction is used to instruct to turn on a link between a target BBU in the at least one BBU to be tested and a target AAU in the at least one AAU to be tested;
and a conducting module 502, configured to conduct a link between the target BBU and the target AAU according to the connection instruction.
In the embodiment of the invention, at least one BBU to be tested and at least one AAU to be tested are connected to a link scheduling device in advance through cables, the link scheduling device is applied to receive a connection instruction which is sent by a management device and used for indicating to conduct a link between a target BBU in the at least one BBU to be tested and a target AAU in the at least one AAU to be tested, and then the link between the target BBU and the target AAU is conducted according to the connection instruction. Need not the manual change optical fiber connection of manual work based on the test demand, realize automatic test, promoted efficiency.
In an optional implementation manner, the connection instruction carries an identifier of the target BBU and type information of the AAU, the target AAU is an AAU that is matched with the target BBU in the at least one AAU to be tested, and the type of the target AAU is matched with the type information of the AAU.
In an optional implementation manner, the connection instruction carries an identifier of the target BBU and an identifier of the target AAU.
In an optional implementation manner, a plurality of optical ports are provided on the link scheduling device, the optical ports are respectively connected to at least one BBU to be tested and at least one AAU to be tested through cables, and the conducting module 502 is specifically configured to:
determining a first optical port set and a second optical port set in a plurality of optical ports included in the link scheduling equipment, wherein the optical ports in the first optical port set are respectively connected with a target BBU through cables, and the optical ports in the second optical port set are connected with a target AAU through cables;
and communicating a first optical port in the first optical port set and a second optical port in the second optical port set.
In an optional embodiment, the first optical port is any one of at least one optical port included in the first optical port set in a non-connected state, and the second optical port is any one of the second optical ports.
In an optional embodiment, the optical ports in the first optical port set are connected to the device optical ports on the target BBU in a one-to-one correspondence manner through cables, and the optical ports in the second optical port set are connected to the device optical ports on the target AAU in a one-to-one correspondence manner through cables;
wherein, the connection instruction carries an identifier of a first device optical port in the device optical ports on the target BBU and an identifier of a second device optical port in the device optical ports on the target AAU;
the conducting module 502, when conducting a first optical port in the first optical port set and a second optical port in the second optical port set, is specifically configured to:
according to the identification of the first equipment optical port, a first optical port connected with the first equipment optical port through a cable is determined from the first optical port set;
according to the identification of the optical port of the second device, a second optical port connected with the optical port of the second device through a cable is determined from the second optical port set;
and the first optical port and the second optical port are conducted.
In an optional implementation manner, as shown in fig. 5, the link scheduling apparatus 100 further includes an interrupt module 503;
the receiving module 501 is further configured to receive an interrupt instruction sent by the management device after the first optical port and the second optical port are connected, where the interrupt instruction carries an identifier of the first device optical port;
an interruption module 503, configured to determine, according to an identifier of an optical port of the first device, a first optical port connected to the optical port of the first device through a cable from the first optical port set; the link between the first optical port and the second optical port is interrupted.
An embodiment of the present invention further provides another link scheduling apparatus 600, as shown in fig. 6, including:
a communication interface 601, a memory 602, and a processor 603;
the processor 603 communicates with other devices through the communication interface 601, for example, the other devices may be management devices, and the processor 603 may receive a connection instruction or an interrupt instruction sent by the management devices through the communication interface 601; a memory 602 for storing program instructions; the processor 603 is configured to call the program instructions stored in the memory 602, and execute the method executed by the network device in the foregoing embodiment according to the obtained program.
In the embodiment of the present application, the specific connection medium among the communication interface 601, the memory 602, and the processor 603 is not limited, for example, a bus may be divided into an address bus, a data bus, a control bus, and the like.
In the embodiments of the present application, the processor may be a general-purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in a processor.
In the embodiment of the present application, the memory may be a nonvolatile memory, such as a Hard Disk Drive (HDD) or a solid-state drive (SSD), and may also be a volatile memory, for example, a random-access memory (RAM). The memory can also be, but is not limited to, any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory in the embodiments of the present application may also be circuitry or any other device capable of performing a storage function for storing program instructions and/or data.
Further, an embodiment of the present invention also provides a computer-readable storage medium, where the computer-readable storage medium stores computer instructions, and when the computer instructions are executed on a computer, the computer is caused to execute the above link scheduling method.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (16)

1. A link scheduling method is applied to a link scheduling device, the link scheduling device is connected with at least one baseband processing unit (BBU) to be tested through a cable, the link scheduling device is connected with at least one active antenna processing unit (AAU) to be tested through a cable, and no conduction exists between the at least one BBU to be tested and the at least one AAU to be tested on the link scheduling device, and the method comprises the following steps:
receiving a connection instruction sent by a management device, wherein the connection instruction is used for instructing to conduct a link between a target BBU in the at least one BBU to be tested and a target AAU in the at least one AAU to be tested;
and conducting a link between the target BBU and the target AAU according to the connection instruction.
2. The method of claim 1, wherein the connection instruction carries an identifier of the target BBU and type information of an AAU, the target AAU is an AAU of the at least one AAU to be tested that matches the target BBU, and the type of the target AAU matches the type information of the AAU.
3. The method of claim 1, wherein the connection instruction carries an identification of the target BBU and an identification of the target AAU.
4. The method according to any one of claims 1 to 3, wherein a plurality of optical ports are provided on the link scheduling device, the optical ports are respectively connected to the at least one BBU to be tested and the at least one AAU to be tested through cables, and the conducting the link between the target BBU and the target AAU according to the connection instruction includes:
determining a first optical port set and a second optical port set in a plurality of optical ports included in the link scheduling device, where optical ports in the first optical port set are respectively connected with the target BBU through cables, and optical ports in the second optical port set are connected with the target AAU through cables;
and communicating a first optical port in the first optical port set and a second optical port in the second optical port set.
5. The method of claim 4, wherein the first optical port is any one of at least one optical port included in the first set of optical ports in a non-connected state, and the second optical port is any one of the second set of optical ports.
6. The method of claim 4, wherein optical ports in the first set of optical ports are connected to device optical ports on the target BBU in a one-to-one correspondence via cables, and optical ports in the second set of optical ports are connected to device optical ports on the target AAU in a one-to-one correspondence via cables;
wherein, the connection instruction carries an identifier of a first device optical port in the device optical ports on the target BBU and an identifier of a second device optical port in the device optical ports on the target AAU;
the conducting a first optical port in the first optical port set and a second optical port in the second optical port set includes:
according to the identification of the first equipment optical port, determining the first optical port connected with the first equipment optical port through a cable from the first optical port set;
according to the identification of the second equipment optical port, determining the second optical port connected with the second equipment optical port through a cable from the second optical port set;
and communicating the first optical port and the second optical port.
7. The method of claim 6, wherein after conducting the first optical port and the second optical port, the method further comprises:
receiving an interrupt instruction sent by the management device, wherein the interrupt instruction carries an identifier of the optical port of the first device;
according to the identification of the first equipment optical port, determining the first optical port connected with the first equipment optical port through a cable from the first optical port set;
interrupting a link between the first optical port and the second optical port.
8. A link scheduling device, wherein the link scheduling device is connected to at least one baseband processing unit (BBU) to be tested through a cable, the link scheduling device is connected to at least one active antenna processing unit (AAU) to be tested through a cable, and no conduction exists between the at least one BBU to be tested and the at least one AAU to be tested on the link scheduling device, and the device comprises:
a receiving module, configured to receive a connection instruction sent by a management device, where the connection instruction is used to instruct to turn on a link between a target BBU in the at least one BBU to be tested and a target AAU in the at least one AAU to be tested;
and the conducting module is used for conducting a link between the target BBU and the target AAU according to the connection instruction.
9. The apparatus of claim 8, wherein the connection instruction carries an identifier of the target BBU and type information of an AAU, the target AAU being one of the at least one AAU to be tested that matches the target BBU, and the type of the target AAU matching the type information of the AAU.
10. The device of claim 8, wherein the connection instruction carries an identification of the target BBU and an identification of the target AAU.
11. The device according to any one of claims 8 to 10, wherein a plurality of optical ports are provided on the link scheduling device, the optical ports are respectively connected to the at least one BBU to be tested and the at least one AAU to be tested through cables, and the conducting module is specifically configured to:
determining a first optical port set and a second optical port set in a plurality of optical ports included in the link scheduling device, where optical ports in the first optical port set are respectively connected with the target BBU through cables, and optical ports in the second optical port set are connected with the target AAU through cables;
and communicating a first optical port in the first optical port set and a second optical port in the second optical port set.
12. The apparatus according to claim 11, wherein the first optical port is any one of at least one optical port included in the first set of optical ports in a non-connected state, and the second optical port is any one of the second set of optical ports.
13. The device of claim 11, wherein optical ports in the first set of optical ports are connected to device optical ports on the target BBU in a one-to-one correspondence via cables, and optical ports in the second set of optical ports are connected to device optical ports on the target AAU in a one-to-one correspondence via cables;
wherein, the connection instruction carries an identifier of a first device optical port in the device optical ports on the target BBU and an identifier of a second device optical port in the device optical ports on the target AAU;
the conducting module, when conducting a first optical port in the first optical port set and a second optical port in the second optical port set, is specifically configured to:
according to the identification of the first equipment optical port, determining the first optical port connected with the first equipment optical port through a cable from the first optical port set;
according to the identification of the second equipment optical port, determining the second optical port connected with the second equipment optical port through a cable from the second optical port set;
and communicating the first optical port and the second optical port.
14. The apparatus of claim 13, wherein the apparatus further comprises an interrupt module;
the receiving module is further configured to receive an interrupt instruction sent by the management device after the first optical port and the second optical port are switched on, where the interrupt instruction carries an identifier of the first device optical port;
the interruption module is configured to determine, according to the identifier of the first device optical port, the first optical port connected to the first device optical port through the cable from the first optical port set; interrupting a link between the first optical port and the second optical port.
15. A link scheduling apparatus, comprising:
a memory and a processor;
a memory for storing program instructions;
a processor for calling the program instructions stored in the memory and executing the method of any one of claims 1 to 7 according to the obtained program.
16. A computer-readable storage medium having stored thereon computer instructions which, when executed on a computer, cause the computer to perform the method of any one of claims 1 to 7.
CN201911140523.5A 2019-11-20 2019-11-20 Link scheduling method and device Active CN112825503B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911140523.5A CN112825503B (en) 2019-11-20 2019-11-20 Link scheduling method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911140523.5A CN112825503B (en) 2019-11-20 2019-11-20 Link scheduling method and device

Publications (2)

Publication Number Publication Date
CN112825503A true CN112825503A (en) 2021-05-21
CN112825503B CN112825503B (en) 2022-03-25

Family

ID=75906831

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911140523.5A Active CN112825503B (en) 2019-11-20 2019-11-20 Link scheduling method and device

Country Status (1)

Country Link
CN (1) CN112825503B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113114357A (en) * 2021-06-16 2021-07-13 中兴通讯股份有限公司 Passive wavelength division equipment fault detection method, device, server and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102684800A (en) * 2012-03-16 2012-09-19 中兴通讯股份有限公司 Methods and devices for testing downlink and uplink wireless indexes of active antenna system
US20170077602A1 (en) * 2014-05-14 2017-03-16 China Academy Of Telecommunications Technology Active antenna associated device and system, and transmitting and receiving calibration method
CN107819527A (en) * 2016-09-12 2018-03-20 中国移动通信有限公司研究院 A kind of test device and method of testing of extensive antenna base station equipment
CN109413686A (en) * 2018-10-19 2019-03-01 京信通信系统(中国)有限公司 Base station automatization test system, method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102684800A (en) * 2012-03-16 2012-09-19 中兴通讯股份有限公司 Methods and devices for testing downlink and uplink wireless indexes of active antenna system
US20170077602A1 (en) * 2014-05-14 2017-03-16 China Academy Of Telecommunications Technology Active antenna associated device and system, and transmitting and receiving calibration method
CN107819527A (en) * 2016-09-12 2018-03-20 中国移动通信有限公司研究院 A kind of test device and method of testing of extensive antenna base station equipment
CN109413686A (en) * 2018-10-19 2019-03-01 京信通信系统(中国)有限公司 Base station automatization test system, method and apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113114357A (en) * 2021-06-16 2021-07-13 中兴通讯股份有限公司 Passive wavelength division equipment fault detection method, device, server and storage medium
CN113114357B (en) * 2021-06-16 2021-10-22 中兴通讯股份有限公司 Passive wavelength division equipment fault detection method, device, server and storage medium

Also Published As

Publication number Publication date
CN112825503B (en) 2022-03-25

Similar Documents

Publication Publication Date Title
CN103068070B (en) A kind of machinery of consultation of protocol version, mobile terminal, base station and communication system
CN102761856B (en) Terminal room shares the methods, devices and systems of software
CN101873719A (en) Method, device and system for configuring wireless fidelity (WIFI) parameter
CN107742066B (en) Account permission configuration method and device, terminal equipment and computer storage medium
CN112825503B (en) Link scheduling method and device
CN104980917A (en) Method for realizing card-free mobile terminal, mobile terminal and server
CN104581721A (en) Dual-card structure-based mobile service data processing method and system, and mobile terminal
CN102111754B (en) Multi-mode equipment and method for upgrading software thereof
EP3477867B1 (en) Method, apparatus and system for implementing virtual sim card, and mobile terminal
CN104683585A (en) Mobile terminal and intelligent call forwarding method thereof
CN112203220B (en) IMEI (International Mobile Equipment identity) belonging terminal identification method and device
CN102917370B (en) Method, device and system for determining corresponding near-end unit of far-end unit and far-end unit
CN105959933A (en) Terminal control method and control device, and server
CN105246132A (en) Parameter matching method and device for network access point
CN105451215A (en) Communication method and electronic device
CN102595455B (en) Method and device for managing test module in automatic road test system
CN101616498A (en) A kind of method, Subscriber Identity Module and unit that carries out interactive information access
CN108616870B (en) Method and device for identifying terminal customized preferentially
CN105704646A (en) Communication method and mobile communication device
CN105101397A (en) Method for registration of subscriber identity modules, terminal and network server
CN205545312U (en) APP testing arrangement and APP test system
CN105848137A (en) Card writing method and device
CN105868147A (en) Wireless transmission method and system of USB data
CN105744503A (en) Information processing method and electronic device
CN113498206B (en) Information transmission method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant