Intelligent Device Control Method, Device, Electronic Device and Storage Medium

By obtaining corpus and identifying identity, matching device control data is obtained, the control process of smart devices is simplified, the cumbersome control problems in the existing technology are solved, and the user experience is improved.

CN114822530BActive Publication Date: 2025-07-11SHENZHEN LUMIUNITED TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210269986.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-18
Publication Date
2025-07-11
Estimated Expiration
2042-03-18

AI Technical Summary

Technical Problem

In the prior art, the control process of smart devices is complicated, and users need to pre-install the client and configure voice commands, especially the user experience of unfamiliar devices is poor.

Method used

By obtaining the corpus of the target object, identifying the object type, obtaining device control data matching the type, controlling the target device to perform setting operations, simplifying the user's control process.

Benefits of technology

Users do not need to pre-install the client or configure voice commands, and can control smart devices by expressing their needs through corpus, improving the user experience, especially for users who are not familiar with the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114822530B_ABST
    Figure CN114822530B_ABST
Patent Text Reader

Abstract

An embodiment of the present application provides a method, device, electronic device, and storage medium for controlling an intelligent device, which relates to the field of computer technology. Among them, the method includes: obtaining the corpus of the target object, where the corpus is used to represent the service requested by the target object; performing identity recognition on the target object according to the corpus to determine the object type of the target object; based on the corpus, obtaining device control data that matches the object type, where the device control data is used to instruct a target device to perform a set operation; and controlling the target device to perform the set operation according to the device control data to complete the service requested by the target object. The embodiment of the present application solves the problem that the control of intelligent devices in related technologies is relatively cumbersome.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of Internet of Things technology. Specifically, this application relates to a method, device, electronic device, and storage medium for controlling intelligent devices. Background Art

[0002] With the rapid development of Internet of Things technology, voice control of intelligent devices has been applied more and more widely. For example, when a user issues a voice command "turn on the light" in the living room, the light in the living room will turn on.

[0003] During the above process of voice controlling an intelligent device, the user not only needs to pre-install the client associated with the intelligent device, but also needs to pre-configure voice commands in the running client. Only in this way can the intelligent device respond to the user's voice commands and perform related operations.

[0004] As can be seen from the above, in the related art, the control of intelligent devices still has the defect of being relatively cumbersome. Summary of the Invention

[0005] Each embodiment of this application provides a method, device, electronic device, and storage medium for controlling intelligent devices, which can solve the problem that the control of intelligent devices in the related art is relatively cumbersome. The technical solutions are as follows:

[0006] According to one aspect of the embodiments of this application, a method for controlling an intelligent device, the method includes: obtaining the corpus of a target object, where the corpus is used to represent the service requested by the target object; performing identity recognition on the target object according to the corpus to determine the object type of the target object; based on the corpus, obtaining device control data that matches the object type, where the device control data is used to instruct a target device to perform a set operation; and controlling the target device to perform the set operation according to the device control data to complete the service requested by the target object.

[0007] According to one aspect of the embodiments of this application, a device for controlling an intelligent device, the device includes: a corpus acquisition module, configured to obtain the corpus of a target object, where the corpus is used to represent the service requested by the target object; an identity recognition module, configured to perform identity recognition on the target object according to the corpus to determine the object type of the target object; a data acquisition module, configured to obtain device control data that matches the object type based on the corpus, where the device control data is used to instruct a target device to perform a set operation; and a device control module, configured to control the target device to perform the set operation according to the device control data to complete the service requested by the target object.

[0008] According to one aspect of the embodiments of the present application, an electronic device includes: at least one processor, at least one memory, and at least one communication bus. Among them, a computer program is stored on the memory, and the processor reads the computer program in the memory through the communication bus; when the computer program is executed by the processor, the intelligent device control method described above is implemented.

[0009] According to one aspect of the embodiments of the present application, a storage medium stores a computer program thereon. When the computer program is executed by a processor, the intelligent device control method described above is implemented.

[0010] According to one aspect of the embodiments of the present application, a computer program product includes a computer program. The computer program is stored in a storage medium, and a processor of a computer device reads the computer program from the storage medium. The processor executes the computer program so that when the computer device executes, the intelligent device control method described above is implemented.

[0011] The beneficial effects brought by the technical solution provided by the present application are:

[0012] In the above technical solution, based on the obtained corpus of the target object, the object type of the target object is determined to obtain device control data matching the object type, and then the target device is controlled to perform a set operation according to the device control data. Among them, the corpus is different from a voice command and is used to represent the service requested by the target object. Simply put, it is a sentence that the user says about the environment where he is. For example, if the user feels that the living room is a bit cold, the voice command is "raise the temperature of the living room air conditioner by 3 degrees", and the corpus can be "the living room is a bit cold". Based on this, the user only needs to express his actual needs through the corpus. The actual needs can be to improve the user's feeling of the environment where he is, or the user expects to query information related to the environment where he is. The background can automatically obtain relevant device control data according to the corpus, and then control the intelligent device based on the device control data, so that the user does not need to worry about how to control the intelligent device at all. That is to say, the user neither needs to pre-install the client associated with the intelligent device nor pre-configure the corresponding voice command in the running client, thus effectively solving the problem that the control of intelligent devices in the related art is relatively cumbersome. Description of the Drawings

[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments of the present application.

[0014] Figure 1 It is a schematic diagram of the implementation environment related to the present application;

[0015] Figure 2It is a flowchart of a method for controlling an intelligent device shown according to an exemplary embodiment;

[0016] Figure 3 It is a flowchart of a voiceprint recognition method shown according to an exemplary embodiment;

[0017] Figure 4 is Figure 2 A flowchart of step 350 in the corresponding embodiment in one embodiment;

[0018] Figure 5 is Figure 4 A flowchart of step 353 in the corresponding embodiment in one embodiment;

[0019] Figure 6 is Figure 4 A flowchart of step 353 in the corresponding embodiment in another embodiment;

[0020] Figure 7 It is a flowchart of another method for controlling an intelligent device shown according to an exemplary embodiment;

[0021] Figure 8 It is a structural block diagram of a device for controlling an intelligent device shown according to an exemplary embodiment;

[0022] Figure 9 It is a hardware structure diagram of an electronic device shown according to an exemplary embodiment;

[0023] Figure 10 It is a hardware structure diagram of another electronic device shown according to an exemplary embodiment;

[0024] Figure 11 It is a structural block diagram of an electronic device shown according to an exemplary embodiment. Detailed implementation manners

[0025] The embodiments of the present application will be described in detail below. The examples of the embodiments are shown in the accompanying drawings, where the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below by referring to the accompanying drawings are exemplary and are only used to explain the present application and should not be construed as a limitation to the present application.

[0026] Those skilled in the art can understand that, unless specifically stated, the singular forms "a", "an", "the" and "said" used herein may also include the plural forms. It should be further understood that the term "comprising" used in the description of this application means the presence of the stated features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or their groups. It should be understood that when we say that an element is "connected" or "coupled" to another element, it can be directly connected or coupled to other elements, or there may also be intermediate elements. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The phrase "and / or" used herein includes all or any unit and all combinations of one or more associated listed items.

[0027] The following is an introduction and explanation of several terms involved in this application:

[0028] NLP, the full English name is Natural Language Processing, and the Chinese meaning is natural language processing. The purpose is to enable machines to understand unstructured data types, such as text.

[0029] TTS, the full English name is Text To Speech, and the Chinese meaning is from text to speech. As part of human-computer dialogue, the purpose is to intelligently convert text into a voice stream so that the machine can speak.

[0030] Voiceprint recognition, the English translation is Voiceprint Recognition, is a technology that automatically identifies the speaker's identity by extracting the voice characteristics of the speaker, that is, the voiceprint. That is to say, the voiceprint is a non-contact biometric feature. Like human biometric features such as face features, iris, fingerprint, finger vein, palm print, etc., it has identity uniqueness, that is, the identity of the speaker can be uniquely determined by saying a sentence.

[0031] As mentioned above, during the process of voice controlling intelligent devices, the user not only needs to pre-install the client associated with the intelligent device, but also needs to pre-configure voice commands in the running client.

[0032] For example, as the client associated with the intelligent device runs, assume that the user pre-configures a voice command "Increase the temperature of the living room air conditioner by 3 degrees" in the running client and stores the voice command in the command library. Then, when the user feels that the living room is a bit cold, the user can issue the voice command "Increase the temperature of the living room air conditioner by 3 degrees". At this time, after the background determines that the voice command is stored in the command library, it can further determine the target device as the living room air conditioner and the set operation as increasing the temperature by 3 degrees according to the voice command, so as to control the living room air conditioner to increase the temperature by 3 degrees.

[0033] In the above process, on the one hand, as the number of smart devices increases, the voice commands that need to be pre-configured will also increase, making the user operation increasingly cumbersome.

[0034] On the other hand, for users who are not familiar with smart devices or the associated clients, such as guests visiting the host's home, they may have no idea how to configure voice commands at all, and thus cannot fully enjoy the convenience brought by smart home, which affects the user experience.

[0035] As can be seen from the above, how to simplify the control of smart devices remains to be solved.

[0036] Therefore, the smart device control method provided by this application can effectively simplify the control of smart devices. Correspondingly, this smart device control method is applicable to a smart device control device, and this smart device control device can be deployed on an electronic device. For example, this electronic device can be a user terminal, a smart device configured with a voice collection module, a gateway, a server, and so on.

[0037] To make the purpose, technical solution, and advantages of this application clearer, the following will further describe the embodiments of this application in detail with reference to the accompanying drawings.

[0038] Figure 1 It is a schematic diagram of the implementation environment involved in a smart device control method. This implementation environment includes a user terminal 110, a smart device 130, a gateway 150, a server end 170, and a router 190.

[0039] Specifically, the user terminal 110, which can also be regarded as the user side or the terminal, can deploy the client associated with the smart device 130. This user terminal 110 can be an electronic device such as a smart phone, a tablet computer, a notebook computer, or a desktop computer, and is not limited here.

[0040] Among them, the client is associated with the smart device 130 so that when the client runs in the user terminal 110, it can provide the user with functions related to smart device control and so on. This client can be in the form of an application program or a web page. Correspondingly, the user interface displayed by the client can be in the form of a program window or a web page, and this is not limited here either.

[0041] The intelligent device 130 is deployed in the gateway 150 and communicates with the gateway 150 through its configured communication module, and thus is controlled by the gateway 150. In an application scenario, the intelligent device 130 accesses the gateway 150 through a local area network and is thus deployed in the gateway 150. The process by which the intelligent device 130 accesses the gateway 150 through a local area network includes: the gateway 150 first establishes a local area network, and the intelligent device 130 joins the local area network established by the gateway 150 by connecting to the gateway 150. This local area network includes, but is not limited to: ZIGBEE or Bluetooth. Among them, the intelligent device 130 can be an intelligent printer, intelligent fax machine, intelligent camera, intelligent air conditioner, intelligent door lock, intelligent light, or a human body sensor, door and window sensor, temperature and humidity sensor, water immersion sensor, natural gas alarm, smoke alarm, wall switch, wall socket, wireless switch, wireless wall sticker switch, magic cube controller, curtain motor, intelligent speaker and other electronic devices configured with a communication module.

[0042] The interaction between the user terminal 110 and the intelligent device 130 can be realized through a local area network or a wide area network. In an application scenario, the user terminal 110 establishes a wired or wireless communication connection with the gateway 150 through the router 190. For example, the wired or wireless method includes, but is not limited to, WIFI, etc., so that the user terminal 110 and the gateway 150 are deployed in the same local area network, and thus the user terminal 110 can realize the interaction with the intelligent device 130 through the local area network path. In another application scenario, the user terminal 110 establishes a wired or wireless communication connection with the gateway 150 through the server side 170. For example, the wired or wireless method includes, but is not limited to, 2G, 3G, 4G, 5G, WIFI, etc., so that the user terminal 110 and the gateway 150 are deployed in the same wide area network, and thus the user terminal 110 can realize the interaction with the intelligent device 130 through the wide area network path.

[0043] Among them, the server side 170 can also be considered as the cloud, cloud platform, platform side, service side, etc. This server side 170 can be a single server, or a server cluster composed of multiple servers, or a cloud computing center composed of multiple servers, in order to better provide background services to a large number of user terminals 110. For example, the background services include intelligent device control services.

[0044] In an application scenario, the intelligent device 130 is configured with a voice acquisition module to collect the words spoken by the target object to form a corpus, and perform identity recognition on the target object according to the corpus, so as to determine the object type of the target object, and then notify the gateway 150 in which the intelligent device 130 is deployed.

[0045] For the gateway 150, after receiving the corpus, it can obtain device control data that matches the object type based on the corpus, and control the target device to perform the set operation according to the device control data.

[0046] Furthermore, the intelligent device 130 is also configured with a voice output module. Then, after the target device performs the set operation, as Figure 7 shown, the gateway 150 can also execute steps 410 to 430. Specifically, it receives the execution result returned by the target device when performing the set operation, generates response data corresponding to the corpus based on the execution result, and sends it to the intelligent device 130, so as to convert the response data corresponding to the corpus into voice through the TTS technology provided by the voice output module configured in the intelligent device 130 and feedback it to the target object.

[0047] Thus, a voice interaction mode of "corpus - response data" in the smart home scenario is formed, which can simply and efficiently implement the control of intelligent devices and is beneficial to improving the user experience.

[0048] Please refer to Figure 2 , the embodiment of the present application provides a method for controlling an intelligent device. This method is applicable to electronic devices. For example, the electronic device can be Figure 1 the user terminal 110, the intelligent device 130 configured with a voice collection module, the gateway 150, the server, etc. in the shown implementation environment.

[0049] In the following method embodiments, for the sake of description, it is described by taking the execution subject of each step of the method as an electronic device as an example, but this is not a specific limitation.

[0050] As Figure 2 shown, the method may include the following steps:

[0051] Step 310, obtain the corpus of the target object.

[0052] Among them, the corpus is used to represent the service requested by the target object.

[0053] First of all, the target object refers to the object that forms the corpus, specifically, it can be the object that requests the service through the corpus. For example, the object can specifically be at least one of the people (such as the owner, guest) or robots that may appear in the smart home scenario. In one embodiment, the service includes an information query service and an environment control service. The information query service refers to a request to query information related to the environment where the target object is located, and the environment control service refers to a request to control an intelligent device to perform a set operation to improve the target object's feeling of the environment where it is located. Of course, it can also be considered that the service types of the service include an information query service and an environment control service.

[0054] Secondly, the corpus is different from voice commands. It can be considered as a sentence spoken by the target object regarding the environment where they are located. For example, the corpus is a sentence that the target object expects to improve their perception of the environment where they are located, or the corpus is a sentence that the target object utters for the purpose of querying information related to the environment where they are located, rather than a sentence that instructs which intelligent device to perform what operation.

[0055] That is to say, the corpus reflects the actual needs of the target object. It can also be understood that the corpus is an accurate description of the service requested by the target object. For example, if the target object expects to query the electricity consumption this month, the corpus of the target object can be "What is the electricity consumption this month", which indicates that the target object requests an information query service; if the target object feels that the light in the living room is not enough, the corpus of the target object can be "Can the living room be made brighter", which indicates that the target object requests an environmental control service.

[0056] The acquisition of the corpus is obtained by using the voice collection module configured in the electronic device to collect the words spoken by the target object. For example, the electronic device can be Figure 1 the user terminal 110 in the shown implementation environment. The microphone configured in the user terminal 110 can be regarded as the voice collection module.

[0057] Step 330: Identify the identity of the target object based on the corpus and determine the object type of the target object.

[0058] Among them, the object type is used to identify the identity of objects of the same category. In one embodiment, classified according to the degree of intimacy, the object types include the master type and the guest type. For example, the target object of the master type can be a family member (which can also be considered the master), and the target object of the guest type can be a non-family member (which can also be considered a guest); or, the target object of the master type can refer to the holder of the user terminal, that is, the user himself, while the target object of the guest type refers to other objects outside the user; or, the target object of the master type is the object granted device control authority, and the target object of the guest type refers to the object that has not been granted device control authority. Thus, compared with the target object of the guest type, for the target object of the master type with a higher degree of intimacy, on the one hand, their daily habits are better understood, which is conducive to enhancing the comfort of the master in the environmental control service; on the other hand, privacy protection will be more strict, which is conducive to protecting the privacy of the master in the information query service.

[0059] Of course, in other embodiments, the object types of different objects can also be divided according to the actual needs of the application scenario. For example, classified by age, the object types include the elderly type, the adolescent type, and the middle-aged type, or classified by gender, the object types include the female type and the male type. This is not a specific limitation here.

[0060] In this embodiment, identity recognition, which can also be regarded as the recognition of the object type, is achieved through voiceprint recognition.

[0061] A voiceprint refers to the voice characteristics used to indicate the identity of the speaker, and can also be regarded as being used to uniquely identify the identity of the speaker. It can be understood that different speakers have different voice characteristics, and their voiceprints will also be different. Therefore, the identity of the speaker can be uniquely determined through the voiceprint. Based on this, the voiceprint of the target object uniquely identifies the identity of the target object, that is, it uniquely identifies the object type of the target object.

[0062] Figure 3 The flowchart of voiceprint recognition is shown as Figure 3 As shown, in one embodiment, voiceprint recognition includes feature extraction 301 and pattern matching 302. In another embodiment, before feature extraction 301, voiceprint recognition further includes preprocessing 303. Among them, preprocessing includes endpoint detection and noise cancellation. Specifically, endpoint detection includes voice activity detection VAD (Voice Activity Detection), and noise cancellation includes voice quality detection and effective audio extraction.

[0063] It should be noted here that voiceprint recognition of the corpus of the target object can determine the object type of the target object. First, the target object needs to perform voiceprint registration, as Figure 3 shown. Here, voiceprint registration means that the target object uses the voice acquisition module to collect the corresponding corpus and record the voiceprint to form the voiceprint of the target object, so as to establish the association relationship between the object type and the voiceprint of the target object in the voiceprint library, thereby providing a basis for pattern matching in voiceprint recognition. For example, in the voiceprint library, the association relationship between the object type of the master type and the voiceprints of several masters is established. Then, if the voiceprint of the target object does not match any of the voiceprints in the voiceprint library, the object type of the target object can be identified as the guest type, that is, the target object is a guest.

[0064] Step 350, based on the corpus, obtain device control data that matches the object type.

[0065] Among them, the device control data is used to instruct the target device to perform a set operation. Specifically, the device control data is related to the service requested by the target object. If the service requested by the target object is an environmental control service, the device control data is used to instruct the target device to perform a set operation that can improve the target object's feeling of its surrounding environment; if the service requested by the target object is an information query service, the device control data is used to instruct the target device to perform a device status query operation / prohibited query operation according to the information that the target object expects to query.

[0066] Please refer to Figure 4, in an exemplary embodiment, step 350 may include the following steps:

[0067] Step 351, extract keywords from the corpus to obtain the keywords in the corpus.

[0068] In one embodiment, the algorithms for keyword extraction at least include: supervised, semi-supervised, and unsupervised keyword extraction. Among them, unsupervised keyword extraction further includes: keyword extraction based on statistical features, keyword extraction based on word graph models, keyword extraction based on topic models, etc.

[0069] Taking unsupervised keyword extraction as an example, in natural language processing, keyword extraction includes text preprocessing, text representation, and text analysis. Among them, text preprocessing is used to decompose the corpus into words / characters, text representation is used to convert the words / characters in the corpus into feature vectors, and text analysis is to use a machine learning model to predict the recognition result from the feature vectors, that is, the keywords in the corpus.

[0070] Step 353, obtain the target device and set operations related to the keywords according to the service type and / or object type of the service.

[0071] As mentioned above, the service types of the service include environmental control services and information query services. Based on the object types in the privacy protection level, there are at least the master type and the guest type. Correspondingly, according to the service type and / or object type of the service, determine the set service execution mode, and enter the set service execution mode to obtain the target device and set operations related to the keywords. In one embodiment, the service execution mode includes a query mode and a control mode. In one embodiment, the service execution mode includes a master query mode, a guest query mode, a master control mode, and a guest control mode.

[0072] In one embodiment, the service execution mode refers to determining the target device and set operations related to the keywords based on the historical behaviors that occur in the smart home scenario. In one embodiment, the service execution mode refers to determining the target device and set operations related to the keywords based on the priority of the smart device. In one embodiment, the service execution mode refers to determining the target device and set operations related to the keywords based on the information to be queried.

[0073] For example, if the corpus of the target object is "Is it possible to make the living room warmer?", then the keywords in this corpus at least include "living room, warm". After entering the set service execution mode, it is possible to determine that the target device is the living room air conditioner, and the set operation is to increase the temperature.

[0074] If the corpus of the target object is "Did you go home last night?", then the keywords in this corpus at least include "last night, go home". After entering the set business execution mode, it is possible to determine that the target device is a switch connected to a lamp, and the set operation is an operation to query the time of going home last night.

[0075] Step 355, obtain device control data according to the target device and the set operation.

[0076] Still taking the previous example for illustration, if the target device is the living room air conditioner and the set operation is to increase the temperature, then the device control data is used to instruct the living room air conditioner to increase the temperature, that is, the target object expects the air conditioner to increase the temperature; if the target device is a switch connected to a lamp and the set operation is an operation to query the time of going home last night, then the device control data is used to instruct the switch connected to the lamp to query the click status, that is, the target object expects the switch connected to the lamp to query the time of the last click status last night.

[0077] Thus, for different target objects, the set operations performed by the intelligent device are also different, so as to better meet the services requested by different target objects. For example, assume that the service requested by the target object is an information query service. If the object type of the target object is the host type, the intelligent device performs an operation to query the information to be queried; if the object type of the target object is the guest type, the intelligent device performs an operation to prohibit the query of the information to be queried, so as to protect the privacy of the host.

[0078] Step 370, control the target device to perform the set operation according to the device control data.

[0079] After obtaining the device control data, it is possible to control the target device based on the device control data, so as to meet the service requested by the target object.

[0080] For example, if the target object feels that the living room is cold and the obtained device control data is used to instruct the living room air conditioner to increase the temperature by 3 degrees, then, according to the instruction of the device control data, the living room air conditioner will perform the set operation of increasing the temperature by 3 degrees, so as to ensure that the target object feels that the living room becomes warmer; if the target object expects to query the time of going home last night and the obtained device control data is used to instruct the intelligent door lock to perform an operation to query the time of going home last night, then, according to the instruction of the device control data, the intelligent door lock will perform an operation to query the time of the last time it was in the open state last night, so that the target object can know the time of going home last night.

[0081] Through the above process, the target object only needs to express the actual needs through the corpus, without the need to pre-install the client associated with the intelligent device, nor to pre-configure the corresponding voice commands in the running client, thus effectively solving the problem of cumbersome control of intelligent devices in the related art and being beneficial to improving the user experience.

[0082] Now in combination with Figure 5 and Figure 6 , the following detailed description is given to different set business execution modes under various business types / object types:

[0083] For example, Figure 5 as shown, in an exemplary embodiment, if the business type is an environmental control business, step 353 may include the following steps:

[0084] Step 410, perform device attribute mapping on the keywords to obtain the target device attributes associated with the keywords.

[0085] Among them, the device attribute is used to indicate the attributes of the object monitored by the intelligent device, and specifically may be the attributes of the environment monitored by the intelligent device. For example, the device attribute may be temperature, brightness, humidity, volume, etc.

[0086] In this embodiment, the device attribute mapping is achieved through the association relationship between the keywords and the device attributes.

[0087] In the foregoing example, if the corpus of the target object is "Is it possible to make the living room warmer?", then the keywords in this corpus at least include "living room, warm".

[0088] Assume that the device attributes include temperature, brightness, volume, etc. The keywords associated with temperature include: weather, air, room, here, cold, warm; the keywords associated with brightness include: room, this, here, bright, dark; the keywords associated with volume include: room, here, this, noisy.

[0089] Then, through the device attribute mapping, it is possible to determine, based on the keyword "warm" in the corpus "Is it possible to make the living room warmer?", that the device attribute associated with this keyword is temperature, and use this as the target device attribute.

[0090] Step 430, find the target device with a device attribute that matches the target device attribute, and obtain the set operation corresponding to the target device.

[0091] Specifically, according to the different object types, the determination process of the target device and the set operation may include the following steps:

[0092] If the object type is the owner type, then execute steps 431 to 433.

[0093] Step 431, obtain historical behavior data.

[0094] Among them, the historical behavior data is used to instruct the candidate object to control the first candidate device to perform the first operation.

[0095] First, the object type of the candidate object is the same as that of the target object. It can be understood that in the smart home scenario, the people who appear can be the owners or guests, and there may be more than one owner. For example, the owners can be father, mother, grandfather, grandmother, etc. At this time, the object types of father, mother, grandfather, and grandmother are all of the owner type. Based on this, if the target object is the father, the candidate objects can be father, mother, grandfather, grandmother, that is, the objects with the same object type as the target object. Of course, in other application scenarios, the owner can also refer to a specific person, such as the holder of the user terminal, which is not a limitation here.

[0096] Second, the device attributes of the first candidate device match the target device attributes. Taking the device attribute of brightness as an example, the smart devices with this device attribute can be smart lights, switches, curtain motors, etc.; taking the device attribute of volume as an example, the smart devices with this device attribute can be smart speakers, smart TVs, etc.

[0097] As can be seen from the above, the objects with the same object type as the target object can all be candidate objects, and the smart devices with device attributes matching the target device attributes can all be the first candidate devices, thus greatly enriching the historical behavior data, which is beneficial to mastering the historical behaviors of the target objects of different object types, so as to better control the smart devices according to the daily habits of the target objects of different object types.

[0098] Step 432, according to the historical behavior data, select the first candidate device that meets the first set condition as the target device.

[0099] In a possible implementation, the first set condition refers to the first candidate device that is controlled to perform the first operation the most times. In a possible implementation, the first set condition refers to the first candidate device that is controlled to perform the first operation more than the set threshold. In a possible implementation, the first set condition refers to the first candidate device that is controlled to perform the first operation the most times within the set time. In a possible implementation, the first set condition refers to the first candidate device that is controlled to perform the first operation more than the set threshold within the set time. Among them, the set threshold and the set time can both be flexibly set according to the actual needs of the application scenario, which is not limited here.

[0100] Step 433, use the first operation performed by the target device as the set operation.

[0101] For example, assume that for the corpus "The living room is a bit cold" of the target object, historical behavior data a, b, and c are obtained. Among them, historical behavior data a is used to indicate that the target object controls the living room air conditioner to raise the temperature by 3 degrees, historical behavior data b is used to indicate that the target object controls the living room air conditioner to raise the temperature by 3 degrees, and historical behavior data c is used to indicate that the target object controls the living room electric heater to adjust from gear 1 to gear 2.

[0102] Based on this, according to the indications of the above historical behavior data, it can be determined that the number of times the living room air conditioner is controlled to raise the temperature by 3 degrees is more than the number of times the living room electric heater is adjusted from gear 1 to gear 2, so the target device can be determined as the living room air conditioner, and the setting operation is to raise the temperature by 3 degrees.

[0103] Of course, in other embodiments, if historical behavior data also exists for the target object of the guest type, steps 431 to 433 can still be executed to obtain device control data, which is not specifically limited here.

[0104] However, in some embodiments, it is very likely that there is no historical behavior data for the target object of the guest type. Then, if the object type is the guest type, steps 434 to 436 are executed.

[0105] Step 434, select at least one second candidate device having a device attribute that matches the target device attribute.

[0106] Step 435, select a second candidate device that meets the second set condition from the at least one second candidate device as the target device.

[0107] In a possible implementation manner, the second set condition refers to the second candidate device with the highest priority. In a possible implementation manner, the second set condition refers to the second candidate device whose priority exceeds the set priority. Among them, the set priority can be flexibly set according to the actual needs of the application scenario, which is not limited here.

[0108] Step 436, perform operation mapping on the target device to obtain a second operation associated with the target device as the setting operation.

[0109] In this embodiment, the selection of the target device and the mapping of the setting operation are achieved by establishing an association relationship between the intelligent device (including device attributes, priorities, etc.) and the second operation. Among them, the association relationship can be stored in the form of a queue, an array, a database table, etc., which is not limited here.

[0110] Taking the intelligent device with the device attribute of temperature as an example, the association relationship established through the database table is illustrated as shown in Table 1 below:

[0111] Table 1 Association Relationship between Smart Devices and Second Operations

[0112]

[0113] Based on Table 1 above, if the corpus of the target object is "It's a bit cold in the living room", based on the keyword "cold" in the corpus, the target device attribute can be determined as temperature, and further according to Table 1, the second candidate devices are determined to include the living room air conditioner companion, the living room air conditioner, and the living room electric heater. Then, based on the priorities of each second candidate device, the second candidate device with the highest priority (1) is determined as the target device, that is, the living room air conditioner, and the second operation associated with the target device is determined as the setting operation, that is, increasing the temperature by 3 degrees.

[0114] As Figure 6 shown, in an exemplary embodiment, if the service type is an information query service, step 353 may include the following steps:

[0115] Step 510, locate the information to be queried in the information set according to the keyword to obtain the information to be queried.

[0116] Among them, information query location means finding the information to be queried according to the keyword in the information set. In a possible implementation manner, multiple pieces of information to be queried are stored in the information set, and the association relationship between each piece of information to be queried and the keyword is stored. Among them, the information set can be represented in the form of a queue, an array, a database table, etc., which is not limited here.

[0117] Step 530, determine the smart device associated with the information to be queried as the target device.

[0118] In this embodiment, the determination of the target device is achieved by establishing an association relationship between the smart device and the information to be queried. Among them, the association relationship can be stored in the form of a queue, an array, a database table, etc., which is not limited here.

[0119] Taking the smart device with the device attribute of temperature as an example of the association relationship established through a database table, as shown in Table 2 below:

[0120] Table 2 Association Relationship between Information to be Queried, Keywords, and Smart Devices

[0121]

[0122]

[0123] Based on Table 2 above, if the corpus of the target object is "Did you go home last night", based on the keywords "last night, whether, go home" in the corpus, it is possible to determine that the information to be queried is the time of going home, and determine that the intelligent device associated with the information to be queried is the target device, that is, the intelligent door lock, so as to subsequently notify the intelligent door lock to perform the operation of querying the time of the last door opening state last night / prohibit the operation of querying the time of the last door opening state last night.

[0124] Step 550, determine whether the object type is the guest type.

[0125] The inventor realizes that in order to protect the privacy of the host, for target objects of different object types, not all information to be queried is allowed to be queried. For example, information to be queried involving the host's privacy is not allowed to be queried by target objects of the guest type. Therefore, before determining the target device and the set operation related to the keywords, it is necessary to first determine whether the object type of the target object is the guest type, and then determine whether the information to be queried is allowed to be queried.

[0126] Specifically, if the object type of the target object is the host type, then execute Step 570; conversely, if the object type of the target object is the guest type, then execute Step 560.

[0127] Step 560, determine whether the information to be queried can be queried.

[0128] Specifically, if the information to be queried belongs to the type that can be queried, then execute Step 570; conversely, if the information to be queried belongs to the type that cannot be queried, then execute Step 590.

[0129] It is worth mentioning that the execution order of Steps 530 to 560 is not limited to this embodiment. In other embodiments, Step 550 can also be executed first, and then Step 530. This is not a specific limitation here.

[0130] Step 570, take the operation of querying the information to be queried as the set operation.

[0131] Among them, the operation of querying the information to be queried is used to instruct the target device to query the device status related to the information to be queried.

[0132] It should be noted that for the gateway, after the target device reports the device status related to the information to be queried (including but not limited to the status change time, power consumption, online status, offline status, etc.), it can not only determine the reply data of the information to be queried based on the received device status itself, but also perform statistical processing based on the received device status. For example, the statistical processing includes summation operation, averaging, taking the maximum / minimum value, etc., to determine the reply data of the information to be queried, which is not limited here, so as to greatly enrich the information query service and better meet the actual needs of users for information query.

[0133] Step 590, take the operation of prohibiting the query of the information to be queried as the set operation.

[0134] That is to say, if the information that the target object expects to query (the information to be queried) is not queryable, for example, the information to be queried is the number of family members, the living habits of family members (such as the average time to go home), then the information to be queried is regarded as the privacy of the host, and the target object of the guest type is prohibited from querying, so as to fully ensure the security of the host's privacy.

[0135] Through the cooperation of the above embodiments, for different corpora of different target objects, the object types will be different, and the service types will also be different. In this way, the way to obtain device control data under different service execution modes is realized. It is not only applicable to the target objects of the host type (such as the host), that is, following the historical behavior of the host to control smart devices, making the improvement of the environment carried out according to the daily habits of the host, fully ensuring the comfort of the host, but also applicable to the target objects of the guest type (such as guests). Even if the guests are not familiar with the smart devices in the smart home scenario and do not need any cumbersome operations, they can fully enjoy the convenience brought by the smart home, which is conducive to improving the user experience.

[0136] Please refer to Figure 7 , a possible implementation manner is provided in the embodiment of the present application. After step 390, the method may further include the following steps:

[0137] Step 610, receive the execution result returned by the target device for executing the set operation.

[0138] Step 630, generate the reply data corresponding to the corpus according to the execution result.

[0139] For example, if the corpus of the target object is "It's a bit cold in the living room", then after the air conditioner in the living room raises the temperature by 3 degrees, the gateway can generate the reply data "Done" corresponding to this corpus and notify the smart speaker to broadcast this reply data "Done".

[0140] Alternatively, the corpus of the target object is "What time did you get home last night", that is, the information to be queried is determined to be the time of getting home last night. Then, after the smart lock queries and reports the time when it was last in the open state last night, the gateway can generate the reply data for the information to be queried based on this time, that is, the reply data corresponding to this corpus "Got home at 9 o'clock last night", and notify the smart device to broadcast this reply data "Got home at 9 o'clock last night".

[0141] Thus, a voice interaction mode "corpus - reply data" in the smart home scenario is formed, and users can simply and efficiently control smart devices, that is, as long as they say a word in the current environment, they don't have to care about which smart device to control and which operation to perform, which is conducive to improving the user experience.

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

[0143] Please refer to Figure 8 , a smart device control apparatus 900 is provided in an embodiment of the present application, including but not limited to: a corpus acquisition module 910, an identity recognition module 930, a data acquisition module 950, and a device control module 970.

[0144] Among them, the corpus acquisition module 910 is used to acquire the corpus of the target object, and the corpus is used to represent the service requested by the target object.

[0145] The identity recognition module 930 is used to perform identity recognition on the target object according to the corpus and determine the object type of the target object.

[0146] The data acquisition module 950 is used to acquire device control data matching the object type based on the corpus, and the device control data is used to instruct the target device to perform a set operation.

[0147] The device control module 970 is used to control the target device to perform a set operation according to the device control data to complete the service requested by the target object.

[0148] It should be noted that when the smart device control apparatus provided in the above embodiment performs smart device control, only the above division of each functional module is used for illustration. In actual application, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the smart device control apparatus will be divided into different functional modules to complete all or part of the functions described above.

[0149] In addition, the embodiments of the intelligent device control apparatus and the intelligent device control method provided in the above embodiments belong to the same concept. The specific manners in which each module performs operations have been described in detail in the method embodiments and will not be elaborated herein.

[0150] Figure 9 The structural schematic diagram of an electronic device shown according to an exemplary embodiment. This electronic device is applicable to Figure 1 the gateway 150, the server, etc. in the shown implementation environment.

[0151] It should be noted that this electronic device is only an example adapted to the present application and cannot be considered as providing any limitation to the scope of use of the present application. This electronic device cannot be interpreted as requiring dependence on or necessarily having Figure 9 one or more components in the shown exemplary electronic device 2000.

[0152] The hardware structure of the electronic device 2000 may vary greatly due to different configurations or performances. For example, Figure 9 as shown, the electronic device 2000 includes: a power supply 210, an interface 230, at least one memory 250, and at least one central processing unit (CPU) 270.

[0153] Specifically, the power supply 210 is used to provide operating voltages for the various hardware devices on the electronic device 2000.

[0154] The interface 230 includes at least one wired or wireless network interface for interacting with external devices. For example, for Figure 1 the interaction between the user terminal 110 and the gateway 150 in the shown implementation environment.

[0155] Of course, in other examples adapted to the present application, the interface 230 may further include at least one serial-parallel conversion interface 233, at least one input / output interface 235, and at least one USB interface 237, etc., as Figure 9 shown, and specific limitations are not imposed herein.

[0156] The memory 250, as a carrier for resource storage, may be a read-only memory, a random access memory, a magnetic disk, or an optical disc, etc. The resources stored thereon include an operating system 251, application programs 253, and data 255, etc., and the storage method may be temporary storage or permanent storage.

[0157] Among them, the operating system 251 is used to manage and control each hardware device and application program 253 on the electronic device 2000, so as to realize the operation and processing of the massive data 255 in the memory 250 by the central processing unit 270. It can be Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSD TM, etc.

[0158] The application program 253 is a computer program that completes at least one specific task based on the operating system 251. It can include at least one module ( Figure 9 (not shown), and each module can separately contain a computer program for the electronic device 2000. For example, the intelligent device control device can be regarded as an application program 253 deployed on the electronic device 2000.

[0159] The data 255 can be photos, pictures, etc. stored in the disk, or can also be corpus, historical behavior data, various rules, etc., and is stored in the memory 250.

[0160] The central processing unit 270 can include one or more processors, and is set to communicate with the memory 250 through at least one communication bus, so as to read the computer program stored in the memory 250, and then realize the operation and processing of the massive data 255 in the memory 250. For example, the intelligent device control method is completed in the form of reading a series of computer programs stored in the memory 250 by the central processing unit 270.

[0161] In addition, the present application can also be implemented by hardware circuits or a combination of hardware circuits and software. Therefore, the implementation of the present application is not limited to any specific hardware circuit, software, and the combination of both.

[0162] Please refer to Figure 10 , Figure 10 which is a schematic structural diagram of another electronic device shown according to an exemplary embodiment. This electronic device is applicable to Figure 1 the user terminal 110, etc. in the implementation environment shown.

[0163] It should be noted that this electronic device is only an example adapted to the present application, and cannot be considered as providing any limitation to the scope of use of the present application. This electronic device cannot be interpreted as requiring dependence on or necessarily having Figure 10 one or more components in the exemplary electronic device 1100 shown.

[0164] As Figure 10 shown, the electronic device 1100 includes a memory 101, a storage controller 103, one or more ( Figure 10Only one (processor 105, peripheral interface 107, radio frequency module 109, positioning module 111, camera module 113, audio module 115, touch screen 117, and button module 119 are shown). These components communicate with each other via one or more communication buses / signal lines 121.

[0165] Among them, the memory 101 can be used to store computer programs and modules, such as the computer programs and modules corresponding to the intelligent device control method and device in the exemplary embodiments of the present application. The processor 105 executes various functions and data processing by running the computer programs stored in the memory 101, that is, completes the intelligent device control method.

[0166] As a carrier for resource storage, the memory 101 can be a random access memory, such as a high-speed random access memory, a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other solid-state memories. The storage method can be temporary storage or permanent storage.

[0167] The peripheral interface 107 can include at least one wired or wireless network interface, at least one serial / parallel conversion interface, at least one input / output interface, and at least one USB interface, etc., for coupling various external input / output devices to the memory 101 and the processor 105 to achieve communication with various external input / output devices.

[0168] The radio frequency module 109 is used to transmit and receive electromagnetic waves, realize the mutual conversion between electromagnetic waves and electrical signals, and thus communicate with other devices through a communication network. The communication network includes a cellular phone network, a wireless local area network, or a metropolitan area network. The above communication networks can use various communication standards, protocols, and technologies.

[0169] The positioning module 111 is used to obtain the current geographical location where the electronic device 1100 is located. Examples of the positioning module 111 include but are not limited to the Global Positioning System (GPS), positioning technologies based on wireless local area networks or mobile communication networks.

[0170] The camera module 113 belongs to the camera and is used to take pictures or videos. The taken pictures or videos can be stored in the memory 101 and can also be sent to the host computer through the radio frequency module 109.

[0171] The audio module 115 provides an audio interface for the user. It can include one or more microphone interfaces, one or more speaker interfaces, and one or more headphone interfaces. Audio data interaction is carried out with other devices through the audio interface. The audio data can be stored in the memory 101 and can also be sent through the radio frequency module 109.

[0172] The touch screen 117 provides an input / output interface between the electronic device 1100 and the user. Specifically, the user can perform input operations through the touch screen 117, such as gesture operations like clicking, touching, swiping, etc., so that the electronic device 1100 responds to the input operation. The electronic device 1100 then displays and outputs the output content formed by any one form or combination of text, pictures, or videos to the user through the touch screen 117.

[0173] The button module 119 includes at least one button, which is used to provide an interface for the user to input to the electronic device 1100. The user can press different buttons to make the electronic device 1100 execute different functions. For example, the sound adjustment button allows the user to adjust the sound volume played by the electronic device 1100.

[0174] It can be understood that Figure 10 The structure shown is only schematic. The electronic device 1100 may also include more or fewer components than those Figure 10 shown, or have components different from those Figure 10 shown. Figure 10 Each component shown can be implemented by hardware, software, or a combination thereof.

[0175] Please refer to Figure 11 , in the embodiments of the present application, an electronic device 4000 is provided. The electronic device 4000 may include: a user terminal, an intelligent device configured with a voice collection module, a gateway, a server, etc.

[0176] In Figure 11 , the electronic device 4000 includes at least one processor 4001, at least one communication bus 4002, and at least one memory 4003.

[0177] Among them, the processor 4001 and the memory 4003 are connected, such as through the communication bus 4002. Optionally, the electronic device 4000 may further include a transceiver 4004. The transceiver 4004 can be used for data interaction between the electronic device and other electronic devices, such as data sending and / or data receiving, etc. It should be noted that in practical applications, the transceiver 4004 is not limited to one, and the structure of the electronic device 4000 does not constitute a limitation to the embodiments of the present application.

[0178] The processor 4001 can be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logic blocks, modules, and circuits described in connection with the disclosure of this application. The processor 4001 can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0179] The communication bus 4002 can include a path for transmitting information between the above components. The communication bus 4002 can be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The communication bus 4002 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 11 only a thick line is used to represent it in the figure, but it does not mean that there is only one bus or one type of bus.

[0180] The memory 4003 can be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or it can also be an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory), or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic storage media, or other magnetic storage devices, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

[0181] A computer program is stored on the memory 4003, and the processor 4001 reads the computer program stored in the memory 4003 through the communication bus 4002.

[0182] When the computer program is executed by the processor 4001, it implements the intelligent device control method in each of the above embodiments.

[0183] In addition, an embodiment of the present application provides a storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the intelligent device control method in each of the above embodiments.

[0184] An embodiment of the present application provides a computer program product, which includes a computer program stored in a storage medium. The processor of the computer device reads the computer program from the storage medium, and the processor executes the computer program, so that the computer device executes the intelligent device control method in each of the above embodiments.

[0185] Compared with the related art, the user only needs to express their actual needs through the corpus, without the need to pre-install the client associated with the intelligent device, nor to pre-configure the corresponding voice commands in the running client. It can effectively solve the problem that the control of intelligent devices in the related art is relatively cumbersome, and is not only applicable to the target object of the master type, but also especially applicable to the target object of the guest type, thus effectively improving the user experience.

[0186] It should be understood that although the steps in the flowchart of the accompanying drawings are shown in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps has no strict order limit, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.

[0187] The above is only a partial implementation manner of the present application. It should be noted that for those of ordinary skill in the art, without departing from the principle of the present application, several improvements and refinements can be made, and these improvements and refinements should also be regarded as the protection scope of the present application.

Claims

1. A method for controlling an intelligent device, characterized in that, The method includes: Obtaining the corpus of the target object, where the corpus is used to represent the service requested by the target object; Performing identity recognition on the target object according to the corpus to determine the object type of the target object; Determining a set service execution mode according to the service type of the service and the object type of the target object, so as to obtain a corresponding target device and set operations according to the service execution mode; the service execution modes include a master control mode, a master query mode, a guest control mode, and a guest query mode; the target device and the set operations corresponding to the master control mode are related to the historical behaviors that occur in the smart home scenario; the target device and the set operations corresponding to the guest control mode are related to the priority of the smart devices; the target device and the set operations corresponding to the master query mode are related to the information to be queried; the target device and the set operations corresponding to the guest query mode are related to whether the information to be queried can be queried; Obtaining device control data according to the target device and the set operations, where the device control data is used to instruct the target device to perform the set operations; Controlling the target device to perform the set operations according to the device control data to complete the service requested by the target object.

2. The method according to claim 1, characterized in that, The determining a set service execution mode according to the service type of the service and the object type of the target object, so as to obtain a corresponding target device and set operations according to the service execution mode includes: Extracting keywords from the corpus to obtain the keywords in the corpus; Obtaining the target device and the set operations related to the keywords according to the service type of the service and the object type.

3. The method according to claim 2, wherein The service type includes an environmental control service; The obtaining the target device and the set operations related to the keywords according to the service type of the service and the object type includes: Performing device attribute mapping on the keywords to obtain target device attributes associated with the keywords; Searching for the target device with device attributes matching the target device attributes and obtaining the set operations corresponding to the target device.

4. The method according to claim 3, wherein The searching for the target device with device attributes matching the target device attributes and obtaining the set operations corresponding to the target device includes: Obtaining historical behavior data, where the historical behavior data is used to instruct a candidate object to control a first candidate device to perform a first operation, the object type of the candidate object is the same as the object type of the target object, and the device attributes of the first candidate device match the target device attributes; Selecting the first candidate device that meets the first set condition according to the historical behavior data as the target device; Taking the first operation performed by the target device as the set operation.

5. The method according to claim 3, wherein The searching for the target device with device attributes matching the target device attributes and obtaining the set operations corresponding to the target device includes: Selecting at least one second candidate device with device attributes matching the target device attributes; Select the second candidate device that meets the second set condition from at least one of the second candidate devices as the target device; Perform operation mapping on the target device to obtain a second operation associated with the target device as the set operation.

6. The method according to claim 2, wherein The service type includes an information query service; The obtaining of the target device and the set operation related to the keyword according to the service type of the service and the object type includes: Locate the information to be queried in the information set according to the keyword to obtain the information to be queried; Determine the intelligent device associated with the information to be queried as the target device; Take the operation of querying the information to be queried as the set operation.

7. The method according to claim 6, characterized in that, After locating the information to be queried in the information set according to the keyword to obtain the information to be queried, the obtaining of the target device and the set operation related to the keyword according to the service type of the service and the object type further includes: If the object type is the guest type, determine whether the information to be queried can be queried; If the information to be queried belongs to the information that cannot be queried, take the operation of prohibiting the query of the information to be queried as the set operation.

8. The method according to any one of claims 1 to 7, characterized in that The method further includes: Receive the execution result returned by the target device when executing the set operation; Generate response data corresponding to the corpus according to the execution result.

9. An intelligent device control device, characterized in that, The device includes: A corpus acquisition module for acquiring a corpus of a target object, where the corpus is used to represent the service requested by the target object; An identity recognition module for performing identity recognition on the target object according to the corpus to determine the object type of the target object; A data acquisition module for determining a set service execution mode according to the service type of the service and the object type of the target object, so as to obtain a corresponding target device and set operation according to the service execution mode; the service execution modes include a host control mode, a host query mode, a guest control mode, and a guest query mode; the target device and the set operation corresponding to the host control mode are related to the historical behaviors that occur in the smart home scenario; the target device and the set operation corresponding to the guest control mode are related to the priority of the smart device; the target device and the set operation corresponding to the host query mode are related to the information to be queried; the target device and the set operation corresponding to the guest query mode are related to whether the information to be queried can be queried; obtain device control data according to the target device and the set operation, where the device control data is used to instruct the target device to execute the set operation; A device control module for controlling the target device to execute the set operation according to the device control data to complete the service requested by the target object.

10. An electronic device, characterized in that, Includes: At least one processor, at least one memory, and at least one communication bus, where A computer program is stored on the memory, and the processor reads the computer program in the memory through the communication bus; When the computer program is executed by the processor, it implements the intelligent device control method described in any one of claims 1 to 8.

11. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the intelligent device control method described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Smart home control method and device, computer equipment, and storage medium

    CN111258224A

  • Equipment control method and device

    CN111508483A

  • Intelligent equipment control method and system and voice server

    CN112581959A