Display control method of KKS coded information and related product

By acquiring the node number and global switch variables of the operator station, the display status of the KKS code is dynamically controlled, which solves the problem of different display requirements of operators with different experience levels under different operating conditions, and improves the interactivity and stability of the power plant operation management system.

CN121168482APending Publication Date: 2025-12-19CHINA TECHENERGY
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202511321318.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-16
Publication Date
2025-12-19

AI Technical Summary

Technical Problem

In existing technologies, it is difficult to meet the varying display needs of operators with different experience levels in power plants or large industrial systems under different operating conditions for KKS codes. Fixed display modes cannot satisfy both the needs of novice operators who frequently view the data and the needs of experienced operators who focus on real-time data.

Method used

By obtaining the node number of the target operator station, determining the global switch variable, and flipping its value to control the display status of the label display symbol in the target PFD drawing, dynamic KKS code display control is achieved, supporting different users to flexibly switch the display or hiding of codes according to experience and working conditions.

Benefits of technology

It enables personalized and contextualized display control of KKS encoded information, improves the human-computer interaction experience, reduces information redundancy or insufficiency, and enhances system response speed and stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121168482A_ABST
    Figure CN121168482A_ABST
Patent Text Reader

Abstract

The invention discloses a display control method of KKS coded information and a related product. When a user interaction request is received, a node number of a target operation station sending the request is firstly obtained, so that a target node of current operation is determined. The target PFD drawing displayed by the target operation station is a digital interface, and a target label display icon used for displaying the KKS text coding information corresponding to the equipment is pre-created and configured. And searching a global switching value variable bound with the target node number based on the target node number to obtain a target switching value variable of the operation station. The current value of the switching value variable is read and logically flipped to obtain a new flipped value, and the flipped value is used for switching the display state of the target label display icon. And finally, dynamically updating the visibility of the corresponding label in the target PFD drawing according to the overturning value. The problem of information redundancy or insufficiency caused by a traditional fixed display mode is effectively avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of industrial automation control technology, specifically to a display control method for KKS encoded information and related products. Background Technology

[0002] In the actual operation of power plants or large industrial systems, operators with different experience levels and under different operating conditions have significantly different needs for displaying the Kraftwerk-Kennzeichen-System (KKS) codes. For newly hired or less experienced novice operators, KKS codes, as unique identifiers and location data for equipment, are crucial reference information for understanding process flows, familiarizing themselves with equipment structure, and troubleshooting. Novices often need to frequently check these codes to confirm the location and function of specific equipment, thereby reducing the risk of misoperation and improving work efficiency. However, experienced operators pay more attention to the overall operating status and real-time data of the system. Based on their extensive experience, they have a deep understanding of most equipment and processes, and therefore do not need to rely on KKS codes constantly for judgment.

[0003] In addition, during normal inspections, more attention may be paid to the stability and operating parameters of the equipment. However, during troubleshooting or under special conditions, operators may return to carefully checking the KKS code to quickly identify the problematic equipment.

[0004] Therefore, a single, fixed display mode is difficult to meet the diverse needs of different operators in different scenarios. Summary of the Invention

[0005] Based on the above problems, this application provides a method for displaying and controlling KKS encoded information and related products, which can effectively solve the drawbacks of the "fixed display mode" and realize personalized, scenario-based, and dynamic KKS encoded display control for different operators and working conditions, greatly improving the human-machine interaction experience and practical value of the power plant operation and management system.

[0006] The embodiments of this application disclose the following technical solutions:

[0007] A method for controlling the display of KKS encoded information, the method comprising:

[0008] In response to a user interaction request, the node number of the target operating station that issued the user interaction request is obtained to obtain the target node number; the target operating station displays a target process flow diagram PFD drawing, which is a digital graphical interface; the target PFD drawing has pre-created target label display symbols.

[0009] Based on the target node number, determine the global switch variable bound to the target operator station to obtain the target switch variable;

[0010] Determine the current value of the target switch variable, and flip the current value of the target switch variable to obtain a flip value; the current value and the flip value are used to control the display state of the target label display symbol in the target PFD drawing;

[0011] The display status of the target label display icon in the target PFD drawing is updated based on the flip value; the target label display icon is used to display the power plant identification system KKS text encoding information corresponding to the equipment;

[0012] Wherein, when the current value is True or 1, its corresponding flip value is False or 0; when the current value is False or 0, its corresponding flip value is True or 1; True or 1 indicates that the target label display icon is displayed, and False or 0 indicates that the target label display icon is hidden.

[0013] In one possible implementation, the creation process of the target label display icon includes:

[0014] Traverse the equipment symbols in the target PFD drawing and extract the KKS codes associated with the equipment symbols;

[0015] An initial label display icon is generated for each of the device icons; the initial label display icon is a graphical control used to display text information.

[0016] For each device icon's initial label display icon, the KKS text encoding information recorded in the KKS encoding associated with the device icon is filled into the text name parameter of the initial label display icon to obtain the target label display icon;

[0017] For each device symbol in the target PFD drawing, the KKS text code associated with the device symbol is replaced with the target label display symbol of the device symbol.

[0018] In one possible implementation, the method further includes:

[0019] Identify the operator stations with viewing permissions for the target PFD drawing, obtain the node number of each operator station with viewing permissions for the target PFD drawing, and create a corresponding number of global switch variables based on the number of operator stations with viewing permissions for the target PFD drawing;

[0020] Based on the node number and variable naming rules of each operator station, create variable names for each global switch variable; one operator station corresponds to one global switch variable.

[0021] Bind the global switch variable with the created variable name to its corresponding operator station.

[0022] In one possible implementation, each workstation is equipped with a display switching button; the display switching button is used to trigger the switching of the display and hiding state of the target label display symbol in the target PFD drawing;

[0023] When a user clicks the display switching button, the operation station generates the user interaction request.

[0024] In one possible implementation, after binding the global switch variable with the created variable name to its corresponding operator station, the method further includes:

[0025] Initialize variables for all operator stations to set the global switch variables bound to each operator station to their initial default values.

[0026] In one possible implementation, the method further includes:

[0027] The resolution of the target label display icon is adjusted according to the display resolution of the target workstation to ensure good display effect at different resolutions.

[0028] A display control device for KKS encoded information, the device comprising:

[0029] The first acquisition unit, in response to a user interaction request, is used to acquire the node number of the target operation station that issued the user interaction request to obtain the target node number; the target operation station displays a target PFD drawing, and the target PFD drawing is a digital graphical interface; the target PFD drawing has pre-created target label display symbols;

[0030] The first determining unit is used to determine the global switch variable bound to the target operator station based on the target node number, and obtain the target switch variable;

[0031] The second determining unit is used to determine the current value of the target switching variable;

[0032] A status value flipping unit is used to flip the current value of the target switch variable to obtain a flipped value; the current value and the flipped value are used to control the display status of the target label display symbol in the target PFD drawing;

[0033] A status update unit is used to update the display status of the target label display icon in the target PFD drawing based on the flip value; the target label display icon is used to display the KKS text encoding information corresponding to the display device;

[0034] Wherein, when the current value is True or 1, its corresponding flip value is False or 0; when the current value is False or 0, its corresponding flip value is True or 1; True or 1 indicates that the target label display icon is displayed, and False or 0 indicates that the target label display icon is hidden.

[0035] In one possible implementation, the device further includes:

[0036] The KKS code extraction unit is used to traverse the equipment symbols in the target PFD drawing and extract the KKS codes associated with the equipment symbols.

[0037] The icon generation unit is used to generate an initial label display icon for each of the device icons; the initial label display icon is a graphical control used to display text information.

[0038] The editing unit is used to fill the text name parameter of the initial label display icon with the KKS text encoding information recorded in the KKS encoding associated with the device icon, for each device icon, to obtain the target label display icon.

[0039] The replacement unit is used to replace the KKS text code associated with each device symbol in the target PFD drawing with the target label display symbol of the device symbol.

[0040] A display control device for KKS encoded information includes: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the display control method for KKS encoded information as described above.

[0041] A computer-readable storage medium storing instructions that, when executed on a terminal device, cause the terminal device to perform the display control method for KKS encoded information as described above.

[0042] Compared with the prior art, this application has the following beneficial effects:

[0043] This application provides a method for controlling the display of KKS encoded information and related products. Specifically, when executing the method for controlling the display of KKS encoded information provided in this application, the node number of the target operator station that issued the user interaction request is first obtained, and a global switch variable bound to the operator station is determined based on the node number. The target operator station displays a digital process flow diagram (PFD) drawing, in which target label display icons for displaying KKS encoded information are pre-created. After reading the current state of the switch variable, its value is determined to be flipped; that is, if the current state is True (or 1), it is flipped to False (or 0); and vice versa. This flipped value is used to control the display state of the corresponding label icon in the target PFD drawing, realizing the switching of label display or hiding. When the switch variable is True, the label icon displays the KKS encoded text of the corresponding device; when it is False, the label is hidden. This application achieves independent and dynamic control over the KKS code display status of each operator station by responding to user interaction requests, obtaining the specific operator station node number, and binding the corresponding global switch variable based on the node number. Operators can flexibly switch the display and hiding of KKS code labels according to their experience level and current operating conditions, satisfying both the needs of novice operators who frequently view codes and the usage habits of experienced operators who focus on real-time data and minimize interface interference. Furthermore, this application utilizes pre-created target label display symbols in digital PFD drawings, combined with simple and clear switch-to-flip logic, to achieve fast and efficient display status switching, improving system response speed and stability. This not only enhances the user-friendliness and interactivity of the interface but also supports personalized configurations for different users, effectively avoiding the information redundancy or insufficiency problems caused by traditional fixed display modes. Attached Figure Description

[0044] To more clearly illustrate the technical solutions in this embodiment or the prior art, the drawings used in the description of the embodiment or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0045] Figure 1 A flowchart illustrating a method for controlling the display of KKS encoded information provided in this application embodiment;

[0046] Figure 2 A flowchart illustrating the implementation of a label display icon creation method provided in this application embodiment;

[0047] Figure 3A flowchart illustrating the implementation of a method for binding switch variables provided in this application embodiment;

[0048] Figure 4 This is a schematic diagram of the structure of a KKS encoded information display control device provided in an embodiment of this application. Detailed Implementation

[0049] To facilitate understanding of the technical solutions provided in the embodiments of this application, the background technology involved in the embodiments of this application will be described below.

[0050] In the operation of power plants or large industrial systems, the display needs of KKS codes vary depending on the operator's experience level and the work scenario. Newly hired operators typically need to frequently check KKS codes, as these codes are unique identifiers for equipment, helping them quickly understand the process flow and equipment location, reducing operational errors. Experienced operators, on the other hand, focus more on real-time equipment operating data and rely less on KKS codes. Furthermore, during routine inspections, operators primarily focus on equipment status and parameters, but during troubleshooting, they need to carefully examine KKS codes to accurately locate problematic equipment. For example, a KKS code like "AAAB-BB-CC-DD" can represent a specific pump or valve in a boiler system; such codes help operators quickly identify and manage equipment. Therefore, a fixed display method is insufficient to meet the needs of different personnel and operating conditions, requiring flexible adjustments to the displayed content.

[0051] To address this issue, this application provides a method and related product for displaying KKS encoded information. When a user interaction request is received, the node number of the target operating station that issued the request is obtained, resulting in a target node number. The target operating station displays a target PFD drawing, which is a digital graphical interface and contains pre-created target label display symbols. Based on the target node number, the global switch variable bound to the target operating station is determined, resulting in a target switch variable. The current value of the target switch variable is further determined and then flipped to obtain a flip value. Both the current value and the flip value are used to control the display state of the target label display symbols in the target PFD drawing. Finally, the display state of the target label display symbols in the target PFD drawing is updated based on the flip value. These target label display symbols are used to display the KKS text encoding information corresponding to the device. This application achieves independent and dynamic control of the KKS encoding display state in each operating station by responding to user clicks, obtaining the node number of the operating station, and using this node number to associate with the corresponding global switch variable. In this way, operators can flexibly switch the display or hiding of KKS codes based on their experience and current work situation. This is convenient for beginners who frequently need to check codes, and also meets the needs of experienced operators who want to focus on real-time data and reduce interface clutter. Furthermore, this application utilizes preset label symbols in the PFD drawings, combined with a simple toggle mechanism, to achieve rapid switching of display states, improving system response speed and stability. This not only makes the interface more user-friendly and easy to use, but also supports personalized user configuration, effectively avoiding the problems of excessive or insufficient information caused by traditional fixed display modes.

[0052] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0053] See Figure 1 The figure is a flowchart of a method for displaying KKS encoded information according to an embodiment of this application. Figure 1 As shown, the display control method for the KKS encoded information may include steps S101-S104:

[0054] S101: In response to a user interaction request, obtain the node number of the target operator station that issued the user interaction request to obtain the target node number.

[0055] When the system responds to an interactive request from a user, it first identifies the source of the request, that is, determines which specific operator station issued the request. By obtaining the node number corresponding to that operator station (i.e., the target node number), it provides accurate location information for subsequent processing. At this time, the interface of the target operator station displays the corresponding target PFD drawing, which is presented in the form of a digital graphical interface and contains structural and process information of the equipment in the power plant or industrial system.

[0056] Furthermore, in this digitized target PFD drawing, multiple target label display symbols were pre-created to facilitate the display of information about key equipment. These symbols are specifically used to display identification information associated with the equipment, such as KKS-coded text in a power plant identification system. By combining user interaction requests with specific operator station node numbers, the system can accurately locate the corresponding digitized process flow diagram and its pre-configured label symbols, thereby enabling targeted data display and control. This lays the foundation for subsequent dynamic adjustment of label display status, thus meeting the diverse needs of different users for equipment identification and information browsing in different operating scenarios.

[0057] S102: Determine the global switch variable bound to the target operator station based on the target node number to obtain the target switch variable.

[0058] Based on the obtained node number of the target operator station, the system can further perform an association mapping operation to determine the global switch variable corresponding to that node number. Specifically, each operator station is bound to a global switch variable in the system to control the display status. These variables, as flag bits or Boolean parameters, reflect and manage the display status of specific information within that operator station. By querying a pre-established mapping table between node numbers and switch variables, the system can accurately identify the global switch variable corresponding to the current target operator station, thereby obtaining the target switch variable. This switch variable plays a crucial role in subsequent processes; it not only stores the current label display status (such as show or hide) but also serves as a trigger condition to dynamically switch in conjunction with user interaction. Through this mechanism, the system ensures that the display control of each operator station is independent and targeted, effectively supporting differentiated management and flexible presentation of KKS encoded information in a multi-operator station environment. This allows users to adjust the visibility of interface information at any time according to actual needs, improving the intelligence level of human-computer interaction and the convenience of operation.

