Method, device and system for communication configuration dynamic environment equipment

Through FSU monitoring device identification, obtaining device list and protocol, and automatically matching communication resources, the problems of low configuration efficiency and error-prone dynamic ring equipment are solved, plug-and-play and unified management are realized, and configuration accuracy and efficiency are improved.

CN118381723BActive Publication Date: 2024-11-12CHINA TOWER CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410818071.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-11-12
Estimated Expiration
2044-06-24

AI Technical Summary

Technical Problem

In the prior art, the communication configuration of dynamic ring equipment is low, prone to errors, and weak management, resulting in abnormal communication of equipment, making it difficult to uniformly manage and inconsistent versions.

Method used

The on-site monitoring unit FSU monitors the device identification of the device to be configured, obtains the list of dynamic ring equipment associated with the operation and maintenance management center, obtains the target communication protocol based on the device information, and matches the communication resources of the FSU to the target device to perform, and automatically determines the communication configuration information. Until all devices are configured.

Benefits of technology

It realizes plug-and-play of dynamic ring equipment, improves communication configuration efficiency, reduces manual operation, reduces error rate, and uniformly manages the protocol library to ensure the matching between the equipment and the operation and maintenance management center.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118381723B_ABST
    Figure CN118381723B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device and system for communication configuration of dynamic environment equipment, which is used to improve the communication configuration efficiency of dynamic environment equipment. This scheme is applied to the field monitoring unit FSU, including: monitoring the device identification of the dynamic environment equipment to be configured that is plugged into the port; obtaining the dynamic environment equipment list associated with the device identification from the operation and maintenance management center, which includes the equipment information of at least one dynamic environment equipment to be configured; obtaining the target communication protocol corresponding to the target dynamic environment equipment to be configured based on the equipment information in the dynamic environment equipment list; calling the communication resources possessed by FSU based on the target communication protocol, and performing communication matching with the target dynamic environment equipment; determining the communication configuration information of the target dynamic environment equipment based on the communication resources with successful communication matching; determining whether there is a dynamic environment equipment to be configured whose communication configuration information has not been determined in the dynamic environment equipment list; determining the communication configuration information for the dynamic environment equipment to be configured, until the communication configuration information of each dynamic environment equipment in the dynamic environment equipment list has been determined.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communications, and in particular to a method, device and system for configuring a dynamic environment device for communications. Background Art

[0002] In the field of communications, dynamic environment devices (dynamic environment devices for short) can be used to achieve a variety of practical functions. In some application scenarios, multiple numbers and types of dynamic environment devices are required to achieve multiple functions. For example, use sensors to measure parameters, use switches to control states, and use power supplies to provide energy for devices. The communication configurations of these dynamic environment devices are different. If communication configurations are required for multiple dynamic environment devices, it often takes a lot of manpower and time, and communication abnormalities of dynamic environment devices may occur due to manual configuration errors.

[0003] How to improve the communication configuration efficiency of dynamic ring equipment is the technical problem to be solved by this application. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a method, device and system for communication configuration of dynamic environment equipment, so as to improve the communication configuration efficiency of the dynamic environment equipment.

[0005] In a first aspect, a method for communication configuration of dynamic environment equipment is provided, which is applied to a field monitoring unit FSU, comprising:

[0006] The device identifier of the dynamic environment device to be configured that is plugged into the monitoring port;

[0007] Obtaining a list of dynamic and environmental devices associated with the device identifier from an operation and maintenance management center, wherein the list of dynamic and environmental devices includes device information of at least one dynamic and environmental device to be configured;

[0008] Acquire a target communication protocol corresponding to a target dynamic environment device to be configured based on the device information in the dynamic environment device list;

[0009] Based on the target communication protocol, the communication resources of the FSU are called to perform communication matching with the target dynamic environment device;

[0010] Determine the communication configuration information of the target dynamic environment device based on the communication resources with successful communication matching;

[0011] Determine whether there is a to-be-configured dynamic environment device whose communication configuration information has not been determined in the dynamic environment device list;

[0012] The communication configuration information is determined for the dynamic environment device to be configured until the communication configuration information has been determined for each dynamic environment device in the dynamic environment device list.

[0013] In a second aspect, a device for communication configuration of dynamic environment equipment is provided, which is applied to a field monitoring unit FSU, including:

[0014] A monitoring module monitors the device identification of the dynamic environment device to be configured that is plugged into the monitoring port;

[0015] A first acquisition module is configured to acquire a list of dynamic and environmental devices associated with the device identifier from an operation and maintenance management center, wherein the list of dynamic and environmental devices includes device information of at least one dynamic and environmental device to be configured;

[0016] A second acquisition module acquires a target communication protocol corresponding to a target dynamic environment device to be configured based on the device information in the dynamic environment device list;

[0017] A matching module, which calls the communication resources of the FSU based on the target communication protocol and performs communication matching with the target dynamic environment device;

[0018] A first determination module determines the communication configuration information of the target dynamic environment device based on the communication resources with successful communication matching;

[0019] A second determination module determines whether there is a to-be-configured dynamic environment device whose communication configuration information has not been determined in the dynamic environment device list;

[0020] The third determination module determines the communication configuration information for the dynamic environment device to be configured until the communication configuration information has been determined for each dynamic environment device in the dynamic environment device list.

[0021] In a third aspect, a system for communication configuration of dynamic environment equipment is provided, characterized in that it includes:

[0022] The device for communication configuration dynamic ring equipment as described in the second aspect;

[0023] The operation and maintenance management center is communicatively connected with the device for configuring the dynamic environment equipment through the first type interface;

[0024] At least one dynamic environment device is communicatively connected to the device for communicating with the dynamic environment device through a second type interface.

[0025] In a fourth aspect, an electronic device is provided, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the method of the first aspect when executed by the processor.

[0026] In a fifth aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method of the first aspect are implemented.

[0027] In a sixth aspect, a computer program product is provided, the computer program product comprising a non-transitory computer-readable storage medium storing a computer program, the computer program being operable to cause a computer to execute part or all of the steps of the method of the first aspect.

[0028] In an embodiment of the present application, the field monitoring unit FSU listens to the device identification of the dynamic environment device to be configured by the port; obtains the dynamic environment device list associated with the device identification from the operation and maintenance management center, the dynamic environment device list includes the device information of at least one dynamic environment device to be configured; obtains the target communication protocol corresponding to the target dynamic environment device to be configured based on the device information in the dynamic environment device list; calls the communication resources possessed by the field monitoring unit FSU based on the target communication protocol, and performs communication matching with the target dynamic environment device; determines the communication configuration information of the target dynamic environment device based on the communication resources with successful communication matching. This solution can timely monitor the dynamic environment devices that have been plugged in to be configured, and obtaining the dynamic environment device list through the operation and maintenance management center can improve the accuracy of the obtained device information, thereby ensuring that the obtained target communication protocol can be effectively applied to the communication of the target dynamic environment device. By calling the communication resources to perform communication matching, the correct and effective communication configuration of the target dynamic environment device can be automatically implemented, and the dynamic environment device can be plug-and-play. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0030] Figure 1a It is a schematic diagram of the structure of a dynamic environment equipment system to which a field monitoring unit belongs in one embodiment of the present application;

[0031] Figure 1b It is one of the flowcharts of a method for communication configuration dynamic environment equipment according to an embodiment of the present application;

[0032] Figure 2 This is a second flow chart of a method for communication configuration of dynamic environment equipment according to an embodiment of the present application;

[0033] Figure 3 This is a flowchart of a method for configuring a dynamic environment device in accordance with an embodiment of the present application;

[0034] Figure 4 This is a fourth flowchart of a method for communication configuration of dynamic environment equipment according to an embodiment of the present application;

[0035] Figure 5 It is a schematic diagram of the structure of a communication configuration dynamic ring device according to an embodiment of the present application;

[0036] Figure 6 It is a schematic diagram of the system structure of a communication configuration dynamic environment device in one embodiment of the present application. DETAILED DESCRIPTION

[0037] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application. The numbering of the drawings in this application is only used to distinguish the various steps in the scheme, and is not used to limit the execution order of the various steps. The specific execution order is subject to the description in the specification.

[0038] In the monitoring system, the Field Supervision Unit (FSU) can complete the data collection (telemetry such as ambient temperature, remote signaling such as AC input power failure alarm), data processing (telemetry such as overtemperature alarm), parameter adjustment (remote adjustment such as air conditioning operation mode), function control (remote control such as shutting down the air conditioning compressor) of the monitored object by connecting various intelligent or non-intelligent devices such as power supply and air conditioning and collectors of various environmental quantities. In some application scenarios, the northbound interface of FSU communicates with the Operations and Maintenance Center (OMC) through the B+ interface, and the southbound interface of FSU can communicate with multiple dynamic and environmental devices, among which the southbound interface can also be called the A interface.

[0039] Different dynamic environment devices may be applicable to different communication protocols. To ensure normal communication between dynamic environment devices, it is often necessary to configure the communication of the connected dynamic environment devices through the FSU.

[0040] In practical applications, the communication configuration of dynamic environment equipment has the following defects:

[0041] (1) Low efficiency: If the command line method is used to perform dynamic environment equipment communication configuration, the administrator needs to memorize many commands and enter them one by one; if the graphical GUI method is used, the administrator needs to switch back and forth between the various screens and configure them one by one. Both communication configuration methods require heavy manual operations and are time-consuming.

