CN116781507A - Configuration method, device and storage medium - Google Patents

Configuration method, device and storage medium Download PDF

Info

Publication number
CN116781507A
CN116781507A CN202310779529.7A CN202310779529A CN116781507A CN 116781507 A CN116781507 A CN 116781507A CN 202310779529 A CN202310779529 A CN 202310779529A CN 116781507 A CN116781507 A CN 116781507A
Authority
CN
China
Prior art keywords
optical fiber
target
information
fiber transceiver
transceiver
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.)
Pending
Application number
CN202310779529.7A
Other languages
Chinese (zh)
Inventor
胥锋
沈镇平
解芸
潘皓
费承森
李胜
朱卫锋
杨福理
张国鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202310779529.7A priority Critical patent/CN116781507A/en
Publication of CN116781507A publication Critical patent/CN116781507A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0086Network resource allocation, dimensioning or optimisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The application provides a configuration method, a device and a storage medium, relates to the technical field of optical fiber transceivers, and can solve the problem that the configuration efficiency of the existing optical fiber transceivers is extremely low. The method comprises the following steps: determining status information of the plurality of fiber optic transceivers; transmitting a basic script to a target optical fiber transceiver to acquire capability information of the target optical fiber transceiver; the basic script is used for detecting whether the optical fiber transceiver has the capability of processing target service; the target optical fiber transceiver is an optical fiber transceiver in an idle state in the plurality of optical fiber transceivers; in the event that the target fiber optic transceiver does not have the capability to handle the target traffic, configuration information for the target traffic is transmitted to the target fiber optic transceiver. The application can improve the configuration efficiency.

Description

