CN114301725B - Device control method, device, electronic device and storage medium - Google Patents

Device control method, device, electronic device and storage medium Download PDF

Info

Publication number
CN114301725B
CN114301725B CN202111601198.5A CN202111601198A CN114301725B CN 114301725 B CN114301725 B CN 114301725B CN 202111601198 A CN202111601198 A CN 202111601198A CN 114301725 B CN114301725 B CN 114301725B
Authority
CN
China
Prior art keywords
binary data
control instruction
target
target binary
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111601198.5A
Other languages
Chinese (zh)
Other versions
CN114301725A (en
Inventor
赵文静
宋德超
贾巨涛
詹培旋
王彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202111601198.5A priority Critical patent/CN114301725B/en
Publication of CN114301725A publication Critical patent/CN114301725A/en
Application granted granted Critical
Publication of CN114301725B publication Critical patent/CN114301725B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The application relates to a device control method, a device, an electronic device and a storage medium, wherein the device control method comprises the following steps: acquiring target binary data corresponding to the voice information; inquiring in a knowledge graph according to the target binary data to obtain an inquiry result, and determining a control instruction corresponding to the target binary data according to the inquiry result; the knowledge map is used for storing binary data, control instructions and corresponding relations between the binary data and the control instructions; and controlling the target equipment according to the control instruction. According to the method and the device, after the target binary data corresponding to the voice information are obtained, the target equipment is directly controlled according to the control instruction corresponding to the target binary data determined through the knowledge graph under the condition that semantic analysis is not needed on the voice information, time delay of controlling the target equipment through the voice information is reduced, and user experience is improved.

Description

Device control method, device, electronic device and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a device control method and apparatus, an electronic device, and a storage medium.
Background
With the rapid development of smart homes, more and more home devices can be controlled through voice or a preset strategy. When the user speaks some corresponding dialects or makes corresponding actions, the home equipment can respond to the dialects or the actions, execute corresponding operations or make corresponding responses, and therefore the life of the user is greatly facilitated.
In the prior art, when processing a speech uttered by a user, that is, processing a speech message input by the user, the speech message is usually converted into a text message, then the obtained text message is subjected to semantic analysis, a field corresponding to the speech message input by the user is determined, and finally, a device is controlled to perform a corresponding operation or give a corresponding (speech or text) reply.
However, when the same voice information is input by the user, it is still necessary to perform semantic analysis on the voice information, determine a region corresponding to the voice information input by the user, and further control the device. In this process, the time required for voice parsing is long, which may cause the response time of the device to be long, and reduce the user experience.
Disclosure of Invention
The application provides a device control method, a device, an electronic device and a storage medium, which are used for solving the problems that the time required by voice analysis is long, the response time of the device is possibly long, and the user experience is reduced.
In a first aspect, the present application provides an apparatus control method, including:
acquiring target binary data corresponding to the voice information;
inquiring in a knowledge graph according to the target binary data to obtain an inquiry result, and determining a control instruction corresponding to the target binary data according to the inquiry result; the knowledge map is used for storing binary data, control instructions and corresponding relations between the binary data and the control instructions;
and controlling the target equipment according to the control instruction.
Optionally, the querying in the knowledge graph according to the target binary data to obtain a query result includes:
matching the target binary data with the binary data stored in the knowledge graph, and determining the matching degree of the target binary data and the binary data stored in the knowledge graph;
and determining the query result according to the matching degree of the target binary data and the binary data stored in the knowledge graph.
Optionally, the determining the query result according to the matching degree of the target binary data and the binary data stored in the knowledge graph includes:
if at least one matching degree in the matching degrees is higher than a preset matching degree, determining that the target binary data is stored in the knowledge graph as the query result;
and if all the matching degrees are not higher than the preset matching degree, determining that the query result is that the target binary data is not stored in the knowledge graph.
Optionally, the determining, according to the query result, the control instruction corresponding to the target binary data includes:
if the query result is that the target binary data is stored in the knowledge graph, determining a control instruction corresponding to the binary data with the matching degree higher than a preset matching degree as the first control instruction directly according to the knowledge graph, and determining the first control instruction as the control instruction corresponding to the target binary data;
and if the query result is that the target binary data is not stored in the knowledge graph, analyzing the voice information, determining a control instruction corresponding to the voice information determined according to the analysis result as a second control instruction, and determining the second control instruction as the control instruction corresponding to the target binary data.
Optionally, after the determining that the second control instruction is the control instruction corresponding to the target binary data, the method further includes:
and updating the knowledge-graph.
Optionally, the updating the knowledge-graph includes:
and storing the second control instruction, the target binary data and the corresponding relation between the second control instruction and the target binary data in the knowledge graph.
Optionally, the obtaining target binary data corresponding to the voice information includes:
performing text conversion on the acquired voice information to obtain a target text;
and determining binary data corresponding to the target text as target binary data.
In a second aspect, the present application provides an appliance control apparatus comprising:
the acquisition module is used for acquiring target binary data corresponding to the voice information;
the query module is used for querying in a knowledge graph according to the target binary data to obtain a query result, and determining a control instruction corresponding to the target binary data according to the query result; the knowledge map is used for storing binary data, control instructions and corresponding relations between the binary data and the control instructions;
and the control module is used for controlling the target equipment according to the control instruction.
In a third aspect, the present application provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete mutual communication through the communication bus;
a memory for storing a computer program;
a processor, configured to implement the steps of the device control method according to any one of the embodiments of the first aspect when executing the program stored in the memory.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the device control method according to any one of the embodiments of the first aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
according to the device control method provided by the embodiment of the application, after the target binary data corresponding to the voice information is obtained, the target device is directly controlled according to the control instruction corresponding to the target binary data determined through the knowledge graph under the condition that semantic analysis is not needed on the voice information, so that the time delay of controlling the target device through the voice information is reduced, and the user experience is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive labor.
Fig. 1 is a schematic flowchart of an apparatus control method according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a process of controlling a device according to an embodiment of the present application;
fig. 3 is a schematic diagram of an apparatus control device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making creative efforts shall fall within the protection scope of the present application.
In order to solve the problem that the time required for voice parsing is long, and the response time of a device may be long, which may reduce user experience, an embodiment of the present application provides a device control method, which is applied to a processor, where the processor may be located in any device, and for example, the device may be a home device such as an air conditioner, or may be another device capable of communicating with the home device such as a server. As shown in fig. 1, the device control method includes steps 101 to 103:
step 101: and acquiring target binary data corresponding to the voice information.
Wherein, the voice information can be a voice instruction input by a user.
In a possible implementation manner, after receiving the voice information, the device may directly convert the voice information into binary data, where the binary data is target binary data corresponding to the voice information.
Specifically, the device may store the received voice information as binary data through its installed audio module.
Step 102: and inquiring in the knowledge graph according to the target binary data to obtain an inquiry result, and determining a control instruction corresponding to the target binary data according to the inquiry result.
The knowledge graph is used for storing binary data, control instructions and corresponding relations between the binary data and the control instructions. It should be noted that the control instruction includes information such as an identifier of the target device, an operation that the target device needs to perform, and the like.
Optionally, matching the target binary data with the binary data stored in the knowledge graph, and determining the matching degree of the target binary data and the binary data stored in the knowledge graph. And then, determining a query result according to the matching degree of the target binary data and the binary data stored in the knowledge graph.
Illustratively, the knowledge-graph stores 3 pieces of binary data, which are data 1 to data 3, respectively. The matching degree of the data 1 and the target binary data is 100%, the matching degree of the data 2 and the target binary data is 90%, and the matching degree of the data 3 and the target binary data is 80%. And then, inquiring a matching result according to the matching degree of the binary data stored in the knowledge graph and the target binary data.
In a possible implementation manner, if at least one matching degree exists in the matching degrees of all binary data stored in the knowledge graph and the target binary data and is higher than a preset matching degree, the query result is determined to be that the target binary data is stored in the knowledge graph. And if all the matching degrees are not higher than the preset matching degree, namely the matching degrees of all the binary data stored in the knowledge graph and the target binary data are not higher than the preset matching degree, determining that the query result is that the target binary data are not stored in the knowledge graph.
Illustratively, in the last example, if the preset matching degree is 95%, it is determined that the query result is that target binary data is stored in the knowledge graph.
In one possible implementation manner, after the query result is determined, the control instruction corresponding to the target binary data is determined according to the query result. In the process, if the query result is that target binary data are stored in the knowledge graph, determining a control instruction corresponding to the binary data with the matching degree higher than the preset matching degree as a first control instruction directly according to the knowledge graph, and determining the first control instruction as a control instruction corresponding to the target binary data. And if the query result is that the target binary data is not stored in the knowledge graph, analyzing the voice information, determining a control instruction corresponding to the voice information determined according to the analysis result as a second control instruction, and determining the second control instruction as a control instruction corresponding to the target binary data.
Specifically, at least one binary data with the matching degree with the target binary data higher than the preset matching degree exists in the knowledge graph.
If the number of binary data with the matching degree higher than the preset matching degree in the knowledge graph is 1, directly determining the control instruction corresponding to the binary data with the matching degree higher than the preset matching degree as the first control instruction, and determining the first control instruction as the control instruction corresponding to the target binary data.
And if the number of binary data with the matching degree higher than the preset matching degree in the knowledge graph is more than 1, determining the control instruction corresponding to the binary data with the highest matching degree with the target binary data as the first control instruction, and determining the first control instruction as the control instruction corresponding to the target binary data.
Illustratively, the knowledge graph stores 3 pieces of binary data, namely data 1-data 2. Wherein, the matching degree of the data 1-data 3 and the target binary data is 98%, 90% and 85% respectively. And if the preset matching degree is 89%, the matching degrees of the data 1-data 2 and the target binary data are all higher than the preset matching degree.
At this time, if there are a plurality of binary data having the highest matching degree with the target binary data, a control command corresponding to any one of the plurality of binary data may be selected as the first control command, and the first control command is determined as the control command corresponding to the target binary data.
In a possible implementation manner, if the query result is that the target binary data is not stored in the knowledge graph, the voice information is analyzed, the control instruction corresponding to the voice information is determined according to the analysis result, and the control instruction corresponding to the voice information is determined as the second control instruction. Subsequently, the second control instruction is determined to be the control instruction corresponding to the target binary data.
In one possible implementation, the knowledge map is updated after the second control instruction is determined to be the control instruction corresponding to the target binary data.
Specifically, the knowledge graph is updated, that is, the second control command, the target binary data and the corresponding relationship between the second control command and the target binary data are stored in the knowledge graph.
For example, if the speech information 1 input by the user a cannot be matched with corresponding binary data in the knowledge graph, the speech information a input by the user a is converted into a text and subjected to semantic analysis, and then the target device is controlled according to a control instruction determined by an analysis result, that is, the second control instruction, so that the target device performs a corresponding operation, for example, a speech reply is given. And finally, storing the voice information 1 input by the user A, binary data corresponding to the voice information 1, control instructions and other information into a knowledge graph. At this time, if the B user inputs the voice message 1, the binary data in the knowledge map is directly matched according to the binary data corresponding to the voice message 1, so as to determine the control instruction corresponding to the matched binary data as the first control instruction, that is, the control instruction having the corresponding relationship with the binary data corresponding to the voice message 1. And finally, controlling the corresponding target equipment to execute corresponding operation according to the first control instruction, for example, giving a corresponding reply. The corresponding reply may be a voice reply, a text reply, or the like.
It should be noted that the matching degree between the target binary data and the binary data stored in the knowledge graph may be determined according to the similarity between the target binary data and the binary data stored in the knowledge graph, and the higher the similarity is, the higher the matching degree is.
In addition, when the device is awoken by mistake or some voice information cannot be identified, that is, the control instruction corresponding to the voice information cannot be determined through semantic analysis, the corresponding control instruction can be determined by directly matching the voice information, the binary data corresponding to the voice information, the corresponding control instruction and the like through the last example, so that the time for a user to control the target device through the control device is reduced, and the control efficiency of the device is improved.
Step 103: and controlling the target equipment according to the control instruction.
Alternatively, the control-target apparatus executes the operation indicated by the control instruction.
The operation indicated by the control instruction may be an action performed by the target device, for example, the target device gives a voice reply, and the like.
Illustratively, as shown in fig. 2, target binary data corresponding to the voice information is acquired, and then, a control command corresponding to the target binary data is determined according to whether the target binary data is stored in the knowledge map. And if the target binary data are stored in the knowledge map, directly determining a control instruction corresponding to the target binary data according to the knowledge map, and controlling the target equipment according to the control instruction. And if the target binary data is not stored in the knowledge graph, identifying the acquired voice information, and storing the target binary data of the voice information into the knowledge graph. And then, analyzing the recognized content, judging the field, determining a control instruction corresponding to the voice information, and controlling the target equipment according to the control instruction. And finally, storing the control command and the corresponding relation between the control command and the binary data of the voice information into a knowledge graph.
In the prior art, generally, text recognition is performed on the voice input by the user to convert the voice input by the user into text. Then, through semantic parsing, determining the domain to which the text belongs, such as switching music, querying news, controlling other household appliances, and the like. Finally, controlling the related field according to the semantic parsing result, namely the field to which the text belongs, if the text cannot be parsed, namely the field to which the text belongs cannot be obtained, returning to a preset dialog in the chatting field, for example, controlling a device receiving the voice input by the user to return 'do not know what you are saying', and the like. However, through the above process, when the target binary data corresponding to the voice information is acquired and the binary data similar to or identical to the target binary data is stored in the knowledge graph, operations such as semantic analysis and the like on the voice information are not required, the target device can be directly controlled according to the control instruction corresponding to the target binary data determined through the knowledge graph, the time delay of controlling the target device through the voice information is reduced, and the user experience is improved.
In a possible implementation, before performing the above embodiment, a knowledge-graph is established, and reference is made to the above regarding the knowledge-graph. The knowledge graph includes each sentence of the user equipment, and the corresponding reply (i.e., the control command) of each sentence is stored in the knowledge graph. Subsequently, when the received binary data corresponding to the voice information is similar to any binary data in the knowledge graph (namely, the matching degree is high), the binary data in the knowledge graph is directly determined to be the binary data corresponding to the voice information, and the voice information is not analyzed, so that the target device is controlled according to the control instruction corresponding to the binary data, the target device can execute the operation corresponding to the voice information as soon as possible or give a reply corresponding to the voice information, and the response time of the target device is shortened.
In a possible implementation manner, in the process of acquiring the target binary data corresponding to the voice information, text conversion is performed on the acquired voice information to obtain a target text, and then the binary data corresponding to the target text is determined to be the target binary data.
The target text comprises information such as target equipment identification and target equipment control parameters. For example, the target device identifier may be information such as a name or a control parameter of the target device.
At this time, the knowledge graph also stores text information corresponding to the binary data, and the text information may include the identifier and/or control parameters of the device.
Specifically, matching a target text corresponding to the voice information with the text information stored in the knowledge graph, determining the matching degree of the target text and the text information stored in the knowledge graph, and matching the matching degree. And then, according to the matching degree, determining binary data corresponding to the text information of which the matching degree of the target text exceeds a preset first matching degree threshold value as target binary data. The preset first matching degree threshold may be predetermined or determined according to an actual working condition.
The matching degree between the target text and the text information stored in the knowledge graph can be determined according to the similarity between the target text and the text information stored in the knowledge graph. The higher the similarity between the target text and the text information stored in the knowledge graph is, the higher the matching degree between the target text and the text information stored in the knowledge graph is. Illustratively, the matching degree of the target text and the text information stored in the knowledge graph is the similarity of the target text and the text information stored in the knowledge graph.
Illustratively, the number of text messages with the matching degree with the target text exceeding a preset first matching degree threshold is at least one, and binary data corresponding to any one text message in the at least one text message is determined as target binary data.
In another possible implementation, textual information corresponding to the binary data is also present in the knowledge-graph. And if the query result is determined that the target binary data is not stored in the knowledge graph, identifying the received voice information, converting the voice information into a text, namely the target text, and if the target text is matched with the text information stored in the knowledge graph, determining a corresponding control instruction according to the matching degree of the target text and the text information stored in the knowledge graph.
Specifically, the control instruction corresponding to the text information in the knowledge graph, of which the matching degree with the target text exceeds a preset second matching degree threshold value, is determined as the control instruction corresponding to the target binary data. And if the number of the text messages of which the matching degree with the target text in the knowledge graph exceeds a preset second matching degree threshold value is one, directly determining that the control instruction corresponding to the text message is the control instruction corresponding to the target binary data. If the number of the text information of which the matching degree with the target text exceeds a preset second matching degree threshold value in the knowledge graph is multiple, determining that any one of the control instructions corresponding to the multiple text information is the control instruction corresponding to the target binary data, or determining that the control instruction corresponding to the text information with the highest matching degree with the target text in the control instructions corresponding to the multiple text information is the control instruction corresponding to the target binary data.
The preset second matching degree threshold may be predetermined or determined according to an actual working condition. The preset first matching degree threshold and the preset second matching degree threshold may be the same or different.
As shown in fig. 3, an apparatus for controlling a device according to an embodiment of the present application includes an obtaining module 301, an inquiring module 302, and a controlling module 303.
The obtaining module 301 is configured to obtain target binary data corresponding to the voice information.
The query module 302 is configured to query the knowledge graph according to the target binary data to obtain a query result, and determine a control instruction corresponding to the target binary data according to the query result; the knowledge map is used for storing binary data, control instructions and corresponding relations between the binary data and the control instructions.
And the control module 303 is configured to control the target device according to the control instruction.
As shown in fig. 4, an electronic device according to an embodiment of the present application includes a processor 401, a communication interface 402, a memory 403, and a communication bus 404, where the processor 401, the communication interface 402, and the memory 403 complete communication with each other through the communication bus 404.
A memory 403 for storing a computer program.
In an embodiment of the present application, when the processor 401 is configured to execute the program stored in the memory 403, the method for controlling the device according to any one of the foregoing method embodiments includes: acquiring target binary data corresponding to the voice information; inquiring in a knowledge graph according to the target binary data to obtain an inquiry result, and determining a control instruction corresponding to the target binary data according to the inquiry result; the knowledge map is used for storing binary data, control instructions and corresponding relations between the binary data and the control instructions; and controlling the target equipment according to the control instruction.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the device control method provided in any one of the foregoing method embodiments, including: acquiring target binary data corresponding to the voice information; inquiring in a knowledge graph according to the target binary data to obtain an inquiry result, and determining a control instruction corresponding to the target binary data according to the inquiry result; the knowledge map is used for storing binary data, control instructions and corresponding relations between the binary data and the control instructions; and controlling the target equipment according to the control instruction.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (9)

1. An apparatus control method, characterized in that the method comprises:
acquiring target binary data corresponding to the voice information;
inquiring in a knowledge graph according to the target binary data to obtain an inquiry result, and determining a control instruction corresponding to the target binary data according to the inquiry result; the knowledge map is used for storing binary data, control instructions and corresponding relations between the binary data and the control instructions;
controlling the target equipment according to the control instruction;
the determining, according to the query result, the control instruction corresponding to the target binary data includes:
if the query result is that the target binary data are stored in the knowledge graph, determining a control instruction corresponding to the binary data with the matching degree higher than a preset matching degree as a first control instruction directly according to the knowledge graph, and determining the first control instruction as the control instruction corresponding to the target binary data;
and if the query result is that the target binary data is not stored in the knowledge graph, analyzing the voice information, determining a control instruction corresponding to the voice information determined according to the analysis result as a second control instruction, and determining the second control instruction as the control instruction corresponding to the target binary data.
2. The device control method according to claim 1, wherein the querying in the knowledge graph according to the target binary data to obtain a query result comprises:
matching the target binary data with the binary data stored in the knowledge graph, and determining the matching degree of the target binary data and the binary data stored in the knowledge graph;
and determining the query result according to the matching degree of the target binary data and the binary data stored in the knowledge graph.
3. The apparatus control method according to claim 2, wherein determining the query result according to the matching degree of the target binary data and the binary data stored in the knowledge-graph comprises:
if at least one matching degree exists in the matching degrees and is higher than a preset matching degree, determining that the query result is that the target binary data is stored in the knowledge graph;
and if all the matching degrees are not higher than the preset matching degree, determining that the query result is that the target binary data is not stored in the knowledge graph.
4. The device control method according to claim 1, wherein after the determination that the second control instruction is the control instruction corresponding to the target binary data, the method further comprises:
and updating the knowledge graph.
5. The plant control method of claim 4, wherein said updating said knowledge-graph comprises:
and storing the second control instruction, the target binary data and the corresponding relation between the second control instruction and the target binary data in the knowledge graph.
6. The device control method according to any one of claims 1 to 5, wherein the obtaining target binary data corresponding to the voice information includes:
performing text conversion on the acquired voice information to obtain a target text;
and determining binary data corresponding to the target text as target binary data.
7. An appliance control apparatus, characterized in that the appliance control apparatus comprises:
the acquisition module is used for acquiring target binary data corresponding to the voice information;
the query module is used for querying in the knowledge graph according to the target binary data to obtain a query result, and determining a control instruction corresponding to the target binary data according to the query result; the knowledge map is used for storing binary data, control instructions and corresponding relations between the binary data and the control instructions;
the control module is used for controlling the target equipment according to the control instruction;
the determining the control instruction corresponding to the target binary data according to the query result includes:
if the query result is that the target binary data are stored in the knowledge graph, determining a control instruction corresponding to the binary data with the matching degree higher than a preset matching degree as a first control instruction directly according to the knowledge graph, and determining the first control instruction as the control instruction corresponding to the target binary data;
and if the query result is that the target binary data is not stored in the knowledge graph, analyzing the voice information, determining a control instruction corresponding to the voice information determined according to the analysis result as a second control instruction, and determining the second control instruction as the control instruction corresponding to the target binary data.
8. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the steps of the apparatus control method according to any one of claims 1 to 6 when executing the program stored in the memory.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the device control method according to any one of claims 1 to 6.
CN202111601198.5A 2021-12-24 2021-12-24 Device control method, device, electronic device and storage medium Active CN114301725B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111601198.5A CN114301725B (en) 2021-12-24 2021-12-24 Device control method, device, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111601198.5A CN114301725B (en) 2021-12-24 2021-12-24 Device control method, device, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN114301725A CN114301725A (en) 2022-04-08
CN114301725B true CN114301725B (en) 2022-11-11

Family

ID=80970059

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111601198.5A Active CN114301725B (en) 2021-12-24 2021-12-24 Device control method, device, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN114301725B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113761219A (en) * 2021-05-06 2021-12-07 腾讯科技(深圳)有限公司 Knowledge graph-based retrieval method and device, electronic equipment and storage medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100058474A1 (en) * 2008-08-29 2010-03-04 Avg Technologies Cz, S.R.O. System and method for the detection of malware
US10963800B2 (en) * 2017-07-25 2021-03-30 General Electric Company Service layer augmentation of response to semantically-informed query of arbitrary external data sources
CN110251751A (en) * 2019-07-04 2019-09-20 小白熊(上海)母婴用品有限公司 A kind of electric breast pump of intelligent voice control
CN110928984A (en) * 2019-09-30 2020-03-27 珠海格力电器股份有限公司 Knowledge graph construction method and device, terminal and storage medium
CN111212327A (en) * 2020-01-08 2020-05-29 腾讯科技(深圳)有限公司 Control method and device of playing equipment and storage medium
CN111708892B (en) * 2020-04-24 2021-08-03 陆洋 Database system based on depth knowledge graph
CN111694965B (en) * 2020-05-29 2023-06-13 中国科学院上海微系统与信息技术研究所 Image scene retrieval system and method based on multi-mode knowledge graph
CN112151035B (en) * 2020-10-14 2023-08-11 珠海格力电器股份有限公司 Voice control method and device, electronic equipment and readable storage medium
CN112528039A (en) * 2020-12-16 2021-03-19 中国联合网络通信集团有限公司 Word processing method, device, equipment and storage medium
CN112936281B (en) * 2021-03-05 2023-09-26 节卡机器人股份有限公司 Robot control method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113761219A (en) * 2021-05-06 2021-12-07 腾讯科技(深圳)有限公司 Knowledge graph-based retrieval method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN114301725A (en) 2022-04-08

Similar Documents

Publication Publication Date Title
CN105446159A (en) Intelligent household system and data processing method thereof
CN110767232B (en) Speech recognition control method and device, computer equipment and computer storage medium
US10224034B2 (en) Voice recognition system and construction method thereof
CN110942773A (en) Method and device for controlling intelligent household equipment through voice
CN113534676A (en) Intelligent household appliance control method and device, computer equipment and storage medium
CN111178081B (en) Semantic recognition method, server, electronic device and computer storage medium
CN111128156A (en) Intelligent household equipment voice control method and device based on model training
CN115327932A (en) Scene creation method and device, electronic equipment and storage medium
CN114863928A (en) Smart home voice control method and system, electronic equipment and storage medium
CN113611306A (en) Intelligent household voice control method and system based on user habits and storage medium
CN114301725B (en) Device control method, device, electronic device and storage medium
CN116110112B (en) Self-adaptive adjustment method and device of intelligent switch based on face recognition
CN110703614B (en) Voice control method and device, semantic network construction method and device
CN111414760B (en) Natural language processing method, related equipment, system and storage device
CN110909159B (en) User intention identification method, device, terminal and storage medium
CN110705275B (en) Method and device for extracting subject term, storage medium and electronic equipment
CN112744475B (en) Classification control method of garbage can robot, garbage can robot and chip
CN111881278A (en) Fault confirmation method and device, storage medium, electronic device and air conditioner
CN112992142A (en) Voice message reply method, device, equipment and medium
CN107027065B (en) Method and device for identifying non-standard channel name
CN115576216B (en) Information filling method and device based on voice control intelligent household appliance
CN112201250B (en) Semantic analysis method and device, electronic equipment and storage medium
CN116049372B (en) Man-machine conversation method and device and electronic equipment
CN116074150B (en) Switch control method and device for intelligent home and intelligent home
US11915697B2 (en) Electronic device, system and control method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant