A management method, system and device of a measurement and control device
Patent Information
- Application Number
- CN202310208235.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-24
- Publication Date
- 2026-10-09
- Estimated Expiration
- 2043-02-24
AI Technical Summary
[0003]本申请实施例提供一种测控装置的管理方法、系统和装置,该方案用于解决如何降低对测控装置的人工运维成本的技术问题,提高运行维护管理的效率
Smart Images

Figure CN116244745B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of operation and maintenance technology, and in particular to a management method, system and device for a measurement and control device. Background Technology
[0002] In power system automation applications, measurement and control devices serve as front-end secondary equipment for measurement and control functions. Typically, a single site will be equipped with multiple measurement and control devices. According to clustered measurement and control schemes, multiple devices can be grouped into a cluster, thereby reducing the number of devices. However, the daily operation and maintenance of clustered measurement and control devices usually relies on manual on-site operation. Each individual device stores a large number of files, such as communication configuration files, five-prevention configuration files, critical system files, parameter files, and application files. Downloading or backing up each file individually is cumbersome. Furthermore, relying on manual on-site operation for daily upgrades, maintenance, and information retrieval of individual devices would result in high manual maintenance costs. Summary of the Invention
[0003] This application provides a management method, system, and apparatus for a measurement and control device. This solution addresses the technical problem of reducing the manual operation and maintenance costs of the measurement and control device and improving the efficiency of operation and maintenance management.
[0004] In a first aspect, embodiments of this application provide a management method for a measurement and control device, applied to a management device. The management device has a communication connection with one or more measurement and control devices. The management device has a first permission configuration file, which records a first identifier of at least one file related to each measurement and control device that the management device is allowed to manage, as well as the management device's operation permissions for each file. The method includes: displaying a first management interface, which displays one or more functional controls, each functional control being used to implement different management functions; upon detecting an operation on a first functional control among the one or more functional controls, determining the identifier of a target file, where the target file is a file that the management device needs to read from or send to the first measurement and control device; and, if the management device is determined to have permission to manage the target file according to the first permission configuration file, managing the first measurement and control device according to the identifier of the target file and the management function corresponding to the first functional control.
[0005] This application provides a management method for measurement and control devices. Since it is applied to a management device, which has communication connections with multiple measurement and control devices, the management device has a first permission configuration file. The first permission configuration file records a first identifier of at least one file related to each measurement and control device that the management device is allowed to manage, as well as the management device's operation permissions for each file. This allows the management device to determine which operation permissions it has for files in the measurement and control devices based on the content of the first permission configuration file, enabling users to subsequently manage the target files. Then, a first management interface is displayed, which shows one or more functional controls. Different functional controls are used to implement different management functions, thus enabling users to... The human-machine interaction between the user and the management device allows the user to select specific management functions for the target file. Then, upon detecting an operation on the first functional control among one or more functional controls, the identifier of the target file is determined. The target file is the file that the management device needs to read from or send to the first measurement and control device. This determines whether the management device has the relevant management permissions for the target file. If the management device is determined to have the permission to manage the target file based on the first permission configuration file, the first measurement and control device is managed according to the identifier of the target file and the management function corresponding to the first functional control. This solves the technical problem of how to reduce the manual operation and maintenance costs of the measurement and control device and improves the efficiency of operation and maintenance management.
[0006] In one possible implementation of this application, the first functional control is a viewing function control or a backup function control. Managing the first measurement and control device based on the identifier of the target file and the management function corresponding to the first functional control includes: sending a first management instruction to the first measurement and control device via a communication connection, the first management instruction instructing the first measurement and control device to provide the target file to the management device; receiving the target file fed back from the first measurement and control device via the communication connection, and storing the target file.
[0007] In one possible implementation of this application, the first functional control is a viewing functional control, and correspondingly, the target file is a file stored in the first measurement and control device and containing relevant information of the first measurement and control device. After receiving the target file from the first measurement and control device and storing the target file, the method further includes: displaying the content related to the filtering conditions in the target file on the display interface of the management device according to the filtering conditions set by the user.
[0008] In one possible implementation of this application, the first functional control is a backup functional control, and the management device further has a second configuration file. The second configuration file records a second identifier of one or more first permission configuration files in the first measurement and control device and / or the operation permissions associated with each second identifier. If the management device is determined to have permission to manage a target file based on the first permission configuration file, before managing the first measurement and control device according to the identifier of the target file and the management function corresponding to the first functional control, the method provided in this application further includes: if the first permission configuration file includes any second identifier from the second configuration file, or if the first permission configuration file includes any second identifier from the second configuration file and the operation permission associated with any second identifier is allowed, then the management device determines that it has operation permissions for the first permission configuration file associated with any second identifier. Correspondingly, the target file is the first permission configuration file associated with any second identifier. If the first permission configuration file does not include any second identifier, or if the first permission configuration file includes any second identifier but the operation permission associated with any second identifier is not allowed, then the management device determines that it does not have operation permissions for the first permission configuration file associated with any second identifier.
[0009] In one possible implementation of this application, the first functional control is either a recovery functional control or an upgrade functional control. The first measurement and control device is managed according to the identifier of the target file and the management function corresponding to the first functional control, including: sending the target file to the first measurement and control device via a communication connection. If the first functional control is a recovery functional control, the target file is the file to be recovered required by the first measurement and control device. If the first functional control is an upgrade functional control, the target file is the upgrade package of the first measurement and control device. When the management device determines that the first measurement and control device has successfully received the target file, the management device sends a restart command to the first measurement and control device, which instructs the first measurement and control device to restart.
[0010] In one possible implementation of this application, the first permission configuration file is stored in the management device in an encrypted format, and the method further includes: decrypting the first permission configuration file before updating it. Alternatively, all files transmitted between the management device and any monitoring and control device over the established communication connection are encrypted. Accordingly, the method provided in the embodiments of this application further includes: decrypting the encrypted files received from any monitoring and control device.
[0011] In one possible implementation of this application, upon detecting an operation on a first functional control among one or more functional controls, the management device determines, based on the role of the user currently logged into the management device, whether the user has permission to perform management functions corresponding to the first functional control on the first measurement and control device. If the user has permission to perform management functions corresponding to the first functional control on the first measurement and control device, the management device performs the action of determining the identifier of the target file.
[0012] In one possible implementation of this application, each of the multiple measurement and control devices carries a unique code corresponding to each measurement and control device. The unique code is the identifier of each measurement and control device. Before step 310 above, the method provided by the embodiment of this application further includes: the management device determining the first measurement and control device from the multiple measurement and control devices according to the unique code corresponding to the first measurement and control device, and determining the communication connection established between the management device and the first measurement and control device.
[0013] In one possible implementation of this application, the method provided in this embodiment further includes: before displaying the first management interface, the method further includes: if a first operation is detected, determining whether the management device has permission to access the first management page; correspondingly, if the management device has permission to access the first management page, the management device responds to the first operation and displays the first management interface. If the management device does not have permission to access the first management page, a prompt message is output to indicate that the currently logged-in user does not have operation permission.
[0014] Secondly, embodiments of this application provide a management device for a measurement and control device. This management device can implement the methods in the first aspect or any possible implementation of the first aspect, and therefore can also achieve the beneficial effects of the first aspect or any possible implementation of the first aspect. The management device can be a management device, or it can be an apparatus that supports the management device in implementing the methods in the first aspect or any possible implementation of the first aspect, such as a chip or control circuit applied in a management device. The management device can implement the above methods through software, hardware, or hardware executing corresponding software.
[0015] As an example, this application provides a management device for a measurement and control device. This management device is either a management unit or a chip applied within a management device. The management device includes a display unit, a determination unit, and a management unit. The display unit displays a first management interface with one or more functional controls, each used to implement a different management function. The determination unit, upon detecting an operation on one of the one or more functional controls, determines the identifier of a target file. The target file is a file that the management device needs to read from or send to the first measurement and control device. The management unit, upon determining, based on a first permission configuration file that the management device has permission to manage the target file, manages the first measurement and control device according to the identifier of the target file and the management function corresponding to the first functional control.
[0016] In one possible implementation of this application, the management device of the measurement and control device further includes: a transmission unit, which is used to send a first management instruction to the first measurement and control device through a communication connection. The first management instruction is used to instruct the first measurement and control device to provide a target file to the management device, receive the target file fed back from the first measurement and control device through the communication connection, and store the target file.
[0017] In one possible implementation of this application, the display unit is further configured to display content related to the filtering conditions in the target file on the display interface of the management device according to the filtering conditions set by the user.
[0018] In one possible implementation of this application, the determining unit is further configured to determine whether the management device has operation permissions for the first permission configuration file associated with any second identifier.
[0019] In one possible implementation of this application, the management device of the measurement and control device further includes an encryption and decryption unit, which is used to decrypt any encrypted file received from any measurement and control device.
[0020] Thirdly, embodiments of this application provide a computer-readable storage medium storing a computer program or instructions that, when executed on a computer, cause the computer to perform a method for managing a measurement and control device as described in any of the possible implementations of the first aspect.
[0021] Fourthly, embodiments of this application provide a computer program product including instructions that, when executed on a computer, cause the computer to perform a method for managing a measurement and control device as described in the first aspect or various possible implementations of the first aspect.
[0022] Fifthly, embodiments of this application provide a chip including a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run computer programs or instructions to implement a method for managing a measurement and control device as described in the first aspect or various possible implementations of the first aspect. The communication interface is used to communicate with other modules outside the chip.
[0023] In a sixth aspect, embodiments of this application provide a management system for a measurement and control device. The management system includes a management device and one or more measurement and control devices. The management device has a communication connection with the one or more measurement and control devices. The management device is used to execute a method for managing a measurement and control device as described in the first aspect or various possible implementations of the first aspect. Attached Figure Description
[0024] Figure 1 This application provides a maintenance and management system for a measurement and control device.
[0025] Figure 2 This is a schematic diagram of the structure of a management device provided in an embodiment of this application;
[0026] Figure 3 A flowchart illustrating a management method for a measurement and control device provided in an embodiment of this application;
[0027] Figure 4 A schematic diagram of a management interface of a management device provided in an embodiment of this application;
[0028] Figure 5 A schematic diagram illustrating the process of a management device backing up files from a first measurement and control device, provided in an embodiment of this application;
[0029] Figure 6 This application provides a schematic diagram of a process for a management device to restore deleted system files in a first measurement and control device.
[0030] Figure 7 A schematic diagram illustrating a process for a management device to view log files in a first measurement and control device, provided in an embodiment of this application;
[0031] Figure 8 A schematic diagram illustrating the process of upgrading an application program in a first measurement and control device by a management device, as provided in an embodiment of this application;
[0032] Figure 9 This is a schematic diagram of the structure of a management device for a measurement and control device provided in an embodiment of this application. Detailed Implementation
[0033] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0034] To illustrate the technical solution of this application, specific embodiments are described below.
[0035] Before introducing the embodiments of this application, the relevant terms involved in this application are first defined as follows:
[0036] (1) Intelligent Electronic Device Capability Description (ICD): This is a file provided by the device manufacturer to the system integrator, describing the basic data model and services provided by the IED, but excluding the IED instance name and communication parameters.
[0037] (2) Process layer configuration (Configured Circuit Description, CCD) file: contains virtual files that automatically complete basic functions such as information acquisition, measurement, control, protection, metering and detection, and have information to support real-time automatic control, intelligent regulation and online analysis and decision-making of the power grid.
[0038] (3) Electric Power Dispatching Data Network: A data transmission service that uses a virtual private network to interconnect dispatch centers at all levels and between dispatch centers and related power plants and substations. It uses routing and switching equipment on a dedicated channel to form a network and realize data transmission services with the power information, relay protection management information system and other systems that are shared within the system.
[0039] (4) Transport Layer Security (TLS) protocol: a security protocol built on the transport layer and serving the application layer. It enables the encryption of application layer data before transmission, thereby ensuring the confidentiality and integrity of the data.
[0040] (5) The fifth generation Message-Digest Algorithm (MD5) is a widely used cryptographic hash function that can produce a 128-bit (16-byte) hash value to ensure the integrity and consistency of information transmission.
[0041] In power system automation applications, measurement and control devices serve as front-end secondary equipment for measurement and control functions. Typically, a single site will have multiple measurement and control devices. According to clustered measurement and control schemes, multiple devices can be grouped into a cluster, thereby reducing the number of devices. However, clustered measurement and control schemes still rely on manual on-site operation for the daily operation and maintenance of these devices, which presents the following main problems: First, the measurement and control devices store a large number of files, such as communication configuration files (e.g., ICD files, CCD files), five-prevention configuration files, critical system files, parameter files, application files, etc. Because current technologies require on-site manual operation for restoring or upgrading files in the measurement and control devices, it is impossible to remotely maintain and manage each file. For example, when upgrading a target application file in the measurement and control device, the user needs to go to the site to perform the upgrade operation, resulting in inconvenience in maintaining the measurement and control devices and high manual maintenance costs.
[0042] Secondly, since the information obtained by the 61850 client based on ICD modeling in the existing technology is mainly line operating information, it cannot obtain information reflecting the status of the measurement and control device itself, such as alarm information and log files, which brings inconvenience to the daily operation and maintenance of the measurement and control device.
[0043] The proposed solution, through the communication connection between the management device and the measurement and control device, enables remote management of the measurement and control device based on the configured first permission configuration file. This includes functions such as upgrades and recovery. The solution addresses the technical challenge of reducing the manual maintenance costs of the measurement and control device and improving the efficiency of operation and maintenance management.
[0044] To illustrate the technical solution described in this application, specific embodiments are provided below.
[0045] like Figure 1 As shown, Figure 1 This application provides an architecture diagram of a maintenance management system for a measurement and control device. The system includes a management device 100 and one or more measurement and control devices 200.
[0046] The management device 100 has a communication connection with one or more monitoring and control devices 200, enabling the management device 100 to send management operation commands (such as upgrade commands, backup commands, or restart commands) to any monitoring and control device 200 through this communication connection. Of course, any monitoring and control device 200 and the management device 100 can also transfer files to each other based on this communication connection. For example, the monitoring and control device 200 can send its operation records, running records, device status alarm information, private log records, and other files to the management device 100 through this communication connection.
[0047] For example, the management device 100 and one or more monitoring and control devices 200 can establish a remote wireless communication connection in the power dispatch data network. Of course, the management device 100 can also have a wired communication connection with one or more monitoring and control devices. This application describes the establishment of a remote wireless communication connection between the management device 100 and each monitoring and control device 200 as an example.
[0048] To further ensure the security of data transmitted between the two parties, the wireless communication connection established between the management device 100 and any of the measurement and control devices 200 can be an encrypted communication connection. In this way, the data (such as the target file described below) transmitted between the management device 100 and any of the measurement and control devices 200 on the encrypted communication connection is transmitted in an encrypted manner, thereby improving the security of data transmission.
[0049] For example, the management device 100 and any of the measurement and control devices 200 can establish an encrypted communication connection via the TLS protocol. The wireless communication connection established between the management device 100 and the measurement and control device 200 via the TLS protocol can be found in existing technologies, and will not be described in detail here.
[0050] For example, when the management device 100 establishes remote wireless communication with any measurement and control device, the user can use the management device 100 to remotely manage the communication configuration files (ICD, CCD), five-proof configuration files, key system files, parameter files, etc. in any measurement and control device 200, thereby realizing management functions such as backup, recovery, viewing, and upgrading of the measurement and control device.
[0051] As an example, the management device 100 can be an electronic device, such as a computer or mobile phone. Of course, the management device 100 can also be management software installed in an electronic device that can manage the measurement and control device.
[0052] Optionally, the one or more of the aforementioned measurement and control devices 200 can be configured as a cluster measurement and control device (such as a server) according to the cluster measurement and control scheme. Through the cluster measurement and control device, the management device 100 can establish a communication connection with one or more measurement and control devices 200 and can remotely manage any one of the measurement and control devices 200.
[0053] For example, one or more monitoring and control devices 200 can be deployed at the same site or at different sites. Multiple monitoring and control devices 200 within the same site can form a cluster monitoring and control device.
[0054] As an example, such as Figure 1The system shown may further include an application server. The application server stores one or more user accounts, the password for each user account, and the user role for each user account. Different user roles correspond to different access permissions.
[0055] like Figure 2 As shown, Figure 2 The diagram shows a structural schematic of a management device 100 provided in an embodiment of this application. The management device 100 includes: a display module, an identity verification module, an encryption and decryption module, a storage module, an information reading module, and a communication module.
[0056] The display module is used to manage the display interface for human-computer interaction between the device and the user, or to provide the user with a display interface to view file content, such as the content of a log file.
[0057] The identity verification module is used to verify the user's identity and role. For example, for security reasons, the identity verification module divides the operation permissions for different roles. For instance, three different roles can be set (administrator, auditor, and operator), each with different operation permissions, with the administrator typically having the highest permissions. For example, the administrator has the right to set the management device's operation permissions for target files in the measurement and control device and to restrict the operation permissions of other roles. It should be explained that the management device needs to verify the user's identity and role each time the user logs in. After logging in, when the user selects any function control on the management device's first display interface, the identity verification module must again verify whether the user's role has the operation permissions corresponding to that function control to prevent unauthorized behavior.
[0058] The communication module supports the management device in establishing communication connections with multiple monitoring and control devices simultaneously. These connections can be wireless or wired. The communication module can also identify the first monitoring and control device from among the multiple devices based on its unique identifier, and determine the communication connection established between the management device and the first monitoring and control device. For example, each monitoring and control device carries its own unique code. The management device identifies the first monitoring and control device from among the multiple devices based on this unique code.
[0059] The encryption and decryption module is used to encrypt and decrypt files (such as log files and configuration files) transmitted between the management device and any monitoring and control device over the established communication connection. The encryption and decryption principle can employ MD5. For example, the monitoring and control device sends a file to be backed up to the management device in an encrypted format. Upon receiving the encrypted file, the management device decrypts it to obtain the file to be backed up. This prevents the file from being intercepted and cracked during transmission, ensuring the security of data transmission.
[0060] The storage module is used to store target files obtained by the client from the measurement and control device, as well as the first permission configuration file and the second configuration file. It can also store the file content after analysis by the information reading module when the user needs to view the log file.
[0061] Of course, as one possible implementation, the storage module includes a first storage module, a second storage module, and a third storage module. The first storage module stores files obtained from any monitoring and control device; the second storage module stores a first permission configuration file and / or a second configuration file; and the third storage module stores file data obtained through the information reading module, such as the content of log files that the user needs to view, obtained through the information reading module according to user-set filtering conditions. It is understood that the third storage module can be a temporary database used to temporarily store file data obtained through the information reading module.
[0062] The information reading module is used to read, analyze, and summarize the decrypted file information. Based on user filtering criteria, it retrieves content relevant to the filtering criteria from files reflecting the status information of the monitoring and control device (such as log files) and parses the files into a user-readable format. Target files collected by the client (such as field alarm records, audit logs, field configuration parameters, etc.) must first be decrypted before the information reading module parses the corresponding file content into a specific format. It should be explained that after decryption, the content of the target files collected by the client is a digital message (e.g., in binary format), which is very inconvenient to directly read and analyze its actual meaning. Therefore, the information reading module parses the content of the digital message in the target files into a user-readable format.
[0063] As an example, such as Figure 2As shown, the management device uses a display module to display a first management interface. Upon detecting a user's operation on one or more functional controls (taking viewing a functional control as an example), it determines the identifier of the log file to be viewed. Based on the first permission configuration file in the second storage module, it determines whether the management device has permission to view the log file. Furthermore, the management device uses an identity verification module to determine whether the management device the user logged into has backup operation permissions. If permissions are granted, the management device uses a communication module to send a viewing command to the first monitoring and control device (one or more monitoring and control devices) and receives the log file from the first monitoring and control device. The management device uses an encryption and decryption module to decrypt the returned log file and stores it in the first storage module. The management device uses an information reading module to filter content related to user-defined filtering conditions from the target file and stores it in the third storage module. The management device can use the display module to display the content related to the filtering conditions on its display interface.
[0064] In this application embodiment, the specific structure of the execution subject of the measurement and control device management method is not particularly limited, as long as it can communicate according to the measurement and control device management method of this application embodiment by running a program that records the code of the measurement and control device management method of this application embodiment. For example, the execution subject of the measurement and control device management method provided in this application embodiment can be a functional module in the management device that can call and execute the program, or it can be an operation and maintenance management device applied in the management device, such as a chip. This application does not limit this.
[0065] The following embodiments are described using a management device and a first measurement and control device among a plurality of measurement and control devices as examples of the execution subjects of a management method for a measurement and control device.
[0066] like Figure 3 As shown, Figure 3 The diagram illustrates a management method for a measurement and control device according to an embodiment of this application. The method is applied to a management device, which has a communication connection with one or more measurement and control devices, and includes the following steps:
[0067] Step 310: The management device displays the first management interface.
[0068] The first management interface displays one or more functional controls, each used to perform different management functions. It should be noted that the first management interface is the interface of the management software displayed by the management device using its display module.
[0069] The functional controls can include backup, restore, view, and upgrade controls. Users can select a functional control with target management capabilities to manage the selected first monitoring and control device. For example... Figure 4 As shown in (b), after the user selects to manage the measurement and control device 1, the management device displays the first management interface. The function controls displayed on the first management interface include: backup operation, restore operation, view operation and upgrade operation.
[0070] Step 320: When the management device detects an operation on the first functional control among one or more functional controls, it determines the identifier of the target file.
[0071] The target file is the file that the management device needs to read from or send to the first measurement and control device.
[0072] Understandably, when the user selects a backup or view function for the target file, the management device needs to read the target file from the first monitoring and control device; that is, the target file is stored in the first monitoring and control device. Conversely, when the user selects a restore or upgrade function for the target file, the management device needs to send the target file to the first monitoring and control device; that is, the target file is stored in the management device.
[0073] For example, the target file can be an important system file, configuration file, alarm record, operation log, audit log, parameter file, etc. For instance, the management device may perform operations such as viewing log files (e.g., operation log, audit log, alarm record, etc.), backing up configuration files, and restoring important system files.
[0074] As an example, such as Figure 4 A schematic diagram of the management interface of the management device shown: Figure 4 (a) describes the process displayed by the management device on the management interface, where the user selects the first measurement and control device (e.g., measurement and control device 1) from multiple measurement and control devices (measurement and control device 1 to measurement and control device 8). When the user selects measurement and control device 1 as the first measurement and control device, the management device displays the first management interface, as shown below. Figure 4 As shown in (b), the functional controls displayed on the first management interface include: backup operation, restore operation, view operation, and upgrade operation. For example, the user can select the view operation function control as the first functional control. Then, as shown... Figure 4As shown in (c), when the user selects the viewing operation function control as the first function control, the management interface displayed by the management device shows multiple files (such as files A to D on the first page of the management interface). The user selects the target file (such as file A) in the measurement and control device 1 according to actual needs and performs the corresponding viewing and management.
[0075] Step 330: When the management device determines that it has the authority to manage the target file according to the first permission configuration file, it manages the first measurement and control device according to the identifier of the target file and the management function corresponding to the first function control.
[0076] The management device includes a first permission configuration file. This file records a first identifier for at least one file associated with each measurement and control device that the management device is allowed to manage, and / or the management device's operation permissions for each file. The first identifier can be the file name. Alternatively, the file identifier can also be used by the management device to determine the storage location of a target file, where the storage location includes the file name. For example, the storage location of target file A can include its file name and storage path. For instance, the file name of target file A is format_set.xml, and its path in the first measurement and control device is / D / MEAS / format_set.xml.
[0077] It is understandable that the management device may have different operation permissions for different files in various measurement and control devices. For example, the management device may have viewing and upgrade permissions for file A in measurement and control device 1, and backup and restore permissions for file C in measurement and control device 2. The management device determines whether the target file has operation permissions corresponding to the first functional control by identifying the target file's identifier and based on at least one first identifier stored in the first permission configuration file. As an example, the contents of the first type of first permission configuration file are shown in Table 1:
[0078] Table 1 Contents of the First Type of First Permission Configuration File
[0079]
[0080] For example, a user selects "view permission" as the first functional control on the first management interface of the management device, and selects file A in the measurement and control device 1 as the target file. Based on the content of the first permission configuration file, the management device determines the first identifier 'a' of file A, thus confirming that the management device has viewing permission for file A. Therefore, the management device can view file A in the measurement and control device 1.
[0081] As an example, if the first functional control is a backup control, then after detecting an operation on the first functional control among one or more functional controls, a display interface corresponding to the backup control is displayed. This display interface displays the identifiers of each file in the second configuration file in the first measurement and control device. Then, if the user's operation of selecting a target identifier on the display interface is detected, the file corresponding to the operation of selecting the target identifier is used as the identifier of the target file.
[0082] As an example, if the first function control is a recovery control, after detecting an operation on the first function control among one or more function controls, a display interface corresponding to the recovery control is displayed. This display interface displays the identifiers of one or more files in the management device. Then, if the operation of the user selecting the file corresponding to the target identifier in the display interface is detected, the file corresponding to the operation of selecting the target identifier is used as the identifier of the target file.
[0083] As an example, if the first functional control is a viewing control, after detecting an operation on the first functional control among one or more functional controls, a display interface corresponding to the viewing control is displayed. This display interface displays the identifiers of one or more files in the first measurement and control device. Then, if it is detected that the user selects the file corresponding to the operation of selecting the target identifier on the display interface, the file corresponding to the operation of selecting the target identifier is used as the identifier of the target file.
[0084] As an example, if the first functional control is an upgrade control, after detecting an operation on the first functional control among one or more functional controls, a display interface corresponding to the upgrade control is displayed. This display interface displays the identifiers of one or more files to be viewed obtained by the management device from the first measurement and control device. Then, if it is detected that the user selects the file corresponding to the operation of selecting the target identifier on the display interface among one or more file identifiers to be viewed, the file corresponding to the operation of selecting the target identifier is used as the identifier of the target file.
[0085] This application provides a management method for measurement and control devices. Since it is applied to a management device, which has communication connections with multiple measurement and control devices, the management device has a first permission configuration file. The first permission configuration file records a first identifier of at least one file related to each measurement and control device that the management device is allowed to manage, as well as the management device's operation permissions for each file. This allows the management device to determine which operation permissions it has for files in the measurement and control devices based on the content of the first permission configuration file, enabling users to subsequently manage the target files. Then, a first management interface is displayed, which shows one or more functional controls. Different functional controls are used to implement different management functions, thus enabling users to... The human-machine interaction between the user and the management device allows the user to select specific management functions for the target file. Then, upon detecting an operation on the first functional control among one or more functional controls, the identifier of the target file is determined. The target file is the file that the management device needs to read from or send to the first measurement and control device. This determines whether the management device has the relevant management permissions for the target file. If the management device is determined to have the permission to manage the target file based on the first permission configuration file, the first measurement and control device is managed according to the identifier of the target file and the management function corresponding to the first functional control. This solves the technical problem of how to reduce the manual operation and maintenance costs of the measurement and control device and improves the efficiency of operation and maintenance management.
[0086] In one possible embodiment of this application, if the first functional control is a view functional control or a backup functional control, then step 330 above includes the following methods:
[0087] The management device sends a first management command to the first measurement and control device among one or more measurement and control devices via a communication connection. The management device receives the target file fed back from the first measurement and control device and stores the target file.
[0088] The first management instruction is used to instruct the first measurement and control device to provide the target file to the management device. For example, the first management instruction may also carry first management information, which instructs the first measurement and control device to provide the target file to the management device.
[0089] Understandably, when the first function control is the view function control or the backup function control, the management device needs to obtain the target file from the first measurement and control device.
[0090] In one possible embodiment of this application, the first functional control is a viewing functional control, and correspondingly, the target file is a file stored in the first measurement and control device and containing information related to the first measurement and control device. After the management device receives the target file fed back from the first measurement and control device and stores the target file, the method provided in this application embodiment further includes: the management device displays the content related to the filtering conditions in the target file on the display interface of the management device according to the filtering conditions set by the user.
[0091] Understandably, files containing information about the first measurement and control device are typically log files stored within the device, such as operation logs and audit logs.
[0092] The filtering criteria are used by the management device to display the content and size of the target file to the user. Understandably, users can view the entire content of the target file or only a portion of it based on the filtering criteria. For example, the target file may contain: the processor model of the first measurement and control device, the communication type, the type and value of the measured values, and the log recording time. If the user only needs to view the type and value of the measured values in the target file, they can set a filter to show only the content related to the type and value of the measured values. In this case, the management device's display interface will show only the type and value of the measured values from the target file, excluding other content from the target file.
[0093] Since the first functional control is a backup functional control, and there are multiple target files corresponding to the backup operation, the management device needs to perform batch backups of multiple target files. Therefore, in a possible embodiment of this application, the first functional control is a backup functional control, and the management device also has a second configuration file. The second configuration file records the second identifier of one or more first permission configuration files in the first measurement and control device and / or the operation permissions associated with each second identifier. Before step 330 above, the embodiment of this application also includes the following two situations:
[0094] Case 1: If the first permission configuration file includes any second identifier from the second configuration file, or if the first permission configuration file includes any second identifier from the second configuration file and the operation permission associated with any second identifier is an allowed operation, then the management device determines that it has operation permission for the first permission configuration file associated with any second identifier.
[0095] Correspondingly, the target file is the first permission configuration file associated with any second identifier.
[0096] It is understood that the second identifier may include: the name of the file associated with the second identifier, and the storage path of that file in the aforementioned measurement and control device. For example, taking the second identifier as the filename, the filename could be format_set.xml. The file storage path of the file associated with the second identifier would be: / D / MEAS / format_set.xml.
[0097] Understandably, the management device can determine which file needs to be backed up from the measurement and control device based on the various second identifiers recorded in the second configuration file. Furthermore, based on the second identifiers recorded in the second configuration file, the management device sequentially checks whether each second identifier is included in the first permission configuration file, thereby determining whether the management device has backup permissions for the file associated with that second identifier.
[0098] It is understandable that if the management device meets any of the above conditions, the management device can determine whether it has backup permissions for the file.
[0099] Condition 1 is: the first permission configuration file includes any second identifier from the second configuration file. Condition 2 is: the first permission configuration file includes any second identifier from the second configuration file, and the operation permission associated with any second identifier is allowed.
[0100] As an example, as shown in Table 2, the first permission configuration file of the second type contains four types of operation permissions, such as backup permission, restore permission, view permission, and upgrade permission. Each operation permission stores a file identifier that the management device is allowed to perform the corresponding operation.
[0101] Table 2 shows the contents of the second type of first-permission configuration file.
[0102] Identifier a Identifier a Identifier a Identifier a Identifier c Identifier c Identifier b Identifier d Identifier d Identifier d Identifier c Identifier d
[0103] For example, if a user needs to back up a file associated with identifier 'a', the management device finds identifier 'a' in the backup permissions of the first permission configuration file, thus determining that the management device has backup permissions for the file associated with identifier 'a'. If a user needs to back up a file associated with identifier 'b', the management device does not find identifier 'b' in the backup permissions of the first permission configuration file, thus determining that the management device does not have backup permissions for the file associated with identifier 'b'.
[0104] As an example, as shown in Table 1, the first permission configuration file stores the identifier of each file and the management device's operation permissions for each file.
[0105] For example, when a user needs to back up a file associated with identifier 'a', the management device finds identifier 'a' (i.e., first identifier 'a') in the backup permissions of the first permission configuration file and determines that the operation permissions of identifier 'a' include backup permissions, thus determining that the management device has backup permissions for the file associated with identifier 'a'. When a user needs to back up a file associated with identifier 'b', the management device finds identifier 'b' (i.e., second identifier 'a') in the backup permissions of the first permission configuration file, but the operation permissions of identifier 'a' do not include backup permissions, thus determining that the management device does not have backup permissions for the file associated with identifier 'a'.
[0106] Case 2: If the first permission configuration file does not include any second identifier, or if the first permission configuration file includes any second identifier but the operation permission associated with any second identifier is not allowed, then the management device determines not to grant operation permissions to the first permission configuration file associated with any second identifier.
[0107] The method by which the management device determines that it does not have backup permissions for the file to be backed up can be referred to the above embodiments, and will not be repeated here.
[0108] In one possible embodiment of this application, if the first functional control is a restore functional control or an upgrade functional control, then step 330 above includes the following steps: the management device sends a target file to the first measurement and control device via a communication connection. If the management device determines that the first measurement and control device has successfully received the target file, the management device sends a restart command to the first measurement and control device.
[0109] The restart command can be used to instruct the first monitoring and control device to restart. The restart command can also carry instruction information, which in turn instructs the first monitoring and control device to restart.
[0110] Wherein, if the first functional control is a recovery functional control, the corresponding target file is the file to be recovered required by the first measurement and control device. If the first functional control is an upgrade functional control, the corresponding target file is the upgrade package of the first measurement and control device.
[0111] Optionally, the management device determines that the first measurement and control device has successfully received the target file by receiving feedback information from the first measurement and control device, which indicates that the first measurement and control device has received the target file. Alternatively, the management device may determine that the first measurement and control device has stored the target file after a second preset time has elapsed since the target file was sent. This second preset time can be a default value set by the management device or a manually set value; this embodiment does not limit the specific duration.
[0112] In one possible embodiment of this application, the first permission configuration file is stored in the management device in an encrypted format. The method provided in this application further includes: decrypting the first permission configuration file before updating it. Alternatively, all files transmitted between the management device and any monitoring and control device over the established communication connection are encrypted; correspondingly, the method provided in this application further includes: decrypting the encrypted files received from any monitoring and control device.
[0113] Understandably, the management device can encrypt and decrypt files transmitted over the established communication connection based on the MD5 principle. According to the TLS protocol, the management device can send encrypted files (such as files to be recovered or upgrade packages) to the first monitoring and control device, or retrieve encrypted files (such as log files or files to be backed up) from the first monitoring and control device. For details on how the management device encrypts and decrypts files based on the MD5 principle and how it transmits encrypted files according to the TLS protocol, please refer to existing technologies; these will not be elaborated upon here.
[0114] In one possible embodiment of this application, when the management device detects an operation on a first functional control among one or more functional controls, the management device determines, based on the role of the user currently logged into the management device, whether the user has permission to perform management functions corresponding to the first functional control on the first measurement and control device. If the user has permission to perform management functions corresponding to the first functional control on the first measurement and control device, the management device performs the action of determining the identifier of the target file.
[0115] Understandably, since different users can log in to the management device, each user has a login account and password, and each user has an identity role with different operational permissions. Optionally, even roles of the same type may have different specific permissions. To determine the management scope of the monitoring and control device that each user can select on the management device, as a possible approach based on rights division, each user can be assigned a login account and password, at least one identity role, and the corresponding management scope of the monitoring and control device for that identity role.
[0116] As an example, a management device can store at least one identity role, such as three identity roles: administrator, auditor, and operator. The operation permissions corresponding to different identity roles are different within the management device.
[0117] For example, an administrator has the right to set operation permissions for any file in the monitoring and control device, and can also modify the operation permissions of other roles. An auditor can access and view the audit logs of the monitoring and control device, but does not have permission to modify any file within the device. An operator can access and view any log file in the monitoring and control device, or log files other than audit logs, and can also restore important system files deleted from the device, or upgrade applications within it. Of course, the operation permissions for each role can be adjusted according to the actual application scenario. This improves the security of the management device.
[0118] As one possible implementation, each of the multiple measurement and control devices carries a unique code corresponding to each measurement and control device. The unique code is the identifier of each measurement and control device. Before step 310 above, the method provided in this application embodiment further includes: the management device determining the first measurement and control device from the multiple measurement and control devices according to the unique code corresponding to the first measurement and control device, and determining the communication connection established between the management device and the first measurement and control device.
[0119] like Figure 5 As shown, Figure 5 Taking the process of the management device backing up files from the first measurement and control device as an example, the specific implementation steps of an operation and maintenance management method provided in this application embodiment are described as follows:
[0120] Step 501: The management device configures the WLST file to obtain the first WLST file and configures the Backups file.
[0121] The first WLST file includes identifiers for one or more files, which are files stored in the measurement and control device and that the management device is authorized to back up. Alternatively, the first WLST file includes identifiers for one or more files, as well as the management device's backup permissions for each file (e.g., allowing or disallowing backup).
[0122] The Backups file records one or more secondary identifiers (such as names) and the file storage paths of the files associated with each secondary identifier within their respective measurement and control devices. For example, if the file name is a secondary identifier, it could be format_set.xml. The file storage path of the file associated with the secondary identifier would be / D / MEAS / format_set.xml.
[0123] Understandably, the management device can determine which file needs to be backed up from the measurement and control device based on the various second identifiers recorded in the Backups file.
[0124] It should be noted that the Backups file can be the second file in the above embodiments. The first WLST file can be included in the first permission configuration file in the above embodiments.
[0125] It is understandable that step 501 above is an optional step.
[0126] Step 502: The management device establishes a communication connection with the first measurement and control device.
[0127] The specific implementation of step 502 can be referred to the description in the above embodiments, and will not be repeated here.
[0128] The execution order of steps 501 and 502 is not important; that is, the management device can establish a communication connection first, and then configure the first WLST file and the Backups file.
[0129] Step 503: The management device displays the first display interface corresponding to the backup function controls. The first display interface includes controls for individual backups and controls for batch backups. Figure 4 (c) is the first display interface presented to the user after selecting the control for the measurement and control device 1 and the control for the backup operation.
[0130] Step 5041: When the batch backup control is triggered, the management device detects whether it has permission to back up the files associated with the one or more second identifiers recorded in the Backups file and the first WLST file.
[0131] For example, if the management device detects that the first WLST file contains a second identifier, it means that the management device has the permission to back up the file associated with the second identifier. Alternatively, if the first WLST file contains a second identifier and the operation permission associated with the second identifier in the first WLST file is the backup permission, it means that the management device has the permission to back up the file associated with the second identifier.
[0132] Step 5042: If the management device does not have permission to back up the file associated with any of the second identifiers, then the management device executes step 5041 to determine the next second identifier recorded in the Backups file. The management device then determines whether it has permission to back up the file associated with that next second identifier.
[0133] Step 5043: If the management device has the permission to back up the file associated with any second identifier (such as the target second identifier), the management device sends a backup command to the first measurement and control device through the established communication connection.
[0134] The backup instruction includes a target second identifier and / or the storage path associated with the target second identifier.
[0135] Step 5044: Upon receiving the backup instruction, the first measurement and control device determines the target file identified by the second target identifier based on the second target identifier sent by the management device, and encrypts and encodes the target file.
[0136] Optionally, the first monitoring and control device can also add a first electronic signature to the encrypted target file.
[0137] For example, the first electronic signature is used to determine the provider of the target file and / or whether the target file has been modified.
[0138] An electronic signature is an electronic code that, through an electronic tag, enables the receiving end (e.g., a management device that receives the first electronic signature) to identify the sending end (e.g., a first measurement and control device that adds the first electronic signature) and to subsequently verify whether the file with the first electronic signature has been modified, thereby ensuring the security of the data in the encrypted target file.
[0139] Step 5045: The first measurement and control device transmits the encrypted target file to the management device through the established communication connection according to the TLS protocol.
[0140] Optionally, after step 5045, the first monitoring and control device may also record a backup log. The backup log is used to indicate that the file to be backed up has been sent to the management device. Optionally, the first monitoring and control device may record the backup log after receiving a response from the management device indicating successful receipt of the file to be backed up.
[0141] Step 5046: After receiving the encrypted target file, the management device decrypts the encrypted target file and stores the decrypted target file in the management device.
[0142] It should be explained that the above steps describe the management device backing up one of multiple target files in a batch backup scenario. The management device can achieve batch backup by repeating steps 5041 to 5046.
[0143] Of course, if the user selects batch backup, the management device can send a backup success message to the user after executing steps 503 to 5046 above. If the user needs to back up the next file, the user can then re-enter the second display interface (e.g., ...). Figure 4In the second display interface, select the file to be backed up. It is understood that if the file to be backed up does not meet the first or second condition mentioned above in the first WLST file, the user needs to reselect the file to be backed up in the second display interface.
[0144] Optionally, regardless of whether the user chooses one-click backup or backup one by one, the management device can display the backup progress and remaining backup time information on the display interface during the backup operation.
[0145] Optionally, when the management device completes batch backup, the management device can also display a backup success message on the display interface.
[0146] like Figure 6 As shown, Figure 6 Taking the process of the management device restoring deleted system files in the first measurement and control device as an example, the specific implementation steps of the operation and maintenance management method provided in this application embodiment are described as follows:
[0147] Step 601: The management device configures the WLST file to obtain a second WLST file.
[0148] The second WLST file records the identification information of one or more files stored in the management device, the storage path of each file in the management device, and the management device's recovery permissions for each file (e.g., allowing or disallowing recovery). It is understood that these one or more files are files that the management device can back up in advance from the measurement and control device, such as system files of the measurement and control device.
[0149] It should be noted that the second WLST file can be included in the first permission configuration file in the above embodiments.
[0150] It is understandable that step 601 above is an optional step.
[0151] Step 602 is the same as step 502, and will not be repeated here.
[0152] Step 603: The management device displays a file recovery interface, which shows the identifiers of one or more files to be recovered.
[0153] Step 604: If the management device detects a user's selection of a first file to be recovered from one or more files to be recovered, then the management device checks whether the identifier of the first file to be recovered meets a first condition or a second condition in the second WLST file. The first condition is that the identifier of the first file to be recovered is recorded in the second WLST file; the second condition is that if the identifier of the first file to be recovered is recorded in the second WLST file, the management device has the authority to recover the first file to be recovered.
[0154] Step 6051: If the identifier of the first file to be recovered does not meet the first and second conditions, the management device prompts the user that the recovery has failed and jumps to step 604.
[0155] Step 6052: If the identifier of the first file to be recovered meets the first condition or the second condition, the management device encrypts and encodes the first file to be recovered to obtain the file to be transmitted.
[0156] Optionally, the management device can also add a second electronic signature to the encrypted first file to be recovered to obtain the file to be transmitted. The second electronic signature is added by the management device.
[0157] Step 606: The management device sends the file to be transmitted to the first measurement and control device through the established communication connection.
[0158] Step 607: Upon receiving the file to be transmitted, the first measurement and control device verifies the second electronic signature of the file to be transmitted.
[0159] It should be explained that for conventional configuration files such as communication configuration files, the first measurement and control device may not verify their electronic signatures to ensure that the configuration files modified as needed can be restored normally.
[0160] Step 6081: If the second electronic signature verification fails, the first measurement and control device sends a verification failure message to the management device.
[0161] Optionally, after step 6081, the first monitoring and control device may also record a first recovery log. This first recovery log is used to indicate that the first monitoring and control device cannot receive the file to be transmitted.
[0162] It should be explained that the reason for the failure of the second electronic signature verification may be that the file to be transmitted is not the original system file backed up in advance from the first measurement and control device, or that the management device may have modified the system file after backing it up.
[0163] It should be explained that, for security reasons, if the first monitoring and control device receives the first transmission packet of the file to be transmitted and fails to verify the second electronic tag, it can actively ignore other transmission packets of the file to be transmitted.
[0164] Step 6082: If the electronic signature verification is successful, the first measurement and control device decrypts the file to be transmitted to obtain the first file to be recovered, and stores the first file to be recovered in the first measurement and control device.
[0165] Optionally, after step 6082, the method provided in this application embodiment may further include step 609 and / or step 610:
[0166] Step 609: The first measurement and control device sends a feedback message indicating successful recovery to the management device.
[0167] Optionally, after step 609, the first measurement and control device may also record a second recovery log, which is used to indicate that the first file to be recovered has been stored in the first measurement and control device.
[0168] Step 610: The management device sends a restart command to the first measurement and control device, which is used to restart the first measurement and control device.
[0169] Optionally, the management device executes step 610 after determining that the first measurement and control device has successfully received the file to be transmitted and has stored the first file to be recovered. For example, the management device determines that the first measurement and control device has successfully received the file to be transmitted and has stored the first file to be recovered through step 609. Alternatively, the management device determines that the first measurement and control device has successfully received the file to be transmitted and has stored the first file to be recovered after a first preset time has elapsed since the file to be transmitted was sent. The first preset time can be a default value set by the management device or a manually set value; this embodiment does not limit this.
[0170] Step 611: If the first measurement and control device receives a restart command, it restarts the first measurement and control device and reloads the first file to be recovered.
[0171] like Figure 7 As shown, Figure 7 Taking the process of the management device viewing the log file in the first measurement and control device as an example, the specific implementation steps of the operation and maintenance management method provided in this application embodiment are described as follows:
[0172] Step 701: The management device configures the WLST file to obtain the third WLST file.
[0173] The third WLST file includes at least one identifier (e.g., name) of a log file that is allowed to be viewed by the management device, and the storage path of the log file in the first measurement and control device. For example, the third WLST file may include the identifier of log file A, the storage path of log file A in the first measurement and control device, the identifier of log file B, and the storage path of log file B in the first measurement and control device.
[0174] Alternatively, the third WLST file may record the identifiers of one or more log files and the management device's viewing permissions for each log file (e.g., allow or disallow viewing). For example, the third WLST file may include the identifier of log file A, the storage path of log file A in the first measurement and control device, and the management device's viewing permissions for log file A; the identifier of log file B, the storage path of log file B in the first measurement and control device, and the management device's viewing permissions for log file B (disallow viewing).
[0175] Step 701 is the same as step 501, and will not be repeated here. It is understood that step 701 is an optional step.
[0176] Step 702 is the same as step 502, and will not be repeated here.
[0177] Step 703: The management device displays a log viewing interface, which includes identifiers for one or more log files.
[0178] Step 704: If the management device detects that a user has selected a target log file in one or more log files on the log viewing interface, it checks whether the identifier of the target log file satisfies either the first condition or the second condition in the third WLST file. The first condition is that the identifier of the target log file is recorded in the third WLST file; the second condition is that if the identifier of the target log file is recorded in the third WLST file, the management device has viewing permission for that target log file.
[0179] Understandably, the number of target log files can be one or more.
[0180] Step 7051: If the identifier of the target log file does not meet the first and second conditions, the management device outputs a prompt message to inform the user that the viewing failed.
[0181] Step 7052: If the identifier of the target file meets the first condition or the second condition, the management device sends a viewing instruction to the first measurement and control device through the established communication connection.
[0182] The viewing command includes the identifier of the target log file and / or the storage path of the target log file.
[0183] The view instruction in step 7052 indicates that the management device requests to view the target log file. Optional view instructions may include the identifier of the target log file and / or the storage path of the target log file. Since the first monitoring and control device may store multiple log files, it can determine which target log file the management device is requesting to view, and the specific location of the target log file within the first monitoring and control device, based on the identifier and / or the storage path of the target log file.
[0184] Step 706: In response to the viewing command, the first monitoring and control device encrypts and encodes the target log file.
[0185] Optionally, the first monitoring and control device can also add a first electronic signature to the encrypted target log file. This first electronic signature is added by the first monitoring and control device to ensure the security of the data in the encrypted target log file.
[0186] Step 707: The first measurement and control device transmits the encrypted target log file to the management device through the established communication connection in accordance with the TLS protocol.
[0187] Optionally, after step 707, the first monitoring and control device may also record a viewing log. The viewing log is used to indicate that the target log file has been sent to the management device. Optionally, the first monitoring and control device may record the viewing log after receiving a response from the management device indicating successful reception of the target log file, after the target log file has been sent to the management device.
[0188] Step 708: The management device stores the received target log file.
[0189] As an example, the management device can store the received target log file in... Figure 2 The storage module within the system. For example, the target log file can be stored in a second storage module within the storage module, which is used to store encrypted files received from the monitoring and control device.
[0190] Step 709: When the management device responds to the user's selection to view the content in the first position of the target log file on the display interface, the management device decrypts the target log file and displays the content in the first position on the display interface.
[0191] As an example, the management device can be controlled via Figure 2The information reading module preprocesses and analyzes the content of the decrypted target log file to obtain the content in the first location, and stores it in the third storage module of the storage module. For example, this third storage module can be a temporary database. When a user needs to view the content in the first location of the target log file, the management device uses the display module to display the content in the first location stored in the third storage module.
[0192] like Figure 8 As shown, Figure 8 Taking the process of upgrading the application program in the first measurement and control device by the management device as an example, the specific implementation steps of the operation and maintenance management method provided in this application embodiment are described as follows:
[0193] Step 801: The management device configures the WLST file to obtain the fourth WLST file.
[0194] The fourth WLST file is used to record the identification information of one or more applications stored in the management device, the storage path of each application in the management device, and the upgrade permissions of the management device for each application (such as allowing or disallowing upgrades).
[0195] Step 801 is the same as step 501, and will not be repeated here. It is understood that step 801 is an optional step.
[0196] Step 802 is the same as step 502, and will not be repeated here.
[0197] Step 803: The management device responds to the user's operation to select the target application to be upgraded.
[0198] Step 804: The management device sends an upgrade command to the first measurement and control device.
[0199] The upgrade instruction includes the target application's identification information and / or the target application's storage path.
[0200] Step 805: Upon receiving the upgrade instruction, the first measurement and control device enters the upgrade-ready state and performs a local backup of the original program package of the target application.
[0201] Step 806: The first measurement and control device sends an upgrade confirmation feedback message to the management device. This upgrade confirmation feedback message indicates that the first measurement and control device is ready to perform the upgrade operation.
[0202] It is understandable that step 806 above is an optional step, meaning that the first measurement and control device can omit the process of sending confirmation and upgrade feedback information to the management device.
[0203] Step 807: The management device checks whether the identifier of the target application satisfies either the first condition or the second condition in the fourth WLST file. The first condition is that the identifier of the target application is recorded in the fourth WLST file; the second condition is that if the identifier of the target application is recorded in the fourth WLST file, the management device has upgrade authority for the target application.
[0204] Step 8081: If the identifier of the target application does not meet the first and second conditions, the management device prompts the user that the upgrade has failed.
[0205] Step 8082: If the identifier of the target application does not meet the first and second conditions, the management device sends the upgrade package of the target application to be upgraded to the first measurement and control device through the established communication connection.
[0206] Step 809: Upon receiving the upgrade package, the first measurement and control device stores the upgrade package in itself and sends a confirmation message back to the management device, wherein the confirmation message indicates that the upgrade package for the target application has been received.
[0207] Step 810: The management device sends a restart command to the first measurement and control device. The restart command is used to restart the first measurement and control device.
[0208] Optionally, if the management device determines that the first measurement and control device will store the upgrade package in the first measurement and control device, it executes step 810. For example, the management device determines to store the upgrade package in the first measurement and control device through step 809. Alternatively, the management device determines to store the upgrade package in the first measurement and control device after a second preset time has elapsed since the upgrade package was sent. The second preset time can be a default value set by the management device or a manually set value; this embodiment does not limit this.
[0209] Step 811: When the first measurement and control device receives the restart command, it restarts the first measurement and control device and reloads the upgrade package of the target application to upgrade the target application.
[0210] Step 8121: If the first measurement and control device is successfully upgraded, the first measurement and control device deletes the original program package of the target application that was backed up locally.
[0211] Step 8122: If the target file cannot be loaded, the first measurement and control device runs the original program package of the target application.
[0212] The above mainly describes the solutions of the embodiments of this application from the perspective of interaction between various network elements. It is understood that each device, such as a management device, includes corresponding structures and / or software modules to perform the above functions in order to achieve them. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0213] This application embodiment can divide the management device into functional units according to the above-described method. For example, each function can be divided into its own functional unit, or two or more functions can be integrated into one processing unit. The integrated unit can be implemented in hardware or as a software functional unit. It should be noted that the unit division in this application embodiment is illustrative and only represents one logical functional division; in actual implementation, there may be other division methods.
[0214] The above combination Figures 1 to 8 The methods described in the embodiments of this application have been explained. The apparatus for executing the above methods, provided in the embodiments of this application, is described below. Those skilled in the art will understand that the methods and apparatus can be combined with and referenced in relation to each other. The management apparatus provided in the embodiments of this application can execute the steps performed by the management apparatus in the above-described method for managing a measurement and control apparatus.
[0215] When using integrated units Figure 9 The above embodiment illustrates a management device for the measurement and control device. This management device can be a management device or a device applied to the management device, such as a chip or processing circuit. The management device for the measurement and control device may include: a display unit 910, a determination unit 920, and a management unit 930.
[0216] In one alternative implementation, the management unit of the measurement and control device may further include a storage unit for storing the program code and data of the management unit of the measurement and control device.
[0217] In one example, the management device of the measurement and control device is either a management device itself or a chip applied within a management device. The display unit 910 displays a first management interface, which shows one or more functional controls, each used to perform a different management function. The determining unit 920, upon detecting an operation on the first functional control among the one or more functional controls, determines the identifier of a target file, where the target file is a file that the management device needs to read from or send to the first measurement and control device. The management unit 930, upon determining, based on a first permission configuration file that the management device has permission to manage the target file, manages the first measurement and control device according to the identifier of the target file and the management function corresponding to the first functional control.
[0218] In one possible implementation of this application, the management device of the measurement and control device may further include: a transmission unit and an encryption and decryption unit.
[0219] In one possible implementation of this application, the transmission unit is used to send a first management instruction to the first measurement and control device via a communication connection. The first management instruction is used to instruct the first measurement and control device to provide a target file to the management device, receive the target file fed back from the first measurement and control device via the communication connection, and store the target file.
[0220] In one possible implementation of this application, the display unit is further configured to display content related to the filtering conditions in the target file on the display interface of the management device according to the filtering conditions set by the user.
[0221] In one possible implementation of this application, the determining unit is further configured to determine whether the management device has operation permissions for the first permission configuration file associated with any second identifier.
[0222] In one possible implementation of this application, the management device of the measurement and control device further includes an encryption and decryption unit, which is used to decrypt any encrypted file received from any measurement and control device.
[0223] The processing unit can be a processor or controller, such as a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements computational functions, such as a combination of one or more microprocessors, a combination of a digital signal processor and a microprocessor, etc. The storage module can be a memory.
[0224] Optionally, the computer execution instructions in the embodiments of this application may also be referred to as application code, and the embodiments of this application do not specifically limit this.
[0225] On the one hand, a computer-readable storage medium is provided, in which instructions are stored, which, when executed, implement as follows: Figure 3 The functions performed by the management device.
[0226] On the one hand, a computer program product including instructions is provided, wherein the computer program product includes instructions that, when executed, implement such... Figure 3 The functions performed by the management device.
[0227] On one hand, embodiments of this application provide a chip used in a management device. The chip includes at least one processor and a communication interface, the communication interface being coupled to the at least one processor. The processor is used to execute instructions to achieve, for example... Figure 3 The functions performed by the management device.
[0228] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the processes or functions described in the embodiments of this application are performed entirely or partially. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user equipment, or other programmable device. The computer program or instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another. For example, the computer program or instructions can be transferred from one website, computer, server, or data center to another website, computer, server, or data center via wired or wireless means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium, such as a floppy disk, hard disk, or magnetic tape; it can also be an optical medium, such as a digital video disc (DVD); or it can be a semiconductor medium, such as a solid-state drive (SSD).
[0229] Although this application has been described herein in conjunction with various embodiments, those skilled in the art, by reviewing the accompanying drawings, the disclosure, and the appended claims, will understand and implement other variations of the disclosed embodiments in carrying out the claimed application. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude multiple instances. A single processor or other unit can implement several functions listed in the claims. While different dependent claims may recite certain measures, this does not mean that these measures cannot be combined to produce good results.
[0230] Although this application has been described in conjunction with specific features and embodiments, it is obvious that various modifications and combinations can be made thereto without departing from the spirit and scope of this application. Accordingly, this specification and drawings are merely exemplary illustrations of this application as defined by the appended claims, and are considered to cover any and all modifications, variations, combinations, or equivalents within the scope of this application. Clearly, those skilled in the art can make various alterations and modifications to this application without departing from the spirit and scope of this application. Thus, if such modifications and modifications of this application fall within the scope of the claims of this application and their equivalents, this application is also intended to include such modifications and modifications.
Claims
1. A management method for a measurement and control device, characterized in that, The method is applied to a management device that has communication connections with one or more measurement and control devices. The management device has a first permission configuration file, which records a first identifier of at least one file associated with each of the measurement and control devices that the management device is allowed to manage, and / or the management device's operation permissions for each file. The method includes: The first management interface is displayed, which displays one or more functional controls, and different functional controls are used to implement different management functions. Upon detecting an operation targeting a first functional control among one or more of the functional controls, the identifier of the target file is determined, wherein the target file is a file that the management device needs to read from or send to the first measurement and control device among one or more measurement and control devices; If it is determined from the first permission configuration file that the management device has the permission to manage the target file, the first measurement and control device is managed according to the identifier of the target file and the management function corresponding to the first function control. The first functional control is a backup functional control. The management device also has a second configuration file, which records a second identifier of one or more first permission configuration files in the first measurement and control device and / or the operation permissions associated with each second identifier. The second identifier includes the name of the file associated with the second identifier and the storage path of the file in the measurement and control device. If, based on the first permission configuration file, the management device is determined to have permission to manage the target file, before managing the first measurement and control device according to the identifier of the target file and the management function corresponding to the first functional control, the method further includes: If the first permission configuration file includes any of the second identifiers in the second configuration file, or if the first permission configuration file includes any of the second identifiers in the second configuration file and the operation permission associated with any of the second identifiers is an allowed operation, then the management device determines that it has operation permission for the first permission configuration file associated with any of the second identifiers. Accordingly, the target file is the first permission configuration file associated with any of the second identifiers. If the first permission configuration file does not include any of the second identifiers, or if the first permission configuration file includes any of the second identifiers but the operation permission associated with any of the second identifiers is not allowed, then the management device determines not to grant operation permissions to the first permission configuration file associated with any of the second identifiers.
2. The method according to claim 1, characterized in that, The first functional control is a view function control or a backup function control. Managing the first measurement and control device based on the identifier of the target file and the management function corresponding to the first functional control includes: A first management instruction is sent to the first measurement and control device through the communication connection. The first management instruction is used to instruct the first measurement and control device to provide the target file to the management device. The target file is received from the first measurement and control device via the communication connection, and the target file is stored.
3. The method according to claim 2, characterized in that, The first functional control is the viewing functional control; correspondingly, the target file is a file stored in the first measurement and control device that records relevant information about the first measurement and control device. After receiving the target file from the first measurement and control device and storing the target file, the method further includes: Based on the filter criteria set by the user, the content related to the filter criteria in the target file is displayed on the display interface of the management device.
4. The method according to claim 1, characterized in that, The first functional control is a restore function control or an upgrade function control. The first measurement and control device is managed according to the identifier of the target file and the management function corresponding to the first functional control, including: The target file is sent to the first measurement and control device via the communication connection; If the first functional control is the recovery functional control, then the target file is the file to be recovered required by the first measurement and control device; The first functional control is the upgrade functional control, and the target file is the upgrade package of the first measurement and control device; When the management device determines that the first measurement and control device has successfully received the target file, the management device sends a restart command to the first measurement and control device, the restart command being used to instruct the first measurement and control device to restart.
5. The method according to any one of claims 1 to 3, characterized in that, The first permission configuration file is stored in the management device in an encrypted format, and the method further includes: decrypting the first permission configuration file before updating it; or... Files transmitted between the management device and any of the measurement and control devices over the established communication connection are encrypted; correspondingly, The method further includes: decrypting any encrypted file received from any of the aforementioned measurement and control devices.
6. The method according to any one of claims 1 to 3, characterized in that, The method further includes: when an operation is detected on a first functional control among one or more of the functional controls, the management device determines, based on the role of the user currently logged into the management device, whether the user has the authority to implement management functions corresponding to the first functional control on the first measurement and control device; When the user has permission to implement management functions corresponding to the first functional control on the first measurement and control device, the management device performs the action of determining the identifier of the target file.
7. A management device for a measurement and control system, characterized in that, The management device has a communication connection with one or more measurement and control devices. The management device has a first permission configuration file, which records a first identifier of at least one file associated with each of the measurement and control devices that the management device is allowed to manage, and / or the management device's operation permissions for each file, including: The display unit is used to display a first management interface, which displays one or more functional controls, and different functional controls are used to implement different management functions. The determining unit is configured to determine the identifier of a target file upon detecting an operation on a first functional control among one or more of the functional controls, wherein the target file is a file that the management device needs to read from or send to the first measurement and control device; The management unit is configured to manage the first measurement and control device according to the identifier of the target file and the management function corresponding to the first functional control, when it is determined from the first permission configuration file that the management device has the permission to manage the target file; The first functional control is a backup functional control. The management device also has a second configuration file, which records a second identifier of one or more first permission configuration files in the first measurement and control device and / or the operation permissions associated with each second identifier. The second identifier includes the name of the file associated with the second identifier and the storage path of the file in the measurement and control device. If, based on the first permission configuration file, it is determined that the management device has permission to manage the target file, before managing the first measurement and control device according to the identifier of the target file and the management function corresponding to the first functional control, the method further includes: If the first permission configuration file includes any of the second identifiers in the second configuration file, or if the first permission configuration file includes any of the second identifiers in the second configuration file and the operation permission associated with any of the second identifiers is an allowed operation, then the management device determines that it has operation permission for the first permission configuration file associated with any of the second identifiers. Accordingly, the target file is the first permission configuration file associated with any of the second identifiers. If the first permission configuration file does not include any of the second identifiers, or if the first permission configuration file includes any of the second identifiers but the operation permission associated with any of the second identifiers is not allowed, then the management device determines not to grant operation permissions to the first permission configuration file associated with any of the second identifiers.
8. A management device, characterized in that, The method includes a communication interface, a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor, when executing the computer program, implements the method as described in any one of claims 1 to 6.
9. A maintenance and management system for a measurement and control device, characterized in that, include: A management device and one or more measurement and control devices, wherein the management device has a communication connection with one or more of the measurement and control devices, and the management device is used to implement the method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Method and system for controlling software functions of various devices
CN103955646A
Request processing method and device
CN105100708A