A configuration method for a monitoring system based on a B / S architecture

CN119449785BActive Publication Date: 2026-01-06YANGTZE ECOLOGY & ENVIRONMENT CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411540665.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-31
Publication Date
2026-01-06
Estimated Expiration
2044-10-31

AI Technical Summary

Technical Problem

[0012]本发明所要解决的技术问题是提供一种基于BS架构监控系统组态方法,该方法旨在解决现有技术中基于C/S架构的监控系统组态技术在远程监控、远程组态、B/S架构下的组态搭建以及状态数据传递等方面存在明显的不足,具有以实现监控系统的远程组态和实时数据传递,提高系统的易用性和维护效率,满足现代监控系统的多样化需求的特点

Benefits of technology

[0026]本发明提供的一种基于B/S架构监控系统组态方法,通过建立B/S架构的硬件数据库与C/S架构组态数据库的数据对应及连接,结合远程屏幕控制,可以实现多种形式的远程组态,且通过B/S架构硬件数据的基本数据与C/S架构的对应,避免了B/S架构下的数据及处理过于庞杂从而拖累浏览器的运行效率,将大量的工作通过C/S架构来完成,还可通过协议来读取组态后的当前硬件状态。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119449785B_ABST
    Figure CN119449785B_ABST
Patent Text Reader

Abstract

The application discloses a kind of based on BS architecture monitoring system configuration method, including constructing cloud configuration data structure and interface under B / S architecture, configuration database under C / S architecture and hardware database under B / S architecture are encapsulated and establish handshake;Corresponding image control of hardware image in hardware database is established in the server under B / S architecture;Configuration database under C / S architecture is provided with communication interface and the hardware that includes configuration information, i.e. loaded configuration information is communicated connection, and the hardware state information of current configuration is called and is stored;Remote sharing function is provided between device configuration interface on browser and hardware configuration interface under C / S architecture;The application realizes multiple forms of remote configuration, through the basic data of hardware data of B / S architecture and the correspondence of C / S architecture, avoid the data and processing under B / S architecture too huge and drag the running efficiency of browser, a lot of work is completed through C / S architecture, current hardware state after configuration can also be read by protocol.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of remote monitoring technology, and in particular relates to a configuration method for a monitoring system based on a B / S architecture. Background Technology

[0002] In existing technologies, the configuration and setup of monitoring systems primarily rely on a C / S (Client / Server) architecture. While this architecture offers a certain level of stability and security when handling monitoring systems, it presents numerous inconveniences in terms of remote monitoring and configuration. Specifically, during the configuration process of a C / S architecture monitoring system, close cooperation between client and server software is typically required, and the client software often needs to be installed separately on each monitoring terminal. This not only increases the complexity of deployment but also significantly raises maintenance costs.

[0003] The need for remote processing in existing monitoring systems is becoming increasingly urgent. However, current configuration technologies cannot meet this demand due to the following shortcomings:

[0004] 1. Limitations of remote monitoring and configuration:

[0005] Monitoring systems based on a client / server architecture have inherent limitations in remote monitoring. Because the client requires the installation of specific software, their flexibility and scalability are poor for scenarios requiring remote access and monitoring, especially for cross-regional and cross-network monitoring needs. Furthermore, remote configuration is complex, typically requiring data transmission through specific network protocols and interfaces, making real-time remote configuration and modification difficult.

[0006] 2. Limitations of database software:

[0007] In existing technologies, most monitoring systems utilize existing database software for configuration, data storage, and management. However, these database software programs often do not directly support efficient data transmission and real-time updates under a B / S architecture, resulting in high latency and error rates in data transmission during remote monitoring and configuration. Furthermore, the installation, configuration, and maintenance of the database require specialized personnel, increasing the overall complexity of the system.

[0008] 3. Difficulty in configuring and setting up a B / S architecture:

[0009] The B / S (Browser / Server) architecture has been widely used in web applications due to its flexibility and ease of use. However, in terms of monitoring system configuration, existing technologies cannot fully support convenient configuration setup under the B / S architecture. This is because in the B / S architecture, the client primarily accesses the server through a browser, and the browser's functionality is relatively limited, making it difficult to directly implement complex configuration logic and data processing.

[0010] 4. Issues regarding the real-time performance and accuracy of status data transmission:

[0011] In a client / server (C / S) architecture, the transmission of status data relies on a direct connection between the client and the server. This can easily lead to data transmission delays and packet loss when network conditions are poor or the number of clients is large. While a browser / server (B / S) architecture allows for remote access to data via web technology, ensuring the real-time performance and accuracy of status data remains a critical issue. Therefore, a configuration method for a monitoring system based on a B / S architecture is needed to address these problems. Summary of the Invention

[0012] The technical problem to be solved by this invention is to provide a configuration method for a monitoring system based on a B / S architecture. This method aims to address the significant shortcomings of existing C / S architecture-based monitoring system configuration technologies in terms of remote monitoring, remote configuration, configuration setup under a B / S architecture, and status data transmission. It features the ability to achieve remote configuration and real-time data transmission of the monitoring system, improve the system's usability and maintenance efficiency, and meet the diverse needs of modern monitoring systems.

[0013] To solve the above-mentioned technical problems, the technical solution adopted by the present invention is as follows:

[0014] A configuration method for a monitoring system based on a B / S architecture includes:

[0015] The cloud configuration data structure and interface under the B / S architecture are constructed. The hardware characteristic data, interface data, status data, communication transmission data and corresponding hardware image data in the configuration database under the C / S architecture are used to construct the corresponding hardware database under the B / S architecture. Both the configuration database under the C / S architecture and the hardware database under the B / S architecture are encapsulated and handshake is established based on the Web Scocket protocol.

[0016] In a B / S architecture server, an image control corresponding to the hardware image in the hardware database is established. The image control contains corresponding hardware characteristic data, interface data, status data, and communication transmission data. The image control is used for the device configuration interface on the browser to call.

[0017] The configuration database in the C / S architecture has a communication interface to communicate with the hardware that contains configuration information, that is, the hardware that is loaded with configuration information, and to call up and store the current configuration hardware status information.

[0018] The device configuration interface in the browser and the hardware configuration interface in the C / S architecture have a remote sharing function.

[0019] Preferably, when the browser receives a user's access to the device configuration interface, the browser's device configuration interface first pops up a selection dialog box, allowing the user to choose between remote configuration of the current interface or remote operation of the local configuration interface. If the user chooses to use the remote operation of the local configuration interface, the screen sharing function between the device configuration interface on the browser and the hardware configuration interface under the C / S architecture is invoked, and the hardware is configured through the remote operation of the hardware configuration interface under the C / S architecture.

[0020] Preferably, when a user chooses to use the remote operation local configuration interface for configuration, before calling the screen sharing function between the device configuration interface on the browser and the hardware configuration interface under the C / S architecture, the user's permissions are first verified through confidentiality. Only after the permission authentication is passed can the user remotely operate the hardware configuration interface under the C / S architecture.

[0021] Preferably, when the selection dialog box pops up, if the user selects remote configuration of the current interface, the user calls the image control in the server under the B / S architecture in the device configuration interface on the browser. The image control establishes a connection between the hardware it represents and other image controls based on the hardware characteristic data, interface data, status data and communication transmission data in its corresponding hardware database, thus establishing hardware configuration under the B / S architecture. The server under the B / S architecture sends information to the hardware database under the B / S architecture according to the established hardware configuration. The configuration information is transmitted through the handshake between the configuration database under the C / S architecture and the hardware database under the B / S architecture, and can be downloaded to the hardware for configuration, thereby establishing hardware configuration under the C / S architecture.

[0022] Preferably, after the hardware configuration under the C / S architecture is completed, the current hardware status of the hardware containing the configuration information is read and stored through the communication interface of the configuration database under the C / S architecture. The hardware configuration interface under the B / S architecture can read the hardware status information under the C / S architecture according to the handshake signal and display it through the corresponding status image of the hardware in the hardware configuration interface.

[0023] Preferably, the hardware characteristic data includes hardware type, number of interfaces, and data connection type.

[0024] Preferably, when the selection dialog box pops up, if the remote sharing connection between the device configuration interface on the browser and the hardware configuration interface under the C / S architecture is disconnected and unavailable, the current interface is selected by default to complete the configuration remotely.

[0025] The beneficial effects of this invention are as follows:

[0026] This invention provides a configuration method for a monitoring system based on a B / S architecture. By establishing a data correspondence and connection between the hardware database of the B / S architecture and the configuration database of the C / S architecture, and combining it with remote screen control, various forms of remote configuration can be realized. Furthermore, by corresponding the basic data of the hardware data of the B / S architecture with that of the C / S architecture, the data and processing under the B / S architecture are not too complex, thus avoiding dragging down the browser's operating efficiency. A large amount of work is completed through the C / S architecture, and the current hardware status after configuration can also be read through the protocol. Attached Figure Description

[0027] Figure 1 This is a schematic diagram of the configuration method for the monitoring system based on the B / S architecture of the present invention. Detailed Implementation

[0028] Example 1:

[0029] like Figure 1 As shown, a configuration method for a monitoring system based on a B / S architecture includes:

[0030] The cloud configuration data structure and interface under the B / S architecture are constructed. The hardware characteristic data, interface data, status data, communication transmission data and corresponding hardware image data in the configuration database under the C / S architecture are used to construct the corresponding hardware database under the B / S architecture. Both the configuration database under the C / S architecture and the hardware database under the B / S architecture are encapsulated and handshake is established based on the Web Scocket protocol.

[0031] In a B / S architecture server, an image control corresponding to the hardware image in the hardware database is established. The image control contains corresponding hardware characteristic data, interface data, status data, and communication transmission data. The image control is used for the device configuration interface on the browser to call.

[0032] The configuration database in the C / S architecture has a communication interface to communicate with the hardware that contains configuration information, that is, the hardware that is loaded with configuration information, and to call up and store the current configuration hardware status information.

[0033] The device configuration interface in the browser and the hardware configuration interface in the C / S architecture have a remote sharing function.

[0034] Preferably, when the browser receives a user's access to the device configuration interface, the browser's device configuration interface first pops up a selection dialog box, allowing the user to choose between remote configuration of the current interface or remote operation of the local configuration interface. If the user chooses to use the remote operation of the local configuration interface, the screen sharing function between the device configuration interface on the browser and the hardware configuration interface under the C / S architecture is invoked, and the hardware is configured through the remote operation of the hardware configuration interface under the C / S architecture.

[0035] Preferably, when a user chooses to use the remote operation local configuration interface for configuration, before calling the screen sharing function between the device configuration interface on the browser and the hardware configuration interface under the C / S architecture, the user's permissions are first verified through confidentiality. Only after the permission authentication is passed can the user remotely operate the hardware configuration interface under the C / S architecture.

[0036] Preferably, when the selection dialog box pops up, if the user selects remote configuration of the current interface, the user calls the image control in the server under the B / S architecture in the device configuration interface on the browser. The image control establishes a connection between the hardware it represents and other image controls based on the hardware characteristic data, interface data, status data and communication transmission data in its corresponding hardware database, thus establishing hardware configuration under the B / S architecture. The server under the B / S architecture sends information to the hardware database under the B / S architecture according to the established hardware configuration. The configuration information is transmitted through the handshake between the configuration database under the C / S architecture and the hardware database under the B / S architecture, and can be downloaded to the hardware for configuration, thereby establishing hardware configuration under the C / S architecture.

[0037] Preferably, after the hardware configuration under the C / S architecture is completed, the current hardware status of the hardware containing the configuration information is read and stored through the communication interface of the configuration database under the C / S architecture. The hardware configuration interface under the B / S architecture can read the hardware status information under the C / S architecture according to the handshake signal and display it through the corresponding status image of the hardware in the hardware configuration interface.

[0038] Preferably, the hardware characteristic data includes hardware type, number of interfaces, and data connection type.

[0039] Preferably, when the selection dialog box pops up, if the remote sharing connection between the device configuration interface on the browser and the hardware configuration interface under the C / S architecture is disconnected and unavailable, the current interface is selected by default to complete the configuration remotely.

[0040] Example 2:

[0041] Furthermore, the hardware configuration interface under the B / S architecture includes hardware status indicator lights and status prompts or alarm information, which can display the hardware status, including running, stopped, waiting to run, question, and fault. Each status has corresponding information to explain the status. The indicator lights use green, yellow, red, and their solid light, off light, or flashing to indicate their different status meanings.

[0042] The aforementioned hardware characteristics data includes hardware type, number of interfaces, and data connection type.

[0043] The hardware database in the B / S architecture contains only a portion of the hardware data in the C / S architecture, including only key hardware configuration data. The B / S architecture retrieves specific hardware configuration data from the C / S architecture, thus avoiding the excessive complexity of data and processing in the B / S architecture, which would slow down the browser's performance. A large amount of work is done through the C / S architecture, while the browser only handles basic hardware correspondence and status display.

[0044] Hardware types include controllers, sensors, detection devices, or actuators. For example, a controller is responsible for loading configuration information and completing hardware configuration with other components. Interfaces include various types, which vary depending on the brand. They can be Profibus or Profinet, CC-link, or CAN. Sensors, gratings, or rotary encoders are signal detection and output components, and they have only one interface.

Claims

1. A method for monitoring system configuration based on B / S architecture, characterized in that, The application relates to a device configuration method and device configuration system. The cloud configuration data structure and interface under the B / S architecture are constructed, the hardware characteristic data, interface data, state data, communication transmission data and image data corresponding to the hardware in the configuration database under the C / S architecture are constructed into the hardware database under the B / S architecture, the configuration database under the C / S architecture and the hardware database under the B / S architecture are encapsulated based on the Web Scoket protocol and a handshake is established; The image control corresponding to the hardware image in the hardware database is established in the server under the B / S architecture, the corresponding hardware characteristic data, interface data, state data and communication transmission data are arranged in the image control, and the image control is used for calling the device configuration interface on the browser; The configuration database under the C / S architecture is provided with a communication interface and is connected with the hardware containing the configuration information, the hardware state information of the current configuration is called and stored; The remote sharing function is arranged between the device configuration interface on the browser and the hardware configuration interface under the C / S architecture; The configuration database under the C / S architecture and the hardware configuration interface are connected with the execution mechanism, the execution mechanism comprises a CPU, the CPU is connected with a drive 1 and a drive 2, the drive 1 is connected with a machine arm, and the drive 2 is connected with an encode motor; the CPU is also connected with an I / O module; When the device configuration interface on the browser receives the user access, the device configuration interface on the browser pops up a selection dialogue box, the user selects the current interface remote configuration or the remote operation local configuration interface for configuration; when the selection dialogue box is popped up, if the user selects the current interface remote configuration, the user calls the image control in the server under the B / S architecture, the image control establishes the connection between the hardware represented by the image control and other image controls according to the hardware characteristic data, interface data, state data and communication transmission data in the hardware database corresponding to the image control, and the hardware configuration under the B / S architecture is established; the server under the B / S architecture sends the information to the hardware database under the B / S architecture according to the established hardware configuration, transmits the configuration information between the configuration database under the C / S architecture and the hardware database under the B / S architecture through the handshake, and can be downloaded to the hardware for configuration, so that the hardware configuration under the C / S architecture is established; the hardware characteristic data comprises the hardware type, the interface quantity and the data connection type.

2. The method according to claim 1, wherein, If the user selects to use the remote operation local configuration interface for configuration, the screen sharing function between the device configuration interface on the browser and the hardware configuration interface under the C / S architecture is called, and the hardware is configured through the remote operation of the hardware configuration interface under the C / S architecture.

3. The method according to claim 2, wherein, When the user selects to use the remote operation local configuration interface for configuration, the user authority is verified through the security before the screen sharing function between the device configuration interface on the browser and the hardware configuration interface under the C / S architecture is called, and the hardware configuration interface under the C / S architecture can be remotely operated only after the authority authentication is passed.

4. The method according to claim 1, wherein, After the hardware configuration under the C / S architecture is completed, the current hardware state in the hardware loaded with configuration information is read through the communication interface of the configuration database under the C / S architecture and stored.

5. The method according to claim 4, wherein, The hardware configuration interface under the B / S architecture reads the hardware state information under the C / S architecture according to the handshake signal and displays the state image corresponding to the hardware in the hardware configuration interface.

6. The method according to claim 1, wherein the method further comprises: When the selection dialog box is popped up, if the remote sharing connection between the device configuration interface on the browser and the hardware configuration interface under the C / S architecture is disconnected and unavailable, the current interface remote configuration is selected by default.

Citation Information

Patent Citations

  • A configuration method and device for remote monitoring of equipment

    CN109862064A

  • Substation data configuration software based on BS and CS architecture

    CN117971299A