Configuration method, device and storage medium
Technical Field
The present application relates to the field of optical fiber transceivers, and in particular, to a configuration method, an apparatus, and a storage medium.
Background
The optical fiber transceiver is an ethernet transmission medium conversion unit for exchanging short-distance twisted pair electrical signals and long-distance optical signals, and is used for accessing the ethernet and carrying data transmission in the UTN network.
When the optical fiber transceiver performs network access service, a worker is required to manually configure the optical fiber transceiver, and the efficiency is extremely low.
Disclosure of Invention
The application provides a configuration method, a device and a storage medium, which solve the problem of extremely low configuration efficiency of the conventional optical fiber transceiver and can improve the configuration efficiency.
In order to achieve the above purpose, the application adopts the following technical scheme:
in a first aspect, the present application provides a configuration method applied to an intelligent cloud platform, where the intelligent cloud platform is used for managing a plurality of optical fiber transceivers, the method including: determining status information of the plurality of fiber optic transceivers; transmitting a base script to a target fiber optic transceiver to determine whether the fiber optic transceiver has the capability to handle the target traffic; the target optical fiber transceiver is an optical fiber transceiver in an idle state in the plurality of optical fiber transceivers; in the event that the target fiber optic transceiver does not have the capability to handle the target traffic, configuration information for the target traffic is transmitted to the target fiber optic transceiver.
With reference to the first aspect, in one possible implementation manner, the method further includes: acquiring port information of a plurality of optical fiber transceivers, a plurality of service tags and service IDs; for each optical fiber transceiver, determining that the optical fiber transceiver is in an idle state when a port of the optical fiber transceiver is unoccupied, a service tag which does not contain a target service in the plurality of service tags, and a service ID are in the idle state.
With reference to the first aspect, in one possible implementation manner, the method further includes: acquiring a gateway address and a mask of a target optical fiber transceiver; according to the gateway address and the mask, calculating and generating an IP address; and under the condition that the IP address meets the preset condition, sending the IP address to the target optical fiber transceiver, wherein the IP address is used for managing the target optical fiber transceiver.
With reference to the first aspect, in one possible implementation manner, the method further includes: receiving alarm information from a target optical fiber transceiver, wherein the alarm information is sent by the target optical fiber transceiver by using an IP address; and determining the type of the alarm information according to the field in the alarm information, wherein the type of the alarm information comprises alarm generation information and alarm elimination information.
In a second aspect, the present application provides a configuration method applied to a target optical fiber transceiver, where the target optical fiber transceiver is connected to an intelligent cloud platform, and the intelligent cloud platform is configured to manage a plurality of optical fiber transceivers, and the target optical fiber transceiver is an optical fiber transceiver in an idle state in the plurality of optical fiber transceivers, where the method includes: receiving a basic script from an intelligent cloud platform; determining whether the target optical fiber transceiver has the capability of processing the target service according to the basic script; transmitting first indication information to the intelligent cloud platform under the condition that the target optical fiber transceiver does not have the capability of processing the target service; the first indication information is used for indicating the intelligent cloud platform to send configuration information of the target service to the target optical fiber transceiver; and receiving configuration information of the target service from the intelligent cloud platform.
With reference to the second aspect, in one possible implementation manner, the method further includes: and sending the port information, the plurality of service labels and the service ID to the intelligent cloud platform.
With reference to the second aspect, in one possible implementation manner, the method further includes: sending the gateway address and the mask to the intelligent cloud platform; receiving an IP address from an intelligent cloud platform; the IP address is used to manage the target fiber optic transceiver.
With reference to the second aspect, in one possible implementation manner, the method further includes: based on the IP address, sending alarm information to the intelligent cloud platform; the types of the alarm information include alarm generation information and alarm elimination information.
With reference to the second aspect, in one possible implementation manner, the method further includes: under the condition that the power supply of the optical fiber transceiver is normal, the communication module sends equipment information of the optical fiber transceiver to the resource cloud platform; the equipment information comprises at least one of hardware MAC address information of the optical fiber transceiver, equipment identification information, charging and discharging states of a standby power supply, electric quantity of the standby power supply and longitude and latitude information of a base station corresponding to the optical fiber transceiver; under the condition that the power supply of the optical fiber transceiver is abnormal, the optical fiber transceiver controls the communication module to send equipment information to the resource cloud platform every preset time period; wherein the standby power supply supplies power to the optical fiber transceiver; the communication module remains dormant for a preset period of time.
In a third aspect, the present application provides a communications apparatus comprising: a communication unit and a processing unit; a communication unit for determining status information of the plurality of optical fiber transceivers; the communication unit is further used for sending a basic script to the target optical fiber transceiver so as to determine whether the target optical fiber transceiver has the capability of processing target service; the target optical fiber transceiver is an optical fiber transceiver in an idle state in the plurality of optical fiber transceivers; and the processing unit is used for sending the configuration information of the target service to the target optical fiber transceiver under the condition that the target optical fiber transceiver does not have the capability of processing the target service.
With reference to the third aspect, in one possible implementation manner, the communication unit is specifically configured to obtain port information of the plurality of optical fiber transceivers, a plurality of service tags, and a service ID; the processing unit is specifically configured to determine, for each optical fiber transceiver, that the optical fiber transceiver is in an idle state when a port of the optical fiber transceiver is unoccupied, a service tag that does not include a target service from the plurality of service tags, and a service ID are in an idle state.
With reference to the third aspect, in one possible implementation manner, the communication unit is further configured to obtain a gateway address and a mask of the target optical fiber transceiver; the processing unit is also used for calculating and generating an IP address according to the gateway address and the mask; and the processing unit is also used for indicating the communication unit to send the IP address to the target optical fiber transceiver under the condition that the IP address meets the preset condition, and the IP address is used for managing the target optical fiber transceiver.
With reference to the third aspect, in one possible implementation manner, the communication unit is further configured to receive alarm information from the target optical fiber transceiver, where the alarm information is sent by the target optical fiber transceiver using an IP address; the processing unit is also used for determining the type of the alarm information according to the fields in the alarm information, wherein the type of the alarm information comprises alarm generation information and alarm elimination information.
In a fourth aspect, the present application provides a communication device comprising: a communication unit and a processing unit; the communication unit is used for receiving the basic script from the intelligent cloud platform; the processing unit is used for determining whether the target optical fiber transceiver has the capability of processing the target service according to the basic script; the processing unit is used for indicating the communication unit to send first indication information to the intelligent cloud platform under the condition that the target optical fiber transceiver does not have the capability of processing the target service; the first indication information is used for indicating the intelligent cloud platform to send configuration information of the target service to the target optical fiber transceiver; and the communication unit is also used for receiving the configuration information of the target service from the intelligent cloud platform.
With reference to the fourth aspect, in one possible implementation manner, the communication unit is specifically configured to send port information, a plurality of service tags, and a service ID to the intelligent cloud platform.
With reference to the fourth aspect, in one possible implementation manner, the communication unit is further configured to: sending the gateway address and the mask to the intelligent cloud platform; receiving an IP address from an intelligent cloud platform; the IP address is used to manage the target fiber optic transceiver.
With reference to the fourth aspect, in a possible implementation manner, the communication unit is further configured to send alarm information to the intelligent cloud platform based on the IP address; the types of the alarm information include alarm generation information and alarm elimination information.
With reference to the fourth aspect, in a possible implementation manner, the processing unit is further configured to: under the condition that the power supply of the optical fiber transceiver is normal, transmitting equipment information of the optical fiber transceiver to a resource cloud platform; the equipment information comprises at least one of hardware MAC address information of the optical fiber transceiver, equipment identification information, charging and discharging states of a standby power supply, electric quantity of the standby power supply and longitude and latitude information of a base station corresponding to the optical fiber transceiver; under the condition that the power supply of the optical fiber transceiver is abnormal, transmitting equipment information to the resource cloud platform every preset time period; wherein the standby power supply supplies power to the optical fiber transceiver; the communication module remains dormant for a preset period of time.
In a fifth aspect, the present application provides a communication apparatus comprising: a processor and a communication interface; the communication interface is coupled to a processor for running a computer program or instructions to implement the configuration method as described in any one of the possible implementations of the first aspect and the first aspect.
In a sixth aspect, the present application provides a communication apparatus comprising: a processor and a communication interface; the communication interface is coupled to a processor for running a computer program or instructions to implement the configuration method as described in any one of the possible implementations of the second aspect and the second aspect.
In a seventh aspect, the present application provides a computer readable storage medium having instructions stored therein which, when run on a terminal, cause the terminal to perform a configuration method as described in any one of the possible implementations of the first aspect and the first aspect.
In an eighth aspect, the present application provides a computer readable storage medium having instructions stored therein which, when run on a terminal, cause the terminal to perform a configuration method as described in any one of the possible implementations of the second aspect and the second aspect.
In a ninth aspect, the application provides a computer program product comprising instructions which, when run on a configuration device, cause the configuration device to perform the configuration method as described in any one of the possible implementations of the first aspect and the first aspect.
In a tenth aspect, the application provides a computer program product comprising instructions which, when run on a configuration device, cause the configuration device to perform the configuration method as described in any one of the possible implementations of the second aspect and the second aspect.
In an eleventh aspect, the application provides a chip comprising a processor and a communication interface, the communication interface and the processor being coupled, the processor being for running a computer program or instructions to implement a configuration method as described in any one of the possible implementations of the first aspect and the first aspect.
In a twelfth aspect, the application provides a chip comprising a processor and a communications interface, the communications interface and the processor being coupled, the processor being for running a computer program or instructions to implement a configuration method as described in any one of the possible implementations of the second aspect and the second aspect.
In particular, the chip provided in the present application further includes a memory for storing a computer program or instructions.
It should be noted that the above-mentioned computer instructions may be stored in whole or in part on a computer-readable storage medium. The computer readable storage medium may be packaged together with the processor of the apparatus or may be packaged separately from the processor of the apparatus, which is not limited in this respect.
In a thirteenth aspect, the present application provides a configuration system comprising: a fibre optic transceiver for performing the configuration method as described in any one of the possible implementations of the first aspect and the first aspect, and a smart cloud platform for performing the configuration method as described in any one of the possible implementations of the second aspect and the second aspect.
The description of the second to thirteenth aspects of the present application may refer to the detailed description of the first aspect; also, the advantageous effects described in the second aspect to the thirteenth aspect may refer to the advantageous effect analysis of the first aspect, and are not described here again.
In the present application, the names of the above configuration means do not constitute limitations on the devices or function modules themselves, and in actual implementation, these devices or function modules may appear under other names. Insofar as the function of each device or function module is similar to that of the present application, it falls within the scope of the claims of the present application and the equivalents thereof.
These and other aspects of the application will be more readily apparent from the following description.
The scheme at least brings the following beneficial effects: based on the technical scheme, the intelligent cloud platform determines the state information of the plurality of optical fiber transceivers and sends the basic script to the target optical fiber transceivers, and the intelligent cloud platform can acquire the capability information of the target optical fiber transceivers through the basic script because the basic script is used for detecting whether the optical fiber transceivers have the capability of processing target services. In the case that the target optical fiber transceiver does not have the capability of processing the target service, the intelligent cloud platform transmits configuration information of the target service to the target optical fiber transceiver. Compared with the prior optical fiber transceiver, when the network access service is carried out, the manual service configuration is carried out on the optical fiber transceiver by a worker, and the efficiency is extremely low. The technical scheme realizes the data transmission between the optical fiber transceiver and the intelligent cloud platform, can rapidly and efficiently complete configuration, and greatly improves the configuration efficiency.
Drawings
FIG. 1 is a schematic diagram of a configuration system according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a configuration method according to an embodiment of the present application;
Fig. 3 is a schematic structural diagram of a configuration device according to an embodiment of the present application;
FIG. 4 is a flowchart of a configuration method according to an embodiment of the present application;
FIG. 5 is a flowchart of another configuration method according to an embodiment of the present application;
FIG. 6 is a flowchart of another configuration method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a communication device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of another communication device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The term "and/or" is herein merely an association relationship describing an associated object, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone.
The terms "first" and "second" and the like in the description and in the drawings are used for distinguishing between different objects or between different processes of the same object and not for describing a particular order of objects.
Furthermore, references to the terms "comprising" and "having" and any variations thereof in the description of the present application are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed but may optionally include other steps or elements not listed or inherent to such process, method, article, or apparatus.
It should be noted that, in the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g." in an embodiment should not be taken as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In the description of the present application, unless otherwise indicated, the meaning of "a plurality" means two or more.
The optical fiber transceiver is an ethernet transmission medium conversion unit for exchanging short-distance twisted pair electrical signals and long-distance optical signals, and is used for accessing the ethernet and carrying data transmission in the UTN network.
When the optical fiber transceiver performs network access service, a worker is required to perform manual service configuration on the optical fiber transceiver, and the efficiency is extremely low.
The optical fiber transceiver is located at the network edge, and under the condition that the optical fiber transceiver fails, an operator cannot know the working state of the optical fiber transceiver in time, so that maintenance cannot be performed on the optical fiber transceiver in time. And the existing optical fiber transceiver has no positioning function, and after the intelligent optical fiber transceiver opens network access service, the position of the intelligent optical fiber transceiver cannot be determined in time, so that operation and maintenance are difficult.
In view of this, according to the configuration method provided by the application, the intelligent cloud platform determines the state information of the plurality of optical fiber transceivers and sends the basic script to the target optical fiber transceivers, and because the basic script is used for detecting whether the optical fiber transceivers have the capability of processing the target service, the intelligent cloud platform can acquire the capability information of the target optical fiber transceivers through the basic script. In the case that the target optical fiber transceiver does not have the capability of processing the target service, the intelligent cloud platform transmits configuration information of the target service to the target optical fiber transceiver. Compared with the prior optical fiber transceiver, when the network access service is carried out, the manual service configuration is carried out on the optical fiber transceiver by a worker, and the efficiency is extremely low. The technical scheme realizes the data transmission between the optical fiber transceiver and the intelligent cloud platform, can rapidly and efficiently complete configuration, and greatly improves the configuration efficiency.
The following describes embodiments of the present application in detail with reference to the drawings.
Fig. 1 is a block diagram of a configuration system 10 according to an embodiment of the present application. As shown in fig. 1, the configuration system 10 includes: fiber optic transceiver 101, smart cloud platform 102, and resource cloud platform 103.
The optical fiber transceiver 101, the intelligent cloud platform 102 and the resource cloud platform 103 may be one or more, and only one is shown in fig. 1 for convenience of understanding.
The fiber optic transceiver 101, the smart cloud platform 102, and the resource cloud platform 103 are connected by a communication link. The communication link may be a wired communication link or a wireless communication link, which is not limited in this regard by the present application.
In a possible implementation manner, as shown in fig. 2, the optical fiber transceiver 101 establishes a communication channel with the intelligent cloud platform 102 to complete the nano-tube intelligent cloud platform. The intelligent cloud platform 102 issues service configurations to the fiber optic transceiver 101 based on the communication channel. When the optical fiber transceiver 101 is abnormal, the optical fiber transceiver 101 sends alarm information to the intelligent cloud platform 102 based on the communication channel. In addition, the optical fiber transceiver 101 can also send device position information to the resource cloud platform 103, and in the case of power failure, the standby power supply supplies power to the module, and the optical fiber transceiver 101 sends the device position information to the resource cloud platform 103 through the module.
Hereinafter, a specific procedure of establishing a communication channel between the optical fiber transceiver 101 and the smart cloud platform 102 will be described.
In a possible implementation manner, the optical fiber transceiver 101 establishes a communication channel with the intelligent cloud platform 102 by means of a dynamic host configuration protocol (dynamic host configuration protocol, DHCP) to complete the nano-tube intelligent cloud platform 102.
Illustratively, the fiber optic transceiver 101 sends a DHCP message to the smart cloud platform 102. The intelligent cloud platform 102 parses the device information of the optical fiber transceiver 101 in the DHCP packet, calculates the management address based on the device information, and sends the management address and the legal result of the management address to the optical fiber transceiver 101 in the form of an offer packet. According to the legal result of the management address, if the management address is legal, the optical fiber transceiver 101 sends a confirmation message to the intelligent cloud platform 102. Correspondingly, the intelligent cloud platform 102 sends a confirmation message to the optical fiber transceiver 101, and the process of establishing a communication channel between the optical fiber transceiver 101 and the intelligent cloud platform 102 is completed.
The following describes the specific procedure for the fiber optic transceiver 101 to perform service configuration.
In one possible implementation, the smart cloud platform 102 issues service configuration scripts to the fiber optic transceiver 101 based on the communication channel.
Illustratively, the smart cloud platform 102 detects whether a port of the fiber optic transceiver 101 is occupied, whether a service tag is repeated, and whether a service ID is idle. If the port is unoccupied, the service tag is not repeated, and the service ID is idle, the intelligent cloud platform 102 determines that the optical fiber transceiver 101 is in an idle state, and sends a service configuration basic script to the optical fiber transceiver 101. The fiber transceiver 101 detects whether the service configuration basic script is contained in the configuration file. If not, the intelligent cloud platform 102 is instructed to send the service configuration script. If so, the optical fiber transceiver 101 sends service configuration script issuing failure information to the intelligent cloud platform.
Hereinafter, a process of transmitting alarm information to the smart cloud platform 102 when an abnormality occurs in the optical fiber transceiver 101 will be described in detail.
In a possible implementation manner, when the optical fiber transceiver 101 is abnormal, the optical fiber transceiver 101 sends alarm information to the intelligent cloud platform 102 based on a communication channel. Accordingly, the smart cloud platform 102 receives the alert information.
The alarm information may include an optical port LOS alarm and a power failure alarm.
Illustratively, in the case that the optical fiber transceiver 101 generates an optical port LOS alarm and a power-down alarm, the optical fiber transceiver 101 sends the optical port LOS alarm information and the power-down alarm information to the intelligent cloud platform 102.
Hereinafter, a process of transmitting the anomaly vanishing information to the smart cloud platform 102 when the anomaly vanishes in the optical fiber transceiver 101 will be described in detail.
In another possible implementation, when the anomaly of the optical fiber transceiver 101 disappears, the optical fiber transceiver 101 sends anomaly disappearance information to the smart cloud platform 102 based on the communication channel. Accordingly, the smart cloud platform 102 receives the anomaly vanishing information.
Illustratively, in the case where the optical transceiver 101 has an optical port LOS alarm disappeared and a power-down alarm disappeared, the optical transceiver 101 transmits the optical port LOS alarm disappeared information and the power-down alarm disappeared information to the intelligent cloud platform 102.
Hereinafter, a process in which the optical fiber transceiver 101 transmits device location information to the resource cloud platform 103 will be specifically described. The target fiber optic transceiver includes a communication module.
In one possible implementation, the communication module is exemplified by a module in the internet of things module. Under the condition that the power supply of the optical fiber transceiver 101 is normal, the optical fiber transceiver 101 obtains the hardware (Media Access Control, MAC) address information of the optical fiber transceiver 101 through a module in the internet of things module. The optical fiber transceiver 101 sends the MAC address information, the device identification information of the optical fiber transceiver 101, the charge and discharge state of the standby power supply, the remaining power of the standby power supply, and the longitude and latitude information of the base station corresponding to the optical fiber transceiver 101 to the resource cloud platform 103.
In another possible implementation, in the case of power failure of the optical fiber transceiver 101, the standby power supply supplies power to the modules in the optical fiber transceiver, and obtains the MAC address information of the optical fiber transceiver 101. Every preset time period, the optical fiber transceiver 101 sends the MAC address information, the device identification information of the optical fiber transceiver 101, the charge and discharge state of the standby power supply, the residual power of the standby power supply and the longitude and latitude information of the base station corresponding to the optical fiber transceiver 101 to the resource cloud platform 103 through the module.
When implemented in hardware, the various modules in the configuration system 10 may be integrated into the hardware structure of the configuration device as shown in fig. 3. Specifically, as shown in fig. 3, the basic hardware structure of the configuration apparatus is described.
Fig. 3 is a schematic structural diagram of a configuration device according to an embodiment of the present application. As shown in fig. 5, the configuration means comprises at least one processor 301, a communication line 302, and at least one communication interface 304, and may further comprise a memory 303. The processor 301, the memory 303, and the communication interface 304 may be connected through a communication line 302.
Processor 301 may be a central processing unit (central processing unit, CPU), an application specific integrated circuit (application specific integrated circuit, ASIC), or one or more integrated circuits configured to implement embodiments of the present application, such as: one or more digital signal processors (digital signal processor, DSP), or one or more field programmable gate arrays (field programmable gate array, FPGA).
Communication line 302 may include a path for communicating information between the above-described components.
The communication interface 304 is used to communicate with other devices or communication networks, and any transceiver-like device may be used, such as ethernet, radio access network (radio access network, RAN), wireless local area network (wireless local area networks, WLAN), etc.
The memory 303 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (random access memory, RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (electrically erasable programmable read-only memory, EEPROM), a compact disc read-only memory (compact disc read-only memory) or other optical disc storage, a compact disc storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to include or store the desired program code in the form of instructions or data structures and that can be accessed by a computer.
In a possible design, the memory 303 may exist separately from the processor 301, i.e. the memory 303 may be a memory external to the processor 301, where the memory 303 may be connected to the processor 301 by a communication line 302 for storing execution instructions or application program code, and the execution is controlled by the processor 301 to implement a configuration method provided by an embodiment of the present application described below. In yet another possible design, the memory 303 may be integrated with the processor 301, i.e., the memory 303 may be an internal memory of the processor 301, e.g., the memory 303 may be a cache, and may be used to temporarily store some data and instruction information, etc.
As one possible implementation, processor 301 may include one or more CPUs, such as CPU0 and CPU1 in fig. 3. As another possible implementation, the configuration means may comprise a plurality of processors, such as processor 301 and processor 307 in fig. 3. As yet another possible implementation, the configuration apparatus may further include an output device 305 and an input device 306.
It should be noted that, the embodiments of the present application may refer to or refer to each other, for example, the same or similar steps, and the method embodiment, the system embodiment and the device embodiment may refer to each other, which is not limited.
Fig. 4 is a flowchart of a configuration method according to an embodiment of the present application, where the method may be applied to the configuration device shown in fig. 3, or may be applied to the configuration system shown in fig. 1. As shown in fig. 4, the method includes the following S401 to S405.
S401, the intelligent cloud platform determines state information of a plurality of optical fiber transceivers.
The status information of the optical fiber transceiver may include an idle state and an operating state.
In one possible implementation manner, for each optical fiber transceiver, the intelligent cloud platform acquires port information, a service tag and a service ID of the optical fiber transceiver, and determines state information of the optical fiber transceiver according to the port information, the service tag and the service ID of the optical fiber transceiver. Specifically, the determining process of the status information of the optical fiber transceiver may refer to S501-S502 as shown in fig. 5.
S402, the intelligent cloud platform sends a basic script to the target optical fiber transceiver to acquire capability information of the target optical fiber transceiver. Accordingly, the target fiber optic transceiver receives the base script from the smart cloud platform.
The basic script is used for detecting whether the optical fiber transceiver has the capability of processing target service. The target fiber optic transceiver is an idle fiber optic transceiver of the plurality of fiber optic transceivers.
Illustratively, the base script includes a new user name and authentication, a device management (SNMP TRAP server) address, a log event (syslog) enable, and a server address. And under the condition that the target optical fiber transceiver is in an idle state, the intelligent cloud platform sends a new user name and authentication, an SNMP TRAP server address, syslog enabling and a server address to the target optical fiber transceiver.
It should be noted that the simple network management protocol (simple network management protocol) is an application layer protocol, which is a part of the TCP/IP protocol. The network devices can exchange management information quickly through the SNMP protocol. The enabled state of the syslog reporting function is used to characterize the input and output of control signals.
S403, the target optical fiber transceiver determines whether the target optical fiber transceiver has the capability of processing the target service based on the basic script.
Illustratively, the target fiber optic transceiver determines whether the configuration information includes information such as a new username and authentication, a device management (SNMP TRAP server) address, a log event (syslog) enable, and a server address. If so, the target fiber optic transceiver is determined to have the capability of processing the target traffic. If not, it is determined that the target fiber optic transceiver does not have the capability to handle the target traffic.
S404, the target optical fiber transceiver sends first indication information to the intelligent cloud platform under the condition that the target optical fiber transceiver does not have the capability of processing target service. Correspondingly, the intelligent cloud platform receives first indication information from the optical fiber transceiver.
The first indication information is used for indicating the intelligent cloud platform to send configuration information of the target service to the target optical fiber transceiver.
Illustratively, in the event that the target fiber optic transceiver does not have the capability to handle the target traffic, the target fiber optic transceiver instructs the intelligent cloud platform to send configuration information for the target traffic to the target fiber optic transceiver.
S405, the intelligent cloud platform sends configuration information of the target service to the target optical fiber transceiver. Correspondingly, the target optical fiber transceiver receives configuration information of the target service from the intelligent cloud platform.
Illustratively, the target fiber optic transceiver receives and responds to configuration information of the target service from the intelligent cloud platform to complete the target service configuration.
Based on the technical scheme, the intelligent cloud platform determines the state information of the plurality of optical fiber transceivers and sends the basic script to the target optical fiber transceivers, and the intelligent cloud platform can acquire the capability information of the target optical fiber transceivers through the basic script because the basic script is used for detecting whether the optical fiber transceivers have the capability of processing target services. In the case that the target optical fiber transceiver does not have the capability of processing the target service, the intelligent cloud platform transmits configuration information of the target service to the target optical fiber transceiver. Compared with the prior optical fiber transceiver, when the network access service is carried out, the manual service configuration is carried out on the optical fiber transceiver by a worker, and the efficiency is extremely low. The technical scheme realizes the data transmission between the optical fiber transceiver and the intelligent cloud platform, can rapidly and efficiently complete configuration, and greatly improves the configuration efficiency.
As a possible embodiment of the present application, as shown in fig. 5 in conjunction with fig. 4, the specific process of determining the status information of the plurality of optical fiber transceivers by the intelligent cloud platform in S401 may also be implemented in the following S501-S502.
S501, the intelligent cloud platform acquires port information of a plurality of optical fiber transceivers, a plurality of service tags and service IDs.
Illustratively, the intelligent cloud platform detects whether a port of the optical fiber transceiver is occupied, whether a service tag is repeated, and whether a service ID is idle.
It should be noted that the service ID is a unique identifier of the target service. Thus, it is possible to verify whether the optical fiber transceiver contains the capability of handling the target traffic by judging whether the traffic ID is idle.
Since the target service is checked by the service tag when sending and receiving the message, whether the optical fiber transceiver contains the capability of processing the target service can be checked by determining whether the service tag is repeated.
S502, aiming at each optical fiber transceiver, determining that the optical fiber transceiver is in an idle state by the intelligent cloud platform when the port of the optical fiber transceiver is unoccupied, the service labels of the target service are not contained in the service labels, and the service ID is in the idle state.
For example, if the port of the optical fiber transceiver is unoccupied, the service tag is not repeated, and the service ID is idle, the intelligent cloud platform determines that the device status information of the optical fiber transceiver is idle.
Based on the technical scheme, the intelligent cloud platform acquires port information of a plurality of optical fiber transceivers, a plurality of service tags and service IDs. For each optical fiber transceiver, the port of the optical fiber transceiver is unoccupied, the service tags which do not contain the target service in the service tags and the service ID are in an idle state, and the intelligent cloud platform determines that the optical fiber transceiver is in the idle state, so that the follow-up intelligent cloud platform can manage the target optical fiber transceiver to conduct service arrangement.
As a possible embodiment of the present application, as shown in fig. 5 in conjunction with fig. 4, the specific process of determining to manage the IP address of the optical fiber transceiver by the intelligent cloud platform before S401 above may also be implemented by the following S503-S505.
S503, the intelligent cloud platform acquires the gateway address and the mask of the target optical fiber transceiver. Accordingly, the fiber optic transceiver sends the gateway address and the mask to the intelligent cloud platform.
In one possible implementation manner, the gateway address and the mask of the target optical fiber transceiver may be preconfigured for the intelligent cloud platform, may be sent to the intelligent cloud platform by the target transceiver in response to the request information of the intelligent cloud platform, or may be actively uploaded to the intelligent cloud platform after the communication connection between the target optical fiber transceiver and the intelligent cloud platform is established. For example, the target fiber optic transceiver may actively transmit device information to the smart cloud platform. Correspondingly, the intelligent cloud platform receives the device information from the target optical fiber transceiver.
By way of example, the device information may include at least one of a MAC address of the target fiber optic transceiver, a model number of the target fiber optic transceiver, a gateway address, and a mask.
S504, the intelligent cloud platform calculates and generates an IP address according to the gateway address and the mask.
In one possible implementation, the intelligent cloud platform translates the gateway address into binary and the mask into binary as well. The IP address is determined by bitwise and operation of the binary gateway address with a binary mask.
S505, the intelligent cloud platform sends the IP address to the target optical fiber transceiver under the condition that the IP address meets the preset condition. Accordingly, the target fiber optic transceiver receives the IP address from the smart cloud platform.
Wherein the IP address is used to manage the target fiber optic transceiver. The preset conditions may include: the IP address is legal.
In one possible implementation, the intelligent cloud platform calculates the IP address of the fiber optic transceiver and determines the legal result of the IP address. And the target optical fiber transceiver sends a request confirmation message to the intelligent cloud platform. Correspondingly, the intelligent cloud platform receives the request confirmation message.
And under the condition that the IP address is legal, the intelligent cloud platform determines that the request confirmation message is correct, and sends a forward feedback (ACK) message and the IP address to the target optical fiber transceiver. Correspondingly, the target optical fiber transceiver receives the ACK message and the IP address, thereby completing communication connection with the intelligent cloud platform.
By way of example, the intelligent cloud platform can determine whether the IP address is legal by determining whether each 3-digit number of the IP address is between 0 and 255. If yes, the intelligent cloud platform determines that the IP address is a legal address, namely, the IP address meets the preset condition. If not, the intelligent cloud platform determines that the IP address is illegal, namely, the IP address does not meet the preset condition.
In another possible implementation manner, the intelligent cloud platform encapsulates the ACK message and the IP address into an offer message, and sends the offer message including the ACK message and the IP address to the target optical fiber transceiver. Correspondingly, the optical fiber transceiver receives an offer message containing an ACK message and an IP address from the intelligent cloud platform.
Based on the technical scheme, the intelligent cloud platform acquires the gateway address and the mask of the target optical fiber transceiver. And according to the gateway address and the mask, the intelligent cloud platform calculates and generates an IP address. Under the condition that the IP address meets the preset condition, the intelligent cloud platform sends the IP address to the target optical fiber transceiver, so that the follow-up intelligent cloud platform and the target optical fiber transceiver can conveniently transmit data through the IP address.
As a possible embodiment of the present application, as shown in fig. 5, the specific process of sending the alarm information and the alarm cancellation information to the intelligent cloud platform by the optical fiber transceiver may also be implemented by the following S506 to S507.
S506, the target optical fiber transceiver sends alarm information to the intelligent cloud platform based on the IP address. Correspondingly, the intelligent cloud platform receives the alarm information from the target optical fiber transceiver.
The alarm information is sent by the target optical fiber transceiver through the IP address.
Optionally, the condition that the state of the optical fiber transceiver is abnormal includes that the optical fiber transceiver generates an optical port LOS alarm or that the optical fiber transceiver generates a power-down alarm.
And under the condition that the optical fiber transceiver generates an optical port LOS alarm or the optical fiber transceiver generates a power failure alarm, the target optical fiber transceiver sends optical port LOS alarm information and power failure alarm information to the intelligent cloud platform based on the IP address. Correspondingly, the intelligent cloud platform receives the optical port LOS alarm information and the power failure alarm information from the target optical fiber transceiver.
Optionally, the condition that the state of the optical fiber transceiver changes from abnormal to normal includes that the optical port LOS alarm of the optical fiber transceiver disappears or that the power-down alarm of the optical fiber transceiver disappears. And under the condition that the LOS alarm disappears or the power failure alarm disappears at the optical port of the optical fiber transceiver, the optical fiber transceiver sends the optical port LOS alarm disappearance information and the power failure alarm disappearance information to the intelligent cloud platform. Correspondingly, the intelligent cloud platform receives the LOS alarm vanishing information from the optical port of the optical fiber transceiver and the power-down alarm vanishing information.
S507, the intelligent cloud platform determines the type of the alarm information according to the fields in the alarm information.
The types of the alarm information comprise alarm generation information and alarm elimination information.
Illustratively, the optical port LOS alarm information is a character string of "guangkou 0". When the optical transceiver 101 generates an optical port LOS alarm, the optical transceiver sends a character string of "guangkou0" to the intelligent cloud platform through the IP address. Wherein, a "0" in the character string indicates that the optical port of the optical fiber transceiver is abnormal. Accordingly, the intelligent cloud platform receives the character string of "guangkou 0".
Illustratively, the character string of the optical port LOS alarm vanishing information is "guangkou1" is taken as an example. In the event that the optical port LOS alarm of the fiber optic transceiver 101 disappears, the fiber optic transceiver sends a string of "guangkou1" to the smart cloud platform. Wherein, a "1" in the character string indicates that the optical port of the optical fiber transceiver is abnormally disappeared. Correspondingly, the intelligent cloud platform receives a string of guangkou1 ".
Based on the technical scheme, the intelligent cloud platform receives the alarm information from the target optical fiber transceiver. The target optical fiber transceiver sends alarm information to the intelligent cloud platform based on the IP address. And determining the type of the alarm information by the intelligent cloud platform according to the field in the alarm information. Compared with the prior art, under the condition that the optical fiber transceiver fails, an operator cannot know the working state of the optical fiber transceiver in time, so that maintenance can not be performed on the optical fiber transceiver in time. According to the technical scheme, the optical fiber transceiver can timely send real-time information to the intelligent cloud platform, and when the optical fiber transceiver is abnormal, workers can timely maintain the optical fiber transceiver conveniently.
As a possible embodiment of the present application, as shown in fig. 6, the specific process of transmitting device information to the resource cloud platform by the target optical fiber transceiver through the communication module may also be implemented by the following S601-S602.
In a possible implementation manner, the communication module performs S601 in a case that the power of the target optical fiber transceiver is normal; in case that the power supply of the target optical fiber transceiver is abnormal, the communication module performs S602.
S601, the communication module sends equipment information of the target optical fiber transceiver to the resource cloud platform.
The device information comprises at least one of hardware MAC address information of the target optical fiber transceiver, device identification information, charging and discharging states of a standby power supply, electric quantity of the standby power supply and longitude and latitude information of a base station corresponding to the target optical fiber transceiver.
In one possible implementation, the communication module is taken as an internet of things module as an example. And the internet of things module in the optical fiber transceiver acquires the longitude and latitude information of the base station corresponding to the target optical fiber transceiver through the wireless signal. The internet of things module integrates longitude and latitude information of a base station, hardware MAC address information of an optical fiber transceiver, equipment identification information, charging and discharging states of a standby power supply and electric quantity of the standby power supply. Then, the internet of things module sends at least one of longitude and latitude information of a base station, hardware MAC address information of the optical fiber transceiver, equipment identification information, charging and discharging states of the standby power supply and electric quantity of the standby power supply to the resource cloud platform.
The internet of things module comprises a communication module. The optical fiber transceiver acquires the longitude and latitude information of the base station corresponding to the target optical fiber transceiver through a communication module in the Internet of things module. The communication module in the internet of things module integrates longitude and latitude information of a base station, hardware MAC address information of an optical fiber transceiver, equipment identification information, charging and discharging states of a standby power supply and electric quantity of the standby power supply. Then, a communication module in the internet of things module sends at least one of longitude and latitude information of a base station, hardware MAC address information of an optical fiber transceiver, equipment identification information, charging and discharging states of a standby power supply and electric quantity of the standby power supply to a resource cloud platform.
Optionally, whether the target optical fiber transceiver has a device power-down alarm can be determined through the charge and discharge states of the standby power supply. In the case that the target optical fiber transceiver is connected to the utility power, the standby power supply is in a charged state or a full power state. And under the condition that the target optical fiber transceiver is powered down, the standby power supply supplies power to the target optical fiber transceiver, and the standby power supply is in a discharging state.
S602, the communication module sends equipment information to the resource cloud platform every preset time period.
The standby power supply supplies power to the optical fiber transceiver, and the communication module remains dormant in a preset time period.
In one possible implementation, in the event of an abnormal power supply to the target fiber optic transceiver, the target fiber optic transceiver supplies power to the modules in the fiber optic transceiver via a backup power supply. The module in the target optical fiber transceiver obtains the longitude and latitude information of the base station corresponding to the target optical fiber transceiver through the wireless signal, and integrally sends the longitude and latitude information of the base station, the hardware MAC address information of the optical fiber transceiver, the equipment identification information, the charging and discharging state of the standby power supply and the electric quantity of the standby power supply to the resource cloud platform.
Alternatively, taking the preset time period as 24 hours, the communication module is taken as an example of a module. The module in the optical fiber transceiver obtains the longitude and latitude information of the base station corresponding to the optical fiber transceiver through wireless signals every 24 hours, integrates the longitude and latitude information of the base station, the hardware MAC address information of the target optical fiber transceiver and the equipment identification information, and sends at least one of the longitude and latitude information of the base station, the hardware MAC address information of the optical fiber transceiver, the equipment identification information, the charging and discharging state of the standby power supply and the electric quantity of the standby power supply to the resource cloud platform.
Alternatively, the module remains dormant for 24 hours.
Based on the technical scheme, under the condition that the power supply of the target optical fiber transceiver is normal, the communication module sends the equipment information of the target optical fiber transceiver to the resource cloud platform. And under the condition that the power supply of the target optical fiber transceiver is abnormal, the optical fiber transceiver controls the communication module to send equipment information to the resource cloud platform every preset time period. Compared with the existing optical fiber transceiver without a positioning function, after the intelligent optical fiber transceiver opens network access service, the position of the intelligent optical fiber transceiver cannot be determined in time, so that operation and maintenance are difficult. Through the technical scheme, the optical fiber transceiver can report the position information to the resource cloud platform, so that the optical fiber transceiver is convenient for a worker to maintain.
The embodiment of the application can divide the functional modules or functional units of the configuration device according to the method example, for example, each functional module or functional unit can be divided corresponding to each function, or two or more functions can be integrated in one processing module. The integrated modules may be implemented in hardware, or in software functional modules or functional units. The division of the modules or units in the embodiment of the present application is schematic, which is merely a logic function division, and other division manners may be implemented in practice.
As shown in fig. 7, a schematic structural diagram of a communication device 90 according to an embodiment of the present application is provided, where the device includes: communication unit 701 and processing unit 702.
A communication unit 701 for determining status information of a plurality of optical fiber transceivers; a communication unit 701, further configured to send a basic script to the target optical fiber transceiver to determine whether the target optical fiber transceiver has a capability of processing the target service; the target optical fiber transceiver is an optical fiber transceiver in an idle state in the plurality of optical fiber transceivers; and a processing unit 702, configured to send configuration information of the target service to the target optical fiber transceiver if the target optical fiber transceiver does not have a capability of processing the target service.
The communication unit 701 is specifically configured to obtain port information of a plurality of optical fiber transceivers, a plurality of service tags, and a service ID; the processing unit 702 is specifically configured to determine, for each optical fiber transceiver, that the optical fiber transceiver is in an idle state when a port of the optical fiber transceiver is unoccupied, a service tag that does not include a target service from the plurality of service tags, and a service ID are in an idle state.
A communication unit 701, configured to obtain a gateway address and a mask of the target optical fiber transceiver; the processing unit 702 is further configured to calculate and generate an IP address according to the gateway address and the mask; the processing unit 702 is further configured to instruct the communication unit 701 to send an IP address to the target optical fiber transceiver, where the IP address is used for managing the target optical fiber transceiver, if the IP address meets a preset condition.
The communication unit 701 is further configured to receive alarm information from the target optical fiber transceiver, where the alarm information is sent by the target optical fiber transceiver using an IP address; the processing unit 702 is further configured to determine a type of alarm information according to the fields in the alarm information, where the type of alarm information includes alarm generation information and alarm elimination information.
In a possible implementation manner, the communication device 70 may further include a storage unit 703 (shown in a dashed box in fig. 7), where the storage unit 703 stores a program or instructions, which when executed by the processing unit 702, enable the communication device 70 to perform the configuration method described in the above method embodiment.
As shown in fig. 8, a schematic structural diagram of a communication device 80 according to an embodiment of the present application is provided, where the device includes: communication unit 801 and processing unit 802.
A communication unit 801, configured to receive a basic script from an intelligent cloud platform; a processing unit 802, configured to determine, according to the basic script, whether the target optical fiber transceiver has a capability of processing the target service; a processing unit 802, configured to instruct the communication unit 801 to send first instruction information to the intelligent cloud platform when the target optical fiber transceiver does not have a capability of processing the target service; the first indication information is used for indicating the intelligent cloud platform to send configuration information of the target service to the target optical fiber transceiver; the communication unit 801 is further configured to receive configuration information of the target service from the intelligent cloud platform.
The communication unit 801 is specifically configured to send port information, a plurality of service tags, and a service ID to the intelligent cloud platform.
The communication unit 801 is further configured to: sending the gateway address and the mask to the intelligent cloud platform; receiving an IP address from an intelligent cloud platform; the IP address is used to manage the target fiber optic transceiver.
The communication unit 801 is further configured to send alarm information to the intelligent cloud platform based on the IP address; the types of the alarm information include alarm generation information and alarm elimination information.
The processing unit 802 is further configured to: under the condition that the power supply of the optical fiber transceiver is normal, transmitting equipment information of the optical fiber transceiver to a resource cloud platform; the equipment information comprises at least one of hardware MAC address information of the optical fiber transceiver, equipment identification information, charging and discharging states of a standby power supply, electric quantity of the standby power supply and longitude and latitude information of a base station corresponding to the optical fiber transceiver; under the condition that the power supply of the optical fiber transceiver is abnormal, transmitting equipment information to the resource cloud platform every preset time period; wherein the standby power supply supplies power to the optical fiber transceiver; the communication module remains dormant for a preset period of time.
In a possible implementation manner, the communication device 80 may further include a storage unit 803 (shown with a dashed box in fig. 8), where the storage unit 803 stores a program or an instruction, which when executed by the processing unit 802, enables the communication device 80 to perform the configuration method described in the above method embodiment.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of functional modules is illustrated, and in practical application, the above-described functional allocation may be implemented by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to implement all or part of the functions described above. The specific working processes of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which are not described herein.
Embodiments of the present application provide a computer program product comprising instructions which, when run on a computer, cause the computer to perform the configuration method of the method embodiments described above.
The embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores instructions which, when run on a computer, cause the computer to execute the configuration method in the method flow shown in the method embodiment.
The computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access Memory (Random Access Memory, RAM), a Read-Only Memory (ROM), an erasable programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), a register, a hard disk, an optical fiber, a portable compact disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing, or any other form of computer readable storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an application specific integrated circuit (Application Specific Integrated Circuit, ASIC). In embodiments of the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
Since the communication apparatus, the computer readable storage medium, and the computer program product in the embodiments of the present application can be applied to the above-mentioned method, the technical effects that can be obtained by the communication apparatus, the computer readable storage medium, and the computer program product can also refer to the above-mentioned method embodiments, and the embodiments of the present application are not described herein again.
In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interface, indirect coupling or communication connection of devices or units, electrical, mechanical, or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The present application is not limited to the above embodiments, and any changes or substitutions within the technical scope of the present application should be covered by the scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims (13)

