CN116800604B - Configurable laser communication equipment control method, device, equipment and medium - Google Patents

Configurable laser communication equipment control method, device, equipment and medium Download PDF

Info

Publication number
CN116800604B
CN116800604B CN202311055944.4A CN202311055944A CN116800604B CN 116800604 B CN116800604 B CN 116800604B CN 202311055944 A CN202311055944 A CN 202311055944A CN 116800604 B CN116800604 B CN 116800604B
Authority
CN
China
Prior art keywords
hardware
command
controlled
target
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311055944.4A
Other languages
Chinese (zh)
Other versions
CN116800604A (en
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.)
Aerospace Information Research Institute of CAS
Original Assignee
Aerospace Information Research Institute of CAS
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 Aerospace Information Research Institute of CAS filed Critical Aerospace Information Research Institute of CAS
Priority to CN202311055944.4A priority Critical patent/CN116800604B/en
Publication of CN116800604A publication Critical patent/CN116800604A/en
Application granted granted Critical
Publication of CN116800604B publication Critical patent/CN116800604B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/11Arrangements specific to free-space transmission, i.e. transmission through air or vacuum
    • H04B10/112Line-of-sight transmission over an extended range
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Optical Communication System (AREA)

Abstract

The invention provides a control method, a device, equipment and a medium of a configurable laser communication device, and relates to the technical field of laser communication, wherein the method comprises the following steps: determining a hardware module and a hardware command included in laser communication equipment to be controlled, and respectively configuring the hardware module and the hardware command; after the configuration of the hardware modules and the hardware commands is determined to be completed, determining command tasks for respectively controlling the hardware modules and the hardware commands, and determining execution time corresponding to each command task; and sequentially executing the command tasks according to the execution time corresponding to each command task. The invention realizes the configurability of laser communication equipment control, can better support the expansion of hardware equipment, has good expandability and is easy to realize engineering.

Description

