Communication address resource management method, device, system, equipment and medium

By employing perceptual twins and automatic allocation methods, the problem of high address configuration error rate in tag acquisition modules of ODN devices was solved, achieving efficient bus address resource management and meeting the needs of full lifecycle management of the devices.

CN120812425APending Publication Date: 2025-10-17FIBERHOME TELECOMMUNICATION TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511004176.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-21
Publication Date
2025-10-17

AI Technical Summary

Technical Problem

In the prior art, when installing a tag collection module in an ODN device, manual operations are required to configure the RS485 bus address multiple times, resulting in a high error rate and low efficiency, which is particularly evident in large-scale installations.

Method used

By employing a perceptual twin and automatic allocation method, the automatic allocation of slots and RS485 bus addresses for the tag acquisition module is achieved through initializing the bus address resource pool, pre-allocating, filtering, and binding bus address resources, thereby reducing the number of manual operations.

Benefits of technology

It reduced the error rate, improved address allocation efficiency, adapted to the full lifecycle management needs of the RS485 bus address resource pool, and improved work efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120812425A_ABST
    Figure CN120812425A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of optical distribution network management, and provides a communication address resource management method, device, system, equipment and medium, and the method comprises the steps: obtaining ODN equipment soft backboard data fitting the physical structure space characteristics of ODN equipment, and initializing a bus address resource pool, the storage unit stores parameters related to a bus address; assigning values to corresponding parameters of the bus address resources in the bus address resource pool based on the soft backboard data; based on an on-site to-be-assembled ODN equipment slot number, bus address resources are screened to obtain a configuration snapshot; bus address resources in the configuration snapshots are issued to the tag acquisition modules one by one based on a command mode, and ID values, bus numbers and slot numbers of the tag acquisition modules are received and recorded. According to the scheme, twin sensing, one-time screening and one-by-one issuing of a plurality of commands of the managed ODN equipment application data and the field actual ODN equipment data are realized, the operation frequency on an intelligent terminal APP is reduced, the error rate is reduced, and the efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the technical field of optical distribution network management, and particularly relates to a communication address resource management method, device, system, equipment and medium. BACKGROUND

[0002] In order to realize end-to-end network management and real-time management of port resources, a field acquisition gateway is added in the ODN device, a tag acquisition module is installed above the fiber distribution tray in the ODN device slot, and an RFID tag is assembled on the jumper terminal of all ports of the fiber distribution tray. Each tag acquisition module can sense the RFID tag information on all jumper terminals in a single fiber distribution tray. The field acquisition gateway provides multiple RS485 buses, and a single tag acquisition module is mounted as a communication node on an RS485 bus, thereby realizing serial communication between the two. Among them, the half-duplex network composed of the RS485 interface is generally two-wire, and is mostly transmitted by shielded twisted pair. This wiring method is a bus topology, and at most 32 communication nodes can be connected on the same bus. From the stability and timeliness of communication, it is recommended to mount 24 communication nodes.

[0003] Because the RS485 bus is half-duplex communication, and the tag collection module adopts a Type-C type bus to complete power supply and communication, the Type-C type bus does not provide a physical address line and is not aware of the RS485 bus address, so during actual installation, only one tag collection module can be installed each time. The specific installation process is: operating three times on the APP of the intelligent terminal, which are respectively selecting the slot number, bus number and address configuration command issuing, issuing to the field collection gateway, wherein the bus number is the RS485 bus address. The field collection gateway assigns the RS485 bus number and the mounting point number, writes the mounting point number and the bus number into the new tag collection module to be configured in a broadcast manner. The new tag collection module returns the processing result containing the tag collection module ID. The field collection gateway records the correspondence between the slot number, the RS485 bus number, the mounting point number and the tag collection module ID, sends the correspondence between the slot number, the RS485 bus number and the tag collection module ID to the intelligent terminal, and the intelligent terminal records. When a large number of tag collection modules need to be installed in the field, more RS485 bus addresses and their mounting point numbers need to be allocated, written and stored according to the rules. In the prior art, three times of address configuration command issuing need to be operated on the APP of the intelligent terminal for each correctly and smoothly installed tag collection module to realize manual allocation of the slot and the RS485 bus address for the tag collection module. When a large number of tag collection modules need to be installed, many times of operation need to be performed on the APP of the intelligent terminal, which is prone to errors and low in efficiency. For example, when each fiber distribution panel in the slot of the full-configuration 1152-core optical distribution frame needs to be installed with a tag collection module, 96 tag collection modules need to be operated on the APP of the intelligent terminal by manual field operation, which needs to be repeated nearly three hundred times, and is prone to errors and low in efficiency. SUMMARY

[0004] To solve the above problems, the application provides a communication address resource management method, device, system, equipment and medium, which adopts sensing twin and automatic allocation to reduce the error rate and improve the allocation efficiency.

[0005] In a first aspect, a communication address resource management method is provided, comprising: Initializing a bus address resource pool: obtaining ODN device soft backboard data and initializing a bus address resource pool; wherein the soft backboard data fits the physical structure space characteristics of the ODN device; the bus address resource pool stores parameters related to bus addresses with the field collection gateway ID as the primary key; Pre-allocating a bus address resource pool: assigning values to the corresponding parameters of the bus address resources in the bus address resource pool based on the soft backboard data; Screening a bus address resource pool: screening bus address resources based on the slot number of the ODN device to be assembled to obtain a configuration snapshot; Binding configuration snapshot: based on the command mode, the bus address resource in the configuration snapshot is issued to the tag collection module via the field collection gateway piece by piece, the bus address resource containing the tag collection module ID value, bus number and slot number sent by the collection gateway is received and recorded, and the binding relationship of the bus number, tag collection module ID value and slot number is established.

[0006] Further, initialize the bus address resource pool: obtain the ODN device soft backplane data and initialize the bus address resource pool, including: Initialize the bus address resource pool: establish a communication connection with the Internet of Things management platform, load the inventory of ODN device soft backplane data from the Internet of Things management platform, or newly create ODN device soft backplane data; Load the inventory of bus address resource pool data from the Internet of Things management platform, or newly create bus address resource pool data.

[0007] Further, pre-allocate the bus address resource pool, including: full-amount pre-allocate the bus address resource pool: based on the soft backplane data, full-amount assign values to the corresponding parameters of the bus address resources in the bus address resource pool; or Customizable pre-allocate the bus address resource pool: based on the soft backplane data, assign values to the corresponding parameters of the bus address resources in the bus address resource pool according to customizable parameter values, wherein the customizable parameters include: slot number and bus number.

[0008] Further, screen the bus address resource pool: based on the ODN device slot number to be assembled on site, screen the bus address resources to obtain the configuration snapshot, including: Screen the bus address resource pool: based on the optical cable segment end data of the ODN device to be assembled on site, determine the ODN device slot number, screen the bus address resources, and obtain the configuration snapshot.

[0009] Further, the parameters related to the bus address include optical cable segment ID, ODN device ID and state; when the optical cable segment is removed, the method further includes: Unbinding configuration snapshot: find the configuration snapshot that matches both the removed optical cable segment ID value and the ODN device ID value and has a state of having been bound and having been terminated from the configuration snapshot, set the optical cable segment ID value in the found configuration snapshot to an initial value, and set the state in the found configuration snapshot to having been bound and not having been terminated, the initial value indicating an unconnected optical cable segment.

[0010] Further, when a new optical cable segment is installed, the method further includes: Reutilization configuration snapshot: according to the number of fiber cores of the new optical cable segment, screen the available configuration snapshot from the unbound configuration snapshot, change the optical cable segment ID value of the available configuration snapshot to the new optical cable segment ID value; bind the changed available configuration snapshot, and change the state of the changed available configuration snapshot to having been terminated and having been bound.

[0011] Further, the parameters related to the bus address include an ODN device ID; when the ODN device is removed, the method further includes: clearing the bus address resource: determining an ODN device ID value to be removed, searching for a bus address resource matching the ODN device ID value to be removed from a bus address resource pool, deleting the values of the parameters in the found bus address resource, and releasing the corresponding data object in the bus address resource pool.

