Display method and device of display control equipment case, electronic equipment and medium

By analyzing the pre-built panel model file to obtain the arrangement and location of the display model unit of the display control device chassis, the problem of low efficiency in building the display control device chassis model is solved, efficient display and compatibility are achieved, and development costs are reduced.

CN119065947APending Publication Date: 2024-12-03HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO LTD
View PDF 13 Cites 0 Cited by

Patent Information

Application Number
CN202411577577.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-06
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

In the prior art, the model construction efficiency of the display control equipment chassis is low, resulting in low display efficiency and high development cost. It requires manual code to be written to build models based on different physical forms.

Method used

By obtaining the pre-built panel model file, parsing the panel model file to obtain the arrangement and location of the display model units, and displaying the model renderings in the preset display interface, achieving rapid modeling and displaying the chassis of the display and control equipment.

Benefits of technology

It improves the modeling and display efficiency of display and control equipment chassis, reduces development costs, realizes compatibility and visualization of chassis in different physical forms, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119065947A_ABST
    Figure CN119065947A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a display method and device of a display control equipment case, electronic equipment and a medium, and relates to the technical field of equipment management. The method comprises the steps that a pre-built panel model file of a display control equipment case is obtained, and the panel model file comprises attribute information of a display model unit corresponding to a display control equipment case panel; the display model units are obtained by mapping the display control equipment case panel according to the panel size and the unit size of the display control equipment case panel, and the attribute information comprises an arrangement mode of the display model units and arrangement positions of the display model units corresponding to case modules included in the display control equipment case panel; analyzing the panel model file to obtain an arrangement mode and an arrangement position of each display model unit; and according to the arrangement mode and the arrangement position, displaying a model effect picture of each display model unit corresponding to each case module included in the display control equipment case panel. Therefore, the display efficiency of the display control equipment case is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of equipment management, and in particular to a display method, device, electronic equipment and medium for a display and control equipment chassis. Background Art

[0002] The operation and maintenance system usually includes multiple display and control devices. In order to monitor the operating status of the chassis of each display and control device in real time, the front-end interface of the operation and maintenance system can display the chassis model of each display and control device and the operating status of each display and control device chassis.

[0003] Since the physical forms of the chassis of different display and control devices are different, when the display and control device is connected, the developer needs to manually write the corresponding code according to the display and control device chassis of different physical forms to build different chassis models of the display and control device, so that the display and control device chassis of different physical forms can be displayed. It can be seen that in the current display method, the model construction efficiency is low, resulting in low display efficiency of the display and control device chassis and high development cost. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a display method, device, electronic device and medium for a display control device chassis, so as to improve the modeling efficiency of the display control device chassis, and further improve the display efficiency of the display control device chassis. The specific technical solution is as follows:

[0005] In a first aspect, an embodiment of the present application provides a display method of a display control device chassis, the method comprising:

[0006] Obtain a pre-built panel model file of a display and control device chassis to be displayed, wherein the panel model file includes attribute information of a display model unit corresponding to the display and control device chassis panel, the display model unit is obtained by mapping the display and control device chassis panel according to the panel size of the display and control device chassis panel and a preset unit size, and the attribute information includes an arrangement mode of the display model unit and an arrangement position of each display model unit corresponding to each chassis module included in the display and control device chassis panel;

[0007] Parsing the panel model file to obtain the arrangement mode and arrangement position of each display model unit included in the panel model file;

[0008] In the preset display interface, the model renderings of the display model units corresponding to each chassis module included in the chassis panel of the display and control device are displayed according to the arrangement method and the arrangement position.

[0009] Optionally, the step of displaying, in the preset display interface, according to the arrangement mode and the arrangement position, the model renderings of the display model units corresponding to each chassis module included in the chassis panel of the display and control device includes:

[0010] According to the arrangement mode and arrangement position of each display model unit and the drawing order of the preset display interface, the attribute information of each display model unit is integrated to obtain the model drawing file corresponding to the display and control device chassis;

[0011] Read the model drawing file, and parse the model drawing file to obtain a parsing result;

[0012] Based on the analysis result, in the preset display interface, a model effect diagram of each display model unit corresponding to each chassis module included in the chassis panel of the display and control device is drawn.

[0013] Optionally, the method for constructing the panel model file of the display and control device chassis includes:

[0014] Mapping the display and control device chassis panel according to the panel size of the display and control device chassis panel and the preset unit size to obtain the arrangement mode of the display model units mapped by the display and control device chassis panel and the arrangement position of each display model unit corresponding to each chassis module included in the display and control device chassis panel;

[0015] Determine the file field corresponding to the arrangement mode and the file field corresponding to the arrangement position of each display model unit corresponding to each chassis module according to the predefined fields corresponding to each chassis module and the fields corresponding to the attribute information of the display model unit;

[0016] Based on the file fields, a panel model file of the display and control device chassis is generated.

[0017] Optionally, the file fields corresponding to the chassis module included in the model file include: main board, input board, output board, input-output mixed board, switch board, power supply area; and / or,

[0018] The file fields corresponding to the arrangement mode included in the model file include: the number of rows and columns occupied by the model effect diagram corresponding to the chassis panel of the display and control device; and / or,

[0019] The file fields corresponding to the arrangement positions included in the model file include: the starting row, starting column, number of rows and number of columns of each display model unit corresponding to each chassis module.

[0020] Optionally, the method further includes:

[0021] In the case where a chassis module with an abnormal operating state is detected in the chassis of the display and control device, a target display model unit corresponding to the chassis module is determined based on a mapping relationship between the chassis module and each display model unit included in the chassis panel of the display and control device;

[0022] An abnormal status mark is displayed at the display position of the model effect diagram of the target display model unit in the preset display interface, so that the staff can check the abnormal status of the chassis module based on the abnormal status mark.

[0023] In a second aspect, an embodiment of the present application provides a display device of a display control device chassis, the device comprising:

[0024] A file acquisition module, used to acquire a pre-built panel model file of a display and control device chassis to be displayed, wherein the panel model file includes attribute information of a display model unit corresponding to the display and control device chassis panel, the display model unit is obtained by mapping the display and control device chassis panel according to the panel size of the display and control device chassis panel and a preset unit size, and the attribute information includes an arrangement mode of the display model unit and an arrangement position of each display model unit corresponding to each chassis module included in the display and control device chassis panel;

[0025] A parsing module, used for parsing the panel model file to obtain the arrangement mode and arrangement position of each display model unit included in the panel model file;

[0026] The display module is used to display the model effect diagrams of each display model unit corresponding to each chassis module included in the chassis panel of the display and control device in a preset display interface according to the arrangement method and the arrangement position.

[0027] Optionally, the display module includes:

[0028] An integration unit, configured to integrate the attribute information of each display model unit according to the arrangement mode and arrangement position of each display model unit and the drawing order of a preset display interface, so as to obtain a model drawing file corresponding to the display and control device chassis;

[0029] A parsing unit, used for reading the model drawing file, parsing the model drawing file, and obtaining a parsing result;

[0030] A drawing unit is used to draw, based on the analysis result, in the preset display interface, a model effect diagram of each display model unit corresponding to each chassis module included in the chassis panel of the display and control device.

[0031] Optionally, the device includes a file construction module, and the file construction module includes:

[0032] A mapping unit, used to map the display and control device chassis panel according to the panel size of the display and control device chassis panel and a preset unit size, to obtain an arrangement mode of the display model units mapped by the display and control device chassis panel and an arrangement position of each display model unit corresponding to each chassis module included in the display and control device chassis panel;

[0033] A field determination unit, used to determine the file field corresponding to the arrangement mode and the file field corresponding to the arrangement position of each display model unit corresponding to each chassis module according to the pre-defined fields corresponding to each chassis module and the fields corresponding to the attribute information of the display model unit;

[0034] The file generating unit is used to generate a panel model file of the display and control device chassis based on the file field.

[0035] Optionally, the file fields corresponding to the chassis module included in the model file include: main board, input board, output board, input-output mixed board, switch board, power supply area; and / or,

[0036] The file fields corresponding to the arrangement mode included in the model file include: the number of rows and columns occupied by the model effect diagram corresponding to the chassis panel of the display and control device; and / or,

[0037] The file fields corresponding to the arrangement positions included in the model file include: the starting row, starting column, number of rows and number of columns of each display model unit corresponding to each chassis module.

[0038] Optionally, the device further comprises:

[0039] A unit determination module, configured to determine a target display model unit corresponding to the chassis module based on a mapping relationship between the chassis module and each display model unit included in the chassis panel of the display and control device, when a chassis module with an abnormal operating status is detected in the chassis of the display and control device;

[0040] The identification display module is used to display an abnormal status identification at the display position of the model rendering of the target display model unit in the preset display interface, so that the staff can check the abnormal status of the chassis module based on the abnormal status identification.

[0041] In a third aspect, an embodiment of the present application provides an electronic device, including:

[0042] Memory, used to store computer programs;

[0043] The processor is used to implement the display method of the display and control device chassis described in any one of the first aspects above when executing the program stored in the memory.

[0044] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the display method of the display and control device chassis described in any one of the first aspects above is implemented.

[0045] In a fifth aspect, an embodiment of the present application further provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute any of the above-described display methods for a display and control device chassis.

[0046] Beneficial effects of the embodiments of the present application:

[0047] In the solution provided by the embodiment of the present application, the electronic device can obtain a pre-built panel model file of the display and control device chassis to be displayed, wherein the panel model file includes attribute information of the display model unit corresponding to the display and control device chassis panel, and the display model unit is obtained by mapping the display and control device chassis panel according to the panel size of the display and control device chassis panel and the preset unit size, and the attribute information includes the arrangement mode of the display model unit and the arrangement position of each display model unit corresponding to each chassis module included in the display and control device chassis panel; parse the panel model file to obtain the arrangement mode and arrangement position of each display model unit included in the panel model file; in the preset display interface, display the model rendering of each display model unit corresponding to each chassis module included in the display and control device chassis panel according to the arrangement mode and arrangement position.

[0048] For each display and control device, the display and control device chassis panel can be mapped to multiple display model units, and according to the arrangement of the multiple display model units and the arrangement position of each display model unit corresponding to each chassis module included in the display and control device chassis panel, the panel model file of the display and control device chassis is constructed, so that the display and control device chassis panel is mapped from a physical chassis panel to a panel model file, and the display and control device chassis is rapidly modeled. Using this mapping method, panel model files of display and control device chassis of different physical forms can be constructed. In this way, for the connected display and control device chassis of various physical forms, the electronic device can display the model rendering of the display and control device chassis by obtaining the panel model file of the display and control device chassis, without having to manually write the corresponding model code according to the physical form of the display and control device chassis and then display it according to the constructed model, which saves development costs and improves the display efficiency of the display and control device chassis. Furthermore, since the panel model file is obtained based on the attribute information of the display model unit obtained by mapping the display and control device chassis panel, and the attribute information of each display model unit is obtained from the physical chassis panel of the display and control device chassis, the size of each chassis module in the model rendering of the display and control device chassis displayed using the panel model file corresponds to the size of the chassis module in the physical chassis panel, and the layout of the chassis modules in the model rendering is consistent with the layout of the chassis modules in the physical chassis panel, which highly restores the chassis module layout of the display and control device chassis panel, realizes the visualization of the display and control device chassis panel, and improves the user experience. Of course, implementing any product or method of the present application does not necessarily require achieving all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other embodiments can also be obtained based on these drawings.

[0050] Figure 1 A schematic diagram of a flow chart of a display method of a display control device chassis provided in an embodiment of the present application;

[0051] FIG2 (a) is a schematic diagram of a chassis panel of a display and control device;

[0052] FIG2( b ) is a schematic diagram of a mainboard included in the chassis panel of the display and control device in FIG2( a );

[0053] FIG2 (c) is a schematic diagram of another display and control device chassis panel;

[0054] FIG2 (d) is a schematic diagram of an arrangement of display model units included in a chassis panel of a display control device provided in an embodiment of the present application and an arrangement position of each display model unit corresponding to each chassis module;

[0055] FIG2 (e) is a model effect diagram of a display and control device chassis displayed by a preset interface provided in an embodiment of the present application;

[0056] Figure 3 A flow chart of a method for constructing a panel model file of a display and control device chassis provided in an embodiment of the present application;

[0057] Figure 4 A schematic diagram of the arrangement positions of the display model units corresponding to the chassis modules provided in the embodiment of the present application;

[0058] FIG5 (a) is a schematic diagram of attribute information of each display model unit in a host area provided by an embodiment of the present application;

[0059] FIG5( b ) is a model effect diagram of the host area provided in an embodiment of the present application;

[0060] FIG5( c ) is a schematic diagram of attribute information of each display model unit in the power area, input board and output board areas provided by an embodiment of the present application;

[0061] FIG5( d ) is a model effect diagram of the power supply area, input board and output board area provided in an embodiment of the present application;

[0062] FIG6 (a) is a model effect diagram of a display and control device chassis showing the operating status of the chassis provided by an embodiment of the present application;

[0063] FIG6 (b) is a model effect diagram of a display and control device chassis showing an over-temperature mark provided in an embodiment of the present application;

[0064] FIG6 (c) is a model effect diagram of a display and control device chassis showing a disconnection mark provided in an embodiment of the present application;

[0065] Figure 7 A schematic diagram of the overall process of the display and control device chassis provided in the embodiment of the present application;

[0066] Figure 8 A schematic diagram of the structure of a display device of a display control device chassis provided in an embodiment of the present application;

[0067] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0068] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field based on the present application belong to the scope of protection of the present application.

[0069] The following is an explanation of the professional terms involved in the embodiments of this application:

[0070] Display and control equipment, also known as display and control system equipment, is a system that integrates multiple products and components. Display and control equipment allows users to intuitively obtain the required information, and quickly and accurately complete various control operations, achieving efficient processing and interaction of information.

[0071] JSON (JavaScript Object Notation) is a lightweight data exchange format that is easy for users to read and write, and easy for machines to parse and generate. The JSON format uses key-value pairs to store data, and the data structure includes objects and arrays. A JSON object is surrounded by curly braces {}, and the key-value pairs in the object are separated by commas. JSON arrays are surrounded by square brackets [], and the elements in the array are also separated by commas.

[0072] In order to improve the display efficiency of a display and control device chassis, the present application provides a display method, device, electronic device, computer-readable storage medium and computer program product for a display and control device chassis. The following first introduces a display method for a display and control device chassis provided in an embodiment of the present application.

[0073] like Figure 1 As shown, the method includes:

[0074] S101: Obtain a pre-built panel model file of a display and control device chassis to be displayed.

[0075] Among them, the panel model file includes attribute information of the display model unit corresponding to the chassis panel of the display and control device, and the display model unit is obtained by mapping the chassis panel of the display and control device according to the panel size of the chassis panel of the display and control device and the preset unit size, and the attribute information includes the arrangement method of the display model unit and the arrangement position of each display model unit corresponding to each chassis module included in the chassis panel of the display and control device.

[0076] S102: Parse the panel model file to obtain the arrangement mode and arrangement position of each display model unit included in the panel model file.

[0077] S103: In a preset display interface, according to the arrangement mode and the arrangement position, a model rendering of each display model unit corresponding to each chassis module included in the chassis panel of the display and control device is displayed.

[0078] In the solution provided by the embodiment of the present application, the electronic device can obtain a pre-built panel model file of the display and control device chassis to be displayed, wherein the panel model file includes attribute information of the display model unit corresponding to the display and control device chassis panel, and the display model unit is obtained by mapping the display and control device chassis panel according to the panel size of the display and control device chassis panel and the preset unit size, and the attribute information includes the arrangement mode of the display model unit and the arrangement position of each display model unit corresponding to each chassis module included in the display and control device chassis panel; parse the model file to obtain the arrangement mode and arrangement position of each display model unit included in the model file; in the preset display interface, display the model renderings of each display model unit corresponding to each chassis module included in the display and control device chassis panel according to the arrangement mode and arrangement position.

[0079] It can be seen that for each display and control device, the display and control device chassis panel can be mapped to multiple display model units, and according to the arrangement of multiple display model units and the arrangement position of each display model unit corresponding to each chassis module included in the display and control device chassis panel, the panel model file of the display and control device chassis is constructed, so that the display and control device chassis panel is mapped from a physical chassis panel to a panel model file, and the display and control device chassis is rapidly modeled. Using this mapping method, panel model files of display and control device chassis of different physical forms can be constructed. In this way, for the display and control device chassis of various physical forms connected, the electronic device can display the model rendering of the display and control device chassis by obtaining the panel model file of the display and control device chassis, without having to manually write the corresponding model code according to the physical form of the display and control device chassis and then display it according to the constructed model, which saves development costs and improves the display efficiency of the display and control device chassis. Moreover, since the panel model file is obtained based on the attribute information of the display model unit obtained by mapping the chassis panel of the display and control device, and the attribute information of each display model unit is obtained from the physical chassis panel of the display and control device chassis, the size of each chassis module in the model rendering of the display and control device chassis displayed using the model file corresponds to the size of the chassis module in the physical chassis panel, and the layout of the chassis modules in the model rendering is consistent with the layout of the chassis modules in the physical chassis panel, which highly restores the chassis module layout of the chassis panel of the display and control device, realizes the visualization of the chassis panel of the display and control device, and improves the user experience.

[0080] The electronic device can monitor the operating status of the chassis of each connected display and control device. For example, the electronic device can use its own chassis operation and maintenance function to monitor the operating status of the chassis of each connected display and control device. Among them, the electronic device can be an operation and maintenance system, a security system, etc. The security system is a safety prevention monitoring system, which is a collection of equipment and software used to monitor and record specific areas or objects in real time; the operation and maintenance system is a collection of equipment and software used to operate and maintain specific areas or objects.

[0081] In order to improve the user experience, the electronic device can display the chassis model of the connected display and control device, and display the operating status of each monitored display and control device chassis on the chassis model, so as to realize the visualization of the display and control device chassis and the operating status of the display and control device chassis, so that the user can understand the operating status of the display and control device chassis more intuitively.

[0082] Since the electronic device monitors the operating status of the chassis module of the display and control device chassis, and the ports, indicator lights, control buttons, etc. of the chassis module of the display and control device chassis are all arranged on the display and control device chassis panel, that is, the display device chassis panel includes various chassis modules, the display and control device chassis panel can be displayed, and the operating status of each chassis module can be displayed on the displayed display and control device chassis panel.

[0083] Based on this, in order to display the operating status of the chassis panel of the display and control device and each chassis module included in the display and control device chassis, in the above step S101, the electronic device can obtain a pre-built panel model file of the display and control device chassis to be displayed.

[0084] Among them, the panel model file includes the attribute information of the display model unit corresponding to the display and control device chassis. The display model unit is obtained by mapping the display and control device chassis panel according to the panel size of the display and control device chassis panel and the preset unit size. The attribute information includes the arrangement method of the display model unit and the arrangement position of each display model unit corresponding to each chassis module included in the display and control device chassis panel.

[0085] In order to improve the display efficiency of the display and control device chassis, for each display and control device, the display and control device chassis panel can be modeled in advance, and a panel model file of the display and control device chassis can be constructed. In this way, the electronic device can display the model rendering of the display and control device chassis panel by obtaining the panel model file of the display and control device chassis.

[0086] In order to construct the panel model file of the display and control device chassis, the display and control device chassis panel can be mapped to multiple display model units according to the panel size of the display and control device chassis panel and the preset unit size to model the display and control device chassis panel. After mapping the display and control device chassis panel to multiple display model units, the attribute information of the display model unit corresponding to the display and control device chassis panel can be obtained, and the attribute information may include the arrangement mode of the display model unit corresponding to the display and control device chassis panel and the arrangement position of each display model unit corresponding to each chassis module included in the display and control device chassis panel.

[0087] Among them, the chassis module included in the chassis panel of the display and control device may include a main board, an input board, an output board, an input and output mixed board, a switching board, a power supply area, a horizontal dividing line and a vertical dividing line, etc.

[0088] For example, a schematic diagram of a chassis panel of a display and control device to be displayed is shown in FIG2 (a). The chassis panel of the display and control device may include chassis modules such as a power supply, a main board (area 210), a NAT (Network Address Translation) board, an input board, an output board, and an input-output mixed board. As shown in FIG2 (b), the main board may include a PWR (Power) indicator light, an ACT (data flow) indicator light, and a CONSOLE (console), an RS485 / RS232 interface, a USB (Universal Serial Bus) interface, and a LAN (Local Area Network) interface.

[0089] Specifically, mapping the display and control device chassis panel to multiple display model units is based on the panel size of the display and control device chassis panel, and virtually dividing the display and control device chassis panel into multiple display model units with preset unit sizes, thereby obtaining the number and arrangement of display model units obtained by virtually dividing the display and control device chassis panel. Since the display and control device chassis panel includes multiple chassis modules, according to the layout of each chassis module on the display and control device chassis panel and the position occupied by each chassis module on the display and control device chassis panel, when the display and control device chassis panel is mapped to multiple display model units, and each display model unit obtained by mapping the display and control device chassis panel has a mapping relationship with the chassis module included in the display and control device chassis panel, the mapping relationship between the chassis module included in the display and control device chassis panel and each display model unit can include the arrangement position of each display model unit corresponding to each chassis module.

[0090] The display model units corresponding to the display and control device chassis panel are arranged in a manner that the display model units obtained by mapping the display and control device chassis panel are arranged in a number of rows and columns. For example, after mapping the display and control device chassis panel A, the display model units corresponding to the display and control device chassis panel A are arranged in 4 rows and 5 columns; after mapping the display and control device chassis panel B, the display model units corresponding to the display and control device chassis panel B are arranged in 6 rows and 4 columns, etc. In other words, the attribute information of the display model units corresponding to the display and control device chassis panel may include the total number of rows and columns of the display model units corresponding to the display and control device chassis panel.

[0091] The arrangement position of each display model unit corresponding to each chassis module included in the chassis panel of the display and control device is the position of each display model unit corresponding to each chassis module in all the display model units corresponding to the chassis panel of the display and control device, wherein the arrangement position of each display model unit corresponding to each chassis module can be represented by the starting row, starting column, number of rows and number of columns of each display model unit corresponding to the chassis module. For example, the display model units corresponding to the chassis panel C of the display and control device are arranged in 4 rows and 5 columns, and the starting row of the display model unit corresponding to the mainboard is the 1st row, the starting column is the 1st column, the number of rows is 2 rows and the number of columns is 1 column; it can also be represented by the unit coordinates of each display model unit corresponding to the chassis module. For example, the display model units corresponding to the chassis panel D of the display and control device are arranged in 4 rows and 5 columns, and the unit coordinates of the two display model units corresponding to the power supply in each display model unit coordinate system are (3, 1) and (3, 2).

[0092] In one embodiment, the attribute information of the display model unit corresponding to the chassis panel of the display and control device may also include the chassis module and the slot number of the chassis module corresponding to each display model unit, and the identifier of the mapping object, etc. For example, the attribute information of the display model unit corresponding to the chassis panel of the display and control device may include the identifier of the chassis panel A of the display and control device, the arrangement of each display model unit in 2 rows and 2 columns, the coordinates (1, 1) of the display model unit A and the coordinates (1, 2) of the display model unit B corresponding to the mainboard, the coordinates (2, 1) of the display model unit C and the coordinates (2, 2) of the display model unit D corresponding to the power supply, the mainboard corresponding to the display model unit A and the display model unit B and the slot number 1 of the mainboard, and the power supply corresponding to the display model unit C and the display model unit D and the slot number 2 of the power supply, etc.

[0093] By mapping the display and control device chassis panel to multiple display model units, the attribute information of each display model unit corresponding to the display and control device chassis panel can be obtained, and then the panel model file of the display and control device chassis can be constructed according to the attribute information of each display model unit, that is, by mapping the physical chassis panel of the display and control device chassis panel, the display and control device chassis panel can be quickly modeled to obtain the panel model file of the display and control device chassis. Among them, the model panel file of the display and control device chassis can be various types of files, such as JSON files, etc.

[0094] After constructing the panel model file of the display and control device chassis, the constructed panel model file can be stored in the display and control device chassis. A model file set of panel model files of display and control device chassis of various models can also be constructed and stored in the electronic device.

[0095] In addition, when the display and control device chassis includes a front panel and a rear panel, the front panel and the rear panel can be mapped respectively, and a panel model file of the display and control device chassis can be constructed based on the mapping results. In this way, the panel model file of the display and control device chassis constructed includes respective panel model sub-files of the front panel and the rear panel of the display and control device chassis.

[0096] For the sake of clarity, the construction method of the panel model file of the display and control device chassis will be described in detail below.

[0097] In this way, for the display and control device chassis to be displayed, the electronic device can obtain the panel model file of the pre-built display and control device chassis. Among them, the display and control device chassis to be displayed can be the display and control device chassis of the display and control device newly connected to the electronic device, and the electronic device has never displayed the display and control device chassis of the display and control device. By obtaining the panel model file of the display and control device chassis, the display and control device chassis panel can be displayed; the display and control device chassis to be displayed can also be the display and control device chassis of the display and control device originally connected to the electronic device after the device chassis is updated, and the original chassis of the display and control device is replaced to newly connect the electronic device, wherein the physical form of the display and control device chassis before and after the update is different, and as the display and control device chassis of the display and control device connected to the electronic device changes, the panel model file of the display and control device chassis is also updated accordingly, and the electronic device can update the displayed display and control device chassis panel of the display and control device by obtaining the panel model file of the updated display and control device chassis of the display and control device.

[0098] In one implementation, the electronic device may send a panel model file request instruction to the display control device to be displayed, and receive a model file of a display control device chassis sent by the display control device to be displayed in response to the panel model file request instruction.

[0099] In one embodiment, the electronic device pre-stores panel model files of various display and control device chassis models. The user can send a display instruction carrying the model of the display and control device chassis to be displayed to the electronic device, so that the electronic device can receive the display instruction sent by the user, extract the model of the display and control device chassis to be displayed, and search for the panel model file of the display and control device chassis corresponding to the model of the display and control device chassis to be displayed in the panel model file of the display and control device chassis stored in the electronic device.

[0100] In the above step S102, the electronic device may parse the panel model file to obtain the arrangement mode and arrangement position of each display model unit included in the panel model file.

[0101] After obtaining the panel model file of the display and control device chassis to be displayed, the electronic device can parse the panel model file to obtain the arrangement of the display model units corresponding to the display and control device chassis panel and the arrangement position of each display model unit corresponding to each chassis module included in the display and control device chassis panel.

[0102] Since the display model unit is obtained by mapping the display and control device chassis panel according to the panel size of the display and control device chassis panel and the preset unit size, the attribute information of the display model unit corresponding to the display and control device chassis panel is the attribute information of the display model unit in the display and control device chassis panel model. The electronic device can display and extract the display and control device chassis panel model by reading and parsing the panel model file.

[0103] Furthermore, in the above step S103, the electronic device can display the model renderings of each display model unit corresponding to each chassis module included in the chassis panel of the display and control device in a preset display interface according to the arrangement method and arrangement position.

[0104] After the electronic device obtains the arrangement mode of the display model units corresponding to the chassis panel of the display and control device and the arrangement positions of the display model units corresponding to each chassis module included in the chassis panel of the display and control device, it can display the model renderings of the display model units corresponding to each chassis module included in the chassis panel of the display and control device in a preset display interface according to the arrangement mode of the display model units and the arrangement positions of the display model units corresponding to each chassis module.

[0105] Among them, the model renderings of each display model unit corresponding to each chassis module are the preset renderings of each chassis module, and the renderings of each chassis module can be pre-stored in the electronic device, or can be carried in the panel model file of the display and control device chassis and obtained and parsed by the electronic device. This is all reasonable and no specific limitation is made here.

[0106] Specifically, the electronic device can determine the display position of each display model unit corresponding to each chassis module in the preset display position of the display control device chassis to be displayed in the preset display interface according to the arrangement method of the display model units and the arrangement position of each display model unit corresponding to each chassis module, and display the rendering of the chassis module at the determined display position of each display model unit corresponding to each chassis module.

[0107] Exemplarily, a schematic diagram of a chassis panel of a display and control device to be displayed is shown in FIG2 (c). The chassis panel of the display and control device may include multiple chassis modules such as a main board, an input board, an output board, an input-output mixing board, a switching board, a power supply, a horizontal dividing line, and a vertical dividing line. The switching board is used to implement the communication function of the switch. The main board may include an input / output interface. The input board, the output board, and the input-output mixing board include at least one input / output interface. The input / output interface may be an HDMI (High Definition Multimedia Interface), a DP (DisplayPort), a DVI (Digital Visual Interface), and a VGA (Video Graphics Array) interface, etc.

[0108] The electronic device can map the display and control device chassis panel according to the panel size of the display and control device chassis panel and the preset unit size, and then obtain the arrangement mode of the display model units included in the display and control device chassis panel and the arrangement position of each display model unit corresponding to each chassis module included in the display and control device chassis panel. As shown in Figure 2 (d), the areas surrounded by the dashed boxes are the mapped display model units, and the display model units included in the areas surrounded by the solid boxes are the display model units corresponding to each chassis module (slot) included in the display and control device chassis panel. By mapping the display and control device chassis panel, the entire chassis panel is mapped into 24 display model units, namely display model unit 1-display model unit 24, and each chassis module corresponds to a single or several display model units. Among them, the 24 display model units mapped by the chassis panel of the display and control device are arranged in 6 rows and 4 columns. The mainboard corresponds to the display model unit 1-display and control module unit 8, that is, the display model units 1-8 are the mainboard area, and the display model unit corresponding to the mainboard has a starting line 1, a starting column 1, a number of rows across 4, and a number of columns across 2; the power supply corresponds to the display model unit 17 and the display and control module unit 21, that is, the display model units 17 and 21 are the power supply area, and the display model unit corresponding to the power supply area has a starting line 5, a starting column 1, a number of rows across 2, and a number of columns across 1; the output board corresponds to the display model unit 23 and the display and control module unit 24, that is, the display model units 23-24 are the output board area, and the display model unit corresponding to the output board area has a starting line 6, a starting column 3, a number of rows across 1, and a number of columns across 2.

[0109] According to the mapping result of the display model unit of the display and control device chassis panel, a panel model file of the display and control device chassis is constructed. When the display and control device chassis is to be displayed, the electronic device can obtain the panel model file of the display and control device chassis, parse the panel model file, obtain the arrangement mode of the display model units included in the display and control device chassis panel and the arrangement position of each display model unit corresponding to each chassis module included in the display and control device chassis panel, and then according to the arrangement mode of each display model unit and the arrangement position of each display model unit corresponding to each chassis module, the model renderings of the front panel and the rear panel of the display and control device chassis panel can be displayed in the preset display interface, wherein, as shown in FIG2 (e), the model rendering of the front panel includes the model renderings of chassis modules such as the mainboard, power supply, input and output mixing board, input board and output board, and the layout of each chassis model in the model rendering is the same as the layout of each chassis model on the physical chassis panel of the display and control device chassis, and the size of each chassis model corresponds to the size of each chassis model on the physical chassis of the display and control device chassis.

[0110] Since display and control device chassis of different physical forms can construct their own display and control device chassis panel model files according to the same rules in the manner provided in the embodiments of the present application, rapid modeling of the chassis panels of each display and control device can be achieved, with strong compatibility and adaptability; in this way, for each display and control device, even if the physical form of the display and control device chassis changes due to version iteration, the electronic device does not need to modify its own code to model the chassis panel. It can directly obtain the panel model file of the replaced display and control device chassis to update the model rendering of the displayed display and control device chassis panel, which has strong maintainability and reduces the difficulty and cost of development and maintenance.

[0111] It can be seen that in the solution provided in the embodiment of the present application, for each display and control device, the display and control device chassis panel can be mapped to multiple display model units, and according to the arrangement of the multiple display model units and the arrangement position of each display model unit corresponding to each chassis module included in the display and control device chassis panel, the panel model file of the display and control device chassis is constructed, so that the display and control device chassis is mapped from the physical chassis panel to the panel model file, and the display and control device chassis is quickly modeled. Using this mapping method, panel model files of display and control device chassis of different physical forms can be constructed. In this way, for the display and control device chassis of various physical forms connected, the electronic device can display the model rendering of the display and control device chassis by obtaining the panel model file of the display and control device chassis, without having to manually write the corresponding model code according to the physical form of the display and control device chassis and then display it according to the constructed model, saving development costs and improving the display efficiency of the display and control device chassis. Moreover, since the panel model file is obtained based on the attribute information of the display model unit obtained by mapping the chassis panel of the display and control device, and the attribute information of each display model unit is obtained from the physical chassis panel of the display and control device chassis panel, the size of each chassis module in the model rendering of the display and control device chassis displayed by using the panel model file corresponds to the size of the chassis module in the physical chassis panel, and the layout of the chassis modules in the model rendering is consistent with the layout of the chassis modules in the physical chassis, which highly restores the chassis module layout of the display and control device chassis panel, realizes the visualization of the display and control device chassis panel, and improves the user experience.

[0112] As an implementation method of the present application, Figure 3 As shown, the construction method of the panel model file of the display and control device chassis may include:

[0113] S301: Mapping the display and control device chassis panel according to the panel size of the display and control device chassis panel and the preset unit size to obtain the arrangement mode of the display model units mapped by the display and control device chassis panel and the arrangement position of each display model unit corresponding to each chassis module included in the display and control device chassis panel;

[0114] S302: Determine the file field corresponding to the arrangement mode and the file field corresponding to the arrangement position of each display model unit corresponding to each chassis module according to the predefined fields corresponding to each chassis module and the fields corresponding to the attribute information of the display model unit;

[0115] S303: Generate a panel model file of the display and control device chassis based on the file fields.

[0116] In order to improve the display efficiency of the display and control device chassis, the display and control device chassis panel can be mapped in advance according to the panel size of the display and control device chassis panel and the preset unit size. Among them, for different display and control device chassis, the preset unit size used to map the display and control device chassis panel is adapted to the panel size of the display and control device chassis panel and the module size of the chassis module included in the display and control device chassis panel. The set unit size can avoid including different chassis modules in the mapped display model unit.

[0117] Mapping the display and control device chassis panel according to the panel size of the display and control device chassis panel and the preset unit size is to virtually divide the display and control device chassis panel into multiple display model units with preset unit sizes. According to the panel size and the preset unit size, the number of display model units obtained by virtually dividing the display and control device chassis panel and the attribute information of each display model unit can be obtained, that is, the arrangement of each display model unit and the arrangement position of each display model unit corresponding to each chassis module included in the display and control device chassis panel. The attribute information of each display model unit obtained by mapping the display and control device chassis panel is the attribute information of each display model unit in the display and control device chassis panel model. In this way, by mapping the display and control device chassis panel to multiple display model units, rapid modeling of the display and control device chassis panel is achieved.

[0118] In order to generate a panel model file of a display and control device chassis, fields corresponding to each chassis module included in the display and control device chassis panel and fields corresponding to attribute information of a display model unit are predefined.

[0119] In the case where the panel model file to be constructed is a JSON file, the JSON fields corresponding to the chassis modules included in the display and control device chassis and the JSON fields corresponding to the attribute information of the display model unit can be pre-defined, wherein the JSON fields corresponding to the chassis modules included in the pre-defined display and control device chassis panel, the JSON fields corresponding to the attribute information of the display model unit and the formats and enumerations corresponding to the attribute information are as shown in Table 1 below:

[0120] Table 1

[0121] JSON Fields Property information Format enumerate Unit Display Model Units Node object / Width width int 1920 Height high int 1080 ModelLayout Chassis layout (arrangement) Node object / RowCnt Total number of rows int 10 ColCnt Total columns int 6 ElementInfo Element Information (Chassis Module Information) List array / Type Element Type (Chassis Module) string Empty board-none Mainboard-main Input board-input Output board-output Mixed input and output board-mixed Switch board-switch Power area-power Horizontal dividing line-hor Vertical dividing line-ver Row Start row int 1 Col Starting Column int 1 RowSpan Number of rows int 2 ColSpan Number of columns spanned int 1 SlotNo Slot number int 1、2、3、…

[0122] As shown in Table 1 above, the JSON fields corresponding to the chassis modules included in the chassis panel of the display and control device are: empty board none, main board main, input board input, output board output, input and output mixed board mixed, switch board switch, power area power, horizontal dividing line hor, and vertical dividing line ver.

[0123] The JSON fields corresponding to the attribute information of the display model unit Unit include the display unit Unit, width Width, height Height, chassis layout (arrangement mode) ModelLayout, total number of rows RowCnt, total number of columns ColCnt, element information (chassis module information) ElementInfo, element type (chassis module) Type, starting row Row, starting column Col, number of rows RowSpan, number of columns ColSpan, and slot number SlotNo.

[0124] The formats of width, height, total number of rows, total number of columns, starting row, starting column, number of rows across, number of columns across, and slot number in the attribute information of the display model unit are all integer int; the formats of display units and chassis layout (arrangement) are all node object; the format of element information (chassis module information) is list array; the format of element type (chassis module) is string string.

[0125] The enumerations corresponding to the attribute information of the display model unit are: width 1920, height 1080, total number of chassis rows 10, total number of chassis columns 6, starting row 1, starting column 1, number of rows 2, number of columns 1, and slot numbers 1, 2, and 3; the enumeration values ​​of the element type (chassis module) are empty board none, main board main, input board input, output board output, input and output mixed board mixed, switch board switch, power area power, horizontal dividing line hor, and vertical dividing line ver.

[0126] After mapping the chassis panel of the display and control device to obtain the arrangement mode of the display model units mapped by the chassis panel of the display and control device and the arrangement positions of the display model units corresponding to each chassis module included in the chassis panel of the display and control device, the pre-defined fields corresponding to each chassis module and the fields corresponding to the attribute information of the display model unit can be used to determine the file fields corresponding to the arrangement mode and the file fields corresponding to the arrangement positions of the display model units corresponding to each chassis module.

[0127] As an implementation method of an embodiment of the present application, the file fields corresponding to the chassis module included in the model file include: main board, input board, output board, input-output mixed board, switch board, power supply area; and / or, the file fields corresponding to the arrangement method included in the model file include: the number of rows and columns occupied by the model rendering corresponding to the chassis panel of the display and control device; and / or, the file fields corresponding to the arrangement position included in the model file include: the starting row, starting column, number of rows and number of columns of each display model unit corresponding to each chassis module.

[0128] According to the file fields corresponding to the predefined chassis model, the file fields corresponding to the chassis modules included in the panel model file may include: main board, input board, output board, input-output hybrid board, switch board, power supply area. And / or,

[0129] According to the fields corresponding to the attribute information of the display model unit, the file fields corresponding to the arrangement mode included in the panel model file may include: the number of rows and columns occupied by the model effect diagram corresponding to the display and control device chassis panel, the number of rows and columns occupied by the model effect diagram, that is, the total number of rows and columns of the display model unit mapped by the display and control device chassis panel. And / or,

[0130] According to the fields corresponding to the attribute information of the display model unit, the file fields corresponding to the arrangement positions included in the panel model file may include: the starting row, starting column, number of rows and number of columns of each display model unit corresponding to each chassis module.

[0131] For example, the display model units mapped by the chassis panel of the display and control device are arranged in 4 rows and 6 columns, so the file field corresponding to the arrangement method is ModelLayout: "RowCnt": 6, "ColCnt": 4, that is, the model rendering corresponding to the chassis panel of the display and control device occupies 4 rows and 6 columns; the starting row of each display model unit corresponding to the mainboard included in the chassis panel of the display and control device is 1, the starting column is 1, the number of rows is 4, the number of columns is 2, and the slot number of the mainboard is 1, then the file field corresponding to the arrangement position of each display model unit corresponding to the mainboard is "ElementInfo": "Type": "main", "Type":"main", "Row":1, "Col": 1, "RowSpan": 2, "ColSpan": 4, "SlotNo": 1.

[0132] After determining the file fields corresponding to the arrangement positions of the display model units and the file fields corresponding to the arrangement positions of the display model units corresponding to each chassis module, the file fields can be integrated to generate a panel model file of the display and control device chassis. The generated panel model file includes the attribute information of the display model unit corresponding to the display and control device chassis panel.

[0133] For example, in the preset unit size of 1920×1080, Figure 4 As shown in the figure, the display model unit (Unit) obtained by mapping the display and control device chassis panel is arranged in 6 rows and 4 columns (RowCnt 6, ColCnt4), the display and control device chassis panel includes chassis modules such as the mainboard (main), power supply (power) and output board (output), among which the starting line of each display model unit corresponding to the mainboard is 1, the starting column is 1, the number of rows is 2, the number of columns is 4, and the slot number is 1, that is, the arrangement position of each display model unit corresponding to the mainboard is: starting from 1 row and 1 column, spanning 2 rows and 4 columns; the starting line of each display model unit corresponding to the power supply is 5, the starting column is 1, the number of rows is 2, the number of columns is 1, and the slot number is 3, that is, the arrangement position of each display model unit corresponding to the power supply is: starting from 5 rows and 1 column, spanning 2 rows and 1 column; the starting line of each display model unit corresponding to the output board is 6, the starting column is 2, the number of rows is 1, the number of columns is 2, and the slot number is 7, that is, the arrangement position of each display model unit corresponding to the output board is: starting from 6 rows and 3 columns, spanning 1 row and 2 columns.

[0134] According to the predefined fields corresponding to each chassis module and the fields corresponding to the attribute information of the display model unit, the generated panel model file of the display and control device chassis may include the following fields:

[0135] {

[0136] “Unit”: {

[0137] “Width”: 1920,

[0138] “Height”: 1080,

[0139] },

[0140] “ModelLayout”: {

[0141] “RowCnt”: 6,

[0142] “ColCnt” : 4,

[0143] “ElementInfo” : [

[0144] {

[0145] “Type”: “main”,

[0146] “Row” : 1,

[0147] “Col” : 1,

[0148] “RowSpan”: 2,

[0149] “ColSpan” : 4,

[0150] “SlotNo” : 1,

[0151] },

[0152] {

[0153] …

[0154] },

[0155] {

[0156] “Type”: “power”,

[0157] “Row” : 5,

[0158] “Col” : 1,

[0159] “RowSpan”: 2,

[0160] “ColSpan” : 1,

[0161] “SlotNo” : 3,

[0162] },

[0163] {

[0164] …

[0165] },

[0166] {

[0167] “Type”: “output”,

[0168] "Row": 6,

[0169] "Col": 3,

[0170] "RowSpan": 1,

[0171] “ColSpan” : 2,

[0172] “SlotNo” : 7,

[0173] } ]

[0175] }

[0176] }

[0177] After constructing the panel model file of the display and control device chassis, the panel model file can be stored in the display and control device or in the electronic device, which is reasonable. For the display and control device chassis to be displayed, the electronic device can obtain the panel model file of the display and control device chassis, parse the panel model file, and display the model effect diagram of the line control device chassis panel according to the arrangement of the display model units obtained by parsing the panel model file and the arrangement positions of the display model units corresponding to each chassis module.

[0178] In this embodiment, the chassis panel of the display and control device can be mapped according to the panel size of the chassis panel of the display and control device and the preset unit size to obtain the arrangement mode of the display model units mapped by the chassis panel of the display and control device and the arrangement position of each display model unit corresponding to each chassis module included in the chassis panel of the display and control device; then, according to the pre-defined fields corresponding to each chassis module and the fields corresponding to the attribute information of the display model unit, the file fields corresponding to the arrangement mode and the file fields corresponding to the arrangement position of each display model unit corresponding to each chassis module are determined; and based on the file fields, the panel model file of the display and control device chassis is generated. In this way, by mapping the display and control device chassis to various display model units, rapid modeling of the display and control device chassis can be achieved. According to the arrangement of the mapped display model units and the arrangement positions of the display model units corresponding to each chassis module included in the display and control device chassis panel and pre-defined fields, a model file including the attribute information of each display model unit is generated, and the display and control device chassis panel can be mapped to a panel model file. In this way, the electronic device obtains and parses the panel model file of the display and control device chassis, and can quickly display the display and control device chassis panel without writing the model code according to the physical form of the display and control device chassis, thereby improving the display efficiency of the display and control device chassis. In addition, since the attribute information of each display model unit in the panel model file is obtained according to the mapping result of mapping the display and control device chassis, the layout of each chassis module included in the display and control device chassis panel can be accurately restored according to the panel model file, thereby realizing the visualization of the display and control device chassis panel and improving the user experience.

[0179] As an implementation of an embodiment of the present application, the above step S103, that is, the step of displaying the model renderings of each display model unit corresponding to each chassis module included in the chassis panel of the display and control device according to the arrangement mode and the arrangement position in the preset display interface, may include:

[0180] According to the arrangement mode and arrangement position of each display model unit and the drawing order of the preset display interface, the attribute information of each display model unit is integrated to obtain the model drawing file corresponding to the display and control device chassis;

[0181] Read the model drawing file, and parse the model drawing file to obtain a parsing result;

[0182] Based on the analysis result, in the preset display interface, a model effect diagram of each display model unit corresponding to each chassis module included in the chassis panel of the display and control device is drawn.

[0183] After obtaining the panel model file of the display and control device chassis to be displayed, the electronic device can parse the panel model file and obtain the arrangement of each display model unit and the arrangement position of each display model unit corresponding to each chassis module included in the display and control device chassis.

[0184] According to the arrangement method and arrangement position of each display model unit, the electronic device can integrate the attribute information of each display model unit according to the drawing order of the preset display interface to obtain the model drawing file corresponding to the display and control device chassis, wherein in the model drawing file, the attribute information of each display model unit includes the arrangement method of each display model unit, and the chassis module corresponding to each display model unit and the slot number of the chassis module.

[0185] Specifically, according to the arrangement mode and arrangement position of each display model unit, the electronic device integrates each display model unit in sequence according to the above drawing order, and obtains a model drawing file including the attribute information of the integrated display model units arranged according to the above drawing order. Among them, the drawing order of the above preset display interface can be set according to the actual drawing needs, for example, it can be from bottom to top and from left to right, or from top to bottom and from right to left, which is reasonable and is not specifically limited here.

[0186] After obtaining the model drawing file, the electronic device can read the model drawing file and parse the model drawing file to obtain a parsing result, wherein the parsing result includes the integrated attribute information of the display model units arranged in the above-mentioned drawing order.

[0187] Afterwards, the electronic device can, based on the above analysis results, sequentially draw the model renderings of each display model unit corresponding to each chassis module included in the chassis panel of the display and control device in the preset display interface. Specifically, the electronic device can obtain the model renderings corresponding to each chassis model, for example, by obtaining the model renderings of each chassis model from the model drawing file, or searching for the model renderings corresponding to each chassis model from the model renderings stored in itself; and after obtaining the model renderings corresponding to each chassis model, the model renderings of each display model unit corresponding to each chassis module are drawn in the preset display interface using a jigsaw-like overlay method in accordance with the above drawing order.

[0188] Among them, the so-called puzzle-like overlay method is to splice and overlay each display model unit in sequence according to the drawing order. For example, when the drawing order is from top to bottom and from left to right, the display model unit 1-display model unit 4 of the first row are spliced ​​and overlaid in sequence, and then the display model unit 5-display model unit 8 of the second row are spliced ​​and overlaid in sequence.

[0189] The electronic device may include a back-end device and a front-end device, wherein in the electronic device, the execution entities for obtaining the model file of the display and control device chassis to be displayed and reading and parsing the model drawing file may be the same or different, and no specific limitation is made here.

[0190] In one embodiment, the back-end device of the electronic device can obtain the panel model file of the display and control device chassis to be displayed, namely, the Data (data).json file, from the display and control device chassis to be displayed, so as to obtain the attribute information of each display model unit in the mapped display and control device chassis panel model, and then integrate the attribute information of each display model unit included in the panel model file, extract the model drawing file containing the model drawing information, namely, the Print (drawing).json file, and pass it to the front end through the network protocol. The front end can receive the model drawing file and perform message parsing, and then draw the model rendering of the display and control device chassis on the preset display interface according to the parsed model drawing file.

[0191] In one embodiment, the front-end device of the electronic device can obtain the panel model file, i.e., the Data.json file, of the display and control device chassis to be displayed from the display and control device chassis to be displayed, so as to obtain the attribute information of each display model unit in the mapped display and control device chassis panel model, and then integrate the attribute information of each display model unit included in the panel model file, extract the model drawing file, i.e., the Print.json file, containing the model drawing information, and draw the model rendering of the display and control device chassis on the preset display interface according to the model drawing file.

[0192] For example, Figure 4As shown, the arrangement order of each display model unit is 6 rows and 4 columns, and the arrangement position of each display model unit corresponding to the main board is starting from the 1st row and the 1st column, spanning 2 rows and 4 columns, that is, display model unit 1-display model unit 8. In the model file, the attribute information fields of each display model unit corresponding to the main board are "Type": "main", "Row": 1, "Col": 1, "RowSpan": 2, "ColSpan": 4; according to the drawing order from left to right and from top to bottom, the attribute information of the display model unit corresponding to the main board is integrated, that is, according to the order from left to right and from top to bottom, the attribute information of display model unit 1, display model unit 2, display model unit 3, display model unit 4, display model unit 5, display model unit 6, display model unit 7, and display model unit 8 are integrated in turn, as shown in Figure 5 (a). In the obtained model drawing file, the attribute information corresponding fields of display model unit 1-display model unit 8 are all "Type": "main", "SlotId": 1. In addition, since there is a horizontal dividing line hor between the main board and the sub-board, in the model drawing file, after the corresponding fields of the attribute information of the display model unit 1-display model unit 8, the field "Type": "hor" of the horizontal dividing line is also included. This corresponds to the attribute information of the display model unit 1-display model unit 8 in the main board area shown in Figure 5 (a), where the main board area includes the display model unit 1-display model unit 8 and the horizontal dividing line separating it from the sub-board. Following the drawing order from left to right and from top to bottom, the resulting model drawing file includes the following fields:

[0193] "ModelLayout": {

[0194] "row": 6,

[0195] "col": 4,

[0196] "ElementInfo": {

[0197] {

[0198] “Type”: “main”,

[0199] "SlotId": 1,

[0200] },

[0201] {

[0202] “Type”: “main”,

[0203] "SlotId": 1,

[0204] },

[0205] {

[0206] “Type”: “main”,

[0207] “SlotId”: 1,

[0208] },

[0209] {

[0210] “Type”: “main”,

[0211] “SlotId”: 1,

[0212] },

[0213] {

[0214] “Type”: “main”,

[0215] “SlotId”: 1,

[0216] },

[0217] {

[0218] “Type”: “main”,

[0219] “SlotId”: 1,

[0220] },

[0221] {

[0222] “Type”: “main”,

[0223] “SlotId”: 1,

[0224] },

[0225] {

[0226] “Type”: “main”,

[0227] “SlotId”: 1,

[0228] },

[0229] {

[0230] “Type”: “hor”,

[0231] },

[0232] {

[0233] …

[0234] },

[0235] According to the above-mentioned model drawing file, the electronic device can adopt a puzzle-like overlay method in the above-mentioned drawing order to sequentially overlay the model renderings of the mainboard corresponding to the display model units 1-8 and the model renderings of the horizontal dividing lines, thereby obtaining a model rendering of the mainboard area in the front panel as shown in FIG5 (b), which includes a drawing model of the mainboard, a drawing model of the horizontal dividing line, and a mainboard logo.

[0236] like Figure 4As shown, the arrangement position of each display model unit corresponding to the power supply is from the 4th row and the 1st column, spanning 2 rows and 1 column, that is, display model unit 17 and display model unit 21. As shown in FIG5 (c), in the model file, the attribute information field of each display model unit corresponding to the power supply is “Type”: “power”, “Row”: 4, “Col”: 1, “RowSpan”: 2, “ColSpan”: 1; the arrangement position of each display model unit corresponding to the output board is from the 4th row and the 6th column, spanning 2 rows and 1 column, that is, display model unit 23 and display model unit 24. As shown in FIG5 (c), in the model file, the attribute information field of each display model unit corresponding to the output board is “Type”: “output”, “Row”: 4, “Col”: 6, “RowSpan”: 2, “ColSpan”: 1 In accordance with the drawing order from left to right and from top to bottom, the attribute information of the display model units is integrated, that is, in accordance with the order from left to right and from top to bottom, the attribute information of the display model unit 17, the display model unit 18, the display model unit 19, the display model unit 20, the display model unit 21, the display model unit 22, the display model unit 23, and the display model unit 24 are integrated in sequence. In the obtained model drawing file, the attribute information corresponding field of the display model unit 17 is "Type": "power", "SlotId": 3; the attribute information corresponding fields of the display model unit 18 are all "Type": "none", "SlotId": 4; the attribute information corresponding fields of the display model units 19 and 20 are all "Type": "input", "SlotId": 6; the attribute information corresponding fields of the display model unit 21 are all "Type": "power", "SlotId": 3; the attribute information corresponding fields of the display model unit 22 are all "Type": "none", "SlotId": 4; The corresponding fields of the attribute information of display model unit 23 and display model unit 24 are both "Type": "output", "SlotId": 7. Corresponding to the attribute information of display model unit 17-display model unit 24 shown in Figure 5 (c), the vertical dividing line between the power area and the input board and output board area is "Type": "ver", and the horizontal dividing line between the input board and output board area is "Type": "hor". Following the drawing order from left to right and from top to bottom, the obtained model drawing file includes the following fields:

[0237] {

[0238] “Type”: “power”,

[0239] “SlotId”: 3,

[0240] },

[0241] {

[0242] “Type”: “none”,

[0243] “SlotId”: 4,

[0244] },

[0245] {

[0246] “Type”: “ver”,

[0247] },

[0248] {

[0249] “Type”: “input”,

[0250] “SlotId”: 6,

[0251] },

[0252] {

[0253] “Type”: “input”,

[0254] “SlotId”: 6,

[0255] },

[0256] {

[0257] “Type”: “power”,

[0258] “SlotId”: 3,

[0259] },

[0260] {

[0261] “Type”: “none”,

[0262] “SlotId”: 4,

[0263] },

[0264] {

[0265] “Type”: “ver”,

[0266] },

[0267] {

[0268] “Type”: “hor”,

[0269] },

[0270] {

[0271] “Type”: “output”,

[0272] "SlotId": 7,

[0273] },

[0274] {

[0275] “Type”: “output”,

[0276] "SlotId": 7,

[0277] },

[0278] }}

[0279] According to the above-mentioned model drawing file, the electronic device can adopt a puzzle-like overlay method in the above-mentioned drawing order, and sequentially overlay the model renderings corresponding to the display model units 17-display model units 24, the model renderings of the horizontal dividing lines, and the model renderings of the vertical dividing lines in a puzzle-like manner, to obtain the model renderings of the power supply area and the input-output board area as shown in Figure 5 (d), and the model renderings include the drawing model of the power supply, the drawing model of the horizontal dividing line, the drawing model of the vertical dividing line, the power supply logo, the output board logo, and the input board logo.

[0280] In addition, when the display and control device chassis includes a front panel and a rear panel, the front panel and the rear panel can be mapped respectively, and a panel model file of the display and control device chassis can be constructed based on the mapping results. The panel model file of the display and control device chassis constructed in this way includes respective panel model sub-files of the front panel and the rear panel of the display and control device chassis. Based on the panel model file, the electronic device can display the model rendering of the front panel of the display and control device chassis and the model rendering of the front panel of the display and control device chassis.

[0281] In this embodiment, after obtaining the arrangement mode and arrangement position of each display model unit, the electronic device can integrate the attribute information of each display model unit according to the drawing order of the preset display interface to obtain the model drawing file corresponding to the chassis panel of the display and control device. After that, the model drawing file can be read and parsed to obtain the parsing result, and the model rendering of each display model unit can be drawn according to the parsing result. In this way, by integrating the arrangement mode and arrangement position in the model file into the attribute information of each display model unit in the model drawing file according to the drawing order, the drawing difficulty can be reduced, the drawing efficiency can be improved, and the display efficiency of the chassis of the display and control device can be improved.

[0282] As an implementation of an embodiment of the present application, a display method of a display control device chassis provided in an embodiment of the present application may also include:

[0283] In the case where a chassis module with an abnormal operating status is detected in the chassis of the display and control device, a target display model unit corresponding to the chassis module is determined based on the mapping relationship between the chassis module and each display model unit included in the chassis panel of the display and control device; an abnormal status mark is displayed at the display position of the model rendering of the target display model unit in the preset display interface, so that the staff can check the abnormal status of the chassis module based on the abnormal status mark.

[0284] The electronic device can detect the chassis operating status of each connected display and control device chassis, and in order to provide user experience, the chassis operating status of each monitored display and control device chassis can be displayed on a preset display interface, that is, on the preliminary display interface, the chassis panel of each display and control device and the chassis operating status of each monitored display and control device chassis are displayed.

[0285] As shown in FIG6 (a), the preset display interface displays a model rendering of the front panel of the display and control device chassis, i.e., an operation and maintenance diagram of the display and control device chassis. The model rendering includes model renderings of chassis modules such as the mainboard, power supply, input / output mixing board, input board, and output board. In addition, the model rendering of each chassis module also displays the operation status of each chassis module monitored by the electronic device. For example, the model rendering of the mainboard displays the operation temperature of the mainboard monitored by the electronic device, which is 42°C; the model rendering of each input / output mixing board displays the operation temperature of the input / output mixing board monitored by the electronic device, which is 45°C, 41°C, 38°C, and 37°C respectively; the model rendering of the input board displays the operation temperature of the input board monitored by the electronic device, which is 39°C; the model rendering of the output board displays the operation temperature of the output board monitored by the electronic device, which is 42°C.

[0286] When a chassis module with an abnormal operating status is detected in the chassis of the display and control device, the electronic device can determine the target display model unit corresponding to the chassis module based on the mapping relationship between the chassis modules and each display model unit included in the chassis panel of the display and control device, that is, according to the arrangement positions of the display model units corresponding to each chassis module.

[0287] In one embodiment, the electronic device can determine the slot number of the chassis module with abnormal operating status detected, and determine the target display model unit corresponding to the chassis module with abnormal operating status based on the attribute information of each display model unit and the slot number.

[0288] In one embodiment, the electronic device can determine the target field corresponding to the detected chassis module with abnormal operating status, and determine the target display model unit corresponding to the chassis module with abnormal operating status based on the attribute information of each display model unit and the target field.

[0289] The electronic device can then display an abnormal status identifier that matches the abnormal operating status at the display position of the model rendering of the target display model unit in the preset display interface, so that the staff can check the abnormal status of the chassis module based on the abnormal status identifier.

[0290] As shown in FIG6 (b), when the electronic device detects that the operating temperature of the mainboard is too high and reaches 52°C, it can determine the target display model unit corresponding to the mainboard according to the field "main" corresponding to the mainboard, and display an over-temperature mark at the display position corresponding to the target display model unit in the preset display interface, so that the staff can troubleshoot the overheating of the mainboard based on the over-temperature mark.

[0291] As shown in FIG6 (c), when the electronic device detects that the power supply is disconnected, it can determine the target display model unit corresponding to the power supply according to the slot number "3" corresponding to the power supply, and display a disconnection mark at the display position corresponding to the target display model unit in the preset display interface, so that the staff can troubleshoot the power supply based on the disconnection mark.

[0292] In this embodiment, when the electronic device detects that there is a chassis module with an abnormal operating status in the chassis of the display and control device, based on the mapping relationship between the chassis module and each display model unit included in the chassis panel of the display and control device, it determines the target display model unit corresponding to the chassis module; at the display position of the model rendering of the target display model unit in the preset display interface, an abnormal status mark is displayed, so that the staff can check the abnormal status of the chassis module based on the abnormal status mark. By displaying the abnormal status mark of the chassis module with an abnormal operating status on the display interface, the visualization of the abnormal state of the model is realized, so that the staff can more intuitively observe the abnormal operating status of each chassis module in each display and control device chassis, thereby improving the staff's user experience.

[0293] In order to facilitate understanding of a display method for a display control device chassis provided in an embodiment of the present application, Figure 7 Describe the overall process of displaying and controlling the device chassis.

[0294] The overall process of displaying the display and control device chassis can include:

[0295] S701: Define the chassis modules (main board, sub-board, power supply, etc.) of the chassis panel of the display and control device.

[0296] S702: Map the physical chassis panel to each display model unit, and store the attribute information of each display model unit in a JSON file.

[0297] S703: The software platform reads the JSON file, uses a jigsaw puzzle overlay method to complete the splicing of the display model units, and displays a model rendering of the display and control device chassis.

[0298] In order to realize the visualization of the display and control device chassis and the operating status of the display and control device chassis, and to improve the display efficiency of the display and control device chassis, the chassis modules of each display and control device chassis panel can be pre-defined, that is, the chassis modules such as the main board, sub-board, power supply, etc. included in the display and control device chassis panel can be defined. Then, according to the panel size of the display and control device chassis panel and the preset unit size, the physical chassis panel is mapped to each display model unit to obtain multiple display model units corresponding to the display and control device chassis panel.

[0299] Determine the attribute information of each display model unit, that is, determine the arrangement method of each display model unit and the arrangement position of each display model unit corresponding to each chassis module included in the chassis panel of the display and control device, and generate the panel model JSON file of the display and control device chassis according to the pre-defined fields corresponding to each chassis module and the fields corresponding to the attribute information of the display model unit.

[0300] When you want to display the chassis of the display and control device to be displayed, you can send a display instruction carrying the chassis model of the display and control device to the software platform of the security system. When the security system receives the display instruction, it can obtain the panel model JSON file based on the chassis model of the display and control device to be displayed, read the JSON file and parse the JSON file to obtain the arrangement method and arrangement position of each display model unit.

[0301] The software platform of the security system can integrate the attribute information of each display model unit according to the drawing order of the preset display interface to obtain the model drawing JSON file corresponding to the display and control device chassis. The model drawing JSON file is read and parsed to obtain the parsing result, and according to the parsing result, in accordance with the drawing order, the jigsaw-like overlay method is used to splice and display the model renderings of the chassis modules corresponding to each display model unit on the preset display interface to obtain the model renderings of the display and control device chassis.

[0302] Corresponding to the above-mentioned display method of a display and control device chassis, an embodiment of the present application also provides a display device of a display and control device chassis. The display device of a display and control device chassis provided by an embodiment of the present application is introduced below.

[0303] like Figure 8 As shown, a display device of a display control device chassis includes:

[0304] The file acquisition module 810 is used to acquire a pre-built panel model file of a display and control device chassis to be displayed, wherein the panel model file includes attribute information of a display model unit corresponding to the display and control device chassis panel, the display model unit is obtained by mapping the display and control device chassis panel according to the panel size of the display and control device chassis panel and a preset unit size, and the attribute information includes an arrangement mode of the display model unit and an arrangement position of each display model unit corresponding to each chassis module included in the display and control device chassis panel;

[0305] The parsing module 820 is used to parse the panel model file to obtain the arrangement mode and arrangement position of each display model unit included in the panel model file;

[0306] The display module 830 is used to display the model effect diagram of each display model unit corresponding to each chassis module included in the chassis panel of the display and control device in a preset display interface according to the arrangement method and the arrangement position.

[0307] In the solution provided by the embodiment of the present application, the electronic device can obtain a pre-built panel model file of the display and control device chassis to be displayed, wherein the panel model file includes attribute information of the display model unit corresponding to the display and control device chassis panel, and the display model unit is obtained by mapping the display and control device chassis panel according to the panel size of the display and control device chassis panel and the preset unit size, and the attribute information includes the arrangement mode of the display model unit and the arrangement position of each display model unit corresponding to each chassis module included in the display and control device chassis panel; parse the panel model file to obtain the arrangement mode and arrangement position of each display model unit included in the panel model file; in the preset display interface, display the model rendering of each display model unit corresponding to each chassis module included in the display and control device chassis panel according to the arrangement mode and arrangement position.

[0308] It can be seen that for each display and control device, the display and control device chassis panel can be mapped to multiple display model units, and according to the arrangement of multiple display model units and the arrangement position of each display model unit corresponding to each chassis module included in the display and control device chassis panel, the panel model file of the display and control device chassis is constructed, so that the display and control device chassis panel is mapped from a physical chassis panel to a panel model file, and the display and control device chassis is rapidly modeled. Using this mapping method, panel model files of display and control device chassis of different physical forms can be constructed. In this way, for the display and control device chassis of various physical forms connected, the electronic device can display the model rendering of the display and control device chassis by obtaining the panel model file of the display and control device chassis, without having to manually write the corresponding model code according to the physical form of the display and control device chassis and then display it according to the constructed model, which saves development costs and improves the display efficiency of the display and control device chassis. Moreover, since the panel model file is obtained based on the attribute information of the display model unit obtained by mapping the chassis panel of the display and control device, and the attribute information of each display model unit is obtained from the physical chassis panel of the display and control device chassis panel, the size of each chassis module in the model rendering of the display and control device chassis displayed using the panel model file corresponds to the size of the chassis module in the physical chassis panel, and the layout of the chassis modules in the model rendering is consistent with the layout of the chassis modules in the physical chassis panel, which highly restores the chassis module layout of the display and control device chassis panel, realizes the visualization of the display and control device chassis, and improves the user experience.

[0309] As an implementation of the embodiment of the present application, the display module 830 includes:

[0310] An integration unit, configured to integrate the attribute information of each display model unit according to the arrangement mode and arrangement position of each display model unit and the drawing order of a preset display interface, so as to obtain a model drawing file corresponding to the display and control device chassis;

[0311] A parsing unit, used for reading the model drawing file, parsing the model drawing file, and obtaining a parsing result;

[0312] A drawing unit is used to draw, based on the analysis result, in the preset display interface, a model effect diagram of each display model unit corresponding to each chassis module included in the chassis panel of the display and control device.

[0313] As an implementation of an embodiment of the present application, the device includes a file construction module, and the file construction module includes:

[0314] A mapping unit, used to map the display and control device chassis panel according to the panel size of the display and control device chassis panel and a preset unit size, to obtain an arrangement mode of the display model units mapped by the display and control device chassis panel and an arrangement position of each display model unit corresponding to each chassis module included in the display and control device chassis panel;

[0315] A field determination unit, used to determine the file field corresponding to the arrangement mode and the file field corresponding to the arrangement position of each display model unit corresponding to each chassis module according to the pre-defined fields corresponding to each chassis module and the fields corresponding to the attribute information of the display model unit;

[0316] The file generating unit is used to generate a panel model file of the display and control device chassis based on the file field.

[0317] As an implementation method of an embodiment of the present application, the file fields corresponding to the chassis module included in the model file include: main board, input board, output board, input and output mixed board, switch board, power supply area; and / or,

[0318] The file fields corresponding to the arrangement mode included in the model file include: the number of rows and columns occupied by the model effect diagram corresponding to the chassis panel of the display and control device; and / or,

[0319] The file fields corresponding to the arrangement positions included in the model file include: the starting row, starting column, number of rows and number of columns of each display model unit corresponding to each chassis module.

[0320] As an implementation of the embodiment of the present application, the device further includes:

[0321] A unit determination module, configured to determine a target display model unit corresponding to the chassis module based on a mapping relationship between the chassis module and each display model unit included in the chassis panel of the display and control device, when a chassis module with an abnormal operating status is detected in the chassis of the display and control device;

[0322] The identification display module is used to display an abnormal status identification at the display position of the model rendering of the target display model unit in the preset display interface, so that the staff can check the abnormal status of the chassis module based on the abnormal status identification.

[0323] The present application also provides an electronic device, such as Fig. 9 As shown, including:

[0324] Memory 901, used for storing computer programs;

[0325] The processor 902 is used to implement the above-mentioned display method of the display and control device chassis when executing the program stored in the memory 901.

[0326] Furthermore, the electronic device may further include a communication bus and / or a communication interface, and the processor 902, the communication interface, and the memory 901 communicate with each other via the communication bus.

[0327] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0328] The communication interface is used for communication between the above electronic device and other devices.

[0329] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0330] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0331] In another embodiment provided in the present application, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, the steps of the display method of any display control device chassis described above are implemented.

[0332] In another embodiment provided in the present application, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute the display method of the display control device chassis of any one of the above embodiments.

[0333] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a solid-state hard disk (SSD), etc.

[0334] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0335] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, electronic device, computer-readable storage medium, and computer program product embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.

[0336] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application are included in the protection scope of the present application.

Claims

1. A display method for a display control device chassis, characterized in that: The method comprises: Obtain a pre-built panel model file of a display and control device chassis to be displayed, wherein the panel model file includes attribute information of a display model unit corresponding to the display and control device chassis panel, the display model unit is obtained by mapping the display and control device chassis panel according to the panel size of the display and control device chassis panel and a preset unit size, and the attribute information includes an arrangement mode of the display model unit and an arrangement position of each display model unit corresponding to each chassis module included in the display and control device chassis panel; Parsing the panel model file to obtain the arrangement mode and arrangement position of each display model unit included in the panel model file; In the preset display interface, the model renderings of the display model units corresponding to each chassis module included in the chassis panel of the display and control device are displayed according to the arrangement method and the arrangement position.

2. The method according to claim 1, characterized in that The step of displaying the model effect diagram of each display model unit corresponding to each chassis module included in the chassis panel of the display and control device according to the arrangement mode and the arrangement position in the preset display interface includes: According to the arrangement mode and arrangement position of each display model unit and the drawing order of the preset display interface, the attribute information of each display model unit is integrated to obtain the model drawing file corresponding to the display and control device chassis; Read the model drawing file, and parse the model drawing file to obtain a parsing result; Based on the analysis result, in the preset display interface, a model effect diagram of each display model unit corresponding to each chassis module included in the chassis panel of the display and control device is drawn.

3. The method according to claim 1, characterized in that: The method for constructing the panel model file of the display and control device chassis includes: Mapping the display and control device chassis panel according to the panel size of the display and control device chassis panel and the preset unit size to obtain the arrangement mode of the display model units mapped by the display and control device chassis panel and the arrangement position of each display model unit corresponding to each chassis module included in the display and control device chassis panel; Determine the file field corresponding to the arrangement mode and the file field corresponding to the arrangement position of each display model unit corresponding to each chassis module according to the predefined fields corresponding to each chassis module and the fields corresponding to the attribute information of the display model unit; Based on the file fields, a panel model file of the display and control device chassis is generated.

4. The method according to claim 3, characterized in that The file fields corresponding to the chassis module included in the model file include: main board, input board, output board, input-output mixed board, switch board, power supply area; and / or, The file fields corresponding to the arrangement mode included in the model file include: the number of rows and columns occupied by the model effect diagram corresponding to the chassis panel of the display and control device; and / or, The file fields corresponding to the arrangement positions included in the model file include: the starting row, starting column, number of rows and number of columns of each display model unit corresponding to each chassis module.

5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: In the case where a chassis module with an abnormal operating state is detected in the chassis of the display and control device, a target display model unit corresponding to the chassis module is determined based on a mapping relationship between the chassis module and each display model unit included in the chassis panel of the display and control device; An abnormal status mark is displayed at the display position of the model effect diagram of the target display model unit in the preset display interface, so that the staff can check the abnormal status of the chassis module based on the abnormal status mark.

6. A display device for a display and control equipment chassis, characterized in that: The device comprises: A file acquisition module, used to acquire a pre-built panel model file of a display and control device chassis to be displayed, wherein the panel model file includes attribute information of a display model unit corresponding to the display and control device chassis panel, the display model unit is obtained by mapping the display and control device chassis panel according to the panel size of the display and control device chassis panel and a preset unit size, and the attribute information includes an arrangement mode of the display model unit and an arrangement position of each display model unit corresponding to each chassis module included in the display and control device chassis panel; A parsing module, used for parsing the panel model file to obtain the arrangement mode and arrangement position of each display model unit included in the panel model file; The display module is used to display the model effect diagrams of each display model unit corresponding to each chassis module included in the chassis panel of the display and control device in a preset display interface according to the arrangement method and the arrangement position.

7. The device according to claim 6, characterized in that The display module comprises: An integration unit, configured to integrate the attribute information of each display model unit according to the arrangement mode and arrangement position of each display model unit and the drawing order of a preset display interface, so as to obtain a model drawing file corresponding to the display and control device chassis; A parsing unit, used for reading the model drawing file, parsing the model drawing file, and obtaining a parsing result; A drawing unit is used to draw, based on the analysis result, in the preset display interface, a model effect diagram of each display model unit corresponding to each chassis module included in the chassis panel of the display and control device.

8. The device according to claim 6, characterized in that The device comprises a file construction module, and the file construction module comprises: A mapping unit, used to map the display and control device chassis panel according to the panel size of the display and control device chassis panel and a preset unit size, to obtain an arrangement mode of the display model units mapped by the display and control device chassis panel and an arrangement position of each display model unit corresponding to each chassis module included in the display and control device chassis panel; A field determination unit, used to determine the file field corresponding to the arrangement mode and the file field corresponding to the arrangement position of each display model unit corresponding to each chassis module according to the pre-defined fields corresponding to each chassis module and the fields corresponding to the attribute information of the display model unit; The file generating unit is used to generate a panel model file of the display and control device chassis based on the file field.

9. The device according to claim 8, characterized in that The file fields corresponding to the chassis module included in the model file include: main board, input board, output board, input-output mixed board, switch board, power supply area; and / or, The file fields corresponding to the arrangement mode included in the model file include: the number of rows and columns occupied by the model effect diagram corresponding to the chassis panel of the display and control device; and / or, The file fields corresponding to the arrangement positions included in the model file include: the starting row, starting column, number of rows and number of columns of each display model unit corresponding to each chassis module.

10. The device according to any one of claims 6 to 9, characterized in that: The device also includes: A unit determination module, configured to determine a target display model unit corresponding to the chassis module based on a mapping relationship between the chassis module and each display model unit included in the chassis panel of the display and control device, when a chassis module with an abnormal operating status is detected in the chassis of the display and control device; The identification display module is used to display an abnormal status identification at the display position of the model effect diagram of the target display model unit in the preset display interface, so that the staff can check the abnormal status of the chassis module based on the abnormal status identification.

11. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, for implementing any of the methods described in claims 1-5 when executing a program stored in a memory.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Visualization graph edition configuration method for equipment parameters of computer platform

    CN102915403A

  • Modeling showing method of unit data in electric system

    CN104834527A

  • A graphical method and device for machine room equipment management

    CN106991151A

  • Server shell system capable of automatically controlling temperature by voice control

    CN107908255A

  • Server case management method, device and system and readable storage medium

    CN108170583A