Methods, systems, terminals, and media for adjusting the human-computer interaction interface of power office software
By automating the adjustment of the human-computer interaction interface layout of the power office software, the problem of the traditional interface being unable to be flexibly adjusted has been solved, achieving efficient and personalized interface display and improved stability for inspection management.
Patent Information
- Application Number
- CN202411675920.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-22
- Publication Date
- 2025-12-02
- Estimated Expiration
- 2044-11-22
AI Technical Summary
Traditional power office software has a fixed human-computer interaction interface layout, which cannot be flexibly adjusted according to different inspection tasks, resulting in low inspection management efficiency and time-consuming and labor-intensive manual adjustments.
By obtaining the inspection order identification information, the interface layout is automatically adjusted using the interface layout mapping table, achieving automated and flexible adjustment of the interface layout, including parsing the order, configuring the mapping table, and dynamically loading the interface resource files.
It improves the targeting and efficiency of inspection management, reduces manual intervention, provides personalized interface display, reduces operational complexity, and improves work efficiency and system stability.
Smart Images

Figure CN119166266B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of computer technology, specifically relating to a method, system, terminal, and medium for adjusting the human-computer interaction interface of power office software. Background Technology
[0002] The statements in this section are merely background information related to the present invention and do not necessarily constitute prior art.
[0003] With the intelligent development of the power sector, the management of power inspections has also become intelligent. Power inspection terminals transmit inspection information to the backend, which is configured with power office software to display, statistically analyze, and manage the inspection information. However, traditional power office software often uses a fixed layout for its human-computer interaction interface. Different inspection orders may involve different inspection scenarios, equipment, and task requirements. The fixed layout cannot be flexibly adjusted according to different types of inspection tasks, affecting the efficiency of inspection management.
[0004] Furthermore, existing methods for adjusting the layout of the human-computer interaction interface in power office software mostly rely on manual configuration or preset templates, lacking flexibility and scalability. When inspection tasks change, manually adjusting the interface layout is not only time-consuming and labor-intensive, but also prone to inaccurate adjustments. Summary of the Invention
[0005] To address the aforementioned issues, this invention proposes a method, system, terminal, and medium for adjusting the human-computer interaction interface of power office software. This invention automatically adjusts the layout of the human-computer interaction interface of the power office software based on orders, achieving automated and flexible adjustment of the interface layout and improving inspection and management efficiency.
[0006] According to some embodiments, the first solution of the present invention provides a method for adjusting the human-computer interaction interface of power office software, which adopts the following technical solution:
[0007] Methods for adjusting the human-computer interaction interface of power office software include:
[0008] Obtain the pending inspection orders and parse them to obtain the inspection order identification information;
[0009] Retrieve the interface layout mapping table, which contains the mapping relationship between inspection order identifiers and interface layout codes;
[0010] Based on the inspection order identification information, the interface layout code that the current inspection order to be processed is obtained using the interface layout mapping table.
[0011] The appropriate interface layout resource file is retrieved based on the determined interface layout code, and the layout of the human-computer interaction interface is adjusted according to the retrieved interface layout resource file.
[0012] Furthermore, the step of obtaining and parsing the inspection orders to be processed to obtain the inspection order identification information is as follows:
[0013] Obtain pending inspection orders and perform format recognition;
[0014] The appropriate parsing tool is retrieved based on the identified format of the inspection order to be processed;
[0015] Based on the data structure of the inspection orders to be processed, the inspection order identification information is extracted using a suitable parsing tool.
[0016] Furthermore, based on the mapping relationship between different inspection order identifiers and their corresponding interface layout codes, an interface layout mapping table is pre-configured;
[0017] When a new inspection task is added or the inspection requirements are changed, the new inspection task or the changed inspection requirements and the corresponding interface layout code are updated in the interface layout mapping table.
[0018] Furthermore, the step of obtaining the interface layout code suitable for the current inspection order based on the inspection order identification information using the interface layout mapping table specifically involves:
[0019] Based on the inspection order identification information, the corresponding interface layout code is obtained using the interface layout mapping table.
[0020] Determine whether the obtained interface layout code is consistent with the interface layout code in the local storage area;
[0021] If they match, the feedback interface has been loaded;
[0022] Conversely, if the interface layout is not specified, the appropriate interface layout resource file will be retrieved based on the determined interface layout code.
[0023] Furthermore, the step of retrieving the appropriate interface layout resource file based on the determined interface layout code, and adjusting the human-computer interaction interface layout according to the retrieved interface layout resource file, specifically involves:
[0024] Based on the determined interface layout code, query the database for the corresponding interface layout resource file;
[0025] Load the retrieved interface layout resource files;
[0026] Use a front-end framework to build the basic interface framework;
[0027] Based on the loaded interface layout resource file, place the interface elements into the basic interface framework according to the specified layout.
[0028] Based on the size and position information defined in the interface layout resource file, adjust the size and position of the interface elements to obtain the adjusted human-computer interaction interface layout.
[0029] Furthermore, after obtaining the adjusted human-computer interaction interface layout, the interface layout code that is adapted to the current inspection order to be processed is cached in the local storage area and overwritten with the previous interface layout code.
[0030] Furthermore, the database stores interface layout resource files corresponding to each interface layout code;
[0031] The interface layout resource file defines the specific layout, style, and element attributes of the interface.
[0032] According to some embodiments, the second aspect of the present invention provides a human-computer interaction interface adjustment system for power office software, which adopts the following technical solution:
[0033] The power office software human-computer interaction interface adjustment system includes:
[0034] The order identifier acquisition module is configured to acquire pending inspection orders, parse them, and obtain inspection order identifier information.
[0035] The mapping table retrieval module is configured to retrieve the interface layout mapping table, which contains the mapping relationship between inspection order identifiers and interface layout codes.
[0036] The interface layout encoding adaptation module is configured to obtain the interface layout encoding adapted to the current inspection order based on the inspection order identification information and using the interface layout mapping table.
[0037] The interface layout adjustment module is configured to retrieve the appropriate interface layout resource file based on the determined interface layout code, and adjust the layout of the human-computer interaction interface according to the retrieved interface layout resource file.
[0038] According to some embodiments, a third aspect of the present invention provides a computer-readable storage medium.
[0039] A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the method for adjusting the human-computer interaction interface of power office software as described in the first aspect above.
[0040] According to some embodiments, a fourth aspect of the present invention provides a computer device.
[0041] A computer terminal includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the steps in the method for adjusting the human-computer interaction interface of power office software as described in the first aspect above.
[0042] Compared with the prior art, the beneficial effects of the present invention are as follows:
[0043] This invention automatically receives pending inspection orders through an order receiving interface and dynamically adjusts the layout of the human-computer interaction interface based on the order identification information. This closely links the interface layout with the inspection tasks, improving the targeting and efficiency of inspection management. Furthermore, the interface layout adjustment is based on the user's actual inspection needs, providing personalized interface displays for different inspection orders, making user operation more intuitive and convenient. The automated processing of order reception, parsing, and interface layout adjustment reduces manual intervention, lowers operational complexity, and improves work efficiency. Attached Figure Description
[0044] The accompanying drawings, which form part of this invention, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an improper limitation of the invention.
[0045] Figure 1 This is a flowchart of a method for adjusting the human-computer interaction interface of power office software according to Embodiment 1 of the present invention;
[0046] Figure 2 This is a schematic block diagram of the human-computer interaction interface adjustment system for power office software in Embodiment 2 of the present invention. Detailed Implementation
[0047] The present invention will be further described below with reference to the accompanying drawings and embodiments.
[0048] It should be noted that the following detailed description is illustrative and intended to provide further explanation of the invention. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.
[0049] It should be noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the scope of exemplary embodiments according to the invention. As used herein, the singular form is intended to include the plural form as well, unless the context clearly indicates otherwise. Furthermore, it should be understood that when the terms "comprising" and / or "including" are used in this specification, they indicate the presence of features, steps, operations, devices, components, and / or combinations thereof.
[0050] Where there is no conflict, the embodiments and features in the embodiments of the present invention can be combined with each other.
[0051] Example 1
[0052] like Figure 1 As shown, this embodiment provides a method for adjusting the human-computer interaction interface of power office software. This embodiment uses the application of this method to a server as an example for illustration. It can be understood that this method can also be applied to a terminal, and can also be applied to a system including a terminal, a server, and a system, and can be implemented through the interaction between the terminal and the server. The server can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network servers, cloud communication, middleware services, domain name services, CDN security services, and big data and artificial intelligence platforms. The terminal can be a smartphone, tablet computer, laptop computer, desktop computer, smart speaker, smartwatch, etc., but is not limited to these. The terminal and the server can be directly or indirectly connected through wired or wireless communication, which is not limited in this application. In this embodiment, the method includes the following steps:
[0053] Obtain the pending inspection orders and parse them to obtain the inspection order identification information;
[0054] Retrieve the interface layout mapping table, which contains the mapping relationship between inspection order identifiers and interface layout codes;
[0055] Based on the inspection order identification information, the interface layout code that the current inspection order to be processed is obtained using the interface layout mapping table.
[0056] The appropriate interface layout resource file is retrieved based on the determined interface layout code, and the layout of the human-computer interaction interface is adjusted according to the retrieved interface layout resource file.
[0057] Specifically, the method described in this embodiment includes the following steps.
[0058] S1 receives inspection orders to be processed through the order receiving interface.
[0059] S1.1 Click the "Receive Order" button to get a list of pending inspection orders.
[0060] S1.2 Select one from the list of pending inspection order identifiers as the current pending inspection order.
[0061] S1.3, responds to the selection operation and receives the currently pending inspection orders.
[0062] In this embodiment, the user obtains a list of pending inspection order identifiers by clicking the order receiving button. This list may contain several pending inspection order identifiers. The user selects one pending inspection order identifier according to actual needs and clicks it, and then receives the pending inspection order from the local server.
[0063] S2 parses the received inspection orders to obtain the inspection order identification information.
[0064] S2.1, Identify the format of the inspection orders to be processed.
[0065] S2.2, retrieve the appropriate parsing tool based on the format of the identified inspection orders to be processed.
[0066] S2.3, use a parsing tool to parse the data structure of the inspection order to be processed and extract the inspection order identification information.
[0067] First, determine the format of the inspection order to be processed. Then, use a suitable parsing tool to parse the inspection order and extract the inspection order identification information. For example, if the order is in JSON format, use a JSON library to parse the inspection order, then perform field mapping, and extract the inspection order identification information based on the data structure of the inspection order. The inspection order identification information can be an inspection type identifier.
[0068] S3, retrieve the interface layout mapping table, which contains the mapping relationship between inspection order identifiers and interface layout codes.
[0069] S4. Based on the inspection order identification information, obtain the interface layout code that the current inspection order to be processed is adapted to according to the interface layout mapping table.
[0070] Based on the mapping relationship between different inspection order identifiers and their corresponding interface layout codes, the interface layout mapping table is pre-configured.
[0071] When a new inspection task is added or the inspection requirements are changed, the new inspection task or the changed inspection requirements and the corresponding interface layout code are updated in the interface layout mapping table.
[0072] A pre-configured interface layout mapping table is used, which contains the interface layout codes corresponding to different inspection order identifiers. The corresponding interface layout codes are obtained according to the mapping relationship.
[0073] This embodiment uses an interface layout mapping table to establish a mapping relationship between inspection order identifiers and interface layout codes, making interface layout adjustments more flexible and scalable. When a new inspection task is added or inspection requirements are changed, the interface layout can be automatically adjusted simply by updating the mapping table.
[0074] In addition, after obtaining the interface layout code adapted to the current inspection order to be processed, this embodiment also checks whether the obtained interface layout code is consistent with the interface layout code in the local storage area.
[0075] Specifically, based on the inspection order identification information, the interface layout code adapted to the current inspection order to be processed is obtained using the interface layout mapping table, as follows:
[0076] Based on the inspection order identification information, the corresponding interface layout code is obtained using the interface layout mapping table.
[0077] Determine whether the obtained interface layout code is consistent with the interface layout code in the local storage area;
[0078] If they match, the feedback interface has been loaded;
[0079] Conversely, if the interface layout is not specified, the appropriate interface layout resource file will be retrieved based on the determined interface layout code.
[0080] In this embodiment, during the interface layout adjustment process, the interface layout code is checked to see if it is consistent with the interface layout code in the local storage area. This avoids repeatedly loading the same interface layout resource file, reduces the possibility of system errors, and improves the stability and reliability of the system.
[0081] S5: Retrieve the appropriate interface layout resource file based on the determined interface layout code, and adjust the layout of the human-computer interaction interface according to the retrieved interface layout resource file.
[0082] S5.1, Query the corresponding interface layout resource file in the database according to the determined interface layout code.
[0083] It should be noted that the database stores the interface layout resource files corresponding to each interface layout code. After obtaining the interface layout code, if it is necessary to adjust the current interface layout, the corresponding interface layout resource file is retrieved from the database.
[0084] S5.2 Loads the retrieved interface layout resource files.
[0085] After locating the corresponding UI layout resource file, it is loaded. The UI layout resource file defines the specific layout, styles, and element attributes of the interface. It's understandable that the definitions of other UI layout resource files can be set according to actual needs.
[0086] S5.3 uses a front-end framework to build the basic framework for the interface.
[0087] For example, React, Vue, or Angular are the basic frameworks for building user interfaces.
[0088] S5.4, based on the loaded interface layout resource file, places the interface elements into the interface basic framework according to the specified layout.
[0089] It should be noted that interface elements include buttons, text boxes, and images. Understandably, the layout of other interface elements can be managed according to actual needs.
[0090] S5.5 adjusts the size and position of interface elements according to the size and position information defined in the interface layout resource file to obtain the adjusted human-computer interaction interface layout.
[0091] This embodiment adjusts the size and position of interface elements according to the size and position information defined in the layout resources to ensure that they can be displayed correctly on different devices and screen sizes.
[0092] In this embodiment, after adjusting the layout of the human-computer interaction interface according to the retrieved interface layout resource file, the interface layout code adapted to the current inspection order to be processed is cached in the local storage area, overwriting the previous interface layout code. By storing the adapted interface layout code locally through the caching mechanism, and checking whether the obtained interface layout code is consistent with the interface layout code in the local storage area, repeated layout adjustments are avoided, improving efficiency and system stability.
[0093] Example 2
[0094] like Figure 2 As shown, this embodiment provides a human-computer interaction interface adjustment system for power office software, including:
[0095] The order identifier acquisition module is configured to acquire pending inspection orders, parse them, and obtain inspection order identifier information.
[0096] The mapping table retrieval module is configured to retrieve the interface layout mapping table, which contains the mapping relationship between inspection order identifiers and interface layout codes.
[0097] The interface layout encoding adaptation module is configured to obtain the interface layout encoding adapted to the current inspection order based on the inspection order identification information and using the interface layout mapping table.
[0098] The interface layout adjustment module is configured to retrieve the appropriate interface layout resource file based on the determined interface layout code, and adjust the layout of the human-computer interaction interface according to the retrieved interface layout resource file.
[0099] The examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the content disclosed in Embodiment 1 above. It should be noted that the above modules, as part of the system, can be executed in a computer system such as a set of computer-executable instructions.
[0100] The descriptions of each embodiment in the above embodiments have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0101] The proposed system can be implemented in other ways. For example, the system embodiments described above are merely illustrative, and the division of modules described above is only a logical functional division. In actual implementation, there may be other division methods. For example, multiple modules may be combined or integrated into another system, or some features may be ignored or not executed.
[0102] Example 3
[0103] This embodiment provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps in the human-computer interaction interface adjustment method for power office software as described in Embodiment 1 above.
[0104] Example 4
[0105] This embodiment provides a computer terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the steps in the human-computer interaction interface adjustment method for power office software as described in Embodiment 1 above.
[0106] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage) containing computer-usable program code.
[0107] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems, terminals), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0108] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0109] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0110] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.
[0111] While the specific embodiments of the present invention have been described above in conjunction with the accompanying drawings, this is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art without creative effort based on the technical solutions of the present invention are still within the scope of protection of the present invention.
Claims
1. A method for adjusting the human-computer interaction interface of power office software, characterized in that: include: The pending inspection orders are retrieved and parsed to obtain the inspection order identification information, which is the inspection type identifier. Retrieve the interface layout mapping table, which contains the mapping relationship between inspection order identifiers and interface layout codes; when a new inspection task is added or the inspection requirements are changed, update the new inspection task or the changed inspection requirements and the corresponding interface layout codes to the interface layout mapping table. Based on the mapping relationship between different inspection order identifiers and their corresponding interface layout codes, the interface layout mapping table is pre-configured. Based on the inspection order identification information, the interface layout code suitable for the current inspection order to be processed is obtained using the interface layout mapping table, specifically: Based on the inspection order identification information, the corresponding interface layout code is obtained using the interface layout mapping table. Determine whether the obtained interface layout code is consistent with the interface layout code in the local storage area; If they match, the feedback interface has been loaded; Conversely, it executes to retrieve the appropriate interface layout resource file based on the determined interface layout code; The appropriate interface layout resource file is retrieved based on the determined interface layout code, and the layout of the human-computer interaction interface is adjusted according to the retrieved interface layout resource file, specifically as follows: Based on the determined interface layout code, query the database for the corresponding interface layout resource file; Load the retrieved interface layout resource files; Use a front-end framework to build the basic interface framework; Based on the loaded interface layout resource file, place the interface elements into the basic interface framework according to the specified layout. Based on the size and position information defined in the interface layout resource file, adjust the size and position of the interface elements to obtain the adjusted human-computer interaction interface layout. After obtaining the adjusted human-computer interaction interface layout, the interface layout code that is adapted to the current inspection order to be processed will be cached in the local storage area and overwritten with the previous interface layout code. The layout of the human-computer interaction interface is dynamically adjusted based on the order identification information, so that the interface layout is closely related to the inspection task. At the same time, the adjustment of the interface layout is based on the user's actual inspection needs, and can provide personalized interface display according to different inspection orders.
2. The method for adjusting the human-computer interaction interface of power office software as described in claim 1, characterized in that, The process of obtaining and parsing the pending inspection orders to obtain the inspection order identification information is as follows: Obtain pending inspection orders and perform format recognition; The appropriate parsing tool is retrieved based on the identified format of the inspection order to be processed; Based on the data structure of the inspection orders to be processed, the inspection order identification information is extracted using a suitable parsing tool.
3. The method for adjusting the human-computer interaction interface of power office software as described in claim 1, characterized in that, The database stores interface layout resource files corresponding to each interface layout code. The interface layout resource file defines the specific layout, style, and element attributes of the interface.
4. A human-computer interaction interface adjustment system for power office software, characterized in that: include: The order identifier acquisition module is configured to acquire pending inspection orders, parse them, and obtain inspection order identifier information, which is an inspection type identifier. The mapping table retrieval module is configured to retrieve the interface layout mapping table, which contains the mapping relationship between inspection order identifiers and interface layout codes. When a new inspection task is added or the inspection requirements are changed, the new inspection task or the changed inspection requirements and the corresponding interface layout codes are updated in the interface layout mapping table. Based on the mapping relationship between different inspection order identifiers and their corresponding interface layout codes, the interface layout mapping table is pre-configured. The interface layout encoding adaptation module is configured to obtain the interface layout encoding for the current inspection order based on the inspection order identifier information using the interface layout mapping table. Specifically: Based on the inspection order identification information, the corresponding interface layout code is obtained using the interface layout mapping table. Determine whether the obtained interface layout code is consistent with the interface layout code in the local storage area; If they match, the feedback interface has been loaded; Conversely, it executes to retrieve the appropriate interface layout resource file based on the determined interface layout code; The interface layout adjustment module is configured to retrieve the appropriate interface layout resource file based on the determined interface layout code, and adjust the layout of the human-computer interaction interface according to the retrieved interface layout resource file, specifically as follows: Based on the determined interface layout code, query the database for the corresponding interface layout resource file; Load the retrieved interface layout resource files; Use a front-end framework to build the basic interface framework; Based on the loaded interface layout resource file, place the interface elements into the basic interface framework according to the specified layout. Based on the size and position information defined in the interface layout resource file, adjust the size and position of the interface elements to obtain the adjusted human-computer interaction interface layout. After obtaining the adjusted human-computer interaction interface layout, the interface layout code that is adapted to the current inspection order to be processed will be cached in the local storage area and overwritten with the previous interface layout code. The layout of the human-computer interaction interface is dynamically adjusted based on the order identification information, so that the interface layout is closely related to the inspection task. At the same time, the adjustment of the interface layout is based on the user's actual inspection needs, and can provide personalized interface display according to different inspection orders.
5. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the steps in the method for adjusting the human-computer interaction interface of power office software as described in any one of claims 1-3.
6. A computer terminal, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps in the method for adjusting the human-computer interaction interface of power office software as described in any one of claims 1-3.
Citation Information
Patent Citations
Method, apparatus, electronic device and computer-readable medium for automatically generating interface
CN109101304A