Image rendering method, device, equipment and product
Through the collaborative work of the main control system, front-end platform and back-end platform, the problems of complex operation and insufficient visualization in the management of optical transmission equipment have been solved, the accurate mapping of equipment operating status and physical entities has been achieved, and the intelligent operation and maintenance capabilities of the optical network have been improved.
Patent Information
- Application Number
- CN202510693370.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-27
- Publication Date
- 2025-09-23
AI Technical Summary
Existing network equipment management systems have problems with complex operations, insufficient visualization capabilities, and poor system scalability in the management of optical transmission equipment. This has led to limited development of intelligent operation and maintenance of optical networks, especially in the mapping of equipment operating status to physical entities.
The main control system periodically polls the optical transmission equipment to obtain device information files, and through the collaborative work of the front-end platform and the back-end platform, image rendering is performed, including establishing connection channels, formatting processing, rule configuration and alarm judgment, and finally the image rendering is displayed on the front-end platform.
It improves the image rendering accuracy and efficiency of optical transmission equipment, provides a more intuitive visualization of equipment status and business operation status, and reduces operation and maintenance costs and response speed.
Smart Images

Figure CN120689442A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of page rendering technology, and in particular to an image rendering method, apparatus, device, and product. Background Art
[0002] To meet the stringent data transmission requirements of new smart cities, industrial Internet and other scenarios, telecom operators and industry users have deployed multi-standard optical transmission equipment on a large scale, and the resulting network topology complexity has grown exponentially.
[0003] However, existing network equipment management systems have significant technical shortcomings when dealing with large-scale optical network management: First, traditional management tools generally use command-line operation mode, and the configuration process requires multi-level parameter adjustment, resulting in a steep learning curve and inefficient human-computer interaction; second, the topology presentation function is limited to two-dimensional plane display, lacking three-dimensional visualization capabilities such as optical power spectrum monitoring and service path tracing, resulting in the average fault location time exceeding industry standard requirements; third, the system architecture design does not fully consider the evolution requirements of SDN / NFV technology, and the API interface is not standardized enough.
[0004] What is more prominent is that existing solutions fail to effectively integrate digital twin technology, making it difficult to build an accurate mapping between equipment operating status and physical entities, which seriously restricts the development of intelligent operation and maintenance of optical networks.
[0005] The above content is only used to assist in understanding the technical solution of this application and does not constitute an admission that the above content is prior art. Summary of the Invention
[0006] The main purpose of this application is to provide an image rendering method, device, equipment and product, which aims to solve the technical problem that when rendering the image of the operating status of the optical transmission equipment, the relationship between the operating status of the equipment and the physical entity is not considered, resulting in poor rendering effect.
[0007] To achieve the above objectives, the present application proposes an image rendering method, which is applied to a main control system and includes:
[0008] Perform regular polling of optical transmission equipment to obtain equipment information files;
[0009] Receive the data acquisition instruction sent by the front-end platform, and send the file address to the back-end platform according to the data acquisition instruction. The back-end platform reads the device information file through a script program according to the data acquisition instruction and the file address, and sends the device information file to the front-end platform. The front-end platform performs image rendering based on the device information file to obtain a rendering result. After receiving the image rendering instruction, the front-end device issues the data acquisition instruction to the main control system and the back-end platform based on the image rendering instruction.
[0010] In one embodiment, the step of performing periodic polling on the optical transmission device to obtain the device information file includes:
[0011] Establishing a connection channel with the optical transmission device based on a communication protocol;
[0012] Performing periodic polling on the optical transmission device through the connection channel to obtain the operating status and operating data of the optical transmission device;
[0013] Formatting the operating status and operating data to obtain processing results;
[0014] A device information file is generated according to the processing result, and the device information file is stored in a device information database.
[0015] In one embodiment, after the step of generating a device information file according to the processing result and storing the device information file in a device information database, the method further includes:
[0016] Perform rule configuration based on the performance data and configuration information of the optical transmission equipment to obtain alarm rules;
[0017] Determine whether the device information file triggers an alarm by using the alarm rule, and obtain a determination result;
[0018] When the judgment result is that an alarm is triggered, an alarm record is generated and stored in the device information database.
[0019] In addition, to achieve the above-mentioned purpose, the present application also proposes an image rendering method, which is applied to a front-end platform and includes:
[0020] Receive an image rendering instruction, and send a data acquisition instruction to the back-end platform and the main control system based on the image rendering instruction. The main control system sends a file address to the back-end platform according to the data acquisition instruction. The back-end platform reads a device information file through a script program based on the data acquisition instruction and the file address, and sends the device information file to the front-end platform. The device information file is obtained by the main control system through regular polling of the optical transmission device;
[0021] Image rendering is performed based on the device information file to obtain a rendering result.
[0022] In one embodiment, the step of performing image rendering based on the device information file to obtain a rendering result includes:
[0023] Parsing the device information file to obtain image rendering data;
[0024] According to the image rendering data, page rendering is performed through the data binding mechanism of the front-end framework to obtain rendering content;
[0025] Based on the rendering content, display image rendering is performed through the display component of the front-end framework to obtain a rendering result.
[0026] In one embodiment, after the step of performing image rendering based on the device information file to obtain a rendering result, the method further includes:
[0027] Receive an operation instruction triggered by a user based on the rendering result, wherein the operation instruction includes a page click instruction, a parameter input instruction, and a view switching instruction;
[0028] Based on the type of the operation instruction, the page controls the routing to match the corresponding routing rules, and loads the associated data to be updated according to the routing rules;
[0029] Filtering the data to be updated according to the rendering result to obtain valid data to be updated;
[0030] The dynamic rendering engine of the front-end framework is called to render and update the valid data to be updated to obtain a final rendering result.
[0031] In addition, to achieve the above-mentioned purpose, the present application also proposes an image rendering method, which is applied to a backend platform and includes:
[0032] Receiving a data acquisition instruction sent by the front-end platform, wherein the data acquisition instruction is sent by the front-end platform to the back-end platform and the main control system based on the image rendering instruction;
[0033] Receiving a file address sent by the main control system, and reading a device information file of the main control system through a script program according to the data acquisition instruction, wherein the file address is sent by the main control system according to the data acquisition instruction, and the device information file is obtained by the main control system through regular polling of the optical transmission device;
[0034] The device information file is sent to the front-end platform, and the front-end platform performs image rendering based on the device information file to obtain a rendering result.
[0035] In addition, to achieve the above-mentioned purpose, the present application also proposes an image rendering device, which is applied to a main control system and includes:
[0036] The polling module is used to periodically poll the optical transmission equipment to obtain the equipment information file;
[0037] The rendering module is used to receive the data acquisition instruction sent by the front-end platform, and send the file address to the back-end platform according to the data acquisition instruction. The back-end platform reads the device information file through a script program according to the data acquisition instruction and the file address, and sends the device information file to the front-end platform. The front-end platform performs image rendering based on the device information file to obtain a rendering result. After receiving the image rendering instruction, the data acquisition instruction is issued by the front-end device to the main control system and the back-end platform based on the image rendering instruction.
[0038] In addition, to achieve the above-mentioned purpose, the present application also proposes an image rendering device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the image rendering method described above.
[0039] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium. A computer program is stored on the storage medium, and when the computer program is executed by a processor, the steps of the image rendering method described above are implemented.
[0040] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps of the image rendering method described above are implemented.
[0041] One or more technical solutions proposed in this application have at least the following technical effects:
[0042] The embodiment of the present application proposes an image rendering method, apparatus, device and computer program product, which obtains a device information file by periodically polling an optical transmission device; receives a data acquisition instruction sent by a front-end platform, sends a file address to the back-end platform according to the data acquisition instruction, and the back-end platform reads the device information file through a script program according to the data acquisition instruction and the file address, sends the device information file to the front-end platform, and the front-end platform performs image rendering based on the device information file to obtain a rendering result. After receiving the image rendering instruction, the front-end device sends the data acquisition instruction to the main control system and the back-end platform based on the image rendering instruction. Thus, the main control platform performs periodic polling on the optical transmission device to obtain a device information file. When the front-end platform receives the image rendering instruction, the back-end platform reads the device information file in the main control system, and hands the device information file to the front-end platform for image rendering to obtain a rendering result. This solves the problem of poor rendering effect caused by not considering the relationship between the device operating status and the physical entity when rendering the image of the operating status of the optical transmission device, thereby improving the accuracy of image rendering. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0044] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0045] Figure 1 A flowchart of the first embodiment of the image rendering method of the present application is provided;
[0046] Figure 2 A flowchart of the second embodiment of the image rendering method of the present application is provided;
[0047] Figure 3 A schematic diagram of a simplified flow chart of the image rendering method provided in the second embodiment of the present application;
[0048] Figure 4 This is a schematic diagram of actual operations performed by a user in accordance with an embodiment of the present application;
[0049] Figure 5 This is a schematic diagram of the overall system architecture involved in the embodiment of the present application;
[0050] Figure 6 This is a schematic diagram of the module structure of the image rendering device according to an embodiment of the present application;
[0051] Figure 7 Schematic diagram of the device structure of the hardware operating environment involved in the image rendering method in the embodiment of the present application.
[0052] The purpose, features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0053] It should be understood that the specific embodiments described herein are merely used to explain the technical solutions of the present application and are not intended to limit the present application.
[0054] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0055] The main solution of the embodiment of the present application is to establish a connection channel with the optical transmission device based on a communication protocol; periodically poll the optical transmission device through the connection channel to obtain the operating status and operating data of the optical transmission device; format the operating status and operating data to obtain a processing result; generate a device information file based on the processing result and store the device information file in a device information database; configure rules based on the performance data and configuration information of the optical transmission device to obtain alarm rules; determine whether the device information file triggers an alarm based on the alarm rules, and obtain a judgment result. If the judgment result is that an alarm is triggered, an alarm record is generated and stored in the device information database; receive an image rendering instruction, and send a data acquisition instruction to the back-end platform and the main control system based on the image rendering instruction. The main control system sends a file address to the back-end platform based on the data acquisition instruction. The back-end platform reads the device information file through a script program based on the data acquisition instruction and the file address, and sends the device information file to the front-end platform. The main control system periodically polls the optical transmission device to obtain the device information file, and then renders the image based on the device information file to obtain a rendering result. Parse the device information file to obtain image rendering data; based on the image rendering data, perform page rendering through the data binding mechanism of the front-end framework to obtain rendering content; based on the rendering content, perform image rendering through the display component of the front-end framework to obtain rendering results. Receive operation instructions triggered by the user based on the rendering results, the operation instructions include page click instructions, parameter input instructions, and view switching instructions; based on the type of the operation instructions, match the corresponding routing rules through the page control routing, and load the associated data to be updated according to the routing rules; filter the data to be updated according to the rendering results to obtain valid data to be updated; call the dynamic rendering engine of the front-end framework to render and update the valid data to be updated to obtain the final rendering result. The system receives a data acquisition instruction from the front-end platform, which is issued by the front-end platform to the back-end platform and the main control system based on the image rendering instruction. The system then receives a file address from the main control system and, based on the data acquisition instruction, reads the main control system's device information file through a script program. The file address is issued by the main control system based on the data acquisition instruction, and the device information file is obtained by the main control system through periodic polling of the optical transmission device. The device information file is then sent to the front-end platform, which then performs image rendering based on the device information file to obtain a rendering result. This solves the problem of poor rendering results caused by not considering the relationship between the operating status of the optical transmission device and the physical entity when rendering the image. The system then achieves image rendering and improves image rendering efficiency.Based on the solution of the present invention, an image rendering method is designed based on the problems that the management interface of network device management tools is unfriendly, the configuration steps are cumbersome, the degree of visualization is low, and the device status and business operation status cannot be intuitively displayed. The effectiveness of the image rendering method of the present invention is verified when rendering images. Finally, the efficiency of image rendering is significantly improved by the method of the present invention.
[0056] In this embodiment, for ease of description, the following description is made with the image rendering device as the execution subject.
[0057] With the rapid development of optical communication technology, the number of optical transmission devices deployed by operators and enterprises has increased significantly, and the demand for their configuration, monitoring, and management has become increasingly urgent. However, the network equipment management tools currently available on the market have significant shortcomings in addressing these needs: First, they are complex to operate. Most tools lack user-friendly interfaces, requiring repeated window switching and manual input of multiple sets of parameters (such as optical module speed and wavelength). This is tedious and error-prone, and requires high professional skills from operations and maintenance personnel. Second, they lack visualization capabilities. Device status (such as optical attenuation and link connectivity) and service operation status (such as traffic peaks and latency fluctuations) are mostly presented in text reports, lacking intuitive graphical displays such as topology diagrams and heat maps. Fault location relies on manual data verification, which is inefficient. Third, they lack scalability. The tools lack interface compatibility with other systems (such as operations and maintenance platforms and monitoring platforms), making it difficult to quickly integrate emerging features (such as AI-powered alarm prediction and automated configuration). Subsequent system upgrades require redevelopment and adaptation, further reducing management efficiency. The combination of these problems has led to increased operation and maintenance costs and slower response speeds for optical transmission equipment, making it difficult to meet the needs of refined management.
[0058] The present application provides a solution. In the main control system, optical transmission equipment is polled periodically to obtain the device information file of the optical transmission equipment. At the same time, when the front-end platform receives an image rendering instruction, a data acquisition instruction is sent to the back-end platform, and the device information file is obtained through the back-end platform. Finally, the front-end platform performs image rendering based on the device information file to obtain the rendering result, thereby providing users with better quality services.
[0059] As can be seen from the above embodiments, the present application obtains a device information file by periodically polling the optical transmission device; receives a data acquisition instruction sent by the front-end platform, sends a file address to the back-end platform according to the data acquisition instruction, and the back-end platform reads the device information file through a script program according to the data acquisition instruction and the file address, sends the device information file to the front-end platform, and the front-end platform performs image rendering based on the device information file to obtain a rendering result. After receiving the image rendering instruction, the data acquisition instruction is sent by the front-end device to the main control system and the back-end platform based on the image rendering instruction. Thus, the optical transmission device is periodically polled by the main control platform to obtain a device information file. When the front-end platform receives the image rendering instruction, the device information file in the main control system is read by the back-end platform, and the device information file is handed over to the front-end platform for image rendering to obtain a rendering result. This solves the problem of poor rendering effect caused by not considering the relationship between the operating status of the optical transmission device and the physical entity when rendering the image, and improves the accuracy of image rendering.
[0060] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a tablet computer, personal computer, mobile phone, etc., or an electronic device or image rendering device capable of implementing the above functions. The following uses an image rendering device as an example to illustrate this embodiment and the following embodiments.
[0061] Based on this, the embodiment of the present application provides an image rendering method, referring to Figure 1 , Figure 1 This is a flowchart of the first embodiment of the image rendering method of the present application.
[0062] In this embodiment, the image rendering method is applied to a main control system, and the method includes steps S01 to S02:
[0063] Step S01, performing periodic polling on the optical transmission device to obtain a device information file;
[0064] Before describing this embodiment, it should be understood that to meet the stringent data transmission requirements of emerging smart cities, the Industrial Internet, and other scenarios, telecom operators and industry users have deployed multi-standard optical transmission equipment on a large scale, resulting in an exponential increase in the complexity of network topology.
[0065] However, existing network equipment management systems have significant technical shortcomings when dealing with large-scale optical network management: First, traditional management tools generally use command-line operation mode, and the configuration process requires multi-level parameter adjustment, resulting in a steep learning curve and inefficient human-computer interaction; second, the topology presentation function is limited to two-dimensional plane display, lacking three-dimensional visualization capabilities such as optical power spectrum monitoring and service path tracing, resulting in the average fault location time exceeding industry standard requirements; third, the system architecture design does not fully consider the evolution requirements of SDN / NFV technology, and the API interface is not standardized enough.
[0066] What is more prominent is that existing solutions fail to effectively integrate digital twin technology, making it difficult to build an accurate mapping between equipment operating status and physical entities, which seriously restricts the development of intelligent operation and maintenance of optical networks.
[0067] Therefore, it is clear that when the current equipment management system renders the image of the operating status of the optical equipment, it does not take into account the relationship between the equipment operating status and the physical entity, resulting in poor results in the final rendered equipment display image.
[0068] To address the aforementioned issues, this embodiment designs an image rendering method that acquires data, transmits data, and renders images through a master control system, a front-end platform, and a back-end platform. The master control system is a core system for centralized monitoring, configuration, management, and optimization of optical transmission networks. Optical transmission equipment is primarily used to transmit high-bandwidth signals, such as routers, switches, optical terminals, optical amplifiers, and other devices in optical fiber communication networks. Its core purpose is to improve the reliability, performance, and management efficiency of optical transmission networks and reduce operation and maintenance costs. The master control system is continuously evolving toward automation, intelligence, and cloud computing to meet the management needs of more complex and larger-scale optical transmission networks. Therefore, in this embodiment, the master control system periodically polls the optical transmission equipment to obtain a device information file. Optical transmission equipment is a network device used to transmit optical signals. It primarily transmits, forwards, and manages optical signals in optical fiber communication systems. It transmits large amounts of data via optical fibers and is widely used in telecommunications, Internet service providers (ISPs), data centers, and enterprise networks. The core function of optical transmission equipment is to achieve high-bandwidth, high-speed data transmission and ensure network stability and reliability.
[0069] Step S02: receive the data acquisition instruction sent by the front-end platform, send the file address to the back-end platform according to the data acquisition instruction, and the back-end platform reads the device information file through a script program according to the data acquisition instruction and the file address, and sends the device information file to the front-end platform. The front-end platform performs image rendering based on the device information file to obtain a rendering result. After receiving the image rendering instruction, the front-end device sends the data acquisition instruction to the main control system and the back-end platform based on the image rendering instruction.
[0070] In addition to using the main control system to acquire device information, this embodiment also provides a front-end platform to respond to the user's operating instructions. When receiving an image rendering instruction, the front-end platform will send a data acquisition instruction to the back-end platform and the main control system based on the image rendering instruction. After receiving the data acquisition instruction, the main control system can know the target file required for rendering from it, so it will synchronously send the file address of the target file to the back-end platform. The back-end platform calls the data acquisition script program based on the data acquisition instruction and the file address to read the device information file of the main control system, and finally sends the device information file to the front-end platform. The front-end platform renders the image based on the device information file to obtain the rendering result.
[0071] In the above scheme, the main control system, front-end platform and back-end platform are used to carry out the linkage transmission and rendering of data, so that when the user needs to know the information of the optical transmission equipment, the corresponding equipment information file can be obtained for image rendering, so that the user can know the specific display information of the optical transmission equipment.
[0072] Specifically, the above step S01, performing periodic polling on the optical transmission device to obtain the device information file, includes:
[0073] Step S011, establishing a connection channel with the optical transmission device based on a communication protocol;
[0074] Step S012: performing periodic polling on the optical transmission device through the connection channel to obtain the operating status and operating data of the optical transmission device;
[0075] Step S013, formatting the operating status and operating data to obtain a processing result;
[0076] Step S014: Generate a device information file according to the processing result, and store the device information file in a device information database.
[0077] Before performing periodic polling on optical transmission, this implementation needs to pre-establish a connection channel with the optical transmission device. This embodiment uses the Telnet protocol to achieve command communication with the main control system to ensure the flexibility and scalability of system control. Telnet, a remote control method, can connect to the device through the command line, modify the IP information of the device, etc., which is similar to opening a command window on another device, entering commands and viewing results like local operations. Its specific advantage is that it can be used on various systems and devices, and is not picky about operating systems. Many old devices and embedded devices support it. It is directly controlled by text instructions without too many restrictions. You can enter any command you want. In addition, it can cooperate with scripts to automatically execute operations in batches, saving time and effort. Furthermore, the protocol itself leaves "expansion space" and new functions can be added according to device needs. Therefore, in this embodiment, the communication protocol of Telnet is more flexible and easy to expand. It is suitable for old devices or lightweight devices that have low performance requirements but many control requirements.
[0078] After establishing a connection channel, the optical transmission device (daughter card, port, etc.) is periodically polled through the established connection channel to continuously update status parameters (such as luminous power, temperature, link status, etc.). The main control system communicates with the device through the underlying communication protocol (such as Telnet, TCP), periodically polling or passively receiving device information, including the optical transmission device's operating status, operating data, performance indicators, link status, device configuration and settings, as well as historical data and log information.
[0079] After the main control system parses the acquired device information, it also needs to format it accordingly so that it can be stored in the main control system or database. After the data is formatted, it is uniformly stored in a locally specified device information file (such as JSON, TXT, INI, etc.), and the device information file is stored in the device information database.
[0080] More specifically, after the step S014 of generating a device information file according to the processing result and storing the device information file in the device information database, the method further includes:
[0081] Step S015: configuring rules based on the performance data and configuration information of the optical transmission equipment to obtain alarm rules;
[0082] Step S016, determining whether the device information file triggers an alarm according to the alarm rule, and obtaining a determination result;
[0083] Step S017: if the judgment result is that an alarm is triggered, an alarm record is generated and the alarm record is stored in the device information database.
[0084] In order to enable users to quickly learn when a device fails, this embodiment also configures rules to determine whether an alarm is triggered (such as power exceeding a threshold). If an alarm is triggered, it is recorded and written to the database (SQLite3). When an alarm message appears, a rendering instruction can be sent to the front-end platform, and the rendering instruction will render the image, so that users can be quickly informed.
[0085] In terms of data storage in this embodiment, the system integrates the SQLite3 lightweight database to achieve persistent storage and fast query of device information, configuration records, alarm data and other contents, providing reliable data support for device management and alarm processing. Among them, SQLite3 is a lightweight relational database management system. It is designed as an embedded database and is therefore very suitable for applications that require a database, especially in resource-limited environments. Unlike traditional database systems (such as MySQL and PostgreSQL), SQLite3 does not require a separate server process or system resources to run, so it is more suitable for embedded devices, desktop applications and mobile devices.
[0086] This embodiment uses the above method, specifically by periodically polling the optical transmission device to obtain a device information file; receiving a data acquisition instruction sent by the front-end platform, sending a file address to the back-end platform according to the data acquisition instruction, and the back-end platform reading the device information file through a script program according to the data acquisition instruction and the file address, sending the device information file to the front-end platform, and the front-end platform performing image rendering based on the device information file to obtain a rendering result. After receiving the image rendering instruction, the front-end device sends the data acquisition instruction to the main control system and the back-end platform based on the image rendering instruction. Thus, the main control platform performs periodic polling on the optical transmission device to obtain a device information file, and when the front-end platform receives the image rendering instruction, the back-end platform reads the device information file in the main control system, and hands the device information file to the front-end platform for image rendering to obtain a rendering result. This solves the problem of not considering the relationship between the device operating status and the physical entity when rendering the image of the operating status of the optical transmission device, resulting in poor rendering effect, and improves the accuracy of image rendering.
[0087] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the first embodiment can be referred to the above introduction and will not be described in detail later. Figure 2 , the image rendering method is applied to the front-end platform, and further includes steps S03 to S04:
[0088] Step S03: receiving an image rendering instruction, and sending a data acquisition instruction to the back-end platform and the main control system based on the image rendering instruction. The main control system sends a file address to the back-end platform according to the data acquisition instruction. The back-end platform reads a device information file through a script program based on the data acquisition instruction and the file address, and sends the device information file to the front-end platform. The device information file is obtained by the main control system through periodic polling of the optical transmission device.
[0089] Step S04: performing image rendering based on the device information file to obtain a rendering result.
[0090] In addition to the main control system, the image rendering method of this embodiment has the implementation steps of the front-end platform. In this embodiment, Vue2 is used in combination with the component design idea to implement data-driven UI rendering on the front end; the page control routing (Vue Router) is used to realize the routing jump of different business pages, and the front end and the back end interact with data through the AJAX interface, supporting asynchronous loading and dynamic updates.
[0091] In this embodiment, the front-end platform is connected to a specific user. After receiving the user's image rendering instruction, it needs to call the device information file in the main control platform. Therefore, in this embodiment, the front-end platform sends a data acquisition instruction to the back-end platform based on the image rendering instruction. The back-end platform reads the device information file of the main control system through a script program based on the data acquisition instruction, and sends the obtained device information file back to the front-end platform. The front-end platform performs image rendering based on the device information file to obtain the rendering result.
[0092] Specifically, the above step S04, performing image rendering based on the device information file, and obtaining the rendering result includes:
[0093] Step S041, parsing the device information file to obtain image rendering data;
[0094] Step S042, performing page rendering according to the image rendering data through the data binding mechanism of the front-end framework to obtain rendering content;
[0095] Step S043: Based on the rendering content, display image rendering is performed through the display component of the front-end framework to obtain a rendering result.
[0096] The front end receives the device information file returned by the back end, parses the device information file to obtain image rendering data, and reads the configuration file of the optical transmission equipment. The file may contain information such as the equipment model, transmission parameters, sensor data, optical signal intensity, wavelength, optical fiber status, temperature, etc. These files can be in JSON, XML, or other standard formats. Data related to image rendering is extracted. For optical transmission equipment, it may be necessary to extract data related to information such as optical signal intensity, optical wavelength, signal loss, and optical fiber connection status. This information will affect the visualization of the image. The extracted device information is converted into a data format suitable for rendering. For example, the optical signal intensity is converted into different colors or brightness, or the wavelength information is converted into data in the visual layer. This data will serve as the basis for image rendering to ensure that the working status of the equipment can be accurately represented.
[0097] Use the front-end framework (such as Vue.js, React, Angular, etc.) to initialize the data binding mechanism, and bind the rendering data parsed from the device information to the front-end interface components. For example, information such as optical signal strength and connection status can be bound to graphic components or HTML elements, and the page content is dynamically generated based on the bound data. For optical transmission equipment, it may be necessary to display the equipment's operating status, optical signal transmission status, or fault alarms on the page. Page elements (such as charts, indicator lights, status bars, etc.) will be updated in real time according to data changes. For example, the optical signal strength can be dynamically displayed through color gradient bars or changes in the brightness of graphics. Rendering content will be created in the background, charts, or interface components of the page. At this time, the front-end framework uses the data binding mechanism to update the view layer in real time. Through these data bindings, users can see the intuitive display of the operating status of the optical transmission equipment on the page.
[0098] Finally, use the display components in the front-end framework (such as <canvas> , <svg>, WebGL, etc.) to present the rendering results. These display components will be responsible for converting the real-time data of the optical transmission equipment into visual images. In this step, the image may be dynamically rendered according to the intensity and wavelength of the optical signal to display the status of the optical fiber link, signal quality, etc. The rendering content is optimized using graphics rendering technology (such as WebGL or Canvas). For optical transmission equipment, it may be necessary to simulate the propagation effect of the optical signal in the optical fiber, or to present dynamic changes such as signal loss and optical fiber status. The display component needs to render these changes to ensure that the image on the page is updated in real time. Finally, the rendered image (for example, a diagram of the transmission link, a signal quality chart, a temperature change chart, etc.) will be displayed to the user. These results can be a real-time monitoring view of the equipment, or a dynamic report of the optical fiber transmission status. Users can use these images to evaluate the performance of the equipment, perform fault diagnosis or performance optimization.
[0099] More specifically, after the step S04 of performing image rendering based on the device information file to obtain a rendering result, the method further includes:
[0100] Step S05: receiving an operation instruction triggered by a user based on the rendering result, wherein the operation instruction includes a page click instruction, a parameter input instruction, and a view switching instruction;
[0101] Step S06: Based on the type of the operation instruction, the corresponding routing rules are matched through the page control routing, and the associated data to be updated is loaded according to the routing rules;
[0102] Step S07, filtering the data to be updated according to the rendering result to obtain valid data to be updated;
[0103] Step S08: calling the dynamic rendering engine of the front-end framework to render and update the valid data to be updated to obtain a final rendering result.
[0104] In this embodiment, a page control router (Vue Router) is used to control the business page jump. When the page changes, data loading can be re-triggered to achieve dynamic updates. On the control interface or monitoring platform of the optical transmission equipment, a listener is set to capture user interaction operations. The user may trigger instructions by clicking, entering data, or switching views. Specifically,
[0105] (1) Receive user operation instructions and click on device status icons, fault prompts, and device control buttons (such as enable and disable);
[0106] (2) Parameter input command: The user inputs device configuration parameters, such as adjusting transmission power, modifying operating frequency, setting transmission mode, etc.
[0107] (3) View switching command: The user switches to different device status views, such as real-time transmission status, fault monitoring, performance analysis, etc.
[0108] The system will then identify and classify these instructions based on the user's operations. Based on different instruction types, the system will perform corresponding operations. For example, control instructions will directly control the operating status of the device (start, stop, switch working mode, etc.), configuration adjustment instructions will trigger changes in device settings and send configuration requests to the device, view switching instructions will change the display content of the user interface or load different data views, or based on user operations, the system will match the corresponding routing rules through page control routing (such as routing management of the front-end framework).
[0109] More clearly, the route matching rules include device control instructions (if the user clicks the control button to start the device, the system will match the corresponding control page or module according to the route), configuration adjustment instructions (if the user adjusts a parameter, the system will match the corresponding device configuration page), and view switching instructions (if the user switches to a different view, the system will load the corresponding page).
[0110] Once the route matching is completed, the system will load relevant data according to the current view. For optical transmission equipment, common data includes equipment status data (current equipment working status), configuration data (such as equipment transmission parameters), performance data (equipment operating performance, such as signal quality, bit error rate, link quality, etc.), historical data (equipment historical logs, alarm records, etc.),
[0111] Then, based on the current rendering results and user operations, the system will filter out valid data. The filtered data is valid data based on the current page and user operations. Invalid or irrelevant data (such as device status irrelevant to the current operation) will be filtered out, and only data related to the current operation will be displayed.
[0112] Finally, the dynamic rendering engine of the front-end framework (such as React, Vue.js, etc.) will be responsible for processing data updates and dynamically rendering views. The engine automatically monitors data changes and recalculates which page components need to be updated. Based on the valid data to be updated, the rendering engine updates relevant parts of the page, such as device status (if the device status changes, the rendering engine updates the interface displaying the device status), performance data (if the device's transmission quality or link status changes, the relevant performance indicator charts or data tables will be updated in real time), and historical logs (if the user is viewing historical logs, the relevant records will be dynamically loaded or updated in chronological order).
[0113] The rendering engine will update the page display content based on the filtered data and user operations. The user will see the latest device information related to the operation, which may include the real-time status, performance indicators, configuration parameters, etc. of the device. If the user adjusts the device settings (such as modifying the transmission power or frequency), the system will update these settings in real time on the interface and may display the new setting results. If the user views fault information or link quality, the system will present the corresponding fault alarm or performance chart.
[0114] This embodiment adopts the above scheme, specifically by receiving an image rendering instruction, sending a data acquisition instruction to the back-end platform and the main control system based on the image rendering instruction, the main control system sending a file address to the back-end platform according to the data acquisition instruction, the back-end platform reading the device information file through a script program based on the data acquisition instruction and the file address, and sending the device information file to the front-end platform, the device information file is obtained by the main control system by periodically polling the optical transmission device; image rendering is performed based on the device information file to obtain a rendering result. Thus, the main control platform periodically polls the optical transmission device to obtain the device information file, and when the front-end platform receives the image rendering instruction, the back-end platform reads the device information file in the main control system, and hands the device information file to the front-end platform for image rendering to obtain a rendering result. This solves the problem of not considering the relationship between the operating status of the optical transmission device and the physical entity when rendering the image of the operating status of the optical transmission device, resulting in poor rendering effect, and improves the accuracy of image rendering.
[0115] Based on the first and second embodiments of the present application, in the third embodiment of the present application, the same or similar contents as those of the first and second embodiments can be referred to above and will not be described in detail. Figure 3 The image rendering method is applied to the backend platform and further includes steps S09 to S11:
[0116] Step S09: receiving a data acquisition instruction sent by the front-end platform, wherein the data acquisition instruction is sent by the front-end platform to the back-end platform and the main control system based on the image rendering instruction;
[0117] Step S10, receiving a file address sent by the main control system, and reading a device information file of the main control system through a script program according to the data acquisition instruction, wherein the file address is sent by the main control system according to the data acquisition instruction, and the device information file is obtained by the main control system through regular polling of the optical transmission device;
[0118] Step S11: sending the device information file to the front-end platform, and the front-end platform performs image rendering based on the device information file to obtain a rendering result.
[0119] The backend platform of this embodiment is developed in PHP language and builds a standard RESTful interface to achieve efficient data interaction with the front end. At the same time, the backend supports command line interaction through HTTP / TCP protocol for graphical management operations of network element devices.
[0120] Specifically, the back-end platform in this embodiment receives the data acquisition instruction sent by the front-end platform, and then calls the script to read the device information file of the main control system according to the data acquisition instruction, or reads the device information file for user image rendering from the device information database, and finally sends the device information file to the front-end platform, which performs image rendering based on the device information file to obtain the rendering result.
[0121] This embodiment adopts the above scheme, specifically by receiving the data acquisition instruction sent by the front-end platform, the data acquisition instruction is sent by the front-end platform to the back-end platform and the main control system based on the image rendering instruction; receiving the file address sent by the main control system, and reading the device information file of the main control system through a script program according to the data acquisition instruction, the file address is sent by the main control system according to the data acquisition instruction, and the device information file is obtained by the main control system by periodic polling of the optical transmission device; sending the device information file to the front-end platform, and the front-end platform performs image rendering based on the device information file to obtain the rendering result. Thus, the main control platform performs periodic polling of the optical transmission device to obtain the device information file, and when the front-end platform receives the image rendering instruction, the device information file in the main control system is read through the back-end platform, and the device information file is handed over to the front-end platform for image rendering to obtain the rendering result. This solves the problem of not considering the relationship between the operating status of the optical transmission device and the physical entity when rendering the image of the operating status of the optical transmission device, resulting in poor rendering effect, and improves the accuracy of image rendering.
[0122] For example, in order to help understand the implementation process of the image rendering method obtained by combining this embodiment with the above embodiment 1, please refer to Figure 4 , Figure 4 A brief flowchart of an image rendering method is provided, specifically:
[0123] (1) System login and device access: Users log in to the optical transmission management device through the DCS-4 Web GUI. The system supports device access through IP address. Users can directly modify the device IP address on the Web interface to ensure the flexibility of the device's network configuration. After a successful login, users enter the system main interface and begin to manage and operate the device.
[0124] (2) Control Panel: The system automatically detects the status of the device card and determines whether the card information can be read. If the reading is successful, the system reads the detailed information of the card and its corresponding port and displays it dynamically on the interface. The user can click on the corresponding card to view its detailed configuration and status information. If the reading is unsuccessful, the system will display an empty card slot and prompt the user to perform further operations.
[0125] (3) Service Configuration: Users can select the target board and configure the service. The system then reads the real-time status information of the network element and its corresponding board. Users can check the current configuration status at any time to ensure the accuracy and efficiency of the service configuration.
[0126] (4) Alarm Management: The system performs real-time alarm management on target network elements, reads current alarm and historical alarm information, and displays it dynamically on the interface. Users can also perform alarm operations, that is, users can choose to view or process alarms. The system supports rapid positioning and processing of alarms to ensure the stability of equipment operation.
[0127] (5) System Configuration: The system supports configuration and management of network parameters such as the IP address, SNMP, and NAT of the target network element. After the user completes the configuration, the system verifies the configuration results in real time to ensure that the modification is successful and displays the new configuration status.
[0128] (6) Network element upgrade (Maintenance): Users can select the upgrade package of the target network element and perform the system upgrade. The upgrade results will then be fed back synchronously. After the system upgrade is completed, the new network element system will be automatically loaded and the user will be prompted that the upgrade is successful. If the upgrade fails, the system will retain the original network element configuration to ensure that the operation of the equipment is not affected.
[0129] Furthermore, if Figure 5 As shown, the device resource management module of this embodiment provides basic management functions such as online registration of equipment, operation status monitoring, and reading of board and port information. The system interacts with the main control through the Web. The main control stores the sub-card information in a specified file. The front end reads the content of the file and parses and displays it to achieve a visual presentation of the device structure and resources. This embodiment also provides a service configuration management module to support configuration operations such as link establishment, rate setting, and one-click service delivery. This module is processed collaboratively by the front and back ends. The front end submits the configuration request to the back end. The back end establishes a connection with the main control through the TCP protocol and sends the configuration instructions to the target sub-card to complete the service deployment. In addition, the alarm processing system in this embodiment realizes the automatic collection, classification display and notification push functions of alarms. The main control monitors the key parameters of the sub-card (such as luminous power, temperature, etc.) in real time through a timed polling mechanism. When the detection value exceeds the preset alarm threshold, the relevant alarm information is recorded and stored in the database. At the same time, it interacts with the front end to realize real-time display and prompts of alarm information. Finally, this embodiment also provides a system setting module to provide auxiliary functions such as user authority management and system parameter configuration, support flexible configuration and authority control at the system level, and ensure the security and maintainability of the platform.
[0130] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the image rendering method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0131] This application also provides an image rendering device, please refer to Figure 6 The image rendering device is applied to a main control system, and the device includes:
[0132] The polling module 10 is used to periodically poll the optical transmission device to obtain a device information file;
[0133] The rendering module 20 is used to receive the data acquisition instruction sent by the front-end platform, and send the file address to the back-end platform according to the data acquisition instruction. The back-end platform reads the device information file through a script program according to the data acquisition instruction and the file address, and sends the device information file to the front-end platform. The front-end platform performs image rendering based on the device information file to obtain a rendering result. After receiving the image rendering instruction, the data acquisition instruction is issued by the front-end device to the main control system and the back-end platform based on the image rendering instruction.
[0134] The image rendering device provided in this application, utilizing the image rendering method of the aforementioned embodiment, can resolve the technical issue of rendering the operating status of optical transmission equipment without considering the relationship between the operating status of the equipment and the physical entity, resulting in poor rendering results. Compared to the prior art, the beneficial effects of the image rendering device provided in this application are the same as those of the image rendering method provided in the aforementioned embodiment, and the other technical features of the image rendering device are the same as those disclosed in the aforementioned embodiment method, and are not further described here.
[0135] The present application provides an image rendering device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the image rendering method in the above-mentioned embodiment one.
[0136] Reference below Figure 7 , which shows a schematic diagram of the structure of an image rendering device suitable for implementing the embodiments of the present application. The image rendering device in the embodiments of the present application may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), in-vehicle terminals (such as in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 7 The image rendering device shown is merely an example and should not limit the functions and scope of use of the embodiments of the present application.
[0137] like Figure 7 As shown, the image rendering device may include a processing device 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory 1002 or a program loaded from a storage device 1003 into a random access memory 1004. The random access memory 1004 also stores various programs and data required for the operation of the image rendering device. The processing device 1001, the read-only memory 1002, and the random access memory 1004 are connected to each other via a bus 1005. An input / output interface 1006 is also connected to the bus. Typically, the following systems can be connected to the input / output interface 1006: an input device 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. Communication device 1009 can allow the image rendering device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows an image rendering device with various systems, it should be understood that it is not required to implement or have all of the systems shown. More or fewer systems can be implemented or have alternatively.
[0138] In particular, according to the embodiments disclosed in the present application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments disclosed in the present application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program comprising program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device 1003, or installed from a read-only memory 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are performed.
[0139] The image rendering device provided in this application, utilizing the image rendering method described in the aforementioned embodiment, can resolve the technical issue of rendering the image of the operating status of optical transmission equipment without considering the relationship between the operating status of the equipment and the physical entity, resulting in poor rendering results. Compared to the prior art, the beneficial effects of the image rendering device provided in this application are the same as those of the image rendering method described in the aforementioned embodiment, and the other technical features of this image rendering device are the same as those disclosed in the aforementioned embodiment, and are not further elaborated here.
[0140] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0141] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
[0142] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer program) stored thereon, wherein the computer-readable program instructions are used to execute the image rendering method in the above embodiment.
[0143] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0144] The computer-readable storage medium may be included in the image rendering device, or may exist independently without being assembled into the image rendering device.
[0145] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the image rendering device, the image rendering device: performs periodic polling on the optical transmission device to obtain a device information file; receives a data acquisition instruction sent by the front-end platform, and sends a file address to the back-end platform according to the data acquisition instruction. The back-end platform reads the device information file through a script program according to the data acquisition instruction and the file address, and sends the device information file to the front-end platform. The front-end platform performs image rendering based on the device information file to obtain a rendering result. After receiving the image rendering instruction, the front-end device issues the data acquisition instruction to the main control system and the back-end platform based on the image rendering instruction.
[0146] Computer program code for performing the operations of the present application may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0147] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, program segment or a part of code, and the module, program segment or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a combination of dedicated hardware and computer instructions.
[0148] The modules described in the embodiments of the present application may be implemented in software or hardware, wherein the name of a module does not necessarily limit the unit itself.
[0149] The computer-readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the aforementioned image rendering method. This computer-readable storage medium can address the technical issue of rendering an image of the operating status of an optical transmission device without considering the relationship between the device's operating status and the physical entity, resulting in poor rendering results. Compared to the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the image rendering method provided in the aforementioned embodiment, and are not further elaborated here.
[0150] The present application also provides a computer program product, comprising a computer program, which implements the steps of the above-mentioned image rendering method when executed by a processor.
[0151] The computer program product provided in this application can resolve the technical problem of poor rendering quality caused by not considering the relationship between the operating status of optical transmission equipment and its physical entity when rendering images of the operating status of the equipment. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as those of the image rendering method provided in the above-mentioned embodiments, and will not be elaborated here.
[0152] The above description is only part of the embodiments of the present application and does not limit the patent scope of the present application. All equivalent structural transformations made by using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect application in other related technical fields are included in the patent protection scope of the present application.< / svg> < / canvas>
Claims
1. An image rendering method, characterized in that: The image rendering method is applied to a main control system, and the method includes: Perform regular polling of optical transmission equipment to obtain equipment information files; Receive the data acquisition instruction sent by the front-end platform, and send the file address to the back-end platform according to the data acquisition instruction. The back-end platform reads the device information file through a script program according to the data acquisition instruction and the file address, and sends the device information file to the front-end platform. The front-end platform performs image rendering based on the device information file to obtain a rendering result. After receiving the image rendering instruction, the front-end device issues the data acquisition instruction to the main control system and the back-end platform based on the image rendering instruction.
2. The image rendering method according to claim 1, wherein: The step of performing periodic polling on the optical transmission device to obtain the device information file comprises: Establishing a connection channel with the optical transmission device based on a communication protocol; Performing periodic polling on the optical transmission device through the connection channel to obtain the operating status and operating data of the optical transmission device; Formatting the operating status and operating data to obtain processing results; A device information file is generated according to the processing result, and the device information file is stored in a device information database.
3. The image rendering method according to claim 2, wherein: After the step of generating a device information file according to the processing result and storing the device information file in a device information database, the method further includes: Perform rule configuration based on the performance data and configuration information of the optical transmission equipment to obtain alarm rules; Determine whether the device information file triggers an alarm by using the alarm rule, and obtain a determination result; When the judgment result is that an alarm is triggered, an alarm record is generated and stored in the device information database.
4. An image rendering method, characterized in that: The image rendering method is applied to a front-end platform, and the method includes: Receive an image rendering instruction, and send a data acquisition instruction to the back-end platform and the main control system based on the image rendering instruction. The main control system sends a file address to the back-end platform according to the data acquisition instruction. The back-end platform reads a device information file through a script program based on the data acquisition instruction and the file address, and sends the device information file to the front-end platform. The device information file is obtained by the main control system through regular polling of the optical transmission device; Image rendering is performed based on the device information file to obtain a rendering result.
5. The image rendering method according to claim 4, wherein: The step of performing image rendering based on the device information file to obtain a rendering result includes: Parsing the device information file to obtain image rendering data; According to the image rendering data, page rendering is performed through the data binding mechanism of the front-end framework to obtain rendering content; Based on the rendering content, display image rendering is performed through the display component of the front-end framework to obtain a rendering result.
6. The image rendering method according to claim 4, wherein: After the step of performing image rendering based on the device information file to obtain a rendering result, the method further includes: Receive an operation instruction triggered by a user based on the rendering result, wherein the operation instruction includes a page click instruction, a parameter input instruction, and a view switching instruction; Based on the type of the operation instruction, the page controls the routing to match the corresponding routing rules, and loads the associated data to be updated according to the routing rules; Filtering the data to be updated according to the rendering result to obtain valid data to be updated; The dynamic rendering engine of the front-end framework is called to render and update the valid data to be updated to obtain a final rendering result.
7. An image rendering method, characterized in that: The image rendering method is applied to a backend platform, and the method includes: Receiving a data acquisition instruction sent by the front-end platform, wherein the data acquisition instruction is sent by the front-end platform to the back-end platform and the main control system based on the image rendering instruction; Receiving a file address sent by the main control system, and reading a device information file of the main control system through a script program according to the data acquisition instruction, wherein the file address is sent by the main control system according to the data acquisition instruction, and the device information file is obtained by the main control system through regular polling of the optical transmission device; The device information file is sent to the front-end platform, and the front-end platform performs image rendering based on the device information file to obtain a rendering result.
8. An image rendering device, characterized in that: The image rendering device is applied to a main control system, and the device includes: The polling module is used to periodically poll the optical transmission equipment to obtain the equipment information file; The rendering module is used to receive the data acquisition instruction sent by the front-end platform, and send the file address to the back-end platform according to the data acquisition instruction. The back-end platform reads the device information file through a script program according to the data acquisition instruction and the file address, and sends the device information file to the front-end platform. The front-end platform performs image rendering based on the device information file to obtain a rendering result. After receiving the image rendering instruction, the data acquisition instruction is issued by the front-end device to the main control system and the back-end platform based on the image rendering instruction.
9. An image rendering device, characterized in that The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the image rendering method according to any one of claims 1 to 7.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the image rendering method according to any one of claims 1 to 7 are implemented.