A user interface generation system, method, apparatus, and medium
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-04-28
- Publication Date
- 2026-08-14
AI Technical Summary
[0002]随着科技的发展,各类智能中控设备与交互场景日益丰富,传统中控系统多采用固定硬件搭配固化软件的设计模式,硬件模块与界面控件、驱动程序高度绑定,无法根据实际使用需求灵活更换或增减功能模块,导致整体系统使用灵活性与用户交互体验均难以满足多样化、便捷化的现代使用需求
本发明公开了一种用户界面生成系统、方法、设备和介质,可以通过设置带有触摸屏的底座以及可拆卸安装于底座的功能模块,并利用底座内的主控芯片基于功能模块的驱动程序驱动功能模块,最终在触摸屏的图形化界面中完成控件显示,能够打破传统中控系统硬件模块与界面控件、驱动程序高度绑定的局限,实现功能模块的灵活拆装与自由增减,无需对系统软件进行固化修改或手动复杂配置,即可快速适配不同功能模块的接入与使用,提升了整个用户界面生成系统的扩展性与使用灵活性,同时可自动生成适配对应功能模块的图形化交互界面,简化用户操作流程,有效提升用户交互体验,更好地满足现代智能家居设备使用需求。
Smart Images

Figure CN122570053A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of smart home system technology, and in particular to a user interface generation system, method, device and medium. Background Technology
[0002] With the development of technology, various intelligent central control devices and interactive scenarios are becoming increasingly diverse. Traditional central control systems mostly adopt a design pattern of fixed hardware and fixed software. Hardware modules, interface controls, and drivers are highly bound together, making it impossible to flexibly replace or add or remove functional modules according to actual usage needs. As a result, the overall system's flexibility and user interaction experience are difficult to meet the diverse and convenient modern usage needs. Summary of the Invention
[0003] In view of the above problems, embodiments of the present invention are proposed to provide a user interface generation system, method, apparatus and medium that overcomes or at least partially solves the above problems.
[0004] In a first aspect, embodiments of the present invention provide a user interface generation system, comprising: Base; A touchscreen is mounted on the base; At least one functional module is detachably mounted on the base; The base includes a main control chip, which is used to drive the functional module based on the driver program of the functional module and display the controls of the functional module in the graphical user interface of the touch screen.
[0005] Optionally, the main control chip is further configured to read the description file of the functional module when the functional module is first connected, load the driver program corresponding to the functional module according to the description file, and load the controls of the functional module.
[0006] Optionally, the description file includes a device identifier; the main control chip is used to query the corresponding control from the user interface component library according to the device identifier, and load the control of the functional module.
[0007] Optionally, the main control chip is used to determine the display position and display style of the control on the graphical interface; and to display the control of the functional module in the graphical user interface of the touch screen according to the display position and display style of the control.
[0008] Optionally, the main control chip is used to obtain the layout mode of the control in the graphical interface; and determine the display position of the control in the graphical user interface according to the layout mode.
[0009] Optionally, the main control chip is used to obtain the position information of the functional module on the base, and determine the display position of the control on the graphical interface based on the position information.
[0010] Optionally, the functional module is provided with a contact pin, and the base is provided with a metal contact array. When the functional module is installed on the base, the contact pin of the functional module is electrically connected to the metal contact array.
[0011] Optionally, the functional module is magnetically connected to the base.
[0012] Optionally, the base is provided with a slide rail structure, and the functional module is magnetically connected to the slide rail structure.
[0013] Optionally, the main control chip is also used to update the graphical user interface when it detects the insertion or removal of the target functional module.
[0014] Optionally, the functional module is at least one of a light switch module, a temperature control knob module, a camera module, a voice assistant module, a touch screen module, or a sensor module.
[0015] Secondly, the present invention also discloses a user interface generation method, applied to the aforementioned user interface generation system, comprising: Read the description file of the functional modules that are initially connected to the dock; According to the description file, load the driver program corresponding to the functional module, and load the control of the functional module; The controls for the functional modules are displayed in the graphical user interface of the touchscreen.
[0016] Thirdly, the present invention also discloses a smart home central control device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; When a processor executes a program stored in memory, it implements the steps of the user interface generation method described above.
[0017] Fourthly, the present invention also discloses a computer-readable storage medium having a computer program stored thereon, characterized in that the program, when executed by a processor, implements the steps of the user interface generation method described above.
[0018] The embodiments of the present invention have the following advantages: This invention discloses a user interface generation system, method, device, and medium. It utilizes a base with a touchscreen and detachable functional modules mounted on the base. The main control chip within the base drives the functional modules based on their drivers, ultimately displaying the controls in a graphical interface on the touchscreen. This breaks the limitations of traditional central control systems where hardware modules, interface controls, and drivers are highly bound together. It allows for flexible assembly, disassembly, and addition / removal of functional modules without requiring fixed modifications or complex manual configurations. It quickly adapts to the access and use of different functional modules, enhancing the scalability and flexibility of the entire user interface generation system. Furthermore, it automatically generates graphical interactive interfaces adapted to the corresponding functional modules, simplifying user operation processes, effectively improving the user experience, and better meeting the needs of modern smart home devices. Attached Figure Description
[0019] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without any creative effort.
[0020] Figure 1 This is a structural block diagram of a user interface generation system provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of a base provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of a functional module provided in an embodiment of the present invention; Figure 4 This is a schematic diagram of the configuration process of a user interface generation system provided in an embodiment of the present invention; Figure 5 This is a flowchart of the steps of a user interface generation method provided in an embodiment of the present invention. Detailed Implementation
[0021] 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, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0022] The terms "first," "second," etc., used in the specification and claims of this invention are used to distinguish similar objects and are not used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention can be implemented in orders other than those illustrated or described herein. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0023] One of the core concepts of this invention is that by setting a base with a touch screen and detachable functional modules installed on the base, and using the main control chip in the base to drive the functional modules based on the driver programs of the functional modules, the control display is completed in the graphical interface of the touch screen. This breaks the limitation of the traditional central control system where hardware modules, interface controls, and drivers are highly bound together, enabling flexible assembly and disassembly and free addition and removal of functional modules. It does not require fixed modifications to the system software or complex manual configuration, and can quickly adapt to the access and use of different functional modules, improving the scalability and flexibility of the entire user interface generation system. At the same time, it can automatically generate graphical interactive interfaces adapted to the corresponding functional modules, simplifying the user operation process, effectively improving the user interaction experience, and better meeting the needs of modern intelligent central control.
[0024] Reference Figure 1 This illustration shows a user interface generation system provided by an embodiment of the present invention, comprising: Base 101.
[0025] In this embodiment of the invention, the base 101 serves as the core support and control body of the entire user interface generation system. It can provide a physical installation support structure for other components such as the touch screen 102 and functional modules 103, enabling stable assembly of the touch screen and detachable installation of at least one functional module. This ensures the stability of the overall system structure and the convenience of module assembly and disassembly. It also integrates a main control chip, which undertakes the functions of data processing, program scheduling, and hardware coordination.
[0026] It should be noted that the base 101 can be a standard 86 / 118 type base box embedded in the wall, which can integrate power supply, communication bus and contact array.
[0027] Touch screen 102 is mounted on base 101.
[0028] In this embodiment of the invention, the touchscreen 102 serves as the system's human-computer interaction and visualization display module, fixedly mounted on the base. On one hand, it performs the display function of a graphical user interface, receiving functional module control data transmitted from the main control chip within the base, and presenting the loaded functional module controls to the user in an intuitive graphical interface format. This allows the user to clearly view the operation controls corresponding to different functional modules, providing a foundation for a visual interactive interface. On the other hand, it possesses touch interaction functionality, allowing users to trigger, select, and adjust various functional controls displayed on the interface through touch operations. The user's operation commands are converted into electrical signals and transmitted to the main control chip in the base. Simultaneously, it can adapt to the differentiated interface control layouts and display styles corresponding to different functional modules, dynamically updating the interface content in conjunction with the main control chip. This allows for adaptation to the interface display requirements of different modules without manual modification of the display program, improving the convenience and intuitiveness of human-computer interaction.
[0029] At least one functional module 103 is detachably mounted on the base 101; In this embodiment of the invention, the functional module 103, as an expandable function execution unit, is detachably installed on the base 101. Different types of functional modules can be flexibly replaced or added / removed according to actual usage needs to expand the application scenarios and functional scope of the system. Each functional module has a corresponding description file, which records key information such as its own module function type, driver information, control parameters, and functional attributes. When the functional module is assembled on the base, it can provide identification basis for the main control chip of the base, enabling the main control chip to read its description file to complete identity recognition and information acquisition. At the same time, after the corresponding driver is loaded on the base, the functional module can establish a stable communication connection with the system, execute its corresponding functional tasks, and receive user operation instructions through the dedicated control loaded on the touch screen, respond to interactive operations and realize corresponding functional output. The detachable installation method allows it to be independently disassembled for maintenance or replacement and upgrade without affecting the main structure of the base and the touch screen, allowing the system to flexibly adapt to diverse functional requirements.
[0030] The base includes a main control chip, which is used to drive the function module 103 based on the driver program of the function module 103 and display the controls of the function module 103 in the graphical user interface of the touch screen 102.
[0031] In this embodiment of the invention, the main control chip, as the control and processing unit of the user interface generation system, can call and load the driver program matched with the functional module 103, and drive the functional module 103 based on the driver program.
[0032] After the main control chip drives the functional modules based on the driver program, it can complete the drawing and output of the graphical user interface, parse and generate the interactive controls corresponding to the functional module 103, and push the interface screen containing various operation controls and status display content to the touch screen 102 in real time for visualization.
[0033] In one embodiment of the present invention, the main control chip is further configured to read the description file of the functional module when the functional module is first connected, and load the driver program corresponding to the functional module and the controls of the functional module according to the description file.
[0034] In this embodiment of the invention, the description file of the functional module is a configuration file stored within the functional module. It is used to identify the identity of the functional module, record key data such as driver information, control parameters, and functional attributes. It serves as the basis for the main control chip to identify the functional module, load the driver and control, and generate the corresponding graphical interface.
[0035] When a functional module is first connected to the dock, the main control chip can detect the module, read its built-in description file, parse and process the file to identify and confirm the module's type. Then, based on the parsed description file information, it calls and loads the corresponding driver for the module, completing hardware adaptation and communication protocol matching between the system and the module. This ensures the module can be correctly recognized and run stably. Simultaneously, it loads the module's dedicated interactive controls based on the description file, processes the control data, and transmits it to the touchscreen. This controls the touchscreen's graphical user interface to generate and display the corresponding functional module's controls. It can also receive user touch commands from the touchscreen, converting them into control signals and transmitting them to the corresponding functional module, enabling control of the module. The entire process of driver loading and interface generation is automated, requiring no manual configuration or modification of the system program. This breaks the limitations of hardware-software bonding and improves the system's flexibility and adaptability.
[0036] It should be noted that when a functional module is not being connected for the first time, such as when waking the functional module from a dormant state, there is no need to load the driver and control again. It can be started directly and the control instance already built in memory can be called directly to display the control.
[0037] This invention discloses a user interface generation system. By setting up a base with a touchscreen and detachable functional modules mounted on the base, and utilizing the main control chip within the base to first read the description file of the functional module, the system automatically loads the corresponding driver and functional controls based on the description file. Finally, the controls are displayed in the graphical interface of the touchscreen. This system breaks the limitations of traditional central control systems where hardware modules, interface controls, and drivers are highly bound together. It enables flexible assembly and disassembly of functional modules and free addition and removal, without requiring fixed modifications to the system software or complex manual configuration. It can quickly adapt to the access and use of different functional modules, improving the scalability and flexibility of the entire user interface generation system. Simultaneously, it can automatically generate graphical interactive interfaces adapted to the corresponding functional modules, simplifying user operation processes, effectively improving the user interaction experience, and better meeting the needs of modern intelligent central control systems.
[0038] In one embodiment of the present invention, the description file includes a device identifier; a main control chip is used to query the corresponding control from the user interface component library based on the device identifier and load the control of the functional module. In this embodiment of the present invention, In this embodiment of the invention, after the detachable functional module is installed on the base, the main control chip inside the base reads the description file carried inside the connected functional module, parses and extracts the unique device identification information. This device identification serves as the identity ID of the functional module and records key index information such as the type and functional attributes of the functional module. Then, based on the extracted device identification, the main control chip queries a pre-built user interface component library. This component library pre-stores standardized interactive control prototypes and configuration parameters corresponding to various functional modules. After completing the query and matching, the main control chip directly retrieves the adapted control resources from the component library, automatically loads the interactive control specific to the functional module, and adapts and debugs the display layout and function triggering logic of the control according to the characteristics of the functional module. Finally, the loaded control data is transmitted to the touch screen, and the touch screen is controlled to dynamically generate and clearly display the operation control corresponding to the functional module in the graphical user interface, realizing one-click automatic matching between the user interface and the functional module without manual intervention or additional interface development and configuration.
[0039] This invention introduces a collaborative mechanism between device identifiers and user interface component libraries, enabling automated retrieval and loading of functional module controls. This reduces the development and adaptation costs of the central control system, eliminates the need for separate interface code writing and debugging for each newly integrated functional module, and ensures the standardization and uniformity of the interface display when different functional modules are integrated into the system. This improves the deployment efficiency of the user interface generation system and enhances the overall system's flexibility and user interaction experience.
[0040] In one embodiment of the present invention, the main control chip is used to determine the display position and display style of the control in the graphical interface; and to display the control of the functional module in the graphical user interface of the touch screen according to the display position and display style of the control.
[0041] In this embodiment of the invention, after the functional module is connected to the base and the corresponding control is loaded by the main control chip, the main control chip can further combine the attributes of the functional module, the control type, and the preset interface layout rules to process the arrangement logic of the loaded control in the graphical user interface, determine the specific display position of each control on the touch screen interface, and determine the display style of the control according to the operation logic, interaction priority, and interface aesthetic requirements of the functional module, including parameters such as size, color matching, icon shape, and border style. Then, the main control chip integrates the determined display position and display style information with the data of the control itself, and transmits the relevant data to the touch screen according to the predetermined interface rendering logic, driving the touch screen to present the control adapted to the functional module in the corresponding area of the graphical user interface, so that the control is displayed to the user in a clear and interactive manner, completing the entire process of adapting the interface control rendering and display.
[0042] This process enables automated layout and style adaptation of control display, eliminating the need for manual adjustment of interface parameters. It makes the control display more in line with functional requirements and operating habits, effectively improving the aesthetics and interactive rationality of the interface.
[0043] In one embodiment of the present invention, the main control chip is used to acquire the layout mode of the control in the graphical interface; and determine the display position of the control in the graphical user interface according to the layout mode.
[0044] In this embodiment of the invention, the main control chip in the base can read and obtain the graphical interface layout mode of the adapted functional module. The layout mode can be a preset standard layout, an adaptive layout, or a dedicated layout that matches the type of functional module. It can include layout-related information such as the arrangement rules of controls, area division, and alignment. Based on the logic and constraints specified by the obtained layout mode, the main control chip performs comprehensive calculations and allocations in combination with factors such as the type, quantity, and interaction priority of each functional control. This accurately determines the specific display position of each control in the graphical user interface of the touch screen, ensuring that the controls are arranged in an orderly manner according to a unified and standardized layout logic, and providing an accurate positional basis for rendering and displaying controls on the interface.
[0045] This invention automatically determines the position of controls through layout patterns, achieving standardization and automation of interface control arrangement, avoiding clutter and disorder, improving interface cleanliness and ease of use, while simplifying the interface configuration process and enhancing the efficiency of interface layout when the system adapts to different functional modules.
[0046] In one embodiment of the present invention, the main control chip is used to obtain the position information of the functional module on the base, and determine the display position of the control on the graphical interface based on the position information.
[0047] In this embodiment of the invention, after the functional module is detachably installed on the base, the main control chip inside the base can first initiate a position detection process to obtain the actual installation position information of the functional module on the base. This position information may include key data such as the specific coordinates of the functional module in the installation area of the base, the installation slot number, and the relative placement orientation. The main control chip reads this information through the position detection unit built into the base. After obtaining the position information, the main control chip can map and match the physical position information with the coordinate system of the touch screen graphical user interface to establish a correspondence between the physical installation position and the interface display position. According to the preset mapping rules, the physical position of the functional module is converted into specific display coordinates on the interface, thereby determining the display position of the control corresponding to the functional module in the graphical user interface. This ensures that the display position of the control is consistent with the physical installation position of the functional module, providing users with an intuitive operation correspondence. The entire process requires no manual intervention; the main control chip automatically completes the position information acquisition, mapping and matching, and display position determination, achieving synchronous linkage between physical installation and interface display.
[0048] In one example, suppose the base has four evenly distributed functional module mounting slots, numbered 1, 2, 3, and 4 from left to right, corresponding to the four control display areas on the touchscreen graphical interface from left to right. When the user installs the speaker module into slot 2 of the base, the main control chip immediately detects the speaker module's position information (slot 2, corresponding to the second mounting position on the left side of the base). It then maps this position information to the interface coordinates to determine that the control corresponding to the speaker module is displayed in the second area from left to right on the interface. If the user removes the speaker module and reinstalls it into slot 4 of the base, the main control chip will re-acquire its position information (slot 4) and synchronously adjust the control display position, moving the speaker control to the fourth area from left to right on the interface. This ensures that the control display position always corresponds one-to-one with the physical mounting position of the module, allowing the user to quickly locate and operate the corresponding functional module.
[0049] This invention links the physical installation location of functional modules with the display location of interface controls, making the control display more intuitive. Users can quickly locate the functional modules on the base by the position of the interface controls, reducing the difficulty of operation and minimizing misoperation. At the same time, it simplifies the configuration process of the system interface, improves the convenience and intuitiveness of system interaction, and further enhances the system's flexibility and user experience.
[0050] In one embodiment of the present invention, the main control chip is configured to: when the layout mode is a first layout mode, the display position of the control in the graphical user interface corresponds to the installation position of the functional module on the base; when the layout mode is a second layout mode, determine the display position of the control in the graphical user interface based on the usage frequency of the functional module; and when the layout mode is a third layout mode, display the first functional control of the functional module in the main display area of the graphical user interface, and display the second functional control of the functional module in a preset extended area of the graphical user interface.
[0051] In this embodiment of the invention, when the layout mode is the first layout mode, the main control chip can obtain the actual installation position information of each functional module on the base in real time, and map and associate this installation position information with the coordinate area in the graphical interface of the touch screen, so that the display position of the control corresponding to each functional module on the interface is in a one-to-one correspondence with its physical installation position on the base, realizing synchronous matching between physical position and interface control position; when the layout mode is switched to the second layout mode, the main control chip can count and record the historical usage frequency data of each functional module, and prioritize the display position of the control according to the sorting rule of usage frequency from high to low. The layout places frequently used functional module controls in the core area of the interface for easier operation and greater visibility, while less frequently used controls are arranged in secondary areas. When the layout mode is the third layout mode, the main control chip can display the core and main function controls of the functional modules installed on the base in the main display area of the graphical user interface according to their physical installation position. For the other functions that are relatively minor and not frequently used in the functional modules, they are integrated and displayed in the preset extended area of the interface or the function menu bar in the form of virtual buttons, so as to achieve both intuitive operation of core functions and convenient access to other functions.
[0052] For example, the base is equipped with three functional modules from left to right: a lighting module, an air conditioning module, and a security module. In the first layout mode, the lighting, air conditioning, and security controls on the touchscreen interface will also be arranged from left to right, perfectly corresponding to the actual installation positions of the modules. After switching to the second layout mode, if the user frequently uses the lighting module and infrequently uses the security module, the interface will place the lighting control in a prominent position in the center of the interface, followed by the air conditioning control, and the security control at the edge. In the third layout mode, the main area of the interface only displays the main functional controls such as the on / off switch and brightness adjustment of the lighting module, the on / off switch of the air conditioning module, and the monitoring video function of the security module. Other functions such as color temperature adjustment and scene modes are presented through the "More Settings" virtual button of the lighting module, the temperature adjustment function and timer function of the air conditioning module, and the viewing historical video and recording function of the security module. Users can click the corresponding button to expand and view the remaining functions without having to pile up too many controls on the main interface.
[0053] This invention can adapt to multiple layout modes, taking into account the intuitiveness of physical location, ease of operation and completeness of functions, so that the layout of interface controls is more in line with different usage scenarios and user habits, significantly improving interaction efficiency and user experience.
[0054] In one embodiment of the present invention, the functional module is provided with a contact pin, and the base is provided with a metal contact array. When the functional module is installed on the base, the contact pin of the functional module is electrically connected to the metal contact array.
[0055] In this embodiment of the invention, in order to achieve stable communication, data transmission and power supply between the functional module and the base, the functional module is provided with a contact pin, and correspondingly, the base is provided with a metal contact array. The layout of the metal contact array matches the position of the contact pin of the functional module, and each metal contact is electrically connected to the main control chip and related circuits inside the base.
[0056] like Figure 2 The diagram shows a base according to an embodiment of the present invention, on which a metal contact array 1011 is provided. Figure 3 The diagram shows a schematic of a functional module provided in an embodiment of the present invention. The functional module is equipped with a stylus 1031 and is a temperature control module.
[0057] When the user detachably installs the functional module to the corresponding mounting position on the base, the pins on the functional module will dock with the metal contact array on the base and establish an electrical connection. This connection not only provides stable operating power to the functional module, but also establishes a signal transmission channel between the functional module and the main control chip on the base. At this time, the main control chip can quickly read the description file built into the functional module through this electrical connection channel, and at the same time obtain the position information of the functional module on the base. Different contacts of the metal contact array correspond to different mounting positions on the base. The main control chip can determine the actual installation position of the functional module by identifying the specific metal contacts that are in contact with the pins, and then map and match the display position of the control in the touch screen graphical interface according to the position information, laying the foundation for subsequent control loading, interface display and user interaction. In addition, this electrical connection method can also ensure the signal stability when the main control chip loads the functional module driver and transmits control display data, ensuring the efficient and smooth operation of the entire system.
[0058] This invention enables rapid docking, stable communication, and power supply between functional modules and the base through electrical connection between the stylus and the metal contact array. This simplifies the installation of functional modules and ensures that the main control chip can accurately obtain module location information and description files, providing reliable hardware support for determining the control display position and dynamically generating the interface. At the same time, it improves the stability of system connection and the smoothness of interaction, further optimizing the user experience.
[0059] In one embodiment of the present invention, the functional module is magnetically connected to the base.
[0060] In this embodiment of the invention, the functional module and the base can be assembled by magnetic connection. The functional module and the base are respectively provided with mutually cooperating magnetic structures, and the two can be quickly connected and reliably fixed by magnetic attraction.
[0061] When the user brings the functional module close to the corresponding mounting area on the base, the module automatically aligns and adheres to the base under magnetic attraction, eliminating the need for additional clips or screws, making assembly and disassembly simpler and faster. Simultaneously, the magnetic connection ensures the functional module remains stable during normal use, preventing it from loosening or falling off. It also provides stable contact pressure between the pins on the functional module and the metal contact array on the base, ensuring reliable electrical connection. This allows the main control chip to reliably acquire the functional module's location information and description file, enabling data interaction. This not only improves the ease of assembly and disassembly of the functional module but also ensures the stability of hardware connections and signal transmission, further optimizing the user experience and reliability of the entire user interface generation system.
[0062] In one embodiment of the present invention, the functional module and the base can also be connected via a wireless communication link. For example, the functional module and the base can be connected via Bluetooth, Wi-Fi, or other methods, and the specific method can be configured according to user needs.
[0063] In one example, during the initial pairing of a functional module and a base that require wireless connectivity, the functional module and base can be paired via NFC (Near Field Communication).
[0064] Specifically, components for NFC pairing can be set in the functional module and the base respectively. The functional module and the base trigger NFC sensing and identification by close contact. The devices automatically complete the initial pairing operations such as identity verification, device information, and profile exchange, and quickly complete the basic binding of the wireless communication channel. After pairing, the functional module and the base can work together normally by relying on the wireless communication link.
[0065] In one embodiment of the present invention, the base is provided with a slide rail structure, and the functional module is magnetically connected to the slide rail structure.
[0066] In embodiments of the present invention, such as Figure 2 The base is equipped with a slide rail structure 1012. The base can also be equipped with a slide rail structure. The functional module can be assembled and connected to the base through the slide rail structure. At the same time, the functional module and the slide rail structure are fixed by magnetic attraction.
[0067] During assembly, the functional module can slide along the slide rail structure to the target installation position. The slide rail structure guides and limits the functional module, ensuring smooth movement and accurate positioning. Once the functional module has slid to the designated position, it is magnetically attracted to the slide rail structure, achieving rapid fixation and reliable positioning. This allows users to flexibly adjust the installation position of the functional module on the base according to their needs, while preventing the functional module from shifting or falling off during use. At the same time, it provides stable and reliable contact conditions between the pins on the functional module and the metal contact array on the base, ensuring that the main control chip can accurately identify the installation position of the functional module and perform normal data interaction. Furthermore, it dynamically updates the display position of the control in the graphical interface based on the adjusted installation position, improving the overall flexibility, ease of use, and connection stability of the system.
[0068] In one embodiment of the present invention, the main control chip is further configured to update the graphical user interface when the insertion or removal of the target functional module is detected.
[0069] In this embodiment of the invention, when a target functional module on the base is inserted or removed, the main control chip inside the base can sense the hardware status change in real time through a metal contact array or a magnetically coupled detection circuit. It immediately rescans and identifies the currently connected functional module. When a target functional module is detected being inserted, the main control chip can read its description file, load the corresponding driver and controls, and determine the control display position based on the module's installation location or layout mode. The newly added functional module controls are then synchronously added to the graphical user interface of the touchscreen. When a target functional module is detected being removed, the main control chip can promptly unregister the driver corresponding to that module and remove or disable the controls corresponding to that functional module in the graphical user interface. This achieves dynamic refreshing and real-time updating of the graphical user interface, ensuring that the displayed content remains highly consistent with the actual state of the functional modules installed on the base.
[0070] For example, when a user inserts a curtain control module into the base rail, the main control chip detects the insertion action and immediately displays the relevant controls for opening and closing the curtains, adjusting them, etc., on the corresponding position on the touch screen interface. If the user pulls the curtain module out of the rail, the corresponding curtain controls on the interface will disappear immediately after the main control chip detects the pulling action, ensuring that the interface display always perfectly matches the actual installed function module.
[0071] This invention enables real-time dynamic updates of the graphical user interface as functional modules are plugged in and out, ensuring that the interface is synchronized with the hardware status. It eliminates the need to restart the system or perform manual configuration, significantly improving system response speed and user interaction consistency.
[0072] In one embodiment of the present invention, the functional module is at least one of a light switch module, a temperature control knob module, a camera module, a voice assistant module, a touch screen module, or a sensor module.
[0073] In this embodiment of the invention, the functional modules are flexibly selectable modular units, specifically at least one of the following: a light switch module, a temperature control knob module, a camera module, a voice assistant module, a touch screen module, or a sensor module. Different types of functional modules correspond to different business functions and interaction modes. The light switch module can realize the switching on and off of the lighting circuit and the adjustment of brightness; the temperature control knob module is used for temperature setting and operating condition adjustment; the camera module is responsible for image acquisition and visual monitoring; the voice assistant module realizes voice recognition and voice interaction control; the touch screen module can serve as an extended interaction unit to provide an additional operating interface; and the sensor module can collect various environmental data such as ambient temperature and humidity, human body sensing, and light intensity. Each type of module has a built-in corresponding description file, and after being inserted into the base, they can all be automatically recognized by the main control chip and have their corresponding controls loaded. This allows the system to freely combine functions according to actual usage scenarios to meet diverse intelligent control and interaction needs.
[0074] In one embodiment of the present invention, the main control chip is further configured to acquire the display style of the graphical user interface selected by the user for the functional module, and adjust the font size, color contrast and control size in the graphical user interface according to the display style.
[0075] In this embodiment of the invention, during system operation, the main control chip can also receive and respond to user operation commands, and obtain the display style of the graphical user interface corresponding to the functional module selected by the user. The display style includes the user's personalized setting requirements for the interface presentation effect. After obtaining the selected display style, the main control chip adaptively adjusts the relevant display attributes of the graphical user interface on the touch screen according to the configuration parameters corresponding to the style. Specifically, this may include enlarging or reducing the font size in the interface, optimizing and adjusting the color contrast of interface elements to improve recognizability, and adapting and changing the size of the controls corresponding to the functional module so that the operation area and visual effect of the controls are more in line with the user's usage habits and visual needs. Through the above dynamic adjustment method, the graphical user interface can further match the user's personalized visual and operation preferences on the basis of loading the functional module controls.
[0076] In one example, after a user selects a simplified display style with high contrast, large font, and large controls on the main interface, the main control chip obtains the style setting and then adjusts the current interface by enlarging the font of the controls in the light switch module and the temperature control knob module, increasing the size of the controls, and improving the color contrast between the text and the background, making the overall interface clearer and easier to operate, and meeting the visual and operational needs of different users.
[0077] This invention enables personalized customization of the graphical interface display style, allowing flexible adjustment of font, color scheme, and control size, effectively improving interface readability, operational comfort, and user experience.
[0078] like Figure 4 This diagram illustrates the configuration process of a user interface generation system provided by an embodiment of the present invention. Using an 86-cell base as the core carrier, a main control chip is mounted to enable interaction with detachable functional modules. When a functional module is installed on the base, the main control chip reads the module description file and then automatically configures and loads the corresponding driver and controls based on the description file. The main control chip can also respond to App registration and network configuration operations, complete dynamic UI configuration and protocol configuration for each module, adjust the interface font, contrast, and control size according to the user-selected display style, and sense the insertion or removal of functional modules in real time. It dynamically updates the graphical user interface of the touchscreen to ensure that the interface display remains consistent with the actual state of the functional modules on the base, ultimately achieving modular expansion, automated configuration, and personalized interactive experience for the intelligent central control system.
[0079] This invention discloses a user interface generation system. By setting up a base with a touch screen and detachable functional modules installed on the base, and using the main control chip in the base to drive the functional modules based on the functional module driver, the system ultimately completes the display of controls in the graphical interface of the touch screen. This breaks the limitation of the traditional central control system where hardware modules, interface controls, and drivers are highly bound together. It enables flexible assembly and disassembly of functional modules and free addition and removal, without the need for fixed modifications to the system software or complex manual configuration. It can quickly adapt to the access and use of different functional modules, improving the scalability and flexibility of the entire user interface generation system. At the same time, it can automatically generate graphical interactive interfaces adapted to the corresponding functional modules, simplifying the user operation process, effectively improving the user interaction experience, and better meeting the needs of modern intelligent central control.
[0080] like Figure 5 The diagram illustrates a flowchart of a user interface generation method provided by an embodiment of the present invention, applied to the aforementioned user interface generation system, including: Step 201: Read the description file of the functional modules that are initially connected to the base; Step 202: Based on the description file, load the driver program corresponding to the functional module and the control program for the functional module; Step 203: Display the controls for the functional modules in the graphical user interface of the touchscreen.
[0081] This invention discloses a user interface generation method. By setting up a base with a touch screen and detachable functional modules installed on the base, and using the main control chip in the base to drive the functional modules based on the functional module driver, the control is finally displayed in the graphical interface of the touch screen. This method breaks the limitation of the traditional central control system where hardware modules, interface controls, and drivers are highly bound together. It enables flexible assembly and disassembly of functional modules and free addition and removal. It does not require fixed modifications to the system software or complex manual configuration. It can quickly adapt to the access and use of different functional modules, improve the scalability and flexibility of the entire user interface generation system, and automatically generate graphical interactive interfaces adapted to the corresponding functional modules, simplifying the user operation process, effectively improving the user interaction experience, and better meeting the needs of modern intelligent central control.
[0082] In one embodiment of the present invention, displaying controls of a functional module in a graphical user interface of a touch screen includes: determining the display position and display style of the controls in the graphical interface; and displaying the controls of the functional module in the graphical user interface of the touch screen according to the display position and display style of the controls.
[0083] In one embodiment of the present invention, determining the display position of a control in a graphical interface includes: obtaining position information of a functional module on a base, and determining the display position of the control in the graphical interface based on the position information. In one embodiment of the present invention, determining the display position of a control in a graphical interface includes: obtaining the layout mode of the control in the graphical interface; and determining the display position of the control in the graphical user interface based on the layout mode.
[0084] In one embodiment of the present invention, determining the display position of the control in the graphical user interface according to the layout pattern includes: When the layout mode is the first layout mode, the display position of the controls in the graphical user interface corresponds to the installation position of the functional modules on the base; When the layout mode is the second layout mode, the display position of the control in the graphical user interface is determined based on the usage frequency of the functional module.
[0085] In one embodiment of the present invention, the graphical display interface further includes controls for functional modules not installed on the base; determining the display position of the controls in the graphical user interface according to the layout mode further includes: when the layout mode is the third layout mode, the display position of the controls for functional modules installed on the base corresponds to the installation position, and the display position of the controls for functional modules not installed on the base is set in a preset area of the graphical user interface.
[0086] In one embodiment of the present invention, controls for functional modules are displayed in the graphical user interface of a touchscreen according to the display position and display style of the controls, including: Based on the display style, determine the font size, color contrast, and control size in the graphical user interface; Based on the font size, color contrast, control size, and control display position in the graphical user interface, display the controls of the functional modules in the graphical user interface of the touch screen.
[0087] This invention discloses a user interface generation method. It involves setting up a base with a touchscreen and detachable functional modules mounted on the base. The method utilizes a driver program within the base to drive the functional modules, ultimately displaying controls in a graphical interface on the touchscreen. This breaks the limitations of traditional central control systems where hardware modules, interface controls, and drivers are highly bound together. It allows for flexible assembly, disassembly, and addition / removal of functional modules without requiring fixed modifications or complex manual configurations to the system software. This enables rapid adaptation to the access and use of different functional modules, improving the scalability and flexibility of the entire user interface generation system. Furthermore, it automatically generates graphical interactive interfaces adapted to the corresponding functional modules, simplifying user operation processes, effectively enhancing the user experience, and better meeting the needs of modern intelligent central control systems.
[0088] The present invention also discloses a smart home central control device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; When a processor executes a program stored in memory, it implements the steps of the user interface generation method described above.
[0089] The present invention also discloses a computer-readable storage medium having a computer program stored thereon, characterized in that the program, when executed by a processor, implements the steps of the user interface generation method described above.
[0090] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.
[0091] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, apparatus, or computer program products. Therefore, embodiments of the present invention can take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, embodiments of the present invention can take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0092] Embodiments of the present invention are described with reference to flowchart illustrations and / or block diagrams of methods, terminal devices (systems), 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, as well as 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 terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, 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.
[0093] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to operate 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 1The function specified in one or more boxes.
[0094] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal equipment, causing a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal 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.
[0095] Although preferred embodiments of the present invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present invention.
[0096] Finally, it should 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 terminal device 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 terminal device. 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 terminal device that includes the element.
[0097] The user interface generation system, method, device, and medium provided by the present invention have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A user interface generation system, characterized in that, include: Base; A touchscreen is mounted on the base; At least one functional module is detachably mounted on the base; The base includes a main control chip, which is used to drive the functional module based on the driver program of the functional module and display the controls of the functional module in the graphical user interface of the touch screen.
2. The user interface generation system according to claim 1, characterized in that, The main control chip is also used to read the description file of the functional module when the functional module is first connected, and to load the driver program corresponding to the functional module and the controls of the functional module according to the description file.
3. The user interface generation system according to claim 2, characterized in that, The description file includes a device identifier; the main control chip is used to query the corresponding control from the user interface component library according to the device identifier, and load the control of the functional module.
4. The user interface generation system according to claim 1, characterized in that, The main control chip is used to determine the display position and display style of the control on the graphical interface; and to display the control of the functional module in the graphical user interface of the touch screen according to the display position and display style of the control.
5. The user interface generation system according to claim 4, characterized in that, The main control chip is used to acquire the layout mode of the control in the graphical interface; and to determine the display position of the control in the graphical user interface based on the layout mode.
6. The user interface generation system according to claim 4, characterized in that, The main control chip is used to obtain the position information of the functional module on the base, and determine the display position of the control on the graphical interface based on the position information.
7. The user interface generation system according to claim 1, characterized in that, The functional module is equipped with a contact pin, and the base is equipped with a metal contact array. When the functional module is installed on the base, the contact pin of the functional module is electrically connected to the metal contact array.
8. The user interface generation system according to claim 7, characterized in that, The functional module is magnetically connected to the base.
9. The user interface generation system according to claim 8, characterized in that, The base is equipped with a slide rail structure, and the functional module is magnetically connected to the slide rail structure.
10. The user interface generation system according to claim 1, characterized in that, The main control chip is also used to update the graphical user interface when it detects the insertion or removal of the target functional module.
11. The user interface generation system according to claim 1, characterized in that, The functional module is at least one of the following: light switch module, temperature control knob module, camera module, voice assistant module, touch screen module, or sensor module.
12. A method for generating a user interface, characterized in that, The user interface generation system according to any one of claims 1 to 10 includes: Read the description file of the functional modules that are initially connected to the dock; According to the description file, load the driver program corresponding to the functional module, and load the control of the functional module; The controls for the functional modules are displayed in the graphical user interface of the touchscreen.
13. A smart home central control device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, when executing a program stored in memory, implements the steps of the user interface generation method of claim 12.
14. 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 of user interface generation as described in claim 12.