Equipment configuration method and device, equipment, storage medium and computer program product

Through the matching and linkage configuration of virtual devices and physical devices, intelligent services are generated, and the problem of time-consuming and labor-intensive configuration of traditional smart devices is solved, and the effect of simplifying the configuration process and improving user experience is achieved.

CN119011389APending Publication Date: 2024-11-22SHENZHEN LUMIUNITED TECH CO LTD
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202410952300.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The configuration process of traditional smart devices is time-consuming and labor-intensive and prone to configuration errors, resulting in poor user experience.

Method used

Provide a device configuration method, which generates intelligent services by displaying a space configuration page, responds to user's virtual device addition and linkage configuration operations, and matches the physical devices of the associated relationship based on the device capabilities of the virtual device, so as to realize the configuration and execution of intelligent services. The method includes display module, adding module, generating module, determining unit, generating unit, display module, adjustment module and processing module, which is used to simplify the equipment configuration process and improve efficiency.

Benefits of technology

Users can flexibly adjust intelligent services to adapt to different scenarios and needs, simplify device configuration processes, improve configuration efficiency and user experience, and reduce the possibility of configuration errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119011389A_ABST
    Figure CN119011389A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an equipment configuration method and device, equipment, a storage medium and a computer program product. The method comprises the steps that a space configuration page is displayed; the space configuration page comprises a created target space and a virtual device; in response to an adding operation for the selected virtual device, configuring the added virtual device for the target space; the virtual device is defined with a corresponding device capability; and in response to a linkage configuration operation for the virtual device, generating an intelligent service, and based on the device capability of the virtual device, matching an entity device having an association relationship to obtain a configured intelligent service, so as to execute the configured intelligent service through the entity device. And configuration errors are easy to occur.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a device configuration method, apparatus, device, storage medium and computer program product. Background Art

[0002] With the advancement of technology, devices are becoming more and more intelligent, greatly improving the quality of life and convenience of users. Modern smart devices integrate multiple functions, can achieve remote control, automatic operation and interconnection with other devices, thus bringing more comfortable and personalized services to users.

[0003] Currently, users can purchase various smart devices according to their needs, such as smart light bulbs, smart sockets, smart door locks, etc., and then integrate and match them through the terminal, and display them to users in the form of menus and submenus on the terminal interface.

[0004] However, traditional smart device configuration requires cumbersome installation and configuration, which is time-consuming and labor-intensive, and prone to configuration errors. Summary of the invention

[0005] In view of this, the present application provides a device configuration method, apparatus, device, storage medium and computer program product to solve the problem of time-consuming and labor-intensive, and prone to configuration errors in the prior art. To achieve one or part or all of the above purposes or other purposes, the present application proposes a device configuration method, apparatus, device and storage medium.

[0006] First aspect:

[0007] The present application provides a device configuration method, comprising:

[0008] Displaying a space configuration page; the space configuration page includes the created target space and virtual devices;

[0009] In response to an add operation for the selected virtual device, configuring the added virtual device for the target space; the virtual device is defined with corresponding device capabilities;

[0010] In response to the linkage configuration operation for the virtual device, an intelligent service is generated, and based on the device capability of the virtual device, a physical device with an associated relationship is matched to obtain the configured intelligent service, so as to execute the configured intelligent service through the physical device.

[0011] Second aspect:

[0012] The present application provides a device configuration apparatus, comprising:

[0013] A display module, used to display a space configuration page; the space configuration page includes a created target space and virtual devices;

[0014] An adding module, configured to configure the added virtual device for the target space in response to an adding operation for the selected virtual device; the virtual device is defined with corresponding device capabilities;

[0015] The generation module is used to generate an intelligent service in response to the linkage configuration operation for the virtual device, and obtain the configured intelligent service by matching the physical device with the associated relationship based on the device capability of the virtual device, so as to execute the configured intelligent service through the physical device.

[0016] In some embodiments of the present application, the generating module includes:

[0017] A determination unit, configured to determine a target physical device corresponding to the virtual device according to the association relationship and the virtual configuration information corresponding to the virtual device; the association relationship is used to indicate that there is a mapping relationship between the associated virtual device and the physical device in terms of device capabilities;

[0018] The generating unit is used to generate an intelligent service according to the target physical device and the collaborative device information corresponding to the virtual device, wherein the collaborative device information is device information that can perform the same task in collaboration with the virtual device.

[0019] In some embodiments of the present application, the determining unit includes:

[0020] A first determining subunit, configured to determine a candidate physical device corresponding to the virtual device according to the association relationship and the virtual configuration information corresponding to the virtual device;

[0021] A second determination subunit is used to obtain a device priority corresponding to each candidate physical device, and determine a target physical device corresponding to each virtual device according to the device priority;

[0022] In some embodiments of the present application, the generating unit is specifically used for:

[0023] Updating the device identification of the virtual device to the device identification of the target physical device, and establishing a linkage relationship between the device identifications of the virtual devices according to the linkage virtual devices corresponding to the virtual devices;

[0024] Generate an intelligent service based on the linkage relationship and preset intelligent service information.

[0025] In some embodiments of the present application, the second determining subunit is specifically used to:

[0026] Determine the device position of the physical device corresponding to each virtual device; calculate the distance between the device position and the target position; determine the physical device whose distance is less than a preset value, and determine the physical device with the highest device priority as the target physical device among the physical devices whose distance is less than the preset value.

[0027] In some embodiments of the present application, a display module is further included, and the display module is used to:

[0028] In response to the demonstration operation for the smart service, the scene state of each of the physical devices executing the smart service is displayed; the scene state includes the space state corresponding to the target space and the device state corresponding to each virtual device.

[0029] In some embodiments of the present application, the generating module is further used to:

[0030] Displaying a pushed smart service on the space configuration page, the smart service being generated based on the attribute information of the target space and the device capability indicated by each of the virtual devices, the virtual devices including the virtual devices corresponding to the physical devices bound to the target account;

[0031] In response to an application operation for the selected pushed smart service, the smart service is configured for a target space corresponding to the target space, so as to execute the smart service through the physical device.

[0032] In some embodiments of the present application, the generating module is further used to:

[0033] If there is no matching physical device, based on the device capabilities of each virtual device, recommended physical devices that match each virtual device are displayed; each of the physical devices is used to implement the function of the corresponding intelligent service after accessing the network.

[0034] In some embodiments of the present application, an adjustment module is further included, wherein the adjustment module is used to:

[0035] An adjustment operation for a configured intelligent service is obtained, and a configuration item of the intelligent service is adjusted to obtain an adjusted intelligent service.

[0036] In some embodiments of the present application, a processing module is further included, wherein the processing module is used to:

[0037] Obtain the historical operation data corresponding to each physical device;

[0038] Analyzing and processing the historical operation data to obtain behavior preference information;

[0039] The configured intelligent service is adjusted based on the behavior preference information, and / or an optimized intelligent service is generated based on the behavior preference information and the configured intelligent service.

[0040] The third aspect:

[0041] The present application provides an electronic device, including at least one processor and at least one memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the steps in the device configuration of each embodiment of the present application are implemented.

[0042] Fourth aspect:

[0043] The present application provides a storage medium having a computer program stored thereon. When the computer program is executed by a processor, the computer program in the device configuration of each embodiment of the present application is implemented.

[0044] Fifth aspect:

[0045] The present application provides a computer program product, including a computer program, which implements the steps in the device configuration method of each embodiment of the present application when the computer program is executed by a processor.

[0046] Implementing the embodiments of the present application will have the following beneficial effects:

[0047] When displaying the space configuration page including the created target space and virtual devices, in response to the add operation for the selected virtual device, the added virtual device is configured for the target space, and in response to the linkage configuration operation for the virtual device, an intelligent service is generated, and based on the device capabilities of the virtual device, the physical device with the associated relationship is matched to obtain the configured intelligent service, so that the configured intelligent service is executed through the physical device. Therefore, the user can add or configure virtual devices as needed and flexibly adjust the intelligent service to adapt to different scenarios and needs. In addition, the user can simplify the device configuration process by configuring on the space configuration page. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0049] in:

[0050] Figure 1 An application environment diagram of the device configuration method provided in an embodiment of the present application;

[0051] Figure 2 A schematic diagram of a device configuration method according to an embodiment of the present application;

[0052] Figure 3 The target space layout page of the device configuration method provided in the embodiment of the present application;

[0053] Figure 4 A smart space interactive interface for the device configuration method provided in the embodiment of the present application;

[0054] Figure 5 A device configuration page for a device configuration method provided in an embodiment of the present application;

[0055] Figure 6 A schematic diagram of the structure of a device configuration apparatus provided in an embodiment of the present application;

[0056] Figure 7 Another structural schematic diagram of the device configuration apparatus provided in an embodiment of the present application;

[0057] Figure 8 Another structural diagram of the device configuration device provided in the embodiment of the present application

[0058] Fig. 9 A further structural schematic diagram of the device configuration apparatus provided in an embodiment of the present application;

[0059] Fig.10 An internal structure diagram of a computer device is provided for an embodiment of the present application. DETAILED DESCRIPTION

[0060] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions 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 this field without creative work are within the scope of protection of this application.

[0061] The device configuration method provided in this application can be applied to Figure 1 In the application environment shown. Figure 1 A device configuration system is provided, which includes a smart device 100, a gateway 200 communicatively connected to the smart device 100, a router 300, a server 400, and a terminal 500.

[0062] The smart device 100 accesses the gateway 200 in the device configuration system, and communicates with the gateway 200 through its own configured communication module, and is then controlled by the gateway 200. In one embodiment, the smart device 100 accesses the gateway 200 through a local area network path or a wide area network path, and is deployed in the gateway 200. The local area network may include ZIGBEE or Bluetooth, and the wide area network may include 2G / 3G / 4G / 5G / WIFI, etc.

[0063] The gateway 200 establishes a network connection with the terminal 500 or the server 400 through the router 300. In one embodiment, the gateway 200 and the terminal 500 may establish a network connection through a local area network or a wide area network path. The network 200 is connected to interact with the terminal 500, so that the user can control the smart home device connected to the gateway to perform corresponding actions with the help of the terminal 500 or the smart device 100.

[0064] Among them, the smart device 100 can be a smart camera, a smart curtain motor, a smart air conditioner, a smart door lock, a smart light, a smart TV, a smart control panel, a smart printer, a smart sweeper, a smart robot, and can also be an electronic device such as a human body sensor, a door and window sensor, a temperature and humidity sensor, a water immersion sensor, a natural gas alarm, a smoke alarm, a wall switch, a wall socket, a wireless switch, a wireless wall switch, a magic cube controller, etc. equipped with a communication module. The terminal 500 can be a smart phone, a laptop, a personal computer, a tablet computer, a smart control panel or other smart device that can implement network connection, which is not limited here. The server 400 can be implemented by an independent server or a server cluster composed of multiple servers.

[0065] It should be noted that the order of description of the following embodiments is not intended to limit the priority order of the embodiments.

[0066] The present application provides a device configuration method, including: displaying a space configuration page; in response to an add operation for a selected virtual device, configuring the added virtual device for a target space; in response to a linkage configuration operation for the virtual device, generating an intelligent service, and matching a physical device with an associated relationship based on the device capability of the virtual device to obtain the configured intelligent service, so as to execute the configured intelligent service through the physical device.

[0067] See also Figure 2 , provides a device configuration method, which is described by taking the method applied to an electronic device as an example, and the electronic device may be Figure 1 The smart devices, terminals, etc. in the system specifically include the following steps:

[0068] S101. Display space configuration page.

[0069] Among them, the space configuration page includes the created target space and virtual devices. The space configuration page is a user interface that provides a virtual form of expression. Users can configure the corresponding virtual devices through the space configuration page; the target space is a digital or virtual representation of the actual physical space, which is usually used to simulate, plan, design or manage the layout and functions of the actual space without making physical changes.

[0070] It can be understood that the target space can be a simulation of the actual physical space. Specifically, the target space can be a digital copy of the actual space, and can be a two-dimensional or three-dimensional graphical interface; virtual devices are used to represent actual physical devices, which can simulate specific functions of real devices, such as switch control, data acquisition, and status feedback, etc. Therefore, users can quickly configure virtual devices through the space configuration page.

[0071] For example, in the scenario of smart home configuration, users can drag virtual devices to the corresponding positions to complete the layout and function settings of the smart home. Users can also customize the configuration of each smart device and the corresponding control scheme according to their needs. Of course, the design team provides smart home design solutions based on user needs and space layout, including relevant configuration information, installation location, and space of virtual devices. Designers can also provide visual control and linkage effects based on virtual device elements. Users can control smart devices through the interface to achieve linkage between devices.

[0072] S102: In response to the adding operation for the selected virtual device, configure the added virtual device for the target space.

[0073] Among them, the virtual device is defined with corresponding device capabilities. Device capabilities refer to the functions and characteristics of the physical device corresponding to the virtual device, that is, the specific functions and operations that the physical device can perform. For example, if the target device is a smart switch, which can receive instructions to turn it on or off, then the virtual device corresponding to the smart switch also has the same device capabilities.

[0074] For example, the user selects a virtual device on the space configuration page, and the physical device corresponding to the virtual device is a smart light. Then, the user adds the virtual device to the target space. That is, in response to the adding operation for the selected virtual device, the added virtual device is configured for the target space, such as the virtual devices corresponding to smart lights, smart curtain motors, etc. The virtual devices added to the target space can simulate the corresponding functions of the physical devices.

[0075] S103 . In response to the linkage configuration operation for the virtual device, generate an intelligent service, and obtain the configured intelligent service by matching the associated physical device based on the device capability of the virtual device, so as to execute the configured intelligent service through the physical device.

[0076] Among them, the association relationship refers to the mapping relationship between the virtual device and the physical device in terms of function or device capability. The association relationship is established so that after the user configures the virtual device, the system can automatically identify and recommend physical devices with the same or similar functions, thereby realizing the conversion from virtual to physical.

[0077] Physical devices are physical devices that users can touch and operate. They have actual hardware components and embedded software that can perform specific automation tasks. For example, the functions of physical devices include but are not limited to lighting control, temperature adjustment, security monitoring, curtain control, etc. These functions are matched with the virtual devices set by users on the space configuration page. Linkage configuration operations refer to the configurations made by users to achieve mutual collaboration and automated control between multiple devices.

[0078] Smart services can be tasks that are automatically performed by a device when the trigger conditions set by the user are met. Smart services can specifically refer to a series of actions or tasks that are automatically performed by the system based on user-defined rules or conditions, usually involving the collaborative work of multiple devices. Smart services usually involve the collaborative work between multiple devices. For example, in a smart home scenario, smart services can involve the collaborative work between multiple smart home devices.

[0079] For example, users interact with virtual devices through the space configuration page, setting linkage rules between virtual devices, such as configuring the virtual lights to automatically turn on when the virtual door lock is opened; then, in response to the linkage configuration operation for the virtual device, a smart service is generated. Next, the terminal can match physical devices with corresponding capabilities to ensure that they can perform the tasks defined in the smart service. Finally, the terminal configures the smart service to the corresponding physical device, and when the trigger condition is met, the physical device can automatically perform the predetermined service.

[0080] In this embodiment, the user can customize the corresponding virtual devices for the target space through the space configuration page, add or configure virtual devices as needed, and flexibly configure the required intelligent services based on the added virtual devices to adapt to different scenarios and needs. In addition, the user's configuration on the space configuration page can simplify the device configuration process, greatly improve the device configuration efficiency, and thus effectively improve the user experience.

[0081] In some embodiments of the present application, the step of “generating an intelligent service in response to a linkage configuration operation for a virtual device, and matching a physical device with an associated relationship based on the device capability of the virtual device to obtain the configured intelligent service, so as to execute the configured intelligent service through the physical device” may specifically include:

[0082] In response to the linkage configuration operation for the virtual device, determining the target physical device corresponding to the virtual device according to the preset association relationship and the virtual configuration information corresponding to the virtual device;

[0083] Generate intelligent services based on the target physical device and the collaborative device information corresponding to the virtual device.

[0084] The association relationship is used to indicate that there is a mapping relationship between the associated virtual devices and the physical devices in terms of device capabilities. Collaborative device information describes the capabilities, functions, and features of other devices that can operate with a specific virtual device. It is pre-set virtual device information that can collaboratively perform the same task. The purpose of collaborative device information is to achieve linkage and automated control between devices, so that multiple devices can perform complex tasks in a coordinated manner. Physical devices refer to real physical devices with specific functions, such as smart light bulbs, smart sockets, smart door locks, etc.

[0085] The target physical device usually refers to a physical device that performs a specific task or automated process in a specific scenario or service. For example, a user may need to select one of multiple physical devices with similar functions to implement a specific automated task or scenario. The target physical device can be a physical device selected based on the user's configuration, device attributes, location, priority, or other logical relationships. Virtual configuration information refers to the data and setting information associated with a virtual device.

[0086] Specifically, the terminal responds to the linkage configuration operation for the virtual device, and the user can define the linkage rules between the virtual devices. These rules specify how one or more devices should respond under certain trigger conditions, such as the user selects a virtual device and sets the virtual light to turn off when the virtual door lock is triggered.

[0087] Then, based on the preset association relationship and the virtual configuration information corresponding to the virtual device, the target physical device corresponding to the virtual device is determined. For example, the virtual light can be associated with the actual smart light bulb, and the smart door can be associated with the actual smart door lock. Then, based on the collaborative device information corresponding to the target physical device and the virtual device, the smart service is generated.

[0088] For example, the virtual lights and virtual door locks mentioned above are virtual devices associated by users in special scenarios, and the collaborative device information provides information about virtual devices that can collaboratively perform the same task. Therefore, when generating smart services, the terminal can also provide candidate virtual devices that can work with the selected virtual device based on the collaborative device information and the virtual device selected by the user. Finally, the user chooses whether to add the candidate virtual device to generate the smart service.

[0089] For example, if the user sets up the linkage between door locks and lights, the terminal may recommend adding a virtual curtain controller as a collaborative device. The terminal displays candidate collaborative virtual devices to the user, and the user can choose whether to add these devices to the smart service. The user provides final confirmation to decide which devices will participate in the linkage.

[0090] When the user confirms the collaborative virtual device, the system generates intelligent services based on the target physical device and the collaborative virtual device selected by the user. For example, when the user unlocks the smart door lock with a key or mobile phone application, the system activates the intelligent service, causing all preset physical devices to perform corresponding actions according to the linkage rules. For example, when the smart light bulb is turned off, if the user selects the collaborative virtual curtain controller, the smart curtain will also be closed. It can be seen that users can add or configure virtual devices as needed, and flexibly adjust intelligent services based on the collaborative device information to adapt to different scenarios and needs.

[0091] It should be noted that in actual configuration, there may be a situation where one virtual device corresponds to multiple physical devices. For example, when a user selects a virtual light, the virtual light may correspond to physical device D1, physical device D2, and physical device D3. Therefore, in order to be able to intelligently select the most suitable physical device to perform a specific task and improve system efficiency and user satisfaction.

[0092] In some embodiments of the present application, the corresponding target physical device can be determined by obtaining the device priority, that is, the step of "determining the target physical device corresponding to the virtual device according to the preset association relationship and the virtual configuration information corresponding to the virtual device in response to the linkage configuration operation for the virtual device" can specifically include:

[0093] Determine a candidate physical device corresponding to the virtual device according to the association relationship and the virtual configuration information corresponding to the virtual device;

[0094] The device priority corresponding to each candidate physical device is obtained, and the target physical device corresponding to each virtual device is determined according to the device priority.

[0095] Among them, the device priority is generated based on historical device data and device attribute information of candidate physical devices. After the user selects a virtual device, the terminal can determine all possible corresponding candidate physical devices based on the association relationship and the virtual configuration information corresponding to the virtual device. For example, the virtual light may be associated with physical devices D1, D2, and D3. Then, the terminal evaluates and sorts the candidate physical devices according to the device priority, and the device with the highest priority can be selected as the target physical device. After determining the target physical device, an intelligent service can be generated based on the linkage configuration operation of the virtual device.

[0096] It should be noted that the device priority can be generated by the terminal analyzing the historical operation data of each candidate entity device, such as the device's usage frequency, response time, maintenance record, and user interaction history, and combining it with the device attribute information of the candidate entity device. In addition, in some embodiments of the present application, the user can also manually adjust the device priority or select the target entity device according to personal preferences. In this way, when multiple entity devices are available for selection, the target device can be quickly determined, the efficiency of task execution can be improved, and intelligent services can be provided according to the user's personalized needs and preferences.

[0097] In addition, in actual smart home configuration scenarios, there may be scenarios where users configure the smart home in a store. In this case, the user can enter his or her home address or the address where the smart home needs to be installed before executing the device configuration plan of this application.

[0098] In some embodiments of the present application, the step of “generating an intelligent service according to the target physical device and the collaborative device information corresponding to the virtual device” may specifically include:

[0099] The device identification of the virtual device is updated to the device identification of the target physical device, and a linkage relationship between the device identifications of the virtual devices is established according to the linkage virtual device corresponding to the virtual device;

[0100] Generate intelligent services based on the linkage relationship and preset intelligent service information.

[0101] After updating the identifier of the virtual device (such as the device ID or name) to the identifier of the target physical device, identify and record the linkage relationship between the virtual devices. For example, a virtual lighting device and a virtual door lock device are set to be linked (such as the light automatically turns on when the door is opened). Then, map the linkage relationship to their corresponding physical devices. Finally, configure the smart service based on the smart service information set by the user, such as device actions under specific times, conditions or scenarios.

[0102] For example, the user wants to set a "return home at night" scene for the smart home system of the new home, which includes automatically turning on the lights and adjusting the air conditioning temperature. The user selects the virtual light and virtual air conditioning controller on the space configuration page as part of the "return home at night" scene. After the user determines the physical smart light bulb and smart air conditioning in the home as the target physical device, the terminal then updates the device identifiers of the virtual light and virtual air conditioning controller to the device identifiers of the corresponding smart light bulb and smart air conditioning. The user sets a linkage rule: when the virtual door lock (mapped to the physical smart door lock) is opened at night, the virtual light and virtual air conditioning controller are automatically activated. According to this rule, the terminal establishes a linkage relationship between the smart light bulb and the smart air conditioning. Then, the terminal generates the "return home at night" smart service according to the linkage relationship and the user's preset smart service information (such as the light brightness is set to 70% and the air conditioning temperature is set to 22 degrees). As a result, the user configures the automated smart service for the desired scene, realizes the intelligent and personalized management of the home environment, and simplifies the device configuration process by configuring on the space configuration page.

[0103] In some embodiments of the present application, the step of “determining, according to the device priority, the target physical device corresponding to the virtual device” may specifically include:

[0104] Determine the device location of the physical device corresponding to each virtual device;

[0105] Calculating the distance between the device location and the target location;

[0106] A physical device whose distance is less than a preset value is determined, and a physical device with a highest device priority among the physical devices whose distance is less than the preset value is determined as a target physical device.

[0107] The inventory of the same physical device in different areas is different. Therefore, it may happen that the inventory of physical device s1 in area A is 10, the inventory of physical device s2 in area A is 10, the inventory of physical device s1 in area B is 0, and the inventory of physical device s2 in area B is 10. The scene that needs to assemble the physical device is in area B. Physical device s1 and physical device s2 both correspond to the physical device selected by the user. At this time, if physical device s1 is selected as the target physical device, the user will need to wait for a long time; if physical device s2 is selected as the target physical device, the configuration of the actual scene can be completed quickly.

[0108] It should be noted that each device should have location information, which can be obtained through the device's installation settings, user input or automatic positioning technology. The terminal can obtain the user's current location through the user's smartphone positioning, indoor positioning system or other sensors. Then, based on the device's location information and the user's location, the distance between the two is calculated, for example, by calculating the Euclidean distance between the two. The Euclidean distance, also known as the Euclidean distance, is a measure of the straight-line distance between two points in Euclidean space. It is one of the most common distance measurement methods. For point A and point B, their coordinate values ​​are recorded respectively. Then, the square difference of the coordinate values ​​of the two points is calculated. For example, in two-dimensional space, the square difference of the x coordinate and the square difference of the y coordinate are calculated, and then the square difference is added and the square root is taken to obtain the Euclidean distance.

[0109] Through this method, it is possible to flexibly adapt to the inventory situation in different areas, and intelligently select the most suitable physical equipment according to the user's specific needs and scene location, ensuring that users have an efficient and satisfactory smart home configuration experience.

[0110] Furthermore, when the user selects the target physical device, the terminal will update the device ID that originally represents the virtual device to the device ID of the target physical device, ensuring that the settings and instructions configured in the virtual device can be correctly applied to the actual physical device. Then, the terminal will identify the virtual devices that are linked to the updated physical device, and these devices will jointly participate in the user-defined smart scene. Then, the terminal will establish the linkage relationship between these virtual devices and the preset smart service information to generate smart services.

[0111] In some embodiments of the present application, the device configuration method provided by the present application may further include:

[0112] If there is no matching physical device, recommended physical devices that match each virtual device are displayed based on the device capabilities of each virtual device.

[0113] It should be noted that, in the actual configuration process, there may be a situation where there is no physical device matching the virtual device selected by the user. In this case, a physical device matching each virtual device may be recommended for the user to select.

[0114] Among them, the recommended physical devices that match each virtual device are used to implement the functions of the corresponding intelligent services after joining the network. For example, the user selects a virtual security camera and a virtual door lock to set up an automated scene when leaving home. The inventory and available physical devices are intelligently checked to determine that there is currently no physical security camera device that matches the virtual security camera selected by the user. At this time, the terminal can search and recommend other physical devices with similar functions based on the device capabilities of the virtual security camera. For example, the terminal can recommend a smart camera with motion detection and remote video access functions.

[0115] The terminal can display a recommendation list to the user, including recommended physical devices and their functional descriptions, for the user to choose. Select a recommended physical security camera from the recommendation list and add it to the smart home system. The terminal can automatically configure the physical device according to the configuration previously set by the user for the virtual device. After the configuration is completed, the physical security camera can perform preset smart services, such as automatically starting monitoring when the user leaves home.

