A method and system for searching optical fiber communication transmission path
Through multi-level screening and evaluating optical fiber communication transmission paths, the problem of inaccurate fiber path search results in the prior art is solved, and the transmission efficiency and information quality are improved.
Patent Information
- Application Number
- CN202410904453.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2025-05-02
- Estimated Expiration
- 2044-07-08
AI Technical Summary
The search method for existing fiber optic communication transmission paths has insufficient transmission efficiency and accuracy, especially due to the different working status of the fiber optic paths, the search results are inaccurate.
Multi-level screening and evaluation are performed by obtaining the start, end, and data types of optical transmission data, including first and second screening, comparison of time interval data, and analysis of hierarchical relationships and transmission properties to determine the optimal transmission path.
It improves the effectiveness and accuracy of the search results of optical fiber communication transmission paths, enhances transmission efficiency and information quality, and provides a more accurate basis for subsequent path selection.
Smart Images

Figure CN118784078B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of path search, and in particular to a method and system for searching a transmission path of optical fiber communication. Background Art
[0002] With the rapid development of information technology, optical fiber communication technology has become an important part of modern communication. With its significant advantages such as high speed, large capacity and low loss, optical fiber communication technology is widely used in telecommunications, radio and television, Internet, industrial control and other fields. However, in practical applications, the search and management of optical fiber communication transmission paths still face many challenges.
[0003] Most of the related technologies are based on the Dijkstra algorithm and the Bellman-Ford algorithm to calculate the shortest path between the starting point and the end point in the optical fiber network, and to perform load balancing on the selectable paths by considering the network load status, so as to reduce network congestion and improve transmission efficiency. However, due to the different working conditions of different optical fiber paths, even the shortest path may not have the fastest transmission efficiency, which leads to inaccurate search results for transmission paths and needs improvement. Summary of the invention
[0004] In order to improve the effectiveness of search results, the present application provides a method and system for searching optical fiber communication transmission paths.
[0005] In a first aspect, the present application provides a method for searching a transmission path of an optical fiber communication, which adopts the following technical solution:
[0006] A method for searching a transmission path of optical fiber communication, comprising:
[0007] Obtain and extract data transmission requests, and obtain the starting point, end point and data type of optical transmission data;
[0008] Obtaining an optical fiber link connected to an optical receiver, and performing a first screening on the optical fiber link according to a starting point and an end point of optical transmission data to obtain a first screening result;
[0009] Perform a second screening on the first screening result based on the data type to obtain a second screening result;
[0010] Acquire time data of optical transmission data and evaluation time data of optical fiber status data, and determine time interval data according to the evaluation time data and the time data of optical transmission data;
[0011] The time interval data is compared with the built-in detection period. If the time interval data is less than or equal to the built-in detection period, the second screening result is selected according to the optical fiber status data to obtain a transmission path to the next-level optical receiver, and the optical transmission data is transmitted according to the transmission path;
[0012] If the time interval data is greater than the built-in detection cycle, the optical transmission data is transmitted along the entire path according to the second screening result, and the optical fiber link between the optical receivers is evaluated according to the reception time of the optical transmission data and the received data information of each optical receiver to obtain the optical fiber status data.
[0013] Preferably, the optical receivers at the starting position and the ending position are determined according to the starting point and the ending point of the optical transmission data, and are respectively recorded as the first initial optical receiver and the second initial optical receiver;
[0014] Determine all optical receivers between the first initial optical receiver and the second initial optical receiver according to the affiliation relationship between the first initial optical receiver and the second initial optical receiver, and record them as transit optical receivers;
[0015] Determining the hierarchical relationship of each optical receiver according to the connection relationship between the transit optical receiver and the first initial optical receiver;
[0016] The transit optical receiver and the corresponding hierarchical relationship are recorded as the first screening result.
[0017] Preferably, the requirement of the optical transmission data for the optical fiber link during the transmission process is determined according to the data type, and recorded as the requirement data;
[0018] According to the demand data, the optical fiber links configured by the transit optical receivers in the first screening result are matched with the demand data to screen out the transit optical receivers whose optical fiber links meet the demand data;
[0019] The transmission path integrity analysis is performed on the screened transit optical receivers to screen out transit optical receivers with integrity and their corresponding optical fiber links, which are recorded as the second screening result.
[0020] Preferably, according to the hierarchical relationship of the transit optical receivers obtained by screening, the number of optical fiber links of the transit optical receivers is judged layer by layer from the first initial optical receiver to the second initial optical receiver to obtain the optical fiber link number data of the transit optical receivers;
[0021] If the optical fiber link quantity data corresponding to the relay optical receiver is 0, it is determined that the relay optical receiver does not have integrity;
[0022] If the optical fiber link quantity data corresponding to the transit optical receiver is greater than 0, the transmission properties of the optical fiber link are determined according to the hierarchical relationship of the objects connected by the optical fiber link; the transmission properties include output optical transmission data and received optical transmission data;
[0023] If the transmission properties of all optical fiber links are receiving optical transmission data, the hierarchical relationship of the transit optical receiver is judged, and if the transit optical receiver is connected to the second initial optical receiver, the transit optical receiver is judged to have integrity;
[0024] If the transit optical receiver is not connected to the second initial optical receiver, it is determined that the transit optical receiver does not have integrity;
[0025] If the transmission properties of all optical fiber links are output optical transmission data, the hierarchical relationship of the transit optical receiver is judged, and if the transit optical receiver is not connected to the first initial optical receiver, it is determined that the transit optical receiver does not have integrity;
[0026] If the transit optical receiver is connected to the first initial optical receiver, a level judgment is performed on the output object connected to the optical fiber link, and if the level of the output object is the same as the level of the transit optical receiver, it is determined that the transit optical receiver does not have integrity;
[0027] If the level of the output object is different from the level of the relay optical receiver, it is determined that the relay optical receiver has integrity.
[0028] Preferably, if the transmission property of the optical fiber link includes both receiving optical transmission data and outputting optical transmission data, then obtaining an output object connected to the optical fiber link;
[0029] Comparing the level of the output object with that of the relay optical receiver to determine whether the level of the output object is the same as that of the relay optical receiver;
[0030] If the output object and the relay optical receiver have different levels, it is determined that the relay optical receiver has integrity;
[0031] If the output object and the relay optical receiver are at the same level, then judging whether there is an optical fiber link that meets the requirements between the output object and the relay optical receiver at a level lower than the level according to the level relationship of the output object;
[0032] If it is determined that there is an optical fiber link that meets the requirements, then it is determined that the transit optical receiver does not have integrity;
[0033] If it is determined that there is no optical fiber link that meets the requirements, the transit optical receiver is bound to the output object, and the integrity of the output object is judged. If the output object has integrity, all transit optical receivers bound to the output object have integrity;
[0034] If the output object does not have integrity, all transit optical receivers bound to the output object do not have integrity.
[0035] Preferably, a transit optical receiver connected to the first initial optical receiver is determined based on the hierarchical relationship and recorded as a first-level transit optical receiver;
[0036] Acquire link information of the optical fiber link between the first initial optical receiver and each first-level transit optical receiver; the link information includes distance data of each optical fiber link;
[0037] Determine the information transmission rate of the corresponding optical fiber link based on the optical fiber status data, and determine the time consumption data of the optical transmission data during the transmission process according to the distance data and the information transmission rate;
[0038] Determine information transmission quality data of the corresponding optical fiber link based on the optical fiber status data, and evaluate the optical fiber link according to the information transmission quality data and the time consumption data to obtain evaluation data of the corresponding optical fiber link;
[0039] Selecting an optical fiber link connecting the same first-level transit optical receiver and the first initial optical receiver according to the evaluation data to obtain a corresponding transmission sub-path;
[0040] Determine the relay optical receiver connected to the first-level relay optical receiver according to the hierarchical relationship and record it as the second-level relay optical receiver, evaluate the optical fiber link between the first-level relay optical receiver and the second-level relay optical receiver, and select the optical fiber link between the first-level relay optical receiver and the second-level relay optical receiver according to the corresponding evaluation data to obtain the corresponding transmission sub-path;
[0041] Combining the transmission sub-paths according to the hierarchical relationship and the connection relationship between the corresponding transit optical receivers to obtain the corresponding transmission path, and determining the comprehensive evaluation data of the corresponding transmission path;
[0042] Based on the comprehensive evaluation data of the multiple transmission paths, the multiple transmission paths are screened to obtain a final transmission path, and the optical transmission data is transmitted based on the final transmission path.
[0043] Preferably, when the time interval data is greater than the built-in detection cycle, all optical fiber links existing in the second screening result are transmitted by using the optical transmission data;
[0044] According to the hierarchical relationship, when optical receiver A receives the optical transmission data transmitted by all links, optical receiver A analyzes the received optical transmission data;
[0045] When the optical receiver A receives the first optical transmission data, it extracts the optical fiber link information of the optical transmission data, and transmits the optical transmission data to the next level through the entire path;
[0046] Determine the information transmission rate of the corresponding optical fiber link based on the distance data in the optical fiber link information and the time information when the first optical transmission data is received;
[0047] When optical receiver A receives the second optical transmission data, it compares the first optical transmission data with the second optical transmission data to obtain difference data; wherein the difference data includes added data and missing data, the added data is the data in the second optical transmission data that is more than the first optical transmission data, and the missing data is the data in the second optical transmission data that is less than the first optical transmission data.
[0048] Based on the difference data, the added data in the difference data is transmitted over the entire path, and the transmission quality of the optical fiber link is evaluated according to the difference data to obtain the information transmission quality;
[0049] Based on the information transmission rate and the information transmission quality, the optical fiber status data of the corresponding optical fiber link is determined.
[0050] In a second aspect, the present application provides a search system for an optical fiber communication transmission path, which adopts the following technical solution:
[0051] A search system for optical fiber communication transmission paths, comprising: a communication demand module, a path screening module and a path search module;
[0052] The communication requirement module obtains and extracts the data transmission request, and obtains the starting point, end point and data type of the optical transmission data;
[0053] A path screening module obtains an optical fiber link connected to an optical receiver, and performs a first screening on the optical fiber link according to the starting point and the end point of the optical transmission data to obtain a first screening result; performs a second screening on the first screening result based on the data type to obtain a second screening result; obtains time data of the optical transmission data and evaluation time data of the optical fiber status data, and determines time interval data according to the evaluation time data and the time data of the optical transmission data;
[0054] The path search module compares the time interval data with the built-in detection cycle. If the time interval data is less than or equal to the built-in detection cycle, the second screening result is selected according to the optical fiber status data to obtain the transmission path to the next-level optical receiver, and the optical transmission data is transmitted according to the transmission path; if the time interval data is greater than the built-in detection cycle, the optical transmission data is transmitted along the entire path according to the second screening result, and the optical fiber link between the optical receivers is evaluated according to the reception time of the optical transmission data and the received data information of each optical receiver to obtain the optical fiber status data.
[0055] In summary, the present application includes at least one of the following beneficial technical effects:
[0056] 1. By obtaining the data transmission request of the optical transmission data, the starting point and the end point of the information path are clarified, so that the first screening result can ensure the normal transmission of the data. By re-screening the optical fiber path that can be normally transmitted according to the demand of the optical transmission data for the optical fiber link, it is ensured that the screened optical fiber path can be effectively transmitted, and the influence of the unmatched optical fiber category on the optical transmission data transmission is reduced. Then, the transmission state of the current optical fiber link is determined by the transmission time of the optical transmission data, so that the optical fiber link can be selected according to the transmission state of the optical fiber link, thereby improving the transmission efficiency of the optical transmission data and the quality of the information after transmission, and improving the effectiveness of the path search results. When the optical fiber link cannot be selected by the transmission state of the optical fiber link, the optical transmission data is transmitted along the entire path, which not only ensures the transmission efficiency of the optical transmission data, but also determines the transmission state of the corresponding optical fiber link by the performance of the optical transmission data at each optical receiver, and provides a judgment basis for the selection of the next optical fiber link, thereby improving the effectiveness and accuracy of the search results for the optical fiber link, and improving the search efficiency;
[0057] 2. By using the starting point and end point of the optical transmission data, the corresponding initial optical receiver is determined, and then the selection range of the transit optical receiver is defined through the affiliation of the initial optical receiver, so as to reduce the amount of data for transmission path search, thereby speeding up the search efficiency, and then according to the connection relationship between the transit optical receiver and the first initial optical receiver, the hierarchical relationship is determined, so as to make the screening result effective when screening the path, thereby improving the effectiveness and accuracy of the path search;
[0058] 3. Comprehensively utilize the hierarchical relationship of each transit optical receiver to judge the integrity of the optical fiber link of the transit optical receiver from the first initial optical receiver to the second initial optical receiver layer by layer, so as to re-screen the optical fiber link to reduce the number of transit optical receivers that cannot perform normal transmission, thereby improving the selection efficiency of the optical fiber link. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] Figure 1 is a flowchart of the steps of the optical fiber communication transmission path search method of this embodiment;
[0060] Figure 2 This is a module block diagram of the optical fiber communication transmission path search system of this embodiment.
[0061] Figure numerals: 1. Communication demand module; 2. Path screening module; 3. Path search module. DETAILED DESCRIPTION
[0062] The following is combined with Figure 1-Figure 2 This application is described in further detail.
[0063] The embodiments of the present application disclose a method and system for searching a transmission path of optical fiber communication.
[0064] Example: Figure 1 As shown, the present invention provides a method for searching a transmission path of optical fiber communication, comprising:
[0065] S100, obtaining and extracting a data transmission request, and obtaining a starting point, an end point and a data type of the optical transmission data;
[0066] S200, obtaining an optical fiber link connected to an optical receiver, and performing a first screening on the optical fiber link according to a starting point and an end point of optical transmission data to obtain a first screening result;
[0067] S300, performing a second screening on the first screening result based on the data type to obtain a second screening result;
[0068] S400, acquiring time data of optical transmission data and evaluation time data of optical fiber status data, and determining time interval data according to the evaluation time data and the time data of optical transmission data;
[0069] S500, comparing the time interval data with the built-in detection period, if the time interval data is less than or equal to the built-in detection period, selecting the second screening result according to the optical fiber status data, obtaining a transmission path to the next-stage optical receiver, and transmitting the optical transmission data according to the transmission path;
[0070] S600, if the time interval data is greater than the built-in detection cycle, the optical transmission data is transmitted along the entire path according to the second screening result, and the optical fiber link between the optical receivers is evaluated according to the reception time of the optical transmission data by each optical receiver and the received data information to obtain the optical fiber status data.
[0071] In this embodiment, by obtaining the data transmission request of the optical transmission data, the starting point and the end point of the information path are clarified, and then the path data that can be transmitted from the starting point to the end point is screened out, and then the optical fiber path that can be normally transmitted is screened again according to the demand for the optical fiber link when transmitting the optical transmission data, so as to ensure that the screened optical fiber path can meet the normal and effective transmission of the optical transmission data, reduce the influence of the unmatched optical fiber category on the optical transmission data transmission, and then determine the transmission state of the current optical fiber link according to the transmission time of the optical transmission data, so that the optical fiber link can be selected according to the transmission state of the optical fiber link, thereby improving the transmission efficiency of the optical transmission data and the quality of the information after transmission. When the optical fiber link cannot be selected according to the transmission state of the optical fiber link, the optical transmission data is transmitted through the entire path, which not only ensures the transmission efficiency of the optical transmission data, but also determines the transmission state of the corresponding optical fiber link according to the performance of the optical transmission data at each optical receiver, and provides a judgment basis for the selection of the next optical fiber link, thereby improving the effectiveness and accuracy of the search results for the optical fiber link, and ensuring the transmission efficiency of the optical transmission data.
[0072] Exemplarily, based on the data transmission request, two nodes of the optical transmission data in the optical fiber communication network are determined, and then through the starting point and the end point, other optical receivers that need to be passed through to reach the end point from the starting point are determined, thereby reducing the judgment of the optical fiber link that cannot perform optical transmission data transmission. Since different optical fiber transmission data have different requirements for optical fiber links, for example, video call data requires low-latency and high-bandwidth optical fiber links, and text chat data can choose low-bandwidth optical fiber links, so the corresponding optical fiber links are matched according to different data types. When the optical transmission data is transmitted to the next optical receiver during the optical transmission data transmission process, the optical receiver does not have a corresponding optical fiber link for transmission to the next optical receiver, so the optical fiber link of each optical receiver is screened to further screen out the optical receiver that meets the conditions, and the optical receiver is used as the data transmission node. Then, by determining the transmission state of the optical fiber link at the current transmission time, the optical fiber link of the optical receiver that can meet the optical transmission data transmission is selected to ensure the highest transmission efficiency and the best transmission quality. At the same time, full-path transmission can be performed on the optical fiber links that can meet the requirements in the selected optical receiver, which not only ensures the highest transmission efficiency and the best transmission quality, but also determines the status data of each optical fiber link through the data quality and transmission efficiency of different optical fiber links, providing a basis for judgment for subsequent path search.
[0073] In step S200, the optical fiber link connected to the optical receiver is obtained, and the optical fiber link is first screened according to the starting point and the end point of the optical transmission data to obtain a first screening result, including the following steps:
[0074] S210, determining optical receivers at the starting position and the ending position according to the starting point and the ending point of the optical transmission data, and recording them as a first initial optical receiver and a second initial optical receiver respectively;
[0075] S220, determine all optical receivers between the first initial optical receiver and the second initial optical receiver according to the affiliation between the first initial optical receiver and the second initial optical receiver, and record them as transit optical receivers; wherein the affiliation is the affiliation of optical receivers in the same area, for example, the first initial optical receiver is x1, and the second initial optical receiver is x2. If x1 and x2 both belong to the optical fiber terminal under the optical receiver X, the communication between x1 and x2 only needs to go through x1→X→x2 at most, that is, X is all optical receivers between the first initial optical receiver and the second initial optical receiver.
[0076] S230, according to the connection relationship between the transit optical receiver and the first initial optical receiver, determine the hierarchical relationship of each optical receiver; wherein the optical receiver directly connected to the first initial optical receiver is recorded as the first-level optical receiver, and the optical receiver directly connected to the first-level optical receiver is recorded as the second-level optical receiver, and so on. That is, the transit optical receiver closer to the first initial optical receiver has a smaller corresponding hierarchical number, and the transit optical receiver farther from the first initial optical receiver has a larger corresponding hierarchical number.
[0077] S240: Record the transit optical receiver and the corresponding hierarchical relationship as a first screening result.
[0078] In this embodiment, all optical receivers included from the starting point to the end point are determined by the starting point and end point of the optical transmission data, and the hierarchical relationship between each optical receiver and the first initial optical receiver is determined by the connection relationship between the optical receiver and the first initial optical receiver, and the corresponding first screening result is output.
[0079] The corresponding initial optical receiver is determined by the starting point and end point of the optical transmission data, and then the selection range of the transit optical receiver is defined by the affiliation of the initial optical receiver, thereby reducing the amount of data for searching the transmission path and speeding up the search efficiency. The hierarchical relationship is determined based on the connection relationship between the transit optical receiver and the first initial optical receiver, thereby increasing the effectiveness of the screening results when screening the path, thereby improving the effectiveness and accuracy of the path search.
[0080] Exemplarily, when the starting point and end point of the optical transmission data are both located in the subordinate optical receiver of the optical receiver X, if the first initial optical receiver x1 is the first-level subordinate optical receiver of the optical receiver X, that is, X--x1, and the second initial optical receiver x2 is the second-level subordinate optical receiver of the optical receiver X, that is, X--x--x2, then when determining the selection range of the transit optical receiver, the selected transit optical receivers are X and x; if the first initial optical receiver x1 is the second-level subordinate optical receiver of the optical receiver X, for example, X--x--x1, then the selected transit optical receiver is x, and if the affiliation between the first initial optical receiver x1 and the optical receiver X is X--y--x1, then the selected transit optical receivers are y, x, and X.
[0081] In step S300, the first screening result is screened for the second time based on the data type to obtain the second screening result, including the following steps:
[0082] S310, determining the demand of the optical transmission data for the optical fiber link during the transmission process according to the data type, and recording it as demand data;
[0083] S320, matching the optical fiber links configured by the transit optical receivers in the first screening result with the demand data according to the demand data, so as to screen out the transit optical receivers whose optical fiber links meet the demand data;
[0084] S330, performing transmission path integrity analysis on the screened transit optical receivers to screen out transit optical receivers with integrity and their corresponding optical fiber links, and recording them as second screening results.
[0085] In this embodiment, the demand data of the optical fiber link required for transmitting the data is determined by the data type of the optical transmission data, so that the optical fiber link of the transit optical receiver in the first screening result is screened according to the demand data, so as to further reduce the screening results of the optical fiber path, thereby increasing the search data volume of the optical fiber path, improving the search efficiency of the transmission path, and also improving the validity of the search results.
[0086] Exemplarily, for example, the first screening result obtained by screening includes transit optical receivers a, b, and c, wherein the bandwidth of the optical fiber link included in a is 50Hz, 60Hz, and 80Hz, the bandwidth of b is 60Hz, and the bandwidth of c is 100Hz, and the bandwidth requirement of the optical transmission data is not less than 70Hz. Then, by screening the transit optical receiver a, only the optical fiber link with a bandwidth of 80Hz can be retained, b cannot meet the conditions and is screened out, and c is retained. Therefore, after screening, the screening result is that the transit optical receiver includes the optical fiber link with a bandwidth of 80Hz in the transit optical receiver a and the transit optical receiver c.
[0087] In step S330, a transmission path integrity analysis is performed on the selected transit optical receivers to select transit optical receivers with integrity and their corresponding optical fiber links, which are recorded as the second screening result, including the following steps:
[0088] S331, based on the hierarchical relationship of the transit optical receivers obtained by screening, the number of optical fiber links of the transit optical receivers is judged layer by layer from the first initial optical receiver to the second initial optical receiver to obtain the optical fiber link number data of the transit optical receiver; which also includes judging the number of optical fiber links of the transit optical receivers from the second initial optical receiver to the first initial optical receiver layer by layer through a multi-task mode to speed up the judgment speed.
[0089] S332, if the optical fiber link quantity data corresponding to the transit optical receiver is 0, it is determined that the transit optical receiver does not have integrity;
[0090] S333, if the optical fiber link quantity data corresponding to the transit optical receiver is greater than 0, the transmission properties of the optical fiber link are determined according to the hierarchical relationship of the objects connected to the optical fiber link; the transmission properties include output optical transmission data and received optical transmission data; according to the transmission direction of the optical transmission data, the transmission properties of the optical fiber link passed when input to the transit optical receiver are recorded as received optical transmission data, and the optical receiver input to the transit optical receiver is recorded as an input object, the optical fiber link output to other optical receivers is recorded as output optical transmission data, and the optical receiver output to is recorded as an output object.
[0091] S334, if the transmission properties of all optical fiber links are receiving optical transmission data, then judging the hierarchical relationship of the transit optical receiver, and if the transit optical receiver is connected to the second initial optical receiver, then judging that the transit optical receiver has integrity;
[0092] S335, if the transit optical receiver is not connected to the second initial optical receiver, determining that the transit optical receiver does not have integrity;
[0093] S336, if the transmission properties of all optical fiber links are output optical transmission data, then the hierarchical relationship of the transit optical receiver is determined, and if the transit optical receiver is not connected to the first initial optical receiver, then it is determined that the transit optical receiver does not have integrity;
[0094] S337, if the transit optical receiver is connected to the first initial optical receiver, then the level of the output object connected to the optical fiber link is determined, and if the level of the output object is the same as the level of the transit optical receiver, then it is determined that the transit optical receiver does not have integrity;
[0095] S338: If the level of the output object is different from the level of the relay optical receiver, it is determined that the relay optical receiver has integrity.
[0096] In this embodiment, according to the hierarchical relationship of the transit optical receivers obtained by screening, the number of optical fiber links of the transit optical receivers is judged layer by layer to judge whether the corresponding transit optical receiver can constitute the integrity of the transmission path according to the number of optical fiber links of the transit optical receiver, so that the transit optical receivers are screened once, and then the hierarchical judgment is made on the optical receivers connected to the transit optical receiver, and then the integrity of the transit optical receiver is determined according to the hierarchical relationship of the two connected transit optical connectors, so that the transit optical connector in the second screening result can meet the transmission requirements for optical transmission data.
[0097] Exemplarily, according to the hierarchical relationship, the transit optical receiver connected to the first initial optical receiver is recorded as a, and the number of optical fiber links on a that meet the requirements is judged. For example, if the number of optical fiber links on the transit optical receiver a is 0, it indicates that the transit optical receiver a neither receives optical transmission data nor outputs optical transmission data, thereby determining that the transit optical receiver a does not have integrity. If the number of optical fiber links on a is 1, it indicates that the transit optical receiver uses the optical fiber link to receive optical transmission data or to output optical transmission data. If it is used to receive optical transmission data, the optical fiber link is used. It is used to connect the first initial optical receiver and the transit optical receiver a, but cannot output the optical transmission data, and thus it is determined that the transit optical receiver a does not have integrity. If it is used to output optical transmission data, then by judging the output object of the optical fiber link, if the output object is at the same level as the transit optical receiver a, it indicates that the output object is also connected to the first initial optical receiver, and thus it is determined that the connection is an invalid connection. Therefore, it is determined that the transit optical receiver a has integrity. If the output object is not at the same level as the transit optical receiver a and is not the first initial optical receiver, then it is determined that the transit optical receiver a has integrity.
[0098] In step S330, the transmission path integrity analysis is performed on the screened transit optical receivers to screen out transit optical receivers with integrity and their corresponding optical fiber links, which are recorded as the second screening results. The following steps are also included:
[0099] S339, if the transmission property of the optical fiber link includes both receiving optical transmission data and outputting optical transmission data, obtaining an output object connected to the optical fiber link;
[0100] S3310, comparing the levels of the output object and the relay optical receiver to determine whether the output object has the same level as the relay optical receiver;
[0101] S3311, if the output object and the relay optical receiver have different levels, determining that the relay optical receiver has integrity;
[0102] S3312, if the output object and the relay optical receiver are at the same level, judging whether there is an optical fiber link that meets the requirements between the output object and a relay optical receiver at a lower level according to the hierarchical relationship of the output object;
[0103] S3313, if it is determined that there is an optical fiber link that meets the requirements, then it is determined that the transit optical receiver does not have integrity;
[0104] S3314, if it is determined that there is no optical fiber link that meets the requirement, the transit optical receiver is bound to the output object, and the integrity of the output object is judged. If the output object has integrity, all transit optical receivers bound to the output object have integrity;
[0105] S3315: If the output object does not have integrity, then all transit optical receivers bound to the output object do not have integrity.
[0106] In this embodiment, when the transit optical receiver is not a transit optical receiver of the first level, if the transmission properties of the optical fiber link of the transit optical receiver include both receiving optical transmission data and outputting optical transmission data, the output object of the optical fiber link is judged in a hierarchical relationship to determine whether the transmission direction of the optical transmission data of the transit optical receiver is an effective direction toward the second initial optical receiver. When it is determined to be the same-level transmission, the output object of the same level is analyzed downwardly, that is, compared with the transit optical receiver of the lower level, to determine whether the output object can be connected to the transit optical receiver of the lower level, and then the independence of the transit optical receiver is determined. If they can be connected, it indicates that the transit optical receiver of the lower level can directly transmit data with the output object without passing through the transit optical receiver, and then the integrity of the transit optical receiver is determined, so that the judgment result is more accurate.
[0107] Exemplarily, when the number of optical fiber links on a is greater than 1, the transit optical receiver is judged as being of the same category to determine the transmission properties of the optical fiber link, whether it is used to output optical transmission data or to receive optical transmission data. For the one used to receive optical transmission data, the level needs to be judged to determine whether the output object is the second initial optical receiver. If not, all are judged as having no integrity. For the one used to output optical transmission data, the level of the output object is judged. If they are of the same level, it is determined whether the output object is connected to the input object by an optical fiber link. If so, it is determined to have no integrity. If not, it is determined to have integrity and is bound. At the same time, the output object is judged as being of the same category. If it is judged to have no integrity, the link bound to the output object has integrity.
[0108] In step S500, the time interval data is compared with the built-in detection period. If the time interval data is less than or equal to the built-in detection period, the second screening result is selected according to the optical fiber status data to obtain a transmission path to the next-level optical receiver, and the optical transmission data is transmitted according to the transmission path, including the following steps:
[0109] S511, determining a transit optical receiver connected to the first initial optical receiver based on a hierarchical relationship, and recording it as a first-level transit optical receiver;
[0110] S512, obtaining link information of the optical fiber link between the first initial optical receiver and each first-level transit optical receiver; the link information includes distance data of each optical fiber link;
[0111] S513, determining the information transmission rate of the corresponding optical fiber link based on the optical fiber status data, and determining the time consumption data of the optical transmission data during the transmission process according to the distance data and the information transmission rate;
[0112] S514, determining information transmission quality data of the corresponding optical fiber link based on the optical fiber status data, and evaluating the optical fiber link according to the information transmission quality data and the time consumption data to obtain evaluation data of the corresponding optical fiber link;
[0113] S515, selecting an optical fiber link connecting the same first-level transit optical receiver and the first initial optical receiver according to the evaluation data to obtain a corresponding transmission sub-path;
[0114] S516, determining a transit optical receiver connected to the first-level transit optical receiver according to the hierarchical relationship, and recording it as a second-level transit optical receiver, and evaluating the optical fiber link between the first-level transit optical receiver and the second-level transit optical receiver, and selecting the optical fiber link between the first-level transit optical receiver and the second-level transit optical receiver according to the corresponding evaluation data to obtain a corresponding transmission sub-path;
[0115] S517, combining the transmission sub-paths according to the hierarchical relationship and the connection relationship between the corresponding transit optical receivers to obtain a corresponding transmission path, and determining comprehensive evaluation data of the corresponding transmission path;
[0116] S518, screening multiple transmission paths based on comprehensive evaluation data of the multiple transmission paths to obtain a final transmission path, and transmitting the optical transmission data based on the final transmission path.
[0117] In this embodiment, according to the hierarchical relationship, the transit optical receiver connected to the first initial optical receiver is determined, and the distance data and information transmission efficiency of each optical fiber link are determined according to the link information of the optical fiber link to obtain the evaluation data of the corresponding optical fiber link, and then the optical fiber link is selected according to the evaluation data of each optical fiber link to obtain the best optical fiber link between the first initial optical receiver and each connected transit optical receiver, and according to the hierarchical relationship, the transit optical receiver of the second level connected to each transit optical receiver of the first level is determined, and the optical fiber link transmitted from the transit optical receiver of the first level to the transit optical receiver of the second level is selected to obtain the corresponding best optical fiber link, and the optical fiber link between the transit optical transmitters of each level is optimally selected to ensure that the effect of the transmission path composed of each optical fiber link is optimal, and then a plurality of different optimal transmission paths are comprehensively screened to determine the final transmission path, so that the transmission effect of the final transmission path is optimal.
[0118] Exemplary, for example, the transit optical receivers connected to the first initial optical receiver are a, b, and c; the optical fiber links connecting the first initial optical receiver to the transit optical receiver a are a1 and a2; the optical fiber link connected to b is b1; and the optical fiber links connected to c are c1 and c2; by performing data evaluation on a1, a2, b1, c1, and c2, corresponding evaluation data are obtained, and if the evaluation data of a1 is greater than a2, and the evaluation data of c1 is greater than c1, then the optical fiber link is selected as follows: optical fiber link a1 is selected as the transmission sub-path for the transit optical receiver a, optical fiber link b1 is selected as the transmission sub-path for the transit optical receiver b, and optical fiber link c1 is selected as the transmission sub-path for the transit optical receiver c.
[0119] If optical fiber communication needs to go through three levels, for example, the first level is a, b, c, and the second level is d, e, f; that is, the first initial optical receiver → a → d → the second initial optical receiver; or the first initial optical receiver → b → e → the second initial optical receiver; or the first initial optical receiver → c → f → the second initial optical receiver; the transmission paths obtained by the above method for d, e, and f are d11, d12, e11, e12, f11, and f12 respectively, then the final transmission path is a1 → d 11→d12, b1→e11→e12, c1→f11→f12, and then determine the corresponding overall evaluation data through the evaluation data of each optical fiber link in a1, d11, d12, b1, e11, e12, c1, f11, and f12, and then select the best transmission path according to the overall evaluation data. For example, if a1→d11→d12 is greater than b1→e11→e12 and greater than c1→f11→f12, then a1→d11→d12 is taken as the final transmission path.
[0120] In step S600, if the time interval data is greater than the built-in detection cycle, the optical transmission data is transmitted along the entire path according to the second screening result, and the optical fiber link between the optical receivers is evaluated according to the reception time of the optical transmission data by each optical receiver and the received data information, so as to obtain the optical fiber status data, including the following steps:
[0121] S610, when the time interval data is greater than the built-in detection cycle, transmitting all optical fiber links existing in the second screening result by optical transmission data;
[0122] S620, according to the hierarchical relationship, when the optical receiver A receives the optical transmission data transmitted by all the links, the optical receiver A analyzes the received optical transmission data;
[0123] S630, when the optical receiver A receives the first optical transmission data, it extracts the optical fiber link information of the optical transmission data, and performs full-path transmission of the optical transmission data to the next level;
[0124] S640, determining an information transmission rate of the corresponding optical fiber link based on the distance data in the optical fiber link information and the time information when the first optical transmission data is received;
[0125] S650, when optical receiver A receives the second optical transmission data, it compares the first optical transmission data with the second optical transmission data to obtain difference data; wherein the difference data includes added data and missing data, the added data is the data in the second optical transmission data that is more than the first optical transmission data, and the missing data is the data in the second optical transmission data that is less than the first optical transmission data.
[0126] S660, performing full-path transmission of the added data in the difference data based on the difference data, and performing transmission quality evaluation on the optical fiber link according to the difference data to obtain information transmission quality;
[0127] S670, determining optical fiber status data of the corresponding optical fiber link based on the information transmission rate and the information transmission quality.
[0128] In the present embodiment, when the transmission time interval data of the optical transmission data is greater than the built-in detection period, the transmission efficiency of the optical transmission data is ensured by transmitting the optical transmission data through all links of the optical fiber link. At the same time, the working status of the corresponding optical fiber link is judged according to the transmission conditions of the optical transmission data in each optical fiber link. At the same time, according to the mutual comparison results of the optical parameter data input by the transit optical receiver from multiple optical fiber links, the missing data of the optical transmission data transmitted through the whole link is transmitted again through the whole link to ensure the integrity of the transmitted data, thereby improving the quality of the transmitted data.
[0129] Exemplarily, there are relay optical receivers a, b, and c. Relay optical receiver a has optical fiber links a1 and a2, relay optical receiver b has optical fiber links b1 and b2, and relay optical receiver c has optical fiber links c1 and c2. The optical transmission data is transmitted through a1, a2, b1, b2, c1, and c2 for full-link transmission. For relay optical receiver a, due to the different optical fiber states and distances of a1 and a2, the time points at which data is transmitted to relay optical receiver a are different. For example, when the optical transmission data on the path a1 is transmitted to relay optical receiver a, relay optical receiver a records the optical transmission data and performs full-link transmission again. At the same time, according to the transmission time of optical fiber link a1 and the corresponding distance data, it is judged The corresponding transmission efficiency is determined. When the intermediate optical receiver a receives the optical transmission data input by the optical fiber link a2, the optical transmission data input by a1 is compared with the optical transmission data input by a2. If the optical transmission data of a1 is a1={1,2,3,4,5,6} and the optical transmission data of a2 is a2={1,3,5,7}, then through comparison, it is found that the data {2,4,6} in the optical transmission data of a2 is missing, and the data {7} is added. Therefore, the added data {7} is fully transmitted, thereby ensuring the integrity of the transmitted optical transmission data. At the same time, the data transmission quality of the a2 path is determined according to the missing data {2,4,6}, and the data transmission quality of the a1 path is determined according to the missing data {7}.
[0130] Based on the description of the above-mentioned optical fiber communication transmission path search method embodiment, the embodiment of the present invention also discloses an optical fiber communication transmission path search system:
[0131] like Figure 2 As shown, a search system for optical fiber communication transmission paths, by applying the above optical fiber communication transmission path search method, includes: a communication demand module 1, a path screening module 2 and a path search module 3;
[0132] Communication requirement module 1, obtains and extracts data transmission request, obtains the starting point, end point and data type of optical transmission data;
[0133] Path screening module 2, obtains the optical fiber link connected to the optical receiver, and performs a first screening on the optical fiber link according to the starting point and the end point of the optical transmission data to obtain a first screening result; performs a second screening on the first screening result based on the data type to obtain a second screening result; obtains the time data of the optical transmission data and the evaluation time data of the optical fiber status data, and determines the time interval data according to the evaluation time data and the time data of the optical transmission data;
[0134] The path search module 3 compares the time interval data with the built-in detection period. If the time interval data is less than or equal to the built-in detection period, the second screening result is selected according to the optical fiber status data to obtain the transmission path to the next-level optical receiver, and the optical transmission data is transmitted according to the transmission path; if the time interval data is greater than the built-in detection period, the optical transmission data is transmitted along the entire path according to the second screening result, and the optical fiber link between the optical receivers is evaluated according to the reception time of the optical transmission data and the received data information of each optical receiver to obtain the optical fiber status data.
[0135] Compared with the existing optical fiber communication transmission path search method and system, the present invention improves the effectiveness of search results.
[0136] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A method for searching a transmission path of optical fiber communication, characterized in that: include: Obtain and extract data transmission requests, and obtain the starting point, end point and data type of optical transmission data; Obtaining an optical fiber link connected to an optical receiver, and performing a first screening on the optical fiber link according to a starting point and an end point of optical transmission data to obtain a first screening result; Perform a second screening on the first screening result based on the data type to obtain a second screening result; Acquire time data of optical transmission data and evaluation time data of optical fiber status data, and determine time interval data according to the evaluation time data and the time data of optical transmission data; The time interval data is compared with the built-in detection period. If the time interval data is less than or equal to the built-in detection period, the second screening result is selected according to the optical fiber status data to obtain a transmission path to the next-level optical receiver, and the optical transmission data is transmitted according to the transmission path; Determine a transit optical receiver connected to the first initial optical receiver based on the hierarchical relationship, and record it as a first-level transit optical receiver; Acquire link information of the optical fiber link between the first initial optical receiver and each first-level transit optical receiver; the link information includes distance data of each optical fiber link; Determine the information transmission rate of the corresponding optical fiber link based on the optical fiber status data, and determine the time consumption data of the optical transmission data during the transmission process according to the distance data and the information transmission rate; Determine information transmission quality data of the corresponding optical fiber link based on the optical fiber status data, and evaluate the optical fiber link according to the information transmission quality data and the time consumption data to obtain evaluation data of the corresponding optical fiber link; Selecting an optical fiber link connecting the same first-level transit optical receiver and the first initial optical receiver according to the evaluation data to obtain a corresponding transmission sub-path; Determine the relay optical receiver connected to the first-level relay optical receiver according to the hierarchical relationship and record it as the second-level relay optical receiver, evaluate the optical fiber link between the first-level relay optical receiver and the second-level relay optical receiver, and select the optical fiber link between the first-level relay optical receiver and the second-level relay optical receiver according to the corresponding evaluation data to obtain the corresponding transmission sub-path; Combining transmission sub-paths according to the hierarchical relationship and the connection relationship between the corresponding transit optical receivers to obtain a corresponding transmission path, and determining comprehensive evaluation data of the corresponding transmission path; Screening multiple transmission paths based on comprehensive evaluation data of the multiple transmission paths to obtain a final transmission path, and transmitting optical transmission data based on the final transmission path; If the time interval data is greater than the built-in detection cycle, the optical transmission data is transmitted along the entire path according to the second screening result, and the optical fiber link between the optical receivers is evaluated according to the reception time of the optical transmission data and the received data information of each optical receiver to obtain the optical fiber status data.
2. A method for searching a transmission path of optical fiber communication according to claim 1, characterized in that: The optical fiber link connected to the optical receiver is obtained, and the optical fiber link is first screened according to the starting point and the end point of the optical transmission data to obtain a first screening result, which is specifically: Determine the optical receivers at the starting point and the ending point according to the starting point and the ending point of the optical transmission data, and record them as the first initial optical receiver and the second initial optical receiver respectively; Determine all optical receivers between the first initial optical receiver and the second initial optical receiver according to the affiliation relationship between the first initial optical receiver and the second initial optical receiver, and record them as transit optical receivers; Determining the hierarchical relationship of each optical receiver according to the connection relationship between the transit optical receiver and the first initial optical receiver; The transit optical receiver and the corresponding hierarchical relationship are recorded as the first screening result.
3. A method for searching a transmission path of optical fiber communication according to claim 2, characterized in that: The first screening result is screened for the second time based on the data type to obtain the second screening result, which is specifically: Determine the demand of the optical transmission data for the optical fiber link during the transmission process according to the data type, and record it as demand data; According to the demand data, the optical fiber links configured by the transit optical receivers in the first screening result are matched with the demand data to screen out the transit optical receivers whose optical fiber links meet the demand data; The transmission path integrity analysis is performed on the screened transit optical receivers to screen out transit optical receivers with integrity and their corresponding optical fiber links, which are recorded as the second screening result.
4. A method for searching a transmission path of optical fiber communication according to claim 3, characterized in that: The transmission path integrity analysis is performed on the screened transit optical receivers to screen out transit optical receivers with integrity and their corresponding optical fiber links, which are recorded as the second screening result, specifically: According to the hierarchical relationship of the transit optical receivers obtained by screening, the number of optical fiber links of the transit optical receivers is judged layer by layer from the first initial optical receiver to the second initial optical receiver to obtain the optical fiber link number data of the transit optical receivers; If the optical fiber link quantity data corresponding to the relay optical receiver is 0, it is determined that the relay optical receiver does not have integrity; If the optical fiber link quantity data corresponding to the transit optical receiver is greater than 0, the transmission properties of the optical fiber link are determined according to the hierarchical relationship of the objects connected by the optical fiber link; the transmission properties include output optical transmission data and received optical transmission data; If the transmission properties of all optical fiber links are receiving optical transmission data, the hierarchical relationship of the transit optical receiver is judged, and if the transit optical receiver is connected to the second initial optical receiver, the transit optical receiver is judged to have integrity; If the transit optical receiver is not connected to the second initial optical receiver, it is determined that the transit optical receiver does not have integrity; If the transmission properties of all optical fiber links are output optical transmission data, the hierarchical relationship of the transit optical receiver is judged, and if the transit optical receiver is not connected to the first initial optical receiver, it is determined that the transit optical receiver does not have integrity; If the transit optical receiver is connected to the first initial optical receiver, a level judgment is performed on the output object connected to the optical fiber link, and if the level of the output object is the same as the level of the transit optical receiver, it is determined that the transit optical receiver does not have integrity; If the level of the output object is different from the level of the relay optical receiver, it is determined that the relay optical receiver has integrity.
5. A method for searching a transmission path of optical fiber communication according to claim 4, characterized in that: The performing transmission path integrity analysis on the screened transit optical receivers to screen out transit optical receivers with integrity and their corresponding optical fiber links, and recording them as second screening results, further includes: If the transmission property of the optical fiber link includes both receiving optical transmission data and outputting optical transmission data, then obtaining the output object connected to the optical fiber link; Comparing the level of the output object with that of the relay optical receiver to determine whether the level of the output object is the same as that of the relay optical receiver; If the output object and the relay optical receiver have different levels, it is determined that the relay optical receiver has integrity; If the output object and the relay optical receiver are at the same level, then judging whether there is an optical fiber link that meets the requirements between the output object and the relay optical receiver at a level lower than the level according to the level relationship of the output object; If it is determined that there is an optical fiber link that meets the requirements, then it is determined that the transit optical receiver does not have integrity; If it is determined that there is no optical fiber link that meets the requirements, the transit optical receiver is bound to the output object, and the integrity of the output object is judged. If the output object has integrity, all transit optical receivers bound to the output object have integrity; If the output object does not have integrity, all transit optical receivers bound to the output object do not have integrity.
6. A method for searching a transmission path of optical fiber communication according to claim 5, characterized in that: If the time interval data is greater than the built-in detection cycle, the optical transmission data is transmitted along the entire path according to the second screening result, and the optical fiber link between the optical receivers is evaluated according to the reception time of the optical transmission data by each optical receiver and the received data information, to obtain the optical fiber status data, specifically: When the time interval data is greater than the built-in detection cycle, all optical fiber links existing in the second screening result are transmitted by optical transmission data; According to the hierarchical relationship, when optical receiver A receives the optical transmission data transmitted by all links, optical receiver A analyzes the received optical transmission data; When the optical receiver A receives the first optical transmission data, it extracts the optical fiber link information of the optical transmission data, and transmits the optical transmission data to the next level through the entire path; Determine the information transmission rate of the corresponding optical fiber link based on the distance data in the optical fiber link information and the time information when the first optical transmission data is received; When the optical receiver A receives the second optical transmission data, it compares the first optical transmission data with the second optical transmission data to obtain difference data; Based on the difference data, the added data in the difference data is transmitted over the entire path, and the transmission quality of the optical fiber link is evaluated according to the difference data to obtain the information transmission quality; Based on the information transmission rate and the information transmission quality, the optical fiber status data of the corresponding optical fiber link is determined.
7. A search system for optical fiber communication transmission paths, characterized in that: The system is used to implement a method for searching a transmission path for optical fiber communication as described in any one of claims 1 to 6: comprising: a communication demand module, a path screening module and a path search module; The communication demand module obtains and extracts the data transmission request, and obtains the starting point, end point and data type of the optical transmission data; The path screening module obtains the optical fiber link connected to the optical receiver, and performs a first screening on the optical fiber link according to the starting point and the end point of the optical transmission data to obtain a first screening result; performs a second screening on the first screening result based on the data type to obtain a second screening result; obtains the time data of the optical transmission data and the evaluation time data of the optical fiber status data, and determines the time interval data according to the evaluation time data and the time data of the optical transmission data; The path search module compares the time interval data with the built-in detection cycle. If the time interval data is less than or equal to the built-in detection cycle, the second screening result is selected according to the optical fiber status data to obtain a transmission path to the next-level optical receiver, and the optical transmission data is transmitted according to the transmission path; if the time interval data is greater than the built-in detection cycle, the optical transmission data is transmitted along the entire path according to the second screening result, and the optical fiber link between the optical receivers is evaluated according to the reception time of the optical transmission data by each optical receiver and the received data information to obtain the optical fiber status data.
Citation Information
Patent Citations
Optical fiber path planning method, system and device and storage medium
CN115345363A