[0059] S103: Determine the current value of the target switch variable, and flip the current value of the target switch variable to obtain the flipped value.

[0060] After determining the target switch variable, the system reads its current value, typically a Boolean value, representing the display status of the target label icon in the digital process flow diagram (PFD)—whether it's currently "shown" or "hidden." Next, the system performs a logical flip operation on this current value, changing it from True (or 1) to False (or 0), or vice versa, to obtain a new flip value. This flip process effectively switches the display status; if the label is currently shown, it becomes hidden after the flip, and vice versa. The current value and the flip value together control whether the target label icon is displayed or not. The system uses these two values ​​to decide whether to update the label's visibility in the PFD drawing. When a user triggers this process with an interaction request, the system dynamically adjusts the label's display using the flipped value, allowing the label to be flexibly presented or hidden on the interface, thus meeting the information visibility needs of different users in different contexts. This control method, which uses the reading and toggling of switch variable values, not only simplifies the interface state management logic but also improves response speed and system stability. It ensures that operators can obtain the necessary device identification information in a timely manner, while avoiding excessive clutter of interface information and enhancing the overall human-computer interaction experience.

[0061] S104: Update the display status of the target label display icon in the target PFD drawing based on the flip value.

[0062] Based on the aforementioned flip value, the system updates the display status of the target label display icon in the target PFD drawing. This process ensures that the KKS text encoding information corresponding to the device on the interface can be dynamically presented or hidden according to user needs.

[0063] Specifically, the target label display icon plays a crucial role in the KKS encoding of the display device. When the current value of the switch variable is True or 1, it indicates that the label icon is currently in a displayed state, while the corresponding toggle value is False or 0, meaning the switched state is hidden. Conversely, when the current value of the switch variable is False or 0, the label is in a hidden state, and the toggle value is True or 1, indicating that the label needs to be displayed. This binary logic control mechanism achieves the display switching of the label by reversing the state of the Boolean value, which is both simple and efficient. The updated toggle value directly drives the visual attributes of the relevant label icons in the digital PFD drawing, enabling the label information to respond to user operations in real time, flexibly adapting to the needs of different operators and on-site conditions, and avoiding redundant accumulation of interface information or the loss of important information.

[0064] Furthermore, by tightly binding display control with global on / off states, this application enhances the overall stability and consistency of the system, improves the user interface's friendliness and interactive experience, thereby achieving accurate, convenient, and dynamic management of device KKS encoding information.

[0065] Based on the content of S101-S104, upon receiving a user interaction request, the target operator station node number that issued the request is first obtained. Then, based on this node number, the global switch variable bound to that operator station is determined, thereby obtaining the current value of the target switch variable. Simultaneously, the target operator station displays the target PFD drawing, in which a target label display icon for displaying KKS encoding information is pre-created. Subsequently, the current value of the switch variable is flipped; that is, when the current value is True or 1, it flips to False or 0, and vice versa. This flip value controls the display state of the corresponding label icon in the target PFD drawing, enabling the switching between displaying and hiding the label. True or 1 indicates that the KKS encoding label is displayed, while False or 0 indicates it is hidden. This method dynamically adjusts the visibility of the equipment's KKS encoding information in the digital process drawing.

[0066] In one possible implementation, this application also provides a method for creating label display symbols, see [link to relevant documentation]. Figure 2 , Figure 2 A flowchart illustrating the implementation of a label display icon creation method provided in this application embodiment can be specifically implemented through steps S201-S204:

[0067] S201: Traverse the equipment symbols in the target PFD drawing and extract the KKS code associated with the equipment symbol.

[0068] In the process of managing equipment information in the target PFD drawing, the first step is to perform a comprehensive traversal of all equipment symbols in the target PFD drawing. This traversal process involves the system sequentially accessing each equipment graphic element on the PFD drawing to ensure that no information about any critical equipment is missed. For each traversed equipment symbol, the system further extracts its associated KKS code. This code is important textual information used in the power plant identification system to uniquely identify and classify equipment.

[0069] Typically, there is a pre-established binding relationship or metadata link between the device icon and its corresponding KKS code, which ensures the accurate correspondence between the code and the device icon. By extracting these KKS codes, the system can obtain the unique identifier of the device, thus laying the foundation for subsequent operations such as information display, tag generation, and status control.

[0070] By traversing and extracting the KKS codes corresponding to equipment symbols, not only is the structured organization of equipment information realized, but also key data support is provided for the intelligent interaction and precise control of digital process flow diagrams, which is an important step in improving the level of power plant automation management.

[0071] S202: Generate an initial label display symbol for each of the device symbols.

[0072] In the process of constructing and displaying digital PFD drawings, generating an initial label for each equipment symbol is a crucial step in achieving visualized management of equipment information.

