Device control method and apparatus
By receiving the working status information of the target device before the distribution network is established and the control page is pre-configured, the problem of user waiting during the distribution network process of home appliances is solved, resulting in faster distribution time and a better user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- MIDEA GROUP CO LTD
- Filing Date
- 2022-05-05
- Publication Date
- 2026-07-07
AI Technical Summary
During the home appliance network distribution process, there is no data transmission and processing while the user is waiting for the device to interact with the mobile app, which slows down the distribution process and results in a poor user experience.
Before the distribution network begins, the system receives the working status information of the target device and pre-configures the control page so that the target device can display its working status during the distribution network process. Users can input and generate control commands through the control plugin.
This reduced user waiting time, shortened network configuration time, and improved user experience.
Smart Images

Figure CN117061261B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication technology, and in particular to a device control method and apparatus. Background Technology
[0002] Network configuration is the process of enabling terminal devices to access the network via router hotspots, etc. Whether it's a Wi-Fi device, Bluetooth BLE device, 3G / 4G device, or Zigbee device, the prerequisite for achieving intelligent network connectivity is that the hardware can be directly or indirectly (via a mobile phone) connected to the Internet and added to the user's account. Only then can the device report data to the cloud and receive instructions from the cloud.
[0003] During the home appliance network configuration process, while waiting for the user to interact with the mobile app, there is no data transmission or processing between the mobile phone, home appliances, router, and other devices, which slows down the overall cycle of the network configuration process and results in a poor user experience. Summary of the Invention
[0004] This invention aims to at least solve one of the technical problems existing in the prior art. To this end, this invention proposes a device control method. According to an embodiment of this invention, by receiving the working status information of the target device before the distribution network begins and pre-configuring the control page before the target device completes the distribution network, the target device can display its working status according to the control plugin during the distribution network process. This allows the user to know the working status of the target device, facilitates the generation of control commands, reduces user waiting time, shortens the distribution network time, and improves the user experience.
[0005] The present invention also proposes an equipment control device.
[0006] A device control method according to a first aspect of the present invention includes:
[0007] Receive target information sent by the target device; the target information includes the identification information of the target device and the working status information of the target device.
[0008] Based on the identification information of the target device, obtain the control plug-in of the target device, and send the distribution network information to the target device;
[0009] The control plugin displays the operating status information of the target device; the operating status information is used to instruct the user to make a first input to the control plugin, the first input including information on controlling the target device.
[0010] According to the device control method of the present invention, by receiving the working status information of the target device before the distribution network starts and pre-configuring the control page before the target device completes the distribution network, the target device can display its working status according to the control plug-in during the distribution network process, so that the user can know the working status of the target device, which facilitates the generation of control commands, reduces the user's waiting time, shortens the distribution network time, and improves the user experience.
[0011] According to an embodiment of the present invention, obtaining the control plug-in of the target device based on the identification information of the target device includes:
[0012] Based on the identification information of the target device, obtain the display plugin of the target device;
[0013] The display plugin is a component of the control plugin, and it is used to display the working status information of the target device.
[0014] According to the device control method of the present invention, the display plugin in the control plugin of the target device is downloaded through the identification information of the target device. The display plugin is used to display the working status information of the target device. That is, during the distribution network process, the user can know the working status of the target device, which facilitates the user to perform preset control operations on the target device, reduces the user's waiting time, and further improves the user experience.
[0015] According to an embodiment of the present invention, after displaying the operating status information of the target device based on the control plug-in, the method further includes:
[0016] Based on the control plugin receiving the user's first input, and in response to the first input, generating control commands;
[0017] After receiving the information from the server that the target device has successfully configured its network, the control command is sent to the target device.
[0018] According to the device control method of the present invention, by receiving user input, generating control commands in response to user input, and sending control commands to the target device after the target device has been successfully configured on the network, the control process of the target device is realized, thereby achieving effective control of the target device.
[0019] According to one embodiment of the present invention, before receiving the information from the receiving server indicating that the target device has successfully configured its network, the method further includes:
[0020] The control commands are cached.
[0021] According to the device control method of the present invention, by pre-configuring the control page before the target device completes network configuration, the user can determine the working status of the target device during the network configuration process, which facilitates the generation of control commands by the mobile terminal, reduces the user's waiting time, and further improves the user experience.
[0022] According to an embodiment of the present invention, sending distribution network information to the target device includes:
[0023] Based on the identification information, the target device is determined;
[0024] The device connects to the wireless access point of the target device and sends the network configuration information to the target device through the wireless access point.
[0025] According to the device control method of the present invention, network configuration is performed through a device hotspot method. The router connects to the wireless access point of the target device and sends the router's SSID and password to the target device, enabling the target device to connect to the router and access the Wi-Fi network. This ensures the success rate of network configuration for the target device and further improves the efficiency of controlling the target device.
[0026] According to an embodiment of the present invention, sending distribution network information to the target device includes:
[0027] Based on the identification information, the target device is determined;
[0028] The network configuration information is sent to the target device via Bluetooth.
[0029] According to the device control method of the present invention, network configuration is performed via Bluetooth or via a dual-mode Bluetooth / WiFi connection, which improves terminal compatibility, ensures the flexibility of network configuration for the target device, and further improves the efficiency of controlling the target device.
[0030] According to an embodiment of the present invention, sending distribution network information to the target device includes:
[0031] Receive the second input from the user confirming the network configuration;
[0032] In response to the second input, distribution network information is sent to the target device based on the identification information.
[0033] According to the device control method of the present invention, by receiving a second input from the user confirming the distribution network, and responding to the second input, the device sends distribution network information to the target device based on the identification information, thereby enabling the target device to start the distribution network and ensuring the efficiency of the distribution network.
[0034] According to a second aspect of the present invention, a device control apparatus includes:
[0035] A receiving module is used to receive target information sent by a target device; the target information includes the identification information of the target device and the working status information of the target device.
[0036] The acquisition module is used to acquire the control plug-in of the target device based on the identification information of the target device, and send the distribution network information to the target device;
[0037] The display module is used to display the working status information of the target device based on the control plug-in; the working status information is used to instruct the user to make a first input to the control plug-in, the first input including information on controlling the target device.
[0038] According to the device control device of the present invention, by receiving the working status information of the target device before the network distribution begins and pre-configuring the control page before the target device completes the network distribution, the target device can display its working status according to the control plug-in during the network distribution process, so that the user can know the working status of the target device, which facilitates the generation of control commands, reduces the user's waiting time, shortens the network distribution time, and improves the user experience.
[0039] An electronic device according to a third aspect of the present invention includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the device control method as described above.
[0040] According to a fourth aspect of the present invention, a non-transitory computer-readable storage medium is provided thereon storing a computer program that, when executed by a processor, implements the device control method as described above.
[0041] The above-described one or more technical solutions in the embodiments of the present invention have at least one of the following technical effects:
[0042] By receiving the target device's working status information before the distribution network begins and pre-configuring the control page before the target device completes the distribution network, the target device can display its working status according to the control plugin during the distribution process. This allows users to know the working status of the target device, facilitates the generation of control commands, reduces user waiting time, shortens the distribution network time, and improves the user experience.
[0043] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description
[0044] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0045] Figure 1 This is a flowchart illustrating the device control method provided in an embodiment of the present invention;
[0046] Figure 2 This is a flowchart illustrating the device control method provided in the embodiments of the present invention;
[0047] Figures 3A-3E It is a set of graphical user interfaces for device control methods provided by existing technologies;
[0048] Figures 4A-4C This is a set of graphical user interfaces for the device control method provided in the embodiments of the present invention;
[0049] Figure 5 This is a schematic diagram of the structure of the device control apparatus provided in an embodiment of the present invention;
[0050] Figure 6 This is a schematic diagram of the structure of the electronic device provided in an embodiment of the present invention. Detailed Implementation
[0051] The embodiments of the present invention will be described in further detail below with reference to the accompanying drawings and examples. The following examples are for illustrative purposes only and should not be construed as limiting the scope of the invention.
[0052] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0053] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0054] Figure 1 This is a flowchart illustrating the device control method provided in an embodiment of the present invention, with reference to... Figure 1 The device control method provided in this embodiment of the invention includes the following steps:
[0055] Step 110: Receive target information sent by the target device; the target information includes the identification information of the target device and the working status information of the target device;
[0056] Step 120: Obtain the control plug-in of the target device based on the identification information of the target device, and send the distribution network information to the target device;
[0057] Step 130: Display the working status information of the target device based on the control plug-in; the working status information is used to instruct the user to make a first input to the control plug-in, the first input including information on controlling the target device.
[0058] It should be noted that the execution subject of the device control method provided in this embodiment of the invention can be a mobile terminal, which can be a mobile phone, tablet computer, or wearable electronic device with wireless communication function (such as a smartwatch). The target device can be a smart light bulb, smart socket, smart curtain, smart refrigerator, smart air conditioner, smart washing machine, and other smart home appliances, which will not be listed here. The target device can establish a connection with the mobile terminal through wireless communication technologies such as Wi-Fi, Bluetooth, or ZigBee, or the target device can also connect to a Wi-Fi router through the mobile terminal, thereby realizing the connection between the target device and the cloud server.
[0059] For devices with screens and input capabilities, such as mobile phones and tablets, users can directly enter the Service Set ID (SSID) and Password (PASSWORD) through the interface to connect the device to the WiFi network. For screenless devices, such as sockets and light bulbs, users cannot connect to the network by entering internet information. In these cases, we need to perform network configuration for these devices. Network configuration for WiFi-type devices involves transmitting the router's SSID and PASSWORD to the device in some way, allowing the device to access the WiFi network.
[0060] Optionally, in step 110, target information sent by the target device is received; the target information includes the identification information of the target device and the working status information of the target device.
[0061] The target device is a newly purchased smart home appliance that has not yet been networked. During the power-on phase, the target device sends out target information. The target information can be in the form of data frames or beacon frames.
[0062] Target information can include the target device's identification information and its operational status information. The identification information can be parameter information of the home appliance, including its name, model, and serial number. For example, the information could be the name of the appliance, such as a refrigerator, air conditioner, or socket, or its specific model number. The target device can be directly identified based on its identification information.
[0063] Operating status information can be real-time information about the operating status of home appliances, such as whether they are powered on or off, and their temperature or humidity. The operating status of the target device can be directly obtained based on this information.
[0064] In step 120, the control plug-in of the target device is obtained based on the identification information of the target device, and the distribution network information is sent to the target device.
[0065] After receiving the target information sent by the target device, the mobile terminal prompts the user through the mobile terminal interface whether the target device needs to be configured with the network.
[0066] After confirming that the target device needs to be configured with a network, the network configuration information is sent to the target device, and at the same time, the control plugin for the target device is downloaded in the background based on the identification information of the target device.
[0067] Network configuration information can be in the form of data frames or beacon frames. This information may include the Wi-Fi router's Service Set Identifier (SSID) and password. Once the target device receives the SSID and password, it can connect to the Wi-Fi router, complete the network configuration process, and access the cloud server.
[0068] In step 130, the operating status information of the target device is displayed based on the control plug-in; the operating status information is used to instruct the user to make a first input to the control plug-in, the first input including information on controlling the target device.
[0069] While sending network distribution information to the target device, the mobile terminal can display the target device's working status to the user through the interface's control plugin, since the target device's working status has already been determined and the control plugin has been downloaded.
[0070] During the network configuration process of the target device in the background, the user can already know the working status of the target device through the control plugin. Based on the working status of the target device, the user can make the first input on the control plugin, which includes information for controlling the target device. For example, the first input could be clicking the power on, power off, temperature, or other icons on the control plugin interface.
[0071] The device control method provided in this embodiment of the invention receives the working status information of the target device before the distribution network begins and pre-configures the control page before the target device completes the distribution network. This allows the target device to display its working status according to the control plug-in during the distribution network process, enabling users to know the working status of the target device, facilitating the generation of control commands, reducing user waiting time, shortening the distribution network time, and improving user experience.
[0072] In one embodiment, obtaining the control plug-in of the target device based on the target device's identification information includes:
[0073] Based on the target device's identification information, obtain the target device's display plugin;
[0074] The display plugin is a part of the control plugin. It is used to display the working status information of the target device.
[0075] Based on the identification information, the target device is identified, and its control plugin is downloaded in the background. Preferably, only a portion of the control plugin needs to be downloaded, namely the display plugin, which can be used to display the target device's operating status information.
[0076] This means that after confirming network configuration for the target device on the mobile terminal, the user can directly access the target device's control interface and determine the target device's working status information without waiting.
[0077] The device control method provided in this embodiment of the invention downloads a display plugin from the control plugin of the target device using the identification information of the target device. The display plugin is used to display the working status information of the target device. That is, during the distribution network process, the user can know the working status of the target device, which makes it easier for the user to perform preset control operations on the target device, reduces the user's waiting time, and further improves the user experience.
[0078] In one embodiment, after displaying the target device's operating status information based on the control plug-in, the method further includes:
[0079] The control plugin receives the user's first input and generates control commands in response to the first input.
[0080] After receiving the information from the server that the target device has successfully configured its network, control commands are sent to the target device.
[0081] After receiving the user's first input, the mobile terminal responds to the user's first input and generates a control command corresponding to the user's first input.
[0082] After receiving the network configuration success message from the server, the mobile terminal sends a control command to the target device through the server. Upon receiving the control command, the target device executes it.
[0083] The device control method provided in this embodiment of the invention receives user input, generates control commands in response to the user input, and sends control commands to the target device after the target device is successfully configured on the network, thereby realizing the control process of the target device and achieving effective control of the target device.
[0084] In one embodiment, before receiving the information from the server indicating that the target device has successfully configured its network, the method further includes:
[0085] Cache control commands.
[0086] If the control page is pre-configured before the target device completes network configuration, the user can input information based on the target device's operating status during the configuration process, thereby generating control commands on the mobile terminal. If control commands are generated before the target device successfully completes network configuration, they are first stored in a cache and then sent to the target device after configuration is complete.
[0087] In actual network configuration, when users first see the control plugin page of the target device and determine its working status, there is usually a 5-10 second familiarization process. During this time, users generally do not perform any operations. The network configuration of the target device is performed in the background during this period, and the user is unaware of it. If control commands are generated before network configuration is completed, they are stored in a cache and sent to the target device only after network configuration is finished.
[0088] The device control method provided in this embodiment of the invention pre-configures the control page before the target device completes network configuration, so that the user can determine the working status of the target device during the network configuration process, which facilitates the generation of control commands by the mobile terminal, reduces the user's waiting time, and further improves the user experience.
[0089] In one embodiment, sending network distribution information to the target device includes:
[0090] The target device is identified based on the identification information;
[0091] Connect to the target device's wireless access point and send network configuration information to the target device through the wireless access point.
[0092] Based on the identification information received from the target information, the target device is located. After the target device powers on, it can automatically activate SoftAP mode, which initializes a device hotspot. The mobile terminal connects to the target device's wireless access point and sends the Wi-Fi router's SSID and password to the target device. Upon receiving the SSID and password, the target device can connect to the Wi-Fi router and access the Wi-Fi network.
[0093] SoftAP mode is a technology that uses a wireless network card and dedicated software to implement the function of a wireless access point (AP). It can replace the AP in a wireless network, thereby reducing the cost of wireless networking. When configuring a network using SoftAP mode, the device is in AP mode, the mobile phone directly connects to the device, and the target router parameters are transmitted. Terminal compatibility issues (2.4G or 5G WiFi) are not considered, and the network configuration success rate is 100%.
[0094] The device control method provided in this embodiment of the invention configures the network through a device hotspot, connects to the wireless access point of the target device, and sends the router's SSID and password to the target device, enabling the target device to connect to the router and access the Wi-Fi network. This ensures the success rate of network configuration for the target device and further improves the efficiency of controlling the target device.
[0095] In one embodiment, sending network distribution information to the target device includes:
[0096] The target device is identified based on the identification information;
[0097] Send network configuration information to the target device via Bluetooth.
[0098] Based on the identification information received from the target information, the target device is located. The router's SSID and password are sent to the target device via Bluetooth, allowing the target device to connect to the router.
[0099] Furthermore, since iOS devices may have Bluetooth usage limitations, a Combo pairing mode (Bluetooth / Wi-Fi dual-mode) can be used for network pairing. By pairing smart hardware with a Wi-Fi / Bluetooth dual-mode module, the mobile device transmits router parameters to the target device via Bluetooth during the pairing process, allowing the target device to connect to the router. In cases where Bluetooth usage is limited on iOS devices, an AP pairing mode is automatically included as a backup solution.
[0100] The device control method provided in this embodiment of the invention can perform network configuration via Bluetooth or via a dual Bluetooth / WiFi mode, which improves terminal compatibility, ensures the flexibility of target device network configuration, and further improves the efficiency of controlling the target device.
[0101] In one embodiment, sending network distribution information to the target device includes:
[0102] Receive the second input from the user confirming the network configuration;
[0103] In response to the second input, distribution network information is sent to the target device based on the identification information.
[0104] Optionally, the mobile terminal prompts the user through its interface whether the target device needs to be configured with the network. Upon receiving the second input from the user confirming the target device, the mobile terminal responds to the second input, then determines the target device based on the identification information in the target information, and sends the network configuration information to the target device.
[0105] The device control method provided in this embodiment of the invention receives a second input confirming the distribution network from the user and responds to the second input, thereby sending distribution network information to the target device based on the identification information, so that the target device starts the distribution network and ensures the efficiency of the distribution network.
[0106] Figure 2 This is a flowchart illustrating the device control method provided in an embodiment of the present invention. (Refer to...) Figure 2 The interaction process of the device control method provided in the embodiments of the present invention will be described in detail.
[0107] Step 1: During the power-on phase, home appliances that have not yet been connected to the network send beacon frames, which include the working status of the home appliances.
[0108] Step 2: After receiving the beacon frame, the mobile phone prompts the user whether the home appliance needs to be configured for network, and at the same time downloads the control plugin page of the home appliance in the background;
[0109] Step 3: After the mobile phone receives the network configuration confirmation information, it directly displays the working status of the home appliance to the user through the downloaded control plugin, and at the same time connects to the home appliance's device hotspot, sends the SSID and password to the home appliance, so that the home appliance can configure the network.
[0110] Step 4: The home appliance and mobile phone simultaneously perform the following operations: After receiving the SSID and password, the home appliance connects to the router and then connects to the server via the network; After the user confirms the working status of the home appliance, they input the information through the control plug-in. The mobile phone generates control commands for the home appliance based on the input and sends the control commands to the home appliance through the server; After the home appliance is successfully configured for network connection, it can receive the control commands.
[0111] Step 5: After receiving the control command, the home appliance executes the control command.
[0112] The device control method provided in this invention sends the working status of home appliances to a mobile phone before the network distribution begins, and pre-configures the control page before the home appliances complete the network distribution. This allows the working status of home appliances to be displayed by the control plug-in during the network distribution process, enabling users to know the working status of home appliances, facilitating the generation of control commands by the mobile phone, reducing user waiting time, shortening network distribution time, and improving user experience.
[0113] The following describes in detail the device control method provided by the embodiments of the present invention from the perspective of the user interface, using specific scenarios as examples. Figures 3A-3E It is a set of graphical user interfaces for the device control methods provided by existing technology. The interactive interface presented to the user by existing technology includes five interfaces. Figures 4A-4C This is a set of graphical user interfaces for the device control method provided in the embodiments of the present invention. When using the device control method provided in the embodiments of the present invention, the interactive interface presented to the user is simplified to three interfaces.
[0114] First refer to Figures 3A-3E The user interface presented by existing technologies:
[0115] Figure 3A This is the interface for adding air conditioning equipment;
[0116] Figure 3B It is the interface that detects the air conditioning equipment and then prompts the user whether network configuration is required;
[0117] Figure 3C This is the interface that displays the network configuration progress after the user confirms the network configuration.
[0118] Figure 3D This is the interface on the phone that starts downloading the air conditioner control plugin after the network connection is successful;
[0119] Figure 3E After the air conditioner control plugin is successfully downloaded, it displays the air conditioner's operating status (on / off, indoor temperature, outdoor temperature, humidity, etc.). Users can then control the air conditioner based on its operating status through the plugin.
[0120] refer to Figures 4A-4C A set of graphical user interfaces for the device control method provided in this embodiment of the invention:
[0121] in Figure 4A and Figure 3A The same applies, so I will not repeat it here;
[0122] Figure 4B After detecting the air conditioning equipment, it prompts the user whether the air conditioner needs to be connected to the network, and at the same time performs the operation of downloading the air conditioning control plug-in in the background;
[0123] Figure 4C After the user confirms the network configuration, they can directly enter the air conditioner control plugin interface to view the air conditioner's working status (on / off, indoor temperature, outdoor temperature, humidity) without waiting, and at the same time, the air conditioner network configuration is executed in the background.
[0124] Research revealed that after successful network configuration, users typically spend 5-10 seconds familiarizing themselves with the control panel of their home appliances upon first seeing the interface and confirming the appliances' operational status. During this time, users generally do not interact with the interface. The network configuration process running in the background during this period is imperceptible to the user. If the user inputs control commands before network configuration is complete, the mobile app stores these commands in its cache and sends them to the appliances only after network configuration is finished.
[0125] According to the device control method provided in the embodiments of this application, the user's perception time is reduced from 15 seconds of the original five steps to 5 seconds, which greatly improves the user experience.
[0126] Figure 5 This is a schematic diagram of the structure of the device control apparatus provided in an embodiment of the present invention. (Refer to...) Figure 5 The device control apparatus provided by the present invention includes:
[0127] The receiving module 510 is used to receive target information sent by the target device; the target information includes the target device's identification information and the target device's operating status information.
[0128] The acquisition module 520 is used to acquire the control plug-in of the target device based on the identification information of the target device, and send the distribution network information to the target device.
[0129] Display module 530 is used to display the working status information of the target device based on the control plug-in; the working status information is used to instruct the user to make a first input to the control plug-in, the first input including information on controlling the target device.
[0130] The device control apparatus provided in this embodiment of the invention receives the working status information of the target device before the distribution network begins and pre-configures the control page before the target device completes the distribution network. This allows the target device to display its working status according to the control plug-in during the distribution network process, enabling users to know the working status of the target device, facilitating the generation of control commands, reducing user waiting time, shortening the distribution network time, and improving user experience.
[0131] In one embodiment, the acquisition module 520 is specifically used for:
[0132] Based on the target device's identification information, obtain the target device's display plugin;
[0133] The display plugin is a part of the control plugin. It is used to display the working status information of the target device.
[0134] In one embodiment, after displaying the target device's operating status information based on the control plug-in, the method further includes:
[0135] The control plugin receives the user's first input and generates control commands in response to the first input.
[0136] After receiving the information from the server that the target device has successfully configured its network, control commands are sent to the target device.
[0137] In one embodiment, before receiving the information from the server indicating that the target device has successfully configured its network, the method further includes:
[0138] Cache control commands.
[0139] In one embodiment, sending network distribution information to the target device includes:
[0140] The target device is identified based on the identification information;
[0141] Connect to the target device's wireless access point and send network configuration information to the target device through the wireless access point.
[0142] In one embodiment, sending network distribution information to the target device includes:
[0143] The target device is identified based on the identification information;
[0144] Send network configuration information to the target device via Bluetooth.
[0145] In one embodiment, sending network distribution information to the target device includes:
[0146] Receive the second input from the user confirming the network configuration;
[0147] In response to the second input, distribution network information is sent to the target device based on the identification information.
[0148] Figure 6 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 6 As shown, the electronic device may include a processor 610, a communications interface 620, a memory 630, and a communication bus 640, wherein the processor 610, the communications interface 620, and the memory 630 communicate with each other via the communication bus 640. The processor 610 can call logical instructions in the memory 630 to execute the following methods:
[0149] Receive target information sent by the target device; the target information includes the target device's identification information and the target device's operating status information.
[0150] The control plug-in of the target device is obtained based on the identification information of the target device, and the distribution network information is sent to the target device.
[0151] The control plugin displays the target device's operating status information; the operating status information is used to instruct the user to make a first input to the control plugin, which includes information on controlling the target device.
[0152] Furthermore, the logical instructions in the aforementioned memory 630 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0153] Furthermore, this invention discloses a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium. The computer program includes program instructions, and when the program instructions are executed by a computer, the computer can execute the device control methods provided in the above-described method embodiments, such as including:
[0154] Receive target information sent by the target device; the target information includes the target device's identification information and the target device's operating status information.
[0155] The control plug-in of the target device is obtained based on the identification information of the target device, and the distribution network information is sent to the target device.
[0156] The control plugin displays the target device's operating status information; the operating status information is used to instruct the user to make a first input to the control plugin, which includes information on controlling the target device.
[0157] On the other hand, embodiments of the present invention also provide a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, is implemented to perform the device control methods provided in the above embodiments, including, for example:
[0158] Receive target information sent by the target device; the target information includes the target device's identification information and the target device's operating status information.
[0159] The control plug-in of the target device is obtained based on the identification information of the target device, and the distribution network information is sent to the target device.
[0160] The control plugin displays the target device's operating status information; the operating status information is used to instruct the user to make a first input to the control plugin, which includes information on controlling the target device.
[0161] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0162] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0163] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
[0164] The above embodiments are for illustrative purposes only and are not intended to limit the scope of the invention. Although the invention has been described in detail with reference to the embodiments, those skilled in the art should understand that various combinations, modifications, or equivalent substitutions of the technical solutions of the invention do not depart from the spirit and scope of the invention and should be covered within the scope of the claims of the invention.
Claims
1. A device control method characterized by, include: Receive target information sent by the target device; The target information includes the identification information of the target device and the working status information of the target device; Based on the identification information of the target device, obtain the control plug-in of the target device, and send the distribution network information to the target device; The control plugin displays the operating status information of the target device; the operating status information is used to instruct the user to make a first input to the control plugin, the first input including information on controlling the target device; After displaying the target device's operating status information based on the control plugin, the method further includes: Based on the control plugin receiving the user's first input, and in response to the first input, generating control commands; After receiving the information from the server that the target device has successfully configured its network, the control command is sent to the target device. Among them, the working status information is the real-time working status information of home appliances.
2. The device control method according to claim 1, characterized by, The step of obtaining the control plug-in of the target device based on the identification information of the target device includes: Based on the identification information of the target device, obtain the display plugin of the target device; The display plugin is a component of the control plugin, and it is used to display the working status information of the target device.
3. The device control method according to claim 1, wherein Before receiving the network configuration success information sent by the receiving server for the target device, the following is also included: The control commands are cached.
4. The device control method according to claim 1, wherein Sending network distribution information to the target device includes: Based on the identification information, the target device is determined; The device connects to the wireless access point of the target device and sends the network configuration information to the target device through the wireless access point.
5. The equipment control method according to claim 1, characterized in that, Sending network distribution information to the target device includes: Based on the identification information, the target device is determined; The network configuration information is sent to the target device via Bluetooth.
6. The equipment control method according to claim 1, characterized in that, Sending network distribution information to the target device includes: Receive the second input from the user confirming the network configuration; In response to the second input, distribution network information is sent to the target device based on the identification information.
7. A device control apparatus, characterized in that, include: The receiving module is used to receive target information sent by the target device; The target information includes the identification information of the target device and the working status information of the target device; The acquisition module is used to acquire the control plug-in of the target device based on the identification information of the target device, and send the distribution network information to the target device; The display module is used to display the working status information of the target device based on the control plug-in; the working status information is used to instruct the user to make a first input to the control plug-in, the first input including information on controlling the target device; After displaying the operating status information of the target device based on the control plug-in, the display module is further configured to: Based on the control plugin receiving the user's first input, and in response to the first input, generating control commands; After receiving the information from the server that the target device has successfully configured its network, the control command is sent to the target device. Among them, the working status information is the real-time working status information of home appliances.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the device control method as described in any one of claims 1 to 6.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the device control method as described in any one of claims 1 to 6.