CN110493669B - Network resource checking method, device, equipment and computer storage medium - Google Patents
Network resource checking method, device, equipment and computer storage medium Download PDFInfo
- Publication number
- CN110493669B CN110493669B CN201910643449.2A CN201910643449A CN110493669B CN 110493669 B CN110493669 B CN 110493669B CN 201910643449 A CN201910643449 A CN 201910643449A CN 110493669 B CN110493669 B CN 110493669B
- Authority
- CN
- China
- Prior art keywords
- optical splitter
- final
- stage optical
- connection information
- pon
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/27—Arrangements for networking
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q2011/0079—Operation or maintenance aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q2011/0086—Network resource allocation, dimensioning or optimisation
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computing Systems (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses a network resource checking method, a device, equipment and a computer storage medium. The method comprises the following steps: acquiring identification information corresponding to a final-stage optical splitter to be detected after the final-stage optical splitter meets preset detection conditions; calling a preset first API (application program interface), and inquiring actual connection information corresponding to the identification information in the PON passive optical network system; calling a preset second API (application program interface) interface, and inquiring theoretical connection information corresponding to the identification information in the PON (passive optical network) resource management system; and sending the actual connection information and the theoretical connection information to a server for comparison, and receiving a comparison result returned by the server as a connection verification result of the final-stage optical splitter. According to the embodiment of the invention, the data in the back-end system can be directly inquired by field personnel without contacting background personnel for processing, so that the efficiency is high, the cost is low, and the user experience is better.
Description
Technical Field
The invention belongs to the technical field of network resource monitoring, and particularly relates to a network resource checking method, a device, equipment and a computer storage medium.
Background
With the implementation of the strategy of 'four-wheel drive' in china mobile, the home customer service is rapidly developed, but the Network resources of a PON (Passive Optical Network) installed in an actual installation site may not be accurate enough, thereby affecting the installation maintenance efficiency and customer satisfaction. Therefore, in order to improve the consistency rate of the theoretical connection and the actual connection of the home broadband resources in the system and ensure the accuracy of the field resources, the port resources connected to the home broadband field need to be checked to confirm the actual resource connection condition in the field.
In the actual port resource checking work, a method commonly adopted is an analog user alarm method, in the method, after alarm information is manufactured on site, site personnel need to inform background personnel in a mode of making a call and the like, and the background personnel finish the checking of the site network resources by inquiring data in a background system.
However, the above method mainly has the following disadvantages:
the whole detection process is slow in speed, low in efficiency and high in human resource consumption due to the fact that a field person telephone is required to contact background persons during each detection, and data query is manually operated by the background persons, so that the condition of query errors is easy to occur. In addition, in the detection process, a field alarm needs to be manufactured, and the field alarm can prevent a user from using the network, so that if the detection time is too long, the use of the user is also influenced, and the user experience is influenced.
Disclosure of Invention
The embodiment of the invention provides a network resource clearing method, a network resource clearing device, network resource clearing equipment and a computer storage medium, which can directly inquire data in a back-end system by field personnel without contacting background personnel for processing, and have the advantages of high efficiency, low cost and better user experience.
In one aspect, an embodiment of the present invention provides a network resource checking method, which is applied to a mobile terminal, and includes:
acquiring identification information corresponding to a final-stage optical splitter to be detected after the final-stage optical splitter meets preset detection conditions;
calling a preset first API (application program interface), and inquiring actual connection information corresponding to the identification information in a PON (passive optical network) passive optical network system;
calling a preset second API (application program interface) interface, and inquiring theoretical connection information corresponding to the identification information in the PON (passive optical network) resource management system;
and sending the actual connection information and the theoretical connection information to a server for comparison, and receiving a comparison result returned by the server as a connection verification result of the final-stage optical splitter.
On the other hand, the embodiment of the invention provides a network resource checking method, which is applied to a server and comprises the following steps:
receiving actual connection information and theoretical connection information which are sent by a mobile terminal and correspond to a final-stage optical splitter to be detected; the actual connection information is: after the last-stage optical splitter meets a preset detection condition, actual connection information corresponding to the last-stage optical splitter is inquired in a PON management system; the theoretical connection information is: theoretical connection information which is inquired in a PON resource management system and distributed to the last-stage optical splitter;
and comparing whether the actual connection information is consistent with the theoretical connection information or not, and sending a comparison result to the mobile terminal.
On the other hand, the embodiment of the invention provides a network resource checking device, which is applied to a mobile terminal, and comprises:
the system comprises an identification obtaining module, a detection module and a processing module, wherein the identification obtaining module is used for obtaining identification information corresponding to a final-stage optical splitter to be detected after the final-stage optical splitter meets preset detection conditions;
the first calling module is used for calling a preset first API (application program interface) and inquiring actual connection information corresponding to the identification information in the PON (passive optical network) management system;
the second calling module is used for calling a preset second API (application program interface) and inquiring theoretical connection information corresponding to the identification information in the PON (passive optical network) resource management system;
and the comparison verification module is used for sending the actual connection information and the theoretical connection information to a server for comparison, and receiving a comparison result returned by the server as a connection verification result of the final-stage optical splitter.
In another aspect, an embodiment of the present invention provides a network resource checking device, which is applied to a server, and includes:
the information receiving module is used for receiving actual connection information and theoretical connection information which are sent by the mobile terminal and correspond to the final-stage optical splitter to be detected; the actual connection information is: after the last-stage optical splitter meets a preset detection condition, actual connection information corresponding to the last-stage optical splitter is inquired in a PON management system; the theoretical connection information is: theoretical connection information which is inquired in a PON resource management system and distributed to the last-stage optical splitter;
and the comparison module is used for comparing whether the actual connection information is consistent with the theoretical connection information or not and sending a comparison result to the mobile terminal.
In another aspect, an embodiment of the present invention provides a network resource checking device, which is applied to a mobile terminal, and includes:
a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements a method of inventory on a network resource as described in any one of the above.
In another aspect, an embodiment of the present invention provides a network resource checking device, which is applied to a server, and includes:
a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements a method of inventory on a network resource as described in any one of the above.
In still another aspect, an embodiment of the present invention provides a computer storage medium applied to a mobile terminal, where the computer storage medium stores computer program instructions, and the computer program instructions, when executed by a processor, implement the network resource inventory method according to any one of the above.
In still another aspect, an embodiment of the present invention provides a computer storage medium applied to a server, where the computer storage medium stores computer program instructions, and the computer program instructions, when executed by a processor, implement the network resource inventory method according to any one of the above.
After a final-stage optical splitter to be detected meets a preset detection condition, a preset first API (application program interface) interface is called to access a PON (passive optical network) network management system according to identification information of the final-stage optical splitter respectively, an actual connection relation corresponding to the identification information is inquired, a preset second API interface is called to access the PON network management system, a theoretical connection relation corresponding to the identification information is inquired, the actual connection information and the theoretical connection information are sent to a server to be compared, and a returned comparison result is received. Under normal conditions, the comparison results of the two optical splitters should be consistent, and if the comparison results of the two optical splitters are inconsistent, it is indicated that a problem exists in the connection of the final optical splitter at the moment, so that the comparison result can be used as a connection verification result of the final optical splitter. In the invention, field personnel can inquire data from the two systems through the mobile terminal without calling background personnel for data inquiry, thereby improving the efficiency and accuracy of network resource clearing, reducing the setting number of the background personnel, reducing the consumption of human resources and having better user experience.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a PON network system to which the present invention is applied;
FIG. 2 is a flow chart of a method for network resource inventory according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for network resource inventory according to another embodiment of the invention;
FIG. 4 is a flowchart illustrating a method for network resource inventory according to another embodiment of the invention;
FIG. 5 is a flowchart illustrating a method for network resource inventory according to another embodiment of the invention;
FIG. 6 is a flowchart illustrating a method for network resource inventory according to another embodiment of the invention;
fig. 7 is a schematic structural diagram of a network resource inventory apparatus according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a network resource inventory apparatus according to another embodiment of the present invention;
fig. 9 is a schematic structural diagram of a network resource inventory device according to another embodiment of the present invention.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the present invention.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
A PON is a passive optical network that does not contain any active electronics and electronic power supply. A passive Optical Network includes an Optical Line Terminal (OLT) mounted at a central control station, and a plurality of Optical Network Units (ONUs) mounted at customer sites. An Optical Distribution Network (ODN) between the OLT and the ONU includes an Optical fiber and a passive Optical Splitter or coupler, where the ODN is composed of passive devices such as an Optical Splitter (Splitter). As shown in fig. 1. The OLT and the ONU comprise a multi-stage optical splitter, and the invention verifies that the last-stage optical splitter closest to the ONU is connected. In addition, the PON port mentioned in the present invention is a downstream port used by the OLT to connect to the optical splitter.
In order to solve the problems in the prior art, embodiments of the present invention provide a method, an apparatus, a device, and a computer storage medium for checking network resources. First, a network resource inventory method provided by the embodiment of the present invention is described below.
Fig. 2 is a flowchart illustrating a network resource inventory method according to an embodiment of the present invention. The method is applied to the mobile terminal and comprises the following steps:
step s 11: acquiring identification information corresponding to a final-stage optical splitter to be detected after the final-stage optical splitter meets preset detection conditions;
when detecting the connection of the final-stage optical splitter, a worker needs to perform corresponding adjustment on the final-stage optical splitter to be detected on site, so that the final-stage optical splitter to be detected meets the detection conditions, and then the detection process can be performed. The detection conditions here are related to the type of detection performed on the final splitter.
Step s 12: calling a preset first Application Program Interface (API) interface, and inquiring actual connection information corresponding to the identification information in the PON network management system;
the PON management system, i.e. the PON network management system, contains real-time data in the PON network, i.e. real-time connection status information of the current network, and can perform query through the PON management system. Therefore, the data queried by the PON network management system can indicate the actual connection relationship of the current final-stage optical splitter.
Step s 13: calling a preset second API (application program interface) interface, and inquiring theoretical connection information corresponding to the identification information in the PON (passive optical network) resource management system;
the PON resource management system is a PON resource management system, and data contained therein is connection information that is allocated in advance, that is, theoretical connection information, for example, which PON port the last-stage optical splitter 1 should be connected to. Therefore, the theoretical connection relation of the current final-stage optical splitter can be shown through data inquired in the PON resource management system.
An API is a calling interface that an operating system leaves to an application program, which causes the operating system to execute commands of the application program by calling the API of the operating system. An API is a set of definitions, procedures and protocols that enable intercommunication between computer software through an API interface.
In the embodiment, the mobile terminal is provided with the API which can respectively access the PON network management system and the PON resource management system in advance, so that the mobile terminal can automatically access the PON network management system and the PON resource management system and execute corresponding query operations, and therefore the query operations do not need to be performed manually by background personnel any more, and the efficiency and the accuracy are improved.
Step s 14: and sending the actual connection information and the theoretical connection information to a server for comparison, and receiving a comparison result returned by the server as a connection verification result of the final-stage optical splitter. (the connection is correct if the comparison result is consistent, otherwise, the connection is incorrect)
Under normal conditions, the comparison result of the actual connection information and the theoretical connection information should be consistent, and if the comparison result of the actual connection information and the theoretical connection information is inconsistent, it is indicated that the connection of the last-stage optical splitter is in a problem, so that the comparison result can be used as the connection verification result of the last-stage optical splitter.
The query of data into the system through the API interface is actually a process of sending a query instruction to the PON network management system or the PON resource management system through the API interface, so that the system executes a corresponding query action according to the query instruction, and then receiving a query result returned by the PON network management system or the PON resource management system.
In the embodiment, the field personnel can inquire data from the PON network management system and the PON resource management system through the mobile terminal without making a call to connect background personnel for inquiring the data, so that a man-machine interactive single self-service working mode of PON resource checking work is realized, the checking time is short, the working efficiency is high, and further the user experience is better. In addition, because data query is not needed manually, the mobile terminal automatically performs data interaction with the PON network management system and the PON resource management system through the preset API, errors caused by manual operation can be reduced as much as possible, and the checking accuracy is greatly improved. In addition, according to the embodiment, through improvement of the working efficiency and change of the working mode, the checking working time is greatly reduced, the allocation of background personnel is reduced, and effective control of time cost and labor cost is realized.
In a preferred embodiment, the preset detection condition includes: the last-stage optical splitter is connected with a testing optical modem; the identification information corresponding to the final-stage optical splitter is the identification of the testing optical modem; the actual connection information is an actual PON port connected with the identification of the testing optical modem; theoretical connection information is a theoretical PON port distributed by the last-stage optical splitter; the connection verification result is a first connection verification result between the final-stage optical splitter and the PON port.
The present embodiment is intended to detect whether or not a PON port to which a final splitter is connected is correct. In this embodiment, after the last-stage optical splitter is connected to the testing optical modem, the testing optical modem can access the PON network to operate, so that information of the PON port to which the testing optical modem is connected can be queried in the PON network management system at this time. And then, comparing the connected actual PON port with the theoretical PON port, and finishing the connection verification between the final-stage optical splitter and the PON port according to whether the comparison result is consistent. Of course, the particular type of device being tested for light cats, and the invention is not limited.
Referring to fig. 3, fig. 3 is a schematic flow chart of a network resource inventory method according to another embodiment of the present invention; the method provided by the above embodiment includes the following specific steps:
step s 21: after the final-stage optical splitter is connected with the testing optical modem, the identification of the testing optical modem is obtained; the test optical modem is inserted into an idle port of the last-stage optical splitter, and the test optical modem does not need to be registered;
step s 22: calling a preset first API (application program interface), and inquiring an actual PON port connected with the identifier of the test optical modem in the PON network management system;
step s 23: calling a preset second API interface, and inquiring a theoretical PON port distributed for the final-stage optical splitter in a PON resource management system;
step s 24: and comparing the actual PON port with the theoretical PON port, and receiving a comparison result returned by the server as a first connection verification result between the final-stage optical splitter and the PON port.
The identifier of the test light cat may be an SN (Serial Number) code, and the SN code of the test light cat may be obtained by scanning a label on the test light cat through the mobile terminal. Of course, the identification of the test light cat can also be input by the staff, and the type and the obtaining mode of the identification of the test light cat are not limited by the invention.
Further, the method further comprises: and displaying the first connection verification result.
Because field personnel may need to directly adjust the connection of the last-stage optical splitter on the field according to the connection verification result, after the first connection verification result is obtained, the first connection verification result needs to be displayed, so that the field personnel can conveniently know whether a connection error exists between the last-stage optical splitter and the PON port in time, and then adjust the connection in time, and the situation that the working personnel returns to the field for the second time is reduced.
In another preferred embodiment, the preset detection condition includes: the user optical fiber connected with the port of the final-stage optical splitter is pulled out; the identification information corresponding to the final splitter is as follows: port number of the final splitter; the actual connection information is a user ONU which is actually connected with the port of the final-stage optical splitter; the theoretical connection information is a user ONU which is theoretically connected with a port of the final-stage optical splitter; and the connection verification result is a second connection verification result between the port of the final-stage optical splitter and the user ONU.
The purpose of this embodiment is to check the correctness of the connection between the port of the final splitter and the user ONU. In this embodiment, when the user optical fiber connected to the port of the last-stage optical splitter is unplugged, the real-time data corresponding to the user ONU in the PON network management system will definitely change, and since the worker cannot confirm which user ONU the optical fiber is unplugged on site, the user ONU is the user ONU with the optical fiber unplugged by querying which user ONU's data in the PON network management system changes. Therefore, the optical network unit can obtain which user ONU is actually connected with the port of the final-stage optical splitter from which the optical fiber is pulled out. And then, inquiring the user ONU allocated to the port of the final-stage optical splitter in the PON resource management system, and comparing the user ONU with the user ONU, so that whether the connection between the port of the final-stage optical splitter and the user ONU is correct can be confirmed according to whether the comparison result is consistent.
Referring to fig. 4, fig. 4 is a schematic flow chart of a network resource inventory method according to another embodiment of the present invention; the method provided by the above embodiment includes the following specific steps:
step s 31: after a user optical fiber connected with a port of a final-stage optical splitter is pulled out, acquiring a port number of the final-stage optical splitter;
step s 32: calling a first API (application program interface) interface, searching a user ONU with changed data in a PON (passive optical network) network management system, and obtaining the user ONU which is actually connected with a port of the final-stage optical splitter;
step s 33: calling a second API interface, and searching a user ONU which is theoretically connected with a port of the final-stage optical splitter in a PON resource management system;
step s 34: and sending the actually connected user ONU and the theoretically connected user ONU to a server for comparison, and receiving a comparison result returned by the server as a second connection verification result between the port of the final-stage optical splitter and the user ONU.
The port number of the final optical splitter may be manually input into the mobile terminal by an operator, or may be obtained by scanning a tag on the final optical splitter by the mobile terminal, which is not limited in the present invention.
It should be noted that after the verification of the port of a final splitter is completed, the unplugged subscriber fiber needs to be plugged back in time, so as to reduce the influence on the network usage of the subscriber as much as possible.
Further, the method further comprises: and displaying the second connection verification result.
Because field personnel may need to directly adjust the connection of the last-stage optical splitter on the field according to the connection verification result, after the second connection verification result is obtained, the second connection verification result needs to be displayed, so that the field personnel can know whether a connection error exists between the port of the last-stage optical splitter and the user ONU in time and can adjust the connection error in time, and the situation that the working personnel returns to the field for the second time is reduced.
In a preferred embodiment, the connection verification between the last optical splitter and the PON port and the connection verification between the last optical splitter port and the user ONU may be included at the same time. The order of the two verifications is not a limitation of the present invention.
However, when the connection between the last-stage optical splitter and the PON port is incorrect, the connection verification result between the last-stage optical splitter port and the user ONU is also inaccurate, and it is necessary to perform connection verification between the last-stage optical splitter port and the user ONU after adjusting the connection between the last-stage optical splitter and the PON port; therefore, the present invention preferably verifies the connection between the last-stage optical splitter and the PON port, and after the verification is completed, the connection between the last-stage optical splitter and the PON port is corrected or the verification result is correct, and then the connection verification between the last-stage optical splitter port and the user ONU is performed.
Specifically, the process of this embodiment is as follows: after the connection between a final-stage optical splitter and a PON port is selected to be verified, if the connection is correct, the connection between the port of the final-stage optical splitter and a user ONU is continuously verified; if the connection is incorrect, the subsequent verification operation of the final splitter is stopped and the information of the final splitter is recorded. And all user ports of the last-stage optical splitter complete ONU verification processing, or after the PON port connected with the last-stage optical splitter is verified to be wrong, the checking processing of the next last-stage optical splitter is continued.
In addition, when a connection error of the final-stage optical splitter is detected, the connection error can be corrected firstly; or the next final-stage optical splitter can be continuously verified until all the final-stage optical splitters are verified, and then the final-stage optical splitters are uniformly corrected. The present invention is not particularly limited to which correction method is specifically adopted.
In a preferred embodiment, the mobile terminal may download and store connection information corresponding to a last-stage optical splitter in the PON resource management system in advance, so that the connection information may be called when a subsequent worker checks the connection information. Of course, for the purpose of reducing the storage space occupation, data acquisition may also be directly performed from the PON resource management system in each checking process, and the specific method adopted is not limited in the present invention.
In addition, the verification result obtained in the invention needs to be stored, so that the verification result is convenient for the staff to check. However, the verification result is stored in the mobile terminal or the server, and the present invention is not limited to this. For example, the mobile terminal may cache and display the received comparison result, or may store the comparison result for a long time.
In a preferred embodiment, a plurality of final-stage optical splitter lists to be tested and a port number list of each final-stage optical splitter may be pre-stored in the mobile terminal, when performing the inventory, a worker only needs to query and select one final-stage optical splitter or a port number of the final-stage optical splitter, and after receiving a selection instruction input by a user, the mobile terminal may obtain an identifier of the final-stage optical splitter or a port number of the final-stage optical splitter corresponding to the selection instruction, and then perform a subsequent inventory operation.
Referring to fig. 5, fig. 5 is a schematic flowchart of a network resource inventory method according to another embodiment of the present invention; the process of this example is as follows:
selecting a final-stage optical splitter to be checked: the specific implementation mode of the step is that an optical splitter query instruction is sent to a PON resource management system, and the last-stage optical splitter to be checked and equipment information thereof returned by the PON resource management system are received;
judging whether the last-stage optical splitter to be checked exists at present according to the last-stage optical splitter to be checked and equipment information thereof returned by the PON resource management system, and if so, entering the next step; if not, ending the flow;
recording an SN (serial number) code of the test optical modem;
verifying the connection between the final-stage optical splitter and the PON port: the implementation steps of the process are as described in the foregoing embodiments, and are not described herein again; then, whether the verification is passed or not is judged according to the returned comparison result, if the verification is passed, the next step is carried out, if the verification is not passed, the connection error between the final-stage optical splitter and the PON port is indicated, and the final-stage optical splitter to be checked is selected again after the detection and the correction are required;
verifying the connection between the port of the last optical splitter and the user ONU: the implementation steps of the process are as described in the foregoing embodiments, and are not described herein again; then, judging whether all ports are verified, if so, inputting a verification result and ending the process; if not, the connection between the next port of the last-stage optical splitter and the user ONU is continuously verified.
In addition, the invention can also comprise a corresponding web end website, so that the staff can also inquire the clearing result of the PON network by logging in the web end website.
It should be noted that there is no restriction on the order of steps of querying the actual connection information and querying the theoretical connection information, and any one of the steps may be executed first or may be executed in parallel, which is not limited in the present invention.
FIG. 6 is a flowchart illustrating a method for network resource inventory according to another embodiment of the invention; applied to a server, the method comprises the following steps:
step s 41: receiving actual connection information and theoretical connection information which are sent by a mobile terminal and correspond to a final-stage optical splitter to be detected; wherein, the actual connection information is: after the final-stage optical splitter meets the preset detection condition, actual connection information corresponding to the final-stage optical splitter is inquired in the PON management system; the theoretical connection information is: theoretical connection information which is inquired in a PON resource management system and distributed to a final-stage optical splitter;
step s 42: and comparing whether the actual connection information is consistent with the theoretical connection information or not, and sending a comparison result to the mobile terminal.
In a preferred embodiment, the actual connection information is specifically: after the last-stage optical splitter is connected with the test optical modem, inquiring an actual PON port connected with the identifier of the test optical modem in the PON network management system; the theoretical connection information is specifically: and the theoretical PON port is inquired in the PON resource management system and allocated to the last-stage optical splitter.
In another preferred embodiment, the method further comprises: and generating a connection verification report between the final-stage optical splitter and the PON port according to a comparison result of the actual PON port and the theoretical PON port.
In this embodiment, a first template may be preset, and a connection verification report between the final optical splitter and the PON port may be generated by filling a comparison result between the actual PON port and the theoretical PON into the template, so that a report with a unified format is convenient for a field worker to check a verification result, and is also convenient for subsequent convenience in statistics of a connection verification result.
Further, the method further comprises: and generating a first statistical report according to the connection verification report between each final-stage optical splitter and the PON port.
Since the number of last-stage optical splitters included in the entire PON system is large, in order to facilitate statistics, tracing and summary of connection conditions of subsequent workers to the entire PON system, in this embodiment, a first statistical report is generated according to a connection verification report between each last-stage optical splitter and a PON port, so that the subsequent workers can directly know the connection conditions between each last-stage optical splitter and the PON port in the entire PON network according to the first statistical report. Moreover, the statistical form can facilitate the actual workload of subsequent checking personnel.
In another preferred embodiment, the actual connection information is: after a user optical fiber connected with a port of the final-stage optical splitter is pulled out, a user ONU which is actually connected with the port of the final-stage optical splitter and inquired in a PON network management system is inquired; the theoretical connection information is: and the inquired user ONU is connected with the port theory of the final-stage optical splitter in the PON resource management system.
In another preferred embodiment, the method further comprises: and generating a connection verification report between the port of the last-stage optical splitter and the user ONU according to the comparison result of the actually connected user ONU and the theoretically connected user ONU.
In this embodiment, a second template may be preset, and a connection verification report between the port of the last-stage optical splitter and the user ONU may be generated by filling the comparison result between the actually-connected user ONU and the theoretically-connected user ONU in the second template, so that the report with the uniform format not only facilitates the field worker to check the verification result, but also facilitates the convenience of the subsequent statistics of the connection verification result.
Further, the method further comprises: generating a second statistical report according to the connection verification report between the port of each final-stage optical splitter and the user ONU
Since the number of last-stage optical splitters included in the entire PON system is large, in order to facilitate statistics, tracing and summary of connection conditions of subsequent staff on the entire PON system, in this embodiment, a second statistical form is generated according to a connection verification report between a port of each last-stage optical splitter and a user ONU, so that the subsequent staff can know the connection conditions between the port of each last-stage optical splitter and the user ONU in the entire PON network directly according to the second statistical form. Moreover, the statistical form can facilitate the actual workload of subsequent checking personnel.
In addition, the verification report, the statistical report and the like obtained by the invention are required to be stored, so that the checking by workers is convenient. Specifically, the verification report can be stored in the server, and a user can send a reading request to the server through the mobile terminal to call the verification report or the statistical form in the server for checking; the mobile terminal can also send a downloading request to the server to download the corresponding verification report or the statistical report form from the server. Or, the server may also send the verification report or the statistical report to the mobile terminal for displaying or storing after generating the verification report or the statistical report, which is not limited in the present invention.
Fig. 7 is a schematic structural diagram of a network resource inventory apparatus according to an embodiment of the present invention; applied to mobile terminals, the device comprises:
the identification obtaining module 101 is configured to obtain identification information corresponding to a final-stage optical splitter to be detected after the final-stage optical splitter meets a preset detection condition;
the first calling module 102 is configured to call a preset first API interface, and query actual connection information corresponding to the identification information in the PON network management system;
the second calling module 103 is configured to call a preset second API interface, and query theoretical connection information corresponding to the identification information in the PON resource management system;
and the comparison verification module 104 is configured to send the actual connection information and the theoretical connection information to the server for comparison, and receive a comparison result returned by the server as a connection verification result of the last-stage optical splitter.
Fig. 8 is a schematic structural diagram of a network resource inventory apparatus according to another embodiment of the present invention; applied to a server, comprising:
an information receiving module 201, configured to receive actual connection information and theoretical connection information, which are sent by a mobile terminal and correspond to a final splitter to be detected; the actual connection information is: after the final-stage optical splitter meets the preset detection condition, actual connection information corresponding to the final-stage optical splitter is inquired in the PON management system; the theoretical connection information is: theoretical connection information which is inquired in a PON resource management system and distributed to a final-stage optical splitter;
and the comparison module 202 is configured to compare whether the actual connection information is consistent with the theoretical connection information, and send a comparison result to the mobile terminal.
Fig. 9 is a schematic diagram illustrating a hardware structure of a network resource inventory device according to an embodiment of the present invention.
The network resource inventory device may include a processor 301 and a memory 302 having stored thereon computer program instructions.
The processor 301 applied to the mobile terminal reads and executes the computer program instructions stored in the memory 302 to implement any one of the above-described embodiments of the network resource inventory method applied to the mobile terminal.
The processor 301 applied to the server reads and executes the computer program instructions stored in the memory 302 to implement any one of the network resource inventory methods applied to the server in the above embodiments.
In particular, the processor 301 may include a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or may be configured as one or more Integrated circuits implementing embodiments of the present invention.
In one example, the network resource inventory device may also include a communication interface 303 and a bus 310. As shown in fig. 9, the processor 301, the memory 302, and the communication interface 303 are connected via a bus 310 to complete communication therebetween.
The communication interface 303 is mainly used for implementing communication between modules, apparatuses, units and/or devices in the embodiment of the present invention.
In addition, in combination with the network resource inventory method in the foregoing embodiment, the embodiment of the present invention may provide a computer storage medium to implement the method.
Computer program instructions are stored on a computer storage medium applied to the mobile terminal; the computer program instructions, when executed by a processor, implement any one of the above embodiments of the network resource inventory method applied to the mobile terminal.
Computer program instructions stored on a computer storage medium for application to a server; the computer program instructions, when executed by a processor, implement any one of the above embodiments of the network resource inventory method applied to a server.
The functional blocks shown in the above-described structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, plug-in, function card, or the like. When implemented in software, the elements of the invention are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted by a data signal carried in a carrier wave over a transmission medium or a communication link. A "machine-readable medium" may include any medium that can store or transfer information. Examples of a machine-readable medium include electronic circuits, semiconductor memory devices, ROM, flash memory, Erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, Radio Frequency (RF) links, and so forth. The code segments may be downloaded via computer networks such as the internet, intranet, etc.
As described above, only the specific embodiments of the present invention are provided, and it is clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses, modules and units may refer to the corresponding processes in the foregoing method embodiments, and it is needless to say that details are not repeated herein, and the present invention is not limited to the specific configurations and processes described above and shown in the drawings. It should be understood that any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope of the present disclosure, and such modifications or substitutions should be covered within the protective scope of the present disclosure.
Claims (14)
1. A network resource checking method is applied to a mobile terminal and comprises the following steps:
acquiring identification information corresponding to a final-stage optical splitter to be detected after the final-stage optical splitter meets preset detection conditions;
calling a preset first Application Program Interface (API) interface, and inquiring actual connection information corresponding to the identification information in a Passive Optical Network (PON) network management system;
calling a preset second API (application program interface), and inquiring theoretical connection information corresponding to the identification information in the PON (passive optical network) resource management system;
sending the actual connection information and the theoretical connection information to a server for comparison, and receiving a comparison result returned by the server as a connection verification result of the final-stage optical splitter;
the preset detection condition comprises that a user optical fiber connected with a port of the final-stage optical splitter is pulled out; the identification information corresponding to the final splitter is as follows: a port number of the last splitter; the actual connection information is a user optical network unit ONU which is actually connected with the port of the final-stage optical splitter; the theoretical connection information is a user ONU which is theoretically connected with a port of the final-stage optical splitter; and the connection verification result is a second connection verification result between the port of the final optical splitter and the user ONU.
2. The method according to claim 1, wherein the preset detection condition comprises: the final-stage optical splitter is connected with a test optical modem; the identification information corresponding to the final-stage optical splitter is the identification of the test optical modem; the actual connection information is an actual PON port connected with the identification of the testing optical modem; the theoretical connection information is a theoretical PON port distributed by the final-stage optical splitter; and the connection verification result is a first connection verification result between the final-stage optical splitter and the PON port.
3. The method of claim 2, further comprising:
and displaying the first connection verification result.
4. The method for clearing network resources according to claim 1, further comprising:
and displaying the second connection verification result.
5. A network resource checking method is applied to a server and comprises the following steps:
receiving actual connection information and theoretical connection information which are sent by a mobile terminal and correspond to a final-stage optical splitter to be detected; the actual connection information is: after the last-stage optical splitter meets a preset detection condition, actual connection information corresponding to the last-stage optical splitter is inquired in a PON management system; the theoretical connection information is: theoretical connection information which is inquired in a PON resource management system and distributed to the last-stage optical splitter;
comparing whether the actual connection information is consistent with the theoretical connection information or not, and sending a comparison result to the mobile terminal;
the actual connection information is: after a user optical fiber connected with a port of the final-stage optical splitter is pulled out, a user ONU actually connected with the port of the final-stage optical splitter is inquired in the PON management system; the theoretical connection information is: and the user ONU is inquired in the PON resource management system and is theoretically connected with the port of the last-stage optical splitter.
6. The method according to claim 5, wherein the actual connection information is: after the last-stage optical splitter is connected with a test optical modem, inquiring an actual PON port connected with the identifier of the test optical modem in the PON network management system; the theoretical connection information is: and the theoretical PON port inquired in the PON resource management system and allocated to the final-stage optical splitter.
7. The method of claim 6, further comprising:
generating a connection verification report between the final-stage optical splitter and the PON port according to a comparison result of the actual PON port and the theoretical PON port; and generating a first statistical report according to the connection verification report between each final-stage optical splitter and the PON port.
8. The method of claim 6, further comprising: according to the actual connection
Generating a connection verification report between the port of the final splitter and the user ONU according to the comparison result of the user ONU and the user ONU which are connected in theory; and generating a second statistical form according to the connection verification report between the port of each last-stage optical splitter and the user ONU.
9. A network resource checking device is applied to a mobile terminal and comprises:
the system comprises an identification obtaining module, a detection module and a processing module, wherein the identification obtaining module is used for obtaining identification information corresponding to a final-stage optical splitter to be detected after the final-stage optical splitter meets preset detection conditions;
the first calling module is used for calling a preset first API (application program interface) and inquiring actual connection information corresponding to the identification information in the PON (passive optical network) management system;
the second calling module is used for calling a preset second API (application program interface) and inquiring theoretical connection information corresponding to the identification information in the PON (passive optical network) resource management system;
the comparison verification module is used for sending the actual connection information and the theoretical connection information to a server for comparison, and receiving a comparison result returned by the server as a connection verification result of the final-stage optical splitter;
the preset detection condition comprises that a user optical fiber connected with a port of the final-stage optical splitter is pulled out; the identification information corresponding to the final splitter is as follows: a port number of the last splitter; the actual connection information is a user optical network unit ONU which is actually connected with the port of the final-stage optical splitter; the theoretical connection information is a user ONU which is theoretically connected with a port of the final-stage optical splitter; and the connection verification result is a second connection verification result between the port of the final-stage optical splitter and the user ONU.
10. A network resource checking device is applied to a server and comprises the following components:
the information receiving module is used for receiving actual connection information and theoretical connection information which are sent by the mobile terminal and correspond to the final-stage optical splitter to be detected; the actual connection information is: after the last-stage optical splitter meets a preset detection condition, actual connection information corresponding to the last-stage optical splitter is inquired in a PON management system; the theoretical connection information is: theoretical connection information which is inquired in a PON resource management system and distributed to the last-stage optical splitter;
the comparison module is used for comparing whether the actual connection information is consistent with the theoretical connection information or not and sending a comparison result to the mobile terminal;
the actual connection information is: after a user optical fiber connected with a port of the final-stage optical splitter is pulled out, a user ONU actually connected with the port of the final-stage optical splitter is inquired in the PON management system; the theoretical connection information is: and the user ONU is inquired in the PON resource management system and is connected with the port of the final-stage optical splitter theoretically.
11. A network resource checking device is applied to a mobile terminal, and comprises: a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements the network resource inventory method of any one of claims 1-4.
12. A network resource inventory device, applied to a server, the device comprising: a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements the network resource inventory method of any of claims 5-8.
13. A computer storage medium applied to a mobile terminal, the computer storage medium having stored thereon computer program instructions, which when executed by a processor, implement the network resource inventory method according to any one of claims 1-4.
14. A computer storage medium applied to a server, the computer storage medium having stored thereon computer program instructions, which when executed by a processor, implement the network resource inventory method according to any one of claims 6-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910643449.2A CN110493669B (en) | 2019-07-17 | 2019-07-17 | Network resource checking method, device, equipment and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910643449.2A CN110493669B (en) | 2019-07-17 | 2019-07-17 | Network resource checking method, device, equipment and computer storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110493669A CN110493669A (en) | 2019-11-22 |
CN110493669B true CN110493669B (en) | 2022-05-10 |
Family
ID=68547180
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910643449.2A Active CN110493669B (en) | 2019-07-17 | 2019-07-17 | Network resource checking method, device, equipment and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110493669B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114079623B (en) * | 2020-08-04 | 2023-07-21 | 中国移动通信集团河北有限公司 | Method and device for identifying transmission capacity of user side router |
CN112468480B (en) * | 2020-11-23 | 2023-04-07 | 中国移动通信集团黑龙江有限公司 | Data association method, device, equipment and computer storage medium |
CN114095080B (en) * | 2021-10-22 | 2023-03-24 | 山东信通电子股份有限公司 | Method, device and medium for improving PON network resource remediation efficiency |
CN114205689A (en) * | 2021-12-02 | 2022-03-18 | 浪潮通信信息系统有限公司 | Home guest resource checking method and system |
CN114244427B (en) * | 2021-12-22 | 2024-03-01 | 中国电信股份有限公司 | Method and device for checking optical fiber network port resource and computer readable medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104618010A (en) * | 2014-12-31 | 2015-05-13 | 山东信通电子股份有限公司 | Optical network resource information checking method |
CN104980432A (en) * | 2015-05-15 | 2015-10-14 | 深圳市双翼科技有限公司 | Method for dual-PON port ONU to register and manage protocol stack at OLT |
CN105207718A (en) * | 2015-08-17 | 2015-12-30 | 中国电信股份有限公司南京分公司 | FTTH network management server and dynamic fiber jumping method |
CN105656648A (en) * | 2014-11-12 | 2016-06-08 | 华为技术有限公司 | ODN resource organizing method and system |
WO2016127760A1 (en) * | 2015-02-09 | 2016-08-18 | 中兴通讯股份有限公司 | User end device changing method, network element management system, and optical network system |
CN106571940A (en) * | 2015-10-08 | 2017-04-19 | 中国移动通信集团广东有限公司 | Method and device of fusing network management data and resource data |
CN108964756A (en) * | 2017-05-18 | 2018-12-07 | 中兴通讯股份有限公司 | Fault detection method and device, the passive optical network of Optical Distribution Network |
CN109218857A (en) * | 2018-07-02 | 2019-01-15 | 北京市天元网络技术股份有限公司 | The detection method and system of network equipment port state |
CN109698758A (en) * | 2017-10-20 | 2019-04-30 | 中国移动通信集团广东有限公司 | A kind of network resource information check method and system |
-
2019
- 2019-07-17 CN CN201910643449.2A patent/CN110493669B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105656648A (en) * | 2014-11-12 | 2016-06-08 | 华为技术有限公司 | ODN resource organizing method and system |
CN104618010A (en) * | 2014-12-31 | 2015-05-13 | 山东信通电子股份有限公司 | Optical network resource information checking method |
WO2016127760A1 (en) * | 2015-02-09 | 2016-08-18 | 中兴通讯股份有限公司 | User end device changing method, network element management system, and optical network system |
CN104980432A (en) * | 2015-05-15 | 2015-10-14 | 深圳市双翼科技有限公司 | Method for dual-PON port ONU to register and manage protocol stack at OLT |
CN105207718A (en) * | 2015-08-17 | 2015-12-30 | 中国电信股份有限公司南京分公司 | FTTH network management server and dynamic fiber jumping method |
CN106571940A (en) * | 2015-10-08 | 2017-04-19 | 中国移动通信集团广东有限公司 | Method and device of fusing network management data and resource data |
CN108964756A (en) * | 2017-05-18 | 2018-12-07 | 中兴通讯股份有限公司 | Fault detection method and device, the passive optical network of Optical Distribution Network |
CN109698758A (en) * | 2017-10-20 | 2019-04-30 | 中国移动通信集团广东有限公司 | A kind of network resource information check method and system |
CN109218857A (en) * | 2018-07-02 | 2019-01-15 | 北京市天元网络技术股份有限公司 | The detection method and system of network equipment port state |
Also Published As
Publication number | Publication date |
---|---|
CN110493669A (en) | 2019-11-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110493669B (en) | Network resource checking method, device, equipment and computer storage medium | |
CN109474977A (en) | A kind of monitoring method of equipment, apparatus and system | |
EP3029853B1 (en) | Method, device, and system for optical fiber link identification | |
US10154324B2 (en) | Method and system for updating optical distribution network (ODN) device by using intelligent management terminal | |
CN113037369B (en) | Optical fiber route detection system and corresponding route detection method | |
CN110752954A (en) | Networking fault detection method and related device for household electrical appliance | |
CN105591770A (en) | Determination method and apparatus for fault type in PON | |
CN113839712B (en) | Optical module-based signal transmission monitoring method, equipment, storage medium and device | |
CN105391588A (en) | Network fault diagnosis method and device | |
CN215817653U (en) | Electric power monitoring system | |
CN105337656A (en) | Optical network connection relation determination method, equipment and system | |
EP4181424A1 (en) | Systems and methods for mapping optical connections in a fiber distribution hub of a passive optical network | |
CN114244427B (en) | Method and device for checking optical fiber network port resource and computer readable medium | |
US11719890B2 (en) | Passive optical couplers having passive optical activity indicators and methods of operating the same | |
US10310840B2 (en) | Computer system, method of managing transmission of software with computer system, program therefor, and recording medium | |
JP2001076278A (en) | Method, system and terminal station for transmitting meter-reading value | |
CN107181988B (en) | Method, mobile phone and system for verifying broadband account by using multidimensional data | |
CN112651514B (en) | Operation and maintenance task execution method and device, operation and maintenance server and computer storage medium | |
CN115411837A (en) | Power monitoring system | |
CN112085430B (en) | Method for managing equipment | |
CN101459919B (en) | Network selecting method and apparatus | |
CN112911629A (en) | Network testing method and device and computer readable storage medium | |
CN112085129B (en) | Equipment login method | |
JP2001156929A5 (en) | ||
CN114095080B (en) | Method, device and medium for improving PON network resource remediation efficiency |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |