WO2023125393A1 - Method and device for controlling smart home appliance, and mobile terminal - Google Patents
Method and device for controlling smart home appliance, and mobile terminal Download PDFInfo
- Publication number
- WO2023125393A1 WO2023125393A1 PCT/CN2022/141870 CN2022141870W WO2023125393A1 WO 2023125393 A1 WO2023125393 A1 WO 2023125393A1 CN 2022141870 W CN2022141870 W CN 2022141870W WO 2023125393 A1 WO2023125393 A1 WO 2023125393A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- multimedia file
- control parameters
- user
- control
- controlled
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 75
- 238000013507 mapping Methods 0.000 claims description 54
- 230000004044 response Effects 0.000 claims description 22
- 238000004590 computer program Methods 0.000 claims description 18
- 230000003190 augmentative effect Effects 0.000 claims description 5
- 238000011022 operating instruction Methods 0.000 claims 2
- 230000001143 conditioned effect Effects 0.000 claims 1
- 230000008569 process Effects 0.000 abstract description 14
- 230000006870 function Effects 0.000 description 13
- 238000012545 processing Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 9
- 230000006854 communication Effects 0.000 description 8
- 230000000694 effects Effects 0.000 description 8
- 238000004891 communication Methods 0.000 description 7
- 230000001795 light effect Effects 0.000 description 5
- 230000007613 environmental effect Effects 0.000 description 4
- 238000004458 analytical method Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 238000003384 imaging method Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000003631 expected effect Effects 0.000 description 2
- 238000000222 aromatherapy Methods 0.000 description 1
- 230000004397 blinking Effects 0.000 description 1
- 238000005282 brightening Methods 0.000 description 1
- 239000003205 fragrance Substances 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 230000009191 jumping Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000029058 respiratory gaseous exchange Effects 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2816—Controlling appliance services of a home automation network by calling their functionalities
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/20—Scenes; Scene-specific elements in augmented reality scenes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Definitions
- the present application relates to the field of smart home technology, in particular to a method, device, and mobile terminal for controlling smart home devices.
- the clustered control of smart home is usually realized by simultaneously operating multiple smart home devices on one application program (APP).
- APP application program
- This method also supports user-defined scenes. Users can set the scene by themselves to choose the home equipment and control parameters they need. For example, when leaving home to automatically turn off the lights, turn off the air conditioner, and turn off the TV, the scene of leaving home, the scene of watching movies, etc. The user needs to select the corresponding household equipment and the corresponding control parameters according to the text information provided.
- control parameters must also be determined one by one, which makes the scene creation process complicated and reduces user experience.
- the present application provides a method, device and mobile terminal for controlling smart home equipment, so as to simplify the process of creating a smart home scene and improve user experience.
- the present application provides a method for controlling smart home devices, which is applied to mobile terminals (such as mobile phones, tablet computers, etc.), including: acquiring multimedia files; determining the virtual home devices to be controlled through augmented reality AR images household equipment, and determine control parameters applicable to the multimedia file, wherein the virtual household equipment corresponds to the household equipment to be controlled, and the control parameters are used to control the household equipment to be controlled.
- the method for controlling a smart home device corresponds the virtual home device with the home device to be controlled, so that the user does not need to select the home device according to the text description, and can determine the home device to be controlled in a more intuitive manner, reducing the scene creation process.
- the complexity of the operation in the system improves the user experience.
- the acquisition of the multimedia file includes: acquisition of a picture, video or audio file locally or from a network.
- Acquiring multimedia files locally can improve the efficiency of determining control parameters, and acquiring multimedia files through the network can make the determined control parameters more diverse, meet more user needs, and improve the flexibility of controlling home appliances.
- determining the home device to be controlled through the virtual home device in the AR image includes: scanning the home device to be controlled and its environment, and generating an AR image containing the virtual home device.
- the AR image is obtained by scanning, so that the corresponding household equipment to be controlled is added, and the operation is simple and easy to implement.
- the aforementioned generation of the AR image containing the virtual home device further includes: receiving a culling instruction input by a user, and excluding objects in the virtual home device that are culled by the culling instruction.
- the above determination of the control parameters applicable to the multimedia file includes: determining the control parameters applicable to the multimedia file according to the characteristics of the multimedia file and a preset mapping relationship, wherein the mapping relationship is the mapping relationship between the feature of the multimedia file and the control parameter.
- the control parameters of the household equipment are automatically determined through the mapping relationship between the characteristics of the multimedia file and the control parameters, so that the user does not need to manually set the control parameters, which further reduces the complexity of the operation, reduces the labor of the user, and further improves the user experience.
- determining the control parameters applicable to the multimedia file according to the characteristics of the multimedia file and the preset mapping relationship includes: according to the preset mapping relationship and the video frame characteristics of the multimedia file and/or audio features, according to the playback timing of the multimedia file, determine the set of control parameters applicable to different video frames of the multimedia file; or
- the video frame and/or audio of the multimedia file meet the preset condition, according to the preset mapping relationship and the video frame feature and/or audio feature of the original multimedia file, determine the video frame/audio that is applicable to the preset condition or audio control parameters.
- the multimedia file is a video file such as a movie
- the control parameters applicable to all video frames of the movie can be determined. Since a power supply has tens of thousands of video frames, the control parameters applicable to these frames also correspond to There are thousands of them, which can be regarded as a set.
- the application can set different scenes (sets of control parameters of different home devices) for different movies, further improving the flexibility of smart home device control.
- the present application can configure control parameters of home devices for some video frames in a movie, satisfying users' diverse viewing needs.
- determining the control parameter sets applicable to different video frames of the multimedia file according to the play sequence of the multimedia file includes: inserting the first control parameter in the control parameter set into the second control parameter set The execution time of the parameter; wherein, the first control parameter is the control parameter corresponding to the first video frame in the multimedia file, and the second control parameter is the control parameter corresponding to the second video frame in the multimedia file; the first video frame corresponds to
- the control parameter is the control parameter of the hysteresis response type household equipment (such as curtains), and the playing time difference between the first video frame and the second video frame is the time length for the hysteresis response type household equipment to respond to the control instruction.
- the control instruction is the An execution instruction of the first control parameter.
- the control parameter applicable to the m-th frame is used to control a household device that will respond with a lag such as a curtain, assuming that the control parameter controls the curtain from opening to fully closing, and assuming that the curtain response takes 10 seconds to fully close, then the control parameter is used as Applicable to the control parameters of the video frame (such as the nth frame) played before the mth frame 10 seconds, then start to control the curtain when the nth frame is played, and after 10 seconds, the movie will play to the mth frame and the curtain will be completely closed, so as to achieve the expected
- the control effect further improves the flexibility of controlling home equipment.
- the above-mentioned household equipment to be controlled is determined through the virtual household equipment in the AR image, and the control parameters applicable to the multimedia file are determined according to the characteristics of the multimedia file and the preset mapping relationship, including : Receive the time node input by the user, receive the first operation instruction input by the user by clicking on the virtual home device, and receive the second operation instruction input by the user by selecting a control option, and determine the home device to be controlled according to the first operation instruction According to the second operation instruction, the control parameters applicable to the multimedia file at the time node are determined, providing a way for the user to manually set the control parameters, and increasing the flexibility of setting the control parameters.
- control parameters at this time node combine the automatically determined control parameters with the manual control parameters, which can meet the user's modification needs, and further improve the flexibility of controlling household devices.
- determining the home device to be controlled according to the first operation instruction before determining the home device to be controlled according to the first operation instruction, it further includes: receiving a third operation instruction input by the user, and selecting a virtual home device for the user according to the third operation instruction Create groups. Since virtual home devices correspond to physical home devices and can be controlled by being visible, creating a group for virtual home devices also creates a group for physical home devices, which helps to improve the convenience of home device control.
- the above-mentioned determination of the household device to be controlled according to the first operation instruction includes: determining a control parameter for controlling the group according to the first operation instruction, or determining a control parameter for controlling the user in the group according to the first operation instruction. Control parameters for selected home devices. If the user clicks on the created group, it indicates that all household devices in the group are household devices to be controlled, which improves the flexibility and convenience of determining the household devices to be controlled.
- control parameters conflict after determining the control parameters applicable to the multimedia file at the time node according to the second operation instruction, it further includes: displaying a prompt that the control parameters conflict and whether to choose to overwrite, for example, when the user determines When the control parameters conflict with the control parameters automatically determined through the mapping relationship, it can provide the user with a choice, which further improves the flexibility of determining the control parameters.
- determining the home device to be controlled through the virtual home device in the AR image and determining the control parameters applicable to the multimedia file according to the characteristics of the multimedia file and the preset mapping relationship, It also includes: receiving a preview instruction input by the user, and displaying the status of the virtual home device under the control of the control parameter. Through the preview, the user can determine the control parameters of the household equipment under the condition that the specific control effect of the control parameters is clear, and the efficiency of determining the control parameters is improved.
- determining the home device to be controlled through the virtual home device in the AR image and determining the control parameters applicable to the multimedia file according to the characteristics of the multimedia file and the preset mapping relationship, It also includes: receiving a sharing command input by the user, generating a configuration file according to the sharing command, and displaying sharing options; receiving a sharing channel command input by the user by selecting the sharing option, and uploading the configuration file according to the sharing channel in the sharing channel command , enabling the user to share the determined control parameters with friends, improving the convenience of the application of the control parameters.
- the present application provides an apparatus for controlling smart home equipment, which is applied to a mobile terminal, and includes: an acquisition module and a determination module.
- the acquisition module is used to acquire multimedia files;
- the determination module is used to determine the home equipment to be controlled through the virtual home equipment in the augmented reality AR image, and determine the control parameters applicable to the multimedia file, wherein the virtual home equipment and the Corresponding to the household device to be controlled, the control parameter is used to control the household device to be controlled.
- the acquisition module is configured to acquire pictures, video or audio files locally or from a network.
- the determination module is configured to scan the home device to be controlled and its environment, and generate an AR image including the virtual home device.
- the above-mentioned apparatus further includes: a first receiving module and a culling module; the first receiving module is configured to receive the user-input Removing instruction; the removing module is used to remove the object removed by the removing instruction in the above-mentioned virtual home equipment.
- the determination module is configured to determine control parameters applicable to the multimedia file according to the characteristics of the multimedia file and a preset mapping relationship, wherein the mapping relationship is the characteristics of the multimedia file and the above-mentioned Control the mapping relationship between parameters.
- the determination module is configured to determine the time sequence applicable to the multimedia file according to the video frame features and/or audio features of the multimedia file and the preset mapping relationship, according to the playing sequence of the multimedia file.
- a set of control parameters for different video frames; or for when the video frame and/or audio of the above multimedia file meet the preset conditions, according to the video frame feature and/or audio feature of the above multimedia file and the above preset mapping relationship, Determine the control parameters applicable to the video frame and/or audio meeting the preset condition.
- the determination module is configured to insert the first control parameter in the control parameter set into the execution time of the second control parameter; wherein, the first control parameter is the first control parameter in the multimedia file.
- the control parameter corresponding to the video frame, the second control parameter is the control parameter corresponding to the second video frame in the multimedia file; the control parameter corresponding to the first video frame is the control parameter of the household device of the hysteresis response type, and the first video
- the play time difference between the frame and the second video frame is the time period for the lag response type household device to respond to the control instruction, and the control instruction is an execution instruction of the first control parameter.
- the determination module includes: a receiving submodule and a determination submodule; the receiving submodule is used to receive the time node input by the user, and receive the first operation instruction input by the user by clicking on the virtual home device, And receiving a second operation instruction input by the user by selecting a control option; the determining submodule is used to determine the above-mentioned household device to be controlled according to the first operation instruction, and determine the time node applicable to the above-mentioned multimedia file according to the second operation instruction. control parameters.
- the above device further includes: a second receiving module, configured to receive the The time node input by the user, and receiving the first operation instruction input by the user by clicking on the virtual home device, and receiving the second operation instruction input by the user by selecting a control option; the determination module is used to determine the above-mentioned to-be-controlled The household device determines, according to the second operation instruction, the control parameters applicable to the multimedia file at the time node.
- the above-mentioned apparatus further includes: a third receiving module and a group creation module; the third receiving module is configured to, before the above-mentioned determining module determines the household device to be controlled according to the above-mentioned first operation instruction, A third operation instruction input by the user is received; the group creation module is used to create a group for the virtual household device selected by the user according to the third operation instruction.
- the determination module is configured to determine, according to the first operation instruction, some or all of the household devices in the group as the household devices to be controlled.
- the above-mentioned device further includes: a first display module, configured to display the control parameters after the above-mentioned determining module determines the control parameters applicable to the above-mentioned multimedia file at the above-mentioned time node according to the second operation instruction Prompt for conflicts and whether to choose to override.
- the above device further includes: a fourth receiving module and a second display module; the fourth receiving module is used to determine the home device to be controlled through the virtual home device in the AR image in the above determining module, And after determining the control parameters applicable to the above-mentioned multimedia files, receiving a preview instruction input by the user; the second display module is used to display the state of the above-mentioned virtual home equipment under the control of the above-mentioned control parameters.
- the above-mentioned device further includes: a fifth receiving module, a generating module, a third display module, a sixth receiving module, and an uploading module;
- the virtual home device determines the home device to be controlled and the control parameters applicable to the above-mentioned multimedia files, it receives a sharing instruction input by the user;
- the generating module is used to generate a configuration file according to the sharing instruction;
- the third display module is used to Displaying sharing options;
- the sixth receiving module is used to receive a sharing channel instruction input by the user by selecting the sharing option;
- the uploading module is used to upload the configuration file according to the sharing channel in the sharing channel instruction.
- the present application provides a mobile terminal, including: a processor, a memory, and a computer program.
- the memory stores the computer program.
- the processor runs the computer program
- the mobile terminal executes any one of the above-mentioned first aspects. described method.
- the present application provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when it is run on a computer, the computer is made to execute the method of any one of the first aspect.
- the present application provides a system on a chip, which implements any one of the methods in the first aspect.
- the present application provides a computer program for performing the method of any one of the first aspect when the computer program is executed by a computer.
- all or part of the program in the sixth aspect may be stored on a storage medium packaged with the processor, or part or all may be stored on a memory not packaged with the processor.
- FIG. 1 is a schematic diagram of a system architecture or scenario applied in an embodiment of the present application
- FIG. 2 is a schematic structural diagram of a mobile terminal in an embodiment of the present application.
- FIG. 3 is a schematic flowchart of a method for controlling smart home devices in an embodiment of the present application
- 4(a) to 4(e) are schematic diagrams of interfaces of mobile terminals in the method for controlling smart home devices in the embodiment of the present application;
- 5(a) to 5(c) are schematic diagrams of the interface of the mobile terminal in another method for controlling smart home devices in the embodiment of the present application;
- FIG. 6(a) to FIG. 6(d) are schematic diagrams of interfaces of mobile terminals in another method for controlling smart home devices in the embodiment of the present application;
- FIG. 7 is a schematic diagram of an interface for manually setting control parameters in the embodiment of the present application.
- Fig. 8 is a schematic diagram of an exemplary structure of an apparatus for controlling a smart home device in an embodiment of the present application.
- the mobile terminal 002 can be a smart phone, tablet computer, etc., and accesses the network 005 through long-distance wireless communication methods such as 2G, 3G, 4G, 5G, etc. to obtain media resources, such as Multimedia files can be found from the network 005.
- the servers in the network 005 store various media resources, such as pictures, video programs and so on.
- the smart home controller 003 is installed in the home, and the household devices 004 in the home are all connected to the smart home controller 003 .
- Household device 004 is a device directly experienced by the user, such as lamps, smart TVs, curtains, smart water heaters, and the like.
- the mobile terminal 002 is connected to the smart home controller 003 through the network 005 or short-distance communication methods such as zigbee, infrared, Bluetooth, NFC, ultra-wideband (UWB), WIFI, etc., and the smart home APP is installed on the mobile terminal 002.
- the user 001 sends control parameters to the smart home controller 003 through the network 005 by operating the smart home APP on the mobile terminal 002, and the smart home controller 003 receives the control parameters from the mobile terminal 002, and sends a corresponding response to the control home device 004 according to the control parameters.
- the mobile terminal 002 includes: a processing module 201 , a camera 202 , a communication module 203 and a storage module 204 .
- the mobile terminal 002 connects to the network 005 through the communication module 203, and establishes a connection with the smart home controller 003. After the camera 202 is turned on, it can capture images of the physical environment including the household device 004 .
- the storage module 204 may store a mapping relationship between multimedia feature information and control parameters of household devices.
- the processing module 201 can be connected to the network through a communication unit, search for multimedia file resources from the network, such as pictures, videos, audios, etc., or directly call the local storage 204 to read pictures, videos, and audios stored in the storage 204.
- the processing module 201 can also be used to analyze the selected pictures/videos to obtain multimedia features, and determine the household devices to be controlled and their control parameters according to the multimedia features. Or further, the processing module 201 may associate the household equipment and its control parameters with the selected picture/video according to the determined household equipment to be controlled and its control parameters (that is, generate a smart home scene).
- the processing module 201 can also be used to perform augmented reality (Augmented Reality, referred to as AR) modeling and enhanced display, combined with the physical environment image in the lens of the camera 20 and the laser radar scanner, to identify the household equipment in the physical environment, and Positional enhancements display virtual objects.
- AR Augmented Reality
- User 001 does not need to try to locate the location of the household equipment one by one from the list, and does not need to know the serial number of the household equipment, so he can directly select the virtual household equipment according to the location of the physical environment, and then select the household equipment.
- the processing module 201 can also operate the household device corresponding to the physical location by operating the virtual object according to the AR model extracted and established. During the AR imaging process, the mobile terminal 002 can move to include household devices that were not originally within the shooting range.
- the household device will still be included in the household device to be controlled. list.
- the list to be controlled includes all household devices identified by AR this time, and the control parameters are to be determined.
- the user 001 can also operate the virtual object in the AR image preview interface through the mobile terminal 002, such as deleting the virtual object. After the virtual object is deleted on the preview interface, the home device corresponding to the virtual object will be removed from the list to be controlled. Even if the camera captures the home device again later, the virtual object will not be regenerated. In this way, the user 001 can eliminate the household devices that he does not want to control, and only keep the household devices that he wants to control.
- the AR modeling is used to identify the distribution locations of the household devices 004 .
- the sensors on the mobile terminal 002 such as image sensors and laser radar scanners, can scan the entire home environment to identify the locations of all household devices 004.
- the smart home controller 003 communicates with the household equipment 004 to obtain the logical distribution diagram of the household equipment 004, and establishes the distribution model of the household equipment 004 by combining the logical distribution diagram and physical positioning.
- the specific technology of AR modeling please refer to US20210097768A1.
- the smart home controller 003 can locate the location of the home device 004 according to the image of the camera of the mobile terminal 002 and other sensors of the mobile terminal 002 such as a lidar scanner, thereby identifying the home device 004.
- the smart home controller 003 can know the home device 004 corresponding to the virtual object, for example, establish an association between the virtual object and the ID of the home device 004 , to realize the operation of virtual objects, that is, the operation of household equipment.
- the smart home controller 003 can communicate with the home devices 004 one by one, so as to establish a logical distribution map of the home devices 004 through communication.
- AR modeling can be performed again to add the new home equipment.
- FIG. 3 An example of the method implemented by the mobile terminal 002 for controlling smart home devices is shown in Figure 3, including:
- Step 31 The mobile terminal 002 acquires multimedia files.
- the user 001 operates the mobile terminal 002 to give an instruction to select a multimedia file
- the mobile terminal 002 selects a picture, video or audio file from the memory 204 according to the operation instruction of the user 001, or obtains the corresponding multimedia file from the network 005.
- Step 32 The mobile terminal 002 determines the home device to be controlled and the control parameters applicable to the multimedia file through the virtual home device in the AR image, wherein the virtual home device corresponds to the home device to be controlled, and the control parameter is used for controlling the household device to be controlled.
- the user 001 can operate the mobile terminal 002 to turn on the camera to obtain the environmental image including the household device 004 to be controlled, and activate the AR function of the mobile terminal 002, combining the environmental image and the sensor captured by sensors such as lidar data, and present an AR image containing virtual objects and physical environment elements, such as walls, on the display screen of the mobile terminal 002.
- the virtual object is a virtual household device obtained by identifying the household device 004 to be controlled.
- the virtual home device is consistent with the actual physical location of the corresponding home device in the lens of the camera 202 , in one-to-one correspondence, and there is no need for the user 001 to manually add the home device 004 to be controlled.
- the user 001 can determine the control parameters of the household equipment 004 to be controlled based on the virtual household equipment in the AR image, and can further control the household equipment to be controlled. According to the effect under the control of the determined control parameters, it is presented in the AR image interface for user 001 to preview.
- the way for the mobile terminal 002 to determine the household equipment to be controlled and its control parameters can be the way that the user 001 uses the mobile terminal 002 to manually select the household equipment and its control parameters; or it can be: the user 001 uses the mobile terminal 002 to form an AR Determine the household equipment to be controlled by means of a method, and obtain some multimedia features by analyzing the multimedia file, and then determine the household equipment to be controlled and its control parameters by the multimedia features according to the preset mapping relationship; or it can be: firstly, the mobile terminal 002 Execute the operation instructions of user 001, automatically determine the household equipment 004 to be controlled and its control parameters according to the multimedia features and AR images, and then user 001 uses the mobile terminal 002 to make manual adjustments.
- the mobile terminal 002 may further save the determined control parameter sets.
- the set of control parameters can also be regarded as the media scene of the household device 004 determined according to the multimedia file.
- the method provided in this embodiment needs to select household devices one by one and set control parameters, resulting in complicated steps and poor user experience.
- the camera is combined with AR processing to identify and locate household devices 004,
- the control parameters of the selected home equipment are automatically generated, or the home equipment is selected from the AR virtual object and its control parameters are determined according to the selection instruction of the user 001, or the home equipment and its parameters are determined manually and automatically. Controlling parameters simplifies the creation steps of smart home scenes, enhances usability, and improves user experience.
- the mobile terminal 002 After the mobile terminal 002 determines the control parameters of the home equipment 004, it can send the control parameters to the smart home controller 003, and the smart home controller 003 sends corresponding control instructions to the home equipment 004 according to the received control parameters, so as to realize the control of the home equipment. Control of device 004.
- the mobile terminal 002 automatically generates a scene according to a picture.
- the picture can be freely selected by the user, such as a picture taken in real time or a picture taken before (that is, an existing picture), or a picture obtained by searching the Internet.
- the smart home APP in the mobile terminal 002 can provide not only traditional custom scene creation, but also multimedia scenes, so as to determine the control parameters of home equipment according to selected multimedia files such as pictures, that is, generate scenes.
- the smart home APP is integrated with AR functions.
- the household equipment can be identified through AR, so that the household equipment can be seen and controlled in the mobile terminal 002 .
- many home devices are provided in the form of a list. If the user wants to select a smart home device in a specific location, he needs to first filter the type, and then try to filter one by one in the same type of device, and then choose Home equipment, the selection of each home equipment has to do this, it is very complicated.
- the terminal 002 uses the above AR function to perform AR processing on the scanned environment image of the home device to be controlled to obtain a controllable virtual home device, which avoids cumbersome screening operations, simplifies user operation steps, and improves user experience .
- the user 001 opens the smart home APP in the mobile terminal 002, clicks the "smart” button below, and selects "Use media files to create Scene” button, the interface displayed by the mobile terminal 002 is shown in Figure 4(a).
- the interface displays the "Local Resources" page for locally stored media files.
- the interface also provides a "network resource” button to enable user 001 to search for pictures from the network 005, or to jump to the gallery/album interface of the mobile terminal 002 through the "local resource” button to guide user 001 to store images from the local memory 204. Select an image from Image.
- the mobile terminal 002 displays the search page as shown in Figure 4(c), and after the user 001 clicks the "search” button in the interface, the mobile terminal 002 displays all the network resource search results (not shown in the figure). User 001 can select a picture by clicking the file icon in the search results.
- the smart home APP After the smart home APP receives the operation instruction from user 001, it obtains the link of the picture selected by user 001 in the background, and obtains the picture from the network through the link. Moreover, in the interface shown in FIG. 4( b ), the picture selected by the user 001 is highlighted. After the user 001 clicks the "Finish" button on the upper right of the interface, the mobile terminal 002 turns on the camera and enters the AR imaging interface. After the environmental image of the home device 004 is processed by AR, the AR image shown in Figure 4(d) is displayed on the image preview interface. image.
- the AR image includes physical environment elements roof 400 and wall 401 , and also includes two kinds of virtual household equipment: virtual downlight 41 and virtual spotlight 42 .
- Both the virtual downlight 41 and the virtual spotlight 42 are displayed as virtual objects at the physical location of the household equipment, that is, the physical downlight is located in the middle area of the roof 400, and the virtual downlight 41 displayed in the AR image is also located in the middle area of the roof 400.
- the user 001 can operate the home appliance at the same physical location as the virtual object by operating the virtual object. For example, the user 001 adjusts the brightness of the physical downlight by adjusting the brightness of the virtual downlight 41 in the AR image.
- the AR image also includes an “automatically generate scene” button 43 and a preview button 44 .
- the mobile terminal 002 analyzes the picture selected by the user 001, and obtains at least one kind of picture characteristic information such as brightness, contrast, color information (such as color type, color percentage, etc.), label information wait. Or, the mobile terminal 002 may also start to analyze the picture after the user 001 selects the picture, or after the user 001 selects the picture and clicks the "finish" button in the above-mentioned FIG. 4(c).
- the mobile terminal 002 can pre-set and store the mapping relationship between the multimedia feature information and the control parameters of the home appliance 004. After the mobile terminal 002 parses and obtains the picture feature information, it can determine the home appliance 004 to be controlled and its home appliance 004 according to the mapping relationship. Control parameters, the household device 004 to be controlled corresponds to the virtual household device. Part of the mapping relationship is shown in Table 1.
- Table 1 lists some approximate control parameters for controlling household devices based on image features.
- the mapping relationship stored in the memory 204 may include specific numerical mapping functions such as numerical functions of picture brightness and downlight brightness, numerical functions of contrast and frequency, and the like.
- a control parameter of a household device may be affected by various factors. When multiple factors affect the control parameter of the household device, the processor 201 determines the final control parameter of the household device according to a predetermined rule.
- the mobile terminal 002 After the user 001 clicks the "automatically generate scene" button 43, if the mobile terminal 002 has analyzed the feature information of the picture, the mobile terminal 002 determines the household equipment to be controlled and the corresponding control parameters according to the above mapping relationship. If the picture feature information is not analyzed at this time, the picture feature information can be parsed first, and then the control parameters of the household device 004 can be determined according to the picture feature information and the above-mentioned mapping relationship table.
- the mobile terminal 002 displays the result of "automatically generated scene” as “automatically generated scene” 45 as shown in FIG. 4(e).
- the mobile terminal 002 can also provide a preview function.
- the user 001 can click the preview button 44 to preview the scene effect produced by the home device 004 under the control of the control parameters.
- the mobile terminal 002 receives the operation command "preview" from the user 001, it controls each virtual home device in the AR image to simulate the corresponding working state according to the control parameters of the generated scene, and displays it.
- the method for controlling smart home devices in this embodiment is different from the traditional smart home scene editing mode.
- the user 001 only needs to select a picture and use the camera of the mobile terminal 002 to select the home devices in the target area without checking the home devices one by one.
- the selection solves the tedious problem of locating and selecting household equipment, realizes the fully automatic operation of selecting household equipment and determining control parameters, and improves user experience.
- the method of automatically generating scenes based on pictures on the mobile terminal provides a new method for determining scenes and enriches the scene functions of smart home devices.
- the multimedia file is a video file. Since video files are usually large, video files are usually network resources.
- mobile terminal 002 uses the method shown in Figure 4(b) to click search on the search interface of the smart home APP, and mobile terminal 002 executes user 001's operation instruction "search for video files" and sends a message to network 005. Send a request for searching video files, and display the search results for user 001 to choose.
- the smart home APP obtains the network link of the video file, such as a URL address, and associates with the selected video file through the link of the video file.
- the mobile terminal 002 displays an interface as shown in FIG. 5( a ) to create an AR image including virtual household devices.
- the creation process of the AR image including the virtual home device is the same as that in the previous embodiment.
- the virtual household equipment in the AR image corresponds to the household equipment 004 in the lens of the camera 202 one by one, and the positions are the same.
- User 001 changes the position of the mobile terminal 002, scans the home devices to be controlled and performs AR processing, and creates a virtual object in the environment image interface shown in Figure 5(a), that is, adds the home devices to be controlled to the list to be controlled.
- the interface of the mobile terminal 002 may further display information such as "analyzing" and "parsing completed", so that the user 001 can learn about the parsing progress of the video file 500.
- the mobile terminal 002 parses the video file 500, in addition to parsing the video frame, it can also parse the audio therein.
- Each video frame is a picture in a picture, that is, a frame of image. Therefore, the analysis of the video frame can refer to the picture analysis method in the previous embodiment.
- the audio feature information may include tag information such as music style, line keyword information/lyric keyword information, tempo information, and the like.
- the mobile terminal 002 parses and obtains the image feature information and audio feature information, it determines the control parameters of the home device corresponding to the virtual home device in the AR image according to the mapping relationship between these multimedia feature information and the control parameters of the home device 004 .
- the mapping relationship between the multimedia feature information and the control parameters of the home device 004 includes the mapping relationship between the picture feature information and the control parameters of the home device 004, and the mapping relationship between the audio feature information and the control parameters of the home device 004. Mapping relations.
- the mapping relationship between the picture feature information and the control parameters of the household device 004 is similar to the previous embodiment, and reference can be made to Table 1 above.
- the control parameters of the home device at each moment in the video file playback process can be determined according to the characteristics of all video frames, that is, for the video playback device in the home device 004
- the smart home controller 003 controls the home devices such as curtains, lamps, and air conditioners in the home devices 004 to adjust the environment according to the video frames played at different times.
- the mobile terminal 002 After the user 001 clicks the "automatically generate scene" button 43, the mobile terminal 002 generates a control parameter set for the video file 500 of the household equipment.
- the set of control parameters includes the control parameters of the home devices when different video frames are displayed during the playing of the video file 500 .
- the mobile terminal 002 can also determine the control parameters of the home device 004 according to the characteristics of the video frames in the video file 500 that meet the preset conditions, that is, to play the frame that meets the preset conditions during the playback of the video file 500 by the video playback device.
- the smart home controller 003 controls the home equipment used to adjust the environment accordingly. For example, in all video frames of a movie, several video frames meet the conditions for generating scenes.
- the mobile terminal 002 can determine the control parameters of the home equipment corresponding to each video frame after parsing the video frame. At this time, the progress displayed by the progress bar 56 is the progress of parsing plus determining the control parameters.
- the dotted line parts 561 and 562 on the progress bar 56 are the progress of analyzing the video frames that meet the preset conditions and determining the control parameters. That is, the video frames in the dotted line parts 561 and 562 are configured with control parameters for home devices, and the video frames in the remaining blank parts are not configured with control parameters for home devices.
- the type of the household equipment may be further considered.
- home appliances can be classified into real-time response types and lag response types.
- Real-time response home devices can respond to control commands in real time to quickly achieve desired effects, such as lighting effects, music playback from speakers, and so on. Therefore, for real-time response home devices, when a video playback device plays a certain video frame of a video file, the smart home device can send corresponding control instructions to this type of home device according to the control parameters, for example, to control the color of the light , flashing, brightness, color temperature; or control playing specific music, etc.
- Lag-response type household devices need a certain response time after receiving the control command to achieve the expected effect of the control parameters, such as the opening/closing of the curtains, the sea breeze simulation of the air conditioner, the smell of the fragrance of the speaker, etc. Wherein, it takes 5 to 10 seconds for the curtain to fully open to fully close.
- the video file is played, it is displayed frame by frame according to the time sequence. Assuming that the control parameter corresponding to a certain video frame is to close the curtain, then when the video frame is displayed, after the smart home controller 003 sends a close command to the curtain, the curtain will be closed within 5 to 10 minutes. Seconds to fully close.
- the smart home controller 003 can control the home equipment to achieve the expected environmental effects, such as the brightness and darkness of the environment, the aromatherapy atmosphere, and the simulated sea breeze.
- the playback timing inserts it at a certain moment before the playback, so that the smart home controller 003 can send control instructions to the lagging response type home devices in advance according to the control parameters, so that before the video playback device plays a certain video frame,
- the home equipment of the control lagging response type changes state, and when the video playback device plays the video frame, the expected state of the control parameter is reached.
- the video frame playback sequence of the video file 500 shown in FIG. 5( b ) is: video frame 501 , . . . , video frame 502 , . . . , video frame 503 .
- the color of most of the picture of the video frame 503 is blackish, correspondingly determine a control parameter for the curtain: completely close the curtain, so as to make it easier to see the blackish video frame 503 clearly.
- the smart home controller 003 sends a control command to completely close the curtain according to the control parameter, then when the curtain is completely closed, the video playback device has played the video frame 503 and may be playing Video frame 504. Since it takes 5 seconds for the curtain to be fully opened to fully closed, and the playing time interval between the video frame 502 and the video frame 503 is 5 seconds, the mobile terminal 002 can determine the control parameters of the home equipment corresponding to all the video frames.
- the smart home controller 003 when the video playback device plays the video file 500, if the video frame 502 is played, the smart home controller 003 generates a control command for the home device according to the control parameters corresponding to the video frame 502, and at the same time it also generates a control command for the curtain inserted therein.
- Parameters generate and issue a control command “completely close” to the curtains, or simultaneously generate and transmit a control command “completely close” according to the control parameters of the curtains corresponding to the video frame 503 at the playback moment.
- the curtain receives and executes the "completely close” instruction when the video playback device plays the video frame 502. After 5 seconds, the curtain is completely closed, and the video playback device also plays the video frame 503 just in time, thereby achieving the expected effect of the control parameters.
- mapping relationship between the audio feature information and the control parameters of the household device 004 please refer to Table 2.
- the mobile terminal 002 determines the control parameters of the household equipment for different picture characteristic information and audio characteristic information.
- a control parameter is determined according to the multiple control parameters according to a preset rule, for example, a control parameter is selected from among them.
- the mobile terminal 002 finally determines a control parameter set according to the video file 2, and the control parameters in the control parameter set are in one-to-one correspondence with each video frame or the playing time of the video frame.
- the mobile terminal 002 may further send the set of control parameters to the smart home controller 003 .
- the smart home controller 003 When the user 001 uses the video playback device to play the video file 500, the smart home controller 003 is triggered to generate corresponding control instructions according to the control parameters in the control parameter set according to the playback sequence and send them to the corresponding home equipment, so that the user can watch the video file.
- the process of 500 enjoy the corresponding environment or atmosphere created by the home equipment when playing different video frames, and watch the video file 500 with the best feeling.
- the mobile terminal 002 can further display an interface as shown in FIG.
- the file 500 corresponds to the set of control parameters of the household equipment.
- the mobile terminal 002 may further provide a preview function.
- the video playback progress bar 57 is consistent with the playback timing of the video file 500, and the playback progress of the video file 500 is displayed. control effect. Assuming that the control parameters are determined by some video frames that meet the preset conditions, when the video file 500 is played to the dotted progress bars 571 and 572, the state of the virtual home device starts to change accordingly according to the control parameters.
- the mobile terminal 002 has determined a set of control parameters according to the video frames played throughout the video file 500, there are no dotted line progress bars 571 and 572 on the video playback progress bar 57, and during the full playback of the video file 500, the state of the virtual home device can be The whole process is adjusted according to the set of control parameters.
- the user can also select a time point for previewing.
- the preview interface may also include a media window 58 for playing video images corresponding to the progress of the video playback progress bar 57 .
- the method for controlling household equipment determines the control parameters of household equipment based on video, which can be used in personalized movie viewing scenarios. According to the characteristics of each movie, the control parameters of the corresponding home equipment can be determined, which is equivalent to each power supply corresponding to several movie viewing scenes, which effectively improves the user's movie watching experience. Furthermore, for curtains and other lagging response household devices with a long execution time, by advancing their control parameters, their control instructions can be sent before the video frame is played, so that when the video frame is played, the ideal viewing angle can be achieved. shadow environment.
- the automatic generation of the scene be triggered, that is, the generation of the viewing scene will be triggered only when the corresponding home scene needs to be provided, which reduces the data processing amount of the mobile terminal and improves In order to determine the efficiency of the control parameters, the user experience is improved.
- the user manually determines the control parameters of the smart home, that is, the scene, using a mobile terminal, as shown in FIG. 6( a ) to FIG. 6( d ).
- the mobile terminal 002 displays an AR identification interface.
- the interface includes a multimedia playing window 58 and a playing progress bar 57 .
- the user 001 manually determines the control parameters of the home device, he can select a time node on the playback progress bar 57, and then change the position of the mobile terminal 002 so that the camera 202 can capture the home device 004 to be controlled.
- the mobile terminal 002 captures the household device 004, a corresponding virtual object is generated.
- controllable options such as "light effect”, “color temperature”, “brightness” and “color” pop up on the interface.
- the interface pops up secondary controllable options such as the type of light effect, such as “blinking”, “jumping”, “waves” and “breathing” as shown in Figure 6(b).
- the "jump” option that is, the control parameters of the downlight in the home device at the playback moment of the video file are determined.
- the mobile terminal 002 may support the creation of a group for the convenience of operating multiple household devices of the same type, so as to perform group operations on the household devices.
- the six downlights 61 can be selected to create group 1, so as to uniformly control the six downlights 61, avoiding one-by-one control .
- the group of household devices can be created only once. For example, after creating group 1 at a certain time node, other time nodes can also select this group 1 to determine the control parameters of the downlight.
- this embodiment can be used as a supplementary solution to the previous two embodiments.
- the mobile terminal After the mobile terminal automatically generates a scene, that is, determines the control parameters of the home device, and before sending it to the smart home controller, the user can manually select the home device, and manually Adjust the control effect, that is, manually determine the control parameters of the household equipment.
- the manually determined control parameters can overwrite the original automatic control parameters, and can also retain the original automatic control parameters.
- the mobile terminal 002 determines the control parameters of multiple household devices for multiple time nodes of a certain video file, the user creates or modifies the control parameters of the household devices.
- the mobile terminal prompts the user whether to overwrite the previously automatically determined control parameters as shown in Figure 6(d).
- the user can choose to overwrite the control parameters automatically determined by the mobile terminal and replace them with manually determined light effects, or keep the control parameters automatically determined by the mobile terminal 002 and give up the manually determined light effects.
- the method for controlling home appliances supports users to manually select home appliances through AR images, and determine control parameters of the home appliances to further realize customization.
- the control parameters of household equipment are determined by combining manual and automatic methods. On the basis of automatically generated scenes, users can adjust them again, which enriches the way of scene generation and improves the user experience.
- another example method for controlling home devices may further include: the mobile terminal receives a user's sharing operation instruction, executes the sharing operation instruction, generates a configuration file according to the determined control parameters of the home device, and upload to the network.
- the configuration file may include the category of the household equipment and the corresponding control parameters, or may further include the corresponding multimedia file or its identification such as name and ID.
- the mobile terminal After the user clicks "Share", the mobile terminal will generate a corresponding configuration file, and further, pop-up sharing methods such as displaying network platform theme store icons, instant messaging software such as QQ, WeChat icons, etc. for the user to choose, when the user clicks one of them After the icon is displayed, the mobile terminal receives the user's instruction and performs the corresponding upload operation.
- pop-up sharing methods such as displaying network platform theme store icons, instant messaging software such as QQ, WeChat icons, etc. for the user to choose, when the user clicks one of them
- the mobile terminal receives the user's instruction and performs the corresponding upload operation.
- the mobile terminal can also download the configuration file of the smart home scene from the network platform for controlling the home equipment.
- the smart home APP can identify the configuration file of the smart home scene, and after reading the parameters of the configuration file, generate the control parameters of the home equipment corresponding to the configuration file.
- the smart home APP in the mobile terminal can parse the configuration file. After parsing, the mobile terminal can receive the user's operation instruction to first select the application environment, and then configure the parameters of the configuration file to the household devices in the application environment in the selected application environment.
- the choice of application environment can be established by scanning the camera of the mobile terminal and identifying home devices through AR, or directly selecting from the stored AR environment such as the living room/bedroom/study room.
- the stored AR environment contains several home devices. It is pre-established by the mobile terminal according to the user's operation instructions.
- the mobile terminal configures the parameters of the configuration file to the household equipment, it can be configured according to the category of the household equipment, for example, the same type of household equipment applies the control parameters of the same type of household equipment.
- household devices that cannot correspond to the category of the configuration file can be ignored or skipped, and only household devices of the same category that can be configured can be configured.
- the method for controlling home appliances uploads the generated scene, that is, the control parameters, to the platform through the sharing operation of the mobile terminal for others to download or directly share with friends. After receiving it, others can directly apply the configuration file to generate the corresponding scene Or determine the corresponding control parameters, which improves the convenience of the application of the control parameters.
- FIG. 8 An example of an apparatus for controlling smart home devices is shown in FIG. 8 , including: an acquiring module 801 and a determining module 802 .
- the device may be an application program applied to a mobile terminal, and is used to implement the methods in the above embodiments.
- the acquisition module 801 is used to acquire multimedia files such as pictures, videos, etc.;
- the determination module 802 is used to determine the home equipment to be controlled through the virtual home equipment in the AR image, and determine the control parameters applicable to the multimedia file, wherein the The virtual home device corresponds to the home device to be controlled (for example, selecting a virtual home device is equivalent to selecting a physical home device), and the control parameter is used to control the home device to be controlled.
- the above-mentioned obtaining module 801 can be used to obtain pictures, video or audio files from local or network.
- the determining module 802 may be configured to scan the home device to be controlled and its environment, and generate an AR image including the virtual home device.
- the device for controlling smart home devices may further include: a first receiving module and a rejecting module; the first receiving module is used to generate the virtual home device containing the above-mentioned After the AR image, a culling command input by the user is received; the culling module is used to cull the object that is culled by the culling command in the virtual home device.
- control parameters can be determined automatically or manually.
- the determination module 802 can be used to determine the control parameters applicable to the above-mentioned multimedia files according to the characteristics of the above-mentioned multimedia files and the preset mapping relationship, wherein the mapping relationship is the characteristics of the above-mentioned multimedia files and the above-mentioned control parameters.
- mapping relationship between parameters refer to the description in the foregoing method embodiments.
- the above-mentioned determination module 802 can be used to determine the video file suitable for the above-mentioned multimedia file according to the video frame feature and/or audio feature of the above-mentioned multimedia file and the above-mentioned preset mapping relationship, according to the playing sequence of the above-mentioned multimedia file.
- a set of control parameters for different video frames of the file; or, the determining module 802 is configured to, when the video frame and/or audio of the multimedia file meet a preset condition, according to the video frame feature and/or audio feature of the multimedia file and the aforementioned preset
- the set mapping relationship determines the control parameters applicable to the video frame and/or audio meeting the preset condition.
- the determination module 802 may be configured to insert the first control parameter in the set of control parameters into the execution time of the second control parameter; wherein, The first control parameter is a control parameter corresponding to the first video frame in the multimedia file, and the second control parameter is a control parameter corresponding to the second video frame in the multimedia file; the control parameter corresponding to the first video frame is a lag response
- the control parameter of the type of household equipment, the playing time difference between the first video frame and the second video frame is the time period for the lagging response type of household equipment to respond to the control instruction, and the control instruction is the execution instruction of the first control parameter.
- the determination module 802 may include: a receiving submodule and a determination submodule.
- the receiving submodule is used to receive the time node input by the user, and to receive the first operation instruction input by the user by clicking on the virtual home device, and to receive the second operation instruction input by the user by selecting a control option;
- the first operation instruction determines the household device to be controlled, and the control parameters applicable to the multimedia file at the time node are determined according to the second operation instruction.
- the device for controlling the smart home equipment may further include: a second receiving module to be combined with the manual determination of the control parameters.
- the second receiving module is used to receive the time node input by the user after the determination module 802 determines the control parameters applicable to the multimedia file according to the characteristics of the multimedia file and the preset mapping relationship, and receive the time node input by the user, and the user clicks on the virtual home.
- the first operation instruction input by the device, and the second operation instruction input by the user by selecting a control option; the determination module is used to determine the above-mentioned household equipment to be controlled according to the first operation instruction, and determine the applicable home device according to the second operation instruction.
- the device for controlling smart home devices may further include: a third receiving module and a group creation module; the third receiving module is used to Before determining the household equipment to be controlled, a third operation instruction input by the user is received; the group creation module is used to create a group for the virtual household equipment selected by the user according to the third operation instruction.
- the determination module 802 is configured to determine, according to the first operation instruction, some or all of the home devices in the group as the home devices to be controlled.
- the device for controlling smart home devices may further include: a first display module.
- the first display module is used for displaying a prompt of conflicting control parameters and whether to choose to overwrite after the determining module 802 determines the control parameters applicable to the multimedia file at the above time node according to the second operation instruction.
- the device for controlling smart home equipment may further include: a fourth receiving module and a second display module; After the home device determines the home device to be controlled and the control parameters applicable to the multimedia file, it receives a preview instruction input by the user; the second display module is used to display the status of the virtual home device under the control of the control parameters .
- the device for controlling smart home equipment may further include: a fifth receiving module, a generating module, a third display module, a sixth receiving module, and an uploading module;
- the fifth receiving module uses After the determining module determines the household equipment to be controlled through the virtual household equipment in the AR image, and determines the control parameters applicable to the above multimedia files, it receives a sharing instruction input by the user;
- the generating module is used to generate the configuration according to the sharing instruction file;
- the third display module is used to display sharing options;
- the sixth receiving module is used to receive a sharing channel instruction input by the user by selecting the sharing option;
- the uploading module is used to upload the shared channel according to the sharing channel instruction configuration file.
- An embodiment of the present application also provides an electronic device, including: one or more processors; memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one One or more computer programs include instructions, and when the instructions are executed by the device, the device executes the methods shown in the above-mentioned embodiments.
- the embodiment of the present application also provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is run on a computer, the computer executes the method provided in the embodiment of the present application.
- the embodiment of the present application further provides a computer program product, the computer program product includes a computer program, and when running on a computer, causes the computer to execute the method provided in the embodiment of the present application.
- “multiple” means two or more.
- “And/or” describes the association relationship of associated objects, indicating that there may be three kinds of relationships, for example, A and/or B may indicate that A exists alone, A and B exist simultaneously, or B exists alone. Among them, A and B can be singular or plural.
- the character “/” generally indicates that the contextual objects are an “or” relationship.
- “At least one of the following” and similar expressions refer to any combination of these items, including any combination of single items or plural items.
- At least one of a, b, and c can represent: a, b, c, a and b, a and c, b and c or a and b and c, where a, b, c can be single, or Can be multiple.
- any function is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
- the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
- the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory; hereinafter referred to as: ROM), random access memory (Random Access Memory; hereinafter referred to as: RAM), magnetic disk or optical disc, etc.
- ROM read-only memory
- RAM random access memory
- magnetic disk or optical disc etc.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Automation & Control Theory (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Selective Calling Equipment (AREA)
- Telephone Function (AREA)
Abstract
The present application provides a method and device for controlling a smart home appliance, and a mobile terminal. In the method for controlling a smart home appliance, virtual home appliances are configured to correspond to home appliances to be controlled, so that a user does not need to select a home appliance according to text description, and can determine a home appliance to be controlled in a more intuitive manner, thereby reducing operational complexity in scenario creation processes, and improving user experience.
Description
本申请涉及智能家居技术领域,特别涉及一种用于控制智能家居设备的方法、装置、及移动终端。The present application relates to the field of smart home technology, in particular to a method, device, and mobile terminal for controlling smart home devices.
智能家居的集群化控制通常通过在一个应用程序(APP)上同时操作多个智能家居设备来实现。这种方式也支持用户自定义场景,用户可以自己设定场景来选择自己需要的家居设备及其控制参数。例如离家自动关灯、关空调、关电视的离家场景,观影场景等。用户需要根据提供的文字信息选择相应的家居设备及相应的控制参数。The clustered control of smart home is usually realized by simultaneously operating multiple smart home devices on one application program (APP). This method also supports user-defined scenes. Users can set the scene by themselves to choose the home equipment and control parameters they need. For example, when leaving home to automatically turn off the lights, turn off the air conditioner, and turn off the TV, the scene of leaving home, the scene of watching movies, etc. The user needs to select the corresponding household equipment and the corresponding control parameters according to the text information provided.
但是,当智能家居设备过多时,特别是同类的设备有多个时,很难定位到需要的设备,需要逐步试错。控制参数也要逐一确定,使得场景创建过程繁复,导致用户体验降低。However, when there are too many smart home devices, especially when there are multiple devices of the same type, it is difficult to locate the required device and requires gradual trial and error. The control parameters must also be determined one by one, which makes the scene creation process complicated and reduces user experience.
申请内容application content
本申请提供了一种用于控制智能家居设备的方法、装置及移动终端,以简化智能家居场景创建过程,提高用户体验。The present application provides a method, device and mobile terminal for controlling smart home equipment, so as to simplify the process of creating a smart home scene and improve user experience.
第一方面,本申请提供一种用于控制智能家居设备的方法,应用于移动终端(如手机、平板电脑等),包括:获取多媒体文件;通过增强现实AR图像中的虚拟家居设备确定待控制的家居设备,以及确定适用于该多媒体文件的控制参数,其中,该虚拟家居设备与该待控制的家居设备对应,该控制参数用于控制该待控制的家居设备。该用于控制智能家居设备的方法通过将虚拟家居设备与待控制的家居设备对应,使得用户无需根据文字描述选择家居设备,能够以更直观地方式确定待控制的家居设备,降低了场景创建过程中的操作复杂性,提高了用户体验。In the first aspect, the present application provides a method for controlling smart home devices, which is applied to mobile terminals (such as mobile phones, tablet computers, etc.), including: acquiring multimedia files; determining the virtual home devices to be controlled through augmented reality AR images household equipment, and determine control parameters applicable to the multimedia file, wherein the virtual household equipment corresponds to the household equipment to be controlled, and the control parameters are used to control the household equipment to be controlled. The method for controlling a smart home device corresponds the virtual home device with the home device to be controlled, so that the user does not need to select the home device according to the text description, and can determine the home device to be controlled in a more intuitive manner, reducing the scene creation process. The complexity of the operation in the system improves the user experience.
在一种可能的实现方式中,上述获取多媒体文件,包括:从本地或网络获取图片、视频或音频文件。通过从本地获取多媒体文件能够提高确定控制参数的效率,通过网络获取多媒体文件能够使得确定的控制参数更加多样化,满足更多的用户需求,提高对家居设备控制的灵活性。In a possible implementation manner, the acquisition of the multimedia file includes: acquisition of a picture, video or audio file locally or from a network. Acquiring multimedia files locally can improve the efficiency of determining control parameters, and acquiring multimedia files through the network can make the determined control parameters more diverse, meet more user needs, and improve the flexibility of controlling home appliances.
在一种可能的实现方式中,上述通过AR图像中的虚拟家居设备确定待控制的家居设备,包括:扫描该待控制的家居设备及其所在环境,生成包含该虚拟家居设备的AR图像。AR图像通过扫描的方式得到,从而对应添加待控制的家居设备,并且操作简便,易于实现。In a possible implementation manner, determining the home device to be controlled through the virtual home device in the AR image includes: scanning the home device to be controlled and its environment, and generating an AR image containing the virtual home device. The AR image is obtained by scanning, so that the corresponding household equipment to be controlled is added, and the operation is simple and easy to implement.
在一种可能的实现方式中,上述生成包含该虚拟家居设备的AR图像之后,还包括:接收用户输入的剔除指令,剔除该虚拟家居设备中该剔除指令剔除的对象。通过剔除虚拟家居设备去除对应的不再控制的家居设备,使得待控制的家居设备能够灵活变化。In a possible implementation manner, after the aforementioned generation of the AR image containing the virtual home device, it further includes: receiving a culling instruction input by a user, and excluding objects in the virtual home device that are culled by the culling instruction. By removing the corresponding household equipment that is no longer controlled by eliminating the virtual household equipment, the household equipment to be controlled can be changed flexibly.
在一种可能的实现方式中,上述确定适用于该多媒体文件的控制参数,包括:根据该多媒体文件的特征和预先设定的映射关系确定适用于该多媒体文件的控制参数,其中,该映射关系为所述多媒体文件的特征与该控制参数之间的映射关系。通过多媒体文件的特征与控制参数之间的映射关系自动确定家居设备的控制参数,使得用户无需手动设置控制参数,进一步降低了操作的复杂性,减轻了用户的劳动,进一步提高了用户的体验。In a possible implementation manner, the above determination of the control parameters applicable to the multimedia file includes: determining the control parameters applicable to the multimedia file according to the characteristics of the multimedia file and a preset mapping relationship, wherein the mapping relationship is the mapping relationship between the feature of the multimedia file and the control parameter. The control parameters of the household equipment are automatically determined through the mapping relationship between the characteristics of the multimedia file and the control parameters, so that the user does not need to manually set the control parameters, which further reduces the complexity of the operation, reduces the labor of the user, and further improves the user experience.
在一种可能的实现方式中,上述根据该多媒体文件的特征和预先设定的映射关系确定适用于该多媒体文件的控制参数,包括:根据预先设定的映射关系以及该多媒体文件的视频帧特征和/或音频特征,按该多媒体文件的播放时序,确定适用于该多媒体文件不同视频帧的控制参数集合;或者In a possible implementation manner, determining the control parameters applicable to the multimedia file according to the characteristics of the multimedia file and the preset mapping relationship includes: according to the preset mapping relationship and the video frame characteristics of the multimedia file and/or audio features, according to the playback timing of the multimedia file, determine the set of control parameters applicable to different video frames of the multimedia file; or
在该多媒体文件的视频帧和/或音频符合预设条件时,根据预先设定的映射关系以及稿多媒体文件的视频帧特征和/或音频特征,确定适用于该符合预设条件的视频帧/或音频的控制参数。例如,当多媒体文件为视频文件如一部电影时,可确定适用于该部电影所有视频帧的控制参数,由于一部电源有成千上万个视频帧,因而适用于这些帧的控制参数也对应有成千上万个,可以看作一个集合,这样,本申请能够针对不同的电影设置不同的场景(不同的家居设备的控制参数集合),进一步提高了智能家居设备控制的灵活性。或者,本申请能够对电影中的部分视频帧配置家居设备的控制参数,满足了用户的多样化的观影需求。When the video frame and/or audio of the multimedia file meet the preset condition, according to the preset mapping relationship and the video frame feature and/or audio feature of the original multimedia file, determine the video frame/audio that is applicable to the preset condition or audio control parameters. For example, when the multimedia file is a video file such as a movie, the control parameters applicable to all video frames of the movie can be determined. Since a power supply has tens of thousands of video frames, the control parameters applicable to these frames also correspond to There are thousands of them, which can be regarded as a set. In this way, the application can set different scenes (sets of control parameters of different home devices) for different movies, further improving the flexibility of smart home device control. Alternatively, the present application can configure control parameters of home devices for some video frames in a movie, satisfying users' diverse viewing needs.
在一种可能的实现方式中,上述按该多媒体文件的播放时序,确定适用于该多媒体文件不同视频帧的控制参数集合,包括:将该控制参数集合中的第一控制参数插入到第二控制参数的执行时刻;其中,该第一控制参数为该多媒体文件中第一视频帧对应的控制参数,第二控制参数为该多媒体文件中第二视频帧对应的控制参数;该第一视频帧对应的控制参数为滞后响应类型的家居设备(如窗帘)的控制参数,该第一视频帧与该第二视频帧播放时差为该滞后响应类型的家居设备响应控制指令的时长,该控制指令为该第一控制参数的执行指令。如适用于第m帧的控制参数用于控制将滞后响应类型的家居设备如窗帘,假设该控制参数控制窗帘从打开到完全关闭,假设窗帘响应需要10秒才能完全关闭,则将该控制参数作为适用于第m帧10秒前播放的视频帧(如第n帧)的控制参数,则在播放第n帧时开始控制窗帘,10秒后电影播放到第m帧且窗帘完全关闭,从而达到预期的控制效果,进一步提高了控制家居设备的灵活性。In a possible implementation manner, determining the control parameter sets applicable to different video frames of the multimedia file according to the play sequence of the multimedia file includes: inserting the first control parameter in the control parameter set into the second control parameter set The execution time of the parameter; wherein, the first control parameter is the control parameter corresponding to the first video frame in the multimedia file, and the second control parameter is the control parameter corresponding to the second video frame in the multimedia file; the first video frame corresponds to The control parameter is the control parameter of the hysteresis response type household equipment (such as curtains), and the playing time difference between the first video frame and the second video frame is the time length for the hysteresis response type household equipment to respond to the control instruction. The control instruction is the An execution instruction of the first control parameter. For example, the control parameter applicable to the m-th frame is used to control a household device that will respond with a lag such as a curtain, assuming that the control parameter controls the curtain from opening to fully closing, and assuming that the curtain response takes 10 seconds to fully close, then the control parameter is used as Applicable to the control parameters of the video frame (such as the nth frame) played before the mth frame 10 seconds, then start to control the curtain when the nth frame is played, and after 10 seconds, the movie will play to the mth frame and the curtain will be completely closed, so as to achieve the expected The control effect further improves the flexibility of controlling home equipment.
在一种可能的实现方式中,上述通过AR图像中的虚拟家居设备确定待控制的家居设备,以及根据该多媒体文件的特征和预先设定的映射关系确定适用于该多媒体文件的控制参数,包括:接收用户输入的时间节点,以及接收用户通过点击虚拟家居设备输入的第一操作指令,以及接收用户通过选择控制选项输入的第二操作指令,根据该第一操作指令确定该待控制的家居设备,根据该第二操作指令确定适用于该多媒体文件在该时间节点的控制参数,为用户提供了手动设置控制参数的途径,增加了设定控制参数的灵活性。In a possible implementation manner, the above-mentioned household equipment to be controlled is determined through the virtual household equipment in the AR image, and the control parameters applicable to the multimedia file are determined according to the characteristics of the multimedia file and the preset mapping relationship, including : Receive the time node input by the user, receive the first operation instruction input by the user by clicking on the virtual home device, and receive the second operation instruction input by the user by selecting a control option, and determine the home device to be controlled according to the first operation instruction According to the second operation instruction, the control parameters applicable to the multimedia file at the time node are determined, providing a way for the user to manually set the control parameters, and increasing the flexibility of setting the control parameters.
在一种可能的实现方式中,上述根据该多媒体文件的特征和预先设定的映射关系确定适用于该多媒体文件的控制参数之后,还包括:接收用户输入的时间节点,以及 接收用户通过点击虚拟家居设备输入的第一操作指令,以及接收用户通过选择控制选项输入的第二操作指令,根据该第一操作指令确定该待控制的家居设备,根据该第二操作指令确定适用于该多媒体文件在该时间节点的控制参数,将自动确定控制参数与手动控制参数相结合,能够满足用户的修改需求,进一步提高了控制家居设备的灵活性。In a possible implementation manner, after determining the control parameters applicable to the multimedia file according to the characteristics of the multimedia file and the preset mapping relationship, it also includes: receiving the time node input by the user, and receiving the user's click on the virtual The first operation instruction input by the home equipment, and receiving the second operation instruction input by the user by selecting the control option, determining the home equipment to be controlled according to the first operation instruction, and determining the application for the multimedia file in accordance with the second operation instruction The control parameters at this time node combine the automatically determined control parameters with the manual control parameters, which can meet the user's modification needs, and further improve the flexibility of controlling household devices.
在一种可能的实现方式中,上述根据该第一操作指令确定该待控制的家居设备之前,还包括:接收用户输入的第三操作指令,根据该第三操作指令为用户选择的虚拟家居设备创建组。由于虚拟家居设备与实体家居设备相对应,且可见即可控,因此创建虚拟家居设备的组也即为实体家居设备创建了组,有助于提高家居设备控制的便捷性。In a possible implementation manner, before determining the home device to be controlled according to the first operation instruction, it further includes: receiving a third operation instruction input by the user, and selecting a virtual home device for the user according to the third operation instruction Create groups. Since virtual home devices correspond to physical home devices and can be controlled by being visible, creating a group for virtual home devices also creates a group for physical home devices, which helps to improve the convenience of home device control.
在一种可能的实现方式中,上述根据该第一操作指令确定该待控制的家居设备,包括:根据该第一操作指令确定用于控制该组的控制参数,或用于控制该组中用户选择的家居设备的控制参数。如用户单击创建的组,则表示组中所有家居设备都为待控制的家居设备,提高了确定待控制家居设备的灵活性和便捷性。In a possible implementation manner, the above-mentioned determination of the household device to be controlled according to the first operation instruction includes: determining a control parameter for controlling the group according to the first operation instruction, or determining a control parameter for controlling the user in the group according to the first operation instruction. Control parameters for selected home devices. If the user clicks on the created group, it indicates that all household devices in the group are household devices to be controlled, which improves the flexibility and convenience of determining the household devices to be controlled.
在一种可能的实现方式中,上述根据该第二操作指令确定适用于该多媒体文件在该时间节点的控制参数之后,还包括:显示控制参数发生冲突以及是否选择覆盖的提示,如当用户确定的控制参数与通过映射关系自动确定的控制参数发生冲突时,能够为用户提供选择余地,进一步提高了控制参数确定的灵活性。In a possible implementation manner, after determining the control parameters applicable to the multimedia file at the time node according to the second operation instruction, it further includes: displaying a prompt that the control parameters conflict and whether to choose to overwrite, for example, when the user determines When the control parameters conflict with the control parameters automatically determined through the mapping relationship, it can provide the user with a choice, which further improves the flexibility of determining the control parameters.
在一种可能的实现方式中,上述通过AR图像中的虚拟家居设备确定待控制的家居设备,以及根据该多媒体文件的特征和预先设定的映射关系确定适用于该多媒体文件的控制参数之后,还包括:接收用户输入的预览指令,显示该虚拟家居设备在该控制参数的控制下的状态。通过预览,使得用户能够在清楚控制参数的具体控制效果的情况下确定家居设备的控制参数,提高了控制参数确定的效率。In a possible implementation manner, after determining the home device to be controlled through the virtual home device in the AR image, and determining the control parameters applicable to the multimedia file according to the characteristics of the multimedia file and the preset mapping relationship, It also includes: receiving a preview instruction input by the user, and displaying the status of the virtual home device under the control of the control parameter. Through the preview, the user can determine the control parameters of the household equipment under the condition that the specific control effect of the control parameters is clear, and the efficiency of determining the control parameters is improved.
在一种可能的实现方式中,上述通过AR图像中的虚拟家居设备确定待控制的家居设备,以及根据该多媒体文件的特征和预先设定的映射关系确定适用于该多媒体文件的控制参数之后,还包括:接收用户输入的分享指令,根据该分享指令生成配置文件,并显示分享选项;接收用户通过选择该分享选项输入的分享途径指令,根据该分享途径指令中的分享途径上传所述配置文件,能够使用户将确定的控制参数分享给好友,提高了控制参数应用的便捷性。In a possible implementation manner, after determining the home device to be controlled through the virtual home device in the AR image, and determining the control parameters applicable to the multimedia file according to the characteristics of the multimedia file and the preset mapping relationship, It also includes: receiving a sharing command input by the user, generating a configuration file according to the sharing command, and displaying sharing options; receiving a sharing channel command input by the user by selecting the sharing option, and uploading the configuration file according to the sharing channel in the sharing channel command , enabling the user to share the determined control parameters with friends, improving the convenience of the application of the control parameters.
第二方面,本申请提供一种用于控制智能家居设备的装置,应用于移动终端,包括:获取模块和确定模块。该获取模块用于获取多媒体文件;该确定模块用于通过增强现实AR图像中的虚拟家居设备确定待控制的家居设备,以及确定适用于该多媒体文件的控制参数,其中,该虚拟家居设备与该待控制的家居设备对应,该控制参数用于控制该待控制的家居设备。In a second aspect, the present application provides an apparatus for controlling smart home equipment, which is applied to a mobile terminal, and includes: an acquisition module and a determination module. The acquisition module is used to acquire multimedia files; the determination module is used to determine the home equipment to be controlled through the virtual home equipment in the augmented reality AR image, and determine the control parameters applicable to the multimedia file, wherein the virtual home equipment and the Corresponding to the household device to be controlled, the control parameter is used to control the household device to be controlled.
在一种可能的实现方式中,上述获取模块用于从本地或网络获取图片、视频或音频文件。In a possible implementation manner, the acquisition module is configured to acquire pictures, video or audio files locally or from a network.
在一种可能的实现方式中,上述确定模块用于扫描上述待控制的家居设备及其所在环境,生成包含上述虚拟家居设备的AR图像。In a possible implementation manner, the determination module is configured to scan the home device to be controlled and its environment, and generate an AR image including the virtual home device.
在一种可能的实现方式中,上述装置还包括:第一接收模块和剔除模块;该第一 接收模块用于在上述确定模块生成包含上述虚拟家居设备的所述AR图像之后,接收用户输入的剔除指令;该剔除模块用于剔除上述虚拟家居设备中该剔除指令剔除的对象。In a possible implementation manner, the above-mentioned apparatus further includes: a first receiving module and a culling module; the first receiving module is configured to receive the user-input Removing instruction; the removing module is used to remove the object removed by the removing instruction in the above-mentioned virtual home equipment.
在一种可能的实现方式中,上述确定模块用于根据上述多媒体文件的特征和预先设定的映射关系确定适用于上述多媒体文件的控制参数,其中,该映射关系为上述多媒体文件的特征与上述控制参数之间的映射关系。In a possible implementation manner, the determination module is configured to determine control parameters applicable to the multimedia file according to the characteristics of the multimedia file and a preset mapping relationship, wherein the mapping relationship is the characteristics of the multimedia file and the above-mentioned Control the mapping relationship between parameters.
在一种可能的实现方式中,上述确定模块用于根据上述多媒体文件的视频帧特征和/或音频特征以及上述预先设定的映射关系,按上述多媒体文件的播放时序,确定适用于上述多媒体文件不同视频帧的控制参数集合;或者用于在上述多媒体文件的视频帧和/或音频符合预设条件时,根据上述多媒体文件的视频帧特征和/或音频特征以及上述预先设定的映射关系,确定适用于该符合预设条件的视频帧和/或音频的控制参数。In a possible implementation manner, the determination module is configured to determine the time sequence applicable to the multimedia file according to the video frame features and/or audio features of the multimedia file and the preset mapping relationship, according to the playing sequence of the multimedia file. A set of control parameters for different video frames; or for when the video frame and/or audio of the above multimedia file meet the preset conditions, according to the video frame feature and/or audio feature of the above multimedia file and the above preset mapping relationship, Determine the control parameters applicable to the video frame and/or audio meeting the preset condition.
在一种可能的实现方式中,上述确定模块用于将所述控制参数集合中的第一控制参数插入到第二控制参数的执行时刻;其中,该第一控制参数为上述多媒体文件中第一视频帧对应的控制参数,第二控制参数为该多媒体文件中第二视频帧对应的控制参数;该第一视频帧对应的控制参数为滞后响应类型的家居设备的控制参数,所述第一视频帧与所述第二视频帧播放时差为该滞后响应类型的家居设备响应控制指令的时长,该控制指令为所述第一控制参数的执行指令。In a possible implementation manner, the determination module is configured to insert the first control parameter in the control parameter set into the execution time of the second control parameter; wherein, the first control parameter is the first control parameter in the multimedia file. The control parameter corresponding to the video frame, the second control parameter is the control parameter corresponding to the second video frame in the multimedia file; the control parameter corresponding to the first video frame is the control parameter of the household device of the hysteresis response type, and the first video The play time difference between the frame and the second video frame is the time period for the lag response type household device to respond to the control instruction, and the control instruction is an execution instruction of the first control parameter.
在一种可能的实现方式中,上述确定模块包括:接收子模块和确定子模块;该接收子模块用于接收用户输入的时间节点,以及接收用户通过点击虚拟家居设备输入的第一操作指令,以及接收用户通过选择控制选项输入的第二操作指令;该确定子模块用于根据该第一操作指令确定上述待控制的家居设备,根据该第二操作指令确定适用于上述多媒体文件在该时间节点的控制参数。In a possible implementation manner, the determination module includes: a receiving submodule and a determination submodule; the receiving submodule is used to receive the time node input by the user, and receive the first operation instruction input by the user by clicking on the virtual home device, And receiving a second operation instruction input by the user by selecting a control option; the determining submodule is used to determine the above-mentioned household device to be controlled according to the first operation instruction, and determine the time node applicable to the above-mentioned multimedia file according to the second operation instruction. control parameters.
在一种可能的实现方式中,上述装置还包括:第二接收模块,用于在上述确定模块根据上述多媒体文件的特征和预先设定的映射关系确定适用于上述多媒体文件的控制参数之后,接收用户输入的时间节点,以及接收用户通过点击虚拟家居设备输入的第一操作指令,以及接收用户通过选择控制选项输入的第二操作指令;上述确定模块用于根据该第一操作指令确定上述待控制的家居设备,根据该第二操作指令确定适用于上述多媒体文件在该时间节点的控制参数。In a possible implementation manner, the above device further includes: a second receiving module, configured to receive the The time node input by the user, and receiving the first operation instruction input by the user by clicking on the virtual home device, and receiving the second operation instruction input by the user by selecting a control option; the determination module is used to determine the above-mentioned to-be-controlled The household device determines, according to the second operation instruction, the control parameters applicable to the multimedia file at the time node.
在一种可能的实现方式中,上述装置还包括:第三接收模块和组创建模块;该第三接收模块用于在上述确定模块根据上述第一操作指令确定所述待控制的家居设备之前,接收用户输入的第三操作指令;该组创建模块用于根据该第三操作指令为用户选择的虚拟家居设备创建组。In a possible implementation manner, the above-mentioned apparatus further includes: a third receiving module and a group creation module; the third receiving module is configured to, before the above-mentioned determining module determines the household device to be controlled according to the above-mentioned first operation instruction, A third operation instruction input by the user is received; the group creation module is used to create a group for the virtual household device selected by the user according to the third operation instruction.
在一种可能的实现方式中,上述确定模块用于:根据上述第一操作指令确定上述组中的部分或全部家居设备为上述待控制的家居设备。In a possible implementation manner, the determination module is configured to determine, according to the first operation instruction, some or all of the household devices in the group as the household devices to be controlled.
在一种可能的实现方式中,上述装置还包括:第一显示模块,用于在上述确定模块根据所述第二操作指令确定适用于上述多媒体文件在上述时间节点的控制参数之后,显示控制参数发生冲突以及是否选择覆盖的提示。In a possible implementation manner, the above-mentioned device further includes: a first display module, configured to display the control parameters after the above-mentioned determining module determines the control parameters applicable to the above-mentioned multimedia file at the above-mentioned time node according to the second operation instruction Prompt for conflicts and whether to choose to override.
在一种可能的实现方式中,上述装置还包括:第四接收模块和第二显示模块;该 第四接收模块用于在上述确定模块通过AR图像中的虚拟家居设备确定待控制的家居设备,以及确定适用于上述多媒体文件的控制参数之后,接收用户输入的预览指令;该第二显示模块用于显示上述虚拟家居设备在上述控制参数的控制下的状态。In a possible implementation manner, the above device further includes: a fourth receiving module and a second display module; the fourth receiving module is used to determine the home device to be controlled through the virtual home device in the AR image in the above determining module, And after determining the control parameters applicable to the above-mentioned multimedia files, receiving a preview instruction input by the user; the second display module is used to display the state of the above-mentioned virtual home equipment under the control of the above-mentioned control parameters.
在一种可能的实现方式中,上述装置还包括:第五接收模块、生成模块、第三显示模块、第六接收模块和上传模块;该第五接收模块用于在上述确定模块通过AR图像中的虚拟家居设备确定待控制的家居设备,以及确定适用于上述多媒体文件的控制参数之后,接收用户输入的分享指令;该生成模块用于根据该分享指令生成配置文件;该第三显示模块用于显示分享选项;该第六接收模块用于接收用户通过选择该分享选项输入的分享途径指令;该上传模块用于根据该分享途径指令中的分享途径上传所述配置文件。In a possible implementation manner, the above-mentioned device further includes: a fifth receiving module, a generating module, a third display module, a sixth receiving module, and an uploading module; After the virtual home device determines the home device to be controlled and the control parameters applicable to the above-mentioned multimedia files, it receives a sharing instruction input by the user; the generating module is used to generate a configuration file according to the sharing instruction; the third display module is used to Displaying sharing options; the sixth receiving module is used to receive a sharing channel instruction input by the user by selecting the sharing option; the uploading module is used to upload the configuration file according to the sharing channel in the sharing channel instruction.
第三方面,本申请提供一种移动终端,包括:处理器、存储器和计算机程序,该存储器存储该计算机程序,该处理器运行该计算机程序时,该移动终端执行上述第一方面任一项所述的方法。In a third aspect, the present application provides a mobile terminal, including: a processor, a memory, and a computer program. The memory stores the computer program. When the processor runs the computer program, the mobile terminal executes any one of the above-mentioned first aspects. described method.
第四方面,本申请提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序,当其在计算机上运行时,使得计算机执行第一方面任一项的方法。In a fourth aspect, the present application provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when it is run on a computer, the computer is made to execute the method of any one of the first aspect.
第五方面,本申请提供一种芯片系统,执行第一方面任一项的方法。In a fifth aspect, the present application provides a system on a chip, which implements any one of the methods in the first aspect.
第六方面,本申请提供一种计算机程序,当计算机程序被计算机执行时,用于执行第一方面任一项的方法。In a sixth aspect, the present application provides a computer program for performing the method of any one of the first aspect when the computer program is executed by a computer.
在一种可能的设计中,第六方面中的程序可以全部或者部分存储在与处理器封装在一起的存储介质上,也可以部分或者全部存储在不与处理器封装在一起的存储器上。In a possible design, all or part of the program in the sixth aspect may be stored on a storage medium packaged with the processor, or part or all may be stored on a memory not packaged with the processor.
图1为本申请实施例应用的一个系统架构或场景示意图;FIG. 1 is a schematic diagram of a system architecture or scenario applied in an embodiment of the present application;
图2为本申请实施例中一个移动终端的结构示意图;FIG. 2 is a schematic structural diagram of a mobile terminal in an embodiment of the present application;
图3为本申请实施例中用于控制智能家居设备的方法的一个流程示意图;FIG. 3 is a schematic flowchart of a method for controlling smart home devices in an embodiment of the present application;
图4(a)至图4(e)为本申请实施例中用于控制智能家居设备的方法中移动终端的界面示意图;4(a) to 4(e) are schematic diagrams of interfaces of mobile terminals in the method for controlling smart home devices in the embodiment of the present application;
图5(a)至图5(c)为本申请实施例中另一用于控制智能家居设备的方法中移动终端的界面示意图;5(a) to 5(c) are schematic diagrams of the interface of the mobile terminal in another method for controlling smart home devices in the embodiment of the present application;
图6(a)至图6(d)为本申请实施例中另一用于控制智能家居设备的方法中移动终端的界面示意图;FIG. 6(a) to FIG. 6(d) are schematic diagrams of interfaces of mobile terminals in another method for controlling smart home devices in the embodiment of the present application;
图7为本申请实施例中手动设置控制参数的一个界面示意图;FIG. 7 is a schematic diagram of an interface for manually setting control parameters in the embodiment of the present application;
图8为本申请实施例中用于控制智能家居设备的装置的一个示例性结构示意图。Fig. 8 is a schematic diagram of an exemplary structure of an apparatus for controlling a smart home device in an embodiment of the present application.
本申请的实施方式部分使用的术语仅用于对本申请的具体实施例进行解释,而非旨在限定本申请。The terms used in the embodiments of the present application are only used to explain specific embodiments of the present application, and are not intended to limit the present application.
以图1所示系统架构或场景为例,移动终端002可以是智能手机、平板电脑等,通过远距离无线通信方式如2G、3G、4G、5G等接入网络005,以获取媒体资源,如可以从网络005查找多媒体文件。网络005中的服务器存储有多种媒体资源,例如图片、视频节目等。智能家居控制器003安装于家庭内,家庭内的家居设备004均连接到智能家居控制器003。家居设备004为用户直接体验的设备,例如灯、智能电视、窗帘、智能热水器等。移动终端002通过网络005或近距离通信方式如zigbee、红外、蓝牙、NFC、超宽带(UWB)、WIFI等连接到智能家居控制器003,移动终端002上安装有智能家居APP。用户001通过操作移动终端002上的智能家居APP,通过网络005向智能家居控制器003发送控制参数,智能家居控制器003从移动终端002接收控制参数,并根据控制参数向控制家居设备004发出相应的控制指令,以控制家居设备004的状态变化。Taking the system architecture or scenario shown in Figure 1 as an example, the mobile terminal 002 can be a smart phone, tablet computer, etc., and accesses the network 005 through long-distance wireless communication methods such as 2G, 3G, 4G, 5G, etc. to obtain media resources, such as Multimedia files can be found from the network 005. The servers in the network 005 store various media resources, such as pictures, video programs and so on. The smart home controller 003 is installed in the home, and the household devices 004 in the home are all connected to the smart home controller 003 . Household device 004 is a device directly experienced by the user, such as lamps, smart TVs, curtains, smart water heaters, and the like. The mobile terminal 002 is connected to the smart home controller 003 through the network 005 or short-distance communication methods such as zigbee, infrared, Bluetooth, NFC, ultra-wideband (UWB), WIFI, etc., and the smart home APP is installed on the mobile terminal 002. The user 001 sends control parameters to the smart home controller 003 through the network 005 by operating the smart home APP on the mobile terminal 002, and the smart home controller 003 receives the control parameters from the mobile terminal 002, and sends a corresponding response to the control home device 004 according to the control parameters. control instructions to control the state change of the household device 004.
移动终端002如图2所示,包括:处理模块201、摄像头202、通信模块203和存储模块204。通信模块203可以有多个或多种,例如蓝牙、5G/4G/3G/2G模块、wifi、NFC等,移动终端002通过通信模块203连接到网络005,以及和智能家居控制器003建立连接。摄像头202开启后,可以捕获包含家居设备004在内的物理环境图像。存储模块204可存储有多媒体特征信息和家居设备的控制参数的映射关系。As shown in FIG. 2 , the mobile terminal 002 includes: a processing module 201 , a camera 202 , a communication module 203 and a storage module 204 . There can be multiple or multiple communication modules 203, such as Bluetooth, 5G/4G/3G/2G modules, wifi, NFC, etc. The mobile terminal 002 connects to the network 005 through the communication module 203, and establishes a connection with the smart home controller 003. After the camera 202 is turned on, it can capture images of the physical environment including the household device 004 . The storage module 204 may store a mapping relationship between multimedia feature information and control parameters of household devices.
处理模块201可以通过通信单元连接到网络,从网络查找多媒体文件资源,例如图片、视频、音频等,或者直接调用本地存储器204,读取存储器204存储的图片、视频、音频。处理模块201还可用于解析选择的图片/视频,解析得到多媒体特征,并根据多媒体特征确定待控制的家居设备及其控制参数。或者进一步地,处理模块201可根据确定的待控制的家居设备及其控制参数(即生成智能家居场景),将家居设备及其控制参数和选择的图片/视频关联。处理模块201还可以用来执行增强现实(Augmented Reality,简称AR)建模和增强显示,结合摄像头20镜头中的物理环境图像、激光雷达扫描仪,识别出物理环境中的家居设备,并在对应位置增强显示虚拟对象。用户001无需从列表中逐一尝试定位家居设备的位置,无需知道家居设备的编号,便可以直接根据物理环境的位置来选择虚拟家居设备,进而选择家居设备。处理模块201还可根据提取建立的AR模型,通过操作虚拟对象来操作对应物理位置的家居设备。AR成像过程中,移动终端002可以移动,以将原来不在拍摄范围内的家居设备包括进来。在移动终端002移动过程中,即使有家居设备脱离了摄像头的成像范围,只要已经完成AR识别(即在对应位置显示该家居设备的虚拟对象),该家居设备仍然会包括在家居设备的待控制列表内。待控制列表包括了本次AR识别到的所有家居设备,待确定控制参数。用户001也可以通过移动终端002对AR图像预览界面中的虚拟对象进行操作,例如删除虚拟对象。在预览界面删除虚拟对象后,该虚拟对象对应的家居设备对应移出待控制列表,即使摄像头在后面再次捕获该家居设备,也不会重新生成虚拟对象。这样,用户001可以剔除不想控制的家居设备,而只保留想要控制的家居设备。The processing module 201 can be connected to the network through a communication unit, search for multimedia file resources from the network, such as pictures, videos, audios, etc., or directly call the local storage 204 to read pictures, videos, and audios stored in the storage 204. The processing module 201 can also be used to analyze the selected pictures/videos to obtain multimedia features, and determine the household devices to be controlled and their control parameters according to the multimedia features. Or further, the processing module 201 may associate the household equipment and its control parameters with the selected picture/video according to the determined household equipment to be controlled and its control parameters (that is, generate a smart home scene). The processing module 201 can also be used to perform augmented reality (Augmented Reality, referred to as AR) modeling and enhanced display, combined with the physical environment image in the lens of the camera 20 and the laser radar scanner, to identify the household equipment in the physical environment, and Positional enhancements display virtual objects. User 001 does not need to try to locate the location of the household equipment one by one from the list, and does not need to know the serial number of the household equipment, so he can directly select the virtual household equipment according to the location of the physical environment, and then select the household equipment. The processing module 201 can also operate the household device corresponding to the physical location by operating the virtual object according to the AR model extracted and established. During the AR imaging process, the mobile terminal 002 can move to include household devices that were not originally within the shooting range. During the movement of the mobile terminal 002, even if a household device is out of the imaging range of the camera, as long as the AR recognition has been completed (that is, the virtual object of the household device is displayed at the corresponding position), the household device will still be included in the household device to be controlled. list. The list to be controlled includes all household devices identified by AR this time, and the control parameters are to be determined. The user 001 can also operate the virtual object in the AR image preview interface through the mobile terminal 002, such as deleting the virtual object. After the virtual object is deleted on the preview interface, the home device corresponding to the virtual object will be removed from the list to be controlled. Even if the camera captures the home device again later, the virtual object will not be regenerated. In this way, the user 001 can eliminate the household devices that he does not want to control, and only keep the household devices that he wants to control.
其中,AR建模用于识别家居设备004的分布位置。AR建模时,可通过移动终端002上的传感器例如图像传感器和激光雷达扫描仪,对整个家庭环境进行扫描,识别出所有的家居设备004的位置。在AR识别过程中,智能家居控制器003与家居设备 004通信得到家居设备004的逻辑分布图,结合逻辑分布图和物理的定位,建立家居设备004的分布模型。AR建模的具体技术可参考US20210097768A1。AR建模后,智能家居控制器003可根据移动终端002摄像头的图像,并结合移动终端002的其他传感器例如激光雷达扫描仪,来定位家居设备004的位置,从而识别家居设备004。智能家居控制器003和每个家居设备004通讯的过程中,结合分布位置,智能家居控制器003即可知道虚拟对象对应的家居设备004,例如在虚拟对象和家居设备004的ID之间建立关联,实现操作虚拟对象即操作家居设备。初次使用时,智能家居控制器003可逐一和家居设备004进行通信,以通过通信建立家居设备004的逻辑分布图。当新增家居设备时,可重新进行一次AR建模,将新增的家居设备添加进来。Wherein, the AR modeling is used to identify the distribution locations of the household devices 004 . During AR modeling, the sensors on the mobile terminal 002, such as image sensors and laser radar scanners, can scan the entire home environment to identify the locations of all household devices 004. During the AR identification process, the smart home controller 003 communicates with the household equipment 004 to obtain the logical distribution diagram of the household equipment 004, and establishes the distribution model of the household equipment 004 by combining the logical distribution diagram and physical positioning. For the specific technology of AR modeling, please refer to US20210097768A1. After AR modeling, the smart home controller 003 can locate the location of the home device 004 according to the image of the camera of the mobile terminal 002 and other sensors of the mobile terminal 002 such as a lidar scanner, thereby identifying the home device 004. During the communication process between the smart home controller 003 and each home device 004, combined with the distribution location, the smart home controller 003 can know the home device 004 corresponding to the virtual object, for example, establish an association between the virtual object and the ID of the home device 004 , to realize the operation of virtual objects, that is, the operation of household equipment. When used for the first time, the smart home controller 003 can communicate with the home devices 004 one by one, so as to establish a logical distribution map of the home devices 004 through communication. When new home equipment is added, AR modeling can be performed again to add the new home equipment.
移动终端002实施用于控制智能家居设备的方法的一个示例如图3所示,包括:An example of the method implemented by the mobile terminal 002 for controlling smart home devices is shown in Figure 3, including:
步骤31:移动终端002获取多媒体文件。例如,用户001操作移动终端002,给出选择多媒体文件的指令,移动终端002根据用户001的操作指令,从存储器204中选择图片、视频或音频文件,或者从网络005获取相应的多媒体文件。Step 31: The mobile terminal 002 acquires multimedia files. For example, the user 001 operates the mobile terminal 002 to give an instruction to select a multimedia file, and the mobile terminal 002 selects a picture, video or audio file from the memory 204 according to the operation instruction of the user 001, or obtains the corresponding multimedia file from the network 005.
步骤32:移动终端002通过AR图像中的虚拟家居设备确定待控制的家居设备,以及适用于该多媒体文件的控制参数,其中,该虚拟家居设备与该待控制的家居设备对应,该控制参数用于控制该待控制的家居设备。Step 32: The mobile terminal 002 determines the home device to be controlled and the control parameters applicable to the multimedia file through the virtual home device in the AR image, wherein the virtual home device corresponds to the home device to be controlled, and the control parameter is used for controlling the household device to be controlled.
例如,移动终端002获取多媒体文件后,用户001可以操作移动终端002开启摄像头获取待控制家居设备004在内的环境图像,并启动移动终端002的AR功能,结合环境图像和激光雷达等传感器捕捉的数据,在移动终端002的显示屏上呈现包含虚拟对象和物理环境元素,例如墙壁,的AR图像。其中,虚拟对象为识别待控制的家居设备004得到的虚拟家居设备。该虚拟家居设备与摄像头202镜头中相应的家居设备的实际物理位置保持一致,一一对应,无需用户001手动添加待控制的家居设备004。由于AR图像中的虚拟家居设备与待控制的家居设备一一对应,用户001可以基于该AR图像中的虚拟家居设备确定待控制的家居设备004的控制参数,并可进一步将待控制的家居设备根据确定的控制参数控制下的效果,在AR图像界面中呈现,供用户001预览。For example, after the mobile terminal 002 obtains the multimedia file, the user 001 can operate the mobile terminal 002 to turn on the camera to obtain the environmental image including the household device 004 to be controlled, and activate the AR function of the mobile terminal 002, combining the environmental image and the sensor captured by sensors such as lidar data, and present an AR image containing virtual objects and physical environment elements, such as walls, on the display screen of the mobile terminal 002. Wherein, the virtual object is a virtual household device obtained by identifying the household device 004 to be controlled. The virtual home device is consistent with the actual physical location of the corresponding home device in the lens of the camera 202 , in one-to-one correspondence, and there is no need for the user 001 to manually add the home device 004 to be controlled. Since the virtual household equipment in the AR image corresponds to the household equipment to be controlled one by one, the user 001 can determine the control parameters of the household equipment 004 to be controlled based on the virtual household equipment in the AR image, and can further control the household equipment to be controlled. According to the effect under the control of the determined control parameters, it is presented in the AR image interface for user 001 to preview.
移动终端002确定待控制的家居设备及其控制参数的方式,可为通过用户001利用移动终端002手动选择家居设备及其控制参数的方式;或者可为:用户001利用移动终端002通过AR成像的方式确定待控制的家居设备,以及通过解析多媒体文件,得到若干多媒体特征,再根据预设映射关系,由多媒体特征来确定待控制的家居设备及其控制参数;或者可为:先由移动终端002执行用户001的操作指令,根据多媒体特征及AR图像自动确定待控制的家居设备004及其控制参数,再由用户001利用移动终端002进行手动调整。The way for the mobile terminal 002 to determine the household equipment to be controlled and its control parameters can be the way that the user 001 uses the mobile terminal 002 to manually select the household equipment and its control parameters; or it can be: the user 001 uses the mobile terminal 002 to form an AR Determine the household equipment to be controlled by means of a method, and obtain some multimedia features by analyzing the multimedia file, and then determine the household equipment to be controlled and its control parameters by the multimedia features according to the preset mapping relationship; or it can be: firstly, the mobile terminal 002 Execute the operation instructions of user 001, automatically determine the household equipment 004 to be controlled and its control parameters according to the multimedia features and AR images, and then user 001 uses the mobile terminal 002 to make manual adjustments.
在确定所有特征对应的家居设备004的控制参数集合后,移动终端002可进一步保存确定的控制参数集合。该控制参数集合也可视为根据多媒体文件确定的家居设备004的媒体场景。本实施例提供的方法相对于现有技术需要逐一选择家居设备并设置控制参数,导致的步骤繁复,造成用户体验感较差的问题,通过AR图像即利用摄像头结合AR处理识别定位家居设备004,并根据多媒体文件的特征自动生成选择的家居设备的控制参数,或者从AR虚拟对象中选择家居设备并根据用户001的选择指令确 定其控制参数,或者手动、自动相结合的方式确定家居设备及其控制参数,简化了智能家居场景的创建步骤,增强了可用性,提高了用户体验感。After determining the control parameter sets of the household devices 004 corresponding to all the features, the mobile terminal 002 may further save the determined control parameter sets. The set of control parameters can also be regarded as the media scene of the household device 004 determined according to the multimedia file. Compared with the prior art, the method provided in this embodiment needs to select household devices one by one and set control parameters, resulting in complicated steps and poor user experience. Through AR images, the camera is combined with AR processing to identify and locate household devices 004, And according to the characteristics of the multimedia file, the control parameters of the selected home equipment are automatically generated, or the home equipment is selected from the AR virtual object and its control parameters are determined according to the selection instruction of the user 001, or the home equipment and its parameters are determined manually and automatically. Controlling parameters simplifies the creation steps of smart home scenes, enhances usability, and improves user experience.
移动终端002确定家居设备004的控制参数后,可将控制参数发送给智能家居控制器003,由智能家居控制器003根据接收到的控制参数向家居设备004发送相应的控制指令,来实现对家居设备004的控制。After the mobile terminal 002 determines the control parameters of the home equipment 004, it can send the control parameters to the smart home controller 003, and the smart home controller 003 sends corresponding control instructions to the home equipment 004 according to the received control parameters, so as to realize the control of the home equipment. Control of device 004.
用于控制智能家居设备的方法的另一个示例如图4(a)至图4(e)所示。本实施例中,移动终端002根据图片来自动生成场景。图片可由用户自由选择,如可以是实时拍摄的图片或之前拍摄的图片(即已有的图片),也可以是通过搜索网络得到的图片。移动终端002中的智能家居APP除了提供传统的自定义场景创建外,还可提供多媒体场景,以根据选择的多媒体文件如图片,来确定家居设备的控制参数即生成场景。并且,智能家居APP集成有AR功能。用户利用移动终端002选择家居设备时,可通过AR识别家居设备,以在移动终端002中实现家居设备的可见即可控。而在传统的自定义方案中,诸多家居设备以列表形式提供,用户如果要选择特定位置的某一智能家居设备,需要先进行种类筛选,然后在同一类设备中逐一尝试来进行筛选,再选择家居设备,每个家居设备的选择都要执行此操作,非常复杂。本实施例中终端002利用上述AR功能对扫描的待控制的家居设备的环境图像进行AR处理,得到可控的虚拟家居设备,避免了繁琐的筛选操作,简化了用户操作步骤,提高了用户体验。Another example of a method for controlling smart home devices is shown in Figures 4(a) to 4(e). In this embodiment, the mobile terminal 002 automatically generates a scene according to a picture. The picture can be freely selected by the user, such as a picture taken in real time or a picture taken before (that is, an existing picture), or a picture obtained by searching the Internet. The smart home APP in the mobile terminal 002 can provide not only traditional custom scene creation, but also multimedia scenes, so as to determine the control parameters of home equipment according to selected multimedia files such as pictures, that is, generate scenes. Moreover, the smart home APP is integrated with AR functions. When the user uses the mobile terminal 002 to select household equipment, the household equipment can be identified through AR, so that the household equipment can be seen and controlled in the mobile terminal 002 . In the traditional custom solution, many home devices are provided in the form of a list. If the user wants to select a smart home device in a specific location, he needs to first filter the type, and then try to filter one by one in the same type of device, and then choose Home equipment, the selection of each home equipment has to do this, it is very complicated. In this embodiment, the terminal 002 uses the above AR function to perform AR processing on the scanned environment image of the home device to be controlled to obtain a controllable virtual home device, which avoids cumbersome screening operations, simplifies user operation steps, and improves user experience .
在实施用于控制智能家居设备的方法时,用户001打开移动终端002中的智能家居APP,点击下方的“智能”按钮后,在移动终端002提供的多个功能按键中选择“使用媒体文件创建场景”按键,移动终端002显示的界面如图4(a)所示。用户001点击界面中的“选择媒体文件”按键,移动终端002的显示屏画面可跳转到如图4(b)所示的界面。该界面默认显示本地存储的媒体文件的“本地资源”页面。该界面还提供了“网络资源”按键,以使用户001从网络005搜索图片,或者通过“本地资源”按键跳转到移动终端002的图库/相册界面,以引导用户001从本地存储器204存储的图片中选择一张图片。当“网络资源”按键被用户点击后,移动终端002显示如图4(c)所示的搜索页面时,用户001点击界面中的“搜索”按钮后,移动终端002显示所有网络资源搜索结果(图中未示出)。用户001可以通过点击搜索结果中的文件图标选择图片,智能家居APP收到用户001的操作指令后,在后台获取用户001所选图片的链接,通过链接从网络获取图片。并且,图4(b)所示的界面中,用户001所选图片显示为高亮。用户001点击界面中右上方“完成”按钮后,移动终端002开启摄像头,进入AR成像界面,家居设备004的环境图像经过AR处理后,在图像预览界面呈现如图4(d)所示的AR图像。AR图像包含了物理环境元素屋顶400和墙壁401,还包含了两种虚拟家居设备:虚拟筒灯41和虚拟射灯42。虚拟筒灯41和虚拟射灯42均以虚拟对象的方式显示在家居设备的物理位置处,也就是说,实体筒灯位于屋顶400的中间区域,则AR图像中显示的虚拟筒灯41也位于屋顶400的中间区域;实体射灯位于屋顶400的左右边缘,则AR图像中显示的虚拟射灯42也位于屋顶400的左右边缘。用户001可以通过操作虚拟对象来操作和虚拟对象处于同一物理位置的家居设备。例如,用户001通过调节AR图像中虚拟筒灯41的亮度,来调节实体筒灯的亮度。When implementing the method for controlling smart home devices, the user 001 opens the smart home APP in the mobile terminal 002, clicks the "smart" button below, and selects "Use media files to create Scene" button, the interface displayed by the mobile terminal 002 is shown in Figure 4(a). The user 001 clicks the "select media file" button in the interface, and the display screen of the mobile terminal 002 can jump to the interface shown in FIG. 4(b). By default, the interface displays the "Local Resources" page for locally stored media files. The interface also provides a "network resource" button to enable user 001 to search for pictures from the network 005, or to jump to the gallery/album interface of the mobile terminal 002 through the "local resource" button to guide user 001 to store images from the local memory 204. Select an image from Image. After the "network resources" button is clicked by the user, the mobile terminal 002 displays the search page as shown in Figure 4(c), and after the user 001 clicks the "search" button in the interface, the mobile terminal 002 displays all the network resource search results ( not shown in the figure). User 001 can select a picture by clicking the file icon in the search results. After the smart home APP receives the operation instruction from user 001, it obtains the link of the picture selected by user 001 in the background, and obtains the picture from the network through the link. Moreover, in the interface shown in FIG. 4( b ), the picture selected by the user 001 is highlighted. After the user 001 clicks the "Finish" button on the upper right of the interface, the mobile terminal 002 turns on the camera and enters the AR imaging interface. After the environmental image of the home device 004 is processed by AR, the AR image shown in Figure 4(d) is displayed on the image preview interface. image. The AR image includes physical environment elements roof 400 and wall 401 , and also includes two kinds of virtual household equipment: virtual downlight 41 and virtual spotlight 42 . Both the virtual downlight 41 and the virtual spotlight 42 are displayed as virtual objects at the physical location of the household equipment, that is, the physical downlight is located in the middle area of the roof 400, and the virtual downlight 41 displayed in the AR image is also located in the middle area of the roof 400. The middle area of the roof 400 ; the physical spotlights are located at the left and right edges of the roof 400 , and the virtual spotlights 42 displayed in the AR image are also located at the left and right edges of the roof 400 . The user 001 can operate the home appliance at the same physical location as the virtual object by operating the virtual object. For example, the user 001 adjusts the brightness of the physical downlight by adjusting the brightness of the virtual downlight 41 in the AR image.
AR图像中还包含了“自动生成场景”按钮43和预览按钮44。用户001点击“自动生成场景”按钮43后,移动终端002对用户001选择的图片进行解析,得到至少一种图片特征信息如明度、对比度、颜色信息(如颜色种类、颜色百分比等)、标签信息等。或者,移动终端002也可以在用户001选择图片后,或者在用户001选完图片并点击上述图4(c)中的“完成”按钮后,开始对图片进行解析。The AR image also includes an “automatically generate scene” button 43 and a preview button 44 . After the user 001 clicks the "automatically generate scene" button 43, the mobile terminal 002 analyzes the picture selected by the user 001, and obtains at least one kind of picture characteristic information such as brightness, contrast, color information (such as color type, color percentage, etc.), label information wait. Or, the mobile terminal 002 may also start to analyze the picture after the user 001 selects the picture, or after the user 001 selects the picture and clicks the "finish" button in the above-mentioned FIG. 4(c).
移动终端002中可预先设置并存储有多媒体特征信息和家居设备004的控制参数的映射关系,当移动终端002解析得到图片特征信息后,可根据该映射关系来确定待控制的家居设备004及其控制参数,该待控制的家居设备004与虚拟家居设备相对应。该映射关系的部分内容如表一所示。The mobile terminal 002 can pre-set and store the mapping relationship between the multimedia feature information and the control parameters of the home appliance 004. After the mobile terminal 002 parses and obtains the picture feature information, it can determine the home appliance 004 to be controlled and its home appliance 004 according to the mapping relationship. Control parameters, the household device 004 to be controlled corresponds to the virtual household device. Part of the mapping relationship is shown in Table 1.
表一Table I
表一列出了部分根据图片特征来控制家居设备的大概控制参数。在实际执行时,存储器204内存储的映射关系可包括具体的数值映射函数例如图片明度和筒灯亮度的数值函数、对比度和频率的数值函数等。另外,一种家居设备的控制参数可以受多种因素影响,当多种因素影响家居设备的控制参数时,处理器201按照预定的规则来决定该种家居设备的最终的控制参数。Table 1 lists some approximate control parameters for controlling household devices based on image features. During actual implementation, the mapping relationship stored in the memory 204 may include specific numerical mapping functions such as numerical functions of picture brightness and downlight brightness, numerical functions of contrast and frequency, and the like. In addition, a control parameter of a household device may be affected by various factors. When multiple factors affect the control parameter of the household device, the processor 201 determines the final control parameter of the household device according to a predetermined rule.
用户001点击“自动生成场景”按钮43后,若移动终端002已解析得到图片特征信息,则移动终端002根据上述映射关系确定待控制的家居设备,以及相应的控制参数。若此时未解析得到图片特征信息,则可先解析得到图片特性信息,然后根据图片特征信息和上述映射关系表来确定家居设备004的控制参数。After the user 001 clicks the "automatically generate scene" button 43, if the mobile terminal 002 has analyzed the feature information of the picture, the mobile terminal 002 determines the household equipment to be controlled and the corresponding control parameters according to the above mapping relationship. If the picture feature information is not analyzed at this time, the picture feature information can be parsed first, and then the control parameters of the household device 004 can be determined according to the picture feature information and the above-mentioned mapping relationship table.
可选地,移动终端002确定待控制的家居设备004的控制参数后,显示“自动生成场景”的结果如图4(e)所示的“已自动生成场景”45。Optionally, after determining the control parameters of the home appliance 004 to be controlled, the mobile terminal 002 displays the result of "automatically generated scene" as "automatically generated scene" 45 as shown in FIG. 4(e).
移动终端002还可以提供预览功能,例如,用户001可以通过点击预览按钮44来预览家居设备004在控制参数的控制下产生的场景效果。例如,移动终端002接收到用户001的操作指令“预览”后,控制AR图像中各虚拟家居设备按照已生成场景的控制参数模拟相应的工作状态,并显示。The mobile terminal 002 can also provide a preview function. For example, the user 001 can click the preview button 44 to preview the scene effect produced by the home device 004 under the control of the control parameters. For example, after the mobile terminal 002 receives the operation command "preview" from the user 001, it controls each virtual home device in the AR image to simulate the corresponding working state according to the control parameters of the generated scene, and displays it.
本实施例用于控制智能家居设备的方法,区别于传统的智能家居的场景编辑模式,用户001只需选取图片,并用移动终端002的摄像头选择目标区域中的家居设备,而无需逐个对家居设备进行选择,解决了家居设备的定位和选择繁琐的问题,实现了 家居设备的选择和控制参数的确定的全自动操作,提升了用户体验。并且,移动终端这种基于图片自动生成场景的方式,提供了一种新的场景确定方式,丰富了智能家居设备的场景功能。The method for controlling smart home devices in this embodiment is different from the traditional smart home scene editing mode. The user 001 only needs to select a picture and use the camera of the mobile terminal 002 to select the home devices in the target area without checking the home devices one by one. The selection solves the tedious problem of locating and selecting household equipment, realizes the fully automatic operation of selecting household equipment and determining control parameters, and improves user experience. Moreover, the method of automatically generating scenes based on pictures on the mobile terminal provides a new method for determining scenes and enriches the scene functions of smart home devices.
用于控制智能家居设备的另一方法示例如图5(a)至图5(c)所示。本实施例中,多媒体文件为视频文件。由于视频文件通常较大,因而,视频文件通常为网络资源。例如,移动终端002连接到网络005,用户001采用图4(b)所示的方式在智能家居APP的搜索界面点击搜索,移动终端002执行用户001的操作指令“搜索视频文件”,向网络005发出搜索视频文件的请求,并显示搜索结果供用户001选择。用户001在搜索结果中选择视频文件后,智能家居APP获取该视频文件的网络链接例如URL地址,通过该视频文件的链接关联到选中的视频文件。移动终端002显示如图5(a)所示的界面,以建立包含虚拟家居设备的AR图像。本实施例中,包含虚拟家居设备的AR图像的建立过程同上一实施例。类似地,AR图像中的虚拟家居设备和摄像头202镜头中的家居设备004一一对应,且位置相同。用户001通过改变移动终端002的位置,扫描待控制的家居设备并进行AR处理,在图5(a)所示的环境图像界面中建立虚拟对象,即将待控制的家居设备添加到待控制列表。用户001点击图5(a)中的“自动生成场景”按钮43,智能家居APP即开始沿着视频文件500的播放时序进行解析,并根据解析得到的特征,按照映射关系确定待控制列表内的家居设备的控制参数。可选地,解析过程中,移动终端002界面可进一步显示“解析中”、“解析完成”等信息,以供用户001了解视频文件500的解析进度。An example of another method for controlling smart home devices is shown in Figures 5(a) to 5(c). In this embodiment, the multimedia file is a video file. Since video files are usually large, video files are usually network resources. For example, when mobile terminal 002 is connected to network 005, user 001 uses the method shown in Figure 4(b) to click search on the search interface of the smart home APP, and mobile terminal 002 executes user 001's operation instruction "search for video files" and sends a message to network 005. Send a request for searching video files, and display the search results for user 001 to choose. After user 001 selects a video file in the search results, the smart home APP obtains the network link of the video file, such as a URL address, and associates with the selected video file through the link of the video file. The mobile terminal 002 displays an interface as shown in FIG. 5( a ) to create an AR image including virtual household devices. In this embodiment, the creation process of the AR image including the virtual home device is the same as that in the previous embodiment. Similarly, the virtual household equipment in the AR image corresponds to the household equipment 004 in the lens of the camera 202 one by one, and the positions are the same. User 001 changes the position of the mobile terminal 002, scans the home devices to be controlled and performs AR processing, and creates a virtual object in the environment image interface shown in Figure 5(a), that is, adds the home devices to be controlled to the list to be controlled. User 001 clicks the "automatically generate scenes" button 43 in Figure 5(a), and the smart home APP starts to analyze along the playing sequence of the video file 500, and determines the scene in the list to be controlled according to the mapping relationship according to the features obtained through analysis. Control parameters for home appliances. Optionally, during the parsing process, the interface of the mobile terminal 002 may further display information such as "analyzing" and "parsing completed", so that the user 001 can learn about the parsing progress of the video file 500.
移动终端002解析视频文件500时,除了解析视频帧以外,还可以解析其中的音频。每一视频帧就是一个图片中的一幅画面也即一帧图像,因此,视频帧的解析可参考上一实施例的图片解析方式。移动终端002解析视频文件中的音频时,音频特征信息可以包括标签信息如音乐风格等、台词关键字信息/歌词关键字信息、节拍信息等。When the mobile terminal 002 parses the video file 500, in addition to parsing the video frame, it can also parse the audio therein. Each video frame is a picture in a picture, that is, a frame of image. Therefore, the analysis of the video frame can refer to the picture analysis method in the previous embodiment. When the mobile terminal 002 parses the audio in the video file, the audio feature information may include tag information such as music style, line keyword information/lyric keyword information, tempo information, and the like.
移动终端002解析得到图片特征信息和音频特征信息后,根据这些多媒体特征信息和家居设备004的控制参数之间的映射关系,确定AR图像中虚拟家居设备对应的家居设备的控制参数。其中,多媒体特征信息和家居设备004的控制参数之间的映射关系,包含了图片特征信息和家居设备004的控制参数之间的映射关系,以及音频特征信息和家居设备004的控制参数之间的映射关系。图片特征信息和家居设备004的控制参数之间的映射关系与上一实施例类似,可参考上述表一。由于一个视频文件包含成很多个视频帧,确定控制参数时,可以根据所有视频帧的特征确定家居设备在视频文件播放过程中各个时刻的控制参数,即用于在家居设备004中的视频播放设备如电视机播放视频文件的过程中全程根据不同时刻播放的视频帧,智能家居控制器003对家居设备004中的用于调节环境的家居设备如窗帘、灯、空调等进行相应的控制。这种情况下,用户001点击“自动生成场景”按钮43后,移动终端002生成一个针对视频文件500的家居设备的控制参数集合。该控制参数集合包含了该视频文件500播放过程中显示不同视频帧时的家居设备的控制参数。或者,移动终端002也可根据视频文件500中符合预设条件的视频帧的特征确定家居设备004的控制参数,即用于在视频播放设备播放视频文件500过程中播放到该符合预设条件的视频帧时,智能家居控制器003对用于调节环境的家居设备进行相应的控制。例如一部电影的所有视频 帧中,有若干个视频帧符合生成场景的条件。比如,对于播放打雷的视频帧和/或音频,根据其特征确定相应的家居设备的控制参数,如把灯调亮一点,而忽略其它视频帧或音频的特征。移动终端002可每解析一个视频帧后确定该视频帧对应的家居设备的控制参数,此时进度条56显示的进度为解析加确定控制参数的进度。当移动终端002仅针对符合预设条件的视频帧确定相应的家居设备的控制参数时,进度条56上的虚线部分561和562为符合预设条件的视频帧的解析及确定控制参数的进度,也即对于虚线部分561和562的视频帧为家居设备配置了控制参数,对于其余空白部分的视频帧未为家居设备配置控制参数。After the mobile terminal 002 parses and obtains the image feature information and audio feature information, it determines the control parameters of the home device corresponding to the virtual home device in the AR image according to the mapping relationship between these multimedia feature information and the control parameters of the home device 004 . Wherein, the mapping relationship between the multimedia feature information and the control parameters of the home device 004 includes the mapping relationship between the picture feature information and the control parameters of the home device 004, and the mapping relationship between the audio feature information and the control parameters of the home device 004. Mapping relations. The mapping relationship between the picture feature information and the control parameters of the household device 004 is similar to the previous embodiment, and reference can be made to Table 1 above. Since a video file contains many video frames, when determining the control parameters, the control parameters of the home device at each moment in the video file playback process can be determined according to the characteristics of all video frames, that is, for the video playback device in the home device 004 For example, during the whole process of playing video files on a TV, the smart home controller 003 controls the home devices such as curtains, lamps, and air conditioners in the home devices 004 to adjust the environment according to the video frames played at different times. In this case, after the user 001 clicks the "automatically generate scene" button 43, the mobile terminal 002 generates a control parameter set for the video file 500 of the household equipment. The set of control parameters includes the control parameters of the home devices when different video frames are displayed during the playing of the video file 500 . Alternatively, the mobile terminal 002 can also determine the control parameters of the home device 004 according to the characteristics of the video frames in the video file 500 that meet the preset conditions, that is, to play the frame that meets the preset conditions during the playback of the video file 500 by the video playback device. When the video frame is displayed, the smart home controller 003 controls the home equipment used to adjust the environment accordingly. For example, in all video frames of a movie, several video frames meet the conditions for generating scenes. For example, for the video frame and/or audio playing thunder, determine the corresponding control parameters of the home device according to its characteristics, such as brightening the light a little, while ignoring the characteristics of other video frames or audio. The mobile terminal 002 can determine the control parameters of the home equipment corresponding to each video frame after parsing the video frame. At this time, the progress displayed by the progress bar 56 is the progress of parsing plus determining the control parameters. When the mobile terminal 002 only determines the control parameters of the corresponding household equipment for the video frames that meet the preset conditions, the dotted line parts 561 and 562 on the progress bar 56 are the progress of analyzing the video frames that meet the preset conditions and determining the control parameters. That is, the video frames in the dotted line parts 561 and 562 are configured with control parameters for home devices, and the video frames in the remaining blank parts are not configured with control parameters for home devices.
在针对某一视频文件确定家居设备的控制参数时,可进一步考虑家居设备的类型。例如,家居设备可以分为实时响应类型和滞后响应类型。实时响应类型的家居设备可以实时响应控制指令快速达到预期的效果例如灯光效果、音箱的音乐播放等。因此,对于实时响应类型的家居设备,在视频播放设备播放视频文件的某一视频帧时,智能家居设备根据控制参数向该类型的家居设备发送对应的控制指令即可,例如,控制灯光的颜色、闪烁、亮度、色温;或者控制播放特定音乐等。When determining the control parameters of the household equipment for a certain video file, the type of the household equipment may be further considered. For example, home appliances can be classified into real-time response types and lag response types. Real-time response home devices can respond to control commands in real time to quickly achieve desired effects, such as lighting effects, music playback from speakers, and so on. Therefore, for real-time response home devices, when a video playback device plays a certain video frame of a video file, the smart home device can send corresponding control instructions to this type of home device according to the control parameters, for example, to control the color of the light , flashing, brightness, color temperature; or control playing specific music, etc.
滞后响应类型的家居设备在接收到控制指令后,需要一定的响应时间,才能达到控制参数的预期效果,例如窗帘的打开/关闭、空调的海风模拟、音箱香氛的气味发散等。其中,窗帘从完全打开到完全闭合,需要5至10秒。而视频文件播放时按照时序逐帧显示,假设某一视频帧对应的控制参数是关闭窗帘,那么当显示到该视频帧时,智能家居控制器003向窗帘发送关闭指令后,窗帘在5至10秒后才会完全闭合。可以理解的是,此时该视频帧已经显示完5至10秒,当前显示的视频帧已是该视频帧之后的第几百乃至上千个视频帧,因此,为了使得视频播放设备播放视频文件时,智能家居控制器003对家居设备的控制能够达到预期的环境效果比如环境的亮暗程度、香薰氛围、模拟海风的吹拂等,对于滞后响应类型的家居设备的控制参数,考虑按视频文件的播放时序将其插入到播放前的某一时刻,以使智能家居控制器003能够提前根据控制参数将控制指令发送到滞后响应类型的家居设备,从而实现在视频播放设备播放某一视频帧之前,控制滞后响应类型的家居设备进行状态改变,在视频播放设备播放该视频帧时,达到控制参数的预期状态。例如,图5(b)所示的视频文件500的视频帧播放顺序为:视频帧501、…、视频帧502、…、视频帧503。其中,视频帧503的画面大部分的颜色均为偏黑色,对应确定一个对窗帘的控制参数:将窗帘完全关闭,以更利于看清偏黑色的视频帧503。但是如果在视频播放设备播放视频帧503时,智能家居控制器003根据该控制参数向窗帘发出完全关闭的控制指令,那么等窗帘完全关闭时,视频播放设备已经播放完视频帧503,可能正在播放视频帧504。由于窗帘从完全打开到完全关闭需要5秒时间,且视频帧502与视频帧503之间的播放时间间隔为5秒,因此,移动终端002可在确定完所有视频帧对应的家居设备的控制参数后,或者可在确定视频帧503及之前的视频帧对应的家居设备的控制参数后,将视频帧503对应的窗帘的控制参数插入到视频帧502对应的控制参数中,或者将视频帧503对应的窗帘的控制参数的执行时刻修改为视频帧502的播放时刻。这样,当视频播放设备播放该视频文件500时,如果播放视频帧502,则智能家居控制器003根据视频帧502对应的控制参数生成家居设备的控制指令时,同时也根据插入其中的 窗帘的控制参数生成并发出对窗帘的控制指令“完全关闭”,或者同时根据该播放时刻的视频帧503对应的窗帘的控制参数生成并发送控制指令“完全关闭”。窗帘在视频播放设备播放视频帧502时收到“完全关闭”指令并执行,5秒后,窗帘完全关闭,视频播放设备也恰好播放视频帧503,从而达到控制参数的预期效果。Lag-response type household devices need a certain response time after receiving the control command to achieve the expected effect of the control parameters, such as the opening/closing of the curtains, the sea breeze simulation of the air conditioner, the smell of the fragrance of the speaker, etc. Wherein, it takes 5 to 10 seconds for the curtain to fully open to fully close. When the video file is played, it is displayed frame by frame according to the time sequence. Assuming that the control parameter corresponding to a certain video frame is to close the curtain, then when the video frame is displayed, after the smart home controller 003 sends a close command to the curtain, the curtain will be closed within 5 to 10 minutes. Seconds to fully close. It can be understood that at this time, the video frame has been displayed for 5 to 10 seconds, and the currently displayed video frame is the hundreds or even thousands of video frames after the video frame. Therefore, in order to make the video playback device play the video file At this time, the smart home controller 003 can control the home equipment to achieve the expected environmental effects, such as the brightness and darkness of the environment, the aromatherapy atmosphere, and the simulated sea breeze. The playback timing inserts it at a certain moment before the playback, so that the smart home controller 003 can send control instructions to the lagging response type home devices in advance according to the control parameters, so that before the video playback device plays a certain video frame, The home equipment of the control lagging response type changes state, and when the video playback device plays the video frame, the expected state of the control parameter is reached. For example, the video frame playback sequence of the video file 500 shown in FIG. 5( b ) is: video frame 501 , . . . , video frame 502 , . . . , video frame 503 . Wherein, the color of most of the picture of the video frame 503 is blackish, correspondingly determine a control parameter for the curtain: completely close the curtain, so as to make it easier to see the blackish video frame 503 clearly. But if when the video playback device plays the video frame 503, the smart home controller 003 sends a control command to completely close the curtain according to the control parameter, then when the curtain is completely closed, the video playback device has played the video frame 503 and may be playing Video frame 504. Since it takes 5 seconds for the curtain to be fully opened to fully closed, and the playing time interval between the video frame 502 and the video frame 503 is 5 seconds, the mobile terminal 002 can determine the control parameters of the home equipment corresponding to all the video frames. Afterwards, or after determining the control parameters of the home equipment corresponding to the video frame 503 and previous video frames, insert the control parameters of the curtains corresponding to the video frame 503 into the control parameters corresponding to the video frame 502, or insert the corresponding control parameters of the video frame 503 into The execution time of the control parameter of the curtain is modified to the playing time of the video frame 502. In this way, when the video playback device plays the video file 500, if the video frame 502 is played, the smart home controller 003 generates a control command for the home device according to the control parameters corresponding to the video frame 502, and at the same time it also generates a control command for the curtain inserted therein. Parameters generate and issue a control command “completely close” to the curtains, or simultaneously generate and transmit a control command “completely close” according to the control parameters of the curtains corresponding to the video frame 503 at the playback moment. The curtain receives and executes the "completely close" instruction when the video playback device plays the video frame 502. After 5 seconds, the curtain is completely closed, and the video playback device also plays the video frame 503 just in time, thereby achieving the expected effect of the control parameters.
音频特征信息和家居设备004的控制参数之间的映射关系可参考表二。For the mapping relationship between the audio feature information and the control parameters of the household device 004, please refer to Table 2.
表二Table II
移动终端002按照映射表,针对不同的图片特性信息和音频特征信息,分别确定家居设备的控制参数。当移动终端002确定的某一时刻的家居设备的控制参数有多个且发生冲突时,则按照预设的规则根据该多个控制参数确定一个控制参数,例如从中选择一个控制参数。这样,移动终端002最终根据视频文件2确定一个控制参数集合,该控制参数集合中的控制参数与各视频帧或视频帧的播放时刻一一对应。可选地,移动终端002可进一步将该控制参数集合发送给智能家居控制器003。当用户001使用视频播放设备播放视频文件500时,触发智能家居控制器003按播放时序根据控制参数集合中的控制参数生成相应的控制指令并发送到相应的家居设备,从而使用户在观看视频文件500的过程中,享受不同的视频帧播放时家居设备营造的相应环境或气氛,以最佳的感受观看视频文件500。According to the mapping table, the mobile terminal 002 determines the control parameters of the household equipment for different picture characteristic information and audio characteristic information. When the mobile terminal 002 determines that there are multiple control parameters of the household equipment at a certain moment and a conflict occurs, a control parameter is determined according to the multiple control parameters according to a preset rule, for example, a control parameter is selected from among them. In this way, the mobile terminal 002 finally determines a control parameter set according to the video file 2, and the control parameters in the control parameter set are in one-to-one correspondence with each video frame or the playing time of the video frame. Optionally, the mobile terminal 002 may further send the set of control parameters to the smart home controller 003 . When the user 001 uses the video playback device to play the video file 500, the smart home controller 003 is triggered to generate corresponding control instructions according to the control parameters in the control parameter set according to the playback sequence and send them to the corresponding home equipment, so that the user can watch the video file. In the process of 500, enjoy the corresponding environment or atmosphere created by the home equipment when playing different video frames, and watch the video file 500 with the best feeling.
可选地,移动终端002确定控制参数集合后,还可进一步显示如图5(c)所示的界面,该界面中的“已自动生成场景”结果55提示用户场景已生成,即已确定视频文件500对应的家居设备的控制参数集合。Optionally, after the mobile terminal 002 determines the set of control parameters, it can further display an interface as shown in FIG. The file 500 corresponds to the set of control parameters of the household equipment.
可选地,移动终端002可进一步提供预览功能。用户001点击图5(c)中的“预览”按钮44后,视频播放进度条57和视频文件500的播放时序一致,显示视频文件500的播放进度,同时界面中显示虚拟家居设备根据控制参数达到的控制效果。假设控制参数由部分符合预设条件的视频帧确定,则当视频文件500播放到虚线进度条571和572时,虚拟家居设备的状态根据控制参数开始发生相应的变化。假设移动终端002根据视频文件500全程播放的视频帧确定了一个控制参数集合,则视频播放进度条57上没有虚线进度条571和572,视频文件500的全程播放过程中,虚拟家居设备的状态可根据该控制参数集合全程进行调整。可选地,预览时,用户还可以选择时间点来进行预览。可选地,预览界面还可以包括媒体窗口58,用来播放与视频播放进度条57的进度对应的视频画面。Optionally, the mobile terminal 002 may further provide a preview function. After the user 001 clicks the "preview" button 44 in Figure 5(c), the video playback progress bar 57 is consistent with the playback timing of the video file 500, and the playback progress of the video file 500 is displayed. control effect. Assuming that the control parameters are determined by some video frames that meet the preset conditions, when the video file 500 is played to the dotted progress bars 571 and 572, the state of the virtual home device starts to change accordingly according to the control parameters. Assuming that the mobile terminal 002 has determined a set of control parameters according to the video frames played throughout the video file 500, there are no dotted line progress bars 571 and 572 on the video playback progress bar 57, and during the full playback of the video file 500, the state of the virtual home device can be The whole process is adjusted according to the set of control parameters. Optionally, when previewing, the user can also select a time point for previewing. Optionally, the preview interface may also include a media window 58 for playing video images corresponding to the progress of the video playback progress bar 57 .
本实施例提供的用于控制家居设备的方法基于视频确定家居设备的控制参数,能够用于个性化的观影场景,相较传统观影场景,不再千篇一律,而是随着电影的变化而变化,能够根据每部电影的特征确定相应的家居设备的控制参数,相当于每部电源 对应若干个观影场景,有效地提高了用户的观影体验。进一步地,对于窗帘等执行时间较长的滞后响应类型的家居设备,通过将其控制参数提前,使得其控制指令可以在视频帧的播放前发送,从而在播放到视频帧时,达到理想的观影环境。进一步可选地,只有在视频帧满足设定条件时,才会触发自动生成场景,既只在需要提供相应的家居场景的适合才触发生成观影场景,减少了移动终端的数据处理量,提高了确定控制参数的效率,提升了用户体验。The method for controlling household equipment provided in this embodiment determines the control parameters of household equipment based on video, which can be used in personalized movie viewing scenarios. According to the characteristics of each movie, the control parameters of the corresponding home equipment can be determined, which is equivalent to each power supply corresponding to several movie viewing scenes, which effectively improves the user's movie watching experience. Furthermore, for curtains and other lagging response household devices with a long execution time, by advancing their control parameters, their control instructions can be sent before the video frame is played, so that when the video frame is played, the ideal viewing angle can be achieved. shadow environment. Further optionally, only when the video frame satisfies the set conditions will the automatic generation of the scene be triggered, that is, the generation of the viewing scene will be triggered only when the corresponding home scene needs to be provided, which reduces the data processing amount of the mobile terminal and improves In order to determine the efficiency of the control parameters, the user experience is improved.
本实施例提供的用于控制家居设备的方法中由用户利用移动终端手动确定智能家居的控制参数即场景,如图6(a)至图6(d)。用户001选择视频文件后,移动终端002显示AR识别界面。该界面中包含多媒体播放窗口58及播放进度条57。用户001手动确定家居设备的控制参数时,可在播放进度条57上选择时间节点,然后改变移动终端002的位置,使其摄像头202能够捕获到待控制的家居设备004。移动终端002捕获到家居设备004后生成对应的虚拟对象。如图6(a)所示,用户选中虚拟家居设备如筒灯后,界面弹出可控选项例如“光效”、“色温”、“亮度”和“颜色”。用户001选择“光效”选项后,界面弹出二级可控选项如灯光效果的类型,如图6(b)所示的“闪烁”、“跳跃”、“海浪”和“呼吸”等。假设用户001选择“跳跃”选项,也即确定了视频文件在该播放时刻的家居设备中该筒灯的控制参数。In the method for controlling home appliances provided by this embodiment, the user manually determines the control parameters of the smart home, that is, the scene, using a mobile terminal, as shown in FIG. 6( a ) to FIG. 6( d ). After the user 001 selects a video file, the mobile terminal 002 displays an AR identification interface. The interface includes a multimedia playing window 58 and a playing progress bar 57 . When the user 001 manually determines the control parameters of the home device, he can select a time node on the playback progress bar 57, and then change the position of the mobile terminal 002 so that the camera 202 can capture the home device 004 to be controlled. After the mobile terminal 002 captures the household device 004, a corresponding virtual object is generated. As shown in Figure 6(a), after the user selects a virtual home device such as a downlight, controllable options such as "light effect", "color temperature", "brightness" and "color" pop up on the interface. After user 001 selects the "light effect" option, the interface pops up secondary controllable options such as the type of light effect, such as "blinking", "jumping", "waves" and "breathing" as shown in Figure 6(b). Assuming that the user 001 selects the "jump" option, that is, the control parameters of the downlight in the home device at the playback moment of the video file are determined.
可选地,用户手动确定控制参数时,为了方便对多个同类的家居设备进行操作,移动终端002可以支持创建组,以对家居设备进行整组操作。如图6(c)所示,假设用户001对6个筒灯61的要求一致,则可选择该6个筒灯61创建组1,以对6个筒灯61进行统一的控制,避免逐一控制。家居设备的组可以只创建一次,例如,在某一个时间节点创建组1后,其他时间节点也可以选择该组1确定筒灯的控制参数。创建组后,在用户001选择家居设备时,可以通过不同的操作来选择组或者单个家居设备确定控制参数,例如单击选择组来确定该组家居设备的控制参数,双击选择单个家居设备确定该单个家居设备的控制参数。Optionally, when the user manually determines the control parameters, the mobile terminal 002 may support the creation of a group for the convenience of operating multiple household devices of the same type, so as to perform group operations on the household devices. As shown in Figure 6(c), assuming that user 001 has the same requirements for the six downlights 61, the six downlights 61 can be selected to create group 1, so as to uniformly control the six downlights 61, avoiding one-by-one control . The group of household devices can be created only once. For example, after creating group 1 at a certain time node, other time nodes can also select this group 1 to determine the control parameters of the downlight. After creating a group, when user 001 selects a home device, he can select a group or a single home device to determine the control parameters through different operations, for example, click to select a group to determine the control parameters of the group of home devices, double-click to select a single home device to determine the Control parameters for individual home devices.
可选地,本实施例可以作为前两个实施例的补充方案,在移动终端自动生成场景即确定家居设备的控制参数后,发送给智能家居控制器之前,用户可以手动选择家居设备,并手动调节控制效果,即手动确定家居设备的控制参数。当手动和自动的控制参数冲突时,手动确定的控制参数可以覆盖原来自动的控制参数,也可以保留原来自动的控制参数。例如,移动终端002针对某一视频文件的多个时间节点,确定多个家居设备的控制参数后,用户创建或修改家居设备的控制参数。Optionally, this embodiment can be used as a supplementary solution to the previous two embodiments. After the mobile terminal automatically generates a scene, that is, determines the control parameters of the home device, and before sending it to the smart home controller, the user can manually select the home device, and manually Adjust the control effect, that is, manually determine the control parameters of the household equipment. When the manual and automatic control parameters conflict, the manually determined control parameters can overwrite the original automatic control parameters, and can also retain the original automatic control parameters. For example, after the mobile terminal 002 determines the control parameters of multiple household devices for multiple time nodes of a certain video file, the user creates or modifies the control parameters of the household devices.
若用户手动确定的控制参数和移动终端自动确定的控制参数相冲突时,则移动终端如图6(d)所示,提示用户是否覆盖之前自动确定的控制参数。用户可以选择覆盖移动终端自动确定的控制参数,用手动确定的光效来替代,也可以保留移动终端002自动确定的控制参数,而放弃手动确定的光效。If the control parameters manually determined by the user conflict with the control parameters automatically determined by the mobile terminal, the mobile terminal prompts the user whether to overwrite the previously automatically determined control parameters as shown in Figure 6(d). The user can choose to overwrite the control parameters automatically determined by the mobile terminal and replace them with manually determined light effects, or keep the control parameters automatically determined by the mobile terminal 002 and give up the manually determined light effects.
本实施例提供的用于控制家居设备的方法支持用户通过AR图像手动选择家居设备,并确定家居设备的控制参数,进一步实现自定义。并且,手动与自动结合的方式确定家居设备的控制参数,在自动生成场景的基础上,用户再进行调整,丰富了场景生成方式,提升了用户的使用体验。The method for controlling home appliances provided in this embodiment supports users to manually select home appliances through AR images, and determine control parameters of the home appliances to further realize customization. In addition, the control parameters of household equipment are determined by combining manual and automatic methods. On the basis of automatically generated scenes, users can adjust them again, which enriches the way of scene generation and improves the user experience.
在前述实施例的基础上,另一用于控制家居设备的方法示例可进一步包括:移动 终端接收用户的分享操作指令,并执行该分享操作指令,根据确定的家居设备的控制参数生成配置文件,并上传到网络。其中,配置文件可包含家居设备的类别和对应的控制参数,或者可进一步包含对应的多媒体文件或其标识如名称、ID等。如图7所示,移动终端提示“已自动生成场景”后,用户可点击左上角的菜单,之后移动终端弹出操作选项“自动场景”、“保存”、“下载”、“上传”和“分享”等。用户点击“分享”后,移动终端生成对应的配置文件,并进一步地,可弹出分享的方式如显示网络平台主题商店图标、即时通讯软件如QQ、微信图标等供用户选择,当用户点击其中一图标后,移动终端接收用户的指令并执行相应的上传操作。On the basis of the foregoing embodiments, another example method for controlling home devices may further include: the mobile terminal receives a user's sharing operation instruction, executes the sharing operation instruction, generates a configuration file according to the determined control parameters of the home device, and upload to the network. Wherein, the configuration file may include the category of the household equipment and the corresponding control parameters, or may further include the corresponding multimedia file or its identification such as name and ID. As shown in Figure 7, after the mobile terminal prompts "Scene has been automatically generated", the user can click the menu in the upper left corner, and then the mobile terminal pops up the operation options "Automatic scene", "Save", "Download", "Upload" and "Share "wait. After the user clicks "Share", the mobile terminal will generate a corresponding configuration file, and further, pop-up sharing methods such as displaying network platform theme store icons, instant messaging software such as QQ, WeChat icons, etc. for the user to choose, when the user clicks one of them After the icon is displayed, the mobile terminal receives the user's instruction and performs the corresponding upload operation.
对应于上述上传操作,移动终端也可以从网络平台下载智能家居场景的配置文件,用于控制家居设备。智能家居APP可以识别智能家居场景的配置文件,并读取配置文件的参数后,生成与配置文件对应的家居设备的控制参数。Corresponding to the above uploading operation, the mobile terminal can also download the configuration file of the smart home scene from the network platform for controlling the home equipment. The smart home APP can identify the configuration file of the smart home scene, and after reading the parameters of the configuration file, generate the control parameters of the home equipment corresponding to the configuration file.
当其他用户通过即时通讯软件接收到配置文件时,其使用的移动终端中的智能家居APP可解析配置文件。解析后,移动终端可接收用户的操作指令先选择应用环境,然后在选择的应用环境内,将配置文件的参数,配置给应用环境内的家居设备。应用环境的选择可以通过移动终端的摄像头扫描,并通过AR识别家居设备来建立,也可以是直接从存储的AR环境比如客厅/卧室/书房中选择,存储的AR环境中包含了若干家居设备,由移动终端根据用户的操作指令预先建立。When other users receive the configuration file through the instant messaging software, the smart home APP in the mobile terminal they use can parse the configuration file. After parsing, the mobile terminal can receive the user's operation instruction to first select the application environment, and then configure the parameters of the configuration file to the household devices in the application environment in the selected application environment. The choice of application environment can be established by scanning the camera of the mobile terminal and identifying home devices through AR, or directly selecting from the stored AR environment such as the living room/bedroom/study room. The stored AR environment contains several home devices. It is pre-established by the mobile terminal according to the user's operation instructions.
移动终端将配置文件的参数配置给家居设备的过程中,可根据家居设备的类别进行配置,例如同一类的家居设备应用同类家居设备的控制参数。对于实际环境中无法与配置文件对应类别的家居设备,可以忽略或跳过,可只配置能够对应上的同类别的家居设备。When the mobile terminal configures the parameters of the configuration file to the household equipment, it can be configured according to the category of the household equipment, for example, the same type of household equipment applies the control parameters of the same type of household equipment. In the actual environment, household devices that cannot correspond to the category of the configuration file can be ignored or skipped, and only household devices of the same category that can be configured can be configured.
本实施例提供的用于控制家居设备的方法通过移动终端的分享操作,将生成的场景即控制参数上传到平台供他人下载或直接分享给好友,他人接收后可以直接应用配置文件生成对应的场景或确定对应的控制参数,提高了控制参数应用的便利性。The method for controlling home appliances provided by this embodiment uploads the generated scene, that is, the control parameters, to the platform through the sharing operation of the mobile terminal for others to download or directly share with friends. After receiving it, others can directly apply the configuration file to generate the corresponding scene Or determine the corresponding control parameters, which improves the convenience of the application of the control parameters.
用于控制智能家居设备的装置的一个示例如图8所示,包括:获取模块801和确定模块802。该装置可为应用于移动终端的应用程序,用于实现上述实施例中的方法。该获取模块801用于获取多媒体文件如图片、视频等;该确定模块802用于通过AR图像中的虚拟家居设备确定待控制的家居设备,以及确定适用于该多媒体文件的控制参数,其中,该虚拟家居设备与该待控制的家居设备对应(如选中虚拟家居设备相当于选中了实体的家居设备),该控制参数用于控制该待控制的家居设备。其中,上述获取模块801可用于从本地或网络获取图片、视频或音频文件。上述确定模块802可用于扫描上述待控制的家居设备及其所在环境,生成包含上述虚拟家居设备的AR图像。作为该实施例的一种变形,用于控制智能家居设备的装置还可包括:第一接收模块和剔除模块;该第一接收模块用于在上述确定模块802生成包含上述虚拟家居设备的所述AR图像之后,接收用户输入的剔除指令;该剔除模块用于剔除上述虚拟家居设备中该剔除指令剔除的对象。An example of an apparatus for controlling smart home devices is shown in FIG. 8 , including: an acquiring module 801 and a determining module 802 . The device may be an application program applied to a mobile terminal, and is used to implement the methods in the above embodiments. The acquisition module 801 is used to acquire multimedia files such as pictures, videos, etc.; the determination module 802 is used to determine the home equipment to be controlled through the virtual home equipment in the AR image, and determine the control parameters applicable to the multimedia file, wherein the The virtual home device corresponds to the home device to be controlled (for example, selecting a virtual home device is equivalent to selecting a physical home device), and the control parameter is used to control the home device to be controlled. Wherein, the above-mentioned obtaining module 801 can be used to obtain pictures, video or audio files from local or network. The determining module 802 may be configured to scan the home device to be controlled and its environment, and generate an AR image including the virtual home device. As a variant of this embodiment, the device for controlling smart home devices may further include: a first receiving module and a rejecting module; the first receiving module is used to generate the virtual home device containing the above-mentioned After the AR image, a culling command input by the user is received; the culling module is used to cull the object that is culled by the culling command in the virtual home device.
上述装置实施例中,控制参数可自动确定也可手动确定。当控制参数自动确定时,上述确定模块802可用于根据上述多媒体文件的特征和预先设定的映射关系确定适用于上述多媒体文件的控制参数,其中,该映射关系为上述多媒体文件的特征与上述控 制参数之间的映射关系,参见上述方法实施例中的说明。In the above device embodiments, the control parameters can be determined automatically or manually. When the control parameters are automatically determined, the determination module 802 can be used to determine the control parameters applicable to the above-mentioned multimedia files according to the characteristics of the above-mentioned multimedia files and the preset mapping relationship, wherein the mapping relationship is the characteristics of the above-mentioned multimedia files and the above-mentioned control parameters. For the mapping relationship between parameters, refer to the description in the foregoing method embodiments.
当上述多媒体文件为视频文件时,上述确定模块802可用于根据上述多媒体文件的视频帧特征和/或音频特征以及上述预先设定的映射关系,按上述多媒体文件的播放时序,确定适用于上述多媒体文件不同视频帧的控制参数集合;或者,上述确定模块802用于在上述多媒体文件的视频帧和/或音频符合预设条件时,根据上述多媒体文件的视频帧特征和/或音频特征以及上述预先设定的映射关系,确定适用于该符合预设条件的视频帧和/或音频的控制参数。当确定的控制参数中有用于控制滞后响应类型的家居设备的控制参数时,上述确定模块802可用于将所述控制参数集合中的第一控制参数插入到第二控制参数的执行时刻;其中,该第一控制参数为上述多媒体文件中第一视频帧对应的控制参数,第二控制参数为该多媒体文件中第二视频帧对应的控制参数;所述第一视频帧对应的控制参数为滞后响应类型的家居设备的控制参数,该第一视频帧与所述第二视频帧播放时差为该滞后响应类型的家居设备响应控制指令的时长,该控制指令为所述第一控制参数的执行指令。When the above-mentioned multimedia file is a video file, the above-mentioned determination module 802 can be used to determine the video file suitable for the above-mentioned multimedia file according to the video frame feature and/or audio feature of the above-mentioned multimedia file and the above-mentioned preset mapping relationship, according to the playing sequence of the above-mentioned multimedia file. A set of control parameters for different video frames of the file; or, the determining module 802 is configured to, when the video frame and/or audio of the multimedia file meet a preset condition, according to the video frame feature and/or audio feature of the multimedia file and the aforementioned preset The set mapping relationship determines the control parameters applicable to the video frame and/or audio meeting the preset condition. When the determined control parameters include control parameters for controlling hysteresis-response household appliances, the determination module 802 may be configured to insert the first control parameter in the set of control parameters into the execution time of the second control parameter; wherein, The first control parameter is a control parameter corresponding to the first video frame in the multimedia file, and the second control parameter is a control parameter corresponding to the second video frame in the multimedia file; the control parameter corresponding to the first video frame is a lag response The control parameter of the type of household equipment, the playing time difference between the first video frame and the second video frame is the time period for the lagging response type of household equipment to respond to the control instruction, and the control instruction is the execution instruction of the first control parameter.
当控制参数手动确定时,上述确定模块802可包括:接收子模块和确定子模块。该接收子模块用于接收用户输入的时间节点,以及接收用户通过点击虚拟家居设备输入的第一操作指令,以及接收用户通过选择控制选项输入的第二操作指令;该确定子模块用于根据该第一操作指令确定上述待控制的家居设备,根据该第二操作指令确定适用于上述多媒体文件在该时间节点的控制参数。When the control parameters are manually determined, the determination module 802 may include: a receiving submodule and a determination submodule. The receiving submodule is used to receive the time node input by the user, and to receive the first operation instruction input by the user by clicking on the virtual home device, and to receive the second operation instruction input by the user by selecting a control option; The first operation instruction determines the household device to be controlled, and the control parameters applicable to the multimedia file at the time node are determined according to the second operation instruction.
在上述装置自动确定控制参数的基础上,用于控制智能家居设备的装置还可包括:第二接收模块,以与手动确定控制参数相结合。该第二接收模块用于在上述确定模块802根据上述多媒体文件的特征和预先设定的映射关系确定适用于上述多媒体文件的控制参数之后,接收用户输入的时间节点,以及接收用户通过点击虚拟家居设备输入的第一操作指令,以及接收用户通过选择控制选项输入的第二操作指令;上述确定模块用于根据该第一操作指令确定上述待控制的家居设备,根据该第二操作指令确定适用于上述多媒体文件在该时间节点的控制参数。On the basis of the automatic determination of the control parameters by the above-mentioned device, the device for controlling the smart home equipment may further include: a second receiving module to be combined with the manual determination of the control parameters. The second receiving module is used to receive the time node input by the user after the determination module 802 determines the control parameters applicable to the multimedia file according to the characteristics of the multimedia file and the preset mapping relationship, and receive the time node input by the user, and the user clicks on the virtual home. The first operation instruction input by the device, and the second operation instruction input by the user by selecting a control option; the determination module is used to determine the above-mentioned household equipment to be controlled according to the first operation instruction, and determine the applicable home device according to the second operation instruction. The control parameters of the above multimedia file at the time node.
作为上述装置实施例的另一种变形,用于控制智能家居设备的装置还可包括:第三接收模块和组创建模块;该第三接收模块用于在上述确定模块802根据上述第一操作指令确定所述待控制的家居设备之前,接收用户输入的第三操作指令;该组创建模块用于根据该第三操作指令为用户选择的虚拟家居设备创建组。在一些可能的实施方式中,上述确定模块802用于根据上述第一操作指令确定上述组中的部分或全部家居设备为上述待控制的家居设备。As another variant of the above-mentioned device embodiment, the device for controlling smart home devices may further include: a third receiving module and a group creation module; the third receiving module is used to Before determining the household equipment to be controlled, a third operation instruction input by the user is received; the group creation module is used to create a group for the virtual household equipment selected by the user according to the third operation instruction. In some possible implementation manners, the determination module 802 is configured to determine, according to the first operation instruction, some or all of the home devices in the group as the home devices to be controlled.
作为上述装置实施例的另一种变形,用于控制智能家居设备的装置还可包括:第一显示模块。该第一显示模块用于在上述确定模块802根据所述第二操作指令确定适用于上述多媒体文件在上述时间节点的控制参数之后,显示控制参数发生冲突以及是否选择覆盖的提示。As another variation of the above device embodiment, the device for controlling smart home devices may further include: a first display module. The first display module is used for displaying a prompt of conflicting control parameters and whether to choose to overwrite after the determining module 802 determines the control parameters applicable to the multimedia file at the above time node according to the second operation instruction.
作为上述装置实施例的另一种变形,用于控制智能家居设备的装置还可包括:第四接收模块和第二显示模块;该第四接收模块用于在上述确定模块通过AR图像中的虚拟家居设备确定待控制的家居设备,以及确定适用于所述多媒体文件的控制参数之后,接收用户输入的预览指令;该第二显示模块用于显示该虚拟家居设备在该控制参 数的控制下的状态。As another variant of the above device embodiment, the device for controlling smart home equipment may further include: a fourth receiving module and a second display module; After the home device determines the home device to be controlled and the control parameters applicable to the multimedia file, it receives a preview instruction input by the user; the second display module is used to display the status of the virtual home device under the control of the control parameters .
作为上述装置实施例的另一种变形,用于控制智能家居设备的装置还可包括:第五接收模块、生成模块、第三显示模块、第六接收模块和上传模块;该第五接收模块用于在上述确定模块通过AR图像中的虚拟家居设备确定待控制的家居设备,以及确定适用于上述多媒体文件的控制参数之后,接收用户输入的分享指令;该生成模块用于根据该分享指令生成配置文件;该第三显示模块用于显示分享选项;该第六接收模块用于接收用户通过选择该分享选项输入的分享途径指令;该上传模块用于根据该分享途径指令中的分享途径上传所述配置文件。As another modification of the above device embodiment, the device for controlling smart home equipment may further include: a fifth receiving module, a generating module, a third display module, a sixth receiving module, and an uploading module; the fifth receiving module uses After the determining module determines the household equipment to be controlled through the virtual household equipment in the AR image, and determines the control parameters applicable to the above multimedia files, it receives a sharing instruction input by the user; the generating module is used to generate the configuration according to the sharing instruction file; the third display module is used to display sharing options; the sixth receiving module is used to receive a sharing channel instruction input by the user by selecting the sharing option; the uploading module is used to upload the shared channel according to the sharing channel instruction configuration file.
可以理解的是,上述实施例中的部分或全部步骤或操作仅是示例,本申请实施例还可以执行其它操作或者各种操作的变形。此外,各个步骤可以按照上述实施例呈现的不同的顺序来执行,并且有可能并非要执行上述实施例中的全部操作。It can be understood that some or all of the steps or operations in the foregoing embodiments are only examples, and other operations or modifications of various operations may also be performed in the embodiment of the present application. In addition, various steps may be performed in different orders presented in the above embodiments, and it may not be necessary to perform all operations in the above embodiments.
本申请实施例还提供一种电子设备,包括:一个或多个处理器;存储器;以及一个或多个计算机程序,其中所述一个或多个计算机程序被存储在所述存储器中,所述一个或多个计算机程序包括指令,当所述指令被所述设备执行时,使得所述设备执行上述实施例所示的方法。An embodiment of the present application also provides an electronic device, including: one or more processors; memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one One or more computer programs include instructions, and when the instructions are executed by the device, the device executes the methods shown in the above-mentioned embodiments.
本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,当其在计算机上运行时,使得计算机执行本申请实施例提供的方法。The embodiment of the present application also provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is run on a computer, the computer executes the method provided in the embodiment of the present application.
本申请实施例还提供一种计算机程序产品,该计算机程序产品包括计算机程序,当其在计算机上运行时,使得计算机执行本申请实施例提供的方法。The embodiment of the present application further provides a computer program product, the computer program product includes a computer program, and when running on a computer, causes the computer to execute the method provided in the embodiment of the present application.
本申请实施例中,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示单独存在A、同时存在A和B、单独存在B的情况。其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项”及其类似表达,是指的这些项中的任意组合,包括单项或复数项的任意组合。例如,a,b和c中的至少一项可以表示:a,b,c,a和b,a和c,b和c或a和b和c,其中a,b,c可以是单个,也可以是多个。In the embodiments of the present application, "multiple" means two or more. "And/or" describes the association relationship of associated objects, indicating that there may be three kinds of relationships, for example, A and/or B may indicate that A exists alone, A and B exist simultaneously, or B exists alone. Among them, A and B can be singular or plural. The character "/" generally indicates that the contextual objects are an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, and c can represent: a, b, c, a and b, a and c, b and c or a and b and c, where a, b, c can be single, or Can be multiple.
本领域普通技术人员可以意识到,本文中公开的实施例中描述的各单元及算法步骤,能够以电子硬件、计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can appreciate that each unit and algorithm steps described in the embodiments disclosed herein can be realized by a combination of electronic hardware, computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,任一功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、 移动硬盘、只读存储器(Read-Only Memory;以下简称:ROM)、随机存取存储器(Random Access Memory;以下简称:RAM)、磁碟或者光盘等各种可以存储程序代码的介质。In several embodiments provided in this application, if any function is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory; hereinafter referred to as: ROM), random access memory (Random Access Memory; hereinafter referred to as: RAM), magnetic disk or optical disc, etc. A medium on which program code can be stored.
以上所述,仅为本申请的具体实施方式,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。本申请的保护范围应以所述权利要求的保护范围为准。The foregoing is only a specific implementation of the present application. Any person skilled in the art within the technical scope disclosed in the present application can easily think of changes or substitutions, which should be covered by the protection scope of the present application. The protection scope of the present application shall be based on the protection scope of the claims.
Claims (31)
- 一种用于控制智能家居设备的方法,其特征在于,应用于移动终端,包括:A method for controlling smart home equipment, characterized in that it is applied to a mobile terminal, comprising:获取多媒体文件;Get multimedia files;通过增强现实AR图像中的虚拟家居设备确定待控制的家居设备,以及确定适用于所述多媒体文件的控制参数,其中,所述虚拟家居设备与所述待控制的家居设备对应,所述控制参数用于控制所述待控制的家居设备。Determine the household equipment to be controlled through the virtual household equipment in the augmented reality AR image, and determine the control parameters applicable to the multimedia file, wherein the virtual household equipment corresponds to the household equipment to be controlled, and the control parameters It is used to control the household device to be controlled.
- 根据权利要求1所述的方法,其特征在于,获取多媒体文件,包括:The method according to claim 1, wherein obtaining a multimedia file comprises:从本地或网络获取图片、视频或音频文件。Get pictures, video or audio files from local or network.
- 根据权利要求1或2所述的方法,其特征在于,通过AR图像中的虚拟家居设备确定待控制的家居设备,包括:The method according to claim 1 or 2, wherein determining the household equipment to be controlled through the virtual household equipment in the AR image includes:扫描所述待控制的家居设备及其所在环境,生成包含所述虚拟家居设备的所述AR图像。Scanning the home device to be controlled and its environment to generate the AR image including the virtual home device.
- 根据权利要求3所述的方法,其特征在于,生成包含所述虚拟家居设备的所述AR图像之后,还包括:The method according to claim 3, wherein after generating the AR image containing the virtual home device, further comprising:接收用户输入的剔除指令,剔除所述虚拟家居设备中所述剔除指令剔除的对象。Receiving a cull command input by the user, and cull objects in the virtual home device that are culled by the cull command.
- 根据权利要求1至4任一项所述的方法,其特征在于,所述确定适用于所述多媒体文件的控制参数,包括:The method according to any one of claims 1 to 4, wherein the determining the control parameters applicable to the multimedia file includes:根据所述多媒体文件的特征和预先设定的映射关系确定适用于所述多媒体文件的控制参数,其中,所述映射关系为所述多媒体文件的特征与所述控制参数之间的映射关系。Determine the control parameters applicable to the multimedia file according to the characteristics of the multimedia file and a preset mapping relationship, wherein the mapping relationship is a mapping relationship between the characteristics of the multimedia file and the control parameters.
- 根据权利要求5所述的方法,其特征在于,根据所述多媒体文件的特征和预先设定的映射关系确定适用于所述多媒体文件的控制参数,包括:The method according to claim 5, wherein determining the control parameters applicable to the multimedia file according to the characteristics of the multimedia file and a preset mapping relationship comprises:根据所述多媒体文件的视频帧特征和/或音频特征以及所述预先设定的映射关系,按所述多媒体文件的播放时序,确定适用于所述多媒体文件不同视频帧的控制参数集合;According to the video frame feature and/or audio feature of the multimedia file and the preset mapping relationship, according to the play sequence of the multimedia file, determine the set of control parameters applicable to different video frames of the multimedia file;或者or在所述多媒体文件的视频帧和/或音频符合预设条件时,根据所述多媒体文件的视频帧特征和/或音频特征以及所述预先设定的映射关系,确定适用于所述符合预设条件的视频帧和/或音频的控制参数。When the video frame and/or audio of the multimedia file meet the preset condition, according to the video frame feature and/or audio feature of the multimedia file and the preset mapping relationship, determine the Conditional video frame and/or audio control parameters.
- 根据权利要求6所述的方法,其特征在于,按所述多媒体文件的播放时序,确定适用于所述多媒体文件不同视频帧的控制参数集合,包括:The method according to claim 6, wherein, according to the playing sequence of the multimedia file, determining the set of control parameters applicable to different video frames of the multimedia file includes:将所述控制参数集合中的第一控制参数插入到第二控制参数的执行时刻;其中,所述第一控制参数为所述多媒体文件中第一视频帧对应的控制参数,第二控制参数为所述多媒体文件中第二视频帧对应的控制参数;所述第一视频帧对应的控制参数为滞后响应类型的家居设备的控制参数,所述第一视频帧与所述第二视频帧播放时差为所述滞后响应类型的家居设备响应控制指令的时长,所述控制指令为所述第一控制参数的执行指令。Inserting the first control parameter in the set of control parameters into the execution time of the second control parameter; wherein, the first control parameter is the control parameter corresponding to the first video frame in the multimedia file, and the second control parameter is The control parameter corresponding to the second video frame in the multimedia file; the control parameter corresponding to the first video frame is a control parameter of a lagging response type household device, and the playing time difference between the first video frame and the second video frame is the time period for the household device of the hysteresis response type to respond to the control instruction, and the control instruction is an execution instruction of the first control parameter.
- 根据权利要求1至4任一项所述的方法,其特征在于,通过AR图像中的虚拟家居设备确定待控制的家居设备,以及确定适用于所述多媒体文件的控制参数,包括:The method according to any one of claims 1 to 4, wherein determining the household equipment to be controlled through the virtual household equipment in the AR image, and determining the control parameters applicable to the multimedia file include:接收用户输入的时间节点,以及接收用户通过点击虚拟家居设备输入的第一操作指令,以及接收用户通过选择控制选项输入的第二操作指令,根据所述第一操作指令确定所述待控制的家居设备,根据所述第二操作指令确定适用于所述多媒体文件在所述时间节点的控制参数。Receive the time node input by the user, receive the first operation instruction input by the user by clicking on the virtual home device, and receive the second operation instruction input by the user by selecting a control option, and determine the home to be controlled according to the first operation instruction A device for determining a control parameter applicable to the multimedia file at the time node according to the second operation instruction.
- 根据权利要求5至7任一项所述的方法,其特征在于,根据所述多媒体文件的特征和预先设定的映射关系确定适用于所述多媒体文件的控制参数之后,还包括:The method according to any one of claims 5 to 7, wherein, after determining the control parameters applicable to the multimedia file according to the characteristics of the multimedia file and the preset mapping relationship, further comprising:接收用户输入的时间节点,以及接收用户通过点击虚拟家居设备输入的第一操作指令,以及接收用户通过选择控制选项输入的第二操作指令,根据所述第一操作指令确定所述待控制的家居设备,根据所述第二操作指令确定适用于所述多媒体文件在所述时间节点的控制参数。Receive the time node input by the user, receive the first operation instruction input by the user by clicking on the virtual home device, and receive the second operation instruction input by the user by selecting a control option, and determine the home to be controlled according to the first operation instruction A device for determining a control parameter applicable to the multimedia file at the time node according to the second operation instruction.
- 根据权利要求9所述的方法,其特征在于,根据所述第一操作指令确定所述待控制的家居设备之前,还包括:The method according to claim 9, characterized in that before determining the household device to be controlled according to the first operation instruction, further comprising:接收用户输入的第三操作指令,根据所述第三操作指令为用户选择的虚拟家居设备创建组。A third operation instruction input by the user is received, and a group is created for the virtual home device selected by the user according to the third operation instruction.
- 根据权利要求10所述的方法,其特征在于,根据所述第一操作指令确定所述待控制的家居设备,包括:The method according to claim 10, wherein determining the household device to be controlled according to the first operation instruction comprises:根据所述第一操作指令确定所述组中的部分或全部家居设备为所述待控制的家居设备。According to the first operation instruction, it is determined that part or all of the home appliances in the group are the home appliances to be controlled.
- 根据权利要求9至11任一项所述的方法,其特征在于,根据所述第二操作指令确定适用于所述多媒体文件在所述时间节点的控制参数之后,还包括:The method according to any one of claims 9 to 11, wherein after determining the control parameters applicable to the multimedia file at the time node according to the second operation instruction, further comprising:显示控制参数发生冲突以及是否选择覆盖的提示。Displays a prompt for conflicting control parameters and whether to choose to overwrite.
- 根据权利要求1至11任一项所述的方法,其特征在于,通过AR图像中的虚拟家居设备确定待控制的家居设备,以及确定适用于所述多媒体文件的控制参数之后,还包括:The method according to any one of claims 1 to 11, characterized in that, after determining the household equipment to be controlled through the virtual household equipment in the AR image, and determining the control parameters applicable to the multimedia file, further comprising:接收用户输入的预览指令,显示所述虚拟家居设备在所述控制参数的控制下的状态。receiving a preview instruction input by the user, and displaying the status of the virtual home device under the control of the control parameters.
- 根据权利要求1至12任一项所述的方法,其特征在于,通过AR图像中的虚拟家居设备确定待控制的家居设备,以及确定适用于所述多媒体文件的控制参数之后,还包括:The method according to any one of claims 1 to 12, characterized in that, after determining the household equipment to be controlled through the virtual household equipment in the AR image, and determining the control parameters applicable to the multimedia file, further comprising:接收用户输入的分享指令,根据所述分享指令生成配置文件,并显示分享选项;Receive a sharing command input by the user, generate a configuration file according to the sharing command, and display sharing options;接收用户通过选择所述分享选项输入的分享途径指令,根据所述分享途径指令中的分享途径上传所述配置文件。receiving a sharing channel instruction input by the user by selecting the sharing option, and uploading the configuration file according to the sharing channel in the sharing channel instruction.
- 一种用于控制智能家居设备的装置,其特征在于,应用于移动终端,包括:A device for controlling smart home equipment, characterized in that it is applied to a mobile terminal, including:获取模块,用于获取多媒体文件;The acquisition module is used to acquire multimedia files;确定模块,用于通过AR图像中的虚拟家居设备确定待控制的家居设备,以及确定适用于所述多媒体文件的控制参数,其中,所述虚拟家居设备与所述待控制的家居设备对应,所述控制参数用于控制所述待控制的家居设备。A determining module, configured to determine a home device to be controlled through a virtual home device in an AR image, and determine control parameters applicable to the multimedia file, wherein the virtual home device corresponds to the home device to be controlled, and The control parameters are used to control the household equipment to be controlled.
- 根据权利要求15所述的装置,其特征在于,所述获取模块用于:从本地或网络获取图片、视频或音频文件。The device according to claim 15, wherein the acquiring module is configured to: acquire pictures, video or audio files locally or from a network.
- 根据权利要求15或16所述的装置,其特征在于,所述确定模块用于:扫描所述待控制的家居设备及其所在环境,生成包含所述虚拟家居设备的所述AR图像。The device according to claim 15 or 16, wherein the determining module is configured to: scan the home appliance to be controlled and its environment, and generate the AR image including the virtual home appliance.
- 根据权利要求17所述的装置,其特征在于,还包括:The device according to claim 17, further comprising:第一接收模块,用于在所述确定模块生成包含所述虚拟家居设备的所述AR图像之后,接收用户输入的剔除指令;A first receiving module, configured to receive a culling instruction input by a user after the determining module generates the AR image containing the virtual home device;剔除模块,用于剔除所述虚拟家居设备中所述剔除指令剔除的对象。The culling module is used for culling the objects culled by the culling instruction in the virtual home device.
- 根据权利要求15至18任一项所述的装置,其特征在于,所述确定模块用于:根据所述多媒体文件的特征和预先设定的映射关系确定适用于所述多媒体文件的控制参数,其中,所述映射关系为所述多媒体文件的特征与所述控制参数之间的映射关系。The device according to any one of claims 15 to 18, wherein the determining module is configured to: determine the control parameters applicable to the multimedia file according to the characteristics of the multimedia file and a preset mapping relationship, Wherein, the mapping relationship is a mapping relationship between the feature of the multimedia file and the control parameter.
- 根据权利要求19所述的装置,其特征在于,所述确定模块用于:The device according to claim 19, wherein the determination module is used for:根据所述多媒体文件的视频帧特征和/或音频特征以及所述预先设定的映射关系,按所述多媒体文件的播放时序,确定适用于所述多媒体文件不同视频帧的控制参数集合;According to the video frame feature and/or audio feature of the multimedia file and the preset mapping relationship, according to the play sequence of the multimedia file, determine the set of control parameters applicable to different video frames of the multimedia file;或者or用于在所述多媒体文件的视频帧和/或音频符合预设条件时,根据所述多媒体文件的视频帧特征和/或音频特征以及所述预先设定的映射关系,确定适用于所述符合预设条件的视频帧和/或音频的控制参数。When the video frame and/or audio of the multimedia file meet the preset condition, according to the video frame feature and/or audio feature of the multimedia file and the preset mapping relationship, determine the Control parameters for pre-conditioned video frames and/or audio.
- 根据权利要求20所述的装置,其特征在于,所述确定模块用于:The device according to claim 20, wherein the determination module is used for:将所述控制参数集合中的第一控制参数插入到第二控制参数的执行时刻;其中,所述第一控制参数为所述多媒体文件中第一视频帧对应的控制参数,第二控制参数为所述多媒体文件中第二视频帧对应的控制参数;所述第一视频帧对应的控制参数为滞后响应类型的家居设备的控制参数,所述第一视频帧与所述第二视频帧播放时差为所述滞后响应类型的家居设备响应控制指令的时长,所述控制指令为所述第一控制参数的执行指令。Inserting the first control parameter in the set of control parameters into the execution time of the second control parameter; wherein, the first control parameter is the control parameter corresponding to the first video frame in the multimedia file, and the second control parameter is The control parameter corresponding to the second video frame in the multimedia file; the control parameter corresponding to the first video frame is a control parameter of a lagging response type household device, and the playing time difference between the first video frame and the second video frame is the time period for the household device of the hysteresis response type to respond to a control instruction, and the control instruction is an execution instruction of the first control parameter.
- 根据权利要求15至18任一项所述的装置,其特征在于,所述确定模块包括:The device according to any one of claims 15 to 18, wherein the determining module comprises:接收子模块,用于接收用户输入的时间节点,以及接收用户通过点击虚拟家居设备输入的第一操作指令,以及接收用户通过选择控制选项输入的第二操作指令;The receiving sub-module is used to receive the time node input by the user, and receive the first operation instruction input by the user by clicking on the virtual home device, and receive the second operation instruction input by the user by selecting a control option;确定子模块,用于根据所述第一操作指令确定所述待控制的家居设备,根据所述第二操作指令确定适用于所述多媒体文件在所述时间节点的控制参数。The determining submodule is configured to determine the household device to be controlled according to the first operation instruction, and determine the control parameters applicable to the multimedia file at the time node according to the second operation instruction.
- 根据权利要求19至21任一项所述的装置,其特征在于,还包括:The device according to any one of claims 19 to 21, further comprising:第二接收模块,用于在所述确定模块根据所述多媒体文件的特征和预先设定的映射关系确定适用于所述多媒体文件的控制参数之后,接收用户输入的时间节点,以及接收用户通过点击虚拟家居设备输入的第一操作指令,以及接收用户通过选择控制选项输入的第二操作指令;The second receiving module is used to receive the time node input by the user after the determining module determines the control parameters applicable to the multimedia file according to the characteristics of the multimedia file and the preset mapping relationship, and receive the user's click receiving the first operation instruction input by the virtual home device, and receiving the second operation instruction input by the user by selecting a control option;所述确定模块,用于根据所述第一操作指令确定所述待控制的家居设备,根据所述第二操作指令确定适用于所述多媒体文件在所述时间节点的控制参数。The determination module is configured to determine the household device to be controlled according to the first operation instruction, and determine the control parameters applicable to the multimedia file at the time node according to the second operation instruction.
- 根据权利要求23所述的装置,其特征在于,还包括:The device according to claim 23, further comprising:第三接收模块,用于在所述确定模块根据所述第一操作指令确定所述待控制的家居设备之前,接收用户输入的第三操作指令;A third receiving module, configured to receive a third operating instruction input by a user before the determining module determines the household device to be controlled according to the first operating instruction;组创建模块,用于根据所述第三操作指令为用户选择的虚拟家居设备创建组。A group creating module, configured to create a group for the virtual home device selected by the user according to the third operation instruction.
- 根据权利要求24所述的装置,其特征在于,所述确定模块用于:The device according to claim 24, wherein the determining module is used for:根据所述第一操作指令确定所述组中的部分或全部家居设备为所述待控制的家居设备。According to the first operation instruction, it is determined that part or all of the home appliances in the group are the home appliances to be controlled.
- 根据权利要求23至25任一项所述的装置,其特征在于,还包括:The device according to any one of claims 23 to 25, further comprising:第一显示模块,用于在所述确定模块根据所述第二操作指令确定适用于所述多媒体文件在所述时间节点的控制参数之后,显示控制参数发生冲突以及是否选择覆盖的提示。The first display module is configured to, after the determination module determines the control parameters applicable to the multimedia file at the time node according to the second operation instruction, display a prompt indicating that the control parameters conflict and whether to choose to overwrite.
- 根据权利要求15至25任一项所述的装置,其特征在于,还包括:The device according to any one of claims 15 to 25, further comprising:第四接收模块,用于在所述确定模块通过AR图像中的虚拟家居设备确定待控制的家居设备,以及确定适用于所述多媒体文件的控制参数之后,接收用户输入的预览指令;The fourth receiving module is configured to receive a preview instruction input by the user after the determination module determines the household equipment to be controlled through the virtual household equipment in the AR image and determines the control parameters applicable to the multimedia file;第二显示模块,用于显示所述虚拟家居设备在所述控制参数的控制下的状态。The second display module is used for displaying the state of the virtual household device under the control of the control parameters.
- 根据权利要求15至26任一项所述的装置,其特征在于,还包括:The device according to any one of claims 15 to 26, further comprising:第五接收模块,用于在所述确定模块通过AR图像中的虚拟家居设备确定待控制的家居设备,以及确定适用于所述多媒体文件的控制参数之后,接收用户输入的分享指令;The fifth receiving module is configured to receive a sharing instruction input by the user after the determining module determines the household equipment to be controlled through the virtual household equipment in the AR image and determines the control parameters applicable to the multimedia file;生成模块,用于根据所述分享指令生成配置文件;A generating module, configured to generate a configuration file according to the sharing instruction;第三显示模块,用于显示分享选项;a third display module, configured to display sharing options;第六接收模块,用于接收用户通过选择所述分享选项输入的分享途径指令;A sixth receiving module, configured to receive a sharing channel instruction input by the user by selecting the sharing option;上传模块,用于根据所述分享途径指令中的分享途径上传所述配置文件。An upload module, configured to upload the configuration file according to the sharing path in the sharing path instruction.
- 一种移动终端,其特征在于,包括:处理器、存储器和计算机程序,所述存储器存储所述计算机程序,所述处理器运行所述计算机程序时,所述移动终端执行上述权利要求1至14任一项所述的方法。A mobile terminal, characterized in that it includes: a processor, a memory, and a computer program, the memory stores the computer program, and when the processor runs the computer program, the mobile terminal executes claims 1 to 14 above any one of the methods described.
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机程序,当其在计算机上运行时,使得计算机执行权利要求1至14任一项所述的方法。A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, and when it is run on a computer, the computer is made to execute the method according to any one of claims 1 to 14.
- 一种芯片系统,其特征在于,执行上述权利要求1至14任一项所述的方法。A chip system, characterized in that it executes the method described in any one of claims 1 to 14 above.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111662062.5A CN116418610A (en) | 2021-12-31 | 2021-12-31 | Method and device for controlling intelligent household equipment and mobile terminal |
CN202111662062.5 | 2021-12-31 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023125393A1 true WO2023125393A1 (en) | 2023-07-06 |
Family
ID=86997918
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/141870 WO2023125393A1 (en) | 2021-12-31 | 2022-12-26 | Method and device for controlling smart home appliance, and mobile terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN116418610A (en) |
WO (1) | WO2023125393A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117055737A (en) * | 2023-10-11 | 2023-11-14 | 天津市品茗科技有限公司 | Human-computer interaction method and device based on AR device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107703872A (en) * | 2017-10-31 | 2018-02-16 | 美的智慧家居科技有限公司 | Terminal control method, device and the terminal of home appliance |
US20180089895A1 (en) * | 2016-09-28 | 2018-03-29 | Intel Corporation | Augmented reality creations with interactive behavior and modality assignments |
CN108388142A (en) * | 2018-04-10 | 2018-08-10 | 百度在线网络技术(北京)有限公司 | Methods, devices and systems for controlling home equipment |
CN110727200A (en) * | 2018-07-17 | 2020-01-24 | 珠海格力电器股份有限公司 | Control method of intelligent household equipment and terminal equipment |
-
2021
- 2021-12-31 CN CN202111662062.5A patent/CN116418610A/en active Pending
-
2022
- 2022-12-26 WO PCT/CN2022/141870 patent/WO2023125393A1/en unknown
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180089895A1 (en) * | 2016-09-28 | 2018-03-29 | Intel Corporation | Augmented reality creations with interactive behavior and modality assignments |
CN107703872A (en) * | 2017-10-31 | 2018-02-16 | 美的智慧家居科技有限公司 | Terminal control method, device and the terminal of home appliance |
CN108388142A (en) * | 2018-04-10 | 2018-08-10 | 百度在线网络技术(北京)有限公司 | Methods, devices and systems for controlling home equipment |
CN110727200A (en) * | 2018-07-17 | 2020-01-24 | 珠海格力电器股份有限公司 | Control method of intelligent household equipment and terminal equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117055737A (en) * | 2023-10-11 | 2023-11-14 | 天津市品茗科技有限公司 | Human-computer interaction method and device based on AR device |
CN117055737B (en) * | 2023-10-11 | 2024-01-26 | 天津市品茗科技有限公司 | Human-computer interaction method and device based on AR device |
Also Published As
Publication number | Publication date |
---|---|
CN116418610A (en) | 2023-07-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107703872B (en) | Terminal control method and device of household appliance and terminal | |
US8526778B2 (en) | Apparatus and method for photographing and editing moving image | |
US20160330508A1 (en) | Apparatus, systems and methods for a content commentary community | |
EP2143305B2 (en) | Method, system and user interface for automatically creating an atmosphere, particularly a lighting atmosphere, based on a keyword input | |
US11972167B2 (en) | Device, system, and method for video shooting in virtual production | |
CN106302057A (en) | Intelligent home equipment control method and device | |
WO2018050021A1 (en) | Virtual reality scene adjustment method and apparatus, and storage medium | |
TWI522823B (en) | Techniques for intelligent media show across multiple devices | |
CN112866796A (en) | Video generation method and device, electronic equipment and storage medium | |
WO2023125393A1 (en) | Method and device for controlling smart home appliance, and mobile terminal | |
WO2020135499A1 (en) | Image quality adjustment method, television set, and readable storage medium | |
KR101618586B1 (en) | System and method for automatically selecting electronic images depending on an input | |
CN111096078B (en) | Method and system for creating light script of video | |
KR20170090856A (en) | Method for generating open scenario | |
KR20060131772A (en) | Assets and effects | |
CN114302221A (en) | Virtual reality equipment and screen-casting media asset playing method | |
CN113038014A (en) | Video processing method of application program and electronic equipment | |
EP3721682B1 (en) | A lighting control system for controlling a plurality of light sources based on a source image and a method thereof | |
WO2013187796A1 (en) | Method for automatically editing digital video files | |
EP3079372A1 (en) | Tv control by natural language input | |
US20150199835A1 (en) | Tools for creating digital art | |
KR101721231B1 (en) | 4D media manufacture methods of MPEG-V standard base that use media platform | |
WO2020144196A1 (en) | Determining a light effect based on a light effect parameter specified by a user for other content taking place at a similar location | |
CN115129280A (en) | Virtual reality equipment and screen-casting media asset playing method | |
US12094494B2 (en) | System and method for generating and editing a video |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22914647 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |