Interface configuration method of central control screen, central control screen, storage medium and electronic equipment
By dynamically generating and loading configuration tables and device models, the problem that traditional central control screens cannot dynamically adapt to different device types is solved, which achieves higher system flexibility and performance, and improves user experience and memory utilization.
Patent Information
- Application Number
- CN202411558832.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-04
- Publication Date
- 2025-02-11
- Estimated Expiration
- 2044-11-04
AI Technical Summary
The traditional central control screen has a fixed configuration table and UI interface that is pre-installed, which cannot dynamically adapt to different types of home appliances, resulting in insufficient system flexibility and poor user experience. It also occupies a large amount of memory resources, affecting the system's operating efficiency and response speed.
By determining the newly added devices on the target LAN, obtaining their attribute information, and dynamically generate configuration tables based on this information, loading the device model, and updating the user control interface in real time, avoiding presetting massive fixed device configuration tables, and reducing the memory usage of the central control screen .
The dynamic adaptation of the central control screen to different types of home appliances is realized, which improves system flexibility and performance, reduces memory usage, and improves user experience and system response speed.
Smart Images

Figure CN119420591A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to an interface configuration method for a central control screen, a central control screen, a storage medium, and an electronic device. Background Art
[0002] In the related art, in the smart home system, the home smart central control screen is the core device for users to interact with various home appliances, and needs to have rich functions and a friendly user interface. However, the traditional central control screen usually presets fixed configuration tables and UI interfaces, and cannot dynamically adapt to different types of home appliances, resulting in insufficient system flexibility and poor user experience.
[0003] In addition, the preset configuration tables and UI interfaces occupy a large amount of memory resources of the central control screen, affecting the system's operating efficiency and response speed.
[0004] With respect to the above-mentioned problems existing in the related technologies, no efficient and accurate solutions have been found yet. Summary of the invention
[0005] The present invention provides an interface configuration method of a central control screen, a central control screen, a storage medium, and an electronic device to solve technical problems in related technologies.
[0006] According to one embodiment of the present invention, a control method for a central control screen is provided, including: determining a first device newly added to 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 through the target local area network; generating a first configuration table for the first device according to the attribute information; and using the first configuration table to load a device model of the first device on the central control screen.
[0007] Optionally, generating a first configuration table for the first device according to the attribute information includes: searching for configuration data matching the attribute information in a preset configuration table library of the central control screen; filling in the configuration data in a preset configuration template to obtain the first configuration table for the first device.
[0008] Optionally, generating a first configuration table for 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 using the device identifier to update the original identifier of the local configuration table to obtain the first configuration table of the first device.
[0009] Optionally, using the first configuration table to load the device model of the first device on the central control screen includes: loading the first configuration table into 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 device newly added to the target local area network includes: reading a network device list of the target local area network from the network server, and reading a local device list of the target local area network from the central control screen, wherein the network device list is configured by a user terminal in the network server; comparing the network device list and the local device list; and determining the first device newly added to the target local area network based on the comparison result.
[0011] Optionally, 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 instructions for the first device based on the central control screen; and issuing device control instructions to the first device according to the user control instructions.
[0012] Optionally, the method also includes: determining a second device that has been deleted from the target local area network; searching for a second configuration table for 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, including: a display screen and a controller, the controller including: a first determination module, used to determine a first device newly added to a target local area network; an acquisition module, used 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 generation module, used to generate a first configuration table of the first device according to the attribute information; and a display module, used to load a device model of the first device on 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 in the configuration data in 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; a second generation unit, used to copy the local configuration table, and use the device identifier to update the original identifier of the local configuration table to obtain the first configuration table of the first device.
[0016] Optionally, the display module includes: a loading unit, used to load the first configuration table into the local storage space of the central control screen; a generating unit, used to generate 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; an adding unit, used to add the device display model to the operation interface of the central control screen, and install the device control model in the operating system of the central control screen.
[0017] Optionally, the first determination module includes: a reading unit, used to read the network device list of the target local area network from the network server, and to read 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; a comparison unit, used to compare the network device list and the local device list; and a determination unit, used to determine the first device newly added to the target local area network based on the comparison result.
[0018] Optionally, the central control screen also includes: a detection module, used to detect user control instructions for the first device based on the central control screen after the display module uses the first configuration table to load the device model of the first device on the central control screen; and a sending module, used to send device control instructions to the first device according to the user control instructions.
[0019] Optionally, the central control screen also includes: a second determination module, used to determine the second device that has been deleted from the target local area network; a search 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 deletion 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 an embodiment of the present application, a storage medium is further provided, which includes a stored program, and the above steps are executed when the program is run.
[0021] According to another aspect of an embodiment of the present application, there is also provided an electronic 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 via 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 program stored in the memory.
[0022] According to yet another embodiment of the present invention, a storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above-mentioned device embodiments when running.
[0023] Through the embodiment of the present invention, a first device newly added to a target local area network is determined; attribute information of the first device is obtained from a network server of a central control screen, wherein the network server and the central control screen are connected via the target local area network; a first configuration table of the first device is generated according to the attribute information; a device model of the first device is loaded on the central control screen using the first configuration table, the first configuration table is dynamically generated according to the attribute information of the newly added first device, and the user control interface of the central control screen is updated in real time, thereby solving the technical problem of large memory usage caused by loading a fixed configuration table on the central control screen in the related art, eliminating the need to pre-set a large number of fixed device configuration tables, thereby reducing the memory usage of the central control screen and improving the system flexibility and performance of the central control screen. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. 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 is a flow chart of a method for controlling a central control screen according to an embodiment of the present invention;
[0027] Figure 3 is a flow chart of dynamically configuring the central control screen according to an embodiment of the present invention;
[0028] Figure 4 It is a structural block diagram of a central control screen according to an embodiment of the present invention. DETAILED DESCRIPTION
[0029] In order 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 in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work should fall within the scope of protection of the present application. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.
[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0031] Example 1
[0032] The method embodiment provided in the first embodiment of the present application can be executed in a central control screen, a control terminal, a controller or a similar device management device. Taking running on the central control screen as an example, Figure 1 1 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 figure) processor 102 (processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. Optionally, the central control screen may also include a transmission device 106 for communication functions and an input and output device 108. It can be understood by those skilled in the art that Figure 1 The structure shown is for illustration only and does not limit the structure of the central control screen. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.
[0033] The memory 104 can be used to store the central control screen program, for example, the software program and module of the application software, such as the central control screen program corresponding to the control method of the central control screen in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the central control screen program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a 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 a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the central control screen via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.
[0034] The transmission device 106 is used to receive or send data via a network. The specific example of the above network 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 adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (Radio Frequency, referred to as RF) module, which is used to communicate with the Internet wirelessly.
[0035] In this embodiment, a control method for a central control screen is provided. Figure 2 is a flow chart of a control method of a central control screen according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:
[0036] Step S202, determining a first device newly added to the target local area network;
[0037] The target LAN of this embodiment can be a local area network such as a home or company. Multiple IoT devices (such as the first device and the second device in this embodiment) are connected to the LAN. The central control screen is used to manage all devices in the IoT device. Optionally, the first device can be an air conditioner, a refrigerator, a sweeping robot, a washing machine, a TV, etc.
[0038] Step S204, 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;
[0039] The central control screen of this embodiment 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 central control screen is the remote control terminal of the target local area network (all access devices within it).
[0040] Optionally, the attribute information is used to characterize the category, identification, location, etc. of the first device.
[0041] Step S206, generating a first configuration table of the first device according to the attribute information;
[0042] The first configuration table of 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 logo 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 the air conditioner includes: which modes the air conditioner supports, wind direction, how many gears the wind speed has, what advanced functions are available, etc.).
[0043] Step S208: Use the first configuration table to load the device model of the first device on the central control screen.
[0044] Through the above steps, the first device newly added to the target local area network is determined; 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 according to the attribute information; the device model of the first device is loaded on the central control screen using the first configuration table, the first configuration table is dynamically generated according to the attribute information of the newly added first device, and the user control interface of the central control screen is updated in real time, thereby solving the technical problem of large memory usage caused by loading fixed configuration tables on the central control screen in related technologies, eliminating the need to pre-set massive fixed device configuration tables, reducing the memory usage of the central control screen, and improving the system flexibility and performance of the central control screen.
[0045] In one implementation of the present embodiment, 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; filling in the configuration data in a preset configuration template to obtain the first configuration table for the first device.
[0046] Optionally, the configuration data may be, but is not limited to, a combination, attribute, style, and control rule table representing user interface elements.
[0047] The preset configuration table library of this embodiment can be stored locally on the central control screen or on a network server, combining configuration data provided by various equipment manufacturers.
[0048] The central control screen is connected to the home host database of the target LAN, and after identifying new home appliances and equipment category information in the database, it dynamically loads the corresponding configuration table from the predefined configuration table library according to the equipment category. After the configuration table is loaded, a specific equipment model can be generated and updated.
[0049] By adopting the solution of this embodiment, the first configuration table is dynamically generated and configured based on the attribute information of the first device. There is no need to restart the central control screen or pre-store configuration tables of a large number of devices, which reduces the memory usage of the central control screen and improves system operation efficiency.
[0050] In another implementation of the present embodiment, generating a first configuration table for the first device according to 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 using the device identifier to update the original identifier of the local configuration table to obtain the first configuration table of the first device.
[0051] In one implementation scenario, if the preset configuration table library fails to be obtained, or no matching configuration data is found, reconfiguration can be performed based on the local configuration table of an existing device with the same function. If there are two identical devices, 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 can quickly generate the configuration table of the first device.
[0052] In some scenarios, if the preset configuration table library fails to be obtained, or no matching configuration data is found, a basic configuration table is directly generated for the first device. The basic configuration table includes a general device display UI and a control interface UI (such as only a power control).
[0053] By adopting the solution of this embodiment, the first configuration table is dynamically generated and configured based on the local configuration table of the configured device. There is no need to restart the central control screen or pre-store the configuration tables of a large number of devices, which reduces the memory usage of the central control screen and improves the system operation efficiency.
[0054] In an example of the present embodiment, using the first configuration table to load the device model of the first device on the central control screen 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] Among them, the device model includes a device display model and a device control model. The device display model is used to display the UI interface of the first device on the central control screen (displaying the device icon). The UI interface includes the device icon and control interface of the first device. The control interface includes multiple controls (such as air conditioning start, temperature, wind speed, mode and other buttons). The device control model is used to execute the control logic and instruction decoding of the first device, and convert the user control instructions issued by the user through the device display model or voice commands into device control instructions that can be executed by the first device. 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 startup, synchronous shutdown, and asynchronous startup (turning off another device when turning on a certain device). For example, when the TV is turned on, turn on the room atmosphere light, and when the air conditioner is turned on, close the sunshade.
[0056] The UI interface is dynamically generated based on the loaded configuration table and device model to ensure the consistency of the interface and device functions. Subsequent users can conveniently control and configure various home appliances through touch operation or voice commands on the central control screen. The configuration table and UI interface adopt a modular design and can be flexibly adjusted according to different types of home appliances. When a new device is connected, only the corresponding configuration table and UI module need to be added without modifying the core system.
[0057] The central control screen does not need to restart the system when loading the configuration table and generating the device model, ensuring the continuity of user operation. The loading and updating process of the configuration table and device model is carried out in the background and does not affect the user's current operation.
[0058] By adopting the solution of this example, the device model is generated and loaded in real time based on the dynamically generated first configuration table, without restarting the system, thereby ensuring the continuity of user operations.
[0059] In this embodiment, determining the first device newly added to the target local area network includes: reading a network device list of the target local area network from the network server, and reading a 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 device newly added to 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 in the network server includes device 1, device 2, and device 3. The local device list stored in the central control screen includes device 1 and device 2. The comparison result is that device 3 exists in the network device list but not in the local device list. Device 3 is determined to be the first device newly added to the target local area network.
[0061] By adopting the solution of this embodiment, by comparing the network device list of the network server and the local device list of the central control screen, new devices newly added to the target local area network can be quickly detected, thereby improving the discovery speed of the first device.
[0062] In one example, after the device model of the first device is loaded on the central control screen using the first configuration table, it also includes: detecting user control instructions for the first device based on the central control screen; and issuing device control instructions to the first device according to the user control instructions.
[0063] In this example, if the central control screen detects user control instructions for the first device, the control interface of the first device can also be displayed on the interface homepage of the central control screen. At the same time, the status information of the first device is obtained and displayed at the associated position of the control interface to achieve more efficient control.
[0064] Based on the solution of this example, all access devices in the entire LAN are controlled through the central control screen, which improves the control efficiency of the devices. Even if the external network is disconnected, they can still be controlled through the central control screen.
[0065] In an implementation scenario of this embodiment, it also 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.
[0066] For example, after the first device is removed or fails, or after the user unbinds the target LAN, the second device that has been deleted from the target LAN is determined. In some examples, the heartbeat signal of each device in the target LAN is detected. If the heartbeat signal is normal, it is in a normal standby state or running state and is a normally connected device. If it is abnormal, it is in an offline state or offline state, and it can also be determined as a deleted second device and its configuration table is released.
[0067] Based on the solution of this implementation scenario, the configuration table and model of the second device that is no longer in use are released in time through the memory management mechanism, which optimizes the utilization of system resources and improves the resource utilization rate of the central control screen.
[0068] Figure 3This is a flowchart of the dynamic configuration of the central control screen of an embodiment of the present invention. The network server stores a home host database. A method of pulling home device information from the home host database through the smart central control is proposed. The database is deployed in the network server of the home host. The home host database contains all the device information in the home (device category, device ID, device mac). The devices in the home are networked through the mobile phone and saved in a home. The mobile phone and the home host are in the same local area network. The mobile phone sends all the device information saved in the home to the home host. Dynamically load the configuration table and generate a specific model method to realize the dynamic configuration of the home smart central control screen and improve the system flexibility and performance.
[0069] based on Figure 3 The user first adds a new device to the home host database. The central control screen accesses the home host database to compare the device information and determine whether to add a new device. If it is recognized that a new device has been added to the home, it will autonomously identify the device information and device category, and dynamically load the configuration table and generate a specific model to realize the dynamic configuration of the home smart central control screen. If it is recognized that a device has been deleted in the home, the configuration table will be released to improve the system flexibility and performance.
[0070] By adopting the scheme of this embodiment, the home smart central control screen contains a configuration table configuration function and a UI interface, which can dynamically load and generate specific models; by pulling the device categories in the home host database, the configuration table can be dynamically loaded without restarting the central control screen; the configuration is dynamically generated to reduce memory usage and improve system operation efficiency; with a modular design, the configuration table and the UI interface can be flexibly adjusted as needed to adapt to different types of home appliances. Through the above scheme, the present invention realizes the dynamic configuration function of the home smart central control screen, which significantly improves the flexibility, user experience and operation efficiency of the system. By dynamically loading the configuration table and generating specific models, the central control screen can adapt to different types of home appliances, improving the flexibility and adaptability of the system; dynamic configuration can be achieved without restarting the central control screen, ensuring the continuity and stability of the system, and providing a better user experience; the dynamic generation of configuration reduces the memory usage of the central control screen and improves the operation efficiency and response speed of the system; the device category is identified through the home host database and the corresponding configuration table is loaded, so that the system can quickly adapt to new devices and simplify the user operation process.
[0071] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0072] Example 2
[0073] In this embodiment, a central control screen is also provided, which is used to implement the above embodiments and preferred implementations, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and hardware for the reservation function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, can also be conceived.
[0074] Figure 4 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, and the controller 42 includes:
[0075] A first determining module 420, configured to determine a first device newly added to the target local area network;
[0076] An acquisition module 422 is used to acquire the attribute information of the first device from a network server of a central control screen, wherein the network server is connected to the central control screen via the target local area network;
[0077] A generating module 424, configured to generate a first configuration table of the first device according to the attribute information;
[0078] The 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 in the configuration data in 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; a second generation unit, used to copy the local configuration table, and use the device identifier to update the original identifier of the local configuration table to obtain the first configuration table of the first device.
[0081] Optionally, the display module includes: a loading unit, used to load the first configuration table into the local storage space of the central control screen; a generating unit, used to generate 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; an adding unit, used to add the device display model to the operation interface of the central control screen, and install the device control model in the operating system of the central control screen.
[0082] Optionally, the first determination module includes: a reading unit, used to read the network device list of the target local area network from the network server, and to read 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; a comparison unit, used to compare the network device list and the local device list; and a determination unit, used to determine the first device newly added to the target local area network based on the comparison result.
[0083] Optionally, the central control screen also includes: a detection module, used to detect user control instructions for the first device based on the central control screen after the display module uses the first configuration table to load the device model of the first device on the central control screen; and a sending module, used to send device control instructions to the first device according to the user control instructions.
[0084] Optionally, the central control screen also includes: a second determination module, used to determine the second device that has been deleted from the target local area network; a search 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 deletion 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, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.
[0086] Example 3
[0087] An embodiment of the present invention further provides a storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0088] Optionally, in this embodiment, the above storage medium may be configured to store a computer program for executing:
[0089] S1, determining the first device newly added to the target local area network;
[0090] S2, obtaining attribute information of the first device from a network server of a central control screen, wherein the network server and the central control screen are connected via the target local area network;
[0091] S3, generating a first configuration table of the first device according to the attribute information;
[0092] S4: Use the first configuration table to load the device model of the first device on the central control screen.
[0093] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.
[0094] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one 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 may be configured to perform the following steps through a computer program:
[0097] S1, determining the first device newly added to the target local area network;
[0098] S2, obtaining attribute information of the first device from a network server of a central control screen, wherein the network server and the central control screen are connected via the target local area network;
[0099] S3, generating a first configuration table of the first device according to the attribute information;
[0100] S4: Use the first configuration table to load the device model of the first device on the central control screen.
[0101] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.
[0102] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0103] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description 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. Among them, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0105] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0106] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0107] If the integrated unit is implemented in the form of 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 the present application, 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, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a controller or a network device, etc.) to perform all or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk, etc., various media that can store program codes.
[0108] The above are only preferred implementations of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for configuring the interface of a central control screen, characterized in that: include: Determine a first device newly added to the target local area network; Acquire the 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 according to the attribute information; The device model of the first device is loaded on the central control screen using the first configuration table.
2. The method according to claim 1, characterized in that: Generating a first configuration table of the first device according to the attribute information includes: Searching for configuration data matching the attribute information in a preset configuration table library of the central control screen; The configuration data is filled in a preset configuration template to obtain a first configuration table of the first device.
3. The method according to claim 1, characterized in that: Generating a first configuration table of the first device according to the attribute information includes: Parsing the device identification and function identification in the attribute information; Based on the function identifier, searching for a twin device with the same function as the first device in the local device list of the central control screen; Reading the local configuration table of the twin device in the central control screen; The local configuration table is copied, and the original identifier of the local configuration table is updated using the device identifier to obtain a first configuration table of the first device.
4. The method according to claim 1, characterized in that: Using the first configuration table to load the device model of the first device on the central control screen includes: Loading the first configuration table into the local storage space of the central control screen; 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; 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.
5. The method according to claim 1, characterized in that Determining the first device newly added to the target local area network includes: Reading a list of network devices of the target local area network from the network server, and reading a list of local devices of the target local area network from the central control screen, wherein the list of network devices is obtained by configuring the user terminal in the network server; Comparing the network device list with the local device list; A first device newly added to the target local area network is determined based on the comparison result.
6. The method according to claim 1, characterized in that After loading the device model of the first device on the central control screen using the first configuration table, the method further includes: Detecting a user control instruction for the first device based on the central control screen; Displaying a user control interface of the first device according to the device model, and parsing the user control instruction into a device control instruction; Send a device control instruction to the first device according to the user control instruction.
7. The method according to claim 1, characterized in that The method further comprises: Determine 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; The second configuration table is deleted in the local storage space of the central control screen, so that the central control screen deletes the device model of the second device.
8. A central control screen, characterized in that: include: A display screen and a controller, wherein the controller comprises: A first determining module, used to determine a first device newly added to the target local area network; An acquisition module, used for acquiring the attribute information of the first device from a network server of a central control screen, wherein the network server is connected to the central control screen via the target local area network; A generating module, configured to generate a first configuration table of the first device according to the attribute information; A display module is used to load the device model of the first device on the central control screen using the first configuration table.
9. A storage medium, characterized in that: A computer program is stored in the storage medium, wherein the computer program is configured to execute the steps of the method for controlling the central control screen in any one of claims 1 to 7 when running.
10. An electronic device comprising a processor, a communication interface, a memory and a communication bus, wherein: The processor, the communication interface, and the memory communicate with each other via a communication bus; wherein: Memory, used to store computer programs; A processor, used to execute the steps of the control method of the central control screen according to any one of claims 1 to 7 by running a program stored in a memory.
Citation Information
Patent Citations
Network equipment configuration method and equipment based on python interactive shell and medium
CN115174398A
Equipment binding method and device, storage medium and electronic device
CN115866571A
Control method and central control equipment
CN116931802A
IoT device control method and device, IoT system and storage medium
CN116974209A
Equipment configuration method and device, electronic equipment and storage medium
CN117806206A