[0042] (2) Error-prone: Manual operations often result in errors. During the configuration process, important parameters such as communication ports, addresses, parameters, and protocol libraries may be incorrect, resulting in abnormal communication of the dynamic environment equipment after configuration.

[0043] (3) Weak management: The communication parameters manually configured by the FSU may not match the management configuration of the operation and maintenance management center, which may cause the dynamic environment equipment to be out of the control of the operation and maintenance management center and be difficult to detect.

[0044] (4) The protocol library is not conducive to unified management: Under the existing management model, the protocol library usually needs to be manually preset or copied to the FSU. The platform lacks unified management of the protocol library, which easily leads to version inconsistency. In addition, it is not easy to upgrade the protocol library in a unified manner when an error occurs.

[0045] In order to solve the problems existing in the prior art, this solution provides a method, device and system for communication configuration of dynamic environment equipment, which can be used to improve the communication configuration efficiency of dynamic environment equipment. Among them, the method for communication configuration of dynamic environment equipment is applied to a field monitoring unit FSU, which can be applied to a system including an operation and maintenance management center and at least one dynamic environment equipment. The system structure diagram is shown in FIG. Figure 1a shown.

[0046] The field monitoring unit FSU can be connected to the operation and maintenance management center OMC through the B+ interface.

[0047] The field monitoring unit FSU can communicate with one or more dynamic environment devices through the southbound interface (i.e., interface A). In practical applications, the dynamic environment devices can be flexibly plugged into the southbound interface of the field monitoring unit FSU according to actual needs, and the method of communication configuration of the dynamic environment device provided in the example of this application can be used to achieve automatic and effective communication configuration, thereby achieving plug-and-play of the dynamic environment device.

[0048] In actual applications, there are many types of dynamic environment equipment, such as smart meters, air conditioners, switching power supplies, and other related equipment, devices or sensors that provide energy, regulate the environment, and ensure safety for bureaus or base stations.

[0049] The present application embodiment provides a method for configuring a communication environment device, such as Figure 1b As shown, it is applied to the field monitoring unit FSU, including the following steps:

[0050] S11: monitors the device identification of the dynamic environment device to be configured that is plugged into the port.

[0051] In this step, the field monitoring unit FSU can timely obtain the device identification of the newly plugged dynamic environment device to be configured by real-time monitoring the port.

[0052] Optionally, after monitoring that a device is plugged into a port, the field monitoring unit FSU may obtain a device identification of the plugged device, and then query and determine whether the device is a new device to be configured or a configured device according to the device identification.

[0053] In actual applications, the device identifiers of different devices are often different. The device identifier can play a role in distinguishing different types of devices, or the device identifier can further play a role in distinguishing multiple different devices of the same type.

[0054] S12: Obtain a list of dynamic and environmental devices associated with the device identifier from an operation and maintenance management center, wherein the list of dynamic and environmental devices includes device information of at least one dynamic and environmental device to be configured.

[0055] In this step, the field monitoring unit FSU communicates with the operation and maintenance management center, and obtains the associated dynamic environment equipment list from the operation and maintenance management center according to the equipment identification of the dynamic environment equipment to be configured. The dynamic environment equipment list includes the equipment information of the dynamic environment equipment to be configured.

[0056] Optionally, the dynamic environment device list may also include device information of associated devices of the dynamic environment device to be configured, and at least two dynamic environment devices to be configured in the dynamic environment device list have an associated relationship. The association relationship between devices may be pre-configured and may be determined according to actual dynamic environment monitoring requirements.

[0057] For example, in an environmental monitoring scenario, a temperature sensor and a humidity sensor may be two associated devices. If the device identifier indicates that the dynamic environment device to be configured is a temperature sensor, then in this step, the dynamic environment device list obtained may include the device information of the temperature sensor and the device information of the associated humidity sensor.

[0058] Optionally, in an application scenario, after monitoring that a dynamic environment device to be configured is plugged into a port, the field monitoring unit FSU may obtain the dynamic environment device list by sending a list synchronization request to the operation and maintenance management center.

[0059] Specifically, the field monitoring unit FSU can promptly learn whether there is a dynamic environment device plugged in by monitoring the port, and then obtain the device identification of the dynamic environment device through the port, and determine whether the dynamic environment device corresponding to the device identification is the dynamic environment device to be configured by identification, query, etc. If it is determined that the plugged dynamic environment device is to be configured, a list synchronization request is sent to the operation and maintenance management center to obtain the above dynamic environment device list.

[0060] The device information in the above dynamic environment equipment list may include various detailed information of the dynamic environment equipment, such as equipment manufacturer information, equipment model information, etc. Compared with the above equipment identification, the device information can be used to more accurately represent the relevant information of the corresponding dynamic environment equipment, which can help improve the accuracy of subsequent configuration. The device information in the above dynamic environment equipment list can be provided by the dynamic environment equipment manufacturer, or obtained from the Internet or other channels.

[0061] S13: Acquire a target communication protocol corresponding to the target dynamic environment device to be configured based on the device information in the dynamic environment device list.

[0062] Since the device information in the dynamic environment device list can accurately represent the dynamic environment device to be configured in detail, obtaining the target communication protocol according to the device information in this step can ensure that the obtained target communication protocol is suitable for the target dynamic environment device to be configured.

[0063] Since different dynamic environment devices need to use different southbound communication protocols, in actual applications, the communication protocol can also be made into a loadable library file in advance, called a protocol library. In this step, based on the target device information, a precise query can be performed from the network to obtain the target communication protocol applicable to the target dynamic environment device. Alternatively, the pre-stored protocol library can be obtained from the above-mentioned operation and maintenance management center based on the device information to accurately determine the target communication protocol.

[0064] In practical applications, the southbound communication of the field monitoring unit FSU can adopt serial communication methods such as RS-232 and RS-485, and the specific communication protocols can include, for example, the power supply protocol, DLT / 645 protocol, Modbus protocol, etc. In some cases, the communication can also be realized by using the protocol customized by the dynamic environment equipment manufacturer.

[0065] S14: Based on the target communication protocol, the communication resources of the FSU are called to perform communication matching with the target dynamic environment device.

[0066] In this step, the communication resources of the on-site monitoring unit are called to perform communication matching on the target dynamic environment device, wherein the communication resources include, for example, port resources, address resources, communication parameter resources, and the like.

[0067] For example, the field monitoring unit FSU often has port resources including multiple serial interfaces. Through RS-485 ports, for example, each port can communicate with multiple dynamic environment devices respectively. These dynamic environment devices can be distinguished by configuring different addresses.

[0068] In this step, the communication resources of the field monitoring unit FSU are called based on the target communication protocol to match the communication with the target dynamic environment device, and the communication configuration information applicable to the target dynamic environment device can be determined through one or more attempts.

[0069] S15: Determine the communication configuration information of the target dynamic environment device based on the communication resources that have successfully matched the communication.

[0070] If the above communication match is successful, the communication configuration information of the target dynamic environment device is determined based on the successfully matched communication resources, thereby completing the communication configuration of the target dynamic environment device.

[0071] S16: Determine whether there is a to-be-configured dynamic environment device in the dynamic environment device list whose communication configuration information has not been determined.

[0072] In this example, after the communication configuration of the target dynamic environment device is successfully completed, it is determined whether there is a dynamic environment device in the dynamic environment device list that has not yet been configured for communication. Optionally, the communication configuration information that has been configured and stored can be queried according to the device identification or device information of the plugged dynamic environment device, thereby determining the dynamic environment device to be configured that has not been configured for communication in the dynamic environment device list.

[0073] S17: Determine the communication configuration information for the dynamic environment device to be configured until the communication configuration information has been determined for each dynamic environment device in the dynamic environment device list.

[0074] In the solution provided in the embodiment of the present application, it is determined whether there is a to-be-configured dynamic environment device in the dynamic environment device list that has not executed communication configuration, and then communication configuration is performed on each dynamic environment device in the dynamic environment device list, and the communication configuration information of each dynamic environment device is determined to ensure that each dynamic environment device in the dynamic environment device list can communicate normally through the corresponding communication configuration information.

[0075] In the embodiment of the present application, the field monitoring unit FSU listens to the device identification of the dynamic environment device to be configured by the port plug-in; obtains the dynamic environment device list associated with the device identification from the operation and maintenance management center, and the dynamic environment device list includes the device information of at least one dynamic environment device to be configured; obtains the target communication protocol corresponding to the target dynamic environment device to be configured based on the device information in the dynamic environment device list; calls the communication resources possessed by the field monitoring unit FSU based on the target communication protocol, and performs communication matching with the target dynamic environment device; determines the communication configuration information of the target dynamic environment device based on the communication resources with successful communication matching. This solution can timely monitor the dynamic environment device that has been plugged in to be configured, and obtaining the dynamic environment device list through the operation and maintenance management center can improve the accuracy of the obtained device information, thereby ensuring that the obtained target communication protocol can be effectively applied to the communication of the target dynamic environment device. By calling the communication resources to perform communication matching, the correct and effective communication configuration of the target dynamic environment device can be automatically realized, and the dynamic environment device can be plug-and-play. This solution can automatically download the dynamic environment device list and protocol library, and realize plug-and-play configuration, eliminating the need for manual device configuration one by one, greatly improving efficiency, and reducing communication configuration errors.

[0076] Based on the solution provided in the above embodiment, optionally, Figure 2 As shown, in the above step S12, the list of dynamic and environmental equipment associated with the equipment identifier is obtained from the operation and maintenance management center, including:

[0077] S21: Sending a device configuration request carrying the device identifier to the operation and maintenance management center.

[0078] In this example, the field monitoring unit FSU constructs a device configuration request based on the device identifier, and sends the device configuration request to the operation and maintenance management center to request the operation and maintenance management center to download a list of dynamic and environmental devices according to the device identifier in the device configuration request. Among them, the device configuration request may carry one or more device identifiers, which may be the device identifiers of the dynamic and environmental devices to be configured, or may contain the device identifiers of the configured dynamic and environmental devices. The above-mentioned device configuration request may contain the device identifiers of all dynamic and environmental devices that have been plugged in by the field monitoring unit FSU.

[0079] S22: Receive a dynamic environment equipment list fed back by the operation and maintenance management center based on the equipment configuration request, where the equipment information in the dynamic environment equipment list includes equipment manufacturer information and equipment model information corresponding to the equipment identifier.

[0080] In this step, a dynamic environment equipment list fed back by the operation and maintenance management center based on the above-mentioned equipment configuration request is received. The dynamic environment equipment list carries a variety of equipment information of the dynamic environment equipment, and this equipment information can be used to express the hardware and software information of the dynamic environment equipment in detail.

[0081] Among them, the operation and maintenance management center can feedback the latest device information of the dynamic environment device according to the device configuration request. In some application scenarios, the software of the dynamic environment device may be upgraded. Optionally, the dynamic environment device manufacturer can synchronize the latest device information containing the device version number to the operation and maintenance management center after the upgrade. Once the operation and maintenance management center receives the device configuration request containing the device identification of the dynamic environment device, it can send the latest device information to the field monitoring unit FSU, and then update the software configuration of the dynamic environment device through the field monitoring unit FSU.

[0082] Through the solution provided in the embodiment of the present application, the field monitoring unit FSU obtains accurate equipment information of the dynamic environment equipment from the operation and maintenance management center by sending an equipment configuration request to the operation and maintenance management center, so that the field monitoring unit FSU can obtain the communication protocol that is accurately adapted to the dynamic environment equipment based on the equipment information.

[0083] Based on the solution provided in the above embodiment, optionally, in the above step S14, the communication resources of the FSU are called based on the target communication protocol to perform communication matching with the target dynamic environment device, such as Figure 3 As shown, including:

[0084] S31: Based on the target communication protocol, the first communication resource of the FSU is called to perform communication matching with the target dynamic environment device.

[0085] In this step, a first communication resource that complies with the target communication protocol is called from the field monitoring unit FSU, wherein the communication resource may specifically include one or more resources of a communication port, a communication address and a communication parameter.

[0086] The field monitoring unit FSU calls the first communication resource to perform communication matching with the target dynamic environment device, and in the process of communication matching, uses the target communication protocol to try to communicate with the target dynamic environment device through the first communication resource. It determines whether the communication matching is successful according to the communication matching result fed back by the target dynamic environment device.

[0087] S32: If the communication matching fails, the second communication resource of the FSU is called based on the target communication protocol to perform communication matching with the target dynamic environment device until the communication matching succeeds or the communication resources of the FSU are traversed.

[0088] In some cases, the communication match of the target dynamic environment device may fail due to the mismatch of one or more communication resources in the first communication resource. In the case of communication match failure, the field monitoring unit FSU calls the second communication resource based on the target communication protocol to perform communication match with the target dynamic environment device again. Among them, the second communication resource includes communication resources that are different from at least part of the first communication resource. For example, assuming that the communication resources include three types: communication port, communication address and communication parameters, then the second communication resource has a different communication port from the first communication resource, but the communication address and communication parameters can be the same.

[0089] If the communication match still fails, you can continue to adjust and build new communication resources based on the target communication protocol, and try to perform communication matching with the target dynamic environment device until the communication match succeeds or all communication resources have been traversed and tried.

[0090] Based on the solution provided in the above embodiment, optionally, the communication resources possessed by the FSU include at least one of the following categories: communication port, communication address, communication parameter;

[0091] The communication parameters include at least one of the following: baud rate, data bit, stop bit, and check bit.

[0092] In the embodiment of the present application, the FSU can be connected to the device through four hardware interfaces, including a serial port (RS485 / RS232), an AI (Analog Input) port, a DI (Digital Input) port, and a DO (Digital Output) port. The communication resources of the serial port may include a communication port, a communication address, and communication parameters, and the communication resources of the other three interfaces may only include a communication port.

[0093] In actual applications, the field monitoring unit FSU may have multiple types of communication resources. The communication parameters can be set according to actual needs. Among them, the baud rate can also be called the modulation rate, which refers to the rate at which the communication data modulates the carrier, that is, the number of times the carrier modulation state changes per unit time. The above-mentioned data bits, stop bits and check bits are related to the format of the transmitted data. In serial asynchronous communication, the transmitted data format may include a start bit, data bits, check bits and stop bits. Among them, if the check bit is 1 bit, odd check or even check is performed according to the value of the check bit. If there is no check bit, no check is required.