[0012] Further, the bus is an RS485 bus, the parameters related to the bus address are organized in a structure, and the bus address resource pool stores a bus address basic structure, which includes: an ODN device ID, a gateway ID, a face number, a rack number, a frame number, a slot number, an RS485 bus number, a state, a tag collection module ID, and an optical cable segment ID.

[0013] In a second aspect, a communication address resource management device is provided, which is applied to an intelligent terminal and includes: a soft backplane bus address initialization module, configured to initialize a bus address resource pool: obtain ODN device soft backplane data and initialize the bus address resource pool; wherein the soft backplane data fits the physical structure space characteristics of the ODN device; and the bus address resource pool stores parameters related to the bus address with a field-collected gateway ID as the primary key; a soft backplane bus address allocation module, configured to pre-allocate the bus address resource pool: assign values to the corresponding parameters of the bus address resources in the bus address resource pool based on the soft backplane data; a soft backplane bus address matching module, configured to screen the bus address resource pool: screen the bus address resources based on the slot number of the ODN device to be assembled on site, and obtain a configuration snapshot; a soft backplane bus address allocation instruction interaction processing module, configured to bind the configuration snapshot: based on the command mode, sequentially issue the bus address resources in the configuration snapshot to the tag collection module via the field-collected gateway, and receive the bus address resources sent by the collection gateway, which include the tag collection module ID value, the bus number, and the slot number; a soft backplane bus address resource pool module, configured to store the soft backplane bus address resource pool and record the bus address resources including the tag collection module ID value, the bus number, and the slot number.

[0014] Further, it further includes: a soft backplane template management module and a northbound interaction module soft backplane bus address resource pool; the soft backplane template management module is configured to manage the soft backplane template data and support the establishment of data twin between the instance of the ODN device soft backplane template and the field ODN device; the northbound interaction module is configured to interact with the Internet of Things management platform. The soft backboard bus address initialization module is specifically configured to load the inventory ODN device soft backboard data or newly create ODN device soft backboard data from the Internet of Things management platform by the northbound interaction module; and load the inventory bus address resource pool data or newly create bus address resource pool data from the Internet of Things management platform by the northbound interaction module.

[0015] Further, the soft backboard bus address allocation module comprises a soft backboard bus address full-amount allocation module and a soft backboard bus address customizable allocation module. The soft backboard bus address full-amount allocation module is configured to pre-allocate the bus address resource pool in full amount: based on the soft backboard data, the corresponding parameters of the bus address resources in the bus address resource pool are assigned in full amount. The soft backboard bus address customizable allocation module is configured to pre-allocate the bus address resource pool in a customizable manner: based on the soft backboard data, the corresponding parameters of the bus address resources in the bus address resource pool are assigned according to the customizable parameter values, wherein the customizable parameters comprise slot numbers and bus numbers.

[0016] In a third aspect, a communication address resource management system is provided, comprising the intelligent terminal, the field collection gateway, the tag collection module, the Internet of Things management platform and the database.

[0017] Further, the field collection gateway and the intelligent terminal communicate instructions through a message bus protocol; and the intelligent terminal and the Internet of Things management platform adopt HTTP communication.

[0018] In a fourth aspect, an electronic device is provided, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus. The memory is configured to store a computer program. The processor is configured to execute the program stored on the memory to implement the method.

[0019] In a fifth aspect, a computer storage medium is provided, and the computer storage medium stores a computer program, which is executed by a processor to implement the method.

[0020] Compared with the prior art, the present application has the following advantages: 1. The scheme realizes the perception twin of the application data of the managed ODN equipment and the actual ODN equipment data, once screening, multiple command issuing, automatic allocation of slots and RS485 bus addresses for the label collection module, and the label collection module above the fiber distribution panel can be bound according to the indication, the operation times on the intelligent terminal APP are reduced, the error rate is reduced, and the allocation efficiency is improved. And compatible with RS485 bus physical form change, can adjust the prepared allocation of RS485 bus address resource pool data as needed.

[0021] 2. The RS485 bus address of the label collection module required for integrated data management is constructed, and the data correlation of the port end optical cable segment of the fiber distribution panel is carried out, so that when the ODN equipment box is operated on site, the optical cable segment core fusion of the fiber distribution panel can be carried out at the same time, and the installation and RS485 bus address allocation operation of the label collection module above the fiber distribution panel can be carried out at the same time.

[0022] 3. After the inventory end optical cable of the fiber distribution panel of the ODN equipment is removed, the label collection module and the connection cable on the fiber distribution panel are retained, and the corresponding RS485 address data is recycled to the RS485 bus address resource pool.

[0023] 4. When a new optical cable is terminated, the recycled data in the RS485 bus address resource pool is preferably selected, and the inventory RS485 bus binding address is reused, which is high in working efficiency.

[0024] 5. When the ODN equipment is removed, the data in the RS485 bus address resource pool corresponding to the device ID can be completely cleared and released.

[0025] The scheme of the application considers the initialization, pre-allocation, automatic selection, on-site binding, reuse and cleaning and recycling of the RS485 bus information required for the label collection module communication of the fiber distribution panel. When the inventory fiber distribution panel of the intelligent ODN is removed or the entire intelligent ODN facility is removed, the RS485 bus information required for the label collection module communication of the fiber distribution panel can be effectively processed. Overall, it adapts to the efficient management needs of the RS485 bus address resource pool throughout the life cycle, and maintains the efficient utilization efficiency of the RS485 bus address resource pool.

[0026] Other features and advantages of the present application will be set forth in the following description, and in part will become apparent to those skilled in the art from the description, or can be learned by practice of the present application. The objects and other advantages of the present application can be achieved and obtained by the structures indicated in the specification, claims and drawings. BRIEF DESCRIPTION OF DRAWINGS

