Method for quickly adding equipment, intelligent system and electronic equipment
Through the connection between smart terminals and edge devices, the device addition process is simplified by icon matching and configuration instructions, and the problem of complex device addition and poor user experience in the prior art is solved, and fast and simple device addition and information configuration is achieved.
Patent Information
- Application Number
- CN202510127535.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-05
- Publication Date
- 2025-03-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The equipment addition process of the existing smart home device management platform is complicated, and users are inconvenient to operate, and they cannot understand the equipment functions through the device list. Users need to fill in the equipment information themselves. When adding multiple devices, they need to switch pages repeatedly, which has poor user experience.
Through the connection between the smart terminal and the edge device, the edge device searches for the device to be added and obtains device information, matches the icons in the icon repository, generates a device list and sends it to the smart terminal, and the smart terminal responds to the configuration command to configure information.
It realizes the speed and simplicity of adding devices, facilitates users to identify devices through icon matching, simplifies user operation processes, and improves user experience.
Smart Images

Figure CN119603094A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of Internet of Things, and in particular to a method for quickly adding a device, an intelligent system and an electronic device. Background Art
[0002] With the development of Internet of Things technology, smart home systems have emerged. A smart home system usually contains multiple smart home devices, which can be divided into different types of devices, such as air conditioners, water heaters, washing machines, TVs, etc. Users can add these smart home devices to the smart home system through APP to facilitate the control of these smart home devices. In general, multiple smart home devices in a home usually come from different brands, and it is necessary to install the APP developed by the device manufacturer corresponding to the brand to manage the smart home device, which is not convenient for users to uniformly manage multiple smart home devices.
[0003] In order to solve this problem, the prior art proposes a device management platform that can be used to manage multiple smart home devices of different brands. However, the device adding process of these device management platforms is complicated and not conducive to user operation; it is impossible to understand the function / purpose of the device through the device list information; users are required to fill in the device information to complete the addition; when adding multiple devices, it is necessary to repeatedly switch pages for operation, which has a poor user experience. Summary of the invention
[0004] In order to solve the existing technical problems, the embodiments of the present invention provide a method for quickly adding a device, an intelligent system, an electronic device and a computer-readable storage medium.
[0005] In the first aspect, an embodiment of the present invention provides a method for quickly adding devices, which is processed by an intelligent system including a smart terminal and an edge device, and the method includes: the edge device connected to the smart terminal searches for the device to be added and obtains the device information of the device to be added; the edge device matches the device information of the device to be added with the icons in an icon repository; the icon repository is set in the edge device and has icons or general icons of multiple device types; when an icon corresponding to the device information of the device to be added is matched, the edge device uses the icon as the device identification of the device to be added, generates a list of devices to be added and sends it to the smart terminal; the smart terminal responds to the configuration instruction and configures the information of the device to be added.
[0006] Optionally, the device information includes at least one of a device name, a device serial number, a device model, a device type, and a manufacturer; the edge device matches the device information of the device to be added with the icon in the icon repository, including: the edge device identifies whether the acquired device information of the device to be added contains the device type and the manufacturer; if so, using the icon in the icon repository that matches both the device type and the manufacturer as the device identifier of the device to be added; if not, determining whether the acquired device information of the device to be added contains the device type; if so, using the general icon in the icon repository that matches the device type as the device identifier of the device to be added.
[0007] Optionally, before the edge device connected to the smart terminal searches for the device to be added, the method also includes: the edge device receives an automatic scanning instruction sent by the smart terminal and starts device scanning; or, the edge device starts device scanning when detecting a device connected to its own routing.
[0008] Optionally, a list of devices to be added is displayed in a first display area of the smart terminal; the smart terminal performs information configuration on the devices to be added in response to the configuration instruction, including: in response to the first configuration instruction, displaying an information configuration interface of the devices to be added in a second display area of the smart terminal; in response to a manual operation instruction, performing information configuration on the devices to be added in the second display area, and sending the configuration information to the edge device; the edge device completes the information configuration of the devices to be added according to the configuration information; or, based on a second configuration instruction triggered for any device to be added in the list of devices to be added, the second configuration instruction includes moving the icon of the device to be added to a preset functional area of the smart terminal; sending the second configuration instruction to the edge device; the edge device completes the automatic configuration of the devices to be added according to the preset rules of the preset functional area.
[0009] Optionally, after configuring information for the device to be added, the method further includes: the edge device sending a configuration success instruction to the smart terminal, or the edge device sending a configuration success instruction and a deletion instruction for the device to be added to the smart terminal, so that the smart terminal removes the device to be added from the list of devices to be added.
[0010] Optionally, the smart terminal removes the device to be added from the list of devices to be added, including: based on a deletion instruction triggered by any device to be added in the list of devices to be added, removing the device to be added from the list of devices to be added, and assigning a first identity to the device to be added; when the edge device starts device scanning again, hiding the device to be added with the first identity.
[0011] In the second aspect, an embodiment of the present invention also provides an intelligent system, including: a search module, a matching module, a generation module and a configuration module; the search module is used for the edge device connected to the smart terminal to search for the device to be added and obtain the device information of the device to be added; the matching module is used for the edge device to match the device information of the device to be added with the icon in the icon repository; the icon repository is set in the edge device and has icons or general icons of multiple device types; the generation module is used for the edge device to use the icon as the device identification of the device to be added when the icon corresponding to the device information of the device to be added is matched, and generate a list of devices to be added and send it to the smart terminal; the configuration module is used for the smart terminal to configure the information of the device to be added in response to the configuration instruction.
[0012] In a third aspect, an embodiment of the present invention provides an electronic device, comprising a processor and a memory, wherein the memory stores a computer program, and the processor executes the computer program stored in the memory, and when the computer program is executed by the processor, the method for quickly adding devices described in the first aspect above is implemented.
[0013] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method for quickly adding a device as described in the first aspect above.
[0014] In a fifth aspect, the present application also provides a computer program product, including a computer program, which, when executed, can implement the method for quickly adding devices described in the above-mentioned first aspect or any possible design method of the first aspect.
[0015] The method, intelligent system, electronic device and computer-readable storage medium for quickly adding devices provided in the embodiments of the present invention can facilitate users to identify devices and quickly complete device addition by matching icons corresponding to the devices to be added and using them as device identifiers of the devices to be added; and can simplify the user's operation of adding devices through quick configuration instructions (such as gesture actions). BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the background technology, the drawings required for use in the embodiments of the present invention or the background technology will be described below.
[0017] Figure 1 A flowchart of a method for quickly adding a device provided by an embodiment of the present invention is shown; Figure 2 A schematic diagram of the structure of an intelligent system provided by an embodiment of the present invention is shown; Figure 3 A schematic structural diagram of an electronic device for executing a method for quickly adding a device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0018] The embodiments of the present invention are described below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0019] An embodiment of the present invention provides a method for quickly adding a device. The method is executed by an intelligent system including an intelligent terminal and an edge device. An application program capable of accessing and controlling the edge device is installed in the intelligent terminal. Figure 1 FIG. 4 is a flow chart showing the method for quickly adding a device. Figure 1 As shown, the method includes the following steps 101-104.
[0020] Step 101: The edge device connected to the smart terminal searches for the device to be added and obtains the device information of the device to be added.
[0021] In an embodiment of the present invention, it is necessary to first connect the smart terminal to the edge device through a direct connection or a cloud connection. The direct connection method can be understood as the smart terminal connecting to the edge device's own routing, and the cloud connection method can be understood as the smart terminal connecting to the edge device through a cloud node. When the two are connected, the edge device can search for devices to be added, that is, smart devices to be added, such as smart air conditioners, smart water heaters, smart refrigerators, smart sweeping robots, smart sockets, etc. After searching for the device to be added, the edge device can obtain the device information of the searched device to be added.
[0022] Step 102: The edge device matches the device information of the device to be added with the icons in the icon repository; the icon repository is set in the edge device and has icons of multiple device types or universal icons.
[0023] In an embodiment of the present invention, an icon repository is provided inside the edge device, and the icon repository is used to store icons of different device types from different manufacturers and common icons of different device types. After obtaining the device information of the device to be added based on the above step 101, the edge device can match the device information of the device to be added with the icon in the icon repository.
[0024] Step 103: When an icon corresponding to the device information of the device to be added is matched, the edge device uses the icon as the device identifier of the device to be added, generates a list of devices to be added, and sends it to the smart terminal.
[0025] Specifically, after successfully matching an icon corresponding to the device to be added, the edge device uses the icon as the device identifier of the device to be added, generates a list of devices to be added, and sends it to the smart terminal for display.
[0026] Step 104: The intelligent terminal responds to the configuration instruction and performs information configuration on the device to be added.
[0027] When the smart terminal receives the list of devices to be added, it can implement the information configuration of the devices to be added through the further received configuration instructions. Among them, the configuration instruction can be an instruction of manual operation (i.e., gesture action). For example, the configuration instruction can include: long pressing or pulling down the device identification of the device to be added, manually input configuration information instructions, dragging the device identification of the device to be added, etc. In other words, when the smart terminal receives any of the above configuration instructions, it can configure the information of the device to be added.
[0028] The method for quickly adding devices provided in an embodiment of the present invention can facilitate users to identify devices and quickly complete device addition by matching the icon corresponding to the device to be added and using it as the device identifier of the device to be added; and can simplify the user's operation of adding devices through quick configuration instructions (such as gesture actions).
[0029] Optionally, the device information includes at least one of a device name, a device serial number, a device model, a device type, and a manufacturer. In the above step 102, "the edge device matches the device information of the device to be added with the icon in the icon repository" may include the following steps A1-A3.
[0030] Step A1: The edge device identifies whether the acquired device information of the device to be added contains the device type and manufacturer.
[0031] After the edge device obtains the device information of the device to be added, it can first determine whether the obtained device information contains both the device type and the manufacturer information attributes.
[0032] Step A2: If yes, then use the icon in the icon repository that matches both the device type and the manufacturer as the device identification of the device to be added; if no, then determine whether the acquired device information of the device to be added contains the device type.
[0033] If it is determined through the judgment of step A1 that the acquired device information does contain both the device type and the manufacturer information attributes, then the icon in the icon repository that matches both the device type and the manufacturer can be used as the device identifier of the device to be added. On the contrary, if it is determined through the judgment of step A1 that the acquired device information does not contain both the device type and the manufacturer information attributes, then further judgment is required to determine whether the acquired device information contains the device type information attribute.
[0034] Step A3: If yes, then use the common icon matching the device type in the icon repository as the device identifier of the device to be added.
[0035] If it is determined in step A2 that the acquired device information does contain the information attribute of the device type, then a common icon matching the device type in the icon repository may be used as the device identifier of the device to be added.
[0036] Optionally, before the above step 101 "the edge device connected to the smart terminal searches for devices to be added", the method may further include the following steps B1 or B2.
[0037] Step B1: The edge device receives the automatic scanning instruction sent by the smart terminal and starts device scanning.
[0038] After the user connects the smart terminal to the edge device through any of the above methods, the user can send an automatic scanning instruction to the edge device through the smart terminal (such as an application in the smart terminal) so that the edge device starts the device scanning function according to the automatic scanning instruction.
[0039] Step B2: When the edge device detects a device connected to its own router, it starts device scanning.
[0040] To further enhance the user experience, the edge device can also automatically start the device scanning function when it detects a smart device connected to its own router, and push the acquired list of devices to be added to the smart terminal / smart terminal APP.
[0041] It should be noted that when the edge device scans smart devices, in addition to scanning smart devices connected to its own router, it can also scan smart devices in the same local area network as the edge device. For example, when the edge device is connected to the network through other routers / optical modems, the edge device can also scan smart devices connected to the above other routers / optical modems. Specifically, the edge device can scan all smart devices that comply with the ZigBee / IoT protocol and are connected to any of the above networks.
[0042] Optionally, in the embodiment of the present invention, the list of devices to be added may be displayed in the first display area of the smart terminal. The above step 104 "the smart terminal responds to the configuration instruction and configures the devices to be added" may include the following steps C1 or C2.
[0043] Step C1: In response to the first configuration instruction, the information configuration interface of the device to be added is displayed in the second display area of the smart terminal; in response to the manual operation instruction, the information configuration of the device to be added is performed in the second display area, and the configuration information is sent to the edge device; the edge device completes the information configuration of the device to be added according to the configuration information.
[0044] In an embodiment of the present invention, after the user views the list information of the devices to be added from the first display area of the smart terminal, the user can trigger the first configuration instruction for any device to be added in the list of devices to be added, such as long pressing or pulling down the device identification of the device to be added. In response to the first configuration instruction, the smart terminal displays the information configuration interface of the device to be added in the second display area of the smart terminal, and the user can complete the information configuration in the configuration interface by entering manual operation instructions. Among them, the information configuration content may include: device alias, device key (such as a character string), and at least one of preset instructions (wherein the preset instructions can be understood as control instructions for controlling the device to be added). After receiving the configuration information input by the user, the smart terminal sends the above configuration information to the edge device; after receiving the configuration information, the edge device stores the configuration information and completes the information configuration of the device to be added according to the configuration information.
[0045] Step C2: Based on the second configuration instruction triggered by any device to be added in the list of devices to be added, the second configuration instruction is sent to the edge device; the second configuration instruction includes moving the icon of the device to be added to the preset functional area of the smart terminal; the edge device completes the automatic configuration of the device to be added according to the preset rules of the preset functional area.
[0046] Alternatively, after the user views the list information of the devices to be added from the first display area of the smart terminal, the second configuration instruction can be triggered for any device to be added in the list of devices to be added, such as dragging the icon of the device to be added to the preset function area. Among them, the preset function area can be understood as different functional areas divided according to different device types. The smart terminal receives the second configuration instruction and sends the second configuration instruction to the edge device. The edge device receives the second configuration instruction and completes the automatic configuration of the device to be added according to the preset rules of the preset function area according to the second configuration instruction. Among them, the preset rules of the preset function area can be understood as the edge device storing control instruction sets, default device aliases and other data information for different device types. When the user drags the icon of the device to be added to the preset function area, the edge device performs a default configuration of the device to be added according to the device type corresponding to the preset function area.
[0047] The embodiment of the present invention can simplify the operation of adding devices by users through quick gestures such as sliding up, pulling down, and dragging. When adding multiple devices, the devices can be added on the same page, thereby improving the user experience.
[0048] Optionally, after the above-mentioned step 104 "configuring information for the device to be added", the method may also include: the edge device sends a configuration success instruction to the smart terminal, or the edge device sends a configuration success instruction and a deletion instruction for the device to be added to the smart terminal, so that the smart terminal removes the device to be added from the list of devices to be added when it receives the configuration success instruction or receives the deletion instruction sent by the edge device.
[0049] Optionally, the smart terminal removes the to-be-added device from the to-be-added device list, which may include the following steps D1-D2.
[0050] Step D1: based on a delete instruction triggered by any device to be added in the device list to be added, remove the device to be added from the device list to be added, and assign a first identity to the device to be added.
[0051] Step D2: When the edge device starts device scanning again, the device to be added having the first identity identifier is hidden.
[0052] In an embodiment of the present invention, after the user views the list of devices to be added in the first display area of the smart terminal, a deletion instruction can be triggered for any device to be added in the list of devices to be added, such as sliding up the device ID of the device to be added or dragging the device ID of the device to be added to the deletion area, to remove the device to be added from the list of devices to be added, and assign the first identity ID to the device to be added (such as assigning the deleted first identity ID to the device to be added). When the edge device starts the scanning function again, the device to be added with the first identity ID is hidden.
[0053] Furthermore, when the smart terminal receives a prompt message indicating that the device to be added is successfully configured (i.e., when the smart terminal receives a configuration success instruction sent by the edge device), a second identity identifier may be assigned to the device to be added (e.g., the device to be added is assigned a second identity identifier of succeed). When the edge device starts the scanning function again, the device to be added with the second identity identifier is hidden.
[0054] The above describes in detail the method for quickly adding a device provided by an embodiment of the present invention. The method can also be implemented by a corresponding intelligent system. The following describes in detail the intelligent system for quickly adding a device provided by an embodiment of the present invention.
[0055] Figure 2 FIG. 1 is a schematic diagram showing a structure of an intelligent system for quickly adding devices provided by an embodiment of the present invention. Figure 2 As shown, the intelligent system includes a processor, which includes a search module 21 , a matching module 22 , a generation module 23 and a configuration module 24 .
[0056] The search module 21 is used to search the edge device connected to the smart terminal for the device to be added and obtain the device information of the device to be added.
[0057] The matching module 22 is used for the edge device to match the device information of the device to be added with the icons in the icon repository; the icon repository is set in the edge device and has icons of multiple device types or universal icons.
[0058] The generating module 23 is used for, when an icon corresponding to the device information of the device to be added is matched, the edge device uses the icon as the device identification of the device to be added, generates a list of devices to be added and sends it to the smart terminal.
[0059] The configuration module 24 is used for the intelligent terminal to perform information configuration on the device to be added in response to the configuration instruction.
[0060] Optionally, the device information includes at least one of a device name, a device serial number, a device model, a device type, and a manufacturer; the matching module 22 includes: a first judgment unit, a first matching unit, and a second matching unit.
[0061] The first judgment unit is used for the edge device to identify whether the device information of the device to be added obtained contains the device type and the manufacturer.
[0062] The first matching unit is used to, if yes, use the icon in the icon repository that matches both the device type and the manufacturer as the device identifier of the device to be added; if no, determine whether the acquired device information of the device to be added contains the device type.
[0063] The second matching unit is configured to, if yes, use the common icon in the icon repository that matches the device type as the device identifier of the device to be added.
[0064] Optionally, the intelligent system further includes: a start scanning module.
[0065] The start scanning module is used for the edge device to receive the automatic scanning instruction sent by the smart terminal and start device scanning; or, the edge device starts device scanning when detecting a device connected to its own routing.
[0066] Optionally, the list of devices to be added is displayed in the first display area of the smart terminal; the configuration module 24 includes: a manual configuration unit and an automatic configuration unit.
[0067] The manual configuration unit is used to respond to the first configuration instruction, display the information configuration interface of the device to be added in the second display area of the smart terminal; respond to the manual operation instruction, configure the information of the device to be added in the second display area, and send the configuration information to the edge device; the edge device completes the information configuration of the device to be added according to the configuration information.
[0068] The automatic configuration unit is used to send the second configuration instruction to the edge device based on the second configuration instruction triggered by any device to be added in the list of devices to be added; the second configuration instruction includes moving the icon of the device to be added to the preset functional area of the smart terminal; the edge device completes the automatic configuration of the device to be added according to the preset rules of the preset functional area.
[0069] Optionally, the intelligent system further includes: a deletion module.
[0070] The deletion module is used for the edge device to send a configuration success instruction to the smart terminal, or the edge device to send a configuration success instruction and a deletion instruction for the device to be added to the smart terminal, so that the smart terminal removes the device to be added from the list of devices to be added.
[0071] Optionally, the deleting module includes: deleting a subunit and hiding a subunit.
[0072] The deleting subunit is used for removing the device to be added from the device to be added list based on a deleting instruction triggered on any device to be added in the device to be added list, and assigning a first identity to the device to be added.
[0073] The hiding subunit is used to hide the to-be-added device having the first identity identifier when the edge device starts device scanning again.
[0074] The intelligent system provided by the embodiment of the present invention can facilitate users to identify devices and quickly complete device addition by matching the icon corresponding to the device to be added and using it as the device identifier of the device to be added; and can simplify the user's operation of adding devices through quick configuration instructions (such as gesture actions).
[0075] It should be noted that the intelligent system for quickly adding devices provided in the above embodiments only uses the division of the above functional modules as an example to implement the corresponding functions. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the intelligent system for quickly adding devices provided in the above embodiments and the method embodiment for quickly adding devices belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0076] According to one aspect of the present application, an embodiment of the present invention further provides a computer program product, the computer program product comprising a computer program, the computer program comprising a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part. When the computer program is executed by a processor, the method for quickly adding a device provided in an embodiment of the present application is executed.
[0077] In addition, an embodiment of the present invention further provides an electronic device, including a bus, a transceiver, a memory, a processor, and a computer program stored in the memory and executable on the processor. The transceiver, the memory, and the processor are respectively connected via a bus. When the computer program is executed by the processor, each process of the above-mentioned method embodiment for quickly adding a device is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0078] For details, see Figure 3 As shown, the electronic device includes a bus 1110 , a processor 1120 , a transceiver 1130 , a bus interface 1140 , a memory 1150 , and a user interface 1160 .
[0079] In the embodiment of the present invention, the electronic device further includes: a computer program stored in the memory 1150 and executable on the processor 1120, and when the computer program is executed by the processor 1120, each process of the above-mentioned method embodiment for quickly adding a device is implemented.
[0080] The transceiver 1130 is configured to receive and send data under the control of the processor 1120 .
[0081] In an embodiment of the present invention, a bus architecture (represented by bus 1110 ) may include any number of interconnected buses and bridges, and bus 1110 connects various circuits including one or more processors represented by processor 1120 and a memory represented by memory 1150 .
[0082] Bus 1110 represents one or more of any of several types of bus structures, including a memory bus and memory controller, a peripheral bus, an Accelerate Graphical Port (AGP), a processor, or a local bus using any of a variety of bus architectures. By way of example and not limitation, such architectures include: Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA), Peripheral Component Interconnect (PCI) bus.
[0083] The processor 1120 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiment may be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processors include: a general processor, a central processing unit (CPU), a network processor (NP), a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a complex programmable logic device (CPLD), a programmable logic array (PLA), a microcontroller unit (MCU) or other programmable logic devices, discrete gates, transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. For example, the processor may be a single-core processor or a multi-core processor, and the processor may be integrated into a single chip or located on multiple different chips.
[0084] Processor 1120 can be a microprocessor or any conventional processor. The method steps disclosed in the embodiment of the present invention can be directly executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software module can be located in a readable storage medium known in the art, such as a random access memory (RAM), a flash memory (FlashMemory), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a register, etc. The readable storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0085] The bus 1110 may also connect various other circuits such as peripheral devices, voltage regulators or power management circuits, and the bus interface 1140 provides an interface between the bus 1110 and the transceiver 1130, which are well known in the art. Therefore, the embodiments of the present invention will not be further described.
[0086] The transceiver 1130 may be one element or multiple elements, such as multiple receivers and transmitters, and provides a unit for communicating with various other devices on a transmission medium. For example, the transceiver 1130 receives external data from other devices, and the transceiver 1130 is used to send data processed by the processor 1120 to other devices. Depending on the nature of the computer system, a user interface 1160 may also be provided, such as a touch screen, a physical keyboard, a display, a mouse, a speaker, a microphone, a trackball, a joystick, and a stylus.
[0087] It should be understood that in an embodiment of the present invention, the memory 1150 may further include a memory remotely arranged relative to the processor 1120, and these remotely arranged memories may be connected to the server through a network. One or more parts of the above-mentioned network may be an ad hoc network, an intranet, an extranet, a virtual private network (VPN), a local area network (LAN), a wireless local area network (WLAN), a wide area network (WAN), a wireless wide area network (WWAN), a metropolitan area network (MAN), the Internet, a public switched telephone network (PSTN), a plain old telephone service network (POTS), a cellular telephone network, a wireless network, a wireless fidelity (Wi-Fi) network, and a combination of two or more of the above-mentioned networks. For example, the cellular telephone network and the wireless network can be a Global System for Mobile Communications (GSM) system, a Code Division Multiple Access (CDMA) system, a Worldwide Interoperability for Microwave Access (WiMAX) system, a General Packet Radio Service (GPRS) system, a Wideband Code Division Multiple Access (WCDMA) system, a Long Term Evolution (LTE) system, a LTE Frequency Division Duplex (FDD) system, a LTE Time Division Duplex (TDD) system, an Advanced Long Term Evolution (LTE-A) system, a Universal Mobile Telecommunications (UMTS) system, an Enhanced Mobile Broadband (eMBB) system, a Massive Machine Type of Communication (mMTC) system, an Ultra Reliable Low Latency Communications (uRLLC) system, etc.
[0088] It should be understood that the memory 1150 in the embodiment of the present invention may be a volatile memory or a non-volatile memory, or may include both a volatile memory and a non-volatile memory. Among them, the non-volatile memory includes: a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory.
[0089] Volatile memory includes: Random Access Memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as: Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM) and Direct Rambus RAM (DRRAM). The memory 1150 of the electronic device described in the embodiment of the present invention includes but is not limited to the above and any other suitable types of memory.
[0090] In the embodiment of the present invention, the memory 1150 stores the following elements of the operating system 1151 and the application program 1152: executable modules, data structures, or subsets thereof, or extended sets thereof.
[0091] Specifically, the operating system 1151 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application 1152 includes various applications, such as a media player (Media Player) and a browser (Browser), which are used to implement various application services. The program for implementing the method of the embodiment of the present invention may be included in the application 1152. The application 1152 includes applets, objects, components, logic, data structures, and other computer system executable instructions that perform specific tasks or implement specific abstract data types.
[0092] In addition, an embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the various processes of the above-mentioned method embodiment for quickly adding devices are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0093] Computer readable storage media include: permanent and non-permanent, removable and non-removable media, which are tangible devices that can retain and store instructions for use by instruction execution devices. Computer readable storage media include: electronic storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, and any suitable combination of the above. Computer readable storage media include: phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), non-volatile random access memory (NVRAM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassette storage, magnetic tape disk storage or other magnetic storage devices, memory sticks, mechanical encoding devices (such as punched cards or raised structures in grooves with instructions recorded thereon) or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined in the embodiments of the present invention, computer-readable storage media do not include temporary signals themselves, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (such as light pulses passing through fiber optic cables), or electrical signals transmitted through wires.
[0094] In the several embodiments provided in the present application, it should be understood that the disclosed devices, electronic devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, or it can be an electrical, mechanical or other form of connection.
[0095] 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, and may be located in one location or distributed over multiple network units. Some or all of the units may be selected according to actual needs to solve the problem to be solved by the embodiments of the present invention.
[0096] In addition, each functional unit in each embodiment of the present invention 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.
[0097] 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 embodiment of the present invention is essentially 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, and the computer software product is stored in a storage medium, including several instructions for a computer device (including: a personal computer, a server, a data center or other network equipment) to perform all or part of the steps of the method described in each embodiment of the present invention. The above-mentioned storage medium includes various media that can store program codes as listed above.
[0098] In the description of the embodiments of the present invention, those skilled in the art should know that the embodiments of the present invention can be implemented as methods, devices, electronic devices and computer-readable storage media. Therefore, the embodiments of the present invention can be specifically implemented in the following forms: complete hardware, complete software (including firmware, resident software, microcode, etc.), a combination of hardware and software. In addition, in some embodiments, the embodiments of the present invention can also be implemented in the form of a computer program product in one or more computer-readable storage media, and the computer-readable storage medium contains computer program code.
[0099] The above-mentioned computer-readable storage medium may adopt any combination of one or more computer-readable storage media. Computer-readable storage media include: electrical, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or devices, or any combination of the above. More specific examples of computer-readable storage media include: portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM), flash memories, optical fibers, compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices or any combination of the above. In an embodiment of the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, device, or device.
[0100] The computer program code contained in the above-mentioned computer-readable storage medium can be transmitted by any appropriate medium, including: wireless, wire, optical cable, radio frequency (RF) or any suitable combination thereof.
[0101] The computer program code for performing the operation of the embodiment of the present invention can be written in assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, integrated circuit configuration data, or in one or more programming languages or a combination thereof, wherein the programming language includes an object-oriented programming language, such as Java, Smalltalk, C++, and also includes a conventional procedural programming language, such as C language or a similar programming language. The computer program code can be executed completely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer, partially on a remote computer, and completely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer or to an external computer through any type of network, including a local area network (LAN) or a wide area network (WAN).
[0102] The embodiments of the present invention describe the provided methods, devices, and electronic devices through flowcharts and / or block diagrams.
[0103] It should be understood that each box in the flowchart and / or block diagram and the combination of boxes in the flowchart and / or block diagram can be implemented by computer-readable program instructions. These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine, and these computer-readable program instructions are executed by a computer or other programmable data processing device to produce a device that implements the functions / operations specified by the boxes in the flowchart and / or block diagram.
[0104] These computer-readable program instructions may also be stored in a computer-readable storage medium that enables a computer or other programmable data processing device to work in a specific manner. In this way, the instructions stored in the computer-readable storage medium produce an instruction device product including functions / operations specified in the blocks in the flowchart and / or block diagram.
[0105] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device, so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby enabling the instructions executed on the computer or other programmable data processing apparatus to provide a process for implementing the functions / operations specified in the blocks in the flowchart and / or block diagram.
[0106] The above is only a specific implementation of the embodiment of the present invention, but the protection scope of the embodiment of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the embodiment of the present invention, which should be included in the protection scope of the embodiment of the present invention. Therefore, the protection scope of the embodiment of the present invention should be based on the protection scope of the claims.
Claims
1. A method for quickly adding a device, characterized in that: Processed by an intelligent system including an intelligent terminal and an edge device, the method includes: The edge device connected to the smart terminal searches for a device to be added, and obtains device information of the device to be added; The edge device matches the device information of the device to be added with the icons in the icon repository; the icon repository is set in the edge device and has icons of multiple device types or universal icons; When an icon corresponding to the device information of the device to be added is matched, the edge device uses the icon as the device identifier of the device to be added, generates a list of devices to be added, and sends it to the smart terminal; The intelligent terminal performs information configuration on the device to be added in response to the configuration instruction.
2. The method according to claim 1, characterized in that The device information includes at least one of a device name, a device serial number, a device model, a device type, and a manufacturer; The edge device matches the device information of the device to be added with the icon in the icon repository, including: The edge device identifies whether the device information of the device to be added obtained includes the device type and the manufacturer; If yes, then use the icon in the icon repository that matches both the device type and the manufacturer as the device identifier of the device to be added; if no, determine whether the acquired device information of the device to be added contains the device type; If so, a common icon in the icon repository that matches the device type is used as the device identifier of the device to be added.
3. The method according to claim 1, characterized in that Before the edge device connected to the smart terminal searches for a device to be added, the method further includes: The edge device receives the automatic scanning instruction sent by the smart terminal and starts device scanning; or, when the edge device detects a device connected to its own routing, it starts device scanning.
4. The method according to claim 1, characterized in that: The list of devices to be added is displayed in the first display area of the smart terminal; the smart terminal responds to the configuration instruction and configures the information of the devices to be added, including: In response to the first configuration instruction, the information configuration interface of the device to be added is displayed in the second display area of the smart terminal; in response to the manual operation instruction, the information configuration of the device to be added is performed in the second display area, and the configuration information is sent to the edge device; the edge device completes the information configuration of the device to be added according to the configuration information; or, Based on a second configuration instruction triggered by any device to be added in the list of devices to be added, the second configuration instruction is sent to the edge device; the second configuration instruction includes moving the icon of the device to be added to a preset functional area of the smart terminal; the edge device completes the automatic configuration of the device to be added according to the preset rules of the preset functional area.
5. The method according to claim 1, characterized in that After configuring information of the device to be added, the method further includes: The edge device sends a configuration success instruction to the smart terminal, or the edge device sends a configuration success instruction and a deletion instruction for the device to be added to the smart terminal, so that the smart terminal removes the device to be added from the list of devices to be added.
6. The method according to claim 5, characterized in that The smart terminal removing the to-be-added device from the to-be-added device list includes: Based on a deletion instruction triggered on any device to be added in the list of devices to be added, removing the device to be added from the list of devices to be added, and assigning a first identity to the device to be added; When the edge device starts device scanning again, the device to be added having the first identity identifier is hidden.
7. An intelligent system, characterized in that: include: Search module, matching module, generation module and configuration module; The search module is used to search the edge device connected to the smart terminal for the device to be added and obtain the device information of the device to be added; The matching module is used for the edge device to match the device information of the device to be added with the icon in the icon repository; The icon repository is set in the edge device and has icons of multiple device types or universal icons; The generation module is used for, when an icon corresponding to the device information of the device to be added is matched, the edge device uses the icon as the device identifier of the device to be added, generates a list of devices to be added and sends it to the smart terminal; The configuration module is used by the intelligent terminal to perform information configuration on the device to be added in response to a configuration instruction.
8. An electronic device comprising a processor and a memory, wherein the memory stores a computer program, characterized in that: The processor executes the computer program stored in the memory to implement the steps in the method for quickly adding a device according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps in the method for quickly adding a device according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed, the steps in the method for quickly adding a device as claimed in any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Smart home equipment adding method and device
CN106953785A
Method, device, storage medium and terminal for adding device
CN108958698A
Equipment adding method, router and storage medium
CN110505284A
Remote control equipment configuration method and device and storage medium
CN118353728A
Methods and systems for providing a dynamic array of services and information through a dynamic icon
US20130337785A1