Service access method and device, electronic equipment and storage medium
By calculating the overload risk balance value of the path in the PON network and selecting the optimal access route, the problem of unreasonable access route planning for new services in the PON network is solved, and access efficiency and network security are improved.
Patent Information
- Application Number
- CN202410063484.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-16
- Publication Date
- 2024-10-18
AI Technical Summary
In the PON network, the access route planning of new services is unreasonable, which can easily lead to cross-machine room grid or cross-optical cross-grid access, causing service access overload and security risks.
By obtaining the first-level fiber splitting points in the computer room grid, the second-level fiber splitting points in the optical intersection grid, and the computer rooms in the computer room grid, the path from the service to be accessed to the computer room is determined, and based on the first-level fiber splitting points in the path Calculate the overload risk balance value at the fiber splitting point, secondary fiber splitting point, pipe segment and optical cable segment, and select the path with the smallest overload risk balance value as the access route.
Effectively plan business routing, improve access efficiency, avoid cross-machine room grid and cross-optical cross-grid access, reduce network risks, improve the balance of business distribution, and avoid major failures and security risks.
Smart Images

Figure CN118803475A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of wireless technology, and in particular to a service access method, device, electronic device and storage medium. Background Art
[0002] Passive Optical Network (PON) refers to an optical distribution network that does not contain any passive optical devices such as electronic devices and electronic power supplies. A PON network includes an optical line terminal (OLT) installed in a central control station, an optical distribution network (ODN) containing passive optical devices, and an optical network terminal at the user end. Generally, a PON network is divided into an integrated service access area, a computer room grid, an optical cross-connection grid, and a micro-grid. Through the division of the above four-layer grid, local service access and precise management can be achieved. For the PON network structure, the OLT users of each computer room grid should be connected to the OLT of the computer room of the network to which they belong. For the OLT users in the micro-grid, their services and networking architecture should be from the splitter-the secondary fiber distribution point in the micro-grid-the primary fiber distribution point in the optical cross-connection grid-the computer room OLT in the computer room grid.
[0003] In some scenarios, as users' business needs and requirements continue to increase, higher requirements are placed on the PON network. In the PON network, the access of new OLT services, such as the addition and expansion of splitters, primary splitters or secondary splitters, is mainly allocated by manual routing, and access is made wherever there are resources. This leads to unreasonable routing planning, which can easily cause access across computer room grids or across optical exchange grids, resulting in problems such as business access overloading the computer room, and easily causing safety hazards. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a service access method, device, electronic device and storage medium, which can reasonably access new services and avoid accessing new services across computer room grids or across optical exchange grids.
[0005] In order to solve the above technical problems, the embodiments of the present application are implemented as follows:
[0006] In a first aspect, an embodiment of the present application provides a service access method, the service access method comprising:
[0007] Obtain the primary fiber distribution points in the computer room grid, the secondary fiber distribution points in the optical cross-connection grid, and the computer room in the computer room grid; determine at least one path from the service to be accessed to the computer room, each of the paths including the service to be accessed passing through the secondary fiber distribution points of the optical cross-connection grid and the primary fiber distribution points, pipe sections, and optical cable sections in the computer room grid; calculate the overload risk balance degree value of at least one of the paths according to the primary fiber distribution points, the secondary fiber distribution points, the pipe sections, and the optical cable sections in each of the paths; select a path with the smallest overload risk balance degree value as the access route for the service to be accessed.
[0008] In a second aspect, an embodiment of the present application provides a service access device, the service access device comprising:
[0009] An acquisition module is used to acquire the primary fiber distribution points in the computer room grid, the secondary fiber distribution points in the optical cross-connection grid, and the computer room in the computer room grid; a determination module is used to determine at least one path from the service to be accessed to the computer room, each of the paths including the service to be accessed passing through the secondary fiber distribution points of the optical cross-connection grid and the primary fiber distribution points, pipe sections, and optical cable sections in the computer room grid; a calculation module is used to calculate the overload risk balance degree value of at least one of the paths according to the primary fiber distribution points, secondary fiber distribution points, pipe sections, and optical cable sections in each of the paths; a selection module is used to select a path with the smallest overload risk balance degree value as the access route for the service to be accessed.
[0010] In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a communication interface, a memory and a communication bus; wherein the processor, the communication interface and the memory communicate with each other through the communication bus; the memory is used to store computer programs; the processor is used to execute the programs stored in the memory to implement the steps of the service access method mentioned in the first aspect.
[0011] In a fourth aspect, an embodiment of the present application 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 service access method mentioned in the first aspect are implemented.
[0012] It can be seen from the technical solution provided by the above embodiments of the present application that by obtaining the first-level fiber distribution point in the computer room grid, the second-level fiber distribution point in the optical cross-connection grid, and the computer room in the computer room grid; determining at least one path from the service to be accessed to the computer room, each of the paths including the service to be accessed passing through the second-level fiber distribution point of the optical cross-connection grid and the first-level fiber distribution point, the pipe section, and the optical cable section in the computer room grid; calculating the overload risk balance degree value of at least one of the paths according to the first-level fiber distribution point, the second-level fiber distribution point, the pipe section, and the optical cable section in each of the paths; selecting the path with the smallest overload risk balance degree value as the access route for the service to be accessed, the service route of the service to be accessed can be effectively planned according to the path by which the service to be accessed can reach the computer room, the access efficiency of the service to be accessed can be improved, and the access of the service to be accessed across the computer room grid and the optical cross-connection grid can be avoided. The access route is the path with the smallest overload risk balance degree value, which can effectively avoid the problem of the service to be accessed accessing the overloaded grid, improve the balance of network service distribution, reduce network risks, and avoid major failures and safety hazards. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0014] Figure 1 A schematic diagram of a PON network structure provided in an embodiment of the present application;
[0015] Figure 2 A flow chart of a service access method provided in an embodiment of the present application;
[0016] Figure 3 A schematic diagram of a module composition of a service access device provided in an embodiment of the present application;
[0017] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0018] The purpose of the embodiments of the present application is to provide a service access method, device, electronic device and storage medium, which can reasonably access new services and avoid accessing new services across computer room grids or across optical exchange grids.
[0019] In order to enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.
[0020] like Figure 1 As shown, it is a schematic diagram of the structure of the current PON network, which includes four levels: integrated service access area, computer room grid, optical switching grid and micro grid.
[0021] Comprehensive service access area: Taking into account the population density of the coverage area, the coverage area of the access area, the conditions of the computer room, the pipeline resources, the geographical location and other factors, combined with the boundaries of natural obstacles such as municipal roads, rivers, railways, green spaces, etc., multiple computer room grids are connected to the same aggregation computer room. The area composed of these computer room grids is defined as the comprehensive service access area.
[0022] Computer room grid: Based on factors such as OLT coverage distance, business volume in the coverage area, optical exchange and pipeline resources, and geographical location, multiple optical exchange grids are connected to the same access computer room. The area formed by these optical exchange grids is defined as the computer room grid.
[0023] Optical cross-connection grid: Based on the access distance of optical cables, rationality of routing, optical cross-connection and pipeline and other basic resources, multiple micro-grids are connected to the same primary fiber distribution point. The area composed of these micro-grids is defined as an optical cross-connection grid.
[0024] Microgrid: The smallest block unit of basic network planning is the initial source of user business needs. According to different business forms, it can be divided into residential areas, open areas, business buildings, complexes, campuses, industrial parks, independent enterprises, professional markets, vacant land to be built, invalid areas, rural areas, and others; according to the above business types and geographical location characteristics, a relatively independent planning, construction and management unit is formed.
[0025] Through the division of four-layer grids, the nearest access and precise management of services can be achieved. For the OLT network structure, the OLT users of each computer room grid should be connected to the OLT of the computer room of the computer room grid to which they belong. For the OLT users in the micro-grid, their services and networking architecture should be from the optical splitter-the secondary fiber splitting point in the micro-grid-the primary fiber splitting point in the optical cross-grid-the computer room OLT in the computer room grid. For the existing services of PON, since the intermediate resources of the PON network are basically dumb resources, there is a lack of analysis methods for the correlation between the various levels in the PON service routing, and it is difficult to accurately propose the problems existing in the network. At present, manual analysis and statistics are usually used, which is inefficient and has a high error rate.
[0026] Therefore, for the current PON network, there are still the following problems in service access and network security assurance:
[0027] (1) After the grid is divided, there are cases where the splitter or fiber splitting point is not in the grid or the grid is not divided. Manual analysis is difficult, inefficient, and has a high error rate.
[0028] (2) When adding new services, there are problems such as cross-machine room grids or optical exchange grids, and there is a lack of analysis methods for cross-grid OLT service access.
[0029] (3) There is a lack of means to assess the risk of PON network overload and corresponding planning means to avoid risks.
[0030] For example, Figure 2 As shown, the embodiment of the present application provides a service access method, the execution subject of the method may be a server, and the service access method may specifically include the following steps:
[0031] Step S201, obtaining the primary fiber distribution points in the machine room grid, the secondary fiber distribution points in the optical cross-connection grid, and the machine room in the machine room grid.
[0032] Specifically, the first-level fiber distribution point and the second-level fiber distribution point can be optical cross-connect boxes. After obtaining the first-level fiber distribution point and the second-level fiber distribution point, it is possible to further determine whether the first-level fiber distribution point is accessed across the computer room grid and whether the second-level fiber distribution point is accessed across the optical cross-connect grid, thereby avoiding security risks caused by cross-area access.
[0033] When judging whether the fiber distribution point is within the grid of the machine room to which it belongs, the ray algorithm and breadth-first search algorithm can be used. The ray algorithm is the most basic and effective method to judge the relationship between a point and the inside and outside of a polygon. It is also the only algorithm that can solve the positional relationship between a point and a composite polygon containing holes. The principle of the ray method is to draw a ray horizontally to the right through the point to be judged, and find the number of intersections between the ray and the edge of the polygon. If the number of intersections is an odd number, the point is inside the polygon. If the number of intersections is an even number, the point is outside the polygon.
[0034] The breadth-first search algorithm expands from a certain node and proceeds along the depth of the node. That is to say, the expansion of nodes is carried out in order according to their proximity to the starting node. First, the first-layer nodes are generated, and at the same time, it is checked whether the target node is in the generated nodes. If not, all the first-layer nodes are expanded one by one to obtain the second-layer nodes, and it is checked whether the second-layer nodes contain the target node, ..., before expanding any node of length n+1, every possible state of the node of length n must be considered. In the breadth-first search algorithm, in order to facilitate the search, a table is set to store all nodes. The table storing nodes is generally designed as a queue data structure. During the search process, nodes are continuously taken out from the head of the queue for expansion. For the generated new node, it is necessary to check whether it exists in the queue and whether it is the target node. If the new node is the target node, the search is successful. If the new node is not the target node and has not appeared in the queue, it is added to the end of the queue, otherwise it is discarded, and the node is taken out from the head of the queue for expansion. In the end, two results are produced: the target node is found, or the target node is not found after the expansion is completed.
[0035] The above-mentioned ray method and breadth-first search algorithm are applied to this solution. The fiber distribution point to be connected to the optical splitter is taken as the first node. The fiber distribution point is first added to the queue, and the nodes in the next layer of the fiber distribution point are checked at the same time, that is, the fiber distribution point or the computer room at the other end of the terminated optical cable in the fiber distribution point. If the other end is a fiber distribution point and has not been visited, it is added to the queue. If it is a computer room, then if this computer room is a node computer room and has not been visited, it is added and stored in the computer room table. At the same time, the current fiber distribution point is removed from the queue and marked as visited. Repeat the above actions to find all the node computer rooms that the fiber distribution point can reach and store them in the computer room table.
[0036] The specific process for determining the machine room grid to which the primary fiber distribution point (primary optical cross-connect box) belongs is as follows:
[0037] In a possible implementation, after obtaining the first-level fiber distribution point in the computer room grid, the method also includes: obtaining the first position information of the first-level fiber distribution point and the second position information of the micro-grid; determining whether the first-level fiber distribution point belongs to the micro-grid based on the first position information and the second position information; if it belongs to the micro-grid, determining the initial computer room grid to which the first-level fiber distribution point belongs based on the correspondence between the micro-grid, the optical intersection grid and the computer room grid; determining all computer room grids reachable by the first-level fiber distribution point based on the breadth-first search algorithm to form a computer room grid set; when the initial computer room grid belongs to the computer room grid set, determining that the first-level fiber distribution point belongs to the initial computer room grid; when the initial computer room grid does not belong to the computer room grid set, determining that the first-level fiber distribution point does not belong to the initial computer room grid; and re-dividing the first-level fiber distribution point into the corresponding computer room grid.
[0038] Specifically, the location information of all primary fiber distribution points and microgrids is obtained, where the location information can be longitude and latitude. For example, the longitude and latitude of the primary fiber distribution point is The latitude and longitude of Weige are The location information of the primary fiber splitting point and the location information of the microgrid are used to calculate the distance between the two. For example, the distance between the two is calculated based on the longitude and latitude of the two. If d≤400, it is considered that the primary fiber splitting point is associated with the micro-cells, and these micro-cells are included in the micro-cell collection library associated with the primary fiber splitting point.
[0039] Use the ray method to determine whether the first-level fiber distribution point is in each micro-grid in the micro-grid collection library, so as to determine the micro-grid to which the first-level fiber distribution point belongs, and then use the pre-recorded correspondence between the micro-grid, the optical intersection grid and the computer room grid to find the computer room grid A (initial computer room grid) to which the first-level fiber distribution point belongs.
[0040] Then, using the breadth-first search algorithm, we can analyze the set of computer rooms that can be reached by connecting the first-level fiber distribution point to other first-level fiber distribution points through optical cables. n Here, the accessibility rule of the first-level fiber distribution point to the machine room is: the first-level fiber distribution point can only reach the machine room through the first-level fiber distribution point or the first-level fiber distribution point can directly reach the machine room.
[0041] If the computer room grid A belongs to the computer room set Z, the first-level fiber distribution point does not cross the area and belongs to the computer room grid A. If the computer room grid A does not belong to the computer room set Z, the first-level fiber distribution point crosses the area and the first-level fiber distribution point does not belong to the computer room grid A. There is a situation where the business is accessed across areas, and the first-level fiber distribution point is re-divided into the corresponding computer room grid. In this way, it is possible to determine whether the current first-level fiber distribution point is accessed across the computer room grid, so as to collect corresponding measures to avoid security risks and hidden dangers.
[0042] The specific process of determining the optical cross-connection grid to which the secondary fiber splitting point (secondary optical cross-connection box) belongs is as follows:
[0043] In a possible implementation, after obtaining the secondary fiber distribution point in the optical intersection grid, the method also includes: obtaining third position information of the secondary fiber distribution point and second position information of the microgrid; determining whether the secondary fiber distribution point belongs to the microgrid based on the third position information and the second position information; if it belongs to the microgrid, determining the initial optical intersection grid to which the secondary fiber distribution point belongs based on the correspondence between the microgrid and the optical intersection grid; determining all optical intersection grids that the secondary fiber distribution point can reach based on a breadth-first search algorithm to form an optical intersection grid set; when the initial optical intersection grid belongs to the optical intersection grid set, determining that the secondary fiber distribution point belongs to the initial optical intersection grid; when the initial optical intersection grid does not belong to the optical intersection grid set, determining that the secondary fiber distribution point does not belong to the initial optical intersection grid; and re-dividing the secondary fiber distribution point into corresponding optical intersection grids.
[0044] Specifically, the location information of all secondary fiber splitting points and the location information of the microgrid are obtained, wherein the location information may be longitude and latitude, for example, the longitude and latitude of the secondary fiber splitting point is |g x ,g y |, the latitude and longitude of the microgrid is The location information of the secondary fiber splitting point and the location information of the microgrid are used to calculate the distance between the two. For example, the distance between the two is calculated based on the longitude and latitude of the two. If d≤400, it is considered that the secondary fiber splitting point is associated with the micro-cells, and these micro-cells are included in the micro-cell collection library associated with the secondary fiber splitting point.
[0045] Each micro-grid in the micro-grid collection library is judged by the ray method whether the secondary fiber splitting point is in the micro-grid, so as to judge the micro-grid to which the secondary fiber splitting point belongs, and then the pre-recorded correspondence between the micro-grid and the optical intersection grid is used to find the optical intersection grid B to which the secondary fiber splitting point belongs.
[0046] Then, using the breadth-first search algorithm, we can find out that the secondary fiber distribution point can reach the primary fiber distribution point set G = {gj1...gj n}, here the rule for the accessibility of the secondary fiber splitting point to the primary fiber splitting point is: the secondary fiber splitting point can only reach the primary fiber splitting point through the secondary fiber splitting point.
[0047] If the optical cross-connection grid B belongs to the first-level fiber distribution point set G, the second-level fiber distribution point does not cross the area and belongs to the optical cross-connection grid B. If the optical cross-connection grid B does not belong to the first-level fiber distribution point set G, the second-level fiber distribution point crosses the area and the second-level fiber distribution point does not belong to the optical cross-connection grid B. If there is a cross-area access of services, the second-level fiber distribution point will be re-divided into the corresponding optical cross-connection grid. In this way, it can be judged whether the current second-level fiber distribution point is accessed across the optical cross-connection grid, so as to collect corresponding measures to avoid safety risks and hidden dangers.
[0048] The following is an analysis of the structure of service access in the PON network based on the depth-first search algorithm:
[0049] In one possible implementation, before determining at least one path from the service to be accessed to the computer room, the method also includes: establishing all paths from all existing services to the computer room, the service includes a splitter, and the path includes the service and the computer room to which the service belongs; determining whether the splitter belongs to the micro-grid based on the fourth position information of the splitter and the second position information of the micro-grid; determining the initial computer room to which the splitter belongs based on the correspondence between the micro-grid, the optical intersection grid and the computer room grid; determining the final computer room to which the splitter belongs from the path; if the final computer room to which the splitter belongs is different from the initial computer room to which the splitter belongs, the computer room to which the splitter belongs is the final computer room.
[0050] Specifically, all existing services can be all optical splitters in the DP box. First, the service optical path access routing information from the optical splitter to the OLT terminal in the PON network is as follows:
[0051] (1) Traverse all the spectrometers and extract all the spectrometers [A1…A n ] Associated optical path information [gl1…gl n ].
[0052] (2) For the beam splitter A in the beam splitter i ,i∈[1…n], its associated light path gl i ,i∈[1…n], if the other end of the optical path is a primary splitter, it means that this PON port is a secondary splitter, and the information num of the pipeline segment that the optical path between the two splitters passes through is extracted gdd (gl i ), cable segment num gld (gl i ), light intersection num gj (gl i ), computer room num jf (gl i ), optical path sum(gl i ).
[0053] For the beam splitter A i ,i∈[1…n], its associated light path gl i ,i∈[1…n], if the other end is the OLT in the computer room, it means that the PON port is a primary splitter, and the pipeline segment information num of the optical path from the splitter to the OLT in the computer room is extracted gdd (gl j ), cable segment num gld (gl j ), light intersection num gj (gl j), computer room num jf (gl j ), optical path sum(gl j ).
[0054] Among them, num gdd (gl i ), num gdd (gl j ) is the number of OLT users carried by the current pipeline segment, num gld (gl i ), num gld (gl j ) is the number of OLT users carried by the optical cable segment, num gj (gl i ), num gj (gl j ) is the number of OLT users carried by the optical cross-connect, num jf (gl i ), num jf (gl j ) is the number of PON users carried by the computer room, sum(gl i ), sum(gl j ) is the number of users carried by this optical path.
[0055] Then analyze the information of the cross-machine room grid access services in the machine room grid and the grid machine room to which they should be assigned, as follows:
[0056] (1) Traverse all the spectrometers and extract all the spectrometers [A1…A n ] Associated optical path information [gl1…gl n ].
[0057] (2) Obtain the location information of the spectrometer, such as longitude and latitude | v x ,v y |, and the latitude and longitude of Weige Calculate the distance between the beam splitter and the microgrid If d≤400, it is considered that the spectrometer is associated with the micro-cells, and these micro-cells are included in the spectrometer-associated micro-cell collection library.
[0058] (3) Using the ray method, each micro-cell in the micro-cell collection library is used to determine whether the spectrometer is in the micro-cell, thereby determining the micro-cell to which the spectrometer belongs.
[0059] (4) Use the correspondence between the microgrid and the optical intersection grid to find the computer room A to which the splitter belongs.
[0060] (5) Extraction of the internal spectrometer A i ,i∈[1…n], its associated light path gli ,i∈[1…n].
[0061] (6) Extraction of the internal spectrometer A i ,i∈[1…n], the final OLT room B of the optical path.
[0062] (7) Determine whether room A and room B are the same room. If they are the same room, then splitter A i The corresponding user does not have cross-grid access, otherwise it belongs to cross-grid access and needs to be classified as to room B. In this way, it can be determined whether the current splitter is accessed across the room, so as to collect corresponding measures and avoid security risks and hidden dangers.
[0063] Step S203, determining at least one path from the service to be accessed to the machine room, each path including the service to be accessed passing through the secondary fiber distribution point of the optical cross-connection grid and the primary fiber distribution point in the machine room grid, the pipeline segment and the optical cable segment.
[0064] Specifically, the path from the service to be accessed to the computer room can be determined based on the breadth-first search algorithm. The service to be accessed can be used as the source node. The basic idea of OLT service path planning based on the breadth-first search algorithm is to generate multiple paths from the source point to the destination node during the search process. These paths pass through different optical cable segments, pipeline segments, optical cross-connections, and computer room paths. All paths to the destination are obtained through search, as follows:
[0065] (1) First, establish the queue P of the optical cross-connect in the computer room along the service path, and establish the point set V{S(src), S(dw1), S(dw2), … S(dw n ), S(des)}, which includes the source node src information set S(src), the destination node computer room des information set S(des), and the intermediate point dw information set S(dw). These information sets not only include the point information itself, but also include the pipeline segment information gdd1, gdd2, …gdd associated with the previous point to the current point i ,i∈[1…n], cable segment information gld1,gld2,…gld j ,j∈[1…m].
[0066] (2) The optical splitter or fiber splitting point where the newly added optical splitter is located is added to the queue as src, and the grid computer room where the fiber splitting point is located is used as the target point des.
[0067] (3) Extract the fiber splitter box or fiber splitter point from the queue and check the node in the next layer, that is, the fiber splitter point or machine room at the other end connected by the optical cable, and belong to the corresponding machine room grid or optical cross-connection grid; if the other end is a fiber splitter point (the fiber splitter point information includes not only the fiber splitter point itself, but also the fiber cable segment information gdd1, gdd2, ... gdd connecting the fiber splitter point to the previous point) i , i∈[1…n] and pipeline segment information gld1,gld2,…gld j ,j∈[1…m]) and this fiber splitting point and its associated pipe segment and optical cable segment have not been visited, then add it to the queue. If it is a computer room, then if this computer room is the corresponding node computer room of the computer room grid (the computer room information not only includes the computer room itself, but also includes the optical cable segment information gdd1, gdd2,…gdd connecting the computer room to the previous point i , i∈[1…o] and pipeline segment information gld1,gld2,…gld j ,j∈[1…p]) and has not been visited before, it reaches the destination machine room and finally records the optical cable segment, pipeline segment, and optical cross information V from the fiber distribution point to the machine room.
[0068] (4) The current fiber distribution point and its association are removed from the queue and marked as visited (the marking information includes the fiber distribution point itself, as well as the information of the optical cable segment and pipeline segment passed through). If a node is found to be cross-grid, it is discarded and not added to the queue P; if the machine room is still not found until the queue is empty, it means that there is no reasonable route from the source point to the destination point.
[0069] (5) Repeat steps (3) and (4) to finally find all the paths from the fiber distribution point to the machine room [V1,…V k ].
[0070] Step S205, calculating the overload risk balance degree value of at least one path according to the primary fiber distribution points, the secondary fiber distribution points, the pipeline segments and the optical cable segments in each path.
[0071] Specifically, the essence of the overload risk problem is to distribute the risk evenly in the network. Business planning work is carried out to address the high-risk problems caused by overloading of optical cross-connect nodes in each computer room of the network and pipeline optical cable links, and to avoid business access to high-risk areas as much as possible.
[0072] In the embodiments of the present application, the following concepts are introduced to calculate the overload risk balance degree value, namely the service path heavy-load risk availability (SPHA), the node heavy-load risk degree (NHRD), the link heavy-load risk degree (LHRD), the risk heavy-load balance degree of the computer room grid (RHBD), and the overall heavy-load risk degree of the network (OHRD).
[0073] Among them, for SPHA, it refers to the channel security of carrying services within the computer room grid. One is considered from the passing points, such as the heavy-load degree gj of the optical cross-connect m and the heavy-load degree jf of the computer room n . The other is considered from the passing path, such as the heavy-load degree gld of the optical cable section o and the heavy-load degree gdd of the pipeline section p . Its calculation formula is as follows:
[0074]
[0075] Among them, S(gj) is the number of optical cross-connects passed by the service, S(jf) is the number of computer rooms passed by the service, S(gld) is the number of optical cable sections passed by the service, and S(gdd) is the number of pipeline sections passed by the service. A(gj m ) is the heavy-load risk of the optical cross-connect m, A(jf n ) is the heavy-load risk of the computer room n, A(gld o ) is the heavy-load risk of the optical cable section o, and A(gdd p ) is the heavy-load risk of the pipeline section p.
[0076] Furthermore, the heavy-load risk of A(gj m ) means that when the number of OLT home broadband users num carried by the optical cross-connect is ≤ 2000, it is a low-risk heavy-load optical cross-connect, and the availability A(gj m ) = 0.99; when the number of OLT home broadband users num carried by the optical cross-connect is ≥ 5000, it is a high-risk heavy-load optical cross-connect, and the availability A(gj m ) = 0.01; when the number of OLT home broadband users carried by the optical cross-connect is 2000 < num < 5000, it is a medium-risk heavy-load optical cross-connect, and the availability is as follows:
[0077]
[0078] A(jf n) The overload risk of n ) means that when the number of OLT home broadband users num carried by the computer room ≤ 5000, it is a computer room with low overload risk, and the availability A(jf n ) = 0.99; when the number of OLT home broadband users num carried by the computer room ≥ 8000, it is a computer room with high overload risk, and the availability A(jf
[0079]
[0080] A(gld o ) The overload risk of o ) means that when the number of OLT home broadband users num carried by the optical cable segment ≤ 1000, it is an optical cable segment with low overload risk, and the availability A(gld o ) = 0.99; when the number of OLT home broadband users num carried by the optical cable segment ≥ 2000, it is an optical cable segment with high overload risk, and the availability A(gld
[0081]
[0082] A(gdd p ) The overload risk of p ) means that when the number of OLT home broadband users num carried by the pipeline segment ≤ 5000, it is a pipeline segment with low overload risk, and the availability A(gdd p ) = 0.99; when the number of OLT home broadband users num carried by the pipeline segment ≥ 8000, it is a pipeline segment with high overload risk, and the availability A(gdd
[0083]
[0084] For NHRD, here it refers to the impact degree of the overload degree of the node and the optical cross-connect grid on the service, and its calculation formula is:
[0085]
[0086]
[0087] Among them, NHRD k is the overload risk of the node optical cross-connect k passed by the service, A(gj k ) is the overload risk of the optical cross-connect k passed by the service, A(jf k ) is the overload risk of the computer room k passed by the service, w iis the weight of the i-type service, and Num(k) is the number of service categories carried by the optical switch k at the node.
[0088] The services here are classified according to the bandwidth of the service customers, which can be divided into 5 categories: 100M, 2000M, 3000M, 5000M, and 10000M. i is the important factor of this type of business, where 100M is 0.05, 200M is 0.15, 300M is 0.2, 500 is 0.25, and 1000M is 0.35. Where sum(i) is the number of type i businesses, w i The calculation formula is as follows:
[0089]
[0090] LHRD refers to the impact of pipeline optical cable overload on the network, and its calculation formula is:
[0091]
[0092]
[0093] Among them, LHRD k is the overload risk level of the optical cable section and pipeline section through which the business passes, A(gdd k ) is the overload risk of the service passing through pipeline segment k, A(gld k ) is the overload risk of the service passing through the optical cable section, w i is the weight of the i-type service, and Num(k) is the number of service categories carried by the optical switch k at the node.
[0094] For RHBD, it refers to the overall overload risk level of the computer room grid, which is equal to the inverse of the sum of the node optical cross-connect overload risk and the link risk mean square deviation. Its meaning is: the more balanced the business distribution, the smaller the risk difference between the node optical cross-connects and links in the computer room grid, that is, the smaller the sum of their mean square deviations. The calculation formula is:
[0095]
[0096] Among them, S(j) is the number of optical cross-connection rooms in the room grid, S(g) is the number of optical cable segments and pipeline segments through which the networking optical cables pass in the room grid, is the average risk of node optical cross-connect overload, is the mean link risk, as well as The calculation formula is as follows:
[0097]
[0098]
[0099] For OHRD, it refers to the overall overload risk of the computer room grid service, which is equal to the sum of the optical cross-connect overload risk of all nodes and the link risk.
[0100]
[0101] In the OLT service route planning within the computer room grid, planning is carried out based on the optimization of overload risk indicators OHRD, RHBD, and SPHA to achieve Min (OHRD), Max (RHBD), and Min (SPHA).
[0102] In a possible implementation, calculating the overload risk balance degree value of at least one path according to the primary fiber distribution points, secondary fiber distribution points, pipeline segments and optical cable segments in each path includes: determining all paths from the service to be accessed to the computer room based on a breadth-first search algorithm, each path including the primary fiber distribution points, secondary fiber distribution points, optical cable segments and pipeline segments through which the service to be accessed passes; counting the number of first access users carried by the primary fiber distribution points and secondary fiber distribution points in each path, the number of second access users carried by the optical cable segments and the number of third access users carried by the pipeline segments; determining the overload risk balance degree value of the path according to information on the primary fiber distribution points, information on the secondary fiber distribution points, the number of first access users, the number of second access users and the number of third access users.
[0103] Specifically, the service to be accessed may be a DP box, which includes at least one splitter, a first-level fiber distribution point, and a second-level fiber distribution point, etc. The first access user quantity refers to the number of OLT home broadband users carried by the optical cross-connection, the second access user quantity refers to the number of OLT home broadband users carried by the optical cable section, and the third access user quantity refers to the number of OLT home broadband users carried by the pipeline section. The information of the first-level fiber distribution point and the second-level fiber distribution point includes but is not limited to the overload risk value.
[0104] In a possible implementation, determining the overload risk balance degree value of the path according to the information of the primary fiber distribution point, the information of the secondary fiber distribution point, the first access user quantity, the second access user quantity and the third access user quantity includes: determining the first overload risk value of the service to be accessed passing through the primary fiber distribution point and the secondary fiber distribution point, and the second overload risk value of the service to be accessed passing through the machine room, the third overload risk value of the service to be accessed passing through the pipeline section and the fourth overload risk value of the service to be accessed passing through the optical cable section; obtaining the weight of the service to be accessed; determining the node optical cross overload risk according to the first overload risk value, the second overload risk value, the weight, the first access user quantity, the second access user quantity and the third access user quantity; determining the pipeline optical cable link risk according to the third overload risk value, the fourth overload risk value, the weight, the first access user quantity, the second access user quantity and the third access user quantity; determining the overload risk balance degree value according to the node optical cross overload risk and the pipeline optical cable link risk.
[0105] Specifically, as described in the above embodiment, NHRD refers to the degree of influence of the overload degree of the node and the optical cross-connection grid on the service (node optical cross-connection overload risk), and its calculation formula is:
[0106]
[0107]
[0108] Among them, NHRD k is the overload risk of the optical switch k through which the service passes, A(gj k ) is the overload risk of the service passing through optical switch k (the first overload risk value), A(jf k ) is the overload risk of the business passing through room k (the second overload risk value), w i is the weight of the i-type service (service to be accessed), and Num(k) is the number of service categories carried by the optical switch k of the node (the sum of the number of first access users, the number of second access users and the number of third access users).
[0109] The services here are classified according to the bandwidth of the service customers, which can be divided into 5 categories: 100M, 2000M, 3000M, 5000M, and 10000M. i is the important factor of this type of business, where 100M is 0.05, 200M is 0.15, 300M is 0.2, 500 is 0.25, and 1000M is 0.35. Where sum(i) is the number of type i businesses, w i The calculation formula is as follows:
[0110]
[0111] LHRD refers to the impact of pipeline optical cable overload on the network (pipeline optical cable link risk), and its calculation formula is:
[0112]
[0113]
[0114] Among them, LHRD k is the overload risk level of the optical cable section and pipeline section through which the business passes, A(gdd k ) is the overload risk of the service passing through pipeline segment k (the third overload risk value), A(gld k ) is the overload risk of the service passing through the optical cable section (the fourth overload risk value), w i is the weight of the i-type service, and Num(k) is the number of service categories carried by the optical switch k at the node (the sum of the number of first access users, the number of second access users, and the number of third access users).
[0115] After obtaining the sum of the node optical cross-connection overload risk and the pipeline optical cable link risk of each pipeline optical cable section, the overload risk balance degree value can be calculated in the following two ways:
[0116] The reciprocal of the sum of the mean square error of the node optical cross-connect overload risk of each fiber distribution point and the pipeline optical cable link risk of each pipeline optical cable section is calculated as the overload risk balance degree value.
[0117] The specific formula is as follows:
[0118]
[0119] Among them, S(j) is the number of optical cross-connection rooms in the room grid, S(g) is the number of optical cable segments and pipeline segments through which the networking optical cables pass in the room grid, is the average risk of node optical cross-connect overload, is the mean link risk, as well as The calculation formula is as follows:
[0120]
[0121]
[0122] Alternatively, the sum of the node optical cross-connection overload risk of each fiber distribution point and the pipeline optical cable link risk of each pipeline optical cable section is calculated as the overload risk balance degree value, which is specifically calculated using the following formula:
[0123]
[0124] Step S207: Select a path with the smallest overload risk balance degree value as the access route for the service to be accessed.
[0125] Specifically, after calculating the overload risk balance value of each path, the path with the smallest overload risk balance value is selected, indicating that the possibility of overload risk occurring on this path is relatively small. Therefore, this path is used as the access route for the service to be accessed, and the service to be accessed is accessed to the PON network through the access route and operates.
[0126] The following is an explanation of the overall process of service route planning based on overload risk balancing:
[0127] First, analyze the OLT structure of the computer room grid:
[0128] (1) Based on the ray method, all the splitters and fiber distribution points {dw1,…,dw n}, and analyze the computer rooms within the computer room grid; based on the breadth-first search algorithm, analyze whether these splitters and secondary fiber distribution points cross the optical intersection grid, and at the same time analyze whether the primary fiber distribution points cross the computer room grid.
[0129] (2) Based on the breadth-first search algorithm, all paths from the optical splitter to the OLT room are analyzed, and the fiber splitting points {dw1,…,dw n}, pipeline segments gdd1, gdd2, ... gdd i , i∈[1…n], cable segments gld1,gld2,…gld j ,j∈[1…m].
[0130] (3) Count the number of users accessed by the OLT carried by the fiber distribution point in the path {Num(dw1),…,Num(dw n )}, the number of OLT access users carried by the pipeline segment {Num(gdd1),Num(gdd2),…Num(gdd i )}, i∈[1…n], the number of OLT access users carried by the optical cable segment {Num(gld1),Num(gld2),…Num(gld j )},j∈[1…m].
[0131] Then the related indicators of the heavy-load risk of the computer room grid are calculated, namely the above-mentioned channel heavy-load risk (ServicePath Heavy-load Risk Availability, SPHA), node optical cross heavy-load risk degree (Node Heavy-loadRisk Degree, NHRD), pipeline optical cable link risk degree (Link Heavy-load Risk Degree, LHRD), computer room grid heavy-load risk degree (Risk Heavy-load Balance Degree RHBD), and network overload overall risk degree (Overall Heavy-load Risk Degree, OHRD).
[0132] Finally, the business path planning is realized based on the breadth-first search algorithm path search:
[0133] (4) Decision-making algorithm based on the principle of minimum overload risk:
[0134] Min(R(k))=Min(RHND(k)
[0135] =Min{R(Src,((gdd1,…,gdd n ),(gld1,…,gld m ))N i1,…,((gdd1,…,gdd o ),(gld1,…gld p ))N ia ,((gdd1,…gdd e ),(gld1,…,gld f ))Des)},i∈{1,…,k}
[0136] For all k paths found, evaluate the overload risk balance degree RHND values of these k paths, and select the one with the smallest value as the optimal planned access path.
[0137] Through the technical solution disclosed in the embodiment of the present application, by obtaining the first-level fiber distribution point in the computer room grid, the second-level fiber distribution point in the optical cross-connection grid, and the computer room in the computer room grid; determining at least one path from the service to be accessed to the computer room, each path includes the service to be accessed passing through the second-level fiber distribution point of the optical cross-connection grid and the first-level fiber distribution point, pipeline section and optical cable section in the computer room grid; calculating the overload risk balance degree value of at least one path according to the first-level fiber distribution point, the second-level fiber distribution point, the pipeline section and the optical cable section in each path; selecting a path with the smallest overload risk balance degree value as the access route of the service to be accessed, it is possible to effectively plan the service route of the service to be accessed according to the path by which the service to be accessed can reach the computer room, improve the access efficiency of the service to be accessed, avoid the service to be accessed from accessing across the computer room grid and across the optical cross-connection grid, and the access route is the path with the smallest overload risk balance degree value, which can effectively avoid the problem of the service to be accessed accessing the overloaded grid, improve the balance of network service distribution, reduce network risks, and avoid major failures and safety hazards.
[0138] Corresponding to the service access method provided in the above embodiment, based on the same technical concept, the embodiment of the present application also provides a service access device, Figure 3 A schematic diagram of the module composition of a service access device provided in an embodiment of the present application, wherein the service access device is used to execute Figure 2 Describe the service access method, such as Figure 3 As shown, the service access device 300 includes: an acquisition module 301, which is used to acquire the first-level fiber distribution point in the computer room grid, the second-level fiber distribution point in the optical cross-connection grid, and the computer room in the computer room grid; a determination module 302, which is used to determine at least one path from the service to be accessed to the computer room, each path includes the service to be accessed passing through the second-level fiber distribution point of the optical cross-connection grid and the first-level fiber distribution point, pipeline segment and optical cable segment in the computer room grid; a calculation module 303, which is used to calculate the overload risk balance degree value of at least one path according to the first-level fiber distribution point, the second-level fiber distribution point, the pipeline segment and the optical cable segment in each path; a selection module 304, which is used to select a path with the smallest overload risk balance degree value as the access route for the service to be accessed.
[0139] It can be seen from the technical solution provided by the above embodiments of the present application that by obtaining the first-level fiber distribution point in the computer room grid, the second-level fiber distribution point in the optical cross-connection grid, and the computer room in the computer room grid; determining at least one path from the service to be accessed to the computer room, each path includes the service to be accessed passing through the second-level fiber distribution point of the optical cross-connection grid and the first-level fiber distribution point, pipe section and optical cable section in the computer room grid; calculating the overload risk balance degree value of at least one path according to the first-level fiber distribution point, second-level fiber distribution point, pipe section and optical cable section in each path; selecting the path with the smallest overload risk balance degree value as the access route for the service to be accessed, and effectively planning the service route of the service to be accessed according to the path by which the service to be accessed can reach the computer room, thereby improving the access efficiency of the service to be accessed, avoiding the access of the service to be accessed across the computer room grid and across the optical cross-connection grid, and the access route is the path with the smallest overload risk balance degree value, which can effectively avoid the problem of the service to be accessed accessing the overloaded grid, improve the balance of network service distribution, reduce network risks, and avoid major failures and safety hazards.
[0140] In a possible implementation, the acquisition module 301 is also used to obtain the first position information of the first-level fiber distribution point and the second position information of the micro-grid; determine whether the first-level fiber distribution point belongs to the micro-grid based on the first position information and the second position information; if it belongs to the micro-grid, determine the initial computer room grid to which the first-level fiber distribution point belongs based on the correspondence between the micro-grid, the optical intersection grid and the computer room grid; determine all computer room grids that can be reached by the first-level fiber distribution point based on the breadth-first search algorithm to form a computer room grid set; when the initial computer room grid belongs to the computer room grid set, determine that the first-level fiber distribution point belongs to the initial computer room grid; when the initial computer room grid does not belong to the computer room grid set, determine that the first-level fiber distribution point does not belong to the initial computer room grid; and re-divide the first-level fiber distribution point to the corresponding computer room grid.
[0141] In a possible implementation, the acquisition module 301 is also used to obtain the third position information of the secondary fiber distribution point and the second position information of the microgrid; determine whether the secondary fiber distribution point belongs to the microgrid based on the third position information and the second position information; if it belongs to the microgrid, determine the initial optical intersection grid to which the secondary fiber distribution point belongs based on the correspondence between the microgrid and the optical intersection grid; determine all the optical intersection grids that the secondary fiber distribution point can reach based on the breadth-first search algorithm to form an optical intersection grid set; when the initial optical intersection grid belongs to the optical intersection grid set, determine that the secondary fiber distribution point belongs to the initial optical intersection grid; when the initial optical intersection grid does not belong to the optical intersection grid set, determine that the secondary fiber distribution point does not belong to the initial optical intersection grid; and re-divide the secondary fiber distribution point to the corresponding optical intersection grid.
[0142] In a possible implementation, it also includes: an establishment module, used to establish all paths from all existing services to the computer room, the services include splitters, and the paths include services and the computer room to which the services belong; a determination module, used to determine whether the splitter belongs to a micro-grid based on the fourth position information of the splitter and the second position information of the micro-grid; the determination module, also used to determine the initial computer room to which the splitter belongs based on the correspondence between the micro-grid, the optical intersection grid and the computer room grid; the determination module, also used to determine the final computer room to which the splitter belongs from the path; the determination module, also used to determine that the computer room to which the splitter belongs is the final computer room if the final computer room to which the splitter belongs is different from the initial computer room to which the splitter belongs.
[0143] In a possible implementation, the calculation module 303 is also used to determine all paths from the service to be accessed to the computer room based on a breadth-first search algorithm, each path including a primary fiber distribution point, a secondary fiber distribution point, an optical cable segment, and a pipe segment through which the service to be accessed passes; count the number of first access users carried by the primary fiber distribution point and the secondary fiber distribution point in each path, the number of second access users carried by the optical cable segment, and the number of third access users carried by the pipe segment; determine the overload risk balance degree value of the path according to the information of the primary fiber distribution point, the information of the secondary fiber distribution point, the number of first access users, the number of second access users, and the number of third access users.
[0144] In a possible implementation, the calculation module 303 is also used to determine a first overload risk value of the service to be accessed passing through the primary fiber distribution point and the secondary fiber distribution point, a second overload risk value of the service to be accessed passing through the machine room, a third overload risk value of the service to be accessed passing through the pipeline section, and a fourth overload risk value of the service to be accessed passing through the optical cable section; obtain the weight of the service to be accessed; determine the node optical cross overload risk according to the first overload risk value, the second overload risk value, the weight, the first access user volume, the second access user volume, and the third access user volume; determine the pipeline optical cable link risk according to the third overload risk value, the fourth overload risk value, the weight, the first access user volume, the second access user volume, and the third access user volume; determine the overload risk balance degree value according to the node optical cross overload risk and the pipeline optical cable link risk.
[0145] In a possible implementation, the calculation module 303 is further used to calculate the inverse of the sum of the mean square deviations of the node optical cross-overload risks of each fiber distribution point and the pipeline optical cable link risks of each pipeline optical cable section as the overload risk balance degree value; or calculate the sum of the node optical cross-overload risks of each fiber distribution point and the pipeline optical cable link risks of each pipeline optical cable section as the overload risk balance degree value.
[0146] The service access device provided in the embodiment of the present application can implement each process in the embodiment corresponding to the above-mentioned service access method, and has the same or similar beneficial effects. To avoid repetition, it will not be described here.
[0147] It should be noted that the service access device provided in the embodiment of the present application and the service access method provided in the embodiment of the present application are based on the same application concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned service access method, and has the same or similar beneficial effects, and the repetitions will not be repeated.
[0148] Corresponding to the service access method provided in the above embodiment, based on the same technical concept, the embodiment of the present application further provides an electronic device, which is used to execute the above service access method. Figure 4 A schematic diagram of the structure of an electronic device for implementing each embodiment of the present application is shown in FIG. Figure 4 As shown. The electronic device may have relatively large differences due to different configurations or performances, and may include one or more processors 401 and memory 402, and the memory 402 may store one or more storage applications or data. Among them, the memory 402 may be a temporary storage or a permanent storage. The application stored in the memory 402 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the electronic device.
[0149] Furthermore, the processor 401 may be configured to communicate with the memory 402 to execute a series of computer executable instructions in the memory 402 on the electronic device. The electronic device may also include one or more power supplies 403, one or more wired or wireless network interfaces 404, one or more input and output interfaces 405, and one or more keyboards 406.
[0150] Specifically in this embodiment, the electronic device includes a processor, a communication interface, a memory and a communication bus; wherein the processor, the communication interface and the memory communicate with each other through the bus; the memory is used to store computer programs; the processor is used to execute the programs stored in the memory to achieve the above Figure 2 The various steps in the method embodiment are similar to those in the method embodiment, and have the beneficial effects of the above method embodiments. To avoid repetition, the embodiments of the present application will not be described again here.
[0151] This embodiment also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above Figure 2 Each step in the method embodiment has the beneficial effects of the above method embodiments. To avoid repetition, the embodiments of the present application will not be described again here.
[0152] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0153] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0154] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0155] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0156] In a typical configuration, an electronic device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0157] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0158] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0159] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0160] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0161] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A service access method, characterized in that: The service access method comprises: Obtaining the primary fiber distribution points in the machine room grid, the secondary fiber distribution points in the optical cross-connection grid, and the machine room in the machine room grid; Determine at least one path from the service to be accessed to the machine room, each of the paths including the service to be accessed passing through the secondary fiber distribution point of the optical cross-connection grid and the primary fiber distribution point in the machine room grid, the pipeline segment and the optical cable segment; Calculate the overload risk balance degree value of at least one of the paths according to the primary fiber distribution point, the secondary fiber distribution point, the pipeline section and the optical cable section in each of the paths; A path with the smallest overload risk balance degree value is selected as the access route of the service to be accessed.
2. The service access method according to claim 1, characterized in that: After obtaining the primary fiber distribution point in the machine room grid, the method further includes: Acquire the first position information of the primary fiber splitting point and the second position information of the microgrid; Determine whether the primary fiber splitting point belongs to the micro grid according to the first position information and the second position information; If it belongs to the micro-grid, determining the initial machine room grid to which the primary fiber distribution point belongs according to the corresponding relationship between the micro-grid, the optical cross-connection grid and the machine room grid; Determine all the machine room grids reachable by the primary fiber distribution point based on a breadth-first search algorithm to form a machine room grid set; In the case where the initial machine room grid belongs to the machine room grid set, determining that the primary fiber distribution point belongs to the initial machine room grid; In the case where the initial machine room grid does not belong to the machine room grid set, determining that the primary fiber distribution point does not belong to the initial machine room grid; Re-divide the primary fiber distribution points into corresponding machine room grids.
3. The service access method according to claim 1, characterized in that: After obtaining the secondary fiber distribution points in the optical cross-grid, the method further includes: Acquire the third position information of the secondary fiber splitting point and the second position information of the microgrid; Determine whether the secondary fiber splitting point belongs to the micro grid according to the third position information and the second position information; If it belongs to the micro-grid, determining the initial optical intersection grid to which the secondary fiber splitting point belongs according to the corresponding relationship between the micro-grid and the optical intersection grid; Determine all optical intersection grids reachable by the secondary fiber splitting point based on a breadth-first search algorithm to form an optical intersection grid set; In the case where the initial optical intersection grid belongs to the optical intersection grid set, determining that the secondary fiber splitting point belongs to the initial optical intersection grid; In the case that the initial optical intersection grid does not belong to the optical intersection grid set, determining that the secondary fiber splitting point does not belong to the initial optical intersection grid; The secondary fiber distribution points are re-divided into corresponding optical cross-linking grids.
4. The service access method according to claim 1, characterized in that: Before determining at least one path from the service to be accessed to the computer room, the method further includes: Establish all existing paths from all services to the computer room, the services include the optical splitter, and the paths include the services and the computer room to which the services belong; determining whether the beam splitter belongs to the micro-grid according to the fourth position information of the beam splitter and the second position information of the micro-grid; Determine the initial machine room to which the optical splitter belongs based on the correspondence between the micro-grid, the optical cross-grid and the machine room grid; Determine the final machine room to which the optical splitter belongs from the path; If the final machine room to which the optical splitter belongs is different from the initial machine room to which the optical splitter belongs, the machine room to which the optical splitter belongs is determined to be the final machine room.
5. The service access method according to any one of claims 1 to 4, characterized in that: The calculating of the overload risk balance degree value of at least one of the paths according to the primary fiber distribution points, the secondary fiber distribution points, the pipeline segments, and the optical cable segments in each of the paths comprises: Determine all paths from the service to be accessed to the computer room based on a breadth-first search algorithm, each of the paths including a primary fiber distribution point, a secondary fiber distribution point, an optical cable segment, and a pipeline segment through which the service to be accessed passes; Counting the number of first access users carried by the primary fiber distribution point and the secondary fiber distribution point in each of the paths, the number of second access users carried by the optical cable segment, and the number of third access users carried by the pipeline segment; The overload risk balance degree value of the path is determined according to the information of the primary fiber distribution point, the information of the secondary fiber distribution point, the first access user quantity, the second access user quantity and the third access user quantity.
6. The service access method according to claim 5, characterized in that: The determining of the overload risk balance degree value of the path according to the information of the primary fiber distribution point, the information of the secondary fiber distribution point, the first access user quantity, the second access user quantity and the third access user quantity comprises: Determine a first overload risk value of the service to be accessed passing through the primary fiber distribution point and the secondary fiber distribution point, a second overload risk value of the service to be accessed passing through the machine room, a third overload risk value of the service to be accessed passing through the pipeline section, and a fourth overload risk value of the service to be accessed passing through the optical cable section; Obtaining the weight of the service to be accessed; Determine the node optical cross-connect overload risk according to the first overload risk value, the second overload risk value, the weight, the first access user quantity, the second access user quantity and the third access user quantity; Determine the risk of the pipeline optical cable link according to the third overload risk value, the fourth overload risk value, the weight, the first access user quantity, the second access user quantity and the third access user quantity; The overload risk balance degree value is determined according to the node optical cross overload risk and the pipeline optical cable link risk.
7. The service access method according to claim 6, characterized in that: Determining the overload risk balance degree value according to the node optical cross overload risk and the pipeline optical cable link risk includes: Calculate the reciprocal of the sum of the mean square error of the node optical cross-connect overload risk of each fiber distribution point and the pipeline optical cable link risk of each pipeline optical cable section as the overload risk balance degree value; Alternatively, the sum of the node optical cross-connect overload risk of each fiber distribution point and the pipeline optical cable link risk of each pipeline optical cable section is calculated as the overload risk balance degree value.
8. A service access device, characterized in that: include: An acquisition module, used to acquire the primary fiber distribution points in the machine room grid, the secondary fiber distribution points in the optical cross-connection grid, and the machine room in the machine room grid; A determination module, used to determine at least one path from the service to be accessed to the machine room, each of the paths including the service to be accessed passing through the secondary fiber distribution point of the optical cross-connection grid and the primary fiber distribution point in the machine room grid, the pipeline segment and the optical cable segment; A calculation module, used for calculating the overload risk balance degree value of at least one of the paths according to the primary fiber distribution point, the secondary fiber distribution point, the pipeline section and the optical cable section in each of the paths; The selection module is used to select a path with the smallest overload risk balance degree value as the access route of the service to be accessed.
9. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus; wherein the processor, the communication interface and the memory communicate with each other through the communication bus; the memory is used to store computer programs; the processor is used to execute the programs stored in the memory to implement the steps of the service access method as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the service access method according to any one of claims 1 to 7 are implemented.