[0073] Specifically, the system automatically creates a corresponding initial label display symbol for each individual device symbol in the target PFD drawing. This label display symbol is essentially a specially designed graphical control whose main function is to carry and display text information. Generating initial label display symbols not only ensures that each device has its own dedicated information display unit, but also ensures that device-related data can be presented on the user interface in an intuitive and clear manner, improving the operator's efficiency in recognizing device status and identification information.

[0074] It should be noted that, as a graphical control, the initial label display icon is highly flexible and customizable. Its position, size, font style, and color can be adjusted as needed to adapt to the layout of different equipment icons and the overall aesthetics of the interface. Furthermore, the control supports dynamic text content updates, ensuring that label information is synchronized in real time as equipment status changes or data is refreshed, guaranteeing the accuracy and timeliness of the displayed information. This generation process lays the foundation for subsequently filling the label control with specific KKS-encoded text, a prerequisite for achieving a close integration of text information and equipment icons in the power plant identification system. This drives the entire process flow diagram towards greater intelligence and informatization, improving the overall operational convenience and management level of the system.

[0075] S203: For each device symbol's initial label display symbol, fill the text encoding information recorded in the KKS encoding associated with the device symbol into the text name parameter of the initial label display symbol to obtain the target label display symbol.

[0076] After generating the initial label display icon for each device icon, the system further performs a crucial data binding operation. This involves accurately filling the specific KKS text encoding information contained in the KKS code associated with the device icon into the text name parameter of the initial label display icon. By passing the KKS text encoding information recorded in the KKS code associated with the device icon as a parameter to the initial label display icon, the system enables the graphical control to intuitively display the device's KKS encoding information in text form.

[0077] Through this step, the initial label display icon, which originally only existed as a placeholder, is transformed into a target label display icon carrying actual equipment identification information, realizing the transformation from abstract control to concrete content display entity. This not only enhances the expressiveness of equipment representation in the process flow diagram, but also provides users with clear and accurate equipment identification basis, which is conducive to improving operational efficiency and management accuracy.

[0078] S204: For each device symbol in the target PFD drawing, replace the KKS text code associated with the device symbol with the target label display symbol of the device symbol.

[0079] After generating the target label display icon and filling it with the corresponding KKS text code information, the system needs to replace the original KKS text code displayed by the equipment icon in the target PFD drawing to achieve a more intuitive and flexible information display.

[0080] Specifically, for each device symbol in the target PFD drawing, the system locates its currently displayed KKS text code content and hides or removes it, replacing it with the previously generated target label display symbol containing complete and formatted text information. This replacement operation is not only an update to the static text information in the drawing, but also a process of transforming from simple text to integrated graphical controls, making the presentation of device information more interactive and dynamically responsive.

[0081] By replacing the original KKS-encoded text with target label icons, the system can integrate more display attributes, such as font style, color, position adjustment, and status control, making the label display more aesthetically pleasing and easier to read. Furthermore, this replacement facilitates subsequent display control based on switch variables, enabling dynamic display and hiding of labels to meet the flexible display requirements of different users and operating scenarios.

[0082] In one possible implementation, this application also provides a method for binding a global switch variable to its corresponding operator station, see [link to relevant documentation]. Figure 3 , Figure 3A flowchart illustrating the implementation of a method for binding switch variables provided in this application embodiment is shown, which can be specifically implemented through steps S301-S303:

[0083] S301: Determine the operator stations with viewing permissions for the target PFD drawing, obtain the node number of each operator station with viewing permissions for the target PFD drawing, and create a corresponding number of global switch variables based on the number of operator stations with viewing permissions for the target PFD drawing.

[0084] In the process of managing access permissions and controlling the display of target PFD drawings, it is first necessary to determine which operator stations have the permission to view the target PFD drawing. To this end, the system queries the permission management module or access control list to filter out all operator stations with viewing permissions for that specific drawing. These operator stations represent user terminals or work nodes that are authorized to observe and interact with the target PFD drawing in the current operating environment.

[0085] Next, the system further acquires the unique identifier information of each authorized operator station, namely its node number. The node number serves as the core identity identifier for the operator station, accurately distinguishing different operator station instances. The collection of node numbers ensures the uniqueness and specificity of subsequent variable binding and status management for specific operator stations. Based on the determined number of authorized operator stations, the system dynamically creates a corresponding number of global switch variables. These variables will be used to control the display and hiding status of relevant labels on the target PFD drawing in each operator station. The number of globally created switch variables maintains a one-to-one correspondence with the number of authorized operator stations, ensuring that each operator station has an independent and dedicated control switch, thereby avoiding display conflicts or data confusion caused by shared variables.

[0086] S302: Based on the node number and variable naming rules of each operation station, create variable names for each global switch variable.

[0087] In a multi-operator station environment, in order to achieve precise management of the display status of equipment labels in the target process flow diagram (PFD), the system needs to create a dedicated global switch variable for each operator station with viewing permissions for personalized control.

[0088] Specifically, based on the unique node number of each operator station and combined with pre-designed variable naming rules, the system generates unique and standardized variable names for each global switch variable. This naming rule typically uses a fixed prefix concatenated with the node number, for example, "Global_KKS_Display_Flag_" plus the operator station's node number, thus forming a variable name that comprehensively reflects the variable's function and attribution. For instance, if the node number of an operator station is "OPS1", then its corresponding global switch variable name would be named "Global_KKS_Display_Flag_OPS1".

[0089] This naming strategy not only ensures the uniqueness of variable names throughout the system and avoids potential variable conflicts between different workstations, but also improves the readability and maintenance convenience of variable management, enabling developers and operations personnel to easily identify the workstation to which a variable belongs and its purpose.

[0090] The system follows a "one-to-one" binding principle, meaning each operator station corresponds to one and only one global switch variable. This ensures independent control over the display permissions and status of each operator station, avoiding data confusion and control conflicts caused by multiple operator stations sharing the same variable. Through this variable creation mechanism based on node numbers and naming rules, the system achieves fine-grained management of label display status in a multi-operator station environment, effectively improving the flexibility of permission allocation and the stability of system operation. It also provides convenient technical support for subsequent permission adjustments and expansions.

[0091] S303: Binds the global switch variable with the created variable name to its corresponding operator station.

[0092] After naming and creating the global switch variables, the next critical task of the system is to strictly and accurately bind these variables to their corresponding operator stations. Binding refers to establishing a clear association within the system, ensuring that each global switch variable uniquely corresponds to a specific operator station node, thereby achieving dedicated control over the operator station's permissions and display status. This binding mechanism first ensures that the control represented by the variable belongs to the correct operator station, avoiding variable confusion or misuse.

[0093] This also allows the system to dynamically adjust the label display status according to the specific needs of the operator station, such as enabling or disabling the display of the device's KKS code. The binding process typically involves mapping the operator station's node number to variable names. This mapping can be stored in a database, configuration file, or in-memory data structure for easy subsequent querying and management. Through this binding, the system can quickly locate the global switch variable corresponding to a specific operator station at runtime, enabling precise permission verification and interface update operations.

[0094] In one possible implementation, each operator station interface is equipped with a specially designed display switching button. This button, as the core control for user-system interaction, plays a crucial role in controlling the display status of device label symbols in the target PFD drawing.

[0095] Specifically, the display toggle button is equipped with a trigger mechanism. When a user clicks the button, the operator station instantly captures this user action and generates a corresponding user interaction request. This request is then passed to the background control logic to instruct the system to toggle the display or hiding of the target label icon on the target PFD drawing.

[0096] By using the display toggle button, users can flexibly control the display hierarchy and content depth of the interface information. This allows them to selectively view or hide the device's KKS encoding label as needed in actual work scenarios, greatly improving the readability of the interface and the convenience of operation. At the same time, the button design typically takes ergonomics into account, ensuring its reasonable placement, rapid response, and clear feedback to guarantee a smooth and intuitive user experience.

[0097] In one possible implementation, after binding the created global switch variable with the variable name to its corresponding operator station in step S303, the method further includes:

[0098] Initialize variables for all operator stations to set the global switch variables bound to each operator station to their initial default values.

[0099] After completing the crucial step of binding the created global switch variable with its corresponding operator station, the system can also perform variable initialization for all operator stations to ensure that the switch variables in the entire environment are in a unified and controllable initial state.

[0100] Specifically, this variable initialization step aims to assign preset default values ​​to the global switch variables bound to each operator station. These default values ​​typically represent the initial display state of the label display control, such as "True (or 1)" or "False (or 0)," laying a stable foundation for subsequent user interaction and dynamic control. By synchronously initializing variables across all operator stations, the system can avoid abnormal interface display or permission chaos caused by undefined variables or inconsistent states, ensuring that the label display icons of each operator station can operate smoothly according to the established logic. Furthermore, variable initialization also supports the system's rapid restoration to a standardized initial environment during startup, restart, or permission changes, thereby improving the system's robustness and maintainability.

[0101] In one possible implementation, the method further includes:

[0102] The resolution of the target label display icon is adjusted according to the display resolution of the target workstation to ensure good display effect at different resolutions.

[0103] To ensure that the target label display icon presents a clear, neat, and easily recognizable visual effect in different operating station environments, this application can also adjust the resolution of the label display icon based on the display resolution of the target operating station.

[0104] Specifically, different workstations may be equipped with display devices of various resolutions, ranging from high-definition large screens to ordinary monitors, with differences in pixel density and display size. This directly affects the visual performance of the label display icons. Without proper adjustment, label icons may appear blurry, distorted, or have information obscured, reducing the user's accurate understanding of device identification information and work efficiency. Therefore, after generating and binding the target label display icon, the system dynamically calculates and adjusts the size, font size, margins, and layout ratio of the label icon based on the specific resolution parameters of the target workstation currently accessing the system, adapting it to the corresponding display environment. This resolution adaptive processing not only improves the clarity and aesthetics of the icon at different resolutions but also ensures that text information is displayed completely and accurately, avoiding overlap or truncation caused by scaling, thereby guaranteeing a consistent and high-quality interactive experience for users under different hardware conditions.