Configurable laser communication equipment control method, device, equipment and medium
Technical Field
The present invention relates to the field of laser communications technologies, and in particular, to a method, an apparatus, a device, and a medium for controlling a configurable laser communications device.
Background
The laser communication control system is a control management core of the in-station equipment and is a key for ensuring continuous operation of the service. As systems continue to build, the number of services and devices that need to be managed increases.
Because the laser communication devices involved in the laser communication are more, and the control parameters of each laser communication device are more, the related technology generally develops a specific control unit aiming at each laser communication device, and a plurality of control units form a laser communication control system.
Therefore, how to realize the expandability of the control of the laser communication device is a technical problem to be solved in the industry.
Disclosure of Invention
Aiming at the problems existing in the prior art, the invention provides a configurable laser communication equipment control method, a configurable laser communication equipment control device, a configurable laser communication equipment control device and a configurable laser communication medium.
In a first aspect, the present invention provides a configurable laser communication device control method, including:
determining a hardware module and a hardware command included in laser communication equipment to be controlled, and respectively configuring the hardware module and the hardware command;
after the configuration of the hardware module and the hardware command is determined to be completed, determining command tasks for respectively controlling the hardware module and the hardware command, and determining execution time corresponding to each command task;
and sequentially executing the command tasks according to the execution time respectively corresponding to the command tasks.
Optionally, according to the method for controlling a configurable laser communication device provided by the present invention, the determining a command task for controlling each of the hardware modules and the hardware commands includes:
determining parameters to be controlled, which are respectively included in each hardware module and each hardware command;
and determining a command task for controlling each parameter to be controlled.
Optionally, according to the method for controlling a configurable laser communication device provided by the present invention, the determining a command task for controlling each parameter to be controlled includes:
taking each parameter to be controlled as a target parameter to be controlled respectively, and judging whether the target parameter to be controlled is a controllable parameter or not;
under the condition that the target parameter to be controlled is determined to be a controllable parameter, determining a command task for controlling the target parameter to be controlled to monitor the target parameter to be controlled based on a target monitoring node;
and under the condition that the target to-be-controlled parameter is not the controllable parameter, determining a command task for controlling the target to-be-controlled parameter to monitor the target to-be-controlled parameter based on a target monitoring node.
Optionally, according to the method for controlling a configurable laser communication device provided by the present invention, the monitoring the target parameter to be controlled based on the target monitoring node includes:
monitoring the target parameter to be controlled based on the target monitoring node, and monitoring the running state of the target monitoring node;
and stopping monitoring the target to-be-controlled parameter by the target monitoring node under the condition that the running state of the target monitoring node is monitored to be in an abnormal state, and continuing to monitor the target to-be-controlled parameter based on the backup monitoring node corresponding to the target monitoring node.
Optionally, according to the method for controlling a configurable laser communication device provided by the present invention, the backup monitoring nodes corresponding to the target monitoring nodes are multiple;
the continuously monitoring the target parameter to be controlled based on the backup monitoring node corresponding to the target monitoring node comprises the following steps:
determining a target backup monitoring node in a plurality of backup monitoring nodes corresponding to the target monitoring node;
and continuously monitoring the target parameter to be controlled based on the target backup monitoring node.
Optionally, according to the method for controlling a configurable laser communication device provided by the present invention, the configuring the hardware module and the hardware command respectively includes:
and configuring parameters to be controlled, which are respectively included in the hardware modules and the hardware commands.
Optionally, according to the method for controlling a configurable laser communication device provided by the present invention, before the configuring of the parameters to be controlled included in each of the hardware modules and the hardware commands, the method further includes:
configuring a module identifier, a module name and a module port of the hardware module and an identifier of laser communication equipment to which the hardware module belongs;
and configuring the command identifier and the command name of the hardware command and the identifier of the laser communication equipment to which the hardware command belongs.
In a second aspect, the present invention also provides a configurable laser communication device control apparatus, including:
the configuration module is used for determining a hardware module and a hardware command which are included in the laser communication equipment to be controlled, and respectively configuring the hardware module and the hardware command;
the determining module is used for determining command tasks for respectively controlling the hardware modules and the hardware commands after determining that the hardware modules and the hardware commands are configured, and determining execution time corresponding to each command task;
and the execution module is used for sequentially executing the command tasks according to the execution time respectively corresponding to the command tasks.
In a third aspect, the present invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the configurable laser communication device control method of the first aspect when executing the program.
In a fourth aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the configurable laser communication device control method of the first aspect.
In a fifth aspect, the present invention also provides a computer program product comprising a computer program which, when executed by a processor, implements the configurable laser communication device control method of the first aspect.
The invention provides a control method, a device, equipment and a medium of a configurable laser communication device, which are characterized in that firstly, a hardware module and a hardware command which are included in the laser communication device to be controlled are determined, the hardware module and the hardware command are respectively configured, then after the configuration of the hardware module and the hardware command is determined to be completed, command tasks which are respectively controlled for each hardware module and each hardware command are determined, and execution time corresponding to each command task is determined, and then each command task is sequentially executed according to the execution time corresponding to each command task; the invention divides the laser communication equipment into the hardware module and the hardware command, and then configures the hardware module and the hardware command respectively, after the configuration is completed, the control of the laser communication equipment is realized according to the command task, the configurability of the control of the laser communication equipment is realized, the expansion of the hardware equipment can be better supported, the expandability is good, and the engineering realization is easy.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for controlling a configurable laser communication device provided by the invention;
fig. 2 is a schematic diagram of hierarchical splitting monitoring of a laser communication device provided by the invention;
FIG. 3 is a schematic diagram of a backup monitoring node switching process provided by the present invention;
FIG. 4 is a schematic flow chart of a control service provided by the present invention;
FIG. 5 is a schematic diagram of a control device for a configurable laser communication device according to the present invention;
fig. 6 is a schematic diagram of the physical structure of the electronic device provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
With the continuous construction of the laser communication control system, the number of services and devices to be managed is increased, and how to realize the linear expansion of hardware device control, the device information is displayed in a centralized manner, the service flow is flexible and configurable, and on the design of a system architecture, the comprehensive control follows the design principles of high cohesion, loose coupling, good adaptability, high expansibility, strong availability, maturity, reliability, standard interface and the like, and can meet the system construction requirement on the basis of being compatible with the original service, thereby being the problem to be solved in the industry.
The method, the device, the equipment and the medium for controlling the configurable laser communication equipment provided by the invention are exemplarily described below with reference to the accompanying drawings.
Fig. 1 is a flow chart of a control method of a configurable laser communication device provided by the invention, as shown in fig. 1, the method includes:
step 100, determining a hardware module and a hardware command included in a laser communication device to be controlled, and respectively configuring the hardware module and the hardware command;
step 110, after the configuration of the hardware module and the hardware command is determined, determining command tasks for respectively controlling the hardware module and the hardware command, and determining execution time corresponding to each command task;
step 120, executing each command task in turn according to the execution time corresponding to each command task.
It should be noted that, the execution body of the control method of the configurable laser communication device provided by the embodiment of the invention may be an electronic device, a component in the electronic device, an integrated circuit, or a chip. The electronic device may be a mobile electronic device or a non-mobile electronic device. Illustratively, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a wearable device, an Ultra mobile personal computer (Ultra-mobile Personal Computer, UMPC), a netbook or a personal digital assistant (Personal Digital Assistant, PDA), etc., and the non-mobile electronic device may be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (Personal Computer, PC), a Television (Television, TV), a self-service machine, etc., which is not particularly limited by the embodiments of the present invention.
The technical scheme of the embodiment of the invention is described in detail below by taking a computer to execute the control method of the configurable laser communication equipment provided by the invention as an example.
Specifically, in order to overcome the defect that the prior art is difficult to realize control expansion of the laser communication equipment, the method comprises the steps of firstly determining a hardware module and a hardware command which are included in the laser communication equipment to be controlled, respectively configuring the hardware module and the hardware command, then determining command tasks which respectively control the hardware module and the hardware command after the configuration of the hardware module and the hardware command is determined to be completed, and determining execution time which respectively corresponds to each command task, and further sequentially executing each command task according to the execution time which respectively corresponds to each command task; the invention divides the laser communication equipment into the hardware module and the hardware command, and then configures the hardware module and the hardware command respectively, after the configuration is completed, the control of the laser communication equipment is realized according to the command task, the configurability of the control of the laser communication equipment is realized, the expansion of the hardware equipment can be better supported, the expandability is good, and the engineering realization is easy.
Alternatively, the laser communication device to be controlled may be first determined, and the hardware modules and hardware commands included in the laser communication device may be determined, that is, the laser communication device may be split into a plurality of different hardware modules and hardware commands.
For example, the hardware module is an optical transceiver, a power supply module, etc. in the laser communication device.
For example, the hardware command is an optical antenna operation mode switching command, a received light off normal control command, or the like.
Alternatively, after splitting the laser communication device into a plurality of different hardware modules and hardware commands, the hardware modules and hardware commands included in the laser communication device may be configured.
Optionally, the configuring the hardware module and the hardware command respectively includes:
and configuring parameters to be controlled, which are respectively included in the hardware modules and the hardware commands.
Specifically, after the laser communication device is split into a plurality of different hardware modules and hardware commands, parameters to be controlled included in each hardware module and parameters to be controlled included in each hardware command are determined, and then the parameters to be controlled included in each hardware module and the parameters to be controlled included in each hardware command are configured.
It should be noted that, the parameters to be controlled in the embodiment of the present invention include parameters that can be controlled and parameters that cannot be controlled, and parameters that cannot be controlled may be monitored or monitored.
For example, the structural design for configuring the parameters to be controlled is shown in table 1:
TABLE 1 to-be-controlled parameter configuration Table example
It should be noted that, in the development process of the laser communication control device, control parameters also bring challenges to project development, especially to the UI front end interface, which needs to be redesigned and developed, so as to greatly increase the risk of the project.
Optionally, before the configuring the parameters to be controlled, where each hardware module and each hardware command include each hardware module and each hardware command, the method further includes:
configuring a module identifier, a module name and a module port of the hardware module and an identifier of laser communication equipment to which the hardware module belongs;
and configuring the command identifier and the command name of the hardware command and the identifier of the laser communication equipment to which the hardware command belongs.
Specifically, in the embodiment of the present invention, after splitting the laser communication device into a plurality of different hardware modules and hardware commands, the module identifier, the module name, and the module port of the hardware module, and the identifier of the laser communication device to which the hardware module belongs may be configured first, and simultaneously, the command identifier and the command name of the hardware command, and the identifier of the laser communication device to which the hardware command belongs are configured, so as to further determine the parameters to be controlled included in each hardware module, and the parameters to be controlled included in each hardware command, and then configure the parameters to be controlled included in each hardware module and the parameters to be controlled included in each hardware command.
Optionally, the structural design for configuring the hardware module is shown in table 2:
table 2 hardware module configuration representation
Optionally, the structural design for configuring the hardware commands is shown in table 3:
table 3 hardware command configuration table example
Optionally, after the configuration of each hardware module and each hardware command is determined, a command task for respectively controlling each hardware module and each hardware command may be determined according to the configuration of the laser device control system, and execution time corresponding to each command task may be determined.
Optionally, the determining a command task for controlling each of the hardware modules and the hardware commands includes:
determining parameters to be controlled, which are respectively included in each hardware module and each hardware command;
and determining a command task for controlling each parameter to be controlled.
Specifically, in the embodiment of the present invention, after the configuration of each hardware module and each hardware command is determined, parameters to be controlled, which are included in each hardware module and each hardware command, may be determined, and then command tasks for controlling each parameter to be controlled are determined.
It can be understood that, in the embodiment of the invention, three levels of the laser communication device-hardware module and the hardware command-parameter to be controlled are obtained by classifying and splitting the laser communication device, and unified data table storage management is designed for the hardware module, the hardware command and the parameter to be controlled, so that the configurability of the laser communication device control is realized.
The invention provides a control method of a configurable laser communication device, which comprises the steps of firstly determining a hardware module and a hardware command included in the laser communication device to be controlled, respectively configuring the hardware module and the hardware command, then determining command tasks for respectively controlling the hardware module and the hardware command after the configuration of the hardware module and the hardware command is determined to be completed, and determining execution time respectively corresponding to each command task, and further sequentially executing each command task according to the execution time respectively corresponding to each command task; the invention divides the laser communication equipment into the hardware module and the hardware command, and then configures the hardware module and the hardware command respectively, after the configuration is completed, the control of the laser communication equipment is realized according to the command task, the configurability of the control of the laser communication equipment is realized, the expansion of the hardware equipment can be better supported, the expandability is good, and the engineering realization is easy.
Optionally, the determining a command task for controlling each parameter to be controlled includes:
taking each parameter to be controlled as a target parameter to be controlled respectively, and judging whether the target parameter to be controlled is a controllable parameter or not;
under the condition that the target parameter to be controlled is determined to be a controllable parameter, determining a command task for controlling the target parameter to be controlled to monitor the target parameter to be controlled based on a target monitoring node;
and under the condition that the target to-be-controlled parameter is not the controllable parameter, determining a command task for controlling the target to-be-controlled parameter to monitor the target to-be-controlled parameter based on a target monitoring node.
Specifically, in the embodiment of the present invention, in order to determine a command task for controlling each parameter to be controlled, each parameter to be controlled may be first used as a target parameter to be controlled, and whether the target parameter to be controlled is a controllable parameter may be determined; if the target parameter to be controlled is determined to be the controllable parameter, determining a command task for controlling the target parameter to be controlled to monitor the target parameter to be controlled based on a target monitoring node; if the target parameter to be controlled is not the controllable parameter, determining the command task for controlling the target parameter to be controlled is based on the target monitoring node to monitor the target parameter to be controlled.
Alternatively, a plurality of monitoring nodes and monitoring nodes may be provided to perform monitoring communication in common with the entire laser communication apparatus.
It should be noted that, each monitoring node serves as a system service, so that the influence of internal anomalies on other functional modules of the system can be isolated. Because the probability of simultaneous occurrence of faults of a plurality of monitoring nodes is low and resources are limited, the embodiment of the invention adopts the plurality of monitoring nodes to realize the monitoring task of the laser communication equipment based on the load balancing strategy.
Optionally, fig. 2 is a schematic diagram of hierarchical splitting monitoring of a laser communication device provided by the present invention, and as shown in fig. 2, monitoring hardware (i.e. a monitoring device, including a monitoring node and a monitoring node) implements monitoring of parameters of a hardware module and parameters of a hardware command.
It can be understood that the embodiment of the invention realizes the monitoring and control of controllable parameters through the monitoring node, and the monitoring of uncontrollable parameters through the monitoring node, namely, the monitoring of each laser communication device is divided into state monitoring and control, which are respectively two independent micro services, and a reliable monitoring function is provided for the laser communication device.
Optionally, the monitoring the target parameter to be controlled based on the target monitoring node includes:
monitoring the target parameter to be controlled based on the target monitoring node, and monitoring the running state of the target monitoring node;
and stopping monitoring the target to-be-controlled parameter by the target monitoring node under the condition that the running state of the target monitoring node is monitored to be in an abnormal state, and continuing to monitor the target to-be-controlled parameter based on the backup monitoring node corresponding to the target monitoring node.
Specifically, in the embodiment of the invention, the target monitoring node monitors the target to-be-controlled parameter and monitors the running state of the target monitoring node, if the running state of the target monitoring node is abnormal, the monitoring of the target to-be-controlled parameter by the target monitoring node is stopped, and the target to-be-controlled parameter is continuously monitored based on the backup monitoring node corresponding to the target monitoring node.
It should be noted that, the controlled device generally only supports 1 monitoring node terminal connection, and the fatal abnormality in the monitoring node terminal can cause the monitoring function failure of all devices in the node, so in order to realize that when the monitoring node terminal is abnormal, the embodiment of the invention can automatically initiate a new monitoring link, take over the original monitoring, realize high availability of control, and therefore, each monitoring node is provided with a backup monitoring node corresponding to the monitoring node.
Optionally, in the embodiment of the present invention, the monitoring service adopts a "1+k" backup scheme. 1 operation node starts micro service to implement monitoring function, K backup nodes are installed with monitoring micro service function (K is positive integer). The device resource management node inquires the report state of the monitoring micro-service in real time, and when the operation node fails or the monitoring micro-service is abnormal, the device resource management node issues a monitoring service closing message and issues a monitoring service starting message to the backup node, so that the backup node takes over the monitoring function of the device.
Fig. 3 is a schematic flow chart of backup monitoring node switching provided in the present invention, taking fig. 3 as an example, after each running monitoring micro service is started, each device for configuration monitoring is loaded, and the monitoring micro service registers a device monitoring service with a service management center. The service management center detects the running state of each monitoring micro-service, and simultaneously generalizes the monitoring nodes where each monitoring micro-service is located according to the registration information of the equipment monitoring service, and reports the monitoring heartbeat in real time. If the equipment resource management node finds that the target monitoring micro-service heartbeat is abnormal, the equipment resource management node stops the monitoring service of the node. And after receiving the service start message, the backup monitoring node takes over the equipment monitoring service of the fault node.
Alternatively, the communication between the monitoring microservice and the laser communication device may be in the form of transmission control protocol (Transmission Control Protocol, TCP) communication. The composition of the communication protocol includes a message header, a message body, and a message trailer, wherein the message header and message trailer are shown in tables 4 and 5. The communication protocols include a supervisory instruction protocol, a supervisory instruction response protocol, a supervisory instruction protocol, and a supervisory instruction response protocol, as shown in tables 6, 7, 8, and 9, respectively, and the data storage method in the protocol may be a Little Endian (Little-Endian).
TABLE 4 message header
TABLE 5 message tail
Table 6 Surveillance instruction protocol
Table 7 Surveillance Command response protocol
Table 8 Supervisory Command protocol
Table 9 monitoring instruction response protocol
It can be understood that when the monitoring node terminal is abnormal, the embodiment of the invention can automatically initiate a new monitoring link, which is a backup monitoring node for taking over the original monitoring and realizing high availability of control.
Optionally, the backup monitoring nodes corresponding to the target monitoring nodes are multiple;
the continuously monitoring the target parameter to be controlled based on the backup monitoring node corresponding to the target monitoring node comprises the following steps:
determining a target backup monitoring node in a plurality of backup monitoring nodes corresponding to the target monitoring node;
and continuously monitoring the target parameter to be controlled based on the target backup monitoring node.
Specifically, in the embodiment of the invention, a plurality of backup monitoring nodes corresponding to the target monitoring nodes are provided, so as to realize continuous monitoring of the target parameter to be controlled based on the backup monitoring nodes corresponding to the target monitoring nodes, the target backup monitoring nodes in the plurality of backup monitoring nodes corresponding to the target monitoring nodes can be determined first, and then the target parameter to be controlled can be continuously monitored based on the target backup monitoring nodes.
Optionally, any one of the plurality of backup monitoring nodes may be arbitrarily determined as the target backup monitoring node.
It can be understood that by setting a plurality of backup monitoring nodes, the embodiment of the invention is beneficial to improving the reliability of taking over the monitoring of the original monitoring node by the backup monitoring node, namely, if the original monitoring node and a certain backup monitoring node are abnormal in operation, the embodiment can take over the monitoring function of the original monitoring node based on the backup monitoring node which can normally operate in addition, thereby improving the monitoring reliability.
Fig. 4 is a schematic flow chart of a control service provided by the present invention, taking fig. 4 as an example, an embodiment of the present invention adopts a design control workflow based on a "laser communication device-hardware module and hardware command-parameters to be controlled". Each step of the workflow includes an execution order, an execution time, an execution category, an execution condition, and an execution result. The execution granularity of each step is that each equipment module or command is taken as a unit, so that the whole flow has more flexibility. The specific control business process may include:
(1) The subsystem receives a control task issued by the operation control center;
(2) The resource management unit issues resource requirements of the laser communication equipment according to the control task;
(3) The resource allocation unit allocates optimal laser communication equipment according to task control requirements;
(4) The equipment resource management unit receives the equipment control task, acquires the equipment control flow, and splits the equipment control flow into command tasks according to time according to system configuration;
(5) And the equipment monitoring unit completes execution of the command tasks according to the command tasks in sequence according to time.
The invention provides a control method of a configurable laser communication device, which comprises the steps of firstly determining a hardware module and a hardware command included in the laser communication device to be controlled, respectively configuring the hardware module and the hardware command, then determining command tasks for respectively controlling the hardware module and the hardware command after the configuration of the hardware module and the hardware command is determined to be completed, and determining execution time respectively corresponding to each command task, and further sequentially executing each command task according to the execution time respectively corresponding to each command task; the invention divides the laser communication equipment into the hardware module and the hardware command, and then configures the hardware module and the hardware command respectively, after the configuration is completed, the control of the laser communication equipment is realized according to the command task, the configurability of the control of the laser communication equipment is realized, the expansion of the hardware equipment can be better supported, the expandability is good, and the engineering realization is easy.
The configurable laser communication device control apparatus provided by the present invention is described below, and the configurable laser communication device control apparatus described below and the configurable laser communication device control method described above may be referred to correspondingly to each other.
Fig. 5 is a schematic structural diagram of a configurable laser communication device control apparatus provided by the present invention, as shown in fig. 5, the apparatus includes: a configuration module 510, a determination module 520, and an execution module 530; wherein:
the configuration module 510 is configured to determine a hardware module and a hardware command included in the laser communication device to be controlled, and configure the hardware module and the hardware command respectively;
the determining module 520 is configured to determine, after determining that the configuration of the hardware module and the hardware command is completed, a command task for controlling each of the hardware module and the hardware command, and determine an execution time corresponding to each of the command tasks;
the execution module 530 is configured to sequentially execute each of the command tasks according to the execution time corresponding to each of the command tasks.
The invention provides a configurable laser communication equipment control device, which comprises the steps of firstly determining a hardware module and a hardware command included in laser communication equipment to be controlled, respectively configuring the hardware module and the hardware command, then determining command tasks for respectively controlling the hardware module and the hardware command after the configuration of the hardware module and the hardware command is determined to be completed, and determining execution time respectively corresponding to each command task, and further sequentially executing each command task according to the execution time respectively corresponding to each command task; the invention divides the laser communication equipment into the hardware module and the hardware command, and then configures the hardware module and the hardware command respectively, after the configuration is completed, the control of the laser communication equipment is realized according to the command task, the configurability of the control of the laser communication equipment is realized, the expansion of the hardware equipment can be better supported, the expandability is good, and the engineering realization is easy.
It should be noted that, the above-mentioned configurable laser communication device control apparatus provided by the embodiment of the present invention can implement all the method steps implemented by the above-mentioned configurable laser communication device control method embodiment, and can achieve the same technical effects, and detailed descriptions of the same parts and beneficial effects as those of the method embodiment in this embodiment are omitted herein.
Fig. 6 is a schematic physical structure of an electronic device according to the present invention, as shown in fig. 6, the electronic device may include: processor 610, communication interface (Communications Interface) 620, memory 630, and communication bus 640, wherein processor 610, communication interface 620, and memory 630 communicate with each other via communication bus 640. The processor 610 may invoke logic instructions in the memory 630 to perform the configurable laser communication device control method provided by the methods described above, the method comprising:
determining a hardware module and a hardware command included in laser communication equipment to be controlled, and respectively configuring the hardware module and the hardware command;
after the configuration of the hardware module and the hardware command is determined to be completed, determining command tasks for respectively controlling the hardware module and the hardware command, and determining execution time corresponding to each command task;
and sequentially executing the command tasks according to the execution time respectively corresponding to the command tasks.
Further, the logic instructions in the memory 630 may be implemented in the form of software functional units and stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the method of controlling a configurable laser communication device provided by the methods described above, the method comprising:
determining a hardware module and a hardware command included in laser communication equipment to be controlled, and respectively configuring the hardware module and the hardware command;
after the configuration of the hardware module and the hardware command is determined to be completed, determining command tasks for respectively controlling the hardware module and the hardware command, and determining execution time corresponding to each command task;
and sequentially executing the command tasks according to the execution time respectively corresponding to the command tasks.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which when executed by a processor is implemented to perform the above provided configurable laser communication device control methods, the method comprising:
determining a hardware module and a hardware command included in laser communication equipment to be controlled, and respectively configuring the hardware module and the hardware command;
after the configuration of the hardware module and the hardware command is determined to be completed, determining command tasks for respectively controlling the hardware module and the hardware command, and determining execution time corresponding to each command task;
and sequentially executing the command tasks according to the execution time respectively corresponding to the command tasks.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. A method for controlling a configurable laser communication device, comprising:
determining a hardware module and a hardware command included in laser communication equipment to be controlled, and respectively configuring the hardware module and the hardware command;
after the configuration of the hardware module and the hardware command is determined to be completed, determining command tasks for respectively controlling the hardware module and the hardware command, and determining execution time corresponding to each command task;
sequentially executing the command tasks according to the execution time respectively corresponding to the command tasks;
the determining a command task for respectively controlling the hardware modules and the hardware commands comprises the following steps:
determining parameters to be controlled, which are respectively included in each hardware module and each hardware command;
determining command tasks for controlling the parameters to be controlled;
the determining the command task for controlling each parameter to be controlled comprises the following steps:
taking each parameter to be controlled as a target parameter to be controlled respectively, and judging whether the target parameter to be controlled is a controllable parameter or not;
under the condition that the target parameter to be controlled is determined to be a controllable parameter, determining a command task for controlling the target parameter to be controlled to monitor the target parameter to be controlled based on a target monitoring node;
and under the condition that the target to-be-controlled parameter is not the controllable parameter, determining a command task for controlling the target to-be-controlled parameter to monitor the target to-be-controlled parameter based on a target monitoring node.
2. The method according to claim 1, wherein the monitoring the target parameter to be controlled based on the target monitoring node comprises:
monitoring the target parameter to be controlled based on the target monitoring node, and monitoring the running state of the target monitoring node;
and stopping monitoring the target to-be-controlled parameter by the target monitoring node under the condition that the running state of the target monitoring node is monitored to be in an abnormal state, and continuing to monitor the target to-be-controlled parameter based on the backup monitoring node corresponding to the target monitoring node.
3. The method for controlling a configurable laser communication device according to claim 2, wherein the plurality of backup monitoring nodes corresponding to the target monitoring node;
the continuously monitoring the target parameter to be controlled based on the backup monitoring node corresponding to the target monitoring node comprises the following steps:
determining a target backup monitoring node in a plurality of backup monitoring nodes corresponding to the target monitoring node;
and continuously monitoring the target parameter to be controlled based on the target backup monitoring node.
4. The method according to claim 1, wherein configuring the hardware module and the hardware command, respectively, comprises:
and configuring parameters to be controlled, which are respectively included in the hardware modules and the hardware commands.
5. The method according to claim 4, wherein before said configuring the parameters to be controlled, which are included in each of the hardware modules and the hardware commands, the method further comprises:
configuring a module identifier, a module name and a module port of the hardware module and an identifier of laser communication equipment to which the hardware module belongs;
and configuring the command identifier and the command name of the hardware command and the identifier of the laser communication equipment to which the hardware command belongs.
6. A configurable laser communication device control apparatus, comprising:
the configuration module is used for determining a hardware module and a hardware command which are included in the laser communication equipment to be controlled, and respectively configuring the hardware module and the hardware command;
the determining module is used for determining command tasks for respectively controlling the hardware modules and the hardware commands after determining that the hardware modules and the hardware commands are configured, and determining execution time corresponding to each command task;
the execution module is used for sequentially executing the command tasks according to the execution time respectively corresponding to the command tasks;
the determining a command task for respectively controlling the hardware modules and the hardware commands comprises the following steps:
determining parameters to be controlled, which are respectively included in each hardware module and each hardware command;
determining command tasks for controlling the parameters to be controlled;
the determining the command task for controlling each parameter to be controlled comprises the following steps:
taking each parameter to be controlled as a target parameter to be controlled respectively, and judging whether the target parameter to be controlled is a controllable parameter or not;
under the condition that the target parameter to be controlled is determined to be a controllable parameter, determining a command task for controlling the target parameter to be controlled to monitor the target parameter to be controlled based on a target monitoring node;
and under the condition that the target to-be-controlled parameter is not the controllable parameter, determining a command task for controlling the target to-be-controlled parameter to monitor the target to-be-controlled parameter based on a target monitoring node.
7. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the configurable laser communication device control method of any one of claims 1 to 5 when the program is executed by the processor.
8. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the configurable laser communication device control method of any of claims 1 to 5.
CN202311055944.4A 2023-08-22 2023-08-22 Configurable laser communication equipment control method, device, equipment and medium Active CN116800604B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311055944.4A CN116800604B (en) 2023-08-22 2023-08-22 Configurable laser communication equipment control method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311055944.4A CN116800604B (en) 2023-08-22 2023-08-22 Configurable laser communication equipment control method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN116800604A CN116800604A (en) 2023-09-22
CN116800604B true CN116800604B (en) 2023-11-07