[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the accompanying drawings needed to be used in the embodiments or prior art description will be briefly introduced as follows. Obviously, the accompanying drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without any creative effort based on these drawings.

[0028] Figure 1 The main flow and alternative flowchart according to the embodiment of the present application are shown; Figure 2 The detailed description of the main flow according to the embodiment of the present application is shown; Figure 3 The physical structure space features of one face of the ODN device according to the embodiment of the present application, and the schematic diagram of the corresponding relationship between the slot in the face and the bus in the collection gateway are shown; Figure 4 The object state transition diagram of the RS485 bus address resource pool according to the embodiment of the present application is shown; Figure 5 The processing flowchart of the main method on the field intelligent terminal according to the embodiment of the present application is shown; Figure 6 The state transition diagram of the field collection gateway executing processing according to the embodiment of the present application is shown; Figure 7 The system function composition architecture diagram according to the embodiment of the present application is shown; Figure 8 The structural schematic diagram of the electronic device according to the embodiment of the present application is shown. DETAILED DESCRIPTION

[0029] In the scheme of the embodiment of the present application, firstly, the construction and initialization of the management model are performed: the physical structure of the field ODN equipment is mapped to the multi-layer structure model of the ODN equipment soft backboard, and the bus address resource pool model is established. Based on the plurality of ODN equipment soft backboards, the bus address resource pool is constructed, so that the bus address resource pool has a data twin relationship with the bus used in the actual communication of the field collection gateway, wherein the plurality of ODN equipment soft backboards are the multi-layer structure model of the instantiated ODN equipment soft backboard, and the bus address resource pool is the instantiation of the bus address resource pool model. Secondly, based on the ODN equipment soft backboard, the total number of buses required by the current ODN equipment is automatically calculated, the automatic allocation of the slot number of the mounting point under each bus is completed, and the pre-allocation of the bus address resource pool is realized. Thirdly, based on the cable segment end data of the ODN equipment to be constructed this time, for the total number of fiber cores of each cable segment end, the slot number sequence of the field to-be-installed binding tag collection module is automatically calculated, so as to select and filter the resource pool snapshot data of the field to-be-installed binding tag collection module, that is, the configuration snapshot. Finally, the configuration snapshot is issued to the field collection gateway through the APP in the intelligent terminal connecting the field collection gateway; based on the configuration snapshot, the field construction personnel perform one-key click issuing instruction to the field gateway; so as to realize the bus address allocation, the mounting point allocation, and the automatic acquisition of the tag collection module ID, and complete the quick installation of the tag collection module on the fiber distribution board. After the field collection gateway automatically senses the data and actively reports the field APP, the APP automatically updates the RS485 bus address information and the tag collection module ID, realizes the management platform and the field data twin and preservation.

[0030] In addition, before the optical cable segment is removed, the field APP is positioned based on the bus address resource pool information to accurately light up and prompt; after the optical cable segment is removed, the optical cable segment ID information of the bus object in the bus address resource pool is cleared to 0; the gateway ID, face number, rack number, frame number, slot number, absolute slot number, bus number, state and label acquisition module ID of the bus object in the bus address resource pool are continued to be retained. When a new end optical cable segment line is subsequently formed, the label acquisition module field directly performs light-up prompting, and synchronously updates the latest optical cable segment ID information to the bus object; the bus address resource pool data is reused, so that repeated allocation and binding of the label acquisition module RS485 bus address on the corresponding fiber distribution panel after the field end optical cable segment is avoided, and the overall work efficiency is improved. When the ODN equipment is completely removed, the bus information of the gateway, fiber distribution panel and label acquisition module configuration and acquisition is cleaned. Based on the bus address resource pool information, the field APP is positioned and accurately lighted up for prompting; after the ODN equipment is removed, the bus object in the bus address resource pool is cleared and released; the label acquisition module is guided for recycling; the label acquisition module panel is removed in the field, and is changed into a material; the data of the removed label acquisition module is cleared in the field; the gateway and the label acquisition module can be stored in the library and reused.

[0031] To make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.

[0032] As shown in Figure 1 , it is a bus address resource pool management main flow and alternative flowchart according to the embodiments of the present application; as shown in Figure 2 , it is a detailed description diagram of the main flow according to the embodiments of the present application. The main flow of the bus address resource pool management method of the present application includes: initialization, pre-allocation, on-demand screening, field binding address and end, field binding address and end (for reuse), resource cleaning and recycling and other necessary full life cycle management requirements. The communication address resource of the scheme of the present application is the bus information required for the label acquisition module communication of the fiber distribution panel. The bus can be RS485 bus or CAN bus. The embodiments of the present application take RS485 bus as an example for description. The bus address resource pool management of the embodiments of the present application includes the following flow steps: I. Initialization of RS485 bus address resource pool: Obtaining ODN device soft backboard data and initializing bus address resource pool; wherein, the soft backboard data fits the ODN device physical structure space characteristics; the bus address resource pool stores parameters related to bus addresses with field collected gateway ID as the primary key.

[0033] Specifically, the ODN device soft backboard data can be obtained by creating or loading ODN soft backboard data; first, define the bus address resource pool model, and then initialize it to assign initial values to the parameters related to bus addresses, and in Figure 2 step 201.

[0034] II. Full pre-allocation of RS485 bus address resource pool: Assign values to the corresponding parameters of the bus address resources in the bus address resource pool based on the soft backboard data.

[0035] Specifically, all slot data of all faces of the ODN device soft backboard and the total number of communication nodes mounted on the RS485 single bus can be integrated to perform integrated full coverage of RS485 bus numbering, absolute slot number and state, i.e. full pre-allocation. Figure 2 step 202; Optionally, the integrated full coverage pre-allocation of the RS485 bus address resource pool data can also be adjusted as needed to adapt to changes in the RS485 physical bus form, i.e. customized pre-allocation.

[0036] III. On-demand filtering of RS485 bus address resource pool: Based on the slot number of the ODN device to be assembled on site, filter the bus address resources to obtain a configuration snapshot. The configuration snapshot obtained by filtering forms a set, which usually contains more than one bus address resource, or only one bus address resource.

[0037] Specifically, without considering the optical cable segment end data, the slot number of the ODN device to be assembled on site can be directly used to filter the bus address resources to obtain a configuration snapshot; when considering the optical cable segment end data, for the total number of fiber cores of each optical cable segment end, according to the information of the fiber distribution panel at the end of the optical cable segment, the slot number sequence of the on-site installation of the binding tag collection module is automatically calculated, thereby selecting the resource pool snapshot data of the on-site installation of the binding tag collection module also known as the configuration snapshot, forming the configuration snapshot data. It supports unified management of data of the optical cable segment fiber core end with the port of the fiber distribution panel. In Figure 2 step 203.

[0038] IV. Configuration snapshot binding of RS485 bus address resource pool: The bus address resource in the configuration snapshot is issued to the tag collection module based on the command mode via the field collection gateway piece by piece, the bus address resource including the tag collection module ID value, bus number and slot number sent by the collection gateway is received and recorded, and the binding relationship of the bus number, tag collection module ID value and slot number is established.

[0039] Specifically, the tag collection module ID in the slot of the configuration snapshot data of the pre-allocated RS485 bus address resource pool is acquired on the APP of the field intelligent terminal. The slot number, mounting point number and RS485 bus number are recorded by the field collection gateway, the binding relationship of the RS485 bus number, tag collection module ID, slot number and optical cable segment ID is established, the fiber distribution panel that completes the binding is provided with a light indication to support the end operation of the optical cable segment. In Figure 2 step 204.

[0040] Five, configuration snapshot of RS485 bus address resource pool is released: The configuration snapshot found from the configuration snapshot matches the optical cable segment ID value and ODN device ID value and is in the state of having been bound and having been terminated, the optical cable segment ID value in the found configuration snapshot is set to an initial value, and the state in the found configuration snapshot is set to having been bound and not having been terminated. The initial value represents an unconnected optical cable segment. The found configuration snapshot is also a set, which usually contains more than one bus address resource, or can contain only one bus address resource.

[0041] Specifically, the tag collection module related to the optical cable segment to be removed is issued a light command on the single element of the pre-allocated RS485 bus structure list. After the inventory terminated optical cable segment is removed, the tag collection module on the fiber distribution panel and its bound RS485 bus are retained, and the corresponding data is recycled into the RS485 bus address resource pool as preferred data for the next binding configuration snapshot data. In Figure 2 step 205.

[0042] After the ODN device is removed, step 207 is performed; when the ODN device is not removed but the optical cable segment is removed, step 206 is performed; when neither the ODN device nor the optical cable segment is removed, step 203 is performed.

[0043] Six, configuration snapshot of RS485 bus address resource pool is reused: According to the number of fiber cores of the new optical cable segment, the available configuration snapshot is screened from the unbound configuration snapshot, the optical cable segment ID value of the available configuration snapshot is changed to the new optical cable segment ID value, and the state of the changed available configuration snapshot is changed to having been terminated and having been bound.

[0044] Specifically, when the fiber distribution board port of the ODN device is again terminated with a new optical cable, the configuration snapshot data that has returned to the RS485 bus address resource pool is preferably used to light up the new optical cable and the fiber distribution board termination, and the fiber distribution board multiplexes the RS485 bus binding address in the bus address resource pool to complete the serial communication between the field collection gateway and the termination. Figure 2 In the above step 206.

[0045] For example, assuming that the number of fiber cores of the new optical cable section is 48, the number of ports in a single fiber distribution board is 12, and the number of bus addresses in the unbundled configuration snapshot is 2, the number of bus addresses required is calculated to be 4, and all the configuration snapshots in the unbundled configuration snapshot can be used as available configuration snapshots for binding. For the 24 fiber cores that have not been bound (2 bus addresses are required), the above steps three and four, the on-demand screening of the RS485 bus address resource pool and the configuration snapshot binding of the RS485 bus address resource pool, are performed for configuration snapshot binding.

[0046] For example, assuming that the number of fiber cores of the new optical cable section is 48, the number of ports in a single fiber distribution board is 12, and the number of bus addresses in the unbundled configuration snapshot is 4, the number of bus addresses required is calculated to be 4, and all the 4 configuration snapshots in the unbundled configuration snapshot can be used as available configuration snapshots for binding.

[0047] For example, assuming that the number of fiber cores of the new optical cable section is 48, the number of ports in a single fiber distribution board is 12, and the number of bus addresses in the unbundled configuration snapshot is 6, the number of bus addresses required is calculated to be 4, and 4 configuration snapshots in the unbundled configuration snapshot can be used as available configuration snapshots for binding.

[0048] Seven, configuration snapshot resource clearing and other operations of the RS485 bus address resource pool: Determine the ODN device ID value to be removed, find the bus address resource matching the ODN device ID value to be removed from the bus address resource pool, delete the values of each parameter in the found bus address resource, and release the corresponding data object in the bus address resource pool.

[0049] Specifically, load the ODN device to be removed; obtain the gateway ID of the ODN device; locate the label collection module bound to the fusion fiber distribution board to be removed by lighting; remove the corresponding relationship between the field collection gateway and the fusion fiber distribution board; clear the binding relationship of the RS485 bus number, the label collection module ID, the slot number, and the optical cable section ID of all slots corresponding to the field collection gateway; and clear the above resource data from the RS485 resource pool. Figure 2 In the above step 207.

[0050] The above seven steps are described in detail as follows: I. Initialization of RS485 bus address resource pool, the main process is as follows: 1. The intelligent terminal and the Internet of Things management platform establish communication connection and obtain access permission; 2. The intelligent terminal loads the inventory ODN device soft backboard data from the Internet of Things management platform; or, new ODN device soft backboard data; As shown in the figure, it shows the physical structure space characteristics of one side of the ODN device, and the schematic diagram of the corresponding relationship between the slot in the face and the bus in the collection gateway. Figure 3

[0051] In a given ODN device, a slot is located or identified by face, rack, frame, and (relative) slot number. A compatible fiber distribution panel is installed in a slot. Each port in a fiber distribution panel has a jumper terminal installed in it. A mounting point in an RS485 bus connects a tag collection module. A tag collection module corresponds to a slot, and collects all RFID tags on the jumper terminals on the fiber distribution panel installed in the slot.

[0052] New soft backboard data is constructed based on the physical structure space characteristics of one side of the ODN device and the corresponding relationship between the slot and the bus in the collection gateway.

[0053] The construction process of ODN device soft backboard object is as follows: 2.1) Construct slot object, the attribute items of slot object include: slot number, slot type, total number of ports; 2.2) Construct frame object, the attribute items of frame object include: frame number, collection of slot objects, slot direction; 2.3) Construct rack object, the attribute items of rack object include: rack number, rack type, collection of frame objects, frame direction; Rack type, such as 1152 core ODN optical cross box rack body; 2.4) Construct face object, the attribute items of face object include: face number, rack object; 2.5) Construct soft backboard object, soft backboard object includes: ODN device ID, collection of face objects; 2.6) Add soft backboard object to soft backboard object sequence collection; Perform steps 2.1) to 2.6) until all soft backboard objects are loaded. 3. Definition and initialization of RS485 bus address resource pool related parameters Define RS485 bus address resource pool object; the bus address resource pool object takes ODN device ID as the primary key and stores RS485 bus address basic structure body; ​Define the number of RS485 bus-mounted communication nodes Ns, the default value is 24; the actual number of communication nodes mounted on the RS485 single bus can be less than 24; Define the ODN device ID, which is an integer value, and the initial value is 0; the value comes from the attribute ODN device ID value of the device soft backboard instance; Define the information model of the RS485 bus address basic structure, and the attribute items include: ODN device ID, gateway ID, face number, frame number, slot number, RS485 bus number, status, label collection module ID and optical cable segment ID; The "RS485 bus number" is an integer value, initialized to 0; it represents the bus address that the ODN gateway can support; under a gateway ID, the RS485 bus number and the mounting point serial number are used in pairs.

[0054] The "status" is an enumeration type, including pre-assignment, selected, bound and completed, bound and not completed, and cleared, and the initial value is pre-assignment; "Pre-assignment" means that a certain RS485 bus basic element structure has not been selected by the selector of the optical cable segment termination fiber distribution box; "Selected" means that a certain RS485 bus element structure has been selected by the selector of the optical cable segment termination fiber distribution box; when the field installation of the fiber distribution box and the label collection module above it is completed, the field intelligent mobile terminal assigns the RS485 bus address, and the field has not yet performed the configuration binding operation on the address. If the field has already performed the configuration binding operation on the address, and the termination of the fiber core of the optical cable segment is completed for each port of the fiber distribution box, the status becomes "bound and completed"; When the field installation of the fiber distribution box and the label collection module above it is completed, the field collection gateway binds the RS485 bus address; and after the termination of the fiber core of the optical cable segment is removed for each port of the fiber distribution box, the status becomes "bound and not completed"; "Clear" means that the RS485 bus resource sequence list corresponding to the ODN device ID is empty.

[0055] Figure 4 The state transition process between the above states is shown in the flowchart, which describes the process from the beginning to the end of the bus address resource pool life cycle. The state transition process of Figure 4 will be described below.

[0056] According to the soft backboard data, a new bus address resource pool is created, and then the resource pool is fully planned and allocated, and the status of the bus address resource becomes pre-assignment; According to the optical cable segment termination, associate the bus address resource in the bus address resource pool, and select in the field operation group, the status of the selected bus address resource changes from pre-assignment to selected; According to the selected resource pool data, the configuration is carried out on site, the binding is done on site, and the light is turned on for confirmation. The state of the bus address resource in the selected state changes from selected to bound and terminated. Based on the information of the removed optical cable segment, the corresponding bus address resources are returned to the bus address resource pool. The status of the returned bus address resources changes from bound and terminated to bound and unterminated. New optical cable segments can bind these bound and unterminated bus address resources again. A new optical cable segment is allocated again. After the fiber distribution tray corresponding to the bound but unterminated bus address resource is terminated on site, the corresponding bus address resource status changes from bound but unterminated to bound and terminated. At this point, the tag collection module supports collecting RFID tag data and reporting it to the on-site collection gateway. The resource pool data associated with the TCU (Tag Collect Unit) and the on-site collection gateway is removed with the lights on on-site, releasing the bus address resources related to the gateway ID. Based on the removed device data, the resource pool data associated with the TCU and gateway is cleared, and the status of the bound and terminated bus address resources changes from bound and terminated to cleared. At this point, the on-site collection gateway and TCU become materials and can be reused later.

[0057] "Tag collection module ID" is an integer, and its initial value is 0; "Cable Segment ID" is an integer with an initial value of 0. When the status is "Selected" or "Bound and Ended", the status value is greater than 0. "Total number of ports in the slot" is an integer, and its initial value is 0; The information model of the RS485 bus address resource pool is defined as a single primary key hash table; its primary key is the ODN device ID, and its value is the RS485 bus basic element structure; Define the information model variable of the basic element structure of the RS485 bus address, referred to as the bus object; Define the sequence table of RS485 bus structure, whose elements are bus objects; Define the information model variable of RS485 bus address resource pool, referred to as RS485 bus address resource pool object; The definition of the above data model, as a fit to the spatial characteristics of the physical structure of the ODN device, constructs the ODN device soft backplane object, thereby supporting the label collection module on the slot of the ODN device soft backplane to communicate with the upper-level ODN device gateway through the RS485 serial bus.

[0058] 2. The main processing flow of full pre-allocation of RS485 bus address resource pool is as follows: II.1) RS485 bus address resource pool full pre-allocation process for automatically constructing ODN soft backboard 0) Initialization: Load the soft backboard of ODN equipment; Define an RS485 bus address basic element structure, referred to as RS485 bus object; Define cumulative slot number a, where a is an integer variable, the initial value is 0; 1) Is the traversal of the surface object set of the soft backboard object complete? No, go to 2); Yes, go to 8); 2) Get the surface object; 3) Is the shelf object of the surface object valued? Yes, go to 4); No, go to 1); 4) Get the shelf object; 5) Is the traversal of the frame set of the shelf object complete? No, go to 6); Yes, go to 1); 6) Get the frame object; 7) Is the traversal of the slot set of the frame object complete? No, go to 7.1); Yes, go to 5); 7.1) Get the slot object; Get the slot number of the slot object, record as k; Calculate the cumulative slot number: a = a + 1; 7.2) Calculate the RS485 bus number: RN = a / Ns; 7.3) Assign values to the properties of the RS485 bus object; RS485 bus object.Gateway ID = 0; RS485 bus object.ODN equipment ID = soft backboard equipment ID; RS485 bus object.face number = surface object.face number; RS485 bus object.shelf number = shelf object.shelf number; RS485 bus object.frame number = frame object.frame number; RS485 bus object.slot number = k; RS485 bus object.absolute slot number = a; RS485 bus object.RS485 bus number = RN; RS485 bus object.status = pre-allocation; RS485 bus object.tag acquisition module ID = 0; RS485 bus object.cable segment ID = 0; RS485 bus object.total number of ports in the slot = slot object.total number of ports; 7.4) Add the RS485 bus object to the RS485 bus structure body sequence list; go to 7); 8) Soft backplane object. ODN device ID is the primary key, and the value is the RS485 bus structure body sequence list, loaded into the RS485 bus address resource pool object; 9) End.

[0059] The above process integrates all the slot data of the ODN device soft backplane frame, the total number of RS485 single bus mounted communication nodes, and performs integrated full coverage preparation distribution of RS485 bus number, absolute slot number and state, supporting the subsequent demand for multiple bus address resource use of RS485.

[0060] II.2) Artificial customization of ODN soft backplane RS485 bus address resource pool customizable pre-distribution process: 0) Load artificial customizable sequence set; due to space structure limitations, define the number of mounted points under one RS485 bus as needed; The element of the customizable parameter sequence is a structure body, which comes from the assignment result of the RS485 bus number of each slot of the pre-distribution view on the intelligent terminal interface by artificial customization. The successor of the assignment result of the RS485 bus number adjacent to each other is 1 larger than the predecessor. The attribute items of the customizable parameter structure body include: absolute slot number, RS485 bus number; Load the ODN device ID of the ODN soft backplane to be customized; Use the ODN device ID to query the RS485 bus address resource pool object to get the RS485 bus structure body sequence list? Yes, go to 1); No, exit; 1) Customizable parameter sequence list data compliance verification; 1.1) From i=0, i<Seq size, traverse the customizable parameter sequence list Seq complete? No, go to 1.2); Yes, go to 1.3); 1.2) If ((Seq[i+1].absolute slot number)-(Seq[i].absolute slot number)<24)? Yes, go to 1.1); No, exit; 1.3) For all bus numbers in Seq, except bus number 1, for other bus numbers, perform the following operations: for all elements corresponding to two bus numbers in Seq with a size difference of 1, modify the bus number of the element to the smaller bus number value (of the two bus numbers with a size difference of 1); 1.4) Traverse the RS485 bus structure body sequence list, use the absolute slot number of the element in Seq to match the absolute slot number of the RS485 bus structure, and after they are consistent, get the RS485 element R; 1.5) At the same time, assign the bus number of the element in Seq to the structure body. Bus number of RS485 element R; adopt the value of the structure body of R, and synchronize the refresh of the element value in the RS485 bus structure list corresponding to the position of element R; 1.6) Determine whether the absolute slot number of each element in the RS485 bus structure list is matched with the absolute slot number of each element in Seq; if yes, go to 1.7); if no, go to 1.4); 1.7) Exit.

[0061] The above process can adjust the integrated full-coverage prepared allocation of RS485 bus address resource pool data according to the customization adjustment needs of the change of the deployment structure form of the on-site RS485 physical bus.

[0062] Three, build the RS485 bus of the ODN equipment slot to be assembled in this round of on-site according to the needs of screening; 1) Initialization: Load the pre-allocated RS485 bus structure list; Define the snapshot RS485 bus structure list to be issued, which is the output of the selector and will be the object parameter value set of the on-site configuration command issued; 2) Selection process: According to the operation needs of the on-site label collection module, select single, batch slot numbers in the view of the soft backboard page through the intelligent mobile terminal interface; Single selection, such as 12-core optical cable segment fiber core, etc.; batch selection, such as 48-core optical cable segment fiber core, etc.; The batch selection supports one slot number distribution sequence, and can select a slot number distribution with different starting slot number and ending slot number; Support multiple slot number distribution sequences, and can select multiple segmented arrangements of all starting slot numbers and ending slot numbers which are different; The following will take batch selection as an example to illustrate: According to the optical cable end forming data, the optical cable segment end forming structure attribute items include: optical cable segment number, face number, shelf number, frame number, slot number and total number of fiber cores; According to the fiber distribution plate information formed by the optical cable segment, the RFID tag of the fiber jumper terminal corresponding to the fiber distribution plate port is automatically sensed, and the RS485 bus address allocation is automatically completed; First, the process of preliminary processing is as follows: 1) Load the optical cable segment information to get the total number of fiber cores MixNum of the optical cable segment; 2) Get the total number of fiber distribution plates FiBdNum that the optical cable segment ID will be fused with; 3) Temporary variable FbBdNum is assumed to accumulate the total number of ports in the slot, and its initial value is 0; 4) Load RS485 bus structure body sequence list; Second, the process of preparing to allocate the address of the fiber distribution board is as follows: Define the RS485 bus structure body configuration snapshot sequence list, and its type is the RS485 bus structure body sequence list; 1) C = 0; 2) Is the RS485 bus structure body sequence list traversal complete? Yes, go to 10); No, go to 3); 3) Get the RS485 bus structure body; 4) Determine whether the RS485 bus structure body. Face number is equal to the face number of the cable segment end, and RS485 bus structure body. Rack number is equal to the rack number of the cable segment end, and RS485 bus structure body. Frame number is equal to the frame number of the cable segment end, and RS485 bus structure body. State is equal to pre-allocation? Yes, go to 5); No, go to 2); 5) RS485 bus structure body. State = selected; 6) FbBdNum = RS485 bus structure body. Total number of ports in the slot; 7) C = FbBdNum + C; 8) Load the RS485 bus structure body into the RS485 bus structure body configuration snapshot sequence list; 9) C is equal to MixNum? Yes, go to 10); No, go to 2); 10) Exit.

[0063] The above process provides the RS485 bus address binding of the label automatic acquisition module of the fiber distribution board port on the ODN device slot in the field at the same time, and unifies the data of the cable segment fiber core end of the fiber distribution board port; After one-time on-site processing, it not only supports remote automatic management of the ODN device port, but also ensures the end-to-end management of the port end fiber core path.

[0064] Four, the main processing flow of the RS485 bus address resource pool configuration snapshot binding is as follows: Preset condition: Load RS485 bus structure body configuration snapshot sequence list; For the pre-allocated RS485 bus structure body sequence list, under the normal path, based on the command mode, the RS485 bus data is issued piece by piece; At the same time, during the entire command issuing process, the following processing mechanism requirements are followed: The command of pre-allocating RS485 bus structure list can be executed in whole stop mode; The single element of the pre-allocated RS485 bus structure list can be prompted after the RS485 bus address allocation command is executed successfully, and the command execution success, the acquired tag acquisition module ID are prompted; meanwhile, the state of the corresponding element of the RS485 bus structure list is modified to be configured, and the tag acquisition module ID of the element is modified to be the acquired tag acquisition module ID. The single element of the pre-allocated RS485 bus structure list can be prompted after the RS485 bus address allocation command is executed successfully, and the command execution success, the acquired tag acquisition module ID are prompted; meanwhile, the state of the corresponding element of the RS485 bus structure list is modified to be configured, and the tag acquisition module ID of the element is modified to be the acquired tag acquisition module ID.

[0065] The specific execution process is as follows, and the contents in Figure 5 are referred to. Figure 5 The main method of the embodiment of the application is given in the whole processing flowchart of the field intelligent terminal: Step 501: the intelligent terminal establishes a communication connection with the upper layer Internet of Things management platform; and passes the access permission verification; Step 502: the intelligent terminal loads the inventory ODN device soft backboard data; or, the ODN device soft backboard data is newly created; Step 503: the intelligent terminal loads the inventory RS485 bus address resource pool data; or, the RS485 bus address resource pool data is newly created; Step 504: the intelligent terminal constructs a selector of the actual device slot to be assembled in the current round of the field; Step 505: the RS485 bus structure configuration snapshot list to be issued is filtered out through the selector, and the main processing flow of the configuration snapshot binding of the RS485 bus address resource pool is executed after step 505, that is, steps 0) to 11): 0) is the RS485 bus structure configuration snapshot list traversed? Yes, go to 11); no, go to 1); 1) Obtain a snapshot of the RS485 bus structure object configuration; construct a series of RS485 bus address processing instructions for the tag collection module to be assembled at the construction site based on this object; and issue these instructions after the on-site intelligent terminal establishes a communication connection with the on-site collection gateway. 2) Did the on-site intelligent terminal issue a stop configuration command? If yes, go to step 11. If no, go to step 3. 3) The on-site data collection gateway receives the instruction and processes and executes it; 4) Is the tag collection module assembled at the construction site? If yes, go to step 11. If no, go to step 5. 5) Construction workers install a tag collection module; 6) Does the on-site acquisition gateway automatically read the tag acquisition module ID and record the corresponding RS485 bus address basic structure successfully? If yes, go to 7; if no, go to 9; 7) The acquisition gateway automatically drives the indicator light of the assembled tag acquisition module to flash; 8) After the acquisition gateway automatically determines that the processing result is normal, the result is returned to the on-site intelligent terminal interface and displayed: the configuration of the gateway ID, surface number, rack number, frame number, slot number, and RS485 address is successful; go to 4); at the same time, send a data synchronization message to step 503, and the on-site intelligent terminal synchronously updates the localized RS485 bus address resource pool data; 9) After the acquisition gateway automatically determines that the processed result is abnormal, the result is returned to the on-site intelligent terminal interface and displayed: gateway ID, surface number, rack number, frame number, slot number, RS485 address, and abnormal prompt; the abnormal prompt includes: configuration stopped, paused, resumed, skipped, and configuration failed; 10) Trigger stop, pause, retry, skip and other operations on the on-site intelligent terminal interface; go to 0); Its status triggers actions and conversions, see Figure 6 . Figure 6 After starting, the program enters the Executing state. Triggering Pause causes the program to enter the Paused state. Triggering Stop after Pause causes the program to enter the Terminated state. Triggering Continue after Pause causes the program to enter the Executing state. Triggering Stop during Execution causes the program to enter the Terminated state. During execution, a delay is required to wait. During this delay, the program executes the configuration instructions. If the configuration is successful, the program enters the Configuration Success state. If the same configuration parameters are found, the program displays a message indicating that the configuration already exists. If the execution fails, the program displays a Configuration Failure message. If the configuration fails, a repair is performed. If the repair is successful, the program displays a Configuration Success message.

[0066] 11) End.

[0067] The above process realizes field binding address and end, provides one-key trigger, and reduces configuration times by more than 50% compared with the prior art; the field binding label collection module on the ODN device slot is efficient and convenient, and after assembly, there is APP prompt and light on the intelligent terminal, and the operation efficiency is high. Rich processing methods of field abnormal conditions are provided, and the process is closed loop controllable.

[0068] V. The main processing flow of the RS485 bus address resource pool configuration snapshot unbinding is as follows: In actual use, when the optical cable section is spliced, the inventory optical cable fusion relationship needs to be disconnected first; after the optical cable fusion relationship is removed, the occupied slot and RS485 address resource will be released; the RS485 address resource will be reutilized and allocated.

[0069] 1) Input: removed optical cable section ID_0; ODN device ID_1; 2) Is the RS485 bus structure body configuration snapshot sequence list traversal completed? No, go to 3); Yes, go to 8); 3) Get RS485 bus object 1; 4) Is there: RS485 bus object 1.ODN device ID equal to ODN device ID_1, and RS485 bus object 1. Optical cable section ID equal to optical cable section ID_0, and RS485 bus object 1. State equal to bound and end? Yes, go to 5); No, go to 2); 5) RS485 bus object 1. State = bound and not end; RS485 bus object 1. Optical cable section ID = 0; 6) Update the element attribute value in the RS485 bus structure body configuration snapshot sequence list corresponding to the RS485 bus object 1; 7) The information item of the RS485 bus structure body configuration snapshot sequence list is synchronized to the RS485 bus address resource pool; go to 2); 8) Exit.

[0070] The above process, after the inventory end optical cable of the fiber distribution plate of the ODN device is removed, preserves the label collection module on the fiber distribution plate and its bound RS485 bus, and the corresponding data is recycled to the RS485 bus address resource pool as preferred data for the next configuration snapshot data.

[0071] VI. The main processing flow of the RS485 bus address resource pool configuration snapshot reutilization is as follows (illustrated by optical cable section expansion): VI.1) Screening process of reusable address; 1) Select optical cable section F; C = 0; 2) Load RS485 bus address resource pool (the resource pool takes ODN device ID as the primary key, and stores the RS485 bus address basic structure body); Load RS485 bus configuration snapshot sequence list (its type is RS485 bus structure body sequence list, and the source is the main processing result of the RS485 bus address resource pool configuration snapshot unbinding in step five); Define variables: to-be-fused RS485 bus configuration snapshot sequence list (its type is RS485 bus structure body sequence list); 3) In the loaded RS485 bus configuration snapshot sequence list, sequentially select whether the RS485 bus object meets the following attribute item judgment condition: RS485 bus object. State is equal to configured and unbound, and RS485 bus object. Cable segment ID is equal to 0? If yes, RS485 bus object. Cable segment ID = cable segment F. Cable segment ID; Total number of in-slot ports = RS485 bus object. Total number of in-slot ports; C = C + total number of in-slot ports; load RS485 bus object into to-be-fused RS485 bus configuration snapshot sequence list; update RS485 bus object to RS485 bus address resource pool; fiber core total number of cable segment is greater than or equal to C? Yes, go to 4); No, go to 3); If not, go to 3); 4) Exit.

[0072] Six.2) Fusion of reusable address; After the field intelligent terminal establishes a communication connection with the gateway, issue an instruction; 0) Is the traversal of the to-be-fused RS485 bus configuration snapshot sequence list complete? Yes, go to 8); No, go to 1); 1) Get an RS485 bus structure object; 2) According to the object, construct the light-up instruction related to the RS485 bus address processing of the label collection module to be assembled in the construction site; 3) The field construction positions the fiber distribution panel to be fused according to the light-up indication; 4) The field fuses the ports and fiber cores of the positioned fiber distribution panel; 5) Field prompt: confirm fusion; 6) After manual confirmation, RS485 bus structure object. State = configured and bound; update all attribute items of the corresponding RS485 bus structure object in the RS485 bus address resource pool; 7) Go to 0); 8) Exit.

[0073] The above process, when the fiber distribution board port of the ODN device is connected to a new optical cable again, preferably returns to the configuration snapshot data in the RS485 bus address resource pool, and the new optical cable and the fiber distribution board are connected to the field light prompt. The RS485 bus binding address in the multiplexing resource pool of the fiber distribution board supports serial communication between the field collection gateway and the field collection gateway.

[0074] Seven, the operation function of the RS485 bus address resource pool is cleared as follows: 1) Load the ODN device to be removed; 2) Get the ODN device ID; 3) Query the RS485 bus address resource pool by ODN device ID. Yes, go to 4); No, go to 14); 4) Get the RS485 bus sequence; 5) Establish a communication connection between the field intelligent terminal and the gateway; 6) Is the RS485 bus sequence traversal complete? Yes, go to 14); No, go to 7); 7) Get an RS485 bus structure object; 8) Send the relevant light indication according to the RS485 bus structure object gateway ID, face number, rack number, frame number, slot number, and RS485 address; 9) The field construction positions the label collection module to be removed according to the light indication of the fiber distribution board binding; 10) Set the delay time, for example, 10 seconds, and remove the collection module; 11) Issue a command to read the collection module ID that has been lit; 12) RS485 bus object. Status = cleared; RS485 bus object. RS485 bus number = 0; delete the value in the RS485 bus address resource pool with the ODN device ID; 13) Go to 6); 14) Exit.

[0075] The above process, when the ODN device is removed, the corresponding data in the RS485 bus address resource pool is cleared and released, the label collection module, the field collection gateway, and the Type-C are changed to materials, which can be applied in other devices.