[0105] See Figure 4 , Figure 4 This is a schematic diagram of a display control device for KKS encoded information provided in an embodiment of this application. Figure 4 As shown, the display control device for the KKS encoded information includes:

[0106] The first acquisition unit 401, in response to a user interaction request, is used to acquire the node number of the target operation station that issued the user interaction request to obtain the target node number; the target operation station displays a target PFD drawing, and the target PFD drawing is a digital graphical interface; the target PFD drawing has pre-created target label display symbols;

[0107] The first determining unit 402 is used to determine the global switch variable bound to the target operator station based on the target node number, and obtain the target switch variable;

[0108] The second determining unit 403 is used to determine the current value of the target switching variable;

[0109] The status value flipping unit 404 is used to flip the current value of the target switch variable to obtain a flipped value; the current value and the flipped value are used to control the display status of the target label display symbol in the target PFD drawing;

[0110] The status update unit 405 is used to update the display status of the target label display icon in the target PFD drawing based on the flip value; the target label display icon is used to display the KKS text encoding information corresponding to the display device;

[0111] Wherein, when the current value is True or 1, its corresponding flip value is False or 0; when the current value is False or 0, its corresponding flip value is True or 1; True or 1 indicates that the target label display icon is displayed, and False or 0 indicates that the target label display icon is hidden.

[0112] In one possible implementation, the device further includes:

[0113] The KKS code extraction unit is used to traverse the equipment symbols in the target PFD drawing and extract the KKS codes associated with the equipment symbols.

[0114] The icon generation unit is used to generate an initial label display icon for each of the device icons; the initial label display icon is a graphical control used to display text information.

[0115] The editing unit is used to fill the text name parameter of the initial label display icon with the KKS text encoding information recorded in the KKS encoding associated with the device icon, for each device icon, to obtain the target label display icon.

[0116] The replacement unit is used to replace the KKS text code associated with each device symbol in the target PFD drawing with the target label display symbol of the device symbol.

[0117] In one possible implementation, the device further includes:

[0118] The permission determination unit is used to determine the operator station that has the permission to view the target PFD drawing;

[0119] The second acquisition unit is used to acquire the node number of each operator station with permission to view the target PFD drawing, and to create a corresponding number of global switch variables based on the number of operator stations with permission to view the target PFD drawing.

[0120] The variable name creation unit is used to create variable names for each global switch variable based on the node number and variable naming rules of each operation station; one operation station corresponds to one global switch variable.

[0121] The binding unit is used to bind a global switch variable with a created variable name to its corresponding operator station.

[0122] In one possible implementation, each workstation is equipped with a display switching button; the display switching button is used to trigger the switching of the display and hiding state of the target label display symbol in the target PFD drawing;

[0123] When a user clicks the display switching button, the operation station generates the user interaction request.

[0124] In one possible implementation, the device further includes:

[0125] The variable initialization unit is used to initialize variables for all operator stations, setting the global switch variables bound to each operator station to their initial default values.

[0126] In one possible implementation, the device further includes:

[0127] The resolution adjustment unit is used to adjust the resolution of the target label display icon according to the display resolution of the target operating station, so as to ensure that a good display effect can be obtained at different resolutions.

[0128] In addition, this application embodiment also provides a display control device for KKS encoded information, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the display control method for KKS encoded information as described above.

[0129] In addition, this application embodiment also provides a computer-readable storage medium storing instructions that, when executed on a terminal device, cause the terminal device to perform the KKS-encoded information display control method as described above.

[0130] This application obtains the node number of the corresponding operator station by receiving user click operations, and associates this node number with the corresponding global switch variable, thereby achieving independent and dynamic management of the KKS code display status in each operator station. This allows operators to flexibly switch the display or hiding of KKS code labels according to their experience level and current working environment, facilitating frequent code lookups for beginners to aid in understanding equipment information, while also meeting the needs of experienced operators who prioritize real-time data and minimize interface clutter. Simultaneously, this application utilizes pre-set target label display symbols in the PFD diagram, combined with a simple and efficient switch reversal mechanism, to achieve rapid switching of display status. This not only improves system response speed and operational stability but also enhances the user interface's friendliness and interactive experience. Furthermore, this application supports personalized display configurations for different users, effectively avoiding the information overload or information loss problems that may occur in traditional fixed display modes, making the display of KKS code information in the entire PFD drawing more flexible and adaptable to diverse usage scenarios.

[0131] The foregoing has provided a detailed description of a method for controlling the display of KKS encoded information and related products. The various embodiments in the specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to in the method section. It should be noted that those skilled in the art can make several improvements and modifications to this application without departing from the principles of this application, and these improvements and modifications also fall within the protection scope of the claims of this application.

[0132] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.

[0133] It should also be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

Claims

1. A method for controlling the display of KKS encoded information, characterized in that, The method includes: In response to a user interaction request, the node number of the target operating station that issued the user interaction request is obtained to obtain the target node number; the target operating station displays a target process flow diagram PFD drawing, which is a digital graphical interface; the target PFD drawing has pre-created target label display symbols. Based on the target node number, determine the global switch variable bound to the target operator station to obtain the target switch variable; Determine the current value of the target switch variable, and flip the current value of the target switch variable to obtain a flip value; the current value and the flip value are used to control the display state of the target label display symbol in the target PFD drawing; The display status of the target label display icon in the target PFD drawing is updated based on the flip value; the target label display icon is used to display the power plant identification system KKS text encoding information corresponding to the equipment; Wherein, when the current value is True or 1, its corresponding flip value is False or 0; when the current value is False or 0, its corresponding flip value is True or 1; True or 1 indicates that the target label display icon is displayed, and False or 0 indicates that the target label display icon is hidden.

2. The method according to claim 1, characterized in that, The process of creating the target label display icon includes: Traverse the equipment symbols in the target PFD drawing and extract the KKS codes associated with the equipment symbols; An initial label display icon is generated for each of the device icons; the initial label display icon is a graphical control used to display text information. For each device icon's initial label display icon, the KKS text encoding information recorded in the KKS encoding associated with the device icon is filled into the text name parameter of the initial label display icon to obtain the target label display icon; For each device symbol in the target PFD drawing, the KKS text code associated with the device symbol is replaced with the target label display symbol of the device symbol.

3. The method according to claim 1, characterized in that, The method further includes: Identify the operator stations with viewing permissions for the target PFD drawing, obtain the node number of each operator station with viewing permissions for the target PFD drawing, and create a corresponding number of global switch variables based on the number of operator stations with viewing permissions for the target PFD drawing; Based on the node number and variable naming rules of each operator station, create variable names for each global switch variable; one operator station corresponds to one global switch variable. Bind the global switch variable with the created variable name to its corresponding operator station.

4. The method according to claim 1 or 3, characterized in that, Each workstation is equipped with a display switching button; the display switching button is used to trigger the switching of the display status of the target label display icon in the target PFD drawing; When a user clicks the display switching button, the operation station generates the user interaction request.

5. The method according to claim 3, characterized in that, After binding the created global switch variable with its name to its corresponding operator station, the method further includes: Initialize variables for all operator stations to set the global switch variables bound to each operator station to their initial default values.

6. The method according to claim 1, characterized in that, The method further includes: The resolution of the target label display icon is adjusted according to the display resolution of the target workstation to ensure good display effect at different resolutions.

7. A display control device for KKS encoded information, characterized in that, The device includes: The first acquisition unit, in response to a user interaction request, is used to acquire the node number of the target operation station that issued the user interaction request to obtain the target node number; the target operation station displays a target PFD drawing, and the target PFD drawing is a digital graphical interface; the target PFD drawing has pre-created target label display symbols; The first determining unit is used to determine the global switch variable bound to the target operator station based on the target node number, and obtain the target switch variable; The second determining unit is used to determine the current value of the target switching variable; A status value flipping unit is used to flip the current value of the target switch variable to obtain a flipped value; the current value and the flipped value are used to control the display status of the target label display symbol in the target PFD drawing; A status update unit is used to update the display status of the target label display icon in the target PFD drawing based on the flip value; the target label display icon is used to display the KKS text encoding information corresponding to the display device; Wherein, when the current value is True or 1, its corresponding flip value is False or 0; when the current value is False or 0, its corresponding flip value is True or 1; True or 1 indicates that the target label display icon is displayed, and False or 0 indicates that the target label display icon is hidden.

8. The apparatus according to claim 7, characterized in that, The device further includes: The KKS code extraction unit is used to traverse the equipment symbols in the target PFD drawing and extract the KKS codes associated with the equipment symbols. The icon generation unit is used to generate an initial label display icon for each of the device icons; the initial label display icon is a graphical control used to display text information. The editing unit is used to fill the text name parameter of the initial label display icon with the KKS text encoding information recorded in the KKS encoding associated with the device icon, for each device icon, to obtain the target label display icon. The replacement unit is used to replace the KKS text code associated with each device symbol in the target PFD drawing with the target label display symbol of the device symbol.

9. A display control device for KKS encoded information, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, it implements the display control method for KKS encoded information as described in any one of claims 1-6.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed on a terminal device, cause the terminal device to perform the display control method for KKS encoded information as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Interface interaction method and terminal

    CN110377219A

  • Variable configuration processing method and device, computer storage medium and equipment

    CN113311788A

  • Power station unit installation auxiliary information reorganization method based on three-dimensional model

    CN114201855A

  • Object display method and device, electronic equipment and storage medium

    CN115079878A

  • KKS and template-based function block information interaction interface implementation system and method

    CN116382686A