Index system of brand appliance coding library and voice control method thereof

By using a three-layer indexing system and voice recognition technology, the automatic pairing and control of the brand appliance coding library has been achieved, solving the problem of cumbersome operation in existing technologies and improving the user experience.

CN117877238BActive Publication Date: 2025-12-26SHENZHEN CHAORAN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311863052.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-29
Publication Date
2025-12-26
Estimated Expiration
2043-12-29

AI Technical Summary

Technical Problem

Existing universal remote controls and mobile remote control apps are cumbersome to use when pairing home appliances, requiring multiple button presses for confirmation, resulting in a poor user experience.

Method used

The brand appliance coding library adopts a three-layer indexing system. It can match the target brand appliance through voice recognition, automatically associate and send infrared codes to achieve one-click pairing and control.

Benefits of technology

It simplifies the appliance pairing process, reduces operating steps, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117877238B_ABST
    Figure CN117877238B_ABST
Patent Text Reader

Abstract

The application provides an index system of a brand appliance coding library and a voice control method thereof, and belongs to the field of household appliance remote controllers. A three-layer index system is set for an infrared coding library module, and then a target brand appliance is identified in response to a target pairing voice input by a user, the target brand appliance is matched and associated with corresponding infrared numbers based on a third index library module, a second index library module, a first index library module and the infrared coding library module, a target infrared coding association set is obtained, and then the target infrared coding association set is sent to the target brand appliance in sequence in response to a target operation voice input by the user for the target brand appliance, so that one-key household appliance pairing and control are realized, the pairing process is simplified, and user operation is facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of household appliance remote control, in particular to a brand appliance code library indexing system and a voice control method thereof. BACKGROUND

[0002] With the continuous development of household appliance remote control, various universal remote controls or mobile phone remote control APPs appear in the market.

[0003] However, in the prior art, the universal remote control often needs to be paired by searching for the control serial number corresponding to the brand household appliance on the universal remote control, and the mobile phone remote control APP needs to install the APP corresponding to the remote control, then find and add the corresponding brand in the appliance list of the APP, and then press the power button of the remote control on the APP in an enumerated manner to test whether the appliance is affected, until the pressed button affects the appliance, which often needs to be confirmed by pressing the button multiple times to determine the target remote control code, which is complicated and inconvenient for users to use. SUMMARY

[0004] The main purpose of the embodiments of the present application is to provide a brand appliance code library indexing system and a voice control method thereof, which can realize one-key pairing of household appliances and facilitate user use.

[0005] To achieve the above purpose, the first aspect of the embodiments of the present application provides a brand appliance code library indexing system, comprising:

[0006] An infrared code library module, the infrared code library module is used for storing infrared codes corresponding to different instructions of different brand appliances;

[0007] A first index library module, the first index library module is used for storing indexes of infrared codes of different brand appliances in the infrared code library module, and the first index library module comprises a plurality of first index values;

[0008] A second index library module, the second index library module is used for storing indexes of different first index values in the first index library module, and the second index library module comprises a plurality of second index values;

[0009] A third index library module, the third index library module is used for storing indexes of different second index values in the second index library module, and the third index library module comprises a plurality of third index values;

[0010] The first index value comprises an infrared code address index corresponding to the appliance model in the infrared code library module, an infrared code address index length and an execution instruction type number;

[0011] The second index value includes a corresponding model address index of the corresponding brand appliance in the first index library module and a model number of the corresponding brand appliance.

[0012] The third index value includes a corresponding controller group code address index of the corresponding brand appliance in the second index library module.

[0013] Further, in some embodiments, the storage addresses corresponding to the third index library module, the second index library module, the first index library module and the infrared code library module are sequentially stored in the index system from low to high.

[0014] To achieve the above-mentioned purpose, a second aspect of the embodiment of the present application proposes a brand appliance voice control method, comprising:

[0015] In response to a target pairing voice input by a user, a target brand appliance corresponding to the target pairing voice is recognized according to a target pairing voice recognition expression;

[0016] According to the target brand appliance, a corresponding third index value is matched in the third index library module of the index system as described above, to obtain a target third index value set;

[0017] According to the target third index value set and a first address offset, a corresponding second index value is sequentially matched in the second index library module of the index system as described above, to obtain a target second index value;

[0018] According to the target second index value and a second address offset, a corresponding first index value is sequentially matched in the first index library module of the index system as described above, to obtain a target first index value set;

[0019] According to the target first index value set, a corresponding infrared code is sequentially matched in the infrared code library module of the index system as described above, to obtain a target infrared code set;

[0020] The target brand appliance is associated with the target infrared code set to obtain a target infrared code association set, and the target infrared code association set is stored in the memory.

[0021] Further, in some embodiments, according to the target first index value set and the second address offset, a corresponding infrared code is sequentially matched in the infrared code library module to obtain the target infrared code set, comprising:

[0022] A single target first index value in the target first index value set is obtained;

[0023] According to the single target first index value, an infrared code index in the single target first index value is added to the second address offset to obtain a single target initial index address corresponding to the single target first index value in the infrared code library module.

[0024] According to the infrared code address index length in the single-target first index value and the number of execution instruction types, a single-target initial index address is operated to obtain a single-target end index address corresponding to the single-target first index value in the infrared code library module;

[0025] According to the single-target initial index address and the single-target end index address, the infrared codes corresponding to the infrared code library module are sequentially added to the target infrared code set.

[0026] Further, in some embodiments, in response to the target pairing voice input by the user, the target brand appliance corresponding to the target pairing voice is also identified according to the target pairing voice, which can further include:

[0027] In response to the target pairing voice input by the user, the target pairing voice is converted into target pairing text.

[0028] According to the preset brand appliance text library, the target pairing text is subjected to keyword matching to obtain the target brand appliance.

[0029] Further, in some embodiments, the first address offset is the storage size of the second index library module in the index system, and the second address offset is the storage size of the first index library module and the second index library module in the index system.

[0030] Further, in some embodiments, the brand appliance voice control method can further include:

[0031] In response to the target operation voice input by the user for the target brand appliance, the target voice control instruction corresponding to the target operation voice is identified according to the target operation voice.

[0032] According to the matched target brand appliance, a corresponding target infrared code association set is obtained from the memory.

[0033] According to the target infrared code association set, the target voice control instruction is sequentially subjected to infrared coding to obtain a target infrared control instruction set.

[0034] Based on a preset sending time interval, the target infrared control instruction set is sequentially sent to the target brand appliance.

[0035] Further, in some embodiments, in response to the target operation voice input by the user for the target brand appliance, the target voice control instruction corresponding to the target operation voice is identified according to the target operation voice, which can further include:

[0036] In response to the target operation voice input by the user for the target brand appliance, the target operation voice is converted into target operation text.

[0037] According to the preset brand electric appliance control instruction text library, keyword matching is performed on the target operation text, and a target voice control instruction is obtained.

[0038] To achieve the above object, a fourth aspect of the embodiments of the present application provides an electronic device, comprising at least one memory and at least one processor, the memory stores at least one computer program, and the processor executes the computer program to realize the method as described in the second aspect or the third aspect.

[0039] To achieve the above object, a fifth aspect of the embodiments of the present application provides a storage medium, which is a computer readable storage medium, and the storage medium stores a computer program, and the computer program is executed by a processor to realize the method as described in the second aspect or the third aspect.

[0040] The embodiments of the present application have the following beneficial effects: the present application sets a three-layer index system for the infrared code library module, and then responds to the target brand electric appliance identified by the target pairing voice input by the user, and performs corresponding infrared number matching and association of the target brand electric appliance based on the third index library module, the second index library module, the first index library module and the infrared code library module to obtain a target infrared code association set, and then when responding to the target operation voice input by the user to the target brand electric appliance, the target infrared code association set is sequentially sent to the target brand electric appliance, thereby realizing one-key home appliance pairing and control, reducing the complexity of the pairing process and facilitating user operation. BRIEF DESCRIPTION OF DRAWINGS

[0041] Figure 1 is a structure schematic diagram of an index system of a brand electric appliance code library provided by the embodiments of the present application;

[0042] Figure 2 is a brand electric appliance self-defined storage code diagram provided by the embodiments of the present application;

[0043] Figure 3 is a flowchart of a brand electric appliance voice control method provided by the embodiments of the present application;

[0044] Figure 4 is an index diagram of a third index library module provided by the embodiments of the present application;

[0045] Figure 5 is an index diagram of a second index library module provided by the embodiments of the present application;

[0046] Figure 6 is an index diagram of a first index library module provided by the embodiments of the present application;

[0047] Figure 7is a flowchart of a brand appliance voice control method provided by another embodiment of the application;

[0048] Figure 8 is a flowchart of a brand appliance voice control method provided by another embodiment of the application;

[0049] Figure 9 is a flowchart of a brand appliance voice control method provided by another embodiment of the application;

[0050] Figure 10 is a flowchart of a brand appliance voice control method provided by another embodiment of the application;

[0051] Figure 11 is a flowchart of a brand appliance voice control method provided by another embodiment of the application;

[0052] Figure 12 is a hardware structure schematic diagram of an electronic device provided by an embodiment of the application. DETAILED DESCRIPTION

[0053] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below in combination with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and not to limit the present application.

[0054] It should be noted that although the functional modules are divided in the device schematic diagram, and the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order from the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification and claims and the above-described drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0055] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the present application belongs. The terms used herein are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.

[0056] The index system of a brand appliance code library and the voice control method thereof provided by the embodiments of the present application relate to the field of household appliance remote controllers.

[0057] With the continuous development of household appliance remote controllers, various kinds of universal remote controllers or mobile phone remote control APPs are constantly emerging in the market.

[0058] But in the prior art, the universal remote controller often needs to find the control serial number corresponding to the brand home appliance on the universal remote controller to perform pairing, and the mobile phone remote control APP needs to install the APP corresponding to the remote controller, then find and add the corresponding brand in the electric appliance list of the APP, and then press the power button of the remote controller on the APP in an enumerated manner to test whether the electric appliance is affected, until the pressed button affects the electric appliance, which often needs to confirm multiple times to determine the target remote control code, which is complicated and inconvenient for users to use.

[0059] Based on this, the embodiment of the present application provides an index system of a brand electric appliance coding library and a voice control method thereof. By setting a three-layer index system for the infrared coding library module, and then responding to the target brand electric appliance identified by the user input target pairing voice, the target brand electric appliance is matched and associated with the corresponding infrared number based on the third index library module, the second index library module, the first index library module, and the infrared coding library module to obtain a target infrared code association set, and then when responding to the target operation voice of the target brand electric appliance input by the user, the target infrared code association set is sequentially sent to the target brand electric appliance, thereby realizing one-key home appliance pairing and control, reducing the complexity of the pairing process, and facilitating user operation.

[0060] Further, the embodiment of the present application can acquire and process related voice data based on intelligent voice recognition technology.

[0061] Please refer to Figure 1 , Figure 1 is a structural schematic diagram of an index system of a brand electric appliance coding library provided by the embodiment of the present application. The index system of the brand electric appliance coding library 100 includes an infrared coding library module 104, the infrared coding library module 104 is used to store the infrared codes of different instructions corresponding to different brand electric appliances; a first index library module 103, the first index library module 103 is used to store the indexes of the infrared codes corresponding to different brand electric appliances in the infrared coding library module 104, the first index library module 103 includes a plurality of first index values; a second index library module 102, the second index library module 102 is used to store the indexes of different first index values in the first index library module 103, the second index library module 102 includes a plurality of second index values; a third index library module 102, the third index library module 101 is used to store the indexes of different second index values in the second index library module 102, the third index library module 101 includes a plurality of third index values; wherein the first index value includes the infrared code address index corresponding to the electric appliance model in the infrared coding library module 104 and the execution instruction type; the second index value includes the model address index corresponding to the brand electric appliance in the first index library module 103 and the number of models of the brand electric appliance; and the third index value includes the controller group code address index corresponding to the brand electric appliance in the second index library module 102.

[0062] Further, it needs to be explained that the third index library module 101, the second index library module 102, the first index library module 103 and the infrared code library module 104 corresponding storage addresses are stored in the index system in order from low to high.

[0063] Specifically, please refer to Figure 2 , Figure 2 is a brand appliance self-defined storage code provided by the embodiment of the application, and the data of various brand home appliances (such as television, air conditioner, set top box, fan, sound, projection, audio and video) are encoded and burned into the Flash storage code library unit outside the device in the form of data array, and the index system 100 of the brand appliance code library is constructed based on the data array, for example, the Gree brand air conditioner in the system is usually controlled by 4 groups of remote control codes, and each group includes a controller group code address index.

[0064] Please refer to Figure 3 , Figure 3 is a flowchart of a brand appliance voice control method provided by the embodiment of the application, which can include but is not limited to steps S301 to S306.

[0065] Step S301: in response to the target pairing voice input by the user, the target brand appliance corresponding to the target pairing voice is identified according to the target pairing voice.

[0066] Specifically, in response to the target pairing voice "matching air conditioner" input by the user, the device enters the appliance voice matching mode after identifying the control instruction of "matching air conditioner", and then issues the corresponding voice "please say the air conditioner brand you want to match" to the user, and then the device identifies the brand appliance noun "Gree air conditioner" through the preset voice recognition system in response to the user input "Gree air conditioner".

[0067] Step S302: according to the target brand appliance, the corresponding third index value in the third index library module of the index system is matched to obtain a target third index value set.

[0068] Specifically, according to the brand appliance self-defined storage code shown in Figure 2 , it can be known that the 4 groups of controller group codes of the Gree air conditioner are 010254, 010252, 010247 and 010248 respectively.

[0069] Further, please refer to Figure 4 , Figure 4is the index diagram of the third index library module provided by the embodiment of the present application, and it can be known from the third module that the controller group code 010254 is indexed as 0 at the controller group code address of the second index library module; the controller group code 010252 is indexed as 1 at the controller group code address of the second index library module; the controller group code 010247 is indexed as 2 at the controller group code address of the second index library module; and the controller group code 010248 is indexed as 3 at the controller group code address of the second index library module; that is, the target third index value set is [‘010254-0’, ‘010252-1’, ‘010247-2’, ‘010248-3’].

[0070] Step S303: According to the target third index value set, the corresponding second index value is matched in the second index library module of the index system as described above in sequence to obtain a target second index value.

[0071] Further, please refer to Figure 5 , Figure 5 is the index diagram of the second index library module provided by the embodiment of the present application, and it can be known from the second index library module that the storage address starts from 00000000h.

[0072] It should be noted that the storage size of the second index value in the second index library module is 3 bytes (i.e., each byte is a second index value), wherein the first byte and the second byte represent the storage address of the current brand controller group code group code, and the third byte is the number of controller group codes of the current brand, for example: the initial index in the third index value set of the Gree air conditioner is 0 (i.e., the initial storage address is 00000000h), and the first three byte codes (i.e., 0000 04) in the second index library module are the target second index value of the Gree air conditioner, i.e., 00 00 corresponds to the model address index of the controller group code 010254 of the Gree air conditioner in the third index library module, 00 01 corresponds to the model address index of the controller group code 010252 of the Gree air conditioner in the third index library module; 00 02 corresponds to the model address index of the controller group code 010247 of the Gree air conditioner in the third index library module; 00 03 corresponds to the model address index of the controller group code 010248 of the Gree air conditioner in the third index library module, and 04 corresponds to the 4 groups of models of the Gree air conditioner.

[0073] Further, it should be further noted that the model address index in the second index value of the next brand electric appliance is the sum of the model address index in the second index value of the previous brand electric appliance and the number of models, for example: according to Figure 2It can be seen that Haier air conditioner is the next brand of GELI air conditioner in the third index library, and the second index value of Haier air conditioner in the second index library is 00 04 06, and 00 04 in the second index value corresponding to Haier air conditioner is 00 00+4 (the model address index in the second index value of GELI air conditioner is added to the model number).

[0074] It should be further explained that the carry operation of the present application can be a hexadecimal operation or a binary operation, which is not specifically limited.

[0075] Step S304: According to the target second index value and the first address offset, the corresponding first index value is matched in the first index library module of the index system as described above in sequence to obtain a target first index value set.

[0076] It should be noted that please refer to Figure 6 , Figure 6 is the index schematic diagram of the first index library module provided by the embodiment of the present application, and the first address offset is the storage size of the second index library module in the index system. For example, when the storage size of the second index library module in the index system is 1024 bytes, the storage address of the first index of GELI air conditioner in the first index library is 00000000h (the initial storage address of the second index value)+1024 (decimal number)+model address index in the second index value=00000400h.

[0077] Specifically, it can be known from Figure 6 that the first index value set of GELI air conditioner in the first index library is ["00 00 0001 00 02 00 03", "00 0A 00 OB 00 0A 00 0A", "00 0A 00 OA 00 04 00 05", "00 06 00O7 00 08 00 09"].

[0078] Further, the storage size of the first index value is 8 bytes, the first byte to the fourth byte store the address index of the corresponding infrared code in the infrared code library module, the fifth byte to the sixth byte store the address index storage length of the corresponding infrared code, the sixth byte stores the storage length of the execution instruction, and the seventh byte stores the execution instruction type.

[0079] Step S305: According to the target first index value set and the second address offset, the corresponding infrared code is matched in the infrared code library module of the index system as described above in sequence to obtain a target infrared code set.

[0080] It should be noted that the second address offset is the storage size of the first index library module in the index system, for example, when the second address offset is 4096 bytes, then the initial index address of the infrared code of the Gree air conditioner in the infrared code library module of the "00 00 00 01 00 02 00 03" model is =00000400h (hexadecimal number, based on the initial index address of the second index library module) +4096 (decimal number) =00001400h, then read the corresponding infrared code set in order in the 00001400h address.

[0081] Step S306: associating the target brand appliance with the target infrared code set to obtain a target infrared code association set, and storing the target infrared code association set in the memory.

[0082] Further, the target brand appliance is associated with the target infrared code set to obtain a target infrared code association set, and finally the target infrared code association set is stored in the Flash storage code library unit.

[0083] Please refer to Figure 7 , Figure 7 is a flowchart of a brand appliance voice control method provided by another embodiment of the present application, which can include but is not limited to steps S701 to S706.

[0084] Step S701: obtaining a single target first index value in a target first index value set.

[0085] Specifically, a single target first index value in the target first index value set is obtained, and the single target first index value is the first index value of the "00 00 00 01 00 02 00 03" model of the Gree air conditioner.

[0086] Step S702: adding the infrared code index in the single target first index value to the second address offset according to the single target first index value to obtain a single target initial index address corresponding to the single target first index value in the infrared code library module.

[0087] Specifically, the initial index address of the infrared code in the infrared code library module of "00 00 00 01 00 02 00 03" is added to the second address offset to obtain a single target initial index address of 00000400h (hexadecimal number) +4096 (decimal number) +00 00 00 01 =00001401h.

[0088] Step S703: According to the infrared code address index length in the single-target first index value and the number of execution instruction types, the operation is performed on the single-target initial index address to obtain the single-target end index address corresponding to the single-target first index value in the infrared code library module.

[0089] Specifically, it is known from "00 00 00 01 00 02 00 03" that "00 02" is the infrared code address index length of the single-target first index value, and "03" is the number of execution instruction types of the single-target first index value. Then the single-target end index address = single-target initial index address + (infrared code address index length x number of execution instruction types), that is, the single-target end index address = 00001401h + (00 02 x 00 03-1) = 00001406h.

[0090] Step S704: According to the single-target initial index address and the single-target end index address, the infrared codes corresponding to the infrared code library module are sequentially added to the target infrared code set.

[0091] Specifically, according to the single-target initial index address 00001401h and the single-target end index address 00001406h, the infrared codes corresponding to the infrared code library module are sequentially added to the target infrared code set.

[0092] Please refer to Figure 8 , Figure 8 is a total flowchart of a brand appliance voice control method provided by another embodiment of the present application, which can include but is not limited to steps S801 to S802.

[0093] Step S801: Obtain the group code 010254 in Gree air conditioner.

[0094] Step S802: According to the group code 010254, obtain the corresponding third index library address 0.

[0095] Step S803: According to the group code 010254 corresponding to the third index library address 0, take the code in the corresponding second index library address 00000000h, and the code value is 000004.

[0096] Step S804: According to the group code 010254 corresponding to the second index library address 00000000h, take 4 groups of codes in the corresponding first index library address 00000000h+1024=00000400h in sequence, and the code value is 0000000100020003, 000A000B000A000A, 000A000A00040005, 0006000700080009.

[0097] Step S805: According to the group code 010254, the corresponding second index library address is 00000000h, and the corresponding infrared code library address is 00000400h+4096=00001400h. Among them, the corresponding group code is taken in turn, that is, 0000000100020003: 2*3 byte codes corresponding to 00001400h+1 address, 000A000B000A000A: A*A byte codes corresponding to 00001400H+000A000B address, 000A000A00040005: 4*5 byte codes corresponding to 00001400H+000A000A address, 0006000700080009: 8*9 byte codes corresponding to 00001400H+00060007 address.

[0098] It should be noted that steps S801 to S802 are described by means of the above-mentioned other embodiments, and will not be repeated here.

[0099] Referring to Figure 9 , Figure 9 is a flowchart of a brand appliance voice control method provided by another embodiment of the present application, which can include but is not limited to steps S901 to S902.

[0100] Step S901: In response to a target pairing voice input by a user, converting the target pairing voice into target pairing text.

[0101] Specifically, in response to a target pairing voice "matching air conditioner" input by a user, converting the voice into text of "matching air conditioner" through an SDK module of a voice recognition system, and starting an appliance pairing mode; after starting the appliance pairing mode, in response to a target pairing voice "Gree air conditioner" input by a user, converting the voice into text of "Gree air conditioner" through the SDK module of the voice recognition system.

[0102] Step S902: According to a preset brand appliance text library, performing keyword matching on the target pairing text to obtain a target brand appliance.

[0103] Specifically, according to the preset brand appliance text library, performing keyword matching on the text of "Gree air conditioner" to obtain an instruction matching a "Gree" brand air conditioner.

[0104] Referring to Figure 10 , Figure 10 is a flowchart of a brand appliance voice control method provided by another embodiment of the present application, which can include but is not limited to steps S1001 to S1004.

[0105] Step S1001: In response to the user inputting a target operation voice for a target brand appliance, a target voice control instruction corresponding to the target operation voice is recognized.

[0106] Specifically, in response to the user inputting a target pairing voice such as "turn on the air conditioner", "turn off the air conditioner", "heating mode", "110 degrees", and the like, the device recognizes a target voice control instruction corresponding to the target pairing voice.

[0107] Step S1002: According to the matched target brand appliance, a corresponding target infrared code association set is obtained from the memory.

[0108] Specifically, a target infrared code association set corresponding to the matched "Galanz air conditioner" is obtained from the memory.

[0109] Step S1003: According to the target infrared code association set, the target voice control instruction is sequentially infrared coded to obtain a target infrared control instruction set.

[0110] Specifically, each infrared code format is sequentially obtained from the target infrared code association set, and each infrared code format is infrared coded to the target voice control instruction to obtain the target infrared control instruction set.

[0111] Step S1004: Based on a preset sending time interval, the target infrared control instruction set is sequentially sent to the target brand appliance.

[0112] Specifically, based on a preset sending time interval, the target infrared control instruction set is sequentially sent to the Galanz air conditioner.

[0113] It should be noted that the preset sending time interval can be 10ms, 50ms, 100ms, or 200ms.

[0114] Please refer to Figure 11 , Figure 11 is a flowchart of a brand appliance voice control method provided by another embodiment of the present application, which can include but is not limited to steps S601 to S602.

[0115] Step S1101: In response to the user inputting a target operation voice for a target brand appliance, the target operation voice is converted into a target operation text.

[0116] Specifically, in response to the user inputting a target pairing voice such as "turn on the air conditioner", "turn off the air conditioner", "heating mode", and the like, the voice is converted into the text "turn on the air conditioner", "turn off the air conditioner", and "heating mode" through the SDK module of the voice recognition system.

[0117] Step S1102: According to the preset brand electric appliance control instruction text library, the target operation text is subjected to keyword matching to obtain a target voice control instruction.

[0118] Specifically, according to the preset brand electric appliance text library, the texts of "turning on the air conditioner", "turning off the air conditioner", "heating mode" and the like are subjected to keyword matching to obtain instructions of "turning on the Gree air conditioner", "turning off the air conditioner", "switching the heating mode" and the like.

[0119] Please refer to Figure 12 , Figure 12 The hardware structure of the electronic device of another embodiment is illustrated, and the electronic device comprises:

[0120] The processor 1201 can be implemented in a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute related programs to implement the technical solutions provided by the embodiments of the present application.

[0121] The memory 1202 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1202 can store one or more storage application programs or data, and can also include one or more operating systems (such as Harmony OS TM, RTOS TM, Unix TM, Linux TM, RTLinux TM, etc.). When the technical solutions provided by the embodiments of the present application are implemented by software or firmware, the related program codes are stored in the memory 1202 and called and executed by the processor 1201 to implement a robot automatic spraying process parameter optimization method, device and medium according to an embodiment of the present application.

[0122] The input / output interface 1203 is used to realize information input and output.

[0123] The communication interface 1204 is used to realize the communication interaction between the device and other devices, and can realize communication through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0124] The bus 1205 transmits information between various components (such as the processor 701, the memory 702, the input / output interface 1203, and the communication interface 1204) of the device.

[0125] The processor 1201, the memory 1202, the input / output interface 1203 and the communication interface 1204 are communicatively connected with each other through the bus 1205.

[0126] The embodiment of the present application further provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to realize the method, the device and the medium for optimizing process parameters of robot automatic spraying.

[0127] The memory 1202 is a non-transitory computer readable storage medium, and can be used to store non-transitory software programs and non-transitory computer executable programs. In addition, the memory 1202 can include a high-speed random access memory, and can further include a non-transitory memory, for example, at least one magnetic disk storage device, a flash memory device or other non-transitory solid-state memory device. In some embodiments, the memory can optionally include a memory remotely arranged relative to the processor, and the remote memory can be connected to the processor through a network. Examples of the network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network and a combination thereof.

[0128] The embodiments described in the embodiments of the present application are used to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those skilled in the art can know that, with the evolution of technology and the appearance of new application scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.

[0129] Those skilled in the art can understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and can include more or fewer steps than the figures, or combine certain steps or different steps.

[0130] The device embodiments described above are only schematic, and the units described as separate components can or can not be physically separate, that is, can be located in one place, or can be distributed on multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the embodiments of the present application.

[0131] Those skilled in the art can understand that all or some steps in the above disclosed method, the functions of the modules / units in the system and the device can be implemented as software, firmware, hardware and their appropriate combinations.

[0132] The terms "first", "second", "third", "fourth", and the like in the description and in the claims of this application, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the use of the terms so termed is interchangeable under appropriate circumstances such that the embodiments of the application described herein are, for example, capable of orderly or chronological mundane operation, reverse order operation, based on circuitry availability, based on stated preference or the like, and that "default" or other orderings are thus permissible. Further, the terms "comprise", "comprising", "include", "including", and the like, are specifically intended to be open-ended. That is, references to individual steps and the like do not suhstantially exclude the presence of two or more of a recited step or its integral sub-steps or additional steps whether or not readily ascertainable from the description or the like. Further, the words "a" or "an", as used herein in the disclosure and elsewhere, are used indiscriminately and are to be interpreted in the same way, i.e. as meaning "one or more".

[0133] It should be understood that, in the application, "at least one" means one or more, and "multiple" means two or more. "And / or" is used to describe the relationship between associated objects, which means that there can be three relationships, for example, "A and / or B" can mean that there are only A, only B, and A and B at the same time, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects. "At least one of the following" or the like means any combination of these items, including any combination of single or multiple items. For example, at least one of a, b or c can mean a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.

[0134] In several embodiments provided in the application, it should be understood that the disclosed system and method can be implemented in other ways. For example, the above-described system embodiments are only illustrative, for example, the division of the above-mentioned units is only a logical functional division, and actual implementation can have another division manner, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed objects can be indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0135] The units described above as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, i.e. they can be located in one place or distributed on multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.

[0136] In addition, each of the functional units in the embodiments of the present application can be integrated in one processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The integrated unit can be implemented in the form of hardware, or in the form of a software functional unit.

[0137] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on such an understanding, the technical solutions of the present application, essentially or partially, or all or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, and includes a plurality of instructions used to cause a computer device (such as a personal computer, a server, or a network device) to perform all or part of the steps of the methods in the embodiments of the present application. The foregoing storage medium includes: a U disk, a random access memory (RAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM) flash or other memory technology, a compact disc-read only memory (CD-ROM), a digital video disc (DVD) or other disc storage, a magnetic cassette, a magnetic tape, a magnetic disk, a magnetic disk storage or other magnetic storage device, or any other medium that can be used to store desired information and can be accessed by a computer.

[0138] The preferred embodiments of the embodiments of the present application are described above with reference to the accompanying drawings, and are not intended to limit the scope of the embodiments of the present application. Any modification, equivalent replacement and improvement made by those skilled in the art without departing from the scope and essence of the embodiments of the present application shall be within the scope of the embodiments of the present application.

Claims

1. An indexing system for a library of brand appliance codes, characterized in that, The index system comprises: an infrared code library module for storing infrared codes corresponding to different instructions of different brands of appliances; a first index library module for storing indexes corresponding to the infrared codes of different brands of appliances in the infrared code library module, the first index library module comprising a plurality of first index values; a second index library module for storing indexes corresponding to different first index values in the first index library module, the second index library module comprising a plurality of second index values; a third index library module for storing indexes corresponding to different second index values in the second index library module, the third index library module comprising a plurality of third index values; wherein the first index value comprises an infrared code address index corresponding to the model of the appliance in the infrared code library module, an infrared code address index length, and a number of execution instruction types; the second index value comprises a model address index corresponding to the brand of the appliance in the first index library module and a number of models of the brand of the appliance; the third index value comprises a controller group code address index corresponding to the brand of the appliance in the second index library module.

2. The indexing system of a branded appliance coding library according to claim 1, wherein, The storage addresses of the third index library module, the second index library module, the first index library module, and the infrared code library module in the index system are stored in order from low to high. 3.A brand appliance voice control method, characterized by, The index system comprises: in response to a target pairing voice input by a user, identifying a target brand of appliance corresponding to the target pairing voice; according to the target brand of appliance, matching the corresponding third index value in the third index library module of the index system according to any one of claims 1 to 2 to obtain a target third index value set; according to the target third index value set, sequentially matching the corresponding second index value in the second index library module of the index system according to any one of claims 1 to 2 to obtain a target second index value; according to the target second index value and a first address offset, sequentially matching the corresponding first index value in the first index library module of the index system according to any one of claims 1 to 2 to obtain a target first index value set; wherein the first address offset is the storage size of the second index library module in the index system; according to the target first index value set and a second address offset, sequentially matching the corresponding infrared code in the infrared code library module of the index system according to any one of claims 1 to 2 to obtain a target infrared code set; wherein the second address offset is the storage size of the first index library module in the index system; associating the target brand of appliance with the target infrared code set to obtain a target infrared code association set, and storing the target infrared code association set in a memory. 4.The brand appliance voice control method of claim 3, wherein, The method of sequentially matching the corresponding infrared code in the infrared code library module according to the target first index value set and the second address offset to obtain a target infrared code set comprises: Obtaining a single-target first index value in the target first index value set; According to the single-target first index value, the infrared code index in the single-target first index value is added to the second address offset to obtain the corresponding single-target initial index address of the single-target first index value in the infrared code library module; According to the infrared code address index length in the single-target first index value and the number of execution instructions, the single-target initial index address is operated to obtain the corresponding single-target end index address of the single-target first index value in the infrared code library module; According to the single-target initial index address and the single-target end index address, the corresponding infrared code of the infrared code library module is sequentially added to the target infrared code set. 5.The brand appliance voice control method of claim 3, wherein, The target brand appliance corresponding to the target pairing voice is identified according to the target pairing voice, including: The target pairing voice is converted into target pairing text according to the target pairing voice input by the user; According to the preset brand appliance text library, the target pairing text is matched with keywords to obtain the target brand appliance. 6.The brand appliance voice control method of claim 3, wherein, The first address offset is the storage size of the second index library module in the index system, and the second address offset is the storage size of the first index library module and the second index library module in the index system. 7.The brand appliance voice control method of claim 3, wherein, Further comprising: According to the target operation voice input by the user for the target brand appliance, the target voice control instruction corresponding to the target operation voice is identified; According to the target brand appliance matched, the corresponding target infrared code association set is obtained from the memory; According to the target infrared code association set, the target voice control instruction is sequentially infrared coded to obtain a target infrared control instruction set; Based on the preset sending time interval, the target infrared control instruction set is sequentially sent to the target brand appliance. 8.The brand appliance voice control method of claim 7, wherein, According to the target operation voice input by the user for the target brand appliance, the target voice control instruction corresponding to the target operation voice is identified, including: The target operation voice is converted into target operation text according to the target operation voice input by the user; According to the preset brand appliance control instruction text library, the target operation text is matched with keywords to obtain the target voice control instruction.

9. An electronic device, comprising: Comprising: At least one processor; At least one memory for storing at least one program; When at least one of the programs is executed by at least one of the processors, the brand appliance voice control method of any one of claims 3 to 8 is realized.

10. A computer-readable storage medium, characterized in that: The processor executable program is stored in the memory, and the processor executable program is executed by the processor to realize the brand appliance voice control method of any one of claims 3 to 8.

Citation Information

Patent Citations

  • Multi-level index method for data of audio fingerprint database

    CN104765836A

  • Voice control method and device and mobile terminal

    CN106328143A