CN115396756A - Equipment resource configuration method, device, server and storage medium - Google Patents

Equipment resource configuration method, device, server and storage medium Download PDF

Info

Publication number
CN115396756A
CN115396756A CN202211024734.4A CN202211024734A CN115396756A CN 115396756 A CN115396756 A CN 115396756A CN 202211024734 A CN202211024734 A CN 202211024734A CN 115396756 A CN115396756 A CN 115396756A
Authority
CN
China
Prior art keywords
port
pon
information
target
pon port
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.)
Pending
Application number
CN202211024734.4A
Other languages
Chinese (zh)
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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202211024734.4A priority Critical patent/CN115396756A/en
Publication of CN115396756A publication Critical patent/CN115396756A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0086Network resource allocation, dimensioning or optimisation

Abstract

The invention provides a method, a device, a server and a storage medium for configuring equipment resources, wherein the method comprises the following steps: acquiring equipment information and resource information of a plurality of optical line devices distributed in an area to be configured, wherein the equipment information comprises first port information of a plurality of first PON ports installed on the plurality of optical line devices, and the resource information comprises second port information of a plurality of second PON ports of a number line system recorded in the plurality of optical line devices; determining a port type of a target PON port based on the first port information and the second port information, wherein the target PON port is a PON port of which the first port information and the second port information are not matched; configuring the target PON port based on the port type of the target PON port. Because the target PON ports with different port types can be screened out through the equipment information and the resource information, and the screened out target PON ports are reconfigured, the resource utilization rate of the optical line equipment is improved.

Description

Equipment resource configuration method, device, server and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for configuring device resources, a server, and a storage medium.
Background
An OLT (Optical Line Terminal) has a plurality of PON (Passive Optical Network) boards, and each PON board includes a plurality of PON ports. The device resources of the optical line device are configured by allocating traffic to each PON port.
At present, in the prior art, a PON port on an Optical line device is connected to an ONT device (Optical network terminal, optical network device) at a service end, and port information of the PON port to which the ONT device is connected is recorded in a signal line system, so as to implement service allocation to the PON port. When reconfiguring the device resources of the optical line device, the resource configuration information corresponding to the optical line device needs to be manually adjusted. For example, when a certain PON port is installed or removed in an optical line device, port information of the PON port needs to be manually entered or deleted in a number line system.
However, the inventors found that the prior art has at least the following technical problems: when the optical line device reconfigures more device resources, the number of the resource configuration information is manually adjusted to be more, so that the situations of missing recording, wrong recording and the like are easy to occur, a part of PON ports cannot be used, and the resource utilization rate of the optical line device is reduced.
Disclosure of Invention
The invention provides a method and a device for configuring equipment resources, a server and a storage medium, which can reconfigure a target PON port by determining the target PON port to be configured in optical line equipment, thereby improving the resource utilization rate of the optical line equipment.
In a first aspect, the present invention provides a method for configuring device resources, including:
acquiring equipment information and resource information of a plurality of optical line devices distributed in an area to be configured, wherein the equipment information comprises first port information of a plurality of first PON ports installed on the plurality of optical line devices, and the resource information comprises second port information of a plurality of second PON ports of a number line system recorded in the plurality of optical line devices;
determining a port type of a target PON port based on the first port information and the second port information, wherein the target PON port is a PON port of which the first port information and the second port information are not matched;
configuring the target PON port based on the port type of the target PON port.
In one possible design, the first port information includes at least a first port identification set corresponding to a plurality of first PON ports, and the second port information includes at least a second port identification set corresponding to a plurality of second PON ports;
the determining a port type of a target PON port based on the first port information and the second port information includes:
determining a port identifier of the target PON port;
and if the port identification of the target PON port does not belong to the first port identification set and belongs to the second port identification set, determining that the port type of the target PON port is a number line virtual occupation PON port.
In one possible design, the first port information further includes operation state information of each first PON port;
the determining a port type of a target PON port based on the first port information and the second port information includes:
determining a port identifier of the target PON port;
if the port identifier of the target PON port belongs to the first port identifier set and does not belong to the second port identifier set, determining the running state information of the target PON port;
and if the running state information of the target PON port is used for indicating that the target PON port is in a non-running state, determining that the port type of the target PON port is a PON port which is not allocated to the equipment.
In a possible design, the first port information further includes operation state information of each first PON port, and the second port information further includes traffic quantity information of each second PON port;
the determining a port type of a target PON port based on the first port information and the second port information includes:
determining a port identifier of the target PON port;
if the port identifier of the target PON port belongs to the first port identifier set and the second port identifier set, determining the running state information of the target PON port and the service quantity information of the target PON port;
and if the running state information of the target PON port is used for indicating that the target PON port is in a non-running state, and the service quantity information of the target PON port is used for indicating that the service quantity of the target PON port is 0, determining that the port type of the target PON port is a signal line idle PON port.
In one possible design, the configuring the target PON port based on a port type of the target PON port includes:
and if the port type of the target PON port is that a PON port or a number line idle PON port is not allocated to the equipment, allocating new service to the target PON port.
In one possible design, the configuring the target PON port based on a port type of the target PON port includes:
and if the port type of the target PON port is the number line virtual occupation PON port, deleting second port information corresponding to the target PON port.
In one possible design, further comprising:
for any PON plate in the plurality of optical line devices, determining a first number of a plurality of PON ports installed on the PON plate, a second number of PON ports of the plurality of PON ports, of which the port types are PON ports of devices without allocated PON ports, and a third number of PON ports of which the port types are number line idle PON ports;
if the first number is the sum of the second number and the third number, determining that any PON plate is an idle PON plate;
and distributing new services to the equipment idle PON plate.
In one possible design, further comprising:
counting the number of target PON ports of different port types according to the port types of the target PON ports to obtain statistical information of the target PON ports;
and displaying the statistical information of the target PON port.
In a second aspect, the present invention provides an apparatus for configuring device resources, including:
an obtaining module, configured to obtain device information and resource information of a plurality of optical line devices arranged in a region to be configured, where the device information includes first port information of a plurality of first PON ports installed on the plurality of optical line devices, and the resource information includes second port information of a plurality of second PON ports of a number line system recorded in the plurality of optical line devices;
a determining module, configured to determine, based on the first port information and the second port information, a port type of a target PON port, where the target PON port is a PON port for which the first port information and the second port information do not match;
a configuration module, configured to configure the target PON port based on a port type of the target PON port.
In a third aspect, the present invention provides a server, comprising: at least one processor and a memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the method of configuring a device resource as described above in the first aspect and in various possible designs of the first aspect.
In a fourth aspect, the present invention provides a computer storage medium, in which computer executable instructions are stored, and when a processor executes the computer executable instructions, the method for configuring device resources according to the first aspect and various possible designs of the first aspect is implemented.
According to the configuration method, the configuration device, the server and the storage medium of the equipment resource, the port types of the target PON ports of which the port information is not matched in the plurality of optical line equipment in the area to be configured can be determined by acquiring the equipment information and the resource information of the plurality of optical line equipment arranged in the area to be configured, and the target PON ports of the plurality of optical line equipment are reconfigured according to the port types of the target PON ports, so that the resource utilization rate of the optical line equipment is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic application scenario diagram of a method for configuring device resources according to an embodiment of the present invention;
fig. 2 is a first flowchart of a method for configuring device resources according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of a method for configuring device resources according to an embodiment of the present invention;
fig. 4 is a third schematic flowchart of a method for configuring device resources according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an apparatus for configuring device resources according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a hardware structure of a server according to an embodiment of the present invention.
Detailed Description
In order to make the objects, 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 with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. 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.
With the continuous development of communication technology, the number and model of optical line devices are increasingly demanded in the access network. Each optical line device needs to enter corresponding resource configuration information in the number line system, so that the number line system has more and more corresponding resource configuration information. At present, resource configuration information corresponding to optical line equipment is manually input by a worker. Furthermore, when the device resources of the optical line device are reconfigured, the resource configuration information corresponding to the optical line device also needs to be manually adjusted. In this case, when the resource configuration information to be entered is large, the worker is prone to miss-entry, and the like, and further a part of PON ports on the optical line device cannot be used, which reduces the resource utilization rate of the optical line device.
In order to improve the resource utilization rate of the optical line device, a worker often checks whether the PON port of the optical line device matches with the corresponding resource configuration information in the number line system according to personal experience. If the mismatched PON port is found, the reconfiguration is performed. However, since the optical line device has more corresponding resource configuration information in the number line system, the method of manual checking through personal experience is inefficient, and the resource utilization rate of the optical line device cannot be effectively improved.
In order to solve the above technical problems, the embodiments of the present invention propose the following technical concepts: firstly, device information and resource information of a plurality of optical line devices distributed in a region to be configured are obtained. And then, performing association matching analysis through a big data technology according to the equipment information and the resource information, screening out PON ports with unmatched equipment information and resource information in the plurality of optical line devices, and determining the port types of the unmatched PON ports. And then, according to the port type of the PON port, the unmatched PON port in the plurality of optical line devices is configured, idle resources are activated, and the resource utilization rate of the optical line devices is improved. The following examples are given for illustrative purposes.
Fig. 1 is a schematic application scenario diagram of a method for configuring device resources according to an embodiment of the present invention. As shown in fig. 1, the display terminal 101 and the server 102 may be connected through a wireless network. If the display terminal 101 receives a configuration request of the device resource of the area to be configured, which is input by a user, the configuration request is transmitted to the server 102 through a wireless network, and the configuration request carries an area identifier of the area to be configured. The server 102 receives a configuration request of the device resource sent by the display terminal 101, acquires device information and resource information of a plurality of optical line devices distributed in a region to be configured corresponding to the region identifier according to the region identifier carried in the configuration request, and configures the device resource of the plurality of optical line devices distributed in the region to be configured according to the device information and resource information of the plurality of optical line devices.
Fig. 2 is a schematic flowchart of a method for configuring device resources according to an embodiment of the present invention, where an execution subject of this embodiment may be a server in the embodiment shown in fig. 1, and may also be other computer devices, and the present embodiment is not limited in particular here. As shown in fig. 2, the method includes:
s201: the method comprises the steps of obtaining equipment information and resource information of a plurality of optical line devices distributed in an area to be configured, wherein the equipment information comprises first port information of a plurality of first PON ports installed on the plurality of optical line devices, and the resource information comprises second port information of a plurality of second PON ports of a number line system recorded in the plurality of optical line devices.
In the embodiment of the present invention, the area to be configured may include one or more administrative areas. Administrative regions may be provinces, municipalities, and so forth. A plurality of optical line devices are distributed in the area to be configured so as to meet the network access requirement in the area.
Optionally, the access network management system may monitor the device information of the plurality of optical line devices in real time, and may obtain the device information of the plurality of optical line devices in real time. The server can obtain the equipment information of a plurality of optical line equipment through the access network management system. Specifically, acquiring device information of a plurality of optical line devices distributed in a region to be configured includes: the server sends a first acquisition instruction for acquiring the equipment information to the access network management system, wherein the first acquisition instruction carries the area identifier of the area to be configured. And the access network management system receives the first acquisition instruction, acquires the equipment information of the plurality of optical line equipment in the area to be configured according to the area identifier of the area to be configured, and returns the equipment information of the plurality of optical line equipment to the server. And the server receives the equipment information of the plurality of optical line equipment returned by the access network management system.
The first port information of the first PON port may comprise a first port identification, the first port information of the plurality of first PON ports constituting a first port identification set. The first port identifier includes at least one of a name of the first PON port, a name of a PON board to which the first PON port belongs, a name of an optical line device to which the first PON port belongs, a model of the optical line device to which the first PON port belongs, a manufacturer of the optical line device to which the first PON port belongs, and an IP address of the optical line device to which the first PON port belongs.
The first port information of the first PON port may further include operation state information of the PON port. The operation state information is used to indicate an operation state of the PON port. The operation state of the PON port includes an operation state (i.e., an Up state) and an unoperated state (i.e., a Down state).
Optionally, the signal line system stores resource information of a plurality of optical line devices. The server can acquire the resource information of the plurality of optical line devices through the number line system. Specifically, acquiring resource information of a plurality of optical line devices distributed in a region to be configured includes: and the server sends a second acquisition instruction for acquiring the resource information to the wire system, wherein the second acquisition instruction carries the area identifier of the area to be configured. And the wire marking system receives the second acquisition instruction, acquires the resource information of the plurality of optical line devices in the area to be configured according to the area identification of the area to be configured, and returns the resource information of the plurality of optical line devices to the server. And the server receives the resource information of the plurality of optical line devices returned by the number line system.
The second port information of the second PON port may include a second port identifier, and may further include service quantity information corresponding to the second PON port. The second port identifier includes at least one of a name of the second PON port, a name of a PON board to which the second PON port belongs, a name of an optical line device to which the second PON port belongs, a model of the optical line device to which the second PON port belongs, a manufacturer of the optical line device to which the second PON port belongs, and an IP address of the optical line device to which the second PON port belongs.
It should be noted that, in the embodiment of the present invention, the server may periodically obtain the device information and the resource information of the plurality of optical line devices distributed in the area to be configured. For example, the server may be acquired once a day, once a week, or once an hour.
S202: and determining the port type of a target PON port based on the first port information and the second port information, wherein the target PON port is a PON port of which the first port information and the second port information are not matched.
In the embodiment of the present invention, the PON port whose first port information and second port information do not match is an idle or abnormal PON port, that is, a target PON port. The port type of the target PON port includes a bracket line virtual occupation PON port, an equipment unallocated PON port and a number line idle PON port. In this embodiment of the present invention, the server may screen, according to the first port information and the second port information, a target PON port (an idle or abnormal PON port) among a plurality of PON ports on the plurality of optical line devices, and determine a port type of the screened target PON port.
The server may screen the target PON port through the following three implementation manners, and determine a port type of the screened target PON port.
In a first implementation manner, a server screens a target PON port according to a port identifier of a PON port, and determines a port type of the screened target PON port. The first port information at least comprises a first port identification set corresponding to a plurality of first PON ports, and the second port information at least comprises a second port identification set corresponding to a plurality of second PON ports. Correspondingly, determining the port type of the target PON port based on the first port information and the second port information includes: the method comprises the steps that a server determines a port identifier of any PON port in a plurality of optical line devices; if the port identifier of the PON port does not belong to the first port identifier set and belongs to the second port identifier set, determining the PON port as a target PON port; and determining the port type of the target PON port as a number line virtual occupation PON port.
Because the idle or abnormal PON port can be screened out according to the port identification of the PON port, and the information complexity of the port identification of the PON port is low, the efficiency of determining the target PON port is improved.
In a second implementation manner, the server screens a target PON port according to a port identifier of the PON port and an operating state of the PON port, and determines a port type of the screened target PON port. The first port information further includes operation state information of each first PON port. Correspondingly, determining the port type of the target PON port based on the first port information and the second port information includes: the method comprises the steps that a server determines a port identifier of any PON port aiming at any PON port in a plurality of optical line devices; if the port identification of any PON port belongs to the first port identification set and does not belong to the second port identification set, determining the running state information of any PON port; and if the running state information of any PON port is used for indicating that the target PON port is in a non-running state, determining that any PON port is the target PON port, and determining that the port type of the target PON port is the non-allocated PON port of the equipment.
The port type of the screened target PON port is determined according to the port identification of the PON port and the operation state of the PON port, and the information referred by the determined port type is added, so that when the port type cannot be determined through the port identification of the PON port, the port type of the target PON port can be further determined through the operation state of the PON port, and the accuracy of determining the port type of the target PON port is improved.
In a third implementation manner, the server screens a target PON port according to a port identifier of the PON port, an operating state of the PON port, and a service quantity of the PON port, and determines a port type of the screened target PON port. The first port information further includes operation state information of each first PON port, and the second port information further includes traffic volume information of each second PON port. Correspondingly, determining the port type of the target PON port based on the first port information and the second port information includes: determining a port identifier of any PON port aiming at any PON port in a plurality of optical line devices; if the port identification of any PON port belongs to the first port identification set and belongs to the second port identification set, determining the operation state information of any PON port and the service quantity information of any PON port; and if the operation state information of any PON port is used for indicating that any PON port is in a non-operation state, and the service quantity information of any PON port is used for indicating that the service quantity of any PON port is 0, determining that any PON port is a target PON port, and determining that the port type of the target PON port is a number line idle PON port.
The server screens the target PON port according to the port identification of the PON port, the running state of the PON port and the service quantity of the PON port, determines the port type of the screened target PON port, and further increases the information referred by the determined port type, so that the accuracy of determining the port type of the target PON port is further improved.
S203: configuring the target PON port based on the port type of the target PON port.
In one possible design, the steps are: and if the port type of the target PON port is that the equipment does not allocate a PON port or a number line idle PON port, allocating new service to the target PON port.
Because the equipment is not allocated with PON ports or the number line idle PON ports which are available idle resources, the resource utilization rate of the optical line equipment is improved by reconfiguring the idle resources, and the situation that new equipment is purchased due to the fact that the actual equipment resource utilization condition cannot be accurately mastered is avoided, so that the investment cost is reduced.
In another possible design, the steps are: and if the port type of the target PON port is the number line virtual occupation PON port, deleting second port information corresponding to the target PON port.
If the port type of the target PON port is the number line virtual account PON port, the server deletes second port information corresponding to the target PON port in the number line system, so that the junk information in the number line system is reduced, and the running speed of the number line system is improved.
According to the method for configuring the device resource, the device information and the resource information of the plurality of optical line devices arranged in the to-be-configured area are acquired, the port types of the target PON ports of which the port information is not matched among the plurality of optical line devices in the to-be-configured area can be determined, and the target PON ports of the plurality of optical line devices are reconfigured according to the port types of the target PON ports, so that the resource utilization rate of the optical line devices is improved, meanwhile, the number of the resource configuration information which is missed and wrongly recorded in the number line system is reduced through the reconfiguration of the target PON ports of the plurality of optical line devices, and the problem of the missing and wrongly recorded resource information of the device is solved.
Fig. 3 is a flowchart illustrating a second method for configuring device resources according to an embodiment of the present invention. In the embodiment of the present invention, on the basis of the embodiment provided in fig. 2, the server may further screen out the device idle PON board in the multiple optical line devices, so as to directly configure the device resources of the device idle PON board.
As shown in fig. 3, the specific implementation method is further described in detail below, and the method further includes:
s204: for any PON plate in the plurality of optical line devices, determining a first number of a plurality of PON ports installed on the PON plate, a second number of PON ports of the plurality of PON ports, of which the port types are the PON ports of the devices without allocated PON ports, and a third number of PON ports of which the port types are number line idle PON ports. And if the first quantity is the sum of the second quantity and the third quantity, determining that the PON plate is an equipment idle PON plate, and distributing new services to the equipment idle PON plate.
Illustratively, the first number of PON ports where the PON board has been installed is 6, the second number of PON ports whose port types are PON ports to which a device does not allocate a PON port is 4, and the third number of PON ports whose port types are number line idle PON ports is 2; at this time, the first number is the sum of the second number and the third number, and it is determined that the PON board is an equipment-idle PON board, the server allocates a new service to the equipment-idle PON board.
In the embodiment of the invention, because the equipment idle PON plates in the plurality of optical line equipment can be screened out, when the idle resources are reconfigured, the idle PON plates can be directly configured without configuring a plurality of PON ports installed on the idle PON plates one by one, so that the efficiency of resource configuration is improved.
Fig. 4 is a third schematic flowchart of a method for configuring device resources according to an embodiment of the present invention. In the embodiment of the present invention, on the basis of the embodiment provided in fig. 2, the server may also count the number of target PON ports of different port types, so as to more intuitively know and screen out the number of abnormal or idle PON ports. As shown in fig. 4, the specific implementation method is described in detail below, and includes:
s205: and according to the port type of the target PON port, counting the number of the target PON ports with different port types to obtain the statistical information of the target PON port.
The statistics may include a number of PON ports of the plurality of port types. Illustratively, the statistics of the target PON port include: the number line occupies 5 PON ports virtually, the number line occupies 5 PON ports idle, and the number of the PON ports not allocated to the equipment is 2. The statistics may also include the number of PON boards that are idle by the device. Illustratively, the statistics of the target PON port include: the number line occupies 5 PON ports virtually, the number line has 5 PON ports idle, the number of PON ports not allocated to the equipment is 2, and the number of PON plates idle.
Specifically, the statistical information may further include a port identifier of the target PON port. The port identification may include a name of the PON port, a name of an optical line device to which the PON port belongs.
Illustratively, the number line virtual account PON ports are 5, the optical line devices (OLT devices) corresponding to the 5 number line virtual account PON ports are 694HGMA5680T-11, 295001HGMA5680T-03, 893342HEMA5680T-02, 694005HGMA5680T-05 and 694005HGMA5680T-05, the names of the PON ports corresponding to the 5 number line virtual account PON ports are respectively 13/50, 10/50, 5/50, 17/51 and 17/50.
It should be noted that, when counting the number of target PON ports, the server may perform statistics according to a plurality of administrative areas included in the area to be configured, respectively, to obtain statistical information of the target PON ports in the plurality of administrative areas. Each administrative area is also subdivided. For example, the area to be configured is province, and the plurality of administrative areas may be cities, counties, towns, and the like.
Illustratively, the area to be configured is province a. The province A comprises a plurality of administrative regions of city A, city B, city C, city D, city E and city F. The server respectively counts the number of the target PON ports in the cities A, B, C, D, E and F to obtain the statistical information of the target PON ports in the cities A, B, C, D, E and F, and the statistical information of the target PON ports in the cities C, D and E and F are obtained. For example, the number of the number A city number line virtual account PON ports is 5, the optical line devices (OLT devices) corresponding to the 5 number line virtual account PON ports are 694HGMA5680T-11, 295001HGMA5680T-03, 893342HEMA5680T-02, 694005HGMA5680T-05 and 694005HGMA5680T-05 respectively, and the names of the PON ports corresponding to the 5 number line virtual account PON ports are 13/50, 10/50, 5/50, 17/51 and 17/50 respectively.
S206: and displaying the statistical information of the target PON port.
In the embodiment of the invention, the server is connected with a display device, and the statistical information of the target PON port is displayed through the display device. In one possible design, the server generates a report corresponding to the statistical information, and displays the report corresponding to the statistical information on the display device. For example, a report corresponding to the virtual PON port (referred to as "virtual account" in the report) of the city a number line is shown in table 1.
Table 1: report corresponding to PON is taken up to A city number line virtual
Serial number Province of labor Urban area OLT name Port name Number of services Port type
1 A A 694HGMA5680T-11 13/50 2 Virtual account
2 A A 295001HGMA5680T-03 10/50 16 Virtual account
3 A A 893342HEMA5680T-02 5/50 6 Virtual occupation
4 A A 694005HGMA5680T-05 17/51 1 Virtual occupation
5 A A 694005HGMA5680T-05 17/50 2 Virtual occupation
In the embodiment of the invention, the statistical information of the target PON port is displayed through the report, the information of the idle PON port in each area can be directly acquired, the equipment resource condition of each area can be conveniently known, and the equipment resource utilization rate of each area is improved.
Fig. 5 is a schematic structural diagram of an apparatus for configuring device resources according to an embodiment of the present invention. As shown in fig. 5, the apparatus for configuring device resources includes: an acquisition module 501, a determination module 502, and a configuration module 503.
An obtaining module 501, configured to obtain device information and resource information of multiple optical line devices arranged in a region to be configured, where the device information includes first port information of multiple first PON ports installed on the multiple optical line devices, and the resource information includes second port information of multiple second PON ports into which a number system has been entered in the multiple optical line devices;
a determining module 502, configured to determine a port type of a target PON port based on first port information and second port information, where the target PON port is a PON port for which the first port information and the second port information do not match;
a configuring module 503, configured to configure a target PON port based on a port type of the target PON port.
In a possible implementation manner, the determining module 502 is specifically configured to determine, for any PON port in the multiple optical line devices, a port identifier of any PON port; and if the port identification of any PON port does not belong to the first port identification set and belongs to the second port identification set, determining that any PON port is a target PON port, and determining that the port type of the target PON port is a number line virtual occupation PON port.
In a possible implementation manner, the determining module 502 is specifically configured to determine, for any PON port in the multiple optical line devices, a port identifier of any PON port; if the port identification of any PON port belongs to the first port identification set and does not belong to the second port identification set, determining the running state information of any PON port; and if the running state information of any PON port is used for indicating that the target PON port is in a non-running state, determining that any PON port is the target PON port, and determining that the port type of the target PON port is the non-allocated PON port of the equipment.
In a possible implementation manner, the determining module 502 is specifically configured to determine, for any PON port in the multiple optical line devices, a port identifier of any PON port; if the port identification of any PON port belongs to the first port identification set and belongs to the second port identification set, determining the operation state information of any PON port and the service quantity information of any PON port; if the operation state information of any PON port is used for indicating that any PON port is in a non-operation state, and the service quantity information of any PON port is used for indicating that the service quantity of any PON port is 0, determining that any PON port is a target PON port, and determining that the port type of the target PON port is a number line idle PON port
In a possible implementation manner, the configuration module 503 is specifically configured to allocate a new service to the target PON port if the port type of the target PON port is that a PON port is not allocated to the device or a number line idle PON port is not allocated to the device.
In a possible implementation manner, the configuration module 503 is specifically configured to delete the second port information corresponding to the target PON port if the port type of the target PON port is a number line virtual occupied PON port.
In a possible implementation manner, the apparatus for configuring device resources further includes a second determining module, where the second determining module is specifically configured to determine, for any PON board in the multiple optical line devices, a first number of multiple PON ports installed on any PON board, a second number of PON ports in the multiple PON ports, where a port type of the PON port is a PON port that is not allocated to the device, and a third number of PON ports, where a port type of the PON port is a number line idle PON port; and if the first number is the sum of the second number and the third number, determining that any PON plate is an equipment idle PON plate. The configuration module 503 is further specifically configured to allocate a new service to the device idle PON board.
The apparatus provided in this embodiment may be used to implement the technical solutions of the above method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 6 is a schematic diagram of a hardware structure of a server according to an embodiment of the present invention. As shown in fig. 6, the server of the present embodiment includes: a processor 601 and a memory 602; wherein
A memory 602 for storing computer-executable instructions;
the processor 601 is configured to execute the computer execution instructions stored in the memory to implement the steps performed by the server in the above embodiments. Reference may be made in particular to the description relating to the method embodiments described above.
Alternatively, the memory 602 may be separate or integrated with the processor 601.
When the memory 602 is provided separately, the server further includes a bus 603 for connecting the memory 602 and the processor 601.
The embodiment of the invention also provides a computer storage medium, wherein the computer storage medium stores computer execution instructions, and when the processor executes the computer execution instructions, the method for configuring the device resources is realized.
The embodiment of the present invention further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the method for configuring the device resource is implemented. An embodiment of the present invention further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the network slice deployment method is implemented as described above.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of modules is only one logical division, and other divisions may be realized in practice, for example, a plurality of modules may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to implement the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each module may exist alone physically, or two or more modules are integrated into one unit. The unit formed by the modules can be realized in a hardware form, and can also be realized in a form of hardware and a software functional unit.
The integrated module implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor to execute some steps of the methods according to the embodiments of the present application.
It should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of hardware and software modules.
The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile storage NVM, such as at least one disk memory, and may also be a usb disk, a removable hard disk, a read-only memory, a magnetic or optical disk, etc.
The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.
The storage medium may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the storage medium may reside as discrete components in an electronic device or host device.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions 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 (11)

1. A method for configuring device resources, comprising:
acquiring device information and resource information of a plurality of optical line devices arranged in a region to be configured, wherein the device information comprises first port information of a plurality of first PON ports installed on the plurality of optical line devices, and the resource information comprises second port information of a plurality of second PON ports of a number line system recorded in the plurality of optical line devices;
determining a port type of a target PON port based on the first port information and the second port information, wherein the target PON port is a PON port of which the first port information and the second port information are not matched;
configuring the target PON port based on the port type of the target PON port.
2. The method of claim 1, wherein the first port information comprises at least a first set of port identifiers corresponding to a plurality of first PON ports, and wherein the second port information comprises at least a second set of port identifiers corresponding to a plurality of second PON ports;
the determining a port type of a target PON port based on the first port information and the second port information includes:
for any PON port in the plurality of optical line devices, determining a port identification of the PON port;
and if the port identifier of any PON port does not belong to the first port identifier set and belongs to the second port identifier set, determining that any PON port is a target PON port, and determining that the port type of the target PON port is a number line virtual occupation PON port.
3. The method of claim 2, wherein the first port information further comprises operating state information for each first PON port;
the determining a port type of a target PON port based on the first port information and the second port information includes:
for any PON port in the plurality of optical line devices, determining a port identification of the PON port;
if the port identifier of any PON port belongs to the first port identifier set and does not belong to the second port identifier set, determining the running state information of any PON port;
if the operation state information of any PON port is used for indicating that the target PON port is in an unoperated state, determining that any PON port is a target PON port, and determining that the port type of the target PON port is an unallocated PON port.
4. The method of claim 2, wherein the first port information further comprises operational status information for each first PON port, and wherein the second port information further comprises traffic volume information for each second PON port;
the determining a port type of a target PON port based on the first port information and the second port information includes:
for any PON port in the plurality of optical line devices, determining a port identification of the PON port;
if the port identifier of any PON port belongs to the first port identifier set and belongs to the second port identifier set, determining the operation state information of any PON port and the service quantity information of any PON port;
if the operation state information of any PON port is used for indicating that any PON port is in a non-operation state, and the service quantity information of any PON port is used for indicating that the service quantity of any PON port is 0, determining that any PON port is a target PON port, and determining that the port type of the target PON port is a number line idle PON port.
5. The method of claim 1, wherein the configuring the target PON port based on the port type of the target PON port comprises:
and if the port type of the target PON port is that a PON port or a number line idle PON port is not allocated to the equipment, allocating new service to the target PON port.
6. The method of claim 1, wherein the configuring the target PON port based on the port type of the target PON port comprises:
and if the port type of the target PON port is the number line virtual occupation PON port, deleting second port information corresponding to the target PON port.
7. The method of any of claims 1 to 6, further comprising:
for any PON plate in the plurality of optical line devices, determining a first number of a plurality of PON ports installed on the PON plate, a second number of PON ports of which the port types are not allocated to the PON ports of the device, and a third number of PON ports of which the port types are number line idle PON ports;
if the first number is the sum of the second number and the third number, determining that any PON plate is an equipment-free PON plate;
and distributing new services to the equipment idle PON plate.
8. The method of any of claims 1 to 6, further comprising:
counting the number of target PON ports of different port types according to the port types of the target PON ports to obtain statistical information of the target PON ports;
and displaying the statistical information of the target PON port.
9. An apparatus for configuring device resources, comprising:
an obtaining module, configured to obtain device information and resource information of a plurality of optical line devices arranged in a region to be configured, where the device information includes first port information of a plurality of first PON ports installed on the plurality of optical line devices, and the resource information includes second port information of a plurality of second PON ports of a number line system recorded in the plurality of optical line devices;
a determining module, configured to determine, based on the first port information and the second port information, a port type of a target PON port, where the target PON port is a PON port for which the first port information and the second port information do not match;
a configuration module, configured to configure the target PON port based on a port type of the target PON port.
10. A server, comprising: at least one processor and a memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the method of configuring a device resource of any of claims 1 to 8.
11. A computer storage medium having computer executable instructions stored thereon, which when executed by a processor, implement the method of configuring a device resource of any one of claims 1 to 8.
CN202211024734.4A 2022-08-25 2022-08-25 Equipment resource configuration method, device, server and storage medium Pending CN115396756A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211024734.4A CN115396756A (en) 2022-08-25 2022-08-25 Equipment resource configuration method, device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211024734.4A CN115396756A (en) 2022-08-25 2022-08-25 Equipment resource configuration method, device, server and storage medium

Publications (1)

Publication Number Publication Date
CN115396756A true CN115396756A (en) 2022-11-25

Family

ID=84122462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211024734.4A Pending CN115396756A (en) 2022-08-25 2022-08-25 Equipment resource configuration method, device, server and storage medium

Country Status (1)

Country Link
CN (1) CN115396756A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105656648A (en) * 2014-11-12 2016-06-08 华为技术有限公司 ODN resource organizing method and system
WO2017206690A1 (en) * 2016-06-01 2017-12-07 中兴通讯股份有限公司 Method and apparatus for configuring optical network unit, and optical line terminal
CN108804286A (en) * 2018-05-31 2018-11-13 中国联合网络通信集团有限公司 Auditing method, device, terminal and the storage medium of number line end mouth status data
CN112468897A (en) * 2020-11-13 2021-03-09 中盈优创资讯科技有限公司 PON port cut-over automatic configuration method and device
CN114244427A (en) * 2021-12-22 2022-03-25 中国电信股份有限公司 Method and device for checking optical fiber network port resources and computer readable medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105656648A (en) * 2014-11-12 2016-06-08 华为技术有限公司 ODN resource organizing method and system
WO2017206690A1 (en) * 2016-06-01 2017-12-07 中兴通讯股份有限公司 Method and apparatus for configuring optical network unit, and optical line terminal
CN108804286A (en) * 2018-05-31 2018-11-13 中国联合网络通信集团有限公司 Auditing method, device, terminal and the storage medium of number line end mouth status data
CN112468897A (en) * 2020-11-13 2021-03-09 中盈优创资讯科技有限公司 PON port cut-over automatic configuration method and device
CN114244427A (en) * 2021-12-22 2022-03-25 中国电信股份有限公司 Method and device for checking optical fiber network port resources and computer readable medium

Similar Documents

Publication Publication Date Title
CN108370341B (en) Resource allocation method, virtual network function manager and network element management system
US10218536B1 (en) Configuring and managing virtual grids
US9164950B2 (en) Use tag clouds to visualize components related to an event
CN107465687B (en) Method, device and terminal for realizing permission configuration
CN108572795A (en) Based on expansion method, device, equipment and the storage medium for building Storage Virtualization
CN104461698A (en) Dynamic virtual disk mounting method, virtual disk management device and distributed storage system
CN111490890A (en) Hierarchical registration method, device, storage medium and equipment based on micro-service architecture
CN112230847B (en) Method, system, terminal and storage medium for monitoring K8s storage volume
CN105515858A (en) Dynamic address configuration system and method of waveform modules based on SCA
CN111064786B (en) Account identifier management method and device
CN110839007B (en) Cloud network security processing method and device and computer storage medium
CN111163186A (en) ID generation method, device, equipment and storage medium
CN115396756A (en) Equipment resource configuration method, device, server and storage medium
CN111158595B (en) Enterprise-level heterogeneous storage resource scheduling method and system
CN115080253B (en) GPU task allocation method and device, electronic equipment and storage medium
CN111324459A (en) Calendar-based resource scheduling method and device, electronic equipment and storage medium
CN109617720A (en) A kind of distribution method and device of Internet resources
CN114020214A (en) Storage cluster capacity expansion method and device, electronic equipment and readable storage medium
CN108989461B (en) Multi-control storage balancing method, device, terminal and storage medium
CN113064654A (en) BIOS-based Retimer card bandwidth configuration method, device and equipment
CN114675931A (en) Resource monitoring method and monitoring device for integrated platform instance
CN110058866B (en) Cluster component installation method and device
CN111490894B (en) Supply and installation monitoring system and method for virtual machine network card
CN111654385A (en) Port sharing method and device, storage medium and electronic device
CN113835862B (en) Task processing 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