[0094] Through the solution provided in the example of this application, flexible calling of communication resources and adjustment of communication parameters can further improve the flexibility of communication configuration.

[0095] The present invention is further described below with reference to an example.

[0096] like Figure 4 As shown, the embodiment of the present application provides a method for communication configuration of dynamic environment equipment, which is applied to the field monitoring unit FSU, and is used to automatically configure communication for one or more dynamic environment equipment for southbound communication, so as to realize plug-and-play of dynamic environment equipment, and the steps are as follows:

[0097] Step (1): Start by preparing the software environment.

[0098] Optionally, the software environment is configured based on preset rules, which may specifically include monitoring the port plug-in status.

[0099] Step (2): FSU sends a device request to the platform.

[0100] The platform described in the embodiment of the present application specifically refers to the operation and maintenance management center. Optionally, the device request is sent by the field monitoring unit FSU to the operation and maintenance management center, and the request specifically includes a device configuration request, which carries a device identifier.

[0101] Step (3): The platform returns a device list to the FSU, which includes the device number, manufacturer, model, and other additional descriptive information.

[0102] The device list includes detailed information of each dynamic environment device, which may include software and / or hardware information and can be used to describe the dynamic environment device.

[0103] Step (4): FSU downloads the protocol libraries of all devices from the platform according to the device list, based on the manufacturer and model information.

[0104] In this step, the field monitoring unit FSU obtains the protocol library corresponding to each dynamic environment device in the above equipment list from the operation and maintenance management center to ensure that the obtained protocol library matches the dynamic environment device to be configured.

[0105] Step (5): Select the first device.

[0106] In this step, the target dynamic environment equipment can be selected according to the order of the equipment list.

[0107] Step (6): Load the protocol library and prepare for scanning test.

[0108] In this step, the protocol library matching the target dynamic environment device obtained in the above step is loaded.

[0109] Step (7): Select the first port (for example UART0).

[0110] In this step, the first port is called based on its own communication port resources for subsequent attempts to communicate with the target dynamic environment device.

[0111] Step (8): Select the first address (for example, address 1).

[0112] In this step, the first address is called based on its own communication address resources for subsequent attempts to communicate with the target dynamic environment device.

[0113] Step (9): Select a first set of communication parameters, including a combination of communication rate, data bits, stop bits, and check bits.

[0114] In this step, the first set of communication parameters is called based on its own communication format for subsequent attempts to communicate with the target dynamic environment device.

[0115] Step (10): The FSU attempts to communicate with the southbound device through the protocol library and performs communication matching.

[0116] Step (11): Judge the matching result. If all communications with the device can be successfully responded to and all responses are judged to be correct. If the match is successful, go to step (15); if the match is unsuccessful, go to step (12).

[0117] Step (12): Determine whether this is the last set of communication parameters. If the result is no, select the next set of communication parameters and go to step 10; if yes, go to step (13).

[0118] Step (13): Determine whether it is the last address. If the result is no, select the next address and go to step (9); if yes, go to step (14).

[0119] Step (14): Determine whether it is the last port. If not, select the next port and go to step (8); if yes, go to step (15).

[0120] Step (15): Determine whether it is the last device. If not, select the next device and go to step (6); if yes, go to step (16) and save the settings.

[0121] Through the solution provided in the embodiment of the present application, the base station dynamic environment monitoring unit (FSU) can automatically identify and configure the monitored and managed equipment (i.e., southbound equipment) to achieve plug-and-play configuration. The FSU obtains a list of equipment from the monitoring center service platform through data synchronization, and the list contains the manufacturer and model information of the equipment; based on the manufacturer and model information, the FSU accesses the platform to download the communication protocol library of the equipment; the FSU loads the protocol library; the FSU calls the protocol library and attempts to communicate with the equipment by traversing the communication port and communication address; if all communications with the equipment can be successfully responded to, and all responses are judged to be correct, then the specified port and address are judged to be correct; the FSU configures the equipment by judging the correct port and address according to step (5); all equipment are tried and configured one by one according to the above steps until a usable communication configuration is completed for each device.

[0122] In order to solve the problems existing in the prior art, the embodiment of the present application also provides a device 50 for configuring a communication environment device, which is applied to a field monitoring unit FSU, such as Figure 5 As shown, including:

[0123] A monitoring module 51 monitors the device identification of the dynamic environment device to be configured that is plugged into the monitoring port;

[0124] A first acquisition module 52 acquires a list of dynamic and environmental devices associated with the device identifier from an operation and maintenance management center, wherein the list of dynamic and environmental devices includes device information of at least one dynamic and environmental device to be configured;

[0125] A second acquisition module 53 acquires a target communication protocol corresponding to a target dynamic environment device to be configured based on the device information in the dynamic environment device list;

[0126] A matching module 54, which calls the communication resources of the FSU based on the target communication protocol and performs communication matching with the target dynamic environment device;

[0127] A first determination module 55 determines the communication configuration information of the target dynamic environment device based on the communication resources with successful communication matching;

[0128] A second determination module 56 determines whether there is a to-be-configured dynamic environment device whose communication configuration information has not been determined in the dynamic environment device list;

[0129] The third determination module 57 determines the communication configuration information for the dynamic environment device to be configured until the communication configuration information has been determined for each dynamic environment device in the dynamic environment device list.

[0130] The device provided by the embodiment of the present application monitors the device identification of the dynamic environment device to be configured that is plugged into the port; obtains the list of dynamic environment devices associated with the device identification from the operation and maintenance management center, the list of dynamic environment devices includes the device information of at least one dynamic environment device to be configured; obtains the target communication protocol corresponding to the target dynamic environment device to be configured based on the device information in the dynamic environment device list; calls the communication resources possessed by the field monitoring unit FSU based on the target communication protocol, and performs communication matching with the target dynamic environment device; determines the communication configuration information of the target dynamic environment device based on the communication resources with successful communication matching. This solution can timely monitor the dynamic environment devices that have been plugged in to be configured, and obtaining the list of dynamic environment devices through the operation and maintenance management center can improve the accuracy of the obtained device information, thereby ensuring that the obtained target communication protocol can be effectively applied to the communication of the target dynamic environment device. By calling the communication resources to perform communication matching, the correct and effective communication configuration of the target dynamic environment device can be automatically implemented, and the dynamic environment device can be plug-and-play.

[0131] Among them, the above modules in the device provided by the embodiment of the present application can also implement the method steps provided by the above method embodiment. Alternatively, the device provided by the embodiment of the present application can also include other modules in addition to the above modules to implement the method steps provided by the above method embodiment. And the device provided by the embodiment of the present application can achieve the technical effects that can be achieved by the above method embodiment.

[0132] In order to solve the problems existing in the prior art, the embodiment of the present application also provides a system for configuring a communication environment device, such as Figure 6 As shown, including:

[0133] An apparatus for communication configuration dynamic ring equipment as described in any of the above embodiments;

[0134] The operation and maintenance management center is communicatively connected with the device for configuring the dynamic environment equipment through the first type interface;

[0135] At least one dynamic environment device is communicatively connected to the device for communicating with the dynamic environment device through a second type interface.

[0136] The device for communicating and configuring the dynamic environment device communicates northward with the operation and maintenance management center through the B+ interface, and communicates southward with at least one dynamic environment device through the A interface. In actual applications, the number of dynamic environment devices can be flexibly set according to actual needs.

[0137] The system provided by the embodiment of the present application monitors the device identification of the dynamic environment device to be configured that is plugged into the port; obtains the list of dynamic environment devices associated with the device identification from the operation and maintenance management center, the dynamic environment device list includes the device information of at least one dynamic environment device to be configured; obtains the target communication protocol corresponding to the target dynamic environment device to be configured based on the device information in the dynamic environment device list; calls the communication resources possessed by the field monitoring unit FSU based on the target communication protocol, and performs communication matching with the target dynamic environment device; determines the communication configuration information of the target dynamic environment device based on the communication resources with successful communication matching. This solution can timely monitor the dynamic environment devices that have been plugged in to be configured, and obtaining the list of dynamic environment devices through the operation and maintenance management center can improve the accuracy of the obtained device information, thereby ensuring that the obtained target communication protocol can be effectively applied to the communication of the target dynamic environment device. By calling the communication resources to perform communication matching, the correct and effective communication configuration of the target dynamic environment device can be automatically implemented, and the dynamic environment device can be plug-and-play.

[0138] Among them, the above modules in the system provided by the embodiment of the present application can also implement the method steps provided by the above method embodiment. Alternatively, the device provided by the embodiment of the present application can also include other modules in addition to the above modules to implement the method steps provided by the above method embodiment. And the device provided by the embodiment of the present application can achieve the technical effects that can be achieved by the above method embodiment.

[0139] Preferably, an embodiment of the present application also provides an electronic device, including a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the various processes of the above-mentioned method embodiment for configuring a dynamic ring device for communication are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0140] The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the method embodiment of the above-mentioned communication configuration dynamic ring device is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.

[0141] An embodiment of the present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program. The computer program can be operated to enable a computer to execute part or all of the steps of the above-mentioned method embodiment of the communication configuration dynamic ring device, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0142] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0143] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate a device for implementing the functions specified in one process or multiple processes in the flowchart and / or one box or multiple boxes in the block diagram.

[0144] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0145] These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0146] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0147] Memory may include non-permanent storage in a computer-readable medium, in the form of random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0148] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0149] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0150] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0151] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A method for configuring a communication environment device, characterized in that: Applied to field monitoring unit FSU, including: The device identifier of the dynamic environment device to be configured that is plugged into the monitoring port; Obtaining a list of dynamic and environmental devices associated with the device identifier from an operation and maintenance management center, wherein the list of dynamic and environmental devices includes device information of at least one dynamic and environmental device to be configured; Acquire a target communication protocol corresponding to a target dynamic environment device to be configured based on the device information in the dynamic environment device list; Based on the target communication protocol, the communication resources of the FSU are called to perform communication matching with the target dynamic environment device; Determine the communication configuration information of the target dynamic environment device based on the communication resources with successful communication matching; Determine whether there is a to-be-configured dynamic environment device whose communication configuration information has not been determined in the dynamic environment device list; Determine the communication configuration information for the dynamic environment device to be configured until the communication configuration information of each dynamic environment device in the dynamic environment device list has been determined; The method of calling the communication resources of the FSU based on the target communication protocol and performing communication matching with the target dynamic environment device includes: Based on the target communication protocol, the first communication resource of the FSU is called to perform communication matching with the target dynamic environment device; If the communication match fails, then based on the target communication protocol, the second communication resource of the FSU is called to perform communication matching with the target dynamic ring device until the communication match succeeds or the communication resources of the FSU are traversed; The communication resources of the FSU include at least one of the following: communication port, communication address, and communication parameters; Wherein, the communication parameters include at least one of the following: baud rate, data bit, stop bit, check bit; The dynamic environment device list includes device information of multiple dynamic environment devices to be configured, and at least two dynamic environment devices to be configured in the dynamic environment device list have an associated relationship.

2. The method according to claim 1, characterized in that Obtain a list of dynamic and environmental equipment associated with the equipment identifier from the operation and maintenance management center, including: Sending a device configuration request carrying the device identifier to the operation and maintenance management center; A dynamic environment equipment list fed back by the operation and maintenance management center based on the equipment configuration request is received, wherein the equipment information in the dynamic environment equipment list includes equipment manufacturer information and equipment model information corresponding to the equipment identifier.

3. A device for communication configuration dynamic environment equipment, characterized in that: Applied to field monitoring unit FSU, including: A monitoring module monitors the device identification of the dynamic environment device to be configured that is plugged into the monitoring port; A first acquisition module is configured to acquire a list of dynamic and environmental devices associated with the device identifier from an operation and maintenance management center, wherein the list of dynamic and environmental devices includes device information of at least one dynamic and environmental device to be configured; A second acquisition module acquires a target communication protocol corresponding to a target dynamic environment device to be configured based on the device information in the dynamic environment device list; A matching module, which calls the communication resources of the FSU based on the target communication protocol and performs communication matching with the target dynamic environment device; A first determination module determines the communication configuration information of the target dynamic environment device based on the communication resources with successful communication matching; A second determination module determines whether there is a to-be-configured dynamic environment device whose communication configuration information has not been determined in the dynamic environment device list; A third determination module determines communication configuration information for the dynamic environment device to be configured until communication configuration information has been determined for each dynamic environment device in the dynamic environment device list; The method of calling the communication resources of the FSU based on the target communication protocol and performing communication matching with the target dynamic environment device includes: Based on the target communication protocol, the first communication resource of the FSU is called to perform communication matching with the target dynamic environment device; If the communication match fails, then based on the target communication protocol, the second communication resource of the FSU is called to perform communication matching with the target dynamic ring device until the communication match succeeds or the communication resources of the FSU are traversed; The communication resources of the FSU include at least one of the following: communication port, communication address, and communication parameters; Wherein, the communication parameters include at least one of the following: baud rate, data bit, stop bit, check bit; The dynamic environment device list includes device information of multiple dynamic environment devices to be configured, and at least two dynamic environment devices to be configured in the dynamic environment device list have an associated relationship.

4. A system for communication configuration of dynamic environment equipment, characterized in that: include: The apparatus for communication configuration dynamic ring equipment as claimed in claim 3; The operation and maintenance management center is communicatively connected with the device for configuring the dynamic environment equipment through the first type interface; At least one dynamic environment device is communicatively connected to the device for communicating with the dynamic environment device through a second type interface.

5. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the method according to claim 1 or 2 when executed by the processor.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to claim 1 or 2 are implemented.

7. A computer program product, characterized in that The computer program product comprises a non-transitory computer-readable storage medium storing a computer program, wherein the computer program is operable to cause a computer to perform the steps of the method according to claim 1 or 2.