1. A configuration method applied to an intelligent cloud platform for managing a plurality of optical fiber transceivers, the method comprising:
determining status information of the plurality of fiber optic transceivers;
transmitting a base script to a target fiber optic transceiver to determine whether the target fiber optic transceiver has the capability to handle a target service; the target optical fiber transceiver is an optical fiber transceiver in an idle state in the plurality of optical fiber transceivers;
and sending the configuration information of the target service to the target optical fiber transceiver under the condition that the target optical fiber transceiver does not have the capability of processing the target service.
2. The method of claim 1, wherein said determining status information for the plurality of fiber optic transceivers comprises:
acquiring port information, a plurality of service labels and service IDs of the plurality of optical fiber transceivers;
and for each optical fiber transceiver, determining that the optical fiber transceiver is in an idle state when a port of the optical fiber transceiver is unoccupied, a service tag which does not contain the target service in the plurality of service tags and a service ID are in the idle state.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
acquiring a gateway address and a mask of the target optical fiber transceiver;
calculating and generating an IP address according to the gateway address and the mask;
and under the condition that the IP address meets the preset condition, sending the IP address to the target optical fiber transceiver, wherein the IP address is used for managing the target optical fiber transceiver.
4. A method according to claim 3, characterized in that the method further comprises:
receiving alarm information from the target optical fiber transceiver, wherein the alarm information is sent by the target optical fiber transceiver by using the IP address;
And determining the type of the alarm information according to the field in the alarm information, wherein the type of the alarm information comprises alarm generation information and alarm elimination information.
5. A method of configuration, applied to a target optical fiber transceiver, the target optical fiber transceiver being connected to an intelligent cloud platform, the intelligent cloud platform being configured to manage a plurality of optical fiber transceivers, the target optical fiber transceiver being an optical fiber transceiver of the plurality of optical fiber transceivers in an idle state, the method comprising:
receiving a basic script from the intelligent cloud platform;
determining whether the target optical fiber transceiver has the capability of processing target service according to the basic script;
transmitting first indication information to the intelligent cloud platform under the condition that the target optical fiber transceiver does not have the capability of processing the target service; the first indication information is used for indicating the intelligent cloud platform to send configuration information of the target service to the target optical fiber transceiver;
and receiving configuration information of the target service from the intelligent cloud platform.
6. The method of claim 5, wherein the sending status information to the intelligent cloud platform comprises:
And sending port information, a plurality of service labels and service IDs to the intelligent cloud platform.
7. The method according to claim 5 or 6, characterized in that the method further comprises:
sending a gateway address and a mask to the intelligent cloud platform;
receiving an IP address from the intelligent cloud platform; the IP address is used to manage the target fiber optic transceiver.
8. The method of claim 7, wherein the method further comprises:
based on the IP address, sending alarm information to the intelligent cloud platform; the types of the alarm information include alarm generation information and alarm elimination information.
9. The method of claim 5, wherein the fiber optic transceiver comprises a communication module, the method further comprising:
under the condition that the power supply of the optical fiber transceiver is normal, the communication module sends equipment information of the optical fiber transceiver to a resource cloud platform; the equipment information comprises at least one of hardware MAC address information of the optical fiber transceiver, equipment identification information, charging and discharging states of a standby power supply, electric quantity of the standby power supply and longitude and latitude information of a base station corresponding to the optical fiber transceiver;
Under the condition that the power supply of the optical fiber transceiver is abnormal, the optical fiber transceiver controls the communication module to send the equipment information to the resource cloud platform every preset time period; wherein the backup power supply supplies power to the optical fiber transceiver; the communication module remains dormant for a preset period of time.
10. A communication device, the device comprising: a communication unit and a processing unit;
the communication unit is used for determining state information of a plurality of optical fiber transceivers;
the communication unit is further used for sending a basic script to a target optical fiber transceiver so as to determine whether the target optical fiber transceiver has the capability of processing target service; the target optical fiber transceiver is an optical fiber transceiver in an idle state in the plurality of optical fiber transceivers;
the processing unit is configured to send configuration information of the target service to the target optical fiber transceiver if the target optical fiber transceiver does not have a capability of processing the target service.
11. A communication device, the device comprising: a communication unit and a processing unit;
the communication unit is used for receiving the basic script from the intelligent cloud platform;
The processing unit is used for determining whether the target optical fiber transceiver has the capability of processing target service according to the basic script;
the processing unit is used for indicating the communication unit to send first indication information to the intelligent cloud platform under the condition that the target optical fiber transceiver does not have the capability of processing the target service; the first indication information is used for indicating the intelligent cloud platform to send configuration information of the target service to the target optical fiber transceiver;
the communication unit is further used for receiving configuration information of the target service from the intelligent cloud platform.
12. A communication device, comprising: a processor and a communication interface; the communication interface being coupled to the processor for running a computer program or instructions to implement the configuration method of any one of claims 1-4 or claims 5-9.
13. A computer readable storage medium having instructions stored therein, which when executed by a computer, perform the configuration method of any one of claims 1-4 or claims 5-9.
CN202310779529.7A 2023-06-28 2023-06-28 Configuration method, device and storage medium Pending CN116781507A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310779529.7A CN116781507A (en) 2023-06-28 2023-06-28 Configuration method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310779529.7A CN116781507A (en) 2023-06-28 2023-06-28 Configuration method, device and storage medium

Publications (1)

Publication Number Publication Date
CN116781507A true CN116781507A (en) 2023-09-19

Family

ID=87989273

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310779529.7A Pending CN116781507A (en) 2023-06-28 2023-06-28 Configuration method, device and storage medium

Country Status (1)

Country Link
CN (1) CN116781507A (en)

Similar Documents

Publication Publication Date Title
CN109756450A (en) A kind of methods, devices and systems of Internet of Things Network Communication
CN111371827B (en) Data transmission method, device and computer readable storage medium
US11272396B2 (en) Frame aggregation method, network setting frame sending method, and device
CN104012033A (en) Secure geo-location of a computing resource
CN105052076B (en) Network element management system and network element management method based on cloud computing
US10485043B2 (en) Multi-connection access point
JP5916253B2 (en) Measuring method, apparatus and system for minimizing drive test
CN207637296U (en) Family becomes the test device of relationship identification system
EP3306872B1 (en) Method and apparatus for exploring fronthaul topology
CN103747061A (en) Power environment monitoring system allowing multiple networks to access and operation method thereof
EP4167530A1 (en) Network monitoring method, electronic device and storage medium
US11516561B2 (en) Method for reading fluid meters
US20200374957A1 (en) Multi-connection access point
CN110535919B (en) Network access method and device of concentrator and power peak regulation system
CN116781507A (en) Configuration method, device and storage medium
CN107302448B (en) Port snoop method and device
JP2020533905A5 (en)
KR20180079130A (en) Information collection and analysis system for industrial network monitor and remote control
CN113872687A (en) Optical attenuation detection method and device based on link layer discovery protocol
CN102761970B (en) CSMA time slot provides and obtains and network-building method, equipment and system
CN112055084A (en) Control method and system for security protection Internet of things
CN112333748A (en) Wireless communication terminal state monitoring system, method, device and equipment
CN111768324A (en) Water quality remote checking and early warning system based on Internet of things
KR100893259B1 (en) Network management system and method
KR20160036690A (en) Mechanism for Handling Multi-Connected M2M/IoT Device using Link

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