A Power Monitoring System Based on Web Technology
By adopting multi-window routing and Git version management tools in the power monitoring system, the problems of slow startup of the power monitoring system and low data management efficiency are solved, fast startup and efficient maintenance are achieved, and the system interaction and operation and maintenance efficiency are improved. .
Patent Information
- Application Number
- CN202210654743.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-10
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2042-06-10
AI Technical Summary
The existing power monitoring system has white screen waiting problems during the loading of window resources at startup, and data management relies on databases to cause inefficient version control and maintenance.
The power monitoring system based on web technology is adopted to achieve unified compilation and asynchronous loading of resources through multi-window routing, data management is used using Git version management tools, and user interaction experience is optimized through hot window startup and multi-display allocation.
Effectively reduce the application source code volume, improve startup speed and maintenance efficiency, solve the problem of white screen waiting during window resource loading, and realize rapid version control and data synchronization through Git management, improving system interaction and operation and maintenance efficiency.
Smart Images

Figure CN114896537B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of metal recycling, and more specifically, to a power monitoring system based on Web technology. Background Art
[0002] The power monitoring system uses computers, communication equipment, and measurement and control units as basic tools, providing a basic platform for real-time data collection, switch status detection, and remote control of the power distribution system. It can form an arbitrarily complex monitoring system with detection and control equipment, and plays a core role in power distribution monitoring. It can help companies eliminate islands, reduce operating costs, improve production efficiency, and speed up the response to abnormalities in the power distribution process.
[0003] With the development of society, people's demand for electricity is increasing, and the importance of electric energy is self-evident. Therefore, in order to improve the protection and monitoring of electricity, the power monitoring system needs to be continuously upgraded. With the development of Internet of Things technology, the industrial monitoring platform needs to meet the different needs of users, including beautiful UI and good interactive experience. At the same time, it needs to adapt to different operating systems and be easy to maintain. Therefore, technicians use Web technology to develop C / S desktop programs. After the program is started, it needs to obtain data from the server and then load local resources for rendering. This means that when we develop multi-window applications, different windows require local resources (HTML, CSS, JavaScript) to cooperate with server data to render the window. This means that we need to package and compile these static resources separately, which results in high usage costs and cumbersome maintenance.
[0004] To this end, we propose a power monitoring system based on Web technology to effectively solve some problems existing in the existing technology. Summary of the invention
[0005] 1. Technical issues to be solved
[0006] In view of the problems existing in the prior art, the purpose of the present invention is to provide an electric power monitoring system based on Web technology. Through routing multi-windowing, the WEB layer of desktop applications can be effectively compiled and compressed uniformly before compilation, effectively reducing the application source code volume, and also supporting asynchronous loading of resources. In view of the slow startup of traditional desktop applications, the present invention provides a hot window startup solution, which effectively solves the pain point of white screen waiting during the loading process of window resources. In traditional desktop applications, local data management is usually stored in the form of a database. The present invention takes a different approach and adopts the Git version management tool to effectively solve business pain points such as project version control and project copying, and improves the maintenance efficiency of implementation personnel.
[0007] 2. Technical solution
[0008] To solve the above problems, the present invention adopts the following technical solutions.
[0009] A power monitoring system based on Web technology, including a server, includes the following steps:
[0010] S1: Select the single-page application solution, and the CSS and JavaScript file resources are asynchronously loaded by the corresponding routes of the Web layer;
[0011] S2: Create a routing configuration file in advance when creating a project. After the application is started, the window constructor loads the default route to create a window and distributes it to the main display. Then, the additional display is initialized and a window display mapping set is created. The default window id is bound to the main display instance and a mapping relationship between the window display is created.
[0012] S3: After the default window is displayed, the application window constructor loads the routing configuration, that is, the routing configuration creates all hot windows. At this time, the user can immediately start the hot window through mouse interaction, which reduces the white screen waiting time from window creation to display compared with the traditional solution;
[0013] S4: When the application is started and all hot start windows are created, each time the user clicks a window icon, the application searches for an idle additional display according to the configuration. If there is no idle additional display, it will be displayed on the main display. If there is and the display is not specified in the configuration, an additional display will be automatically allocated according to a certain logic to display the window. During this process, the application will automatically bind or unbind the window to the main display or additional display.
[0014] Furthermore, the server is connected to a main box, the main box is connected to a main display, the main display is connected to multiple additional displays via network cables, the server is connected to a power monitoring module and a video monitoring module, and a corresponding platform is provided inside the main box. The platform is in the form of an APP for use by staff, and the APP creates power engineering files in the server.
[0015] Furthermore, the main display and the additional display are each provided with a corresponding ID, and the window is also provided with a corresponding ID, and a mapping relationship between the display ID and the window ID is created.
[0016] Furthermore, the power engineering files are managed by Git, and its version control management mechanism is used to trace, roll back, and synchronize the power engineering files, making it easier to manage the power station operation and maintenance in the fastest and most efficient way for incorrect configurations.
[0017] Furthermore, the power engineering files are isolated within the LAN, which is connected to the external storage module via a firewall.
[0018] Furthermore, the platform has manual backup and automatic backup functions. Manual backup can add labels such as backup reasons, and automatic backup will automatically record relevant dates and abnormal situations on that day.
[0019] Furthermore, a motor is provided at the upper end of the additional display, a reflective alarm is provided at the output end of the motor, a warning light is provided inside the reflective alarm, and a plurality of heat-absorbing reflective strips are provided at equal intervals on the outer wall of the reflective alarm.
[0020] Furthermore, the heat-absorbing reflective strip comprises a transparent layer, a refractive medium is provided in the middle of the transparent layer, and the transparent layer is attached to the outer wall of the reflective warning device in a curved shape.
[0021] Furthermore, the transparent layer is filled with a refractive medium, and the refractive medium is doped with a plurality of different-colored reflective scales.
[0022] Furthermore, the bottom of the transparent layer is attached to the upper end of the additional display through a thermal pad.
[0023] 3. Beneficial effects
[0024] Compared with the prior art, the advantages of the present invention are:
[0025] (1) This solution can effectively compile and compress the WEB layer of desktop applications before compiling them by routing multiple windows, effectively reducing the application source code volume, and also supporting asynchronous loading of resources. In view of the slow startup of traditional desktop applications, the present invention provides a hot window startup solution, which effectively solves the pain point of waiting for white screen during the loading process of window resources. In traditional desktop applications, local data management is usually stored in a database. The present invention takes a different approach and uses the Git version management tool to effectively solve business pain points such as project version control and project copying, thereby improving the maintenance efficiency of implementation personnel.
[0026] (2) The server in this solution is connected to a host box, which is connected to a main display. The main display is connected to multiple additional displays via a network cable. The server is connected to a power monitoring module and a video monitoring module. A corresponding platform is provided inside the host box. The platform is provided to the staff in the form of an APP. The APP creates a power engineering file in the server. The routing multi-window is located by the routing to locate the static resources, server data, and window view conversion of the window corresponding to the routing. The window hot start mode is adopted to work. The routing configuration is pre-generated in batches through the window constructor to generate unactivated windows, i.e. hot windows. When the user clicks the icon of the corresponding window, the window is displayed immediately, which reduces the waiting time of the white screen, effectively improves the work efficiency, and increases the fluency of human-computer interaction.
[0027] (3) In this solution, the main display and the additional display are each provided with a corresponding ID, and the window is also provided with a corresponding ID, and a mapping relationship between the display ID and the window ID is created, so as to facilitate the display release after the window is closed and unbound, thereby improving the interactivity and convenience of the system. Under the premise that the system has a multi-screen display requirement, by pre-binding the display during the creation of the hot window, or by the user manually specifying the display, the operation and maintenance personnel can reduce the silent cost of window switching during complex business operations, saving the staff's time and improving work efficiency.
[0028] (4) The power engineering files in this solution are managed by Git, and its version control management mechanism is used to trace, roll back, and synchronize the power engineering files, so as to facilitate the operation and maintenance of the power station in the fastest and most efficient way for incorrect configurations. This solves the problem that the database storage cannot form data copies through its own mechanism, and the differences between the data copies and the localized data generated by specific details.
[0029] (5) The power engineering files in this solution are isolated by the LAN intranet, which is connected to the external storage module through a firewall. That is, the operation and maintenance personnel of the power station can request the technical implementation personnel to remotely control the power station project in an emergency, carry out emergency repairs, and restore the normal operation of the power station by synchronizing data.
[0030] (6) The platform in this solution has manual backup and automatic backup functions. Manual backup can add labels such as backup reasons, and automatic backup will automatically record the relevant date and abnormal conditions of the day. If a problem occurs, the previous normal configuration backup can be overwritten. Staff members often forget which functions were added and which content was modified each time. Once a problem occurs, special tools need to be used to compare the differences between each backup, which brings certain difficulties to the implementation of maintenance.
[0031] (7) The additional display in this solution is provided with a motor at the top, a reflective alarm at the output end of the motor, a warning light inside the reflective alarm, and a plurality of heat-absorbing reflective strips equidistantly arranged on the outer wall of the reflective alarm. When the additional display receives a mapping signal, the reflective alarm cooperates with the motor to rotate to remind the staff that a new window will be mapped there, thereby effectively avoiding the embarrassing situation that the staff cannot find the window, saving time and improving efficiency.
[0032] (8) The heat-absorbing reflective strip in the present solution includes a transparent layer, a refractive medium is provided in the middle of the transparent layer, the transparent layer is bent and attached to the outer wall of the reflective warning device, the transparent layer is filled with a refractive medium, and a plurality of different-colored reflective scales are doped inside the refractive medium. The bottom of the transparent layer is attached to the upper end of the additional display through a thermal pad, and the heat generated by the additional display when it is in standby mode is transferred to the heat-absorbing reflective strip by the thermal pad. The refractive medium therein absorbs the heat and rolls the different-colored reflective scales therein, thereby reflecting the light of the warning light to a larger range, effectively reminding the staff of the mapping position, reducing the heat of the additional display, and extending its service life. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 It is a schematic diagram of the system of the present invention;
[0034] Figure 2 A flow chart of the routing multi-window system of the present invention;
[0035] Figure 3 It is a flow chart of the window hot start system of the present invention;
[0036] Figure 4 A flow chart of the multi-display automatic (or designated) window distribution system of the present invention;
[0037] Figure 5 A flowchart of the Git management project configuration version system of the present invention;
[0038] Figure 6 It is a schematic diagram of the structure of the joint of the additional display and the reflective warning device of the present invention;
[0039] Figure 7 It is a structural schematic diagram of the reflective warning device of the present invention;
[0040] Figure 8 It is a cross-sectional view of the heat-absorbing reflective strip of the present invention.
[0041] Description of the numbers in the figure:
[0042] 1 reflective warning device, 2 heat-absorbing reflective strip, 21 transparent layer, 22 refractive medium, 23 different color reflective scales. DETAILED DESCRIPTION
[0043] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention; it is obvious that the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments, and all other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making creative work are within the scope of protection of the present invention.
[0044] In the description of the present invention, it should be noted that the terms "upper", "lower", "inner", "outer", "top / bottom" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific position, be constructed and operated in a specific position, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance.
[0045] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "provided with", "set / connected", "connected", etc. should be understood in a broad sense. For example, "connected" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal connection of the adapter model component. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0046] Embodiment 1:
[0047] See also Figure 1-3 , a power monitoring system based on Web technology, including a server, includes the following steps:
[0048] S1: Select the single-page application solution, and the CSS and JavaScript file resources are asynchronously loaded by the corresponding routes of the Web layer;
[0049] S2: Create a routing configuration file in advance when creating a project. After the application is started, the window constructor loads the default route to create a window and distributes it to the main display. Then, the additional display is initialized and a window display mapping set is created. The default window id is bound to the main display instance and a mapping relationship between the window display is created.
[0050] S3: After the default window is displayed, the application window constructor loads the routing configuration, that is, the routing configuration creates all hot windows. At this time, the user can immediately start the hot window through mouse interaction, which reduces the white screen waiting time from window creation to display compared with the traditional solution;
[0051] S4: When the application is started and all hot start windows are created, each time the user clicks a window icon, the application searches for an idle additional display according to the configuration. If there is no idle additional display, it will be displayed on the main display. If there is and the display is not specified in the configuration, an additional display will be automatically allocated according to a certain logic to display the window. During this process, the application will automatically bind or unbind the window to the main display or additional display.
[0052] See also Figure 4 The server is connected to a host box, the host box is connected to a main display, the main display is connected to multiple additional displays through a network cable, the server is connected to a power monitoring module and a video monitoring module, and a corresponding platform is provided inside the host box. The platform is provided to the staff in the form of an APP. The APP creates a power engineering file in the server. The routing multi-window is located by the routing to locate the static resources, server data, and window view conversion of the window corresponding to the routing. It works in a window hot start mode. The routing configuration is pre-generated in batches through the window constructor to generate unactivated windows, that is, hot windows. When the user clicks the icon of the corresponding window, the window is displayed immediately, reducing the waiting time for the white screen, effectively improving work efficiency, and increasing the fluency of human-computer interaction.
[0053] The main display and the additional display are each equipped with a corresponding ID, and the window is also equipped with a corresponding ID. A mapping relationship between the display ID and the window ID is created to facilitate closing the window and unbinding and releasing the display, thereby improving the interactivity and convenience of the system. Under the premise that the system has multi-screen display requirements, by pre-binding the display during the creation of the hot window, or the user manually specifies the display, it is convenient for operation and maintenance personnel to reduce the silent cost of window switching during complex business operations, saving staff time and improving work efficiency.
[0054] See also Figure 5 The power engineering files are managed by Git, and its version control management mechanism is used to trace, roll back, and synchronize the power engineering files, which facilitates the operation and maintenance of the power station in the fastest and most efficient way for incorrect configurations. It solves the problem that the database storage cannot form data copies through its own mechanism, and the differences between the data copies and the localized data generated by specific details.
[0055] The power engineering files are isolated by the LAN, and the LAN is connected to the external storage module through a firewall. That is, the operation and maintenance personnel of the power station can request the technical implementation personnel to remotely control the power station project in an emergency, carry out emergency repairs, and restore the normal operation of the power station by synchronizing data.
[0056] The platform has manual backup and automatic backup functions. Manual backup can add labels such as backup reasons, and automatic backup will automatically record relevant dates and abnormal conditions of the day. If a problem occurs, the previous normal configuration backup can be overwritten. Staff members often forget which functions were added and which content was modified each time. Once a problem occurs, special tools need to be used to compare the differences between each backup, which brings certain difficulties to the implementation of maintenance.
[0057] See also Figure 6A motor is provided at the upper end of the additional display, a reflective alarm 1 is provided at the output end of the motor, a warning light is provided inside the reflective alarm 1, and a plurality of heat-absorbing reflective strips 2 are equidistantly provided on the outer wall of the reflective alarm 1. When the additional display receives a mapping signal, the reflective alarm 1 cooperates with the motor to rotate to remind the staff that a new window will be mapped here, which effectively avoids the embarrassing situation that the staff cannot find the window, saves time and improves efficiency.
[0058] See also Figure 7-8 The heat-absorbing reflective strip 2 includes a transparent layer 21, a refractive medium 22 is provided in the middle of the transparent layer 21, the transparent layer 21 is bent and attached to the outer wall of the reflective warning device 1, the transparent layer 21 is filled with a refractive medium, and a plurality of heterochromatic reflective scales 23 are doped inside the refractive medium. The bottom of the transparent layer 21 is attached to the upper end of the additional display through a thermal pad, and the heat generated by the standby heating of the additional display is transferred to the heat-absorbing reflective strip 2 by the thermal pad, and the refractive medium therein absorbs the heat and rolls to make the heterochromatic reflective scales 23 therein roll, so as to reflect the light of the warning light to a larger range, effectively remind the staff of the mapping position, reduce the heat of the additional display, and extend its service life.
[0059] When using the system, the staff first need to install an additional cooling system on the server, because the solution requires all the codes of the web application to be requested at one time, which will cause the first screen to load too slowly and generate a lot of heat. The technicians can make minor adjustments to the system to load data as needed;
[0060] By adopting routing multi-window, the WEB layer of desktop applications can be effectively compiled and compressed uniformly before compilation, effectively reducing the application source code volume, and also supporting asynchronous loading of resources. In view of the slow startup of traditional desktop applications, the present invention provides a hot window startup solution, which effectively solves the pain point of white screen waiting during the loading process of window resources. In traditional desktop applications, local data management is usually stored in the form of a database. The present invention takes a different approach and adopts the Git version management tool to effectively solve business pain points such as project version control and project copying, and improves the maintenance efficiency of implementation personnel.
[0061] The above is only a preferred specific implementation of the present invention; however, the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical solution and its improved conception within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A power monitoring system based on Web technology, comprising a server, characterized in that: The following steps are involved: S1: Select the single-page application solution, and the CSS and JavaScript file resources are asynchronously loaded by the corresponding routes of the Web layer; S2: Create a routing configuration file in advance when creating a project. After the application is started, the window constructor loads the default route to create a window and distributes it to the main display. Then, the additional display is initialized and a window display mapping set is created. The default window id is bound to the main display instance and a mapping relationship between the window display is created. S3: After the default window is displayed, the application window constructor loads the routing configuration, that is, the routing configuration creates all hot windows. At this time, the user can immediately start the hot window through mouse interaction, which reduces the white screen waiting time from window creation to display compared with the traditional solution; S4: When the application is started and all hot start windows are created, each time the user clicks a window icon, the application searches for an idle additional display according to the configuration. If there is no idle additional display, the window will be displayed on the main display. If there is an idle additional display and the display is not specified in the configuration, an additional display will be automatically allocated according to a certain logic to display the window. In this process, the application will automatically bind or unbind the window to the main display or the additional display; The server is connected to a main chassis, the main chassis is connected to a main display, the main display is connected to multiple additional displays via a network cable, the server is connected to a power monitoring module and a video monitoring module, a corresponding platform is provided inside the main chassis, the platform is in the form of an APP for use by staff, and the APP creates a power engineering file in the server.
2. According to claim 1, a power monitoring system based on Web technology is characterized in that: The main display and the additional display are both provided with corresponding IDs, and the window is also provided with corresponding IDs, and a mapping relationship between the display ID and the window ID is created.
3. The power monitoring system based on Web technology according to claim 1 is characterized in that: The electric power engineering files are managed by Git, and its version control management mechanism is used to perform version tracing, rollback, and synchronization on the electric power engineering files.
4. The power monitoring system based on Web technology according to claim 1 is characterized in that: The electric power engineering files are isolated by using a local area network (LAN) and the LAN is connected to an external storage module via a firewall.
5. The power monitoring system based on Web technology according to claim 1 is characterized in that: The platform is equipped with manual backup and automatic backup functions. The manual backup can add a backup reason tag, and the automatic backup will automatically record the relevant date and abnormal conditions of the day.
6. The power monitoring system based on Web technology according to claim 1, characterized in that: A motor is provided at the upper end of the additional display, a reflective alarm (1) is provided at the output end of the motor, a warning light is provided inside the reflective alarm (1), and a plurality of heat-absorbing reflective strips (2) are provided at equal intervals on the outer wall of the reflective alarm (1).
7. The power monitoring system based on Web technology according to claim 6 is characterized in that: The heat-absorbing reflective strip (2) comprises a transparent layer (21), a refractive medium (22) is provided in the middle of the transparent layer (21), and the transparent layer (21) is attached to the outer wall of the reflective warning device (1) in a curved shape.
8. The power monitoring system based on Web technology according to claim 7 is characterized in that: The transparent layer (21) is filled with a refractive medium, and the refractive medium is doped with a plurality of different-colored reflective scales (23).
9. The power monitoring system based on Web technology according to claim 7 is characterized in that: The bottom of the transparent layer (21) is attached to the upper end of the additional display via a heat-conducting pad.