[0076] The scheme of the present application as a whole adapts to the efficient management needs of the RS485 bus address resource pool throughout the life cycle, and maintains the efficient utilization efficiency of the RS485 bus address resource pool. As a fitting to the physical structure space characteristics of the ODN device, the ODN device soft backboard object is constructed, and then the communication interaction of the label collection module on the slot of the ODN device soft backboard through the RS485 bus and the upper ODN device gateway is supported. The slot data of all faces of the ODN device soft backboard, the total number of single RS485 bus mounted communication nodes, the global pre-allocation of RS485 bus number, absolute slot number and state are carried out, and the RS485 bus address resource pool is constructed. In view of the on-site RS485 bus physical form change needs, the pre-allocated RS485 bus address resource pool data is adjusted as needed.

[0077] In view of the management needs of ODN optical fiber path end-to-end management and port state dynamic monitoring, the label automatic collection of the fiber distribution disc port of the slot of the ODN device before the RS485 bus address binding is provided, and the data support of the cable segment ended by the disc port is provided, and the two aspects of work can be linked once entering the station, and the overall construction time is shortened.

[0078] The on-site intelligent terminal APP one-key trigger configuration instruction is issued, and the fiber distribution disc on the slot of the ODN device is bound according to the indication, the APP prompts and the label collection module lights, the operation is convenient and efficient, more than half of the APP operation number is reduced, and the on-site abnormal closed-loop processing is provided.

[0079] After the stock ended cable of the fiber distribution disc of the ODN device is removed, the label collection module and the connected Type-C cable on the fiber distribution disc are retained, the corresponding RS485 address data is recycled into the RS485 bus address resource pool, and is used as the preferred configuration snapshot data next time. When the new cable is ended at the port of the fiber distribution disc of the ODN device, the recycled configuration snapshot data in the RS485 bus address resource pool is preferred, the corresponding stock RS485 bus binding address is reused, the fiber distribution disc and the new cable ended are prompted by the on-site light, and the work efficiency is high.

[0080] After the RS485 bus connected to the label collection module on the ODN device and the fiber distribution disc is removed, the data in the RS485 bus address resource pool corresponding to the RS485 bus is cleared and released, the label collection module, the gateway and the Type-C are changed into reusable materials.

[0081] In summary, the present application as a whole adapts to the efficient management needs of the RS485 bus address resource pool throughout the life cycle, and maintains the efficient utilization efficiency of the RS485 bus address resource pool.

[0082] As Figure 7As shown, it is a communication address resource management system function composition architecture provided by the application. The system architecture level includes: field collection layer, field intelligent application layer, and Internet of Things management platform layer.

[0083] The field collection layer includes: a tag collection module and a field collection gateway. The tag collection module is used to collect RFID tags and is mounted under a bus address as a communication node. One field collection gateway can manage multiple tag collection modules. The field intelligent application layer includes: intelligent terminals such as smart phones (or smart tablets, etc.) and their APP applications. The Internet of Things management platform layer includes: an Internet of Things management platform and a database. The database is used to store soft backplane templates and bus address resource pools.

[0084] The field collection gateway and the intelligent terminal communicate instructions through the message bus protocol (MQTT / TCP). The field intelligent terminal and the Internet of Things management platform use HTTP communication.

[0085] The above system embodies the design concept of hierarchical design and cross-layer cooperation. Cross-layer cooperation mainly includes: information exchange between the field collection gateway and the field intelligent terminal; information exchange between the field intelligent terminal and the Internet of Things management platform.

[0086] The tag collection module is used to collect RFID tag data on the connectors of a group of port adapters on the fiber distribution panel in the ODN device in real time, and upload the collection results to the field collection gateway through the RS485 bus. It accepts the driving light of the field collection gateway and realizes the operation prompt of the tag collection module through the light flashing mode. The field collection gateway is used to power the RFID collection module, provide a communication interface connected to the public network and the private network, realize the initialization of the gateway, the configuration data and the cache management of the collection data, support the instruction interaction management between the gateway and the mobile terminal, and realize the RS485 bus communication management between the gateway and the tag collection module. The intelligent terminal includes: a soft backplane bus address initialization module, a soft backplane bus address allocation module, a soft backplane bus address matching module, a soft backplane bus address allocation instruction interaction processing module, a soft backplane template management module, and a soft backplane bus address resource pool module. Among them: The soft backplane bus address initialization module is specifically used to load the inventory of ODN device soft backplane data from the Internet of Things management platform by using the northbound interaction module, or to newly create ODN device soft backplane data. The inventory of bus address resource pool data is loaded from the Internet of Things management platform by using the northbound interaction module, or the bus address resource pool data is newly created. The soft backplane data fits the physical structure space characteristics of the ODN device. The bus address resource pool takes the field collection gateway ID as the primary key and stores parameters related to the bus address.

[0087] a soft backboard bus address allocation module, configured to pre-allocate a bus address resource pool: based on soft backboard data, assign values to corresponding parameters of bus address resources in the bus address resource pool; a soft backboard bus address matching module, configured to screen the bus address resource pool: based on the ODN device slot number to be assembled on site, screen the bus address resources to obtain a configuration snapshot; a soft backboard bus address allocation instruction interaction processing module, configured to bind the configuration snapshot: based on the command mode, sequentially issue the bus address resources in the configuration snapshot to the tag collection module via the on-site collection gateway, and receive the bus address resources sent by the collection gateway, which contain the tag collection module ID value, bus number and slot number; a soft backboard bus address resource pool module, configured to store the soft backboard bus address resource pool, and record the bus address resources containing the tag collection module ID value, bus number and slot number.

[0088] Further, the intelligent terminal further comprises a soft backboard template management module and a northbound interaction module soft backboard bus address resource pool; the soft backboard template management module is configured to manage soft backboard template data, and support data twinning between an instance of an ODN device soft backboard template and an on-site ODN device; the northbound interaction module is configured to interact with an Internet of Things management platform; Further, the soft backboard bus address allocation module comprises a soft backboard bus address full allocation module and a soft backboard bus address customizable allocation module; the soft backboard bus address full allocation module is configured to fully pre-allocate a bus address resource pool: based on soft backboard data, fully assign values to corresponding parameters of bus address resources in the bus address resource pool; the soft backboard bus address customizable allocation module is configured to customizable pre-allocate a bus address resource pool: based on soft backboard data, assign values to corresponding parameters of bus address resources in the bus address resource pool according to customizable parameter values, wherein the customizable parameters include: slot number and bus number.

[0089] Further, the intelligent terminal further comprises an operation visual module, configured to implement editing operations of gateway ID binding of the soft backboard template object of the ODN device, multi-layer structure template of the ODN device soft backboard, multi-mode selection and allocation of the soft backboard RS485 bus address of the on-site ODN device, and real-time on-site feedback processing and query of the RS485 bus address resources.

[0090] The information model features of the soft backboard template of the ODN device are as follows: The information model is based on multi-layer nesting, and from outside to inside, includes a surface template, a frame template, a box template and a slot template; from outside to inside, the relationship between the templates is an aggregation relationship; the number and direction of slots of the box template can be customized; the number and direction of frames of the frame template can be customized; and the surface number attribute of the surface template can be customized.

[0091] The operation steps of the soft backboard template management module are as follows: 0) Establish a communication connection between the field intelligent terminal and the upper layer Internet of Things management platform; 1) Operate the field intelligent terminal, retrieve the local storage of the ODN equipment soft backboard template, and return the ODN equipment soft backboard template and the type of the field ODN equipment soft backboard template? Yes, go to 2); No, go to 3); 2) Exit; 3) In the operation interface of the ODN equipment soft backboard template, construct the soft backboard template of the ODN equipment, and the following operations are processed according to the ODN equipment, and the steps are as follows: 3.1) According to the total number of ports of the same fiber distribution panel of the ODN equipment, construct a slot template; the attribute items of the slot template include: total number of ports, slot number (default from 0); 3.2) According to the slot direction and total number of slots of the frame of the ODN equipment, construct the frame template of the soft backboard of the ODN equipment; wherein, the attribute items of the frame template include: frame number, total number of slots, slot direction, slot number sequence (default from 0); 3.3) According to the frame body structure of the ODN equipment, construct the frame template of the soft backboard of the ODN equipment, and the attribute items include: frame number, total number of frames, frame direction, frame number sequence (default from 0); 3.4) According to the surface distribution of the frame body of the ODN equipment, construct the surface template of the soft backboard of the ODN equipment, and the attribute items include: surface number (default from 0), gateway ID (reserved, only used after the ODN equipment soft backboard template is instantiated), frame body sequence number; 3.5) Save the ODN equipment soft backboard template data in the local; 3.6) Submit the ODN equipment soft backboard template data to the upper layer Internet of Things management platform; go to 2).

[0092] Based on the same inventive concept as disclosed above, the present application also provides an electronic device, as shown in the accompanying drawings. Figure 8 The electronic device of the present application embodiment comprises at least one processor and at least one memory electrically connected, wherein the memory is electrically connected with the processor, and the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method as described above.

[0093] It should be noted that the electrical connection between the various units described above does not necessarily mean that the connection between the lines is connected indirectly, as long as the purpose of the application is achieved.

[0094] Based on the same inventive concept, the application further provides a computer storage medium, wherein a computer program is stored in the computer storage medium, and the computer program is executed by a processor to implement the steps of the method.

[0095] Although the application has been described in detail with reference to the foregoing embodiments, it should be understood by those skilled in the art that the technical solutions recorded in the foregoing embodiments can be modified, or some technical features can be replaced by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the application.

Claims

1. A communication address resource management method, characterized in that: include: Initialize the bus address resource pool: Obtain the soft backplane data of the ODN device and initialize the bus address resource pool. The soft backplane data fits the physical structure and spatial characteristics of the ODN device. The bus address resource pool uses the field acquisition gateway ID as the primary key and stores parameters related to the bus address. Pre-allocate bus address resource pool: assign values ​​to corresponding parameters of bus address resources in the bus address resource pool based on soft backplane data; Filter bus address resource pool: Based on the slot number of the ODN equipment to be assembled on site, filter bus address resources and obtain a configuration snapshot; Binding configuration snapshot: Based on the command mode, the bus address resources in the configuration snapshot are sent to the tag collection module one by one through the field collection gateway. The bus address resources including the tag collection module ID value, bus number and slot number sent by the collection gateway are received and recorded, and the binding relationship between the bus number, tag collection module ID value and slot number is established.

2. The method according to claim 1, characterized in that Initialize the bus address resource pool: Obtain the ODN device soft backplane data and initialize the bus address resource pool, including: Initialize the bus address resource pool: Establish a communication connection with the IoT management platform, load existing ODN device soft backplane data from the IoT management platform, or create new ODN device soft backplane data; Load existing bus address resource pool data from the IoT management platform, or create new bus address resource pool data.

3. The method according to claim 1, characterized in that Pre-allocating a bus address resource pool, including: fully pre-allocating a bus address resource pool: assigning values ​​to corresponding parameters of bus address resources in the bus address resource pool based on soft backplane data; or Customizable pre-allocated bus address resource pool: Based on the soft backplane data, the corresponding parameters of the bus address resources in the bus address resource pool are assigned values ​​according to customizable parameter values, where the customizable parameters include: slot number and bus number.

4. The method according to claim 1, wherein Filter the bus address resource pool: Based on the slot number of the ODN device to be assembled on site, filter the bus address resources and obtain a configuration snapshot, including: Filter the bus address resource pool: Based on the optical cable segment termination data of the ODN device to be assembled on site, determine the ODN device slot number, filter the bus address resources, and obtain a configuration snapshot.

5. The method according to claim 1, wherein The parameters related to the bus address include the optical cable segment ID, the ODN device ID and the status; when removing the optical cable segment, the method further includes: Unbind configuration snapshot: Search the configuration snapshots for a configuration snapshot that matches both the ID value of the removed optical cable segment and the ID value of the ODN device, and whose status is Bound and Terminated. Set the optical cable segment ID value in the found configuration snapshot to the initial value, and set the status in the found configuration snapshot to Bound but Not Terminated. This initial value indicates that the optical cable segment is not connected.

6. The method according to claim 5, characterized in that When installing a new fiber optic cable segment, the method further comprises: Reusing a configuration snapshot: Filter available configuration snapshots from the unbound configuration snapshots based on the number of fiber cores in the new cable segment. Change the cable segment ID value of the available configuration snapshot to the new cable segment ID value. Bind the changed available configuration snapshot and change its status to Ended and Bound.

7. The method according to any one of claims 1 to 6, characterized in that: The parameters related to the bus address include the ODN device ID; when removing the ODN device, the method further includes: Clear bus address resources: Determine the ID value of the ODN device to be removed, search the bus address resource pool for a bus address resource that matches the ID value of the ODN device to be removed, delete the values ​​of each parameter in the found bus address resource, and release the corresponding data object in the bus address resource pool.

8. The method according to claim 1, characterized in that The bus is an RS485 bus. The parameters related to the bus address are organized in the form of a structure. The bus address resource pool stores the basic bus address structure, which includes: ODN device ID, gateway ID, surface number, rack number, frame number, slot number, RS485 bus number, status, label collection module ID, and optical cable segment ID.

9. A communication address resource management device, characterized in that: Applications in smart terminals include: The soft backplane bus address initialization module is used to initialize the bus address resource pool: it obtains the soft backplane data of the ODN device and initializes the bus address resource pool. The soft backplane data fits the physical structure and spatial characteristics of the ODN device. The bus address resource pool uses the field acquisition gateway ID as the primary key and stores parameters related to the bus address. The soft backplane bus address allocation module is used to pre-allocate the bus address resource pool: assign values ​​to corresponding parameters of the bus address resources in the bus address resource pool based on the soft backplane data; The soft backplane bus address matching module is used to filter the bus address resource pool: based on the slot number of the ODN device to be assembled on site, the bus address resources are filtered to obtain a configuration snapshot; The soft backplane bus address allocation instruction interaction processing module is used to bind the configuration snapshot: based on the command mode, it sends the bus address resources in the configuration snapshot to the tag collection module one by one through the field collection gateway, and receives the bus address resources sent by the collection gateway, which include the tag collection module ID value, bus number and slot number; The soft backplane bus address resource pool module is used to store the soft backplane bus address resource pool, record the bus address resources including the tag collection module ID value, bus number and slot number, and establish a binding relationship between the bus number, tag collection module ID value and slot number.

10. The device according to claim 9, characterized in that Also includes: Soft backplane template management module and northbound interaction module soft backplane bus address resource pool; The soft backplane template management module is used to manage soft backplane template data and support the establishment of data twins between ODN device soft backplane template instances and on-site ODN devices; Northbound interaction module, used to interact with the IoT management platform; The soft backplane bus address initialization module is specifically used to use the northbound interaction module to load the existing ODN device soft backplane data from the Internet of Things management platform, or to create new ODN device soft backplane data; and to use the northbound interaction module to load the existing bus address resource pool data from the Internet of Things management platform, or to create new bus address resource pool data.

11. The device according to claim 9, characterized in that Soft backplane bus address allocation module, including: soft backplane bus address full allocation module and soft backplane bus address customizable allocation module; The soft backplane bus address full allocation module is used to fully pre-allocate the bus address resource pool: based on the soft backplane data, the corresponding parameters of the bus address resources in the bus address resource pool are fully assigned; The soft backplane bus address can be customized and allocated. The module is used for customizing the pre-allocated bus address resource pool: based on the soft backplane data, the corresponding parameters of the bus address resources in the bus address resource pool are assigned according to the customizable parameter values, where the customizable parameters include: slot number and bus number.

12. A communication address resource management system, characterized in that: include: The intelligent terminal, on-site collection gateway, tag collection module, Internet of Things management platform and database described in any one of claims 9 to 11.

13. The system according to claim 12, wherein: The on-site acquisition gateway and the smart terminal communicate commands via the message bus protocol; HTTP communication is used between the smart terminal and the IoT management platform.

14. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; Memory for storing computer programs; A processor, configured to implement the method according to any one of claims 1 to 8 when executing a program stored in a memory.

15. A computer storage medium, characterized in that The computer storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.