[0116] It can be seen that in the embodiments of the present application, even when the devices do not match, the user can find a suitable replacement device through the recommended physical device to achieve automation and personalized services in the smart home scene.

[0117] In some embodiments of the present application, the user may also adjust the configured intelligent services according to actual needs, that is, the device configuration method of the present application may further include:

[0118] Get the adjustment operation for the configured intelligent service, adjust the configuration items of the intelligent service, and obtain the adjusted intelligent service.

[0119] Users can adjust the configured smart services according to their needs through the interface provided by the terminal, and specifically adjust the configuration items of the smart services. For example, the user may want to adjust the opening time of the smart curtains from 7pm to 8pm, or add a trigger condition based on weather changes. The terminal adjusts the smart service according to the user's adjustment operation, thereby obtaining the adjusted smart service.

[0120] For example, a user sets a "getting up" scene where the smart curtains automatically open at 7 a.m., but after setting it, the user decides that they want a later time or to adjust the curtain opening time based on weather conditions. The user can adjust the opening time of the smart curtains or add weather-based trigger conditions, and the terminal will reconfigure the smart service based on these new adjustments and reflect these changes the next time it is executed. As a result, the smart service can be flexibly configured according to the user's personal needs, and the configuration process is simple. It can be seen that the configuration efficiency of the embodiment of the present application is high.

[0121] In some embodiments of the present application, the terminal may automatically adjust the parameters of the configured intelligent service through data analysis to better meet the actual needs and habits of the user, that is, the device configuration method of the present application may further include:

[0122] Obtain the historical operation data corresponding to each physical device;

[0123] Analyze and process historical operation data to obtain behavioral preference information;

[0124] The configured intelligent service is adjusted based on the behavior preference information, and / or an optimized intelligent service is generated based on the behavior preference information and the configured intelligent service.

[0125] Historical operation data refers to the operation records of a device over a period of time, such as the device's usage frequency, on / off time, and energy consumption statistics. Behavioral preference information is data about user behavior habits and preferences. In an embodiment of the present application, behavioral preference information can be obtained by analyzing and processing historical operation data.

[0126] Specifically, each entity device may report the historical operation data in a preset manner, such as reporting at regular intervals or reporting at preset intervals, etc. Thus, the electronic device may obtain the historical operation data corresponding to each entity device.

[0127] The electronic device then further analyzes and processes the historical operation data. Specifically, the collected data can be cleaned first to remove invalid or erroneous data to ensure the accuracy of the analysis. Useful features can then be extracted from the cleaned data, which can reflect the user's behavior patterns or preferences, such as click-through rate, access time, and dwell time. Then, statistical analysis, machine learning, and other methods can be used to identify the user's behavior patterns, such as frequently visited pages, preferred functions, and so on, thereby obtaining behavior preference information.

[0128] For example, a user adjusts the light brightness in the living room at 9 pm every night to suit reading. The terminal can analyze this behavior, learn the user's preference, and automatically adjust the light brightness at 9 pm every night, or automatically trigger the reading mode when the user sits down on the sofa and picks up a book. For another example, the terminal analysis finds that the user tends to relax in dimmer lights on weekday evenings, but prefers a brighter environment on weekends. The terminal can automatically adjust the light settings to suit this pattern. In addition, if the user usually turns off the heating within an hour after leaving home, the terminal can adjust the settings of the smart thermostat to optimize energy use and save costs. In this way, the smart home system becomes more intelligent and personalized, improving the user experience.

[0129] It should also be noted that after configuring the smart service, in order to facilitate the user to preview and understand the effect of the smart service, in some embodiments of the present application, the scene state of the physical device executing the smart service can be displayed, that is, the device configuration method of the present application can also specifically include:

[0130] In response to the demonstration operation for the intelligent service, the scene status of each entity device executing the intelligent service is displayed.

[0131] The scene state includes the space state corresponding to the target space and the device state corresponding to each virtual device. For example, in response to the user's demonstration operation on the smart service, the terminal displays the expected scene state when the smart service is activated, including the space state of the target space and the device state of the virtual device. At the same time, the state of the target space and the virtual device can be mapped to the actual physical device so that the user can see the performance of these devices in the real environment.

[0132] Specifically, when users want to see the effect of "Go Home Mode", they can trigger a demonstration operation through the terminal. The terminal will display the layout of the target space, such as the state of the living room lights on and the curtains open, and map these states to the actual smart bulbs and curtain motors. Users can see the actual changes in their living room when "Go Home Mode" is activated, so as to evaluate and adjust smart services to meet their personalized needs. This process not only enhances the user experience, but also makes the process of device configuration more intuitive and easy.

[0133] In some embodiments of the present application, the terminal may also automatically recommend or generate intelligent services suitable for user needs according to the user's specific target space layout and device capabilities, so that the user can choose according to his own needs. That is, the device configuration method of the present application may also specifically include:

[0134] Display the pushed smart services on the space configuration page.

[0135] In response to an application operation for the selected pushed smart service, the smart service is configured for a target space corresponding to the target space, so as to execute the smart service through a physical device.

[0136] Among them, the intelligent service is generated based on the attribute information of the target space and the device capabilities indicated by each virtual device, and the virtual device includes the virtual device corresponding to the physical device bound to the target account.

[0137] It is understandable that in addition to manually configuring the corresponding smart services on the space configuration page, the electronic device can also automatically generate recommended smart services based on the virtual devices added by the user and display them on the space configuration page. Specifically, the electronic device can analyze the service functions that can be realized by each device and between each device based on the device information such as the device attributes, device functions, and device capabilities of each virtual device that has been added, and then generate the smart services to be recommended. In this way, various automatically generated and achievable smart services can be recommended to the user without manual configuration by the user.

[0138] In some embodiments, when matching physical devices with associated relationships based on the device capabilities of virtual devices to configure corresponding smart services, if there is no matching physical device or no matching smart service, the electronic device automatically generates recommended smart services based on the virtual devices added by the user and displays them on the space configuration page.

[0139] Smart services that users may be interested in can be identified through data sources such as user behavior analysis, preference settings, or environmental sensors. For example, if the system detects that the user often turns on the lights and TV in the living room at 7 pm, it can push a smart service for "evening entertainment mode". On the space configuration page, a list of applicable smart services is displayed for users to choose from. Users select a smart service based on their needs and can customize the parameters of the service, such as adjusting trigger conditions or setting specific execution actions. Users select the target space to apply the service, such as the living room, bedroom, or kitchen. Based on the selected space, all available physical devices in the space are displayed, and devices compatible with the selected service are recommended. Users confirm or adjust the mapping relationship between smart services and physical devices to ensure that the service can be executed through the correct device.

[0140] For example, a user has a virtual living room space, which is equipped with smart lights, smart air conditioners, and smart curtains. The terminal analyzes the south-facing direction of the living room, the large windows, and the user's preference for a cool environment, and generates a "summer cool mode" smart service. This service includes automatically raising the air conditioner temperature in the afternoon, adjusting the curtains to block the sun, and setting the appropriate light brightness. The user sees this pushed smart service on the space configuration page and feels that it meets his needs, so he chooses to apply it.

[0141] The terminal then configures this service for the virtual device in the living room and synchronizes the configuration information to the actual smart lighting, air conditioning and curtain devices. When the user returns home on a hot summer afternoon, the smart service is automatically activated to create a cool and comfortable environment for the user. Thus, the corresponding smart service can be personalized for the user based on the user's target space and the device capabilities in the target space. In this way, the smart home system becomes more intelligent and personalized, improving the user experience.

[0142] The above is the device configuration process provided in the embodiment of the present application.

[0143] From the above, it can be seen that an embodiment of the present application provides a device configuration method. After displaying the space configuration page, the space configuration page includes a created target space and a virtual device. In response to an add operation for a selected virtual device, the added virtual device is configured for the target space. The virtual device is defined with corresponding device capabilities. In response to a linkage configuration operation for the virtual device, an intelligent service is generated, and based on the device capabilities of the virtual device, a physical device with an associated relationship is matched to obtain the configured intelligent service, so as to execute the configured intelligent service through the physical device. It can be seen that in the device configuration scheme provided in the present application, users can add or configure virtual devices as needed, and flexibly adjust intelligent services to adapt to different scenarios and needs. Moreover, users can simplify the device configuration process by configuring on the space configuration page.

[0144] In order to facilitate understanding of the device configuration scheme of this application, the following is a pre-sales design scenario of the scheme applied to a smart home, as follows:

[0145] In this scenario, it can be provided to users in the pre-sales stage based on user needs and product service capabilities. It specifically includes relevant information about virtual devices, including device type, function, quantity, etc. Physical devices refer to actual devices with the same capabilities in the product inventory, which can be directly applied to the user's smart home system, including the following steps:

[0146] a. Staff can arrange the space according to user needs, such as Figure 3 As shown, a design scheme for a smart home is provided, including relevant information of virtual devices (not shown in the figure), installation location M1, belonging space M2, etc.;

[0147] b. The device configuration system (hereinafter referred to as the system) matches the physical devices with the same capabilities in the service provider's product inventory according to the virtual device information in the design plan, and establishes a mapping relationship between the virtual devices and the physical devices.

[0148] c. The staff can formulate a method for determining the priority of virtual and physical devices to ensure the rationality of the equipment commodity list and installation and configuration guidance after the solution conversion;

[0149] d. The staff can also provide intelligent services and linkage configuration information based on the device capabilities, including all the information in the whole house smart home design plan;

[0150] e. Based on the apartment data, the system provides an intuitive and three-dimensional intelligent space interactive interface on the user side, such as Figure 4 shown. Figure 4Two spatial interaction interfaces are presented, corresponding to the spatial interaction interface corresponding to the three-dimensional target space and the spatial interaction interface corresponding to the two-dimensional target space. The spatial interaction interface includes environmental monitoring items, such as indoor temperature, indoor humidity and indoor air quality. The spatial interaction interface also includes an overview of the equipment, which can specifically include the status of the corresponding equipment in each area under the target space, such as the lights in the four rooms are on, all air conditioners are off, all curtains are offline, the doors and windows of the four rooms are open, etc. At the same time, in the corresponding areas of the target space of the spatial interaction interface, the corresponding equipment status is displayed respectively. For example, if the light in the living room is on, then in the target space, the living room area in the target space is highlighted with highlights or other colors to distinguish it from the display status of the room with the lights off.

[0151] The staff can generate a design plan on the interface based on the apartment data provided by the user by following the steps below:

[0152] ① Create a new project and input apartment data: You can create a new project in the system background and input the apartment data provided by the user, such as the size of the room and the location of the walls, etc. These data will be used to generate a visual room layout (there is a relatively mature generation method for this, which is similar to data modeling and the principle is relatively simple).

[0153] ②Add virtual device elements: The staff can define various virtual device elements in the system background, such as lights, curtains, TVs, air conditioners, etc., as well as the mapping relationship between them. These virtual device elements will be used to display the visualized smart home solutions in the interface, such as Figure 5 shown.

[0154] ③Add physical device models and mapping relationships: Staff can add multiple physical device models in the system background and define the mapping relationships between them and virtual device elements. These physical devices will be recommended to users.

[0155] ④ Create a visual room layout: Based on the apartment data and requirements provided by the user, the designer can create a visual room layout in the interface. The staff can add virtual equipment elements in each room and adjust their position and size by dragging and dropping to meet the user's needs.

[0156] ⑤ Setting linkage effects: The staff can provide visual control and linkage effects based on virtual device elements. For example, the user can control the lights and curtains in the living room through the interface. When the TV is turned on, the lights and curtains can be automatically adjusted to a state suitable for watching TV. The staff can set these linkage effects in the interface to provide a better user experience.

[0157] ⑥ Adjustment of user-defined schemes: Users can customize and adjust each smart device and the corresponding control scheme according to their own needs. The staff can provide some default schemes for users to choose from, or allow users to freely adjust the position, linkage effect and control scheme of each device according to their own needs.

[0158] Finally, in the space layout interface, the device overview can be displayed, such as the lights in the four rooms are on, all air conditioners are off, all curtains are offline, and the doors and windows of the four rooms are open; in addition, the indoor temperature, indoor humidity, and indoor air quality can also be displayed in the space layout interface. Users can also interact with smart devices in the target space through a voice control T, such as controlling the opening and closing of curtains or air conditioners through voice.

[0159] Equipment management and order conversion stage:

[0160] a. The system can convert the design plan into a reasonable equipment commodity list and installation configuration guidance based on the mapping relationship between virtual devices and physical devices, the inventory status of physical devices and device priority;

[0161] b. The system generates an order and transfers it to the logistics team.

[0162] Logistics distribution and physical equipment warehousing stage:

[0163] a. Logistics staff can deliver the physical equipment to the address specified by the user based on the order information;

[0164] b. Installation staff can manage the warehousing of physical equipment, monitor the inventory status of physical equipment, and update the inventory information in the system in real time.

[0165] Equipment installation and configuration phase:

[0166] a. The user selects the corresponding physical device to physically access the network, and the system will automatically identify the mapping relationship between the virtual device and the physical device;

[0167] b. The system automatically replaces the logical links of the corresponding virtual devices according to the mapping relationship, and provides a reasonable and accurate installation location and space for each physical device, such as Figure 6 shown.

[0168] c. After the user confirms the configuration application, the system will take effect and start providing corresponding intelligent services and linkage configurations.

[0169] Intelligent service and linkage configuration phase:

[0170] The device automatically completes the corresponding operations according to the preset intelligent services and linkage configurations;

[0171] a. Users can remotely control and manage the device through mobile phone APP or voice control;

[0172] b. The system collects equipment usage data and conducts intelligent learning and optimization.

[0173] The following are possible implementations and results:

[0174] ① Data collection: The system can collect device usage data, such as the device's on / off status, usage time, power consumption, and other information, and upload these data to the cloud for analysis and processing. At the same time, users can also authorize the system to access other related data, such as weather data, user's itinerary, etc., to improve the intelligence of the system.

[0175] ②Data analysis and processing: The system can use machine learning and data mining technologies to analyze and process device usage data to learn user usage habits and behavior patterns.

[0176] The result of the analysis and processing can be the user's behavioral preference information, which includes the frequency, time, and mode of the user's use of the device. The system identifies the user's usage habits during a specific time period, for example, the user likes to read at 9 o'clock in the evening and needs the light to be adjusted to a specific brightness. The system can predict the user's behavior patterns in specific situations based on historical data, such as preferring darker lights on weekdays and brighter environments on weekends. The system can use the learned preference information to automatically adjust device settings, such as automatically adjusting light brightness or thermostat settings, to suit the user's habits. For example, the system can analyze the user's usage habits in different time periods, predict the device usage time and mode based on the user's itinerary, etc.

[0177] ③ Intelligent learning: The system can use machine learning algorithms to train models on device usage data to learn user preferences and behavior patterns, and optimize intelligent services and linkage configurations based on the learning results. For example, the system can analyze the user's usage habits in different time periods, learn the user's living habits and behavior patterns, and then intelligently recommend corresponding intelligent services and linkage configurations based on the user's preferences and needs. In addition, the system can also dynamically adjust and optimize the learning model through user feedback and behavior data to improve the system's intelligence and user experience.

[0178] ④ Intelligent optimization: Based on the learning results, the system can automatically optimize intelligent services and linkage configurations. For example, the system can predict when and where users need to use which devices based on their schedules and weather forecasts, so as to prepare in advance to maximize the user's quality of life and comfort. In addition, the system can also optimize the energy consumption and service life of the equipment based on the equipment's usage data to save energy and reduce equipment maintenance costs.

[0179] Through intelligent learning and optimization, the system can improve the accuracy and intelligence of intelligent services and linkage configurations, and improve the quality of life and comfort of users. For example, the system can intelligently control the temperature and shading of air conditioners and curtains according to the user's schedule and weather forecast to provide the most comfortable indoor environment. In addition, the system can also intelligently recommend and optimize intelligent services and linkage configuration solutions based on user preferences and needs to improve user satisfaction and loyalty. At the same time, the system can also save energy and reduce equipment maintenance costs for users by optimizing the energy consumption and service life of equipment, thereby improving the user experience and overall user value.

[0180] See also Figure 6 , Figure 6 This is a schematic diagram of the structure of the first implementation of the device wake-up processing device provided in the embodiment of the present application. The device wake-up processing device includes a first display module 201, an adding module 202 and a generating module 203. The specific implementation can be as follows:

[0181] The first display module 201 is used to display the space configuration page.

[0182] The space configuration page includes the created target space and virtual devices.

[0183] The adding module 202 is used to configure the added virtual device for the target space in response to the adding operation for the selected virtual device.

[0184] Among them, the virtual device is defined with corresponding device capabilities.

[0185] The generation module 203 is used to generate intelligent services in response to the linkage configuration operation for the virtual device, and obtain the configured intelligent services by matching the physical devices with the associated relationships based on the device capabilities of the virtual devices, so as to execute the configured intelligent services through the physical devices.

[0186] In some embodiments of the present application, the generation module 203 includes:

[0187] A determination unit, configured to determine a target physical device corresponding to the virtual device according to the association relationship and the virtual configuration information corresponding to the virtual device; the association relationship is used to indicate that there is a mapping relationship between the associated virtual device and the physical device in terms of device capabilities;

[0188] The generating unit is used to generate intelligent services according to the target physical device and the collaborative device information corresponding to the virtual device, where the collaborative device information is the device information that can perform the same task in collaboration with the virtual device.

[0189] In some embodiments of the present application, the determining unit includes:

[0190] A first determining subunit, configured to determine a candidate physical device corresponding to the virtual device according to the association relationship and virtual configuration information corresponding to the virtual device;

[0191] A second determination subunit is used to obtain a device priority corresponding to each candidate physical device, and determine a target physical device corresponding to each virtual device according to the device priority;

[0192] In some embodiments of the present application, the generating unit is specifically used for:

[0193] The device identification of the virtual device is updated to the device identification of the target physical device, and a linkage relationship between the device identifications of the virtual devices is established according to the linkage virtual device corresponding to the virtual device;

[0194] Generate intelligent services based on the linkage relationship and preset intelligent service information.

[0195] In some embodiments of the present application, the second determining subunit is specifically used to:

[0196] Determine the device position of the physical device corresponding to each virtual device; calculate the distance between the device position and the target position; determine the physical device whose distance is less than a preset value, and determine the physical device with the highest device priority as the target physical device among the physical devices whose distance is less than the preset value.

[0197] In some embodiments of this application, please refer to Figure 7 , further comprising a second display module 204, the display module 204 is used for:

[0198] In response to the demonstration operation for the intelligent service, the scene state of each physical device executing the intelligent service is displayed; the scene state includes the space state corresponding to the target space and the device state corresponding to each virtual device.

[0199] In some embodiments of the present application, the generating module 203 is further configured to:

[0200] The pushed smart services are displayed on the space configuration page. The smart services are generated based on the attribute information of the target space and the device capabilities indicated by each virtual device. The virtual devices include the virtual devices corresponding to the physical devices bound to the target account.

[0201] In response to an application operation for the selected pushed smart service, the smart service is configured for a target space corresponding to the target space, so as to execute the smart service through the physical device.

[0202] In some embodiments of the present application, the generating module 203 is further configured to:

[0203] If there is no matching physical device, based on the device capabilities of each virtual device, recommended physical devices that match each virtual device are displayed; each of the physical devices is used to implement the function of the corresponding intelligent service after accessing the network.

[0204] In some embodiments of this application, please refer to Figure 8 , further comprising an adjustment module 205, the adjustment module 205 being used for:

[0205] Get the adjustment operation for the configured intelligent service, adjust the configuration items of the intelligent service, and obtain the adjusted intelligent service.

[0206] In some embodiments of this application, please refer to Fig. 9 , further comprising a processing module 206, the processing module 206 being configured to:

[0207] Obtain the historical operation data corresponding to each physical device;

[0208] Analyze and process historical operation data to obtain behavioral preference information;

[0209] The configured intelligent service is adjusted based on the behavior preference information, and / or an optimized intelligent service is generated based on the behavior preference information and the configured intelligent service.

[0210] As can be seen from the above, an embodiment of the present application provides a device configuration apparatus. After the display module 201 displays the space configuration page, the space configuration page includes the created target space and virtual devices. The adding module 202 responds to the adding operation for the selected virtual device, and configures the added virtual device for the target space. The virtual device is defined with corresponding device capabilities. The generating module 203 responds to the linkage configuration operation for the virtual device, generates an intelligent service, and matches the physical device with the associated relationship based on the device capability of the virtual device to obtain the configured intelligent service, so as to execute the configured intelligent service through the physical device. It can be seen that in the device configuration scheme provided in the present application, users can add or configure virtual devices as needed, and flexibly adjust the intelligent services to adapt to different scenarios and needs. Moreover, users can simplify the device configuration process by configuring on the space configuration page.

[0211] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig.10As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an intention recognition method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or it can be a computer device.

[0212] Those skilled in the art will understand that Fig.10 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0213] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0214] In one embodiment, a computer-readable storage medium is provided, storing a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0215] In one embodiment, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps in the above-mentioned method embodiments.

[0216] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0217] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0218] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the patent application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent application shall be subject to the attached claims.

Claims

1. A device configuration method, characterized in that: include: Displaying a space configuration page; the space configuration page includes the created target space and virtual devices; In response to an add operation for the selected virtual device, configuring the added virtual device for the target space; the virtual device is defined with corresponding device capabilities; In response to the linkage configuration operation for the virtual device, an intelligent service is generated, and based on the device capability of the virtual device, a physical device with an associated relationship is matched to obtain the configured intelligent service, so as to execute the configured intelligent service through the physical device.

2. The device configuration method according to claim 1, characterized in that: Generating the intelligent service according to the association relationship and the virtual configuration information corresponding to the virtual device includes: In response to the linkage configuration operation for the virtual device, a target physical device corresponding to the virtual device is determined according to a preset association relationship and virtual configuration information corresponding to the virtual device; the association relationship is used to indicate that there is a mapping relationship between the associated virtual device and the physical device in terms of device capabilities; An intelligent service is generated according to the target physical device and the collaborative device information corresponding to the virtual device, where the collaborative device information is device information that can perform the same task in collaboration with the virtual device.

3. The device configuration method according to claim 2, characterized in that: The step of determining, in response to the linkage configuration operation for the virtual device, a target physical device corresponding to the virtual device according to a preset association relationship and virtual configuration information corresponding to the virtual device, includes: Determine a candidate physical device corresponding to the virtual device according to the association relationship and the virtual configuration information corresponding to the virtual device; The device priority corresponding to each candidate physical device is obtained, and the target physical device corresponding to each virtual device is determined according to the device priority; the device priority is generated according to historical device data and device attribute information of the candidate physical device.

4. The device configuration method according to claim 2, characterized in that: The generating of the intelligent service according to the target physical device and the collaborative device information corresponding to the virtual device includes: Updating the device identification of the virtual device to the device identification of the target physical device, and establishing a linkage relationship between the device identification of each virtual device and the target physical device according to the target physical device corresponding to the virtual device; Generate intelligent services according to the linkage relationship and preset intelligent service information.

5. The device configuration method according to claim 3, characterized in that: The step of determining, according to the device priority, a target physical device corresponding to the virtual device includes: Determine the device location of the physical device corresponding to each virtual device; Calculating the distance between the device location and the target location; The physical device whose distance is less than a preset value is determined, and the physical device with the highest device priority among the physical devices whose distance is less than the preset value is determined as the target physical device.

6. The device configuration method according to claim 1, characterized in that: After generating the intelligent service in response to the linkage configuration operation for the virtual device, and matching the physical device with the associated relationship based on the device capability of the virtual device to obtain the configured intelligent service, so as to execute the configured intelligent service through the physical device, the method further includes: In response to the demonstration operation for the smart service, the scene state of each of the physical devices executing the smart service is displayed; the scene state includes the space state corresponding to the target space and the device state corresponding to each virtual device.

7. The device configuration method according to claim 1, characterized in that: Also includes: Displaying a pushed smart service on the space configuration page, the smart service being generated based on the attribute information of the target space and the device capability indicated by each of the virtual devices, the virtual devices including the virtual devices corresponding to the physical devices bound to the target account; In response to an application operation for the selected pushed smart service, the smart service is configured for a target space corresponding to the target space, so as to execute the smart service through the physical device.

8. The device configuration method according to claim 1, characterized in that: Also includes: If there is no matching physical device, based on the device capabilities of each virtual device, recommended physical devices that match each virtual device are displayed; Each of the physical devices is used to implement the corresponding intelligent service function after accessing the network.

9. The device configuration method according to claim 1, characterized in that: Also includes: An adjustment operation for a configured intelligent service is obtained, and a configuration item of the intelligent service is adjusted to obtain an adjusted intelligent service.

10. The device configuration method according to claim 1, characterized in that: Also includes: Obtain the historical operation data corresponding to each physical device; Analyzing and processing the historical operation data to obtain behavior preference information; The configured intelligent service is adjusted based on the behavior preference information, and / or an optimized intelligent service is generated based on the behavior preference information and the configured intelligent service.

11. A device configuration apparatus, characterized in that: include: A display module, used to display a space configuration page; the space configuration page includes a created target space and virtual devices; An adding module, configured to configure the added virtual device for the target space in response to an adding operation for the selected virtual device; the virtual device is defined with corresponding device capabilities; The generation module is used to generate an intelligent service in response to the linkage configuration operation for the virtual device, and obtain the configured intelligent service by matching the physical device with the associated relationship based on the device capability of the virtual device, so as to execute the configured intelligent service through the physical device.

12. An electronic device comprising at least one processor and at least one memory, wherein a computer program is stored in the memory, wherein: When the computer program is executed by the processor, the steps of the device configuration method according to any one of claims 1 to 10 are implemented.

13. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the device configuration method according to any one of claims 1 to 10 are implemented.

14. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the device configuration method according to any one of claims 1 to 10 are implemented.

Citation Information

Cited By

  • Method, device and system for linkage display of lamp effect of lamp and medium

    CN120434860A

  • Method, device, system and medium for displaying lighting effects of lamps and lanterns in a linked manner

    CN120434860B

  • Smart device configuration method based on Bluetooth Mesh and smart home system

    CN120529292A

  • Equipment management method and device, business server and storage medium

    CN121691490A