Configuration method of central control screen interface, and central control screen, storage medium, and electronic devices
By dynamically generating configuration tables and device models on the central control screen, the problem of traditional central control screens being unable to adapt to different devices is solved, improving system flexibility and performance, reducing memory usage, and ensuring the continuity of user operation and response speed.
Patent Information
- Application Number
- CN202411558832.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-04
- Publication Date
- 2025-11-14
- Estimated Expiration
- 2044-11-04
AI Technical Summary
Traditional central control screens have fixed pre-set configuration tables and UI interfaces that cannot dynamically adapt to different types of home appliances, resulting in insufficient system flexibility and high memory consumption, which affects user experience and operating efficiency.
By identifying newly added devices on the target local area network, the system obtains device attribute information from the network server, generates a dynamic configuration table, loads the device model, and dynamically updates the user interface, thereby reducing memory usage and improving system flexibility and performance.
This allows the central control screen to dynamically adapt to new devices without restarting the system, reducing memory usage, improving system flexibility and operating efficiency, and ensuring the continuity and responsiveness of user operations.
Smart Images

Figure CN119420591B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer technology, and more specifically, to a method for configuring the interface of a central control screen, as well as the central control screen, storage medium, and electronic device. Background Technology
[0002] In related technologies, within smart home systems, the central control screen serves as the core device for user interaction with various home appliances, requiring rich functionality and a user-friendly interface. However, traditional central control screens typically have pre-set fixed configuration tables and UI interfaces, failing to dynamically adapt to different types of home appliances, resulting in insufficient system flexibility and a poor user experience.
[0003] In addition, the pre-installed configuration table and UI interface consume a large amount of memory resources on the central control screen, affecting the system's operating efficiency and response speed.
[0004] No efficient and accurate solution has yet been found to address the aforementioned issues in the relevant technologies. Summary of the Invention
[0005] This invention provides a method for configuring the interface of a central control screen, as well as the central control screen, storage medium, and electronic device, to solve the technical problems in related technologies.
[0006] According to an embodiment of the present invention, a control method for a central control screen is provided, comprising: determining a newly added first device in a target local area network; obtaining attribute information of the first device from a network server of the central control screen, wherein the network server and the central control screen are connected via the target local area network; generating a first configuration table of the first device based on the attribute information; and loading a device model of the first device on the central control screen using the first configuration table.
[0007] Optionally, generating the first configuration table of the first device based on the attribute information includes: searching for configuration data matching the attribute information in the preset configuration table library of the central control screen; and filling the configuration data into the preset configuration template to obtain the first configuration table of the first device.
[0008] Optionally, generating the first configuration table of the first device based on the attribute information includes: parsing the device identifier and function identifier in the attribute information; searching for a twin device with the same function as the first device in the local device list of the central control screen based on the function identifier; reading the local configuration table of the twin device in the central control screen; copying the local configuration table and updating the original identifier of the local configuration table with the device identifier to obtain the first configuration table of the first device.
[0009] Optionally, loading the device model of the first device on the central control screen using the first configuration table includes: loading the first configuration table in the local storage space of the central control screen; generating the device model of the first device based on the first configuration table, wherein the device model includes a device display model and a device control model; adding the device display model to the operation interface of the central control screen, and installing the device control model in the operating system of the central control screen.
[0010] Optionally, determining the first newly added device in the target local area network includes: reading the network device list of the target local area network from the network server and the local device list of the target local area network from the central control screen, wherein the network device list is configured by the user terminal in the network server; comparing the network device list and the local device list; and determining the first newly added device in the target local area network based on the comparison result.
[0011] Optionally, after loading the device model of the first device onto the central control screen using the first configuration table, the method further includes: detecting user control commands for the first device based on the central control screen; and issuing device control commands to the first device according to the user control commands.
[0012] Optionally, the method further includes: determining a second device that has been deleted from the target local area network; searching for a second configuration table of the second device in the local device list of the central control screen; and deleting the second configuration table in the local storage space of the central control screen, so that the central control screen deletes the device model of the second device.
[0013] According to another embodiment of the present invention, a central control screen is provided, comprising: a display screen and a controller, the controller comprising: a first determining module, configured to determine a first device newly added to a target local area network; an obtaining module, configured to obtain attribute information of the first device from a network server of the central control screen, wherein the network server and the central control screen are connected via the target local area network; a generating module, configured to generate a first configuration table of the first device based on the attribute information; and a display module, configured to load a device model of the first device onto the central control screen using the first configuration table.
[0014] Optionally, the generation module includes: a first search unit, used to search for configuration data matching the attribute information in a preset configuration table library of the central control screen; and a first generation unit, used to fill the configuration data into a preset configuration template to obtain a first configuration table of the first device.
[0015] Optionally, the generation module includes: a parsing unit, used to parse the device identifier and function identifier in the attribute information; a second search unit, used to search for a twin device with the same function as the first device in the local device list of the central control screen based on the function identifier; a reading unit, used to read the local configuration table of the twin device in the central control screen; and a second generation unit, used to copy the local configuration table and update the original identifier of the local configuration table with the device identifier to obtain the first configuration table of the first device.
[0016] Optionally, the display module includes: a loading unit for loading the first configuration table into the local storage space of the central control screen; a generation unit for generating a device model of the first device based on the first configuration table, wherein the device model includes a device display model and a device control model; and an adding unit for adding the device display model to the operation interface of the central control screen and installing the device control model in the operating system of the central control screen.
[0017] Optionally, the first determining module includes: a reading unit, configured to read a list of network devices of the target local area network from the network server and a list of local devices of the target local area network from the central control screen, wherein the list of network devices is configured by a user terminal in the network server; a comparison unit, configured to compare the list of network devices and the list of local devices; and a determining unit, configured to determine a first newly added device to the target local area network based on the comparison result.
[0018] Optionally, the central control screen further includes: a detection module, configured to detect user control commands for the first device based on the central control screen after the display module loads the device model of the first device on the central control screen using the first configuration table; and a sending module, configured to send device control commands to the first device according to the user control commands.
[0019] Optionally, the central control screen further includes: a second determining module, used to determine the second device that has been deleted from the target local area network; a searching module, used to search for the second configuration table of the second device in the local device list of the central control screen; and a deleting module, used to delete the second configuration table in the local storage space of the central control screen, so that the central control screen deletes the device model of the second device.
[0020] According to another aspect of the embodiments of this application, a storage medium is also provided, the storage medium including a stored program that executes the above steps when the program is run.
[0021] According to another aspect of the embodiments of this application, an electronic device is also provided, 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; wherein: the memory is used to store computer programs; and the processor is used to execute the steps in the above method by running the programs stored in the memory.
[0022] According to yet another embodiment of the present invention, a storage medium is also provided, wherein a computer program is stored therein, wherein the computer program is configured to execute the steps in any of the above-described apparatus embodiments when running.
[0023] This invention provides an embodiment that identifies a newly added first device in a target local area network (LAN); obtains attribute information of the first device from a network server on a central control screen, wherein the network server and the central control screen are connected via the target LAN; generates a first configuration table for the first device based on the attribute information; loads the device model of the first device onto the central control screen using the first configuration table; dynamically generates the first configuration table based on the attribute information of the newly added first device; and updates the user control interface of the central control screen in real time. This solves the technical problem of large memory usage caused by loading fixed configuration tables on the central control screen in related technologies. It eliminates the need for pre-setting massive amounts of fixed device configuration tables, reduces the memory usage of the central control screen, and improves the system flexibility and performance of the central control screen. Attached Figure Description
[0024] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:
[0025] Figure 1 This is a hardware structure block diagram of a central control screen according to an embodiment of the present invention;
[0026] Figure 2 This is a flowchart of a control method for a central control screen according to an embodiment of the present invention;
[0027] Figure 3 This is a flowchart of the dynamic configuration control screen according to an embodiment of the present invention;
[0028] Figure 4 This is a structural block diagram of a central control screen according to an embodiment of the present invention. Detailed Implementation
[0029] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application. It should be noted that, unless otherwise specified, the embodiments and features in the embodiments of the present application can be combined with each other.
[0030] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0031] Example 1
[0032] The method embodiment provided in Embodiment 1 of this application can be executed in a central control screen, control terminal, controller, or similar device management device. Taking its operation on a central control screen as an example, Figure 1 This is a hardware structure block diagram of a central control screen according to an embodiment of the present invention. Figure 1 As shown, the central control screen may include one or more ( Figure 1 Only one is shown in the diagram. A processor 102 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data are also shown. Optionally, the central control screen may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the central control screen described above. For example, the central control screen may also include... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.
[0033] The memory 104 can be used to store central control screen programs, such as application software programs and modules, like the central control screen program corresponding to a central control screen control method in this embodiment of the invention. The processor 102 executes various functional applications and data processing by running the central control screen program stored in the memory 104, thereby implementing the aforementioned method. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the central control screen via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0034] The transmission device 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the communication provider of the central control screen. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module, used for wireless communication with the Internet.
[0035] This embodiment provides a control method for a central control screen. Figure 2 This is a flowchart of a control method for a central control screen according to an embodiment of the present invention, such as... Figure 2 As shown, the process includes the following steps:
[0036] Step S202: Determine the first newly added device in the target local area network;
[0037] The target local area network in this embodiment can be a home, company, or other local area network. Multiple IoT devices (such as the first device, the second device, etc. in this embodiment) are connected within the local area network. The central control screen is used to manage all devices within the IoT device. Optionally, the first device can be an air conditioner, refrigerator, robot vacuum cleaner, washing machine, television, etc.
[0038] Step S204: Obtain the attribute information of the first device from the network server of the central control screen, wherein the network server and the central control screen are connected through the target local area network;
[0039] In this embodiment, the central control screen is the local control terminal of the target local area network (all access devices within it), and the user terminal (mobile phone) can be the remote control terminal of the central control screen as the target local area network (all access devices within it).
[0040] Optionally, attribute information is used to characterize the category, identifier, location, etc. of the first device.
[0041] Step S206: Generate a first configuration table for the first device based on the attribute information;
[0042] The first configuration table in this embodiment is used to configure the display interface and control logic of the first device on the central control screen. Based on the first configuration table, the UI identifier of the first device can be displayed on the central control screen, and the control model of the first device can be loaded. Different devices have different configuration tables (for example, the configuration table of an air conditioner includes: which modes the air conditioner supports, airflow direction, how many fan speed levels it has, what advanced functions it has, etc.).
[0043] Step S208: Load the device model of the first device onto the central control screen using the first configuration table.
[0044] Through the above steps, the first newly added device in the target local area network is identified; the attribute information of the first device is obtained from the network server of the central control screen, wherein the network server and the central control screen are connected through the target local area network; a first configuration table of the first device is generated based on the attribute information; the device model of the first device is loaded on the central control screen using the first configuration table, and the first configuration table is dynamically generated based on the attribute information of the newly added first device, and the user control interface of the central control screen is updated and displayed in real time. This solves the technical problem of large memory consumption caused by loading a fixed configuration table in the central control screen, eliminates the need to pre-set a large number of fixed device configuration tables, reduces the memory consumption of the central control screen, and improves the system flexibility and performance of the central control screen.
[0045] In one embodiment of this example, generating a first configuration table for the first device based on the attribute information includes: searching for configuration data matching the attribute information in a preset configuration table library of the central control screen; and filling the configuration data into a preset configuration template to obtain a first configuration table for the first device.
[0046] Optionally, configuration data may include, but is not limited to, combinations, attributes, styles, and control rule tables that characterize user interface elements.
[0047] The preset configuration table library in this embodiment can be stored locally on the central control screen or on a network server, and combines configuration data provided by various device manufacturers.
[0048] The central control screen connects to the home host database of the target local area network. After the database identifies new home appliances and their categories, it dynamically loads the corresponding configuration table from the predefined configuration table library according to the category of the appliance. After the configuration table is loaded, a specific device model can be generated and updated.
[0049] The solution in this embodiment dynamically generates and configures the first configuration table based on the attribute information of the first device, without needing to restart the central control screen or pre-store configuration tables for a large number of devices, thus reducing the memory usage of the central control screen and improving system operating efficiency.
[0050] In another embodiment of this example, generating the first configuration table of the first device based on the attribute information includes: parsing the device identifier and function identifier in the attribute information; searching for a twin device with the same function as the first device in the local device list of the central control screen based on the function identifier; reading the local configuration table of the twin device in the central control screen; copying the local configuration table and updating the original identifier of the local configuration table with the device identifier to obtain the first configuration table of the first device.
[0051] In one implementation scenario, if the preset configuration table library fails to be retrieved or no matching configuration data is found, reconfiguration can be performed based on the existing local configuration table of devices with the same functions. If the two devices are completely identical, only the device identifier needs to be replaced. For example, if the device identifier of the twin device is Air Conditioner 1 and the first device is Air Conditioner 2, replacing Air Conditioner 1 with Air Conditioner 2 will quickly generate the configuration table of the first device.
[0052] In some scenarios, if the preset configuration table library fails to be retrieved or no matching configuration data is found, a basic configuration table is directly generated for the first device. The basic configuration table includes the common device display UI and control interface UI (such as only including power controls).
[0053] The solution in this embodiment dynamically generates and configures the first configuration table based on the local configuration table of the configured devices, without needing to restart the central control screen or pre-store a large number of device configuration tables, thus reducing the memory usage of the central control screen and improving system operating efficiency.
[0054] In one example of this embodiment, loading the device model of the first device on the central control screen using the first configuration table includes: loading the first configuration table in the local storage space of the central control screen; generating the device model of the first device based on the first configuration table, wherein the device model includes a device display model and a device control model; adding the device display model to the operation interface of the central control screen, and installing the device control model in the operating system of the central control screen.
[0055] The device model includes a device display model and a device control model. The device display model is used to display the UI interface (display device icon) of the first device on the central control screen. The UI interface includes the device icon of the first device and the control interface. The control interface includes multiple controls (such as buttons for starting the air conditioner, temperature, fan speed, mode, etc.). The device control model is used to execute the control logic and command decoding of the first device, converting user control commands issued by the user through the device display model or voice commands into device control commands that the first device can execute. At the same time, the device control model also executes the collaborative working mode between the first device and other pre-bound neighboring devices in the target local area network. The collaborative working mode includes synchronous start, synchronous shutdown, and asynchronous start (turning on one device while turning off another device). For example, when the TV is turned on, the ambient light in the room is turned on; when the air conditioner is turned on, the sunshade is turned off.
[0056] The UI is dynamically generated based on the loaded configuration table and device model, ensuring consistency between the interface and device functions. Users can then conveniently control and configure various home appliances via touchscreen operation or voice commands on the central control screen. The configuration table and UI adopt a modular design, allowing for flexible adjustments based on different types of home appliances. When a new device is connected, only the corresponding configuration table and UI module need to be added; no modification to the core system is required.
[0057] The central control screen does not require a system restart during the loading of the configuration table and generation of the device model, ensuring the continuity of user operations. The loading and updating of the configuration table and device model occur in the background and do not affect the user's current operation.
[0058] Using the solution in this example, the device model is generated and loaded in real time based on the dynamically generated first configuration table, without the need to restart the system, thus ensuring the continuity of user operations.
[0059] In this embodiment, determining the first newly added device in the target local area network includes: reading the network device list of the target local area network from the network server and reading the local device list of the target local area network from the central control screen, wherein the network device list is configured by the user terminal in the network server; comparing the network device list and the local device list; and determining the first newly added device in the target local area network based on the comparison result.
[0060] The comparison result is used to indicate a device that exists in the network device list but not in the local device list. In one example, the network device list stored by the network server includes device 1, device 2, and device 3, and the local device list stored by the central control screen includes device 1 and device 2. The comparison result shows that device 3 exists in the network device list but not in the local device list. Therefore, device 3 is identified as the first newly added device in the target local area network.
[0061] By comparing the network device list of the network server with the local device list of the central control screen, the newly added devices to the target local area network can be quickly detected, thus improving the detection speed of the first device.
[0062] In one example, after loading the device model of the first device on the central control screen using the first configuration table, the method further includes: detecting user control commands for the first device based on the central control screen; and issuing device control commands to the first device according to the user control commands.
[0063] In this example, if the central control screen detects a user control command for the first device, it can also display the control interface of the first device on the main screen of the central control screen. At the same time, it can obtain the status information of the first device and display the status information of the first device in the relevant position of the control interface to achieve more efficient control.
[0064] Based on this example, the solution uses a central control screen to control all access devices within the local area network, improving device control efficiency. Even if the external network is disconnected, the devices can still be controlled through the central control screen.
[0065] In one implementation scenario of this embodiment, the method further includes: determining that a second device has been deleted from the target local area network; searching for a second configuration table of the second device in the local device list of the central control screen; and deleting the second configuration table in the local storage space of the central control screen, so that the central control screen deletes the device model of the second device.
[0066] For example, after the first device is removed or malfunctions, or after the user unbinds it from the target LAN, a second device that has been deleted from the target LAN can be identified. In some examples, the heartbeat signal of each device within the target LAN is detected. If the heartbeat signal is normal, it indicates a normal standby or running state, and the device is normally connected. If the heartbeat signal is abnormal, it indicates an offline or inactive state, and this device can also be identified as a deleted second device, and its configuration table can be released.
[0067] Based on the solution for this implementation scenario, the configuration table and model of the second device that is no longer in use are released in a timely manner through the memory management mechanism, thereby optimizing the utilization of system resources and improving the resource utilization rate of the central control screen.
[0068] Figure 3This is a flowchart illustrating the dynamic configuration of the central control screen according to an embodiment of the present invention. A network server stores a home host database. A method is proposed to retrieve home device information from this database via the smart central control system. The database is deployed on the network server of the home host and contains information on all devices in the home (device category, device ID, device MAC address). Devices in the home are configured via mobile phone network access and saved to a home network. The mobile phone and the home host are on the same local area network. The mobile phone sends all the saved device information for that home network to the home host. The method of dynamically loading configuration tables and generating specific models enables dynamic configuration of the home smart central control screen, improving system flexibility and performance.
[0069] based on Figure 3 Users first add new devices to the home host database. The central control screen then connects to the home host database to compare device information and determine whether to add a new device. If a new device is detected in the home, the screen automatically identifies the device information and type, and dynamically loads the configuration table and generates a specific model to achieve dynamic configuration of the smart home central control screen. If a device is detected to have been deleted from the home, the configuration table is released to improve system flexibility and performance.
[0070] The solution in this embodiment includes a home smart control screen with a configuration table and a UI interface, capable of dynamically loading and generating specific models. By retrieving device categories from the home host database, the configuration table is dynamically loaded without requiring a screen restart. Dynamic configuration generation reduces memory usage and improves system efficiency. A modular design allows the configuration table and UI to be flexibly adjusted to adapt to different types of home appliances. Through this solution, the present invention achieves dynamic configuration of the home smart control screen, significantly improving system flexibility, user experience, and operational efficiency. By dynamically loading the configuration table and generating specific models, the control screen can adapt to different types of home appliances, enhancing system flexibility and adaptability. Dynamic configuration without restarting the control screen ensures system continuity and stability, resulting in a better user experience. Dynamic configuration generation reduces the control screen's memory usage, improving system efficiency and response speed. Identifying device categories and loading corresponding configuration tables from the home host database allows the system to quickly adapt to new devices, simplifying user operation.
[0071] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0072] Example 2
[0073] This embodiment also provides a central control screen, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. The term "module" as used below refers to a combination of software and hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also conceivable.
[0074] Figure 4 This is a structural block diagram of a central control screen according to an embodiment of the present invention, such as... Figure 4 As shown, it includes: a display screen 40 and a controller 42, the controller 42 including:
[0075] The first determination module 420 is used to determine the first newly added device in the target local area network;
[0076] The acquisition module 422 is used to acquire attribute information of the first device from the network server of the central control screen, wherein the network server and the central control screen are connected through the target local area network;
[0077] Generation module 424 is used to generate a first configuration table for the first device based on the attribute information;
[0078] Display module 426 is used to load the device model of the first device on the central control screen using the first configuration table.
[0079] Optionally, the generation module includes: a first search unit, used to search for configuration data matching the attribute information in a preset configuration table library of the central control screen; and a first generation unit, used to fill the configuration data into a preset configuration template to obtain a first configuration table of the first device.
[0080] Optionally, the generation module includes: a parsing unit, used to parse the device identifier and function identifier in the attribute information; a second search unit, used to search for a twin device with the same function as the first device in the local device list of the central control screen based on the function identifier; a reading unit, used to read the local configuration table of the twin device in the central control screen; and a second generation unit, used to copy the local configuration table and update the original identifier of the local configuration table with the device identifier to obtain the first configuration table of the first device.
[0081] Optionally, the display module includes: a loading unit for loading the first configuration table into the local storage space of the central control screen; a generation unit for generating a device model of the first device based on the first configuration table, wherein the device model includes a device display model and a device control model; and an adding unit for adding the device display model to the operation interface of the central control screen and installing the device control model in the operating system of the central control screen.
[0082] Optionally, the first determining module includes: a reading unit, configured to read a list of network devices of the target local area network from the network server and a list of local devices of the target local area network from the central control screen, wherein the list of network devices is configured by a user terminal in the network server; a comparison unit, configured to compare the list of network devices and the list of local devices; and a determining unit, configured to determine a first newly added device to the target local area network based on the comparison result.
[0083] Optionally, the central control screen further includes: a detection module, configured to detect user control commands for the first device based on the central control screen after the display module loads the device model of the first device on the central control screen using the first configuration table; and a sending module, configured to send device control commands to the first device according to the user control commands.
[0084] Optionally, the central control screen further includes: a second determining module, used to determine the second device that has been deleted from the target local area network; a searching module, used to search for the second configuration table of the second device in the local device list of the central control screen; and a deleting module, used to delete the second configuration table in the local storage space of the central control screen, so that the central control screen deletes the device model of the second device.
[0085] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.
[0086] Example 3
[0087] Embodiments of the present invention also provide a storage medium storing a computer program, wherein the computer program is configured to execute the steps in any of the above method embodiments when running.
[0088] Optionally, in this embodiment, the storage medium can be configured to store a computer program for execution:
[0089] S1, identify the first newly added device in the target local area network;
[0090] S2, obtain the attribute information of the first device from the network server of the central control screen, wherein the network server and the central control screen are connected through the target local area network;
[0091] S3, Generate a first configuration table for the first device based on the attribute information;
[0092] S4, the device model of the first device is loaded onto the central control screen using the first configuration table.
[0093] Optionally, in this embodiment, the storage medium may include, but is not limited to, various media capable of storing computer programs, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0094] Embodiments of the present invention also provide an electronic device including a memory and a processor, the memory storing a computer program and the processor being configured to run the computer program to perform the steps in any of the above method embodiments.
[0095] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.
[0096] Optionally, in this embodiment, the processor can be configured to perform the following steps via a computer program:
[0097] S1, identify the first newly added device in the target local area network;
[0098] S2, obtain the attribute information of the first device from the network server of the central control screen, wherein the network server and the central control screen are connected through the target local area network;
[0099] S3, Generate a first configuration table for the first device based on the attribute information;
[0100] S4, the device model of the first device is loaded onto the central control screen using the first configuration table.
[0101] Optionally, specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementations, and will not be repeated here.
[0102] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0103] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0104] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection of units or modules may be electrical or other forms.
[0105] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0106] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0107] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, controller, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.
[0108] The above are merely preferred embodiments of this application. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A method for configuring the interface of a central control screen, characterized in that, include: Identify the first newly added device on the target local area network; The network server of the central control screen obtains the attribute information of the first device, wherein the network server and the central control screen are connected through the target local area network; Generate a first configuration table for the first device based on the attribute information; The device model of the first device is loaded onto the central control screen using the first configuration table; The process of generating the first configuration table of the first device based on the attribute information includes: searching for configuration data that matches the attribute information in the preset configuration table library of the central control screen; and filling the configuration data into the preset configuration template to obtain the first configuration table of the first device.
2. The method according to claim 1, characterized in that, Generating the first configuration table of the first device based on the attribute information includes: Parse the device identifier and function identifier in the attribute information; Based on the function identifier, search the local device list on the central control screen for a twin device with the same function as the first device; Read the local configuration table of the twin device from the central control screen; Copy the local configuration table and update the original identifier of the local configuration table with the device identifier to obtain the first configuration table of the first device.
3. The method according to claim 1, characterized in that, Loading the device model of the first device on the central control screen using the first configuration table includes: The first configuration table is loaded into the local storage space of the central control screen; A device model for the first device is generated based on the first configuration table, wherein the device model includes a device display model and a device control model; The device display model is added to the operation interface of the central control screen, and the device control model is installed in the operating system of the central control screen.
4. The method according to claim 1, characterized in that, The first newly added device to the target local area network includes: The network device list of the target local area network is read from the network server, and the local device list of the target local area network is read from the central control screen, wherein the network device list is configured by the user terminal in the network server; Compare the network device list with the local device list; The first newly added device to the target local area network was determined based on the comparison results.
5. The method according to claim 1, characterized in that, After loading the device model of the first device onto the central control screen using the first configuration table, the method further includes: Based on the detection of user control commands for the first device by the central control screen; The user control interface of the first device is displayed according to the device model, and the user control instructions are parsed into device control instructions. The device control command is issued to the first device in accordance with the user control command.
6. The method according to claim 1, characterized in that, The method further includes: The second device that has been removed from the target local area network has been identified; Locate the second configuration table of the second device in the local device list of the central control screen; The second configuration table is deleted from the local storage space of the central control screen, so that the device model of the second device is deleted from the central control screen.
7. A central control screen, characterized in that, include: The display screen and the controller, the controller comprising: The first determination module is used to determine the first newly added device in the target local area network; The acquisition module is used to acquire attribute information of the first device from the network server of the central control screen, wherein the network server and the central control screen are connected through the target local area network; The generation module is used to generate a first configuration table for the first device based on the attribute information; The display module is used to load the device model of the first device onto the central control screen using the first configuration table. The generation module includes: a first search unit, used to search for configuration data matching the attribute information in the preset configuration table library of the central control screen; and a first generation unit, used to fill the configuration data into the preset configuration template to obtain the first configuration table of the first device.
8. A storage medium, characterized in that, The storage medium stores a computer program, wherein the computer program is configured to execute the steps of the control method of the central control screen according to any one of claims 1 to 6 when it is run.
9. An electronic device comprising a processor, a communication interface, a memory, and a communication bus, wherein, The processor, communication interface, and memory communicate with each other via a communication bus; among which: Memory, used to store computer programs; A processor is used to execute the steps of the control method of the central control screen according to any one of claims 1 to 6 by running a program stored in memory.
Citation Information
Patent Citations
Network equipment configuration method and equipment based on python interactive shell and medium
CN115174398A
Control method and central control equipment
CN116931802A