Enterprise multi-network integration network resource allocation method, device, electronic equipment and medium

By adopting the enterprise multi-network integrated network resource provisioning method in the shared communication infrastructure of multiple operators, the problem of line installation conflicts is solved and network installation efficiency and reliability are improved.

CN119484277BActive Publication Date: 2025-04-04TIANJIN KEDIAN PETROCHEMICAL TECH DEV CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510033266.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-09
Publication Date
2025-04-04
Estimated Expiration
2045-01-09

AI Technical Summary

Technical Problem

In the communication infrastructure shared by multiple operators, conflicts are prone to occur during line installation, resulting in premature damage to resources and affecting user network interests. The conflict resolution time is long, reducing network installation efficiency.

Method used

The enterprise multi-network integrated network resource allocation method is adopted to determine the reasonable access strategy, including access ports and access levels, by obtaining work order information, determining work order types, obtaining port occupancy information of the access location, analyzing the occupancy type and access type to be accessed, to determine reasonable access policies, including access ports and access levels, to reduce line installation conflicts.

Benefits of technology

Through reasonable access strategies, the conflicts in line installation are reduced, network installation efficiency is improved, resource damage risk is reduced, and network reliability and performance are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119484277B_ABST
    Figure CN119484277B_ABST
Patent Text Reader

Abstract

The present application relates to a method, device, electronic device and medium for allocating network resources in one enterprise multi-network, which is applied to the technical field of network resource allocation, and the method includes: obtaining work order information, the work order information includes the type to be accessed; determining the work order type based on the type to be accessed, the work order type includes a private type and a public type; determining the access location based on the work order type and the work order information; obtaining the port occupancy information of the access location; if there is no idle port, determining the occupancy type corresponding to the occupied port based on the port occupancy information; determining the access strategy based on the occupancy type, the type to be accessed, the port occupancy information and the work order information, the access strategy includes the access port and the access level. The present application has the effect of reducing conflicts in line installation, thereby improving the efficiency of network installation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of network resource allocation, and more particularly to a method, device, electronic device and medium for allocating network resources for an enterprise multi-network integration. Background Art

[0002] According to regulations, the supporting communication infrastructure of newly built buildings (civil and commercial) is constructed by the developer, and multiple operators (China Mobile, China Unicom, China Telecom, and Radio and Television, etc.) share a set of communication infrastructure. However, since each operator allocates resources and installs lines according to its own management system and management system, shared resources sometimes have installation line conflicts, causing premature damage to shared resources and affecting users' network interests.

[0003] Currently, when a conflict occurs in the installation of shared resources, the parties involved in the conflict often resolve the conflict through offline negotiation. It often takes a long time to resolve the conflict, resulting in low network installation efficiency. Summary of the invention

[0004] In order to reduce conflicts in line installation and thus improve network installation efficiency, the present application provides an enterprise multi-network integration network resource allocation method, device, electronic device and medium.

[0005] In a first aspect, the present application provides a method for allocating network resources of an enterprise using multiple networks in one, which adopts the following technical solution:

[0006] A method for allocating network resources of an enterprise by integrating multiple networks, comprising:

[0007] Obtaining work order information, wherein the work order information includes a type to be accessed;

[0008] Determine a work order type based on the type to be accessed, the work order type including a private type and a public type;

[0009] Determine an access location based on the work order type and the work order information;

[0010] Obtaining port occupancy information of the access location;

[0011] If there is no idle port, determining the occupation type corresponding to the occupied port based on the port occupation information;

[0012] An access strategy is determined based on the occupancy type, the access type to be accessed, the port occupancy information, and the work order information, where the access strategy includes an access port and an access level.

[0013] By adopting the above technical solution, the work order type is determined by the type to be accessed, and the access location is determined in different ways according to different work order types. When there are no idle ports, the occupancy type of each occupied port is determined according to the port occupancy information of the access location. Therefore, the access port and access level of the work order information can be obtained more reasonably according to the occupancy type and the type to be accessed, thereby reducing the conflict of line installation and improving the installation efficiency of the network.

[0014] Optionally, determining the access location based on the work order type and the work order information includes:

[0015] If the work order type is a public type, the network control position is obtained, and the public type includes a fire protection type and a monitoring type;

[0016] Acquire port distribution information, where the port distribution information includes port locations;

[0017] Calculating a location distance between the network control location and the port location;

[0018] The port position corresponding to the minimum position distance is determined as the access position.

[0019] By adopting the above technical solution, when the work order type is a public type, the access location is determined in a nearby manner, thereby reducing the situation where the risk probability increases due to long-distance lines and improving the reliability of line access corresponding to the work order.

[0020] Optionally, the determining the access strategy based on the occupation type, the type to be accessed, the port occupation information, and the work order information includes:

[0021] If the occupied type is the same as the to-be-accessed type, determining the occupied port corresponding to the to-be-accessed type as the first port;

[0022] Determine a first PON port and a second PON port based on the port occupation information and the work order information, the first PON port being the PON port currently corresponding to the occupied port, and the second PON port being the PON port corresponding to the work order information;

[0023] determining the first port corresponding to the first PON port which is the same as the second PON port as a second port;

[0024] Determine the number of connections of the second port based on the port occupancy information;

[0025] Determine the second port having the least number of connections as an access port;

[0026] Determine the uppermost idle layer corresponding to the access port as the access layer, the idle layer is a layer that can be wired, and the uppermost idle layer is an idle layer that passes through the least optical splitters;

[0027] An access policy is determined based on the access port and the access level.

[0028] By adopting the above technical solution, when there is an occupancy type that is the same as the type to be accessed, it is determined whether the PON ports are the same, and the same PON port, the same operator, and the port with the least number of connections are determined as the access port. This can better balance the network load and reduce the possibility of network congestion, thereby improving network performance. When determining the access layer, the top idle layer is determined as the access layer, so that when a network abnormality occurs, the abnormal location can be determined more quickly by locating the abnormality upward.

[0029] Optionally, the determining the access strategy based on the occupation type, the type to be accessed, the port occupation information, and the work order information includes:

[0030] If there is no occupation type that is the same as the type to be accessed, grouping the occupied ports according to the occupation type and the first PON port to obtain at least one first port combination, each of the first port combinations corresponding to one occupation type and one first PON port;

[0031] Counting the number of the occupied ports in each of the first port combinations;

[0032] Determine the first port combinations whose number is greater than 2 as second port combinations;

[0033] Counting the number of accesses to each of the occupied ports in the second port combination;

[0034] Calculate the sum of the access quantities of every two occupied ports in the second port combination based on the access quantity;

[0035] If the minimum sum of the access quantities in all the second port combinations is less than or equal to a preset quantity threshold, then the two occupied ports with the minimum sum of the access quantities in all the second port combinations are determined as merged ports, and the preset quantity threshold is the maximum number of accesses that each port can access;

[0036] Determine the combined port with the smaller access quantity as the access port;

[0037] An access strategy is determined based on the merge port and the access port, where the access strategy includes a line adjustment strategy and an access port and an access level corresponding to the work order information.

[0038] By adopting the above technical solution, when there is no occupancy type that is the same as the type to be accessed, the lines of the two merged ports are merged through the PON port, the access number of each occupied port, the access number of every two occupied ports and the merged port, which can reduce the possibility of network congestion after the line merging. At the same time, the merged port with a small access number is determined as the access port, and the original line of the access port is reconnected to another merged port, which can reduce the number of line adjustments, reduce the workload, and reduce the probability of abnormalities during the line adjustment process.

[0039] Optionally, after calculating the sum of the access quantities of every two occupied ports in the second port combination based on the access quantity, the method further includes:

[0040] If the minimum sum of the access quantities in all the second port combinations is greater than a preset quantity threshold, then calculating the total access quantity of all the occupied ports in the second port combination;

[0041] Calculating a merging threshold based on the number of occupied ports and the preset number threshold, the merging threshold being the maximum number of ports that can be connected after reducing one port in the second port combination;

[0042] Determine the second port combination whose total access quantity is less than the merging threshold as a merging combination;

[0043] Calculating an average access quantity of the ports of the combinable combination, where the average access quantity of the ports is the access quantity obtained by evenly distributing the total access quantity to each port after reducing one port in the second port combination;

[0044] An access strategy is determined based on the average access quantity of the port.

[0045] Optionally, after determining the access strategy based on the occupation type, the access type to be accessed, the port occupation information, and the work order information, the method further includes:

[0046] In response to the removal information, determining whether the port corresponding to the removal information has an access line other than the removal information;

[0047] If the port corresponding to the removal information does not have the access line other than the removal information, determining the access quantity and access level of the occupied port based on the port occupation information;

[0048] Determine the occupied port with the largest number of accesses as the first split port;

[0049] Determine the first split port with the largest number of access levels as the second split port;

[0050] A port adjustment strategy is determined based on the second split port and the port corresponding to the removal information.

[0051] By adopting the above technical solution, when idle ports appear after the lines are removed, the occupied ports with the largest number of accesses and access levels are split, that is, some of the lines connected to the occupied ports are connected to the idle ports, thereby balancing the network load of each port, reducing the possibility of network congestion, and improving network performance.

[0052] Optionally, after determining the access strategy based on the occupation type, the access type to be accessed, the port occupation information, and the work order information, the method further includes:

[0053] In response to the network abnormality information, determining an abnormal user based on the network abnormality information;

[0054] Searching the abnormal port corresponding to the abnormal user from the port occupation information;

[0055] Searching the access line corresponding to the abnormal port and the access level corresponding to the access line from the port occupation information;

[0056] Determining the access level of the access line corresponding to the abnormal user as the abnormal level;

[0057] Determine whether all the access lines at the abnormal level and under the same optical splitter as the abnormal user are abnormal;

[0058] If there is no abnormality in the access line at the abnormal level and under the same optical splitter as the abnormal user, the abnormal position is the line corresponding to the network abnormal information;

[0059] If the access lines at the abnormal level and under the same optical splitter as the abnormal user are all abnormal, it is determined whether the access lines at the upper level of the abnormal level are all abnormal, and a determination result is obtained, wherein the upper level is an access level adjacent to the abnormal level and close to the port position;

[0060] The abnormality position is determined based on the determination result.

[0061] By adopting the above technical solution, when a network anomaly occurs, the abnormal position can be quickly located by analyzing the access port, access level and whether the line is under the same splitter layer by layer, thereby improving the efficiency of exception handling.

[0062] In a second aspect, the present application provides an enterprise multi-network integrated network resource allocation device, which adopts the following technical solution:

[0063] An enterprise multi-network integrated network resource allocation device, comprising:

[0064] A first acquisition module is used to acquire work order information, where the work order information includes a type to be accessed;

[0065] A type determination module, used to determine the type of work order based on the type to be accessed, wherein the work order type includes a private type and a public type;

[0066] A location determination module, used to determine an access location based on the work order type and the work order information;

[0067] A second acquisition module, used to acquire port occupancy information of the access location;

[0068] An idle determination module, configured to determine an occupancy type corresponding to an occupied port based on the port occupancy information if there is no idle port;

[0069] A policy determination module is used to determine an access policy based on the occupation type, the access type to be accessed, the port occupation information and the work order information, wherein the access policy includes an access port and an access level.

[0070] By adopting the above technical solution, the work order type is determined by the type to be accessed, and the access location is determined in different ways according to different work order types. When there are no idle ports, the occupancy type of each occupied port is determined according to the port occupancy information of the access location. Therefore, the access port and access level of the work order information can be obtained more reasonably according to the occupancy type and the type to be accessed, thereby reducing the conflict of line installation and improving the installation efficiency of the network.

[0071] In a third aspect, the present application provides an electronic device, which adopts the following technical solution:

[0072] An electronic device comprises a processor, wherein the processor is coupled to a memory;

[0073] The memory stores a computer program that can be loaded by the processor and execute the enterprise multi-network integration network resource allocation method described in any one of the first aspects.

[0074] In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution:

[0075] A computer-readable storage medium stores a computer program that can be loaded by a processor and execute the enterprise multi-network integration network resource allocation method described in any one of the first aspects.

[0076] In summary, the present application includes at least one of the following beneficial technical effects:

[0077] 1. The work order type is determined by the type of access to be made. The access location is determined in different ways according to different work order types. When there is no idle port, the occupancy type of each occupied port is determined according to the port occupancy information of the access location. Thus, the access port and access level of the work order information can be obtained more reasonably according to the occupancy type and the type of access to be made, which reduces the conflict of line installation and improves the installation efficiency of the network.

[0078] 2. When there is no occupancy type that is the same as the type to be accessed, the lines of the two merged ports are merged through the PON port, the access number of each occupied port, and the access number of every two occupied ports, which can reduce the possibility of network congestion after the line merger. At the same time, the merged port with a small access number is determined as the access port, and the original line of the access port is reconnected to another merged port, which can reduce the number of line adjustments, reduce workload, and reduce the probability of abnormalities during the line adjustment process. BRIEF DESCRIPTION OF THE DRAWINGS

[0079] Figure 1 It is a flowchart of a method for allocating network resources for an enterprise integrating multiple networks provided in an embodiment of the present application.

[0080] Figure 2 It is a structural block diagram of an enterprise multi-network integrated network resource allocation device provided in an embodiment of the present application.

[0081] Figure 3 It is a structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0082] The present application is further described in detail below in conjunction with the accompanying drawings.

[0083] The embodiment of the present application provides a method for allocating network resources of an enterprise in a multi-network integration manner, which can be executed by an electronic device, which can be a server or a terminal device, wherein the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The terminal device can be a smart phone, a tablet computer, a desktop computer, etc., but is not limited thereto.

[0084] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0085] In addition, the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article, unless otherwise specified, generally means that the associated objects before and after are in an "or" relationship.

[0086] like Figure 1 As shown, a method for allocating network resources of an enterprise with multiple networks in one is described as follows (steps S101 to S106):

[0087] Step S101, obtaining work order information.

[0088] When a user (individual user or fire department or monitoring department) needs to access the network, the electronic device will generate work order information and store it in the database. The work order information includes the type of access, PON port and user information. The types of access include mobile, Unicom, Telecom, radio and television, fire protection and monitoring. The user information includes user address, user name and contact information. If the user is a user in a residential building, the user address is accurate to the building number, unit number and account number. If the user is an office building user, the user address is accurate to the floor number and room number. The work order information is obtained from the database.

[0089] Step S102: Determine the work order type based on the type to be accessed.

[0090] Among them, the work order type includes private type and public type. If the type to be accessed is one of China Mobile, China Unicom, China Telecom and Radio and Television, the work order type is private type. If the type to be accessed is fire protection or monitoring, the work order type is public type.

[0091] Step S103: Determine the access location based on the work order type and work order information.

[0092] The access location is a unit in a residential building or a floor in an office building.

[0093] Specifically, the access location is determined based on the work order type and work order information, including: if the work order type is a public type, obtaining the network control location, the public type includes the fire protection type and the monitoring type; obtaining the port distribution information, the port distribution information includes the port location; calculating the location distance between the network control location and the port location; determining the port location corresponding to the minimum location distance as the access location.

[0094] In this embodiment, if the work order type is a public type, the network control location is obtained from the fire department and the monitoring department. In the preset area, fire-fighting equipment or monitoring equipment often use the same network, that is, multiple lines in the preset area are aggregated and connected to a network port. The network control location is the location where multiple fire lines (or monitoring lines) corresponding to the fire-fighting equipment (or monitoring equipment) in the preset area are aggregated. The port distribution information is obtained from the database. The port distribution information includes the port location and the number of ports corresponding to each port location. The location distance between the network control location and the port location is calculated; the port location corresponding to the smallest location distance is determined as the access location, that is, the public type of work order information adopts the principle of nearest access.

[0095] Each unit or floor is configured with a preset number of ports when it is built. One port is one core of the distribution optical fiber. For example, for a unit building with 12 households in each unit, each unit is usually configured with 14 ports. If the work order type is private, the access location is the port of the user's unit or the port on the user's floor.

[0096] Step S104: Obtain port occupancy information of the access location.

[0097] The port occupancy information corresponding to the access location (a unit in a residential building or a floor in an office building) is obtained from the database. The ports of each unit or each floor are numbered in sequence, such as N1-N14. The port occupancy information includes the port location (for example: Unit 5, Building 5, XX Community), the port number, and the port status. The port status includes idle and occupied. A port with an idle status is determined as an idle port, that is, a port that is not connected to the line. A port with an occupied status is determined as an occupied port, that is, a port that has been connected to the line. For occupied ports, the port occupancy information also includes user information corresponding to the access line, occupancy type, and PON port. Users of each unit (or floor) are numbered in sequence according to the household number (room number), such as S1-S12.

[0098] Each port can access a maximum of a preset number of lines. It is worth noting that multiple access lines under the same port need to correspond to the same PON port. When a port corresponds to multiple access lines, the port needs to be split by a splitter (the splitter can divide a beam of light into several paths according to the actual situation, which is not specifically limited here). The splitter can continue to connect to the splitter for splitting. At this time, multiple access levels will appear. For example: a port N1 (N1 also represents the line directly connected to the port) corresponds to 3 access lines. The first splitter that splits a beam of light into two paths and the second splitter are used. The port is directly connected to the first splitter, which splits the light corresponding to port N1. It is divided into two paths. The first path N1.1 represents the first line of the first access layer. The second path is connected to the second splitter, that is, N1.2 represents the second line of the first access layer. At this time, the line is directly connected to the second splitter. The second splitter divides the light into two paths, N1.2.1 and N1.2.2. N1.2.1 represents the first line of the second access layer, and N1.2.2 represents the second line of the second access layer. The numbering is sorted in the following way: if there is one ".", it represents the first access layer, and the corresponding address is the first-level address. If there are two "." in the number, it represents the second access layer, and the corresponding address is the second-level address. By analogy, the first access layer is the upper level of the second access layer.

[0099] Each user can also correspond to multiple networks, that is, multiple lines as needed. The multiple lines can be from the same operator or different operators. When a user S1 corresponds to multiple lines, S1.1 represents the first line corresponding to the S1 user, and S1.2 represents the second line corresponding to the S1 user.

[0100] If there is an idle port at the access position, the access strategy is to determine the idle port corresponding to the smallest port number as the access port. At this time, the access level is the first access level, and there is no need to install a splitter. For example: the idle ports include N5-N14, then N5 is determined as the access port.

[0101] Step S105: If there is no idle port, determine the occupation type corresponding to the occupied port based on the port occupation information.

[0102] If all ports are occupied at this time, that is, there are no idle ports, the occupation types corresponding to all occupied ports are searched from the port occupation information.

[0103] Step S106: Determine an access strategy based on the occupation type, the type to be accessed, the port occupation information, and the work order information.

[0104] The access strategy includes access port and access level.

[0105] Specifically, the access strategy is determined based on the occupancy type, the type to be accessed, the port occupancy information and the work order information, including: if there is an occupancy type that is the same as the type to be accessed, the occupied port corresponding to the type to be accessed is determined as the first port; based on the port occupancy information and the work order information, the first PON port and the second PON port are determined, the first PON port is the PON port currently corresponding to the occupied port, and the second PON port is the PON port corresponding to the work order information; the first port corresponding to the first PON port that is the same as the second PON port is determined as the second port; the number of connections of the second port is determined based on the port occupancy information; the second port with the least number of connections is determined as the access port; the top idle layer corresponding to the access port is determined as the access layer, the idle layer is the layer where connections can be made, and the top idle layer is the idle layer that passes through the least splitters; the access strategy is determined based on the access port and the access layer.

[0106] In this embodiment, when there is no idle port, it is necessary to analyze the occupancy of the occupied ports to determine the access port. If there is an occupancy type that is the same as the type to be accessed, the occupied port corresponding to the type to be accessed (i.e., the same occupancy type as the type to be accessed) is determined as the first port, and the PON port currently corresponding to the occupied port, i.e., the first PON port, is found from the port occupancy information, and the PON port corresponding to the work order information, i.e., the second PON port, is found from the work order information, and the first port corresponding to the first PON port that is the same as the second PON port is determined as the second port, and the number of connections of each second port is found from the port occupancy information, and the second port with the least number of connections is determined as the access port. The number of accesses in each occupied port can be reduced, thereby reducing the probability of abnormality, and when an abnormality occurs in the port, the degree of impact is reduced, thereby reducing the number of accesses in each occupied port. The connection status of each access layer on the access port is searched in the port occupancy information (whether there is any idle layer), and the uppermost idle layer corresponding to the access port is determined as the access layer. For example, the access port is port N2, and port N2 is directly connected to splitter 1 (the optical path can be divided into two paths). The optical path after splitting by splitter 1 is the first access layer, and the first optical path after splitting by splitter 1 is connected to splitter 2, and the optical path after splitting by splitter 2 is the second access layer. A user is connected to one optical path after splitting by splitter 2, and the other optical path can still be allocated to the user after splitting by splitter 2, and the second optical path after splitting by splitter 1 is not allocated to the user at this time. In this case, the uppermost idle layer is the first access layer. The access policy at this time is to allocate the first access layer of the access port to the user corresponding to the work order information, and the access relationship is stored in the database.

[0107] Specifically, the access strategy is determined based on the occupancy type, the type to be accessed, the port occupancy information and the work order information, including: if there is no occupancy type that is the same as the type to be accessed, the occupied ports are grouped according to the occupancy type and the first PON port to obtain at least one first port combination, each first port combination corresponds to an occupancy type and a first PON port; the number of occupied ports in each first port combination is counted; the first port combination with a number greater than 2 is determined as a second port combination; the access number of each occupied port in the second port combination is counted; the access number of each two occupied ports in the second port combination is calculated based on the access number; if the minimum access number sum in all second port combinations is less than or equal to a preset number threshold, the two occupied ports with the least access number sum in all second port combinations are determined as merged ports, and the preset number threshold is the maximum number that each port can access; the merged port with a small access number is determined as the access port; the access strategy is determined based on the merged port and the access port, and the access strategy includes a line adjustment strategy and the access port and access level corresponding to the work order information.

[0108] In this embodiment, when there is no idle port, if there is no occupied type that is the same as the type to be accessed, the line corresponding to the current work order information cannot be directly connected to the occupied port. It is necessary to adjust the access line on an occupied port to other occupied ports through analysis to obtain a idle port, and connect the line corresponding to the current work order information to the idle port. At this time, the idle port has only one access line, and there is no need to install a splitter, that is, the access level is the first access level.

[0109] The corresponding occupied ports with the same occupancy type and the same first PON port are divided into a combination to obtain at least one first port combination, the number of occupied ports in each first port combination is counted, and the first port combination in which the number of occupied ports is greater than 2 is determined as a second port combination, the access quantity of each occupied port in the second port combination is counted, and the sum of the access quantities of every two occupied ports in the second port combination is calculated. For example, if the second port combination has three occupied ports N3-N5, three access quantity sums need to be calculated, which are the sum of the access quantities of occupied ports N3 and N4, the sum of the access quantities of occupied ports N4 and N5, and the sum of the access quantities of occupied ports N3 and N5.

[0110] If the minimum sum of access numbers in all second port combinations is less than or equal to a preset number threshold, that is, there are two occupied ports that can be merged, then the two occupied ports with the minimum sum of access numbers in all second port combinations are determined as merged ports, and the merged port with the smaller access number among the two merged ports is determined as the access port, that is, the access port corresponding to the work order information. The line adjustment strategy is to reconnect the line connected to the access port to another merged port, and when connecting, the access line (user) is connected to another merged port in sequence from top to bottom according to the access level of the access port, and the connection order connected to another merged port is also connected in sequence from top to bottom according to the access level. When the idle optical path is insufficient, splitting is performed by installing a splitter, and the configuration of the splitter is not specifically limited here.

[0111] Specifically, after calculating the sum of the access numbers of every two occupied ports in the second port combination based on the access number, the method also includes: if the minimum sum of the access numbers in all second port combinations is greater than a preset number threshold, calculating the total access number of all occupied ports in the second port combination; calculating a merging threshold based on the number of occupied ports and the preset number threshold, the merging threshold being the maximum number of accesses that can be made after one port is reduced in the second port combination; determining a second port combination whose total access number is less than the merging threshold as a mergeable combination; calculating the average access number of ports in the mergeable combination, the average access number of ports being the number of accesses obtained by evenly distributing the total access number to each port after one port is reduced in the second port combination; and determining an access strategy based on the average access number of ports.

[0112] In this embodiment, if the minimum access quantity sum in all second port combinations is greater than the preset quantity threshold, it means that the sum of all access quantities is greater than the preset quantity threshold, and the access line cannot be obtained by merging the lines of two occupied ports, and the total access quantity of all occupied ports in each second port combination is calculated, the total access quantity is the sum of the access quantities of all occupied ports in the second port combination, the merging threshold=(occupied port quantity-1)×preset quantity threshold, the second port combination whose total access quantity is less than the corresponding merging threshold is determined as a mergeable combination, the average access quantity of ports of the mergeable combination=total access quantity / (occupied port quantity-1), the mergeable combination with the least average port access quantity is determined as the merged combination, the occupied port with the least access quantity in the merged combination is determined as the access port, and the line connected to the access port is reconnected to other occupied ports in the merged combination. The access strategy at this time includes allocating the access port to the user corresponding to the work order information, and there is only one user at the access port at this time, and the access level is the first access level.

[0113] The access strategy also includes calculating the number of lines allocated to each occupied port according to preset rules, the number of other occupied ports, and the number of accesses of other occupied ports. The preset rules are pre-set according to actual conditions and are not specifically limited here. For example: there are three occupied ports in the combined combination, and the obtained access port N8 is connected to 3 access lines, the occupied port N6 is connected to 4 access lines, and the occupied port N7 is connected to 6 access lines. Then, the 2 access lines of the access port N8 are adjusted to the occupied port N6, and the 1 access line of the access port N8 is adjusted to the occupied port N7, so that the access number of the occupied ports after the adjustment is more balanced. The specific connection order and connection position after the adjustment are not specifically limited here.

[0114] Optionally, after determining the access strategy based on the occupancy type, the type to be accessed, the port occupancy information and the work order information, the method also includes: in response to the demolition information, judging whether the port corresponding to the demolition information has an access line other than the demolition information; if the port corresponding to the demolition information does not have an access line other than the demolition information, determining the access quantity and access level of the occupied port based on the port occupancy information; determining the occupied port with the largest number of accesses as the first split port; determining the first split port with the largest number of access levels as the second split port; and determining the port adjustment strategy based on the second split port and the port corresponding to the demolition information.

[0115] In this embodiment, when a user applies to remove an access line, the electronic device will generate removal information, which includes user information, access port and access level. In response to the removal information, it is determined whether the port corresponding to the removal information has an access line other than the removal information. If the port corresponding to the removal information has an access line other than the removal information, the access line of the port does not need to be adjusted.

[0116] If the port corresponding to the demolition information does not have any access lines other than the demolition information, that is, after the access lines to be demolished are demolished, the port corresponding to the demolition information is an idle port, then the access quantity and access level of all occupied ports are found from the port occupancy information, and the occupied port with the largest number of accesses is determined as the first split port, and the first split port with the largest access level is determined as the second split port. The port adjustment strategy includes reconnecting half of the access lines in the second split port to the idle port. The demolition order and connection order are not specifically limited here.

[0117] Optionally, after determining the access strategy based on the occupancy type, the access type to be accessed, the port occupancy information and the work order information, the method also includes: in response to network abnormality information, determining the abnormal user based on the network abnormality information; searching for the abnormal port corresponding to the abnormal user from the port occupancy information; searching for the access line corresponding to the abnormal port and the access level corresponding to the access line from the port occupancy information; determining the access level of the access line corresponding to the abnormal user as the abnormal level; judging whether all access lines at the abnormal level and under the same optical splitter as the abnormal user have abnormalities; if there is an access line at the abnormal level and under the same optical splitter as the abnormal user and there is no abnormality, the abnormal position is the line corresponding to the network abnormality information; if all access lines at the abnormal level and under the same optical splitter as the abnormal user have abnormalities, judging whether all access lines at the upper level of the abnormal level have abnormalities, and obtaining a judgment result, the upper level is the access level adjacent to the abnormal level and close to the port position; and determining the abnormal position based on the judgment result.

[0118] In this embodiment, when a user reports a network failure, network abnormality information is generated, and the network abnormality information includes user information. In response to the network abnormality information, the abnormal user is found from the network abnormality information, and the port corresponding to the abnormal user, that is, the abnormal port, is found from the port occupancy information. All access lines corresponding to the abnormal port and the access level corresponding to the access line are found from the port occupancy information, and the access level of the access line corresponding to the abnormal user is determined as the abnormal level. If there is an access line at the abnormal level and under the same splitter as the abnormal user without abnormality, the abnormal position is the line corresponding to the network abnormality information.

[0119] If the access lines at the abnormal level and under the same splitter as the abnormal user are all abnormal, the abnormal location may be the splitter directly connected to the abnormal user, or it may be the line or splitter of the previous level. At this time, it is necessary to determine whether the access lines of the previous level of the abnormal level are all abnormal. For example, for port N1 in the above example, if both lines N1.2.1 and N1.2.2 are abnormal, the abnormal location may be the second splitter, or the N1.2 line, or the N1 line or the first splitter. Determine the first Check whether there is any abnormality in the other line N1.1 connected under the splitter. If there is no abnormality in N1.1, it means that there is no abnormality in the first splitter and the N1 line, and the abnormal location is the second splitter or the N1.2 line. If there is also an abnormality in N1.1, it means that all lines under the first splitter are abnormal. When there is no other access line (access layer) between the N1 line and the port, the abnormal location is the first splitter or the N1 line. When there is still other access line (access layer) between the N1 line and the port, continue to determine the abnormal location in the above manner.

[0120] After the abnormal location is determined, a maintenance notice is generated, which includes the abnormal location and network abnormality information.

[0121] In this embodiment, if an abnormality occurs more than a preset number of times at an abnormal location within a preset period, a line upgrade notification is generated, and the line upgrade notification includes the abnormal location and the number of abnormalities.

[0122] Figure 2 A structural block diagram of an enterprise multi-network integrated network resource allocation device 200 provided in an embodiment of the present application.

[0123] like Figure 2 As shown, the enterprise multi-network integrated network resource allocation device 200 mainly includes:

[0124] The first acquisition module 201 is used to acquire work order information, where the work order information includes the type to be accessed;

[0125] A type determination module 202, configured to determine a work order type based on the type to be accessed, where the work order type includes a private type and a public type;

[0126] A location determination module 203, configured to determine an access location based on a work order type and work order information;

[0127] A second acquisition module 204 is used to acquire port occupancy information of the access location;

[0128] The idle determination module 205 is used to determine the occupation type corresponding to the occupied port based on the port occupation information if there is no idle port;

[0129] The policy determination module 206 is used to determine the access policy based on the occupation type, the access type, the port occupation information and the work order information. The access policy includes the access port and the access level.

[0130] As an optional implementation of this embodiment, the location determination module 203 is also specifically used to determine the access location based on the work order type and work order information, including: if the work order type is a public type, then obtain the network control location, the public type includes the fire protection type and the monitoring type; obtain the port distribution information, the port distribution information includes the port location; calculate the location distance between the network control location and the port location; determine the port location corresponding to the minimum location distance as the access location.

[0131] As an optional implementation mode of this embodiment, the strategy determination module 206 is also specifically used to determine the access strategy based on the occupancy type, the type to be accessed, the port occupancy information and the work order information, including: if there is an occupancy type that is the same as the type to be accessed, the occupied port corresponding to the type to be accessed is determined as the first port; based on the port occupancy information and the work order information, the first PON port and the second PON port are determined, the first PON port is the PON port currently corresponding to the occupied port, and the second PON port is the PON port corresponding to the work order information; the first port corresponding to the first PON port that is the same as the second PON port is determined as the second port; the number of connections of the second port is determined based on the port occupancy information; the second port with the least number of connections is determined as the access port; the top idle layer corresponding to the access port is determined as the access layer, the idle layer is the layer where connections can be made, and the top idle layer is the idle layer that has passed the least splitters; the access strategy is determined based on the access port and the access layer.

[0132] As an optional implementation of this embodiment, the strategy determination module 206 is also specifically used to determine the access strategy based on the occupancy type, the type to be accessed, the port occupancy information and the work order information, including: if there is no occupancy type that is the same as the type to be accessed, the occupied ports are grouped according to the occupancy type and the first PON port to obtain at least one first port combination, each first port combination corresponds to an occupancy type and a first PON port; the number of occupied ports in each first port combination is counted; the first port combination with a number greater than 2 is determined as a second port combination; the number of accesses of each occupied port in the second port combination is counted; the sum of the access numbers of every two occupied ports in the second port combination is calculated based on the access number; if the minimum sum of the access numbers in all second port combinations is less than or equal to a preset number threshold, the two occupied ports with the least sum of the access numbers in all second port combinations are determined as merged ports, and the preset number threshold is the maximum number that each port can access; the merged port with a small access number is determined as the access port; the access strategy is determined based on the merged port and the access port, and the access strategy includes a line adjustment strategy and the access port and access level corresponding to the work order information.

[0133] As an optional implementation of this embodiment, the policy determination module 206 is also specifically used to calculate the access number and the access number of every two occupied ports in the second port combination based on the access number, and also includes: if the minimum access number and the access number of all the second port combinations is greater than the preset number threshold, then calculate the total access number of all occupied ports in the second port combination; calculate the merging threshold based on the number of occupied ports and the preset number threshold, the merging threshold is the maximum number of accesses after reducing one port in the second port combination; determine the second port combination whose total access number is less than the merging threshold as a mergeable combination; calculate the average access number of ports in the mergeable combination, the average access number of ports is the access number of the total access number evenly distributed to each port after reducing one port in the second port combination; determine the access policy based on the average access number of ports.

[0134] As an optional implementation of this embodiment, the policy determination module 206 is also specifically used to, after determining the access policy based on the occupancy type, the type to be accessed, the port occupancy information and the work order information, also include: in response to the demolition information, judging whether the port corresponding to the demolition information has an access line other than the demolition information; if the port corresponding to the demolition information does not have an access line other than the demolition information, determining the access quantity and access level of the occupied port based on the port occupancy information; determining the occupied port with the largest number of accesses as the first split port; determining the first split port with the largest number of access levels as the second split port; and determining the port adjustment policy based on the second split port and the port corresponding to the demolition information.

[0135] As an optional implementation manner of this embodiment, the policy determination module 206 is also specifically used to, after determining the access policy based on the occupancy type, the type to be accessed, the port occupancy information and the work order information, also include: in response to network abnormality information, determining the abnormal user based on the network abnormality information; searching for the abnormal port corresponding to the abnormal user from the port occupancy information; searching for the access line corresponding to the abnormal port and the access level corresponding to the access line from the port occupancy information; determining the access level of the access line corresponding to the abnormal user as the abnormal level; judging whether all access lines at the abnormal level and under the same splitter as the abnormal user have abnormalities; if there is an access line at the abnormal level and under the same splitter as the abnormal user and there is no abnormality, the abnormal position is the line corresponding to the network abnormality information; if all access lines at the abnormal level and under the same splitter as the abnormal user have abnormalities, judging whether all access lines at the upper level of the abnormal level have abnormalities, and obtaining a judgment result, the upper level is the access level adjacent to the abnormal level and close to the port position; determining the abnormal position based on the judgment result.

[0136] In one example, the module in any of the above devices may be one or more integrated circuits configured to implement the above method, such as: one or more application specific integrated circuits (ASICs), or, one or more digital signal processors (DSPs), or, one or more field programmable gate arrays (FPGAs), or a combination of at least two of these integrated circuit forms.

[0137] For another example, when the modules in the device can be implemented in the form of a processing element scheduling program, the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call a program. For another example, these modules can be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0138] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0139] Figure 3 A structural block diagram of an electronic device 300 provided in an embodiment of the present application.

[0140] like Figure 3 As shown, the electronic device 300 includes a processor 301 and a memory 302 , and may further include an information input / information output (I / O) interface 303 , one or more of a communication component 304 , and a communication bus 305 .

[0141] The processor 301 is used to control the overall operation of the electronic device 300 to complete all or part of the steps of the enterprise multi-network integration network resource allocation method described above; the memory 302 is used to store various types of data to support the operation of the electronic device 300, and these data may include, for example, instructions for any application or method used to operate on the electronic device 300, and data related to the application. The memory 302 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, 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 disk or optical disk.

[0142] The I / O interface 303 provides an interface between the processor 301 and other interface modules, and the above-mentioned other interface modules can be keyboards, mice, buttons, etc. These buttons can be virtual buttons or physical buttons. The communication component 304 is used for wired or wireless communication between the electronic device 300 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G or 4G, or a combination of one or more of them, so the corresponding communication component 304 can include: Wi-Fi components, Bluetooth components, NFC components.

[0143] The electronic device 300 can be implemented by one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), controllers, microcontrollers, microprocessors or other electronic components to execute the enterprise multi-network integration network resource allocation method given in the above embodiment.

[0144] The communication bus 305 may include a path to transmit information between the above components. The communication bus 305 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The communication bus 305 may be divided into an address bus, a data bus, a control bus, etc.

[0145] The electronic device 300 may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc., and may also be servers, etc.

[0146] The present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned enterprise multi-network integration network resource allocation method are implemented.

[0147] The computer-readable storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0148] The terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion such that a process, method, article, or apparatus that includes a list of elements includes not only those elements but also other elements not expressly listed, or also includes elements inherent to such process, method, article, or apparatus.

[0149] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of application involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the aforementioned application concept. For example, the above features are replaced with (but not limited to) technical features with similar functions applied in the present application.

Claims

1. A method for allocating network resources for an enterprise to integrate multiple networks, characterized in that: include: Obtaining work order information, wherein the work order information includes a type to be accessed; Determine a work order type based on the type to be accessed, the work order type including a private type and a public type; Determine an access location based on the work order type and the work order information; Obtaining port occupancy information of the access location; If there is no idle port, determining the occupation type corresponding to the occupied port based on the port occupation information; Determine an access strategy based on the occupation type, the access type to be accessed, the port occupation information, and the work order information, wherein the access strategy includes an access port and an access level; The determining of the access strategy based on the occupation type, the access type to be accessed, the port occupation information and the work order information includes: Determine a first PON port and a second PON port based on the port occupation information and the work order information, the first PON port being the PON port currently corresponding to the occupied port, and the second PON port being the PON port corresponding to the work order information; If there is no occupation type that is the same as the type to be accessed, grouping the occupied ports according to the occupation type and the first PON port to obtain at least one first port combination, each of the first port combinations corresponding to one occupation type and one first PON port; Counting the number of the occupied ports in each of the first port combinations; Determine the first port combinations whose number is greater than 2 as second port combinations; Counting the number of accesses to each of the occupied ports in the second port combination; Calculate the sum of the access quantities of every two occupied ports in the second port combination based on the access quantity; If the minimum sum of the access quantities in all the second port combinations is less than or equal to a preset quantity threshold, then the two occupied ports with the minimum sum of the access quantities in all the second port combinations are determined as merged ports, and the preset quantity threshold is the maximum number of accesses that each port can access; Determine the combined port with the smaller access quantity as the access port; An access strategy is determined based on the merge port and the access port, where the access strategy includes a line adjustment strategy and an access port and an access level corresponding to the work order information.