Family

ID=88037610

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311055944.4A Active CN116800604B (en) 2023-08-22 2023-08-22 Configurable laser communication equipment control method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN116800604B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005348088A (en) * 2004-06-03 2005-12-15 Nec Corp Monitoring system
CN101689132A (en) * 2007-05-11 2010-03-31 莱斯特大学 Monitoring device
CN103250130A (en) * 2011-07-11 2013-08-14 邵凯艺 Task execution system, data processing device, and task issuing device and method
CN105677469A (en) * 2016-01-06 2016-06-15 北京京东世纪贸易有限公司 Timing task executing method and device
CN114579288A (en) * 2022-05-09 2022-06-03 成都登临科技有限公司 Task processing method and device and computer equipment
CN115484044A (en) * 2022-07-25 2022-12-16 肖婷 Data state monitoring method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220060788A1 (en) * 2020-08-19 2022-02-24 Douglas C. Harling Systems and Methods for Capturing and Distributing Specified Moments of Activity

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005348088A (en) * 2004-06-03 2005-12-15 Nec Corp Monitoring system
CN101689132A (en) * 2007-05-11 2010-03-31 莱斯特大学 Monitoring device
CN103250130A (en) * 2011-07-11 2013-08-14 邵凯艺 Task execution system, data processing device, and task issuing device and method
CN105677469A (en) * 2016-01-06 2016-06-15 北京京东世纪贸易有限公司 Timing task executing method and device
CN114579288A (en) * 2022-05-09 2022-06-03 成都登临科技有限公司 Task processing method and device and computer equipment
CN115484044A (en) * 2022-07-25 2022-12-16 肖婷 Data state monitoring method and system

Also Published As

Publication number Publication date
CN116800604A (en) 2023-09-22

Similar Documents

Publication Publication Date Title
WO2021129008A1 (en) Service invocation method, apparatus and device, and medium
US20070299906A1 (en) Server change management
CN102882704B (en) Link protection method in the soft reboot escalation process of a kind of ISSU and equipment
CN107948063B (en) Method for establishing aggregation link and access equipment
CN103036719A (en) Cross-regional service disaster method and device based on main cluster servers
CN103188098B (en) A kind of disaster tolerance switching method, system and device
WO2021057605A1 (en) Device management method, device, system and device, and storage medium
US20220283822A1 (en) State machine processing method, state processing method, electronic device, and storage medium
US20060282831A1 (en) Method and hardware node for customized upgrade control
CN111510480A (en) Request sending method and device and first server
CN116800604B (en) Configurable laser communication equipment control method, device, equipment and medium
CN108667640B (en) Communication method and device, and network access system
US9491132B2 (en) System and method for providing push service for reducing network loads
CN110751560B (en) Transaction processing method and device, electronic equipment and readable storage medium
CN103501239A (en) Port state synchronization method and system and port state synchronization associated devices
CN114185691A (en) Sidecar-based UDP multicast method and system
CN110119111B (en) Communication method and device, storage medium, and electronic device
CN113259445B (en) Service management method and system in mixed cloud mode
CN104375889A (en) Web layer switching system and method
CN110955210B (en) AGV scheduling method, device and system
CN118282851B (en) Configuration method, device and medium for sideband interface protocol of network controller
CN111416726A (en) Resource management method, sending end equipment and receiving end equipment
CN116760693B (en) Method and system for switching main and standby nodes of database
CN110991676B (en) Operation and maintenance management platform based on modularized design
KR20050097015A (en) Method of resilience for fault tolerant function

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant