Control method, device, storage medium and terminal device of smart home equipment

By drawing and modifying graphics to generate control instructions on the terminal device, the problem of insufficient control flexibility of smart home devices is solved, a richer and more interesting control experience is achieved, and user stickiness is improved.

CN114816197BActive Publication Date: 2024-10-29GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210373430.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-11
Publication Date
2024-10-29
Estimated Expiration
2042-04-11

AI Technical Summary

Technical Problem

The existing voice control methods of smart home devices are not very flexible, and a new control method is urgently needed to improve the user experience.

Method used

By displaying the drawing interface on the terminal device, users can draw graphics and modify their properties, generate control instructions based on the graphics properties, determine the smart home devices associated with the graphics and send control instructions to control smart home devices.

Benefits of technology

It expands the control methods of smart home devices, improves the richness and interest of the control methods, and improves the stickiness of users in using terminal devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114816197B_ABST
    Figure CN114816197B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a control method, device, storage medium and terminal device of a smart home device, which relates to the field of the Internet of Things. The user draws on a drawing interface, determines the controlled smart home device based on the shape of the graphic drawn by the user, and determines the control parameter value according to the attribute value of the image, and then controls the smart home device. The present application controls the smart home device based on drawing. Compared with the prior art of controlling smart home devices through voice recognition, the control method is expanded, the richness and fun of the control method are improved, and the stickiness of the user using the control application installed on the terminal device can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet of Things, and in particular to a control method, device, storage medium and terminal device for smart home devices. Background Art

[0002] With the development of Internet of Things technology, smart home devices are becoming more and more popular. In the existing technology, users usually use smart speakers as the control center of smart home devices. Smart speakers collect user voice information through microphones, obtain voice control instructions and controlled smart home devices through voice recognition, and then send voice control instructions to corresponding smart home devices. However, this voice control method is not very flexible, and a new control method is urgently needed. Summary of the invention

[0003] The embodiments of the present application provide a control method, device, storage medium and terminal device for smart home devices, and the technical solution is as follows:

[0004] In a first aspect, an embodiment of the present application provides a method for controlling a smart home device, the method comprising:

[0005] Displaying a drawing interface through a display unit;

[0006] receiving a drawing instruction from a user, and drawing a first graphic on the drawing interface based on the drawing instruction;

[0007] receiving a graphic attribute modification instruction of the first graphic from a user, and modifying an attribute value of the first graphic based on the graphic attribute modification instruction;

[0008] Generate a first control instruction according to the modified graphic attribute value; wherein the first control instruction carries a control parameter value;

[0009] Determine a first smart home device associated with the first graphic in a device library;

[0010] Send the first control instruction to the first smart home device.

[0011] In a second aspect, an embodiment of the present application provides a control device for a smart home device, the device comprising:

[0012] A display unit, used for displaying a drawing interface;

[0013] A drawing unit, configured to receive a drawing instruction from a user, and draw a first graphic on the drawing interface based on the drawing instruction;

[0014] a modification unit, configured to receive a graphic attribute modification instruction of the first graphic from a user, and modify an attribute value of the first graphic based on the graphic attribute modification instruction;

[0015] A generating unit, configured to generate a first control instruction according to the modified graphic attribute value; wherein the first control instruction carries a control parameter value;

[0016] A determining unit, configured to determine a first smart home device associated with the first graphic in a device library;

[0017] A transceiver unit is used to send the first control instruction to the first smart home device.

[0018] In a third aspect, an embodiment of the present application provides a computer storage medium, wherein the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the above-mentioned method steps.

[0019] In a fourth aspect, an embodiment of the present application provides a terminal device, which may include: a processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the above-mentioned method steps.

[0020] The beneficial effects brought about by the technical solutions provided by some embodiments of the present application include at least:

[0021] The user draws on the drawing interface, determines the controlled smart home device based on the shape of the graphic drawn by the user, and determines the control parameter value according to the attribute value of the image, and then controls the smart home device. The present application controls the smart home device based on drawing. Compared with the prior art of controlling smart home devices through voice recognition, the control method is expanded, the richness and fun of the control method are improved, and thus the stickiness of users using the control application installed on the terminal device can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] 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.

[0023] Figure 1 It is a schematic diagram of the network architecture provided by the embodiment of the present application;

[0024] Figure 2 is a flowchart of a method for controlling a smart home device provided in an embodiment of the present application;

[0025] Figure 3 It is a schematic diagram of the principle of controlling the smart desk lamp provided in the embodiment of the present application;

[0026] Figures 4 to 6 It is a user interface for binding graphics and smart home devices provided by an embodiment of the present application;

[0027] Figure 7 It is a flowchart of the linkage control provided by the embodiment of the present application;

[0028] Figure 8 It is a schematic diagram of the principle of linkage control provided in an embodiment of the present application;

[0029] Fig. 9 is a flow chart of marker trigger control provided in an embodiment of the present application;

[0030] Figure 10 to Figure 12 It is a user interface for binding a marker and a trigger position provided in an embodiment of the present application;

[0031] Fig.13 It is a structural schematic diagram of a control device of a smart home device provided by the present application;

[0032] Fig.14 It is a structural schematic diagram of a terminal device provided by this application. DETAILED DESCRIPTION

[0033] In order to make the objectives, technical solutions and advantages of the present application more clear, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.

[0034] It should be noted that the control method of the smart home device provided in the present application is generally executed by a terminal device, and accordingly, the control device of the smart home device is generally arranged in the terminal device.

[0035] Figure 1 An exemplary system architecture that can be applied to the control method of the smart home device or the control device of the smart home device of the present application is shown.

[0036] like Figure 1 As shown, the system architecture may include: a terminal device 101, a smart lamp 102, and a smart speaker 103. The terminal device 101, the smart lamp 102, and the smart speaker 103 may communicate with each other through a network, and the network is used as a medium for providing a communication link between the above-mentioned units. The network may include various types of wired communication links or wireless communication links, for example: a wired communication link includes an optical fiber, a twisted pair, or a coaxial cable, etc., and a wireless communication link includes a Bluetooth communication link, a wireless fidelity (WIreless-FIdelity, Wi-Fi) communication link, or a microwave communication link, etc.

[0037] Among them, the terminal device 101 plays a control function, which is used to send control instructions to each smart home device to control the smart home device to perform corresponding operations, such as: turning on the air conditioner, turning on the lamps, closing the curtains, and turning on the water heater.

[0038] Terminal devices are various devices with display screens, including but not limited to smartphones, tablet computers, laptops, and desktop computers.

[0039] The terminal device is also equipped with a camera, which is used to collect video streams or images. The display device of the terminal device of the present application can be a cathode ray tube display (CR), a light-emitting diode display (LED), an electronic ink screen, a liquid crystal display (LCD), a plasma display panel (PDP), etc. The user can use the display device on the terminal device to view the displayed text, pictures, videos and other information.

[0040] It should be understood that Figure 1 The number of terminal devices and smart home devices in the figure is only for illustration. According to the implementation requirements, any number of terminal devices and smart home devices can be used.

[0041] The following will be combined with the attached Figure 2 , the control method of the smart home device provided in the embodiment of the present application is described in detail. Among them, the control device of the smart home device in the embodiment of the present application can be Figure 1 The terminal device shown.

[0042] See also Figure 2 , is a flow chart of a method for controlling a smart home device provided by an embodiment of the present application. Figure 2 As shown, the method of the embodiment of the present application may include the following steps:

[0043] S201, displaying a drawing interface via a display unit.

[0044] The terminal device displays a drawing interface through a display unit. The drawing interface includes a canvas and a toolbar. A user can interact with the drawing interface through an input unit such as a mouse, keyboard or touch screen to draw simple graphics on the drawing interface.

[0045] S202: Receive a drawing instruction from a user, and draw a first graphic on a drawing interface based on the drawing instruction.

[0046] The drawing instruction is used to draw a first graphic required by the user on the drawing interface, and the drawing instruction can be triggered by the user through an input unit, for example: the user draws the first graphic on the drawing interface through a touch screen.

[0047] S203: receiving a graphic attribute modification instruction of a first graphic from a user, and modifying an attribute value of the first graphic based on the graphic attribute modification instruction.

[0048] The graphic attribute modification instruction is used to modify the attribute value of the first graphic, and the attribute value includes but is not limited to the color value, size value or position coordinate, that is, the graphic attribute modification instruction can modify the color of the first graphic, scale the size of the first graphic, and adjust the position of the first graphic. For example, the user triggers the generation of the graphic attribute modification instruction for the first graphic through the input unit.

[0049] S204: Generate a first control instruction according to the modified graphic attribute value.

[0050] Among them, the first control instruction carries a control parameter value, the control parameter value is related to the modified graphic attribute value, the terminal device is pre-configured with a mapping relationship between the control parameter value and the graphic attribute value, the terminal device determines the control parameter value associated with the modified graphic attribute value based on the mapping relationship, and then generates the first control instruction based on the control parameter value.

[0051] S205: Determine a first smart home device associated with the first graphic in a device library.

[0052] Among them, the device library includes multiple smart home devices managed by the user. The terminal device extracts the shape parameter value of the first graphic, and determines the associated first smart home device in the device library according to the shape parameter value. For example: the first graphic is a circle, and is associated with a smart desk lamp in the device library; the first graphic is a rectangle, and is associated with a smart speaker in the device library.

[0053] S206: Send a first control instruction to a first smart home device.

[0054] Among them, the terminal device sends a first control instruction to the first smart home device, the first smart home device parses the first control instruction to obtain a control parameter value, and performs a control operation based on the control parameter value, and the control parameters include but are not limited to: adjusting brightness, adjusting volume, opening curtains, turning on air conditioning, etc. The control parameter value may include device attribute values ​​and time attribute values, for example: device attribute values ​​include luminous color, volume, temperature, humidity, etc., and time attribute values ​​include: off duration, frequency, on duration, etc. The specific device attribute values ​​and time attribute values ​​can be determined according to the actual usage scenario, and this application does not limit it.

[0055] See also Figure 3As shown, the process of the control method of the smart home device of the present application is explained below with respect to a specific embodiment: the terminal device is a device with a touch screen and a display screen, the terminal device displays a drawing interface on the display unit, the user triggers the generation of a drawing instruction through the touch screen, the terminal device draws a circle on the drawing interface based on the drawing instruction, and then the user performs a fill color operation on the circle through the touch screen (for example: fill with red), triggering the generation of a color value modification instruction for the circle, and based on the color value modification instruction, the color of the circle is modified to red, and then a control instruction is generated based on the color value of red, and the associated smart desk lamp is determined in the device library according to the shape parameter value of the circle, and then the terminal device sends a control instruction to the smart desk lamp, instructing the smart desk lamp to emit red light.

[0056] This embodiment controls smart home devices based on drawing. Compared with the prior art of controlling smart home devices through voice recognition, it expands the control method, improves the richness and fun of the control method, and can further increase the stickiness of users in using the control application installed on the terminal device.

[0057] In one or more possible embodiments, before S201, the method further includes: binding the first graphic and the first smart home device, where the binding process includes:

[0058] collecting an image of the first smart home device through a camera;

[0059] Query matching smart home devices in the device library according to feature information of the image;

[0060] Selecting a smart home device from among the matching smart home devices based on a selection instruction of a user;

[0061] Displaying a drawing interface through a display unit and drawing graphics in the drawing interface;

[0062] Bind the drawn graphics to the selected smart home device.

[0063] Among them, the following Figure 4 , Fig.14 and Figure 6 The user interface of the terminal device first displays Figure 4 The user interface includes a shooting button. When a trigger operation on the shooting button is detected, the camera is called to take a picture of the first smart home device to be bound, and the image obtained by the picture is displayed on the Figure 4 Then, the terminal device extracts feature information of the image, including texture features, shape features, and color features, and searches for matching smart home devices in the device library based on the feature information. The number of matching smart home devices may be multiple, for example: Fig.14In the user interface shown, the matching smart home devices are smart desk lamps, smart headlights and bedside lamps. Each matching smart home device is also set with product model, high-frequency usage time and linkage scene. After the user selects the smart desk lamp from the matching smart home devices through the touch screen, the terminal device jumps to display Figure 6 The user interface includes a canvas. The graphic drawn by the user in the canvas is a circle. After clicking the confirmation button, the drawn circle is bound to the smart desk lamp.

[0064] For further information, see Figure 7 As shown, the control method of the smart home device of the present application also includes:

[0065] S701, drawing a second graphic and a third graphic on a drawing interface.

[0066] S702: After drawing a connection line between the second graphic and the third graphic based on a connection instruction from the user, the second smart home device associated with the second graphic and the smart home device associated with the third graphic are bound.

[0067] Among them, the bound second smart home device and the third smart home device are linked to each other and the parameters of the linked control include but are not limited to volume, brightness, color, temperature, wind speed, etc. The two parameters of the linked control may be the same or different. For example, the parameter of the linked control of the second smart home device is temperature, and the parameter of the linked control of the third smart home device is wind speed. The two parameters of the linked control can be determined according to actual needs, and this application does not limit them. That is, the wind speed of the third smart home device changes with the temperature of the second smart home device.

[0068] S703: Send a second control instruction to a second smart home device.

[0069] The second control instruction carries a second control parameter value.

[0070] S704: Generate a third control instruction according to the second control parameter value.

[0071] The third control instruction carries a third control parameter value, and the third control parameter value is related to the second control parameter value. For example, the third control parameter value is brightness, and the second control parameter value is volume, and the volume and brightness are in proportional relationship.

[0072] S705: Send a third control instruction to a third smart home device.

[0073] For example, see Figure 8 As shown, the process of linkage control between the smart desk lamp and the smart speaker is described below:

[0074] The user draws a rectangle and a circle in the drawing interface through the touch screen. The rectangle is associated with the smart speaker in the device library, and the circle is associated with the smart desk lamp in the device library. The terminal device draws a connection line between the rectangle and the circle based on the user connection instruction. After the connection line is drawn, the terminal device binds the smart speaker and the smart desk lamp. The terminal device is pre-configured with control parameters for linkage control between the smart speaker and the smart desk lamp: the control parameter of the smart speaker is the volume, and the control parameter of the smart desk lamp is the brightness, that is, when the volume of the smart speaker increases, the brightness of the smart desk lamp also increases; when the volume of the smart speaker decreases, the brightness of the smart desk lamp decreases accordingly, so as to achieve the linkage effect.

[0075] It should be noted that this embodiment can perform linkage control on two or more smart home devices, and set the parameters for linkage control of two or more smart home devices according to time requirements, as well as the numerical relationship between the values ​​of each parameter, to improve the flexibility of control. This embodiment performs linkage control on multiple smart home devices by drawing, which can further improve the fun of control and user stickiness.

[0076] In one or more possible embodiments, see Fig. 9 As shown, the control method of the smart home device also includes:

[0077] S901. Detect the relative position relationship between the marker and the preset trigger position through a camera.

[0078] Among them, the terminal device collects images of landmarks and images of preset trigger positions through one or more cameras deployed indoors. The trigger position is an area preset by the user. For example, the area can be a storage tray, bedside table or other areas. The terminal device identifies the landmarks and trigger positions in the image based on the target recognition algorithm, and then determines the relative position relationship between the landmarks and the trigger positions.

[0079] S902: If the marker is located within the trigger position, obtain the current time.

[0080] Among them, when the terminal device detects that there is overlap between the marker and the trigger position based on the image detection method, it is determined that the marker is located within the trigger position, and the current time can be obtained through the system clock.

[0081] S903: If the current time is in the trigger time period associated with the trigger position, determine the control instruction sequence associated with the trigger position.

[0082] Among them, the trigger position is pre-associated with a trigger time period, which is a time interval. At the same time, the marker is associated with a control instruction sequence, which includes multiple control instructions arranged in a certain order. Each control instruction corresponds to a smart home device. For example, the control instruction sequence includes: an instruction to turn on a smart desk lamp, an instruction to turn on the air conditioner, and an instruction to turn on the water heater.

[0083] S904: Send control instructions to each smart home device in sequence according to the instruction order in the control instruction sequence.

[0084] For example, the marker is a key, and the preset trigger position is a storage tray located at the entrance. When the terminal device detects that the key is placed in the storage tray based on image recognition, the current time is obtained as 19:30. The terminal device determines that the trigger time period associated with the storage tray is: 18:00-24:00. The current time is within the trigger time period. The control command sequence associated with the key is obtained as: command to turn on the lamp → command to close the curtains → command to turn on the water heater. Then the terminal device sends an opening command to the smart lamp, a folding command to the smart curtains, and a boiling water command to the water heater in sequence.

[0085] For another example, the marker is a pair of glasses, and the preset trigger position is the surface of the bedside table. When the terminal device detects the surface of the bedside table where the glasses are placed based on image recognition, the current time is obtained as 22:30, and the terminal device determines that the trigger time period associated with the bedside table is 22:00-24:00. The terminal device obtains and determines that the current time is within the trigger time period, and obtains the control instruction sequence associated with the glasses: turn off the lights → pull up the bedroom curtains, and then the terminal device sends an open instruction to the smart lamps and a folding instruction to the smart curtains in the bedroom in turn.

[0086] Furthermore, before S901 of the present application, the following is further included:

[0087] Capturing images of landmarks through cameras;

[0088] Selecting a pixel area of ​​a trigger position based on a 3D whole-house image preset by a user's selection instruction, and binding the pixel area of ​​the trigger position with an image of a marker;

[0089] A set of instruction sequences for configuring markers, and a trigger time period for configuring trigger positions.

[0090] Next Fig.10 , Fig.11 and Fig.12 The user interface of the present invention describes the configuration process of the markers of this application:

[0091] Terminal device display Fig.10The configuration interface includes a "Photograph the Marked Item" button. When the terminal device detects the trigger action on the button, the shooting interface is displayed, and then the image of the marker is collected through the camera, and then the image is recognized to be the key. The configuration interface includes a "3D Whole House Selection Location" button. When the terminal device detects the trigger action on the button, the shooting interface is displayed. Fig.11 The 3D whole house image shown is large in size, and is provided with control buttons for performing up, down, left or right operations, so as to facilitate previewing the entire content of the 3D whole house image. Then, based on the user's selection instruction, the terminal device selects the storage tray at the entrance as the trigger area in the 3D whole house image, and then binds the pixel area of ​​the trigger area to the image of the key. Then, the terminal device selects the key image based on the user's selection instruction. Fig.12 The configuration interface configures the name, members, startup mode and custom smart product sequence (i.e. control instruction sequence) of the marker. After the configuration is completed, refer to Fig.10 As shown, the control instruction sequence associated with the key is: turn on the light→close the curtain→turn on the water heater, and the trigger time period associated with the storage tray is 12:00-2:00.

[0092] In this embodiment, the positional relationship between the marker and the trigger position is used to trigger a specific control instruction sequence, and then the control instructions are sent to each smart home device in turn to achieve a senseless control of the smart home device. Compared with the active control method in the prior art, this application can reduce the complexity of user operations and improve the convenience of control.

[0093] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0094] See also Fig.13 , which shows a schematic diagram of the structure of a control device for a smart home device provided by an exemplary embodiment of the present application, hereinafter referred to as device 13. The device 13 can be implemented as all or part of a terminal device through software, hardware, or a combination of both. The device 13 includes: a display unit 1301, a drawing unit 1302, a modification unit 1303, a generation unit 1304, a determination unit 1305, and a transceiver unit 1306.

[0095] The display unit 1301 is used to display a drawing interface;

[0096] A drawing unit 1302, configured to receive a drawing instruction from a user, and draw a first graphic on the drawing interface based on the drawing instruction;

[0097] The modifying unit 1303 is configured to receive a graphic attribute modification instruction of the first graphic from a user, and modify the attribute value of the first graphic based on the graphic attribute modification instruction;

[0098] A generating unit 1304, configured to generate a first control instruction according to the modified graphic attribute value; wherein the first control instruction carries a control parameter value;

[0099] A determining unit 1305 is configured to determine a first smart home device associated with the first graphic in a device library;

[0100] The transceiver unit 1306 is configured to send the first control instruction to the first smart home device.

[0101] In one or more possible embodiments, the graphic attribute modification instruction is used to modify the color of the first graphic, adjust the size of the first graphic, or adjust the position of the first graphic.

[0102] In one or more possible embodiments, it further includes:

[0103] A configuration unit, configured to collect an image of the first smart home device through a camera;

[0104] Querying a matching smart home device in a device library according to feature information of the image;

[0105] Selecting a smart home device from among the matching smart home devices based on a selection instruction of a user;

[0106] Displaying a drawing interface through a display unit and drawing graphics in the drawing interface;

[0107] Bind the drawn graphics to the selected smart home device.

[0108] In one or more possible embodiments, it further includes:

[0109] A linkage control unit, used for drawing a second graphic and a third graphic on the drawing interface;

[0110] After drawing a connection line between the second graphic and the third graphic based on a connection instruction of the user, the second smart home device associated with the second graphic and the third smart home device associated with the third graphic are bound;

[0111] Sending a second control instruction to the second smart home device; wherein the second control instruction carries a second control parameter value;

[0112] Generate a third control instruction according to the second control parameter value; wherein the third control instruction carries the third control parameter value;

[0113] Send a third control instruction to the third smart home device.

[0114] In one or more possible embodiments, the second control parameter value is volume, the third control parameter value is brightness, and brightness is positively correlated with the speaker.

[0115] In one or more possible embodiments, it further includes:

[0116] A trigger control unit, used to detect the relative position relationship between the marker and the preset trigger area through a camera;

[0117] If the marker is located in the trigger area, obtaining the current time;

[0118] If the current time is within the trigger time period associated with the preset area, determining a control instruction sequence associated with the preset area;

[0119] The control instructions are sent to each smart home device in sequence according to the instruction order in the control instruction sequence.

[0120] In one or more possible embodiments, the configuration unit is further configured to:

[0121] Capturing images of landmarks through cameras;

[0122] Selecting a pixel area of ​​a trigger position based on a 3D whole-house image preset by a user's selection instruction, and binding the pixel area of ​​the trigger position with an image of a marker;

[0123] A set of instruction sequences for configuring markers, and a trigger time period for configuring trigger positions.

[0124] It should be noted that the device 13 provided in the above embodiment only uses the division of the above functional modules as an example when executing the control method of the smart home device. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above functions. In addition, the control device of the smart home device provided in the above embodiment and the control method embodiment of the smart home device belong to the same concept, and the implementation process thereof is detailed in the method embodiment, which will not be repeated here.

[0125] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0126] The present application also provides a computer storage medium, which can store multiple instructions, and the instructions are suitable for being loaded and executed by a processor as described above. Figure 2 The method steps of the embodiment shown in the figure can be found in the specific implementation process. Figure 2The specific description of the illustrated embodiment will not be repeated here.

[0127] The present application also provides a computer program product, which stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the control method of the smart home device as described in the above embodiments.

[0128] See also Fig.14 , which is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application. Fig.14 As shown, the terminal device 1400 may include: at least one processor 1401 , at least one network interface 1404 , a user interface 1403 , a memory 1405 , and at least one communication bus 1402 .

[0129] The communication bus 1402 is used to realize the connection and communication between these components.

[0130] The user interface 1403 may include a display screen (Display) and a camera (Camera), and the optional user interface 1403 may also include a standard wired interface and a wireless interface.

[0131] The network interface 1404 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).

[0132] Among them, the processor 1401 may include one or more processing cores. The processor 1401 uses various interfaces and lines to connect the various parts of the entire terminal device 1400, and executes various functions and processes data of the terminal 1400 by running or executing instructions, programs, code sets or instruction sets stored in the memory 1405, and calling data stored in the memory 1405. Optionally, the processor 1401 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 1401 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 1401, and it can be implemented separately through a chip.

[0133] Among them, the memory 1405 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 1405 includes a non-transitory computer-readable storage medium. The memory 1405 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 1405 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 1405 may also be optionally at least one storage device located away from the aforementioned processor 1401. As Fig.14 As shown, the memory 1405 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an application program.

[0134] exist Fig.14In the terminal device 1400 shown in FIG. 1 , the user interface 1403 is mainly used to provide an input interface for the user and obtain the data input by the user; and the processor 1401 can be used to call the application stored in the memory 1405 and specifically execute the following steps: Figure 2 The specific process can be referred to Figure 2 As shown, no further description is given here.

[0135] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only storage memory, or a random access memory, etc.

[0136] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.

Claims

1. A control method for a smart home device, characterized in that: include: Displaying a drawing interface through a display unit; receiving a drawing instruction from a user, and drawing a first graphic on the drawing interface based on the drawing instruction; receiving a graphic attribute modification instruction of the first graphic from a user, and modifying an attribute value of the first graphic based on the graphic attribute modification instruction; Determining a control parameter value associated with the modified graphic attribute value according to a mapping relationship between a preconfigured control parameter value and a graphic attribute value, and generating a first control instruction according to the control parameter value; wherein the first control instruction carries the control parameter value; Determine a first smart home device associated with the first graphic in a device library; Send the first control instruction to the first smart home device.

2. The method according to claim 1, characterized in that The graphic attribute modification instruction is used to modify the color of the first graphic, adjust the size of the first graphic, or adjust the position of the first graphic.

3. The method according to claim 1 or 2, characterized in that: Before displaying the drawing interface through the display unit, the method further includes: collecting an image of the first smart home device through a camera; Querying a matching smart home device in a device library according to feature information of the image; Selecting a smart home device from among the matching smart home devices based on a selection instruction of a user; Displaying a drawing interface through a display unit and drawing graphics in the drawing interface; Bind the drawn graphics to the selected smart home device.

4. The method according to claim 1, characterized in that: Also includes: Drawing a second graphic and a third graphic on the drawing interface; After drawing a connection line between the second graphic and the third graphic based on a connection instruction of the user, the second smart home device associated with the second graphic and the third smart home device associated with the third graphic are bound; Sending a second control instruction to the second smart home device; wherein the second control instruction carries a second control parameter value; Generate a third control instruction according to the second control parameter value; wherein the third control instruction carries the third control parameter value; Send a third control instruction to the third smart home device.

5. The method according to claim 4, characterized in that The second control parameter value is volume, the third control parameter value is brightness, and brightness is positively correlated with the speaker.

6. The method according to claim 4 or 5, characterized in that: Also includes: Detecting the relative position relationship between the marker and the preset trigger area through the camera; If the marker is located in the trigger area, obtaining the current time; If the current time is in the trigger time period associated with the trigger area, determining a control instruction sequence associated with the trigger area; The control instructions are sent to each smart home device in sequence according to the instruction order in the control instruction sequence.

7. The method according to claim 6, characterized in that Before detecting the relative position relationship between the marker and the preset trigger area by the camera, the method further includes: Capturing images of landmarks through cameras; Selecting a pixel area of ​​a trigger position based on a 3D whole-house image preset by a user's selection instruction, and binding the pixel area of ​​the trigger position with an image of a marker; A set of instruction sequences for configuring markers, and a trigger time period for configuring trigger positions.

8. A control device for a smart home device, characterized in that: include: A display unit, used for displaying a drawing interface; A drawing unit, configured to receive a drawing instruction from a user, and draw a first graphic on the drawing interface based on the drawing instruction; a modification unit, configured to receive a graphic attribute modification instruction of the first graphic from a user, and modify an attribute value of the first graphic based on the graphic attribute modification instruction; A generating unit, configured to determine a control parameter value associated with the modified graphic attribute value according to a mapping relationship between a preconfigured control parameter value and a graphic attribute value, and to generate a first control instruction according to the control parameter value; wherein the first control instruction carries the control parameter value; A determining unit, configured to determine a first smart home device associated with the first graphic in a device library; A transceiver unit is used to send the first control instruction to the first smart home device.

9. A computer storage medium, characterized in that The computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method steps as claimed in any one of claims 1 to 7.

10. A terminal device, characterized in that: include: A processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the method steps as claimed in any one of claims 1 to 7.

Citation Information

Patent Citations

  • IMS (IP multimedia subsystem)-based digital family interaction education system

    CN103701820A

  • Equipment image display method and apparatus

    CN106773750A