2. The method according to claim 1, characterized in that The determining the access location based on the work order type and the work order information includes: If the work order type is a public type, the network control position is obtained, and the public type includes a fire protection type and a monitoring type; Acquire port distribution information, where the port distribution information includes port locations; Calculating a location distance between the network control location and the port location; The port position corresponding to the minimum position distance is determined as the access position.

3. The method according to claim 1, characterized in that The determining of the access strategy based on the occupation type, the access type to be accessed, the port occupation information and the work order information includes: If the occupied type is the same as the to-be-accessed type, determining the occupied port corresponding to the to-be-accessed type as the first port; Determine the first port corresponding to the first PON port which is the same as the second PON port as the second port; Determine the number of connections of the second port based on the port occupancy information; Determine the second port having the least number of connections as an access port; Determine the uppermost idle layer corresponding to the access port as the access layer, the idle layer is a layer that can be wired, and the uppermost idle layer is an idle layer that passes through the least optical splitters; An access policy is determined based on the access port and the access level.

4. The method according to claim 1, characterized in that: After calculating the sum of the access quantities of every two occupied ports in the second port combination based on the access quantity, the method further includes: If the minimum sum of the access quantities in all the second port combinations is greater than a preset quantity threshold, then calculating the total access quantity of all the occupied ports in the second port combination; Calculating a merging threshold based on the number of occupied ports and the preset number threshold, the merging threshold being the maximum number of ports that can be connected after reducing one port in the second port combination; Determine the second port combination whose total access quantity is less than the merging threshold as a merging combination; Calculating an average access quantity of the ports of the combinable combination, where the average access quantity of the ports is the access quantity obtained by evenly distributing the total access quantity to each port after reducing one port in the second port combination; An access strategy is determined based on the average access quantity of the port.

5. The method according to claim 1, characterized in that After determining the access strategy based on the occupation type, the access type to be accessed, the port occupation information, and the work order information, the method further includes: In response to the removal information, determining whether the port corresponding to the removal information has an access line other than the removal information; If the port corresponding to the removal information does not have the access line other than the removal information, determining the access quantity and access level of the occupied port based on the port occupation information; Determine the occupied port with the largest number of accesses as the first split port; Determine the first split port with the largest number of access levels as the second split port; A port adjustment strategy is determined based on the second split port and the port corresponding to the removal information.

6. The method according to claim 1, characterized in that After determining the access strategy based on the occupation type, the access type to be accessed, the port occupation information, and the work order information, the method further includes: In response to the network abnormality information, determining an abnormal user based on the network abnormality information; Searching the abnormal port corresponding to the abnormal user from the port occupation information; Searching the access line corresponding to the abnormal port and the access level corresponding to the access line from the port occupation information; Determining the access level of the access line corresponding to the abnormal user as the abnormal level; Determine whether all the access lines at the abnormal level and under the same optical splitter as the abnormal user are abnormal; If there is no abnormality in the access line at the abnormal level and under the same optical splitter as the abnormal user, the abnormal position is the line corresponding to the network abnormal information; If the access lines at the abnormal level and under the same optical splitter as the abnormal user are all abnormal, it is determined whether the access lines at the upper level of the abnormal level are all abnormal, and a determination result is obtained, wherein the upper level is an access level adjacent to the abnormal level and close to the port position; The abnormality position is determined based on the determination result.

7. An enterprise multi-network integrated network resource allocation device, characterized in that: include: A first acquisition module is used to acquire work order information, where the work order information includes a type to be accessed; A type determination module, used to determine the type of work order based on the type to be accessed, wherein the work order type includes a private type and a public type; A location determination module, used to determine an access location based on the work order type and the work order information; A second acquisition module, used to acquire port occupancy information of the access location; An idle determination module, configured to determine an occupancy type corresponding to an occupied port based on the port occupancy information if there is no idle port; A policy determination module, configured to determine an access policy based on the occupation type, the access type to be accessed, the port occupation information, and the work order information, wherein the access policy includes an access port and an access level; The strategy determination module is specifically used to determine the access strategy based on the occupation type, the type to be accessed, the port occupation information and the work order information, including: Determine a first PON port and a second PON port based on the port occupation information and the work order information, the first PON port being the PON port currently corresponding to the occupied port, and the second PON port being the PON port corresponding to the work order information; If there is no occupation type that is the same as the type to be accessed, grouping the occupied ports according to the occupation type and the first PON port to obtain at least one first port combination, each of the first port combinations corresponding to one occupation type and one first PON port; Counting the number of the occupied ports in each of the first port combinations; Determine the first port combinations whose number is greater than 2 as second port combinations; Counting the number of accesses to each of the occupied ports in the second port combination; Calculate the sum of the access quantities of every two occupied ports in the second port combination based on the access quantity; If the minimum sum of the access quantities in all the second port combinations is less than or equal to a preset quantity threshold, then the two occupied ports with the minimum sum of the access quantities in all the second port combinations are determined as merged ports, and the preset quantity threshold is the maximum number of accesses that each port can access; Determine the combined port with the smaller access quantity as the access port; An access strategy is determined based on the merge port and the access port, where the access strategy includes a line adjustment strategy and an access port and an access level corresponding to the work order information.

8. An electronic device, characterized in that: comprising a processor coupled to a memory; The processor is configured to execute a computer program stored in the memory, so that the electronic device executes the method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The method comprises a computer program or an instruction, which, when executed on a computer, causes the computer to execute the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Port resource management method and device

    CN110335003A

  • Integrated FTTX service fulfillment system and method based on broadcast television network

    CN113676794A