Human-computer interface custom configuration method based on domestic real-time operating system software

CN119938037APending Publication Date: 2025-05-06CSSC SYST ENG RES INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411957905.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

The existing domestic real-time operating system software human-computer interface lacks flexibility and customization and cannot meet users' personalized needs.

Method used

It provides a custom configuration method for human-machine interface based on domestic real-time operating systems, including providing default layout and styles at the application layer, layer settings and layout adjustments, adopting streaming layout, saving it as an XML or JSON file after user configuration, and performing resource management optimization and real-time performance guarantee.

Benefits of technology

It realizes personalized configuration of the human-computer interface, ensures a balance between real-time performance and user interface, has cross-platform compatibility and user-friendliness, and simplifies the customization process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119938037A_ABST
    Figure CN119938037A_ABST
Patent Text Reader

Abstract

The invention discloses a human-computer interface custom configuration method based on domestic real-time operating system software, and relates to the field of computer human-computer interaction. The method comprises the following steps: step 1, providing default layout and style in an application layer based on a domestic operating system; step 2, layer setting and layout adjustment between elements of the same layer; step 3, setting an optimized interface layout method by adopting a streaming layout; and step 4, after the user completes interface configuration, the system stores parameters in a configuration file. The invention provides a novel user-defined configuration method which comprises the steps of interface element recognition, user input analysis, interface layout dynamic adjustment and the like, personalized configuration and use of a human-computer interface are achieved through the method, the balance between real-time performance and the user interface is achieved, and it is ensured that the user interface is improved while the high user-defined interface is improved. And the real-time performance of the system is not influenced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computer human-machine interaction, and in particular to a human-machine interface custom configuration method based on domestic real-time operating system software. Background Art

[0002] With the continuous development of national science and technology, a lot of research has been carried out in China around real-time operating system software. At present, there are many domestic real-time operating systems, such as Dao System, Tianmai System, Sairuide, etc., which have high reliability and real-time performance. The graphical interface of the SylixOS system supports common embedded graphics libraries, which is convenient for users to carry out graphics development in resource-constrained environments, and supports Qt and OpenGL on resource-rich platforms, reducing the workload of users' migration and meeting users' needs for using 3D on the SylixOS platform.

[0003] However, with the development of technology and users' pursuit of personalized experience, the demand for human-machine interface with fast and intuitive feedback is growing. The existing human-machine interface of domestic real-time operating system software generally lacks flexibility and has poor customization. Summary of the invention

[0004] In order to solve the problem that the human-machine interface configuration method in the prior art cannot meet the personalized needs of users, the present application provides a human-machine interface custom configuration method based on domestic real-time operating system software.

[0005] The present invention is achieved in that:

[0006] A method for customizing the human-machine interface configuration based on domestic real-time operating system software, including:

[0007] Follow these steps:

[0008] Step 1: Based on the domestic operating system, provide default layout and style at the application layer;

[0009] Step 2: Layer settings and layout adjustments between elements on the same layer;

[0010] Step 3: Use streaming layout to set an optimized interface layout method;

[0011] Step 4: After the user completes the interface configuration, the system saves the parameters into the configuration file;

[0012] Step 5: Resource management optimization and real-time performance guarantee.

[0013] Furthermore, the layout and style in step one refer to interface elements, and the interface elements include buttons, sliders, and text boxes.

[0014] Furthermore, the step one also includes: providing a file, the file is associated with the interface, and the human-machine operation interface is customized by operating the file.

[0015] Furthermore, the layout adjustment method between the elements in step 2 is as follows:

[0016] Set the layers from bottom to top according to user needs;

[0017] Different elements in the same layer have different relative positions. Once overlapping elements occur, the intersection conditions will also be different. During the adjustment, the overlap or overlap will be automatically cancelled.

[0018] When the user moves an interface module, all elements contained in a single module on the same layer move with it.

[0019] Furthermore, the configuration information in step 4 is saved as a file in XML or JSO format.

[0020] Furthermore, it also includes providing real-time visual feedback when adjusting interface elements to ensure that users can intuitively see the changes in the interface.

[0021] Furthermore, the domestic operating system in step 1 supports the management and synchronization of multi-user configurations, allowing different users to load and apply their own configurations on different devices.

[0022] Furthermore, the resource management optimization in step 5 includes:

[0023] Dynamically adjust the allocation of CPU time, memory and other resources according to the priority and real-time requirements of the task to ensure that key tasks can obtain sufficient resources;

[0024] Adopt efficient memory management algorithms to reduce memory fragmentation, quickly allocate and recycle memory resources, and support dynamic creation and destruction of interface elements;

[0025] Load balancing: In a multi-core or distributed system, a load balancing mechanism is implemented to distribute custom configuration tasks to different processors or nodes, thereby improving the processing capacity of the overall system.

[0026] Furthermore, the real-time performance guarantee in step 5 includes:

[0027] Performance monitoring, a mechanism to implement real-time monitoring of system performance, including CPU usage and memory usage;

[0028] Exception handling: Design an exception handling process to automatically adjust task priority or resource allocation when performance bottlenecks or insufficient resources are detected;

[0029] Predictive scheduling uses a predictive scheduling algorithm to adjust task scheduling and resource allocation in advance based on user behavior and system load trends to meet possible performance requirements.

[0030] Compared with the prior art, the beneficial effects of the present invention are as follows: the present application proposes a new custom configuration method, including recognition of interface elements, parsing of user input, dynamic adjustment of interface layout, etc., and the above method realizes personalized configuration and use of the human-computer interface, and has a balance between real-time performance and user interface, ensuring that while improving the highly customized interface, the real-time performance of the system is not affected, and at the same time has cross-platform compatibility, the interface can maintain consistency and responsiveness on different hardware and software platforms, and is also user-friendly, simplifying the customization process, making it easy to access without professional knowledge, and effectively solving the problem in the prior art that the human-computer interface configuration method cannot meet the personalized needs of users. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0032] Figure 1 It is a flow chart of the configuration method of the present invention. DETAILED DESCRIPTION

[0033] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention.

[0034] Reference Figure 1 As shown, a method for customizing the configuration of a human-machine interface based on a domestic real-time operating system software includes the following steps:

[0035] Step 1: First, prepare the domestic operating system independently developed based on X86 and domestic CPUs such as Loongson, Shenwei, Zhongzhi, and Feiteng. Provide interface elements at the application layer, such as buttons, sliders, text boxes, etc., and retain their default layout and style. Provide a file, which is associated with the interface. By operating the file, users can configure the human-computer operation interface according to their own or the project team's ideas. Here, UiConfig is selected. json is used as the configuration file for modifying the UI interface. When operating, you can use the mouse and keyboard combination or peripherals such as touch screen to interact with the operating system.

[0036] Step 2: Set up layers and adjust the layout of elements on the same layer. The layout adjustment method is as follows: Set up layers from bottom to top according to user needs. Different elements on the same layer have different relative positions. Once overlapping elements occur, the intersection conditions will also be different. During the adjustment, element A and element B will be automatically cancelled if they overlap or overlap. When the user moves the interface module, the elements contained in a single module on the same layer will move with it. This principle reduces confusion when users customize modules.

[0037] Step 3: Use a fluid layout and use relative widths to define the size of elements instead of fixed pixel values, so that the elements on the page can adapt to the space.

[0038] Streaming layout is a popular interface layout, which is visually presented as a jagged multi-column layout. As the interface is scrolled down or pulled, the streaming layout continuously loads data and appends it to the current tail. For example: get at least one object to be displayed in the streaming layout (the object can be a picture, text, hyperlink or container, etc.), scroll down or pull the interface, and continuously load the objects to be displayed in the streaming layout. Streaming layout can be used when a large number of objects such as pictures, texts, and links need to be displayed at the same time, especially when the user triggers a large number of scrolling operations or pull-down operations. Streaming layout uses percentage width, so it can adapt to the user's resolution and is more user-friendly.

[0039] Currently, the client uses List to implement streaming layout. Long data can be displayed by only showing the data on the current screen each time, and reusing components to load new data during the sliding process. List components are relatively fixed, all in tables. The content in the unit can only be displayed after loading, and the style of each unit must be basically the same.

[0040] Step 4: After the user completes the interface configuration, the system saves the configuration information as a file in XML or JSON format for storage. The user can load and apply the previously saved configuration by selecting the file.

[0041] The system provides real-time visual feedback when users adjust interface elements, ensuring that users can intuitively see the changes in the interface. For example, after adjusting an element to a certain position, there will be a 3D-like placement effect.

[0042] The system must also support the management and synchronization of multi-user configurations, allowing different users to load and apply their own configurations on different devices.

[0043] Step 5: Resource management optimization and real-time performance guarantee.

[0044] Resource management optimization includes: dynamically adjusting resource allocation, adopting efficient memory management algorithms and load balancing, and dynamically adjusting the allocation of CPU time, memory and other resources according to the priority and real-time requirements of the task at runtime to ensure that critical tasks have sufficient resources.

[0045] It uses efficient memory management algorithms to reduce memory fragmentation, quickly allocate and recycle memory resources to support dynamic creation and destruction of interface elements. For example, it uses pooled memory allocation to reduce the overhead in the memory allocation and recycling process, as well as reduce memory fragmentation. It pre-allocates a large block of memory and divides it into fixed or variable-sized blocks for program use.

[0046] Traditional dynamic memory allocation requires frequent calls to malloc / free functions, which will generate a large amount of memory fragmentation. The pool-based memory allocation method can pre-allocate a memory area in the memory pool before the program runs, and then use an efficient memory management algorithm to allocate the memory, which can effectively reduce the generation of memory fragmentation and improve memory utilization. Compared with the traditional pool-based memory allocation method, the advantage of the dynamic memory allocation method proposed in the present invention is that it can significantly improve the search efficiency of the free memory block linked list, reduce the time consumption of memory application and recovery / release, and thus reduce memory fragmentation.

[0047] In a multi-core or distributed system, implement a load balancing mechanism to distribute custom configuration tasks to different processors or nodes to improve the processing power of the overall system.

[0048] Real-time performance assurance includes: performance monitoring, exception handling, and predictive scheduling. Performance monitoring can implement a mechanism to monitor system performance in real time, including CPU usage, memory usage, etc., so that timely measures can be taken when resources are tight.

[0049] By designing an exception handling process, when performance bottlenecks or insufficient resources are detected, task priorities or resource allocation can be automatically adjusted to avoid system crashes or response delays.

[0050] Predictive scheduling algorithms are used for predictive scheduling. According to user behavior and system load trends, task scheduling and resource allocation are adjusted in advance to meet possible performance requirements. Predictive scheduling algorithms use historical data and models to predict future system states, thereby making scheduling decisions in advance and optimizing system performance.

[0051] For example: MiS l ip algorithm, which adds a pre-matching process based on the three-step matching of the iS lip algorithm. Taking into account the correlation between two consecutive scheduling processes, by utilizing the effective information in the previous scheduling process, when specific conditions are met between the input and output ports, the matching results of this scheduling can be accurately predicted, thereby reducing the number of iterations of this matching process and improving the matching accuracy and performance of the iS lip algorithm.

[0052] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for customizing the human-machine interface configuration based on domestic real-time operating system software, characterized in that: The steps include: Step 1: Based on the domestic operating system, provide default layout and style at the application layer; Step 2: Layer settings and layout adjustments between elements on the same layer; Step 3: Use streaming layout; Step 4: After the user completes the interface configuration, the system saves the parameters into the configuration file; Step 5: Resource management optimization and real-time performance guarantee.

2. According to claim 1, a method for customizing the human-machine interface based on domestic real-time operating system software is characterized in that: The layout and style in step 1 refer to interface elements, which include buttons, sliders, and text boxes.

3. The method for customizing the human-machine interface based on a domestic real-time operating system software according to claim 1, characterized in that: The step 1 also includes: providing a file, the file is associated with the interface, and the human-machine operation interface is customized by operating the file.

4. The method for customizing the human-machine interface based on domestic real-time operating system software according to claim 3 is characterized in that: The layout adjustment method between elements in step 2 is as follows: Set the layers from bottom to top according to user needs; Different elements in the same layer have different relative positions. Once overlapping elements occur, the intersection conditions will also be different. During the adjustment, the overlap or overlap will be automatically cancelled. When the user moves an interface module, all elements contained in a single module on the same layer move with it.

5. The method for customizing the human-machine interface based on the domestic real-time operating system software according to claim 4 is characterized in that: The configuration information in step 4 is saved as a file in XML or JSO format.

6. The method for customizing the human-machine interface based on a domestic real-time operating system software according to claim 3 is characterized in that: It also includes providing real-time visual feedback when adjusting interface elements to ensure that users can intuitively see changes in the interface.

7. A method for customizing a human-machine interface based on a domestic real-time operating system software according to any one of claims 2 to 6, characterized in that: The domestic operating system in step 1 supports the management and synchronization of multi-user configurations, allowing different users to load and apply their own configurations on different devices.

8. The method for customizing the human-machine interface based on domestic real-time operating system software according to claim 1, characterized in that: The resource management optimization in step 5 includes: Dynamically adjust the allocation of CPU time, memory and other resources according to the priority and real-time requirements of the task to ensure that key tasks can obtain sufficient resources; Adopt efficient memory management algorithms to reduce memory fragmentation, quickly allocate and recycle memory resources, and support dynamic creation and destruction of interface elements; Load balancing: In a multi-core or distributed system, a load balancing mechanism is implemented to distribute custom configuration tasks to different processors or nodes, thereby improving the processing capacity of the overall system.

9. The method for customizing the human-machine interface based on a domestic real-time operating system software according to claim 1, characterized in that: The real-time performance guarantee in step 5 includes: Performance monitoring, a mechanism to implement real-time monitoring of system performance, including CPU usage and memory usage; Exception handling: Design an exception handling process to automatically adjust task priority or resource allocation when performance bottlenecks or insufficient resources are detected; Predictive scheduling uses a predictive scheduling algorithm to adjust task scheduling and resource allocation in advance based on user behavior and system load trends to meet possible performance requirements.