CN115396756B - Method, device, server and storage medium for configuring equipment resources - Google Patents

Method, device, server and storage medium for configuring equipment resources Download PDF

Info

Publication number
CN115396756B
CN115396756B CN202211024734.4A CN202211024734A CN115396756B CN 115396756 B CN115396756 B CN 115396756B CN 202211024734 A CN202211024734 A CN 202211024734A CN 115396756 B CN115396756 B CN 115396756B
Authority
CN
China
Prior art keywords
port
pon
information
target
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211024734.4A
Other languages
Chinese (zh)
Other versions
CN115396756A (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.)
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/CN115396756B/en
Publication of CN115396756A publication Critical patent/CN115396756A/en
Application granted granted Critical
Publication of CN115396756B publication Critical patent/CN115396756B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Small-Scale Networks (AREA)

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 equipment arranged 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 equipment, and the resource information comprises second port information of a plurality of second PON ports of an input number line system in the plurality of optical line equipment; 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 with unmatched first port information and second port information; the target PON port is configured based on the port type of the target PON port. The target PON ports with different port types can be screened out through the equipment information and the resource information, and the screened target PON ports are reconfigured, so that the resource utilization rate of the optical line equipment is improved.

Description

Method, device, server and storage medium for configuring equipment resources
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a device resource allocation method, a device, a server, and a storage medium.
Background
The OLT (Optical LINE TERMINAL) has a plurality of PON (Passive Optical Network ) boards, each of which includes a plurality of PON ports thereon. The device resources of the optical line device are configured by allocating traffic to each PON port.
Currently, 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 of the connected ONT device is recorded in a number line system, so as to implement service allocation for the PON port. When the device resources of the optical line device are reconfigured, 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 the number line system.
However, the inventors found that the prior art has at least the following technical problems: when the optical line equipment has more reconfigured equipment resources, the quantity of the resource configuration information is also more through manual adjustment, so that drop-out, misplacement and other conditions easily occur, partial PON ports cannot be used, and the resource utilization rate of the optical line equipment is reduced.
Disclosure of Invention
The invention provides a device resource configuration method, a device, a server and a storage medium, wherein a target PON port to be configured in optical line equipment is determined, so that the target PON port can be reconfigured, and the resource utilization rate of the optical line equipment is improved.
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 arranged 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 with unmatched first port information and second port information;
and 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 identifier set corresponding to a plurality of first PON ports, and the second port information includes at least a second port identifier set corresponding to a plurality of second PON ports;
The determining, based on the first port information and the second port information, a port type of a target PON port includes:
determining a port identification of the target PON port;
if the port identifier of the target PON port does not belong to the first port identifier set and belongs to the second port identifier set, determining that the port type of the target PON port is a number line virtual PON port.
In one possible design, the first port information further includes operation state information of each first PON port;
The determining, based on the first port information and the second port information, a port type of a target PON port includes:
determining a port identification of the target PON port;
if the port identification of the target 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 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 an unoperated state, determining that the port type of the target PON port is a device unassigned PON port.
In one possible design, the first port information further includes operation status information of each first PON port, and the second port information further includes traffic number information of each second PON port;
The determining, based on the first port information and the second port information, a port type of a target PON port includes:
determining a port identification of the target PON port;
if the port identifier of the target PON port belongs to the first port identifier set and belongs to 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;
If the running state information of the target PON port is used to indicate that the target PON port is in an inactive state, and the traffic number information of the target PON port is used to indicate that the traffic number of the target PON port is 0, determining that the port type of the target PON port is a number-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 the non-allocated PON port or the number line idle PON port of 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 a number line virtual occupation PON port, deleting the second port information corresponding to the target PON port.
In one possible design, the method further comprises:
For any PON board in the plurality of optical line devices, determining a first number of a plurality of PON ports installed by the any PON board, a second number of PON ports with port types being non-allocated PON ports of the devices in the plurality of PON ports, and a third number of PON ports with port types being number line idle PON ports;
if the first number is the sum of the second number and the third number, determining that any PON board is an equipment-free PON board;
And distributing new services to the idle PON board of the equipment.
In one possible design, the method further comprises:
Counting the number of the target PON ports with different port types according to the port types of the target PON ports to obtain the 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 a device resource, including:
An obtaining module, configured to obtain device information and resource information of a plurality of optical line devices arranged in a to-be-configured area, 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 in which a number line system has been entered 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 in which the first port information and the second port information are not matched;
And the configuration module is used for configuring the target PON port based on the port type of the target PON port.
In a third aspect, the present invention provides a server comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes the computer-executable instructions stored by the memory, causing the at least one processor to perform the configuration method of device resources as described above in the first aspect and the various possible designs of the first aspect.
In a fourth aspect, the present invention provides a computer storage medium having stored therein computer-executable instructions which, when executed by a processor, implement the configuration method for device resources as described above in the first aspect and the various possible designs of the first aspect.
According to the configuration method, the device, the server and the storage medium of the equipment resources, the port types of the target PON ports, which are not matched with the port information, in the optical line equipment in the area to be configured can be determined by acquiring the equipment information and the resource information of the optical line equipment in the area to be configured, and the reconfiguration of the target PON ports in the optical line equipment is realized 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 of the prior art, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it will be obvious that the drawings in the following description are some embodiments of the present invention, and that other drawings can be obtained according to these drawings without inventive effort to a person skilled in the art.
Fig. 1 is an application scenario schematic diagram of a method for configuring device resources according to an embodiment of the present invention;
Fig. 2 is a schematic flow chart of a method for configuring device resources according to an embodiment of the present invention;
FIG. 3 is a second flowchart of a method for configuring device resources according to an embodiment of the present invention;
fig. 4 is a flowchart of a method for configuring device resources according to an embodiment of the present invention;
Fig. 5 is a schematic structural diagram of a device resource configuration apparatus according to an embodiment of the present invention;
fig. 6 is a schematic hardware structure of a server according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
With the continuous development of communication technology, the number and model requirements of optical line equipment are also increasing when the optical line equipment is accessed. And each optical line device needs to record corresponding resource configuration information in the number line system, so that the corresponding resource configuration information of the optical line device in the number line system is more and more. At present, the resource configuration information corresponding to the optical line equipment is manually input by a worker. When the device resources of the optical line device are reconfigured, the resource configuration information corresponding to the optical line device needs to be manually adjusted. Under the condition, when more resource configuration information needs to be input, the conditions of drop-out, misplacement and the like are easy to occur for staff, so that part of PON ports on the optical line equipment cannot be used, and the resource utilization rate of the optical line equipment is reduced.
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 is matched with corresponding resource configuration information in the number line system according to personal verification. If the unmatched PON ports are found, the reconfiguration is carried out. However, because the optical line equipment has more corresponding resource allocation information in the number line system, the method of manual verification through personal experience has low efficiency, and the resource utilization rate of the optical line equipment cannot be effectively improved.
In order to solve the above technical problems, the embodiments of the present invention provide the following technical ideas: firstly, equipment information and resource information of a plurality of optical line equipment arranged in an area to be configured are acquired. And then, carrying out association matching analysis through a big data technology according to the equipment information and the resource information, screening out PON ports of which the equipment information and the resource information are not matched in a plurality of optical line equipment, and determining the port types of the non-matched PON ports. And then, according to the port types of the PON ports, the unmatched PON ports in the optical line devices are configured, idle resources are activated, and the resource utilization rate of the optical line devices is improved. The following will explain in detail the embodiments.
Fig. 1 is an application scenario schematic 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 to-be-configured area equipment resource input by the user, the configuration request is transmitted to the server 102 through the wireless network, where the configuration request carries an area identifier of the to-be-configured area. The server 102 receives a configuration request of equipment resources sent by the display terminal 101, obtains equipment information and resource information of a plurality of optical line equipments arranged in an area to be configured corresponding to an area identifier according to the area identifier carried in the configuration request, and configures the equipment resources of the plurality of optical line equipments arranged in the area to be configured according to the equipment information and the resource information of the plurality of optical line equipments.
Fig. 2 is a schematic flow chart of a method for configuring device resources according to an embodiment of the present invention, and an execution subject of the embodiment may be a server in the embodiment shown in fig. 1, or may be other computer devices, etc., which is not particularly limited herein. As shown in fig. 2, the method includes:
S201: equipment information and resource information of a plurality of optical line devices arranged in an area to be configured are acquired, 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 an embodiment of the present invention, the area to be configured may include one or more administrative areas. Administrative areas may be provincial, urban, etc. 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 network management system of the access network can monitor the device information of the plurality of optical line devices in real time, and can acquire the device information of the plurality of optical line devices in real time. The server can obtain the device information of a plurality of optical line devices through an access network management system. Specifically, obtaining device information of a plurality of optical line devices arranged in a region to be configured includes: the server sends a first acquisition instruction for acquiring equipment information to an access network management system, wherein the first acquisition instruction carries an area identifier of an area to be configured. The access network management system receives the first acquisition instruction, acquires the equipment information of the optical line equipment in the area to be configured according to the area identification of the area to be configured, and returns the equipment information of the optical line equipment to the server. And the server receives the equipment information of the plurality of optical line equipment returned by the network management system of the access network.
The first port information of the first PON port may include first port identifications, and the first port information of the plurality of first PON ports constitutes 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 comprise operation state information of the PON port. The operation state information is used to indicate the operation state of the PON port. The PON port operation states include an operation state (i.e., up state) and an unoperated state (i.e., down state).
Optionally, the number line system stores resource information of a plurality of optical line devices. The server may obtain resource information of the plurality of optical line devices through the number line system. Specifically, obtaining resource information of a plurality of optical line devices arranged in a region to be configured includes: the server sends a second acquisition instruction for acquiring the resource information to the number line system, wherein the second acquisition instruction carries the area identification of the area to be configured. And the number line system receives a 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. 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 information on a number of services 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.
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 disposed in the area to be configured. For example, the server may acquire it once a day, once a week, or once an hour.
S202: and determining the port type of the target PON port based on the first port information and the second port information, wherein the target PON port is a PON port with unmatched first port information and second port information.
In the embodiment of the present invention, the PON port whose first port information and second port information are not matched is an idle or abnormal PON port, that is, a target PON port. Wherein, the port type packet bracket line of the target PON port virtually occupies the PON port, the unassigned PON port of the equipment and the number line idle PON port. In the embodiment of the present invention, the server may screen a target PON port (an idle or abnormal PON port) among a plurality of PON ports on a plurality of optical line devices according to the first port information and the second port information, and determine a port type of the screened target PON port.
The server can screen the target PON ports through the following three implementations, and determine the port types of the screened target PON ports.
In a first implementation manner, the server screens the target PON port according to the port identifier of the PON port, and determines the 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. Accordingly, 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 set of port identifiers and belongs to the second set of port identifiers, determining that the 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.
Because the idle or abnormal PON ports can be screened out according to the port identification of the PON ports, and the information complexity of the port identification of the PON ports is low, the efficiency of determining the target PON ports is improved.
In a second implementation manner, the server screens the target PON port according to the port identifier of the PON port and the running state of the PON port, and determines the port type of the screened target PON port. The first port information further includes operation state information of each first PON port. Accordingly, 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 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 running state information of any PON port is used to indicate that the target PON port is in an unoperated state, determining any PON port as the target PON port, and determining the port type of the target PON port as the equipment unassigned PON port.
The port type of the screened target PON port is determined according to the port identification of the PON port and the running state of the PON port, and information referenced by determining the 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 running 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 the target PON port according to the port identifier of the PON port, the running state of the PON port, and the number of services of the PON port, and determines the 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 number information of each second PON port. Accordingly, 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 for any PON port in the plurality of optical line devices; 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 running state information of any PON port and the service quantity information of any PON port; if the running state information of any PON port is used to indicate that any PON port is in an inactive state, and the traffic number information of any PON port is used to indicate that the traffic number 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 ports according to the port identifications of the PON ports, the running states of the PON ports and the service quantity of the PON ports, and determines the port types of the screened target PON ports, so that information referenced by the determined port types is further increased, and the accuracy of determining the port types of the target PON ports is further improved.
S203: the target PON port is configured based on the port type of the target PON port.
In one possible design, this step is: and if the port type of the target PON port is the port type of the equipment unassigned PON port or the number line idle PON port, assigning new service to the target PON port.
Because the unassigned PON ports or the number line idle PON ports of the equipment 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, this step is: and if the port type of the target PON port is the number line virtual occupation PON port, deleting the second port information corresponding to the target PON port.
If the port type of the target PON port is the virtual PON port, the server deletes the 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 configuration method of the equipment resources, the port types of the target PON ports with unmatched port information 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 reconfiguration of the target PON ports in the plurality of optical line equipment is realized according to the port types of the target PON ports, so that the resource utilization rate of the optical line equipment is improved, and meanwhile, the number of the drop-out and the misplaced resource configuration information in the number line system is reduced through the reconfiguration of the target PON ports in the plurality of optical line equipment, and the problems of equipment resource information drop-out and misplaced are solved.
Fig. 3 is a schematic flow chart of a method for configuring device resources according to an embodiment of the present invention. In the embodiment of the present invention, based on the embodiment provided in fig. 2, the server may also screen out the device idle PON boards in the plurality of optical line devices, so as to directly configure device resources of the device idle PON boards.
The following describes the specific implementation method in detail, as shown in fig. 3, and the method further includes:
S204: for any one of the plurality of optical line devices, determining a first number of a plurality of PON ports to which the PON board has been installed, a second number of PON ports of which port types are non-allocated PON ports of the device, and a third number of PON ports of which port types are number line free PON ports. And if the first quantity is the sum of the second quantity and the third quantity, determining that the PON board is an equipment idle PON board, and distributing new services to the equipment idle PON board.
Illustratively, the first number of PON ports of the PON board installed is 6, the second number of PON ports of which port types are PON ports to which no PON port is allocated by the apparatus is 4, and the third number of PON ports of which port types are no-line idle PON ports is 2; at this time, if the first number is the sum of the second number and the third number, and the PON board is determined to be an equipment-free PON board, the server allocates a new service to the equipment-free PON board.
In the embodiment of the invention, the idle PON boards of the devices in the optical line devices can be screened out, so that the idle PON boards can be directly configured without configuring a plurality of PON ports installed on the idle PON boards one by one when the idle resources are reconfigured, and the resource configuration efficiency is improved.
Fig. 4 is a flowchart illustrating a method for configuring device resources according to an embodiment of the present invention. In the embodiment of the present invention, based on the embodiment provided in fig. 2, the server may further count the number of the target PON ports of different port types, so as to more intuitively learn and screen the number of abnormal or idle PON ports. The following describes the specific implementation method in detail, as shown in fig. 4, the method includes:
s205: and counting the number of the target PON ports with different port types according to the port types of the target PON ports to obtain the statistical information of the target PON ports.
The statistics may include the number of PON ports of the plurality of port types. Exemplary, the statistics of the target PON ports include: the number line is virtually 5 on the PON ports, the number line is 5 on the idle PON ports, and the equipment does not allocate 2 PON ports. The statistics may also include the number of PON boards that the device is idle. Exemplary, the statistics of the target PON ports include: the number line virtually occupies 5 PON ports, the number line is 5 PON ports, the number of the device is not distributed with 2 PON ports, and the number of the device is 2 PON boards.
Specifically, the statistical information may further include a port identifier of the target PON port. The port identification may include the name of the PON port, the name of the optical line device to which the PON port belongs.
For example, the number of the lines is 5, the number of the lines is 694HGMA5680T-11, 295001HGMA5680T-03, 893342HEMA5680T-02, 694005HGMA5680T-05 and 694005HGMA5680T-05,5, and the names of the PON ports corresponding to the 5 lines are 13/50, 10/50, 5/50, 17/51 and 17/50, respectively.
It should be noted that, when counting the number of the target PON ports, the server may respectively count according to a plurality of administrative areas included in the area to be configured, to obtain statistical information of the target PON ports in a plurality of administrative areas. Each administrative area is also subdivided. For example, the area to be configured is a province, and the plurality of administrative areas may be a city, a county, a village, and the like.
Illustratively, the area to be configured is province a. The administrative areas included in the province A are A, B, C, D, E and F. The server respectively carries out statistics on the number of the target PON ports in the A market, the B market, the C market, the D market, the E market and the F market to obtain statistics information of the target PON ports in the A market, statistics information of the target PON ports in the B market, statistics information of the target PON ports in the C market, statistics information of the target PON ports in the D market, statistics information of the target PON ports in the E market and statistics information of the target PON ports in the F market. For example, the number of the virtual PON ports in city a is 5, and the optical line devices (OLT devices) corresponding to the 5 virtual PON ports are 694HGMA5680T-11, 295001HGMA5680T-03, 893342HEMA5680T-02, 694005HGMA5680T-05, and 694005HGMA5680T-05,5 virtual PON ports corresponding to the PON ports have names of 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 PON port (abbreviated as "virtual occupation" in the report) is shown in table 1.
Table 1: report form corresponding to PON (passive optical network) of virtual occupation of line of urban number A
Sequence number Province and province Urban area OLT name Port name Number of services Port type
1 A A 694HGMA5680T-11 13/50 2 Deficiency of the stomach
2 A A 295001HGMA5680T-03 10/50 16 Deficiency of the stomach
3 A A 893342HEMA5680T-02 5/50 6 Deficiency of the stomach
4 A A 694005HGMA5680T-05 17/51 1 Deficiency of the stomach
5 A A 694005HGMA5680T-05 17/50 2 Deficiency of the stomach
In the embodiment of the invention, the statistical information of the target PON ports is displayed through the report, the information of the idle PON ports in each region can be directly acquired, the condition of equipment resources in each region can be conveniently known, and the equipment resource utilization rate of each region is improved.
Fig. 5 is a schematic structural diagram of a device resource configuration apparatus according to an embodiment of the present invention. As shown in fig. 5, the configuration apparatus of the device resource 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 a plurality of optical line devices arranged in an area 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 in which an number line system has been recorded in the plurality of optical line devices;
a determining module 502, 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 in which the first port information and the second port information are not matched;
A configuration module 503, configured to configure the target PON port based on the 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 plurality of optical line devices, a port identifier of the any PON port; 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 any PON port as a target PON port, and determining the port type of the target PON port as a number line virtual PON port.
In a possible implementation manner, the determining module 502 is specifically configured to determine, for any PON port in the plurality of optical line devices, a port identifier of the any 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 running state information of any PON port is used to indicate that the target PON port is in an unoperated state, determining any PON port as the target PON port, and determining the port type of the target PON port as the equipment unassigned PON port.
In a possible implementation manner, the determining module 502 is specifically configured to determine, for any PON port in the plurality of optical line devices, a port identifier of the any 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 running state information of any PON port and the service quantity information of any PON port; if the running state information of any PON port is used to indicate that any PON port is in an inactive state, and the traffic number information of any PON port is used to indicate that the traffic number 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-free PON port
In one possible implementation, the configuration module 503 is specifically configured to allocate new traffic to the target PON port if the port type of the target PON port is a PON port or a number line idle PON port 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 PON port.
In one possible implementation manner, the configuration device of the device resource further includes a second determining module, where the second determining module is specifically configured to determine, for any PON board in the plurality of optical line devices, a first number of a plurality of PON ports in which any PON board is installed, a second number of PON ports in the plurality of PON ports whose port type is a PON port to which the device is not allocated, and a third number of PON ports whose port type is a number line idle PON port; and if the first number is the sum of the second number and the third number, determining any PON board as the equipment-free PON board. The configuration module 503 is further specifically configured to allocate new services to the device-free PON board.
The device provided in this embodiment may be used to implement the technical solution of the foregoing method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
Fig. 6 is a schematic 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 the method comprises the steps of
A memory 602 for storing computer-executable instructions;
A processor 601 for executing computer-executable instructions stored in a memory to implement the steps performed by the server in the above embodiments. Reference may be made in particular to the relevant description of the embodiments of the method 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 comprises a bus 603 for connecting the memory 602 and the processor 601.
The embodiment of the invention also provides a computer storage medium, wherein computer execution instructions are stored in the computer storage medium, and when a processor executes the computer execution instructions, the configuration method of the equipment resources is realized.
The embodiment of the invention also provides a computer program product, which comprises a computer program, and when the computer program is executed by a processor, the configuration method of the equipment resource is realized. The embodiment of the invention also provides a computer program product, which comprises a computer program, and when the computer program is executed by a processor, the network slice deployment method is realized.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, e.g., the division of modules is merely a logical function division, and there may be additional divisions of actual implementation, e.g., multiple modules may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms.
The modules illustrated as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to implement the solution of this embodiment.
In addition, each functional module in the embodiments of the present invention may be integrated in one processing unit, or each module may exist alone physically, or two or more modules may be integrated in one unit. The units formed by the modules can be realized in a form of hardware or a form of hardware and software functional units.
The integrated modules, which are implemented in the form of software functional modules, may be stored in a computer readable storage medium. The software functional modules described above are stored in a storage medium and include instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or processor to perform some of the steps of the methods of the various embodiments of the application.
It should be appreciated that the Processor may be a central processing unit (Central Processing Unit, abbreviated as CPU), or may be other general purpose Processor, digital signal Processor (DIGITAL SIGNAL Processor, abbreviated as DSP), application SPECIFIC INTEGRATED Circuit (ASIC), or the like. 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 for execution, or in a combination of hardware and software modules in a processor for execution.
The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile memory NVM, such as at least one magnetic disk memory, and may also be a U-disk, a removable hard disk, a read-only memory, a magnetic disk or optical disk, etc.
The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (PERIPHERAL COMPONENT INTERCONNECT, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, the buses in the drawings of the present application are not limited to only one bus or to one type of bus.
The storage medium may be implemented by any type or combination of volatile or nonvolatile 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 disk. 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. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an Application SPECIFIC INTEGRATED Circuits (ASIC). It is also possible that the processor and the storage medium reside as discrete components in an electronic device or a master device.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention.

Claims (10)

1. A method for configuring a device resource, comprising:
Acquiring equipment information and resource information of a plurality of optical line devices arranged 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 with unmatched first port information and second port information;
Configuring the target PON port based on a port type of the target PON port;
The first port information at least comprises a first port identifier set corresponding to a plurality of first PON ports, and the second port information at least comprises a second port identifier set corresponding to a plurality of second PON ports; the determining, based on the first port information and the second port information, a port type of a target PON port includes:
Determining, for any PON port in the plurality of optical line devices, a port identification of the any PON port;
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 a port type of the target PON port is a number line virtual PON port.
2. The method of claim 1, wherein the first port information further comprises operational status information for each first PON port;
The determining, based on the first port information and the second port information, a port type of a target PON port includes:
Determining, for any PON port in the plurality of optical line devices, a port identification of the any 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 running state information of any PON port is used to indicate that the target PON port is in an unoperated state, determining that the any PON port is a target PON port, and determining that a port type of the target PON port is a device unassigned PON port.
3. The method of claim 1, wherein the first port information further comprises operational status information for each first PON port, and the second port information further comprises traffic volume information for each second PON port;
The determining, based on the first port information and the second port information, a port type of a target PON port includes:
Determining, for any PON port in the plurality of optical line devices, a port identification of the any 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 running state information of any PON port and service quantity information of any PON port;
If the running state information of any PON port is used to indicate that the any PON port is in an inactive state, and the traffic number information of any PON port is used to indicate that the traffic number of any PON port is 0, determining that the any PON port is a target PON port, and determining that a port type of the target PON port is a number line idle PON port.
4. The method of claim 1, wherein the configuring the target PON port based on a port type of the target PON port comprises:
and if the port type of the target PON port is the non-allocated PON port or the number line idle PON port of the equipment, allocating new service to the target PON port.
5. The method of claim 1, wherein the configuring the target PON port based on a port type of the target PON port comprises:
and if the port type of the target PON port is a number line virtual occupation PON port, deleting the second port information corresponding to the target PON port.
6. The method according to any one of claims 1 to 5, further comprising:
For any PON board in the plurality of optical line devices, determining a first number of a plurality of PON ports installed by the any PON board, a second number of PON ports with port types being non-allocated PON ports of the devices in the plurality of PON ports, and a third number of PON ports with port types being number line idle PON ports;
if the first number is the sum of the second number and the third number, determining that any PON board is an equipment-free PON board;
And distributing new services to the idle PON board of the equipment.
7. The method according to any one of claims 1 to 5, further comprising:
Counting the number of the target PON ports with different port types according to the port types of the target PON ports to obtain the statistical information of the target PON ports;
And displaying the statistical information of the target PON port.
8. A device resource allocation apparatus, comprising:
An obtaining module, configured to obtain device information and resource information of a plurality of optical line devices arranged in a to-be-configured area, 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 in which a number line system has been entered 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 in which the first port information and the second port information are not matched;
a configuration module, configured to configure the target PON port based on a port type of the target PON port;
The first port information at least comprises a first port identifier set corresponding to a plurality of first PON ports, and the second port information at least comprises a second port identifier set corresponding to a plurality of second PON ports; a determining module, configured to determine, for any PON port in the plurality of optical line devices, a port identifier of the any PON port; 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 a port type of the target PON port is a number line virtual PON port.
9. A server, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
The at least one processor executing computer-executable instructions stored in the memory causes the at least one processor to perform the method of configuring device resources as claimed in any one of claims 1 to 7.
10. A computer storage medium having stored therein computer executable instructions which, when executed by a processor, implement the method of configuring device resources of any of claims 1 to 7.
CN202211024734.4A 2022-08-25 2022-08-25 Method, device, server and storage medium for configuring equipment resources Active CN115396756B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211024734.4A CN115396756B (en) 2022-08-25 2022-08-25 Method, device, server and storage medium for configuring equipment resources

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211024734.4A CN115396756B (en) 2022-08-25 2022-08-25 Method, device, server and storage medium for configuring equipment resources

Publications (2)

Publication Number Publication Date
CN115396756A CN115396756A (en) 2022-11-25
CN115396756B true CN115396756B (en) 2024-05-14

Family

ID=84122462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211024734.4A Active CN115396756B (en) 2022-08-25 2022-08-25 Method, device, server and storage medium for configuring equipment resources

Country Status (1)

Country Link
CN (1) CN115396756B (en)

Citations (6)

* 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
WO2021259113A1 (en) * 2020-06-23 2021-12-30 中兴通讯股份有限公司 Onu registration method and apparatus, and network device and storage medium
CN114244427A (en) * 2021-12-22 2022-03-25 中国电信股份有限公司 Method and device for checking optical fiber network port resources and computer readable medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101414925B (en) * 2007-10-17 2011-04-06 华为技术有限公司 Method, system and apparatus for configuring optical network terminal

Patent Citations (6)

* 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
WO2021259113A1 (en) * 2020-06-23 2021-12-30 中兴通讯股份有限公司 Onu registration method and apparatus, and network device and storage medium
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

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种基于PON端口保护应用方案;廖智强;颜建标;温永中;中国新通信;20131231(第023期);全文 *

Also Published As

Publication number Publication date
CN115396756A (en) 2022-11-25

Similar Documents

Publication Publication Date Title
CN107679684B (en) Policy allocation method, policy allocation device, storage medium and computer equipment
US10481935B2 (en) Management system, overall management node, and management method for managing virtualization resources in a mobile communication network
CN110601922B (en) Method and device for realizing comparison experiment, electronic equipment and storage medium
CN114244717B (en) Configuration method and device of virtual network card resources, computer equipment and medium
CN107465687B (en) Method, device and terminal for realizing permission configuration
CN108845877B (en) Method, device and system for managing memory
CN107071083B (en) Embedded multi-board-card IP address generation method and device
CN111490890A (en) Hierarchical registration method, device, storage medium and equipment based on micro-service architecture
US11080115B2 (en) Sampling management of application programming interface (API) requests
CN105515858A (en) Dynamic address configuration system and method of waveform modules based on SCA
CN110839007B (en) Cloud network security processing method and device and computer storage medium
CN115396756B (en) Method, device, server and storage medium for configuring equipment resources
CN110795202B (en) Resource allocation method and device of virtualized cluster resource management system
US7443870B2 (en) Method for prioritizing grouped data reduction
CN110087226A (en) Flow statistical method, device, storage medium and electronic device
CN115080253B (en) GPU task allocation method and device, electronic equipment and storage medium
CN112600720B (en) Method and apparatus for limiting bandwidth group, electronic device, and storage medium
CN108989461B (en) Multi-control storage balancing method, device, terminal and storage medium
WO2021121176A1 (en) Method and device for updating status information of sim card, and server
CN111654385A (en) Port sharing method and device, storage medium and electronic device
CN113835862B (en) Task processing method and device
CN108733693A (en) Data managing method, device, storage medium and processor
CN111130919B (en) Interface monitoring method, device and system and storage medium
CN117353960A (en) ACL rule processing method, device and storage medium
CN117119441A (en) IP address allocation method, device, server and storage medium

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