CN111883129B - Terminal equipment control method and device and terminal equipment - Google Patents

Terminal equipment control method and device and terminal equipment Download PDF

Info

Publication number
CN111883129B
CN111883129B CN202010766782.5A CN202010766782A CN111883129B CN 111883129 B CN111883129 B CN 111883129B CN 202010766782 A CN202010766782 A CN 202010766782A CN 111883129 B CN111883129 B CN 111883129B
Authority
CN
China
Prior art keywords
terminal equipment
control
target
equipment
request
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
CN202010766782.5A
Other languages
Chinese (zh)
Other versions
CN111883129A (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.)
Hisense Visual Technology Co Ltd
Original Assignee
Hisense Visual 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 Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN202010766782.5A priority Critical patent/CN111883129B/en
Publication of CN111883129A publication Critical patent/CN111883129A/en
Application granted granted Critical
Publication of CN111883129B publication Critical patent/CN111883129B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command

Abstract

According to the terminal equipment control method, the terminal equipment control device and the terminal equipment, when the terminal equipment is used as the main control terminal equipment, the voice control request of the user can be received; determining target terminal equipment according to the voice control request; under the condition that the target terminal equipment is not the main control terminal equipment, acquiring a control instruction corresponding to the voice control request according to the type of the target terminal equipment; and finally, controlling the target terminal equipment to execute corresponding actions according to the control instruction. When a plurality of household terminal devices are available for users, the technical scheme of the application can be used, one main control terminal device is controlled to further uniformly control other terminal devices, the main control terminal device is used as a control center, the operation process of the control of various terminal devices is simplified, and the control accuracy is ensured. In addition, according to the types of different terminal equipment, corresponding control instructions can be obtained in different modes, so that the scheme of the application can be applied to voice control of various types of terminal equipment.

Description

Terminal equipment control method and device and terminal equipment
Technical Field
The application relates to the technical field of intelligent home, in particular to a terminal equipment control method and device and terminal equipment.
Background
The intelligent voice function is applied to more and more household terminal equipment at present, so that voice control can be realized. For example, the intelligent washing machine can be started or stopped by voice control of a user, and washing time, timing time and the like can also be controlled; for example, an intelligent refrigerator, a user can input information of various food materials through voice, and the like; for example, the intelligent air conditioner can be controlled to be turned on or off by voice, and the temperature can be controlled to be regulated.
While using one intelligent terminal device, if the user wants to use other intelligent terminal devices, the user needs to perform voice control on the other intelligent terminal devices. In daily life, if many intelligent terminals are in home use, the user needs to send out voice instructions for multiple times, respectively call each intelligent terminal device, and then respectively control. In this process, it is likely that it is difficult for a plurality of intelligent terminal devices to determine to whom a voice command is specific, and thus a problem that a plurality of intelligent terminal devices execute one voice command at the same time is confused is caused.
Therefore, according to the method for controlling the intelligent terminal equipment, when a plurality of household intelligent terminal equipment are provided, the voice control operation is complex, and the control accuracy can be ensured.
Disclosure of Invention
The application provides a terminal equipment control method and device and terminal equipment, and aims to solve the problems that when a plurality of household intelligent terminal equipment are provided, the operation of controlling the plurality of equipment by using the existing voice control method is complex and the accuracy is poor.
In a first aspect, the present application provides a method for controlling a terminal device, including:
acquiring a voice control request; the voice control request is used for representing a request received by the main control terminal equipment, which is sent by a user, for controlling the target terminal equipment through voice;
determining the target terminal equipment according to the voice control request;
determining the type of the target terminal device if the target terminal device is not the master terminal device;
According to the type of the target terminal equipment, a control instruction corresponding to the voice control request is acquired;
and responding to the voice control request, and controlling the target terminal equipment to execute corresponding actions according to the control instruction.
In some embodiments, the step of determining the target terminal device from the voice control request comprises:
Analyzing the semantics of the voice control request to obtain the name of the target equipment of the target terminal equipment;
if the target equipment name is the same as the equipment name of the main control terminal equipment or the target equipment name is not resolved, determining that the target terminal equipment is the main control terminal equipment;
and if the target equipment name is different from the equipment name of the main control terminal equipment, determining that the target terminal equipment is not the main control terminal equipment.
In some embodiments, the step of obtaining the control instruction corresponding to the voice control request according to the type of the target terminal device includes:
And under the condition that the target terminal equipment is the main control terminal equipment, converting the voice control request into a control instruction executable by a serial port according to the semantics of the voice control request and a serial port protocol.
In some embodiments, the step of obtaining the control instruction corresponding to the voice control request according to the type of the target terminal device further includes:
if the target terminal equipment is intelligent terminal equipment, the control instruction is assembled according to the semantics of the voice control request and a wireless communication protocol;
and if the target terminal equipment is infrared terminal equipment, converting the voice control request into a control instruction expressed by an infrared code value according to the semantics of the voice control request.
In some embodiments, the step of obtaining the control instruction corresponding to the voice control request according to the type of the target terminal device further includes:
Judging whether the target terminal equipment and the main control terminal equipment are the same brand products or not under the condition that the target terminal equipment is infrared terminal equipment;
If yes, converting the voice control request into a control instruction represented by an infrared code value according to the semantics of the voice control request by utilizing an infrared code library in the main control terminal equipment;
If not, acquiring a third-party infrared code library;
And converting the voice control request into a control instruction represented by an infrared code value according to the semantics of the voice control request by utilizing the third-party infrared code library.
In some embodiments, the step of obtaining a voice control request includes:
Receiving a control request of a user; the control request is used for representing a request of a user control target terminal device received by the main control terminal device;
judging whether the control request is a voice control request or a wireless control request through an instruction type code of the control request; the wireless control request is used for representing the request of other terminal equipment for controlling the main control terminal equipment.
In some embodiments, after the step of determining whether the control request is a voice control request or a wireless control request according to the instruction type code of the control request, the method further includes:
Analyzing the control request according to a wireless communication protocol under the condition that the control request is a wireless control request;
according to a serial port protocol, converting the parsed control request into a control instruction executable by a serial port;
And responding to the control instruction, and executing corresponding actions.
In some embodiments, the step of controlling the target terminal device to perform a corresponding action according to the control instruction in response to the voice control request includes:
inquiring a binding relation between the target terminal equipment and the main control terminal equipment;
and under the condition that the target terminal equipment and the main control terminal equipment are mutually bound, controlling the target terminal equipment to execute corresponding actions according to the control instruction.
In a second aspect, the present application further provides a terminal device control apparatus, including:
The request acquisition module is used for acquiring a voice control request; the voice control request is used for representing a request received by the main control terminal equipment, which is sent by a user, for controlling the target terminal equipment through voice;
A target device determining module, configured to determine the target terminal device according to the voice control request;
a device type determining module, configured to determine a type of the target terminal device if the target terminal device is not the master terminal device;
The instruction acquisition module is used for acquiring a control instruction corresponding to the voice control request according to the type of the target terminal equipment;
and the control module is used for responding to the voice control request and controlling the target terminal equipment to execute corresponding actions according to the control instruction.
In a third aspect, the present application further provides a terminal device, including:
A controller configured to perform the steps of:
acquiring a voice control request; the voice control request is used for representing a request received by the main control terminal equipment, which is sent by a user, for controlling the target terminal equipment through voice;
determining the target terminal equipment according to the voice control request;
determining the type of the target terminal device if the target terminal device is not the master terminal device;
According to the type of the target terminal equipment, a control instruction corresponding to the voice control request is acquired;
and responding to the voice control request, and controlling the target terminal equipment to execute corresponding actions according to the control instruction.
As can be seen from the above, in the terminal device control method, apparatus and terminal device according to the technical solution of the present application, when the terminal device is used as a master control terminal device, a voice control request of a user for controlling a target terminal device through voice can be received; determining target terminal equipment according to the voice control request; determining the type of the target terminal equipment under the condition that the target terminal equipment is not the main control terminal equipment; according to the type of the target terminal equipment, a control instruction corresponding to the voice control request is acquired; and finally, controlling the target terminal equipment to execute corresponding actions according to the control instruction. When a plurality of household terminal devices are available for users, the users can control other terminal devices uniformly by controlling one main control terminal device, the main control terminal device is used as a control center, the independent control for each terminal device is not needed, the operation process of the control of a plurality of terminal devices is simplified, and the control accuracy is ensured. In addition, according to the types of different terminal equipment, corresponding control instructions can be obtained in different modes, so that the technical scheme of the application can be applied to voice control of various types of terminal equipment, and the application range is wider.
Drawings
In order to more clearly illustrate the technical solution of the present application, the drawings that are needed in the embodiments will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is a flowchart of a method for controlling a terminal device according to an embodiment of the present application;
Fig. 2 is a schematic diagram of a scenario in which other terminal devices are controlled by a master terminal device according to an embodiment of the present application;
fig. 3 is a schematic view of another scenario in which other terminal devices are controlled by a master terminal device according to an embodiment of the present application;
fig. 4 is a schematic diagram showing association between an intelligent sound box and other intelligent devices according to an embodiment of the present application;
fig. 5 is a flowchart of another terminal device control method according to an embodiment of the present application;
Fig. 6 is a block diagram illustrating a configuration of a terminal device control apparatus according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, embodiments and advantages of the present application more apparent, an exemplary embodiment of the present application will be described more fully hereinafter with reference to the accompanying drawings in which exemplary embodiments of the application are shown, it being understood that the exemplary embodiments described are merely some, but not all, of the examples of the application.
Based on the exemplary embodiments described herein, all other embodiments that may be obtained by one of ordinary skill in the art without making any inventive effort are within the scope of the appended claims. Furthermore, while the present disclosure has been described in terms of an exemplary embodiment or embodiments, it should be understood that each aspect of the disclosure can be practiced separately from the other aspects.
It should be noted that the brief description of the terminology in the present application is for the purpose of facilitating understanding of the embodiments described below only and is not intended to limit the embodiments of the present application. Unless otherwise indicated, these terms should be construed in their ordinary and customary meaning.
The terms first, second, third and the like in the description and in the claims and in the above-described figures are used for distinguishing between similar or similar objects or entities and not necessarily for describing a particular sequential or chronological order, unless otherwise indicated (Unless otherwise indicated). It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are, for example, capable of operation in sequences other than those illustrated or otherwise described herein.
Furthermore, the terms "comprise" and "have," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a product or apparatus that comprises a list of elements is not necessarily limited to those elements expressly listed, but may include other elements not expressly listed or inherent to such product or apparatus.
The term "module" as used in this disclosure refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and/or software code that is capable of performing the function associated with that element.
Currently, more and more household terminal devices are applied to intelligent voice functions, so that voice control can be realized. For example, the intelligent washing machine can be started or stopped by voice control of a user, and washing time, timing time and the like can also be controlled; for example, an intelligent refrigerator, a user can input information of various food materials through voice, and the like; for example, the intelligent air conditioner can be controlled to be turned on or off by voice, and the temperature can be controlled to be regulated.
While using one intelligent terminal device, if the user wants to use other intelligent terminal devices, the user needs to perform voice control on the other intelligent terminal devices. In daily life, if many intelligent terminals are in home use, the user needs to send out voice instructions for multiple times, respectively call each intelligent terminal device, and then respectively control. In this process, it is likely that it is difficult for a plurality of intelligent terminal devices to determine to whom a voice command is specific, and thus a problem that a plurality of intelligent terminal devices execute one voice command at the same time is confused is caused.
Therefore, according to the method for controlling the intelligent terminal equipment, when a plurality of household intelligent terminal equipment are provided, the voice control operation is complex, and the control accuracy can be ensured.
Based on the above, the embodiments of the present application provide a terminal device control method, apparatus, and terminal device, where when there are many home terminal devices of a user, the user may control one main control terminal device and further control other terminal devices in a unified manner, and use the main control terminal device as a control center, without separately controlling each terminal device, so as to simplify an operation process of controlling multiple terminal devices, and ensure accuracy of control. In addition, according to the types of different terminal equipment, corresponding control instructions can be obtained in different modes, so that the technical scheme of the application can be applied to voice control of various types of terminal equipment, and the application range is wider.
Fig. 1 is a flowchart of a terminal device control method according to an embodiment of the present application, where the method is mainly applied to a master control terminal device according to an embodiment of the present application, and fig. 2 is a schematic view of a scenario in which another terminal device is controlled by the master control terminal device according to an embodiment of the present application. As shown in fig. 1, the terminal device control method includes the steps of:
step S101, a voice control request is acquired.
The voice control request is used for representing a request received by the main control terminal device and used for controlling the target terminal device through voice by a user. The voice control requests sent by the user are generally two types, one is that the user controls the main control terminal device, and the other is that the user controls other terminal devices, and in the embodiment of the application, any request is received by the main control terminal device. As shown in fig. 2, if the main control terminal device is the smart tv 100, the user can say "i want to turn on" to the smart tv 100 by turning on the lamp 200, and then the "i want to turn on" is a voice control request for other terminal devices, and the target terminal device is the lamp 200; if the user says "i want to watch a movie" to the smart tv 100, this "i want to watch a movie" is a voice control request for the master terminal device, and the target terminal device is the smart tv 100 itself.
Step S102, determining the target terminal equipment according to the voice control request.
Typically, when a user requests a control terminal device, the request will be given the name of the terminal device being controlled. For example, in the request of "i want to turn on" described above, the specific "lamp" terminal device name is carried, or in the request of "air conditioner up to once" the specific "air conditioner" terminal device name is carried.
However, not all voice control requests have explicit terminal equipment names, so that the names of the controlled terminal equipment need to be analyzed according to the semantics of the control requests, for example, the target terminal equipment can be analyzed to be the sweeping robot according to the control request of cleaning the ground. The terminal device which can be analyzed according to the request of 'i want to watch the movie' is provided with a plurality of devices such as a smart television itself and a projector which are used as main control terminal devices, and the main control terminal devices cannot analyze the specific names of the target devices at the moment.
Thus, in some embodiments, the step of determining the target terminal device according to the voice control request may further include:
step S201, analyzing the semantics of the voice control request and obtaining the name of the target device of the target terminal device.
For example, according to the request of 'I want to turn on' the target terminal device is analyzed to be a lamp, and according to the request of 'cleaning the ground', the target terminal device is analyzed to be a sweeping robot; for another example, the target terminal device analyzed according to the request of "air conditioner up to one degree" is an air conditioner.
In step S202, if the target device name is the same as the device name of the master terminal device, or the target device name is not resolved, it is determined that the target terminal device is the master terminal device.
If the current main control terminal equipment is the intelligent television, the name of the target equipment is analyzed to be the intelligent television according to the request of turning off the television, and the name is the same as that of the main control terminal equipment; according to the request of 'I want to watch the movie', whether the name of the target device is the smart television or the projector cannot be resolved, so that the target terminal device of the request is determined to be the smart television, namely, the smart television plays the movie.
In step S203, if the target device name is different from the device name of the master terminal device, it is determined that the target terminal device is not the master terminal device.
For example, if the user inputs a voice control request "let projector play movie" through the smart tv, the target terminal device is clearly parsed from the request to be the projector.
In addition, in some embodiments, after receiving the voice control request, the master control terminal device may first convert the voice control request into a request including a packet header and a control body through a certain process by using a receiving module or a device, where the packet header stores an instruction type code for distinguishing the request type, and the control body includes a device type code and a device nickname of the target terminal device. Then the controller in the main control terminal equipment can firstly judge whether the main control terminal equipment meets the requirement of equipment type codes, for example, the equipment type codes indicate that the intelligent television is used, and the type of the main control terminal equipment is a sound box, so that the voice control request is not a request for controlling the main control terminal equipment; if the native type is also a smart tv, the controller needs to further determine if the device nickname is the same as the native device nickname, if the device nickname in the voice control request is the smart tv 600 and the native device nickname is the smart tv 300, then the voice control request is not a request to control the native.
Fig. 3 is a schematic view of another scenario in which other terminal devices are controlled by a main control terminal device, as shown in fig. 3, in a living room and a bedroom of a user's home, smart televisions may be installed respectively, and a user may control a smart television 600 and a smart television 700 in the two bedrooms through a smart television 100 in the living room, where the smart television 100 is used as the main control terminal device, and the smart television 100 needs to determine whether a nickname of a device in a voice control request is the smart television 100, and if so, it is indicated that the user only controls the smart television 100, for example, the nickname is the smart television 600, and it is indicated that the user needs to control the smart television 600 through the smart television 100.
Step S103, in the case that the target terminal device is not the master terminal device, determining the type of the target terminal device.
The type of the target terminal device is determined in the embodiment of the present application, which refers to whether the target terminal device is an intelligent terminal device or a non-intelligent terminal device, for example, an infrared terminal device or the like.
In the actual home environment, the home appliance can be an intelligent terminal device or a non-intelligent terminal device, and for some non-intelligent terminal devices belonging to infrared terminal devices, the home appliance cannot be controlled by voice of a user due to the difference of functions, but the infrared terminal devices can be controlled by the main control terminal device by using the method in the embodiment of the application, and the main control terminal device is used as a transfer device for voice control request to indirectly control the infrared terminal devices.
In addition, since the master control terminal device is a central device for implementing voice control, the master control terminal device in the embodiment of the present application needs to be an intelligent terminal device capable of implementing voice control.
Step S104, according to the type of the target terminal equipment, a control instruction corresponding to the voice control request is acquired.
In the embodiment of the application, for different types of target terminal equipment, because of the difference of communication modes, different communication protocols are required to be used for acquiring the control instructions or different representation modes are required to be used for forming the control instructions.
Step S105, responding to the voice control request, and controlling the target terminal equipment to execute corresponding actions according to the control instruction.
In general, the control command is sent to the target terminal device by the master terminal device, and then the target terminal device executes the control command. For example, the master control terminal device converts a control request of "air conditioner up to one degree" into a control command of "air conditioner up to one degree", and then sends the command to the air conditioner, and the air conditioner executes the command to raise the temperature by one degree.
In addition, in the embodiment of the application, the target terminal equipment which can be controlled by the main control terminal equipment should be the equipment which is bound or correlated with the main control terminal equipment in advance, so that the main control terminal equipment can directly control the target terminal equipment. Further, in some embodiments, the step of controlling the target terminal device to perform the corresponding action according to the control instruction in response to the voice control request may further include:
step S301, inquiring a binding relationship between the target terminal device and the master terminal device.
The binding relationship may also be an association relationship, that is, a user configures in the master terminal device, associates other terminal devices that can be controlled with the master terminal device, and one master terminal device may associate with multiple or multiple other terminal devices. Fig. 4 is a schematic diagram showing association between an intelligent sound box and other intelligent devices according to an embodiment of the present application, as shown in fig. 4, the intelligent sound box 300 is used as a main control terminal device and may be associated with the electric lamp 200, the intelligent television 100, the sweeping robot 400 and the air conditioner 500, respectively, so that a user may control the devices and control contents of the intelligent sound box 300 by speaking the devices and control contents of the intelligent sound box 300.
Step S302, under the condition that the target terminal equipment and the main control terminal equipment are mutually bound, the target terminal equipment is controlled to execute corresponding actions according to the control instruction.
If the target terminal equipment bound with the main control terminal equipment is not queried, the query result can be fed back to the user, the user is reminded to bind or not to bind the target terminal equipment, and the method in the embodiment of the application can be used for controlling the target terminal equipment continuously if the user binds the target terminal equipment with the main control terminal equipment.
From the above, it can be seen that, when there are many home terminal devices of the user, the user can use the method provided in the embodiment of the present application to control one main control terminal device and further control other terminal devices uniformly, and the main control terminal device is used as a control center, so that it is not necessary to control each terminal device separately, simplifying the operation process of controlling multiple terminal devices, and ensuring the accuracy of control.
As described above, for different types of target terminal devices, it is necessary to acquire control instructions using different communication protocols or form control instructions in different representations, respectively. Thus, in some embodiments, the step of obtaining the control instruction corresponding to the voice control request according to the type of the target terminal device further includes:
In step S401, if the target terminal device is an intelligent terminal device, the control command is assembled according to the semantics of the voice control request and the wireless communication protocol.
In step S402, if the target terminal device is an infrared terminal device, the voice control request is converted into a control instruction expressed in an infrared code value according to the semantics of the voice control request.
In addition, the manner of acquiring the infrared code value of the infrared terminal device is related to the type of the infrared terminal device, and in general, the infrared terminal device stores an infrared code library, and can convert the control request into an instruction which can be executed by the infrared terminal device according to the code value in the infrared code library, and the infrared code libraries stored in the infrared terminal device of the same brand are generally the same. Furthermore, in some embodiments, in the case that the target terminal device is an infrared terminal device, it is further required to determine whether the target terminal device and the master terminal device are the same brand product; if the target terminal equipment and the main control terminal equipment are the same brand of products, the voice control request is converted into a control instruction expressed by an infrared code value according to the semantics of the voice control request by utilizing an infrared code library in the main control terminal equipment, and the control instruction can be recognized and executed by the target terminal equipment. If the target terminal equipment and the main control terminal equipment are not products of the same brand, a third-party infrared code library is obtained, wherein the third-party infrared code library can be an infrared code library stored in the target terminal equipment, and therefore the control instruction converted according to the third-party infrared code library can be executed by the target terminal equipment; and finally, converting the voice control request into a control instruction represented by an infrared code value according to the semantics of the voice control request by utilizing a third-party infrared code library.
It can be seen that, the method according to the embodiment of the present application can also obtain the corresponding control instruction by different modes according to different types of terminal devices, so that the method can be applied to voice control of multiple types of terminal devices, and the application range is wider.
If the target terminal device is the master terminal device, it is indicated that the user wants to control the master terminal device, and at this time, the master terminal device needs to convert the voice control request into a control instruction executable by itself, and further, in some embodiments, in case that the target terminal device is the master terminal device, the voice control request is converted into a control instruction executable by the serial port according to the semantics of the voice control request and the serial port protocol. And finally, executing the control instruction by a controller or an upper computer in the main control terminal equipment.
In the above embodiment, the master control terminal device is mainly used as a central device to realize the function of transferring the control request, that is, the user can control other terminal devices through the master control terminal device. Of course, the user may also directly control the master terminal device itself. In fact, the master terminal device is indistinguishable from other terminal devices, and can be controlled by other terminal devices. Further, in some embodiments, the step of obtaining the voice control request further comprises:
step S501, a control request of a user is received.
The control request is used for representing a request received by the main control terminal device for controlling the target terminal device by the user.
In step S502, it is determined whether the control request is a voice control request or a wireless control request by the instruction type code of the control request.
The type of the control request is indicated by an instruction type code, the voice control request is usually a request that the user controls the main control terminal device directly or the user controls other terminal devices through the main control terminal device, and the wireless control request is a request for indicating that the other terminal devices are used for controlling the main control terminal device, that is, the main control terminal device is controlled by the other main control terminal devices as the target terminal device. For example, as shown in fig. 4, the intelligent sound box 300 may be used as a master terminal device to control other terminal devices, and may be used as a target terminal device to be controlled by other devices such as the intelligent television 100, where the request received by the intelligent sound box 300 is typically a wireless control request converted by the intelligent television 100.
In some embodiments, when the master terminal device is controlled as a target terminal device by other master terminal devices, i.e. in the case where the control request is a wireless control request, the control request needs to be parsed according to a wireless communication protocol; converting the parsed control request into a control instruction executable by a serial port according to a serial port protocol; and finally, responding to the control instruction, and executing corresponding actions. For example, the smart speaker 300 in fig. 4 may also be controlled by the smart tv 100 to play a song, etc.
It can be seen that, in the terminal device control method provided by the embodiment of the present application, when the terminal device is used as the main control terminal device, a voice control request of a user for controlling the target terminal device through voice can be received; determining target terminal equipment according to the voice control request; determining the type of the target terminal equipment under the condition that the target terminal equipment is not the main control terminal equipment; according to the type of the target terminal equipment, a control instruction corresponding to the voice control request is acquired; and finally, controlling the target terminal equipment to execute corresponding actions according to the control instruction. When a plurality of household terminal devices are available for users, the users can control other terminal devices uniformly by controlling one main control terminal device, the main control terminal device is used as a control center, the independent control for each terminal device is not needed, the operation process of the control of a plurality of terminal devices is simplified, and the control accuracy is ensured. In addition, according to the types of different terminal equipment, corresponding control instructions can be obtained in different modes, so that the technical scheme of the application can be applied to voice control of various types of terminal equipment, and the application range is wider.
Fig. 5 is a flowchart of another method for controlling a terminal device according to an embodiment of the present application, where in fig. 5, in combination with the content of some embodiments described above, another method for controlling a terminal device is formed, and the method mainly includes the following contents:
The main control terminal equipment receives a control request of a user, if the control request is a wireless control request, the main control terminal equipment is controlled by other terminal equipment as a controlled terminal equipment, and if the control request is a voice control request, the main control terminal equipment continues to analyze the voice control request, and whether the target terminal equipment is the same as the main control terminal equipment is determined. If the control command is the same, determining that the user controls the main control terminal equipment, and executing the control command by the main control terminal equipment at the moment; if the intelligent terminal equipment is not the same, continuing to judge whether the intelligent terminal equipment is the infrared terminal equipment of the target terminal equipment. If the control command is the intelligent terminal equipment, the main control terminal equipment can directly send the control command to the target terminal equipment, and the target terminal equipment executes the control command; if the product is the infrared terminal equipment, whether the infrared terminal equipment and the main control terminal equipment are the products of the same brand needs to be continuously judged. If the two brands are the same, the voice control request can be directly converted into a control instruction represented by an infrared code value according to an infrared code library in the main control terminal equipment; if the voice control request is not the same brand, a third-party infrared code library corresponding to the target terminal equipment is required to be acquired, and the voice control request is converted into a control instruction represented by an infrared code value according to the third-party infrared code library. After the control instruction is generated, the main control terminal equipment sends the control instruction to the infrared terminal equipment and the infrared terminal equipment executes the control instruction.
Fig. 6 is a block diagram illustrating a configuration of a terminal device control apparatus according to an embodiment of the present application. As shown in fig. 6, the apparatus includes: a request acquisition module 61 for acquiring a voice control request; the voice control request is used for representing a request received by the main control terminal equipment, which is sent by a user, for controlling the target terminal equipment through voice; a target device determining module 62, configured to determine the target terminal device according to the voice control request; a device type determining module 63, configured to determine a type of the target terminal device if the target terminal device is not the master terminal device; an instruction obtaining module 64, configured to obtain a control instruction corresponding to the voice control request according to the type of the target terminal device; and the control module 65 is configured to control the target terminal device to execute a corresponding action according to the control instruction in response to the voice control request.
In some embodiments, the target device determination module is further to: analyzing the semantics of the voice control request to obtain the name of the target equipment of the target terminal equipment; if the target equipment name is the same as the equipment name of the main control terminal equipment or the target equipment name is not resolved, determining that the target terminal equipment is the main control terminal equipment; and if the target equipment name is different from the equipment name of the main control terminal equipment, determining that the target terminal equipment is not the main control terminal equipment.
In some embodiments, the instruction fetch module is further to: and under the condition that the target terminal equipment is the main control terminal equipment, converting the voice control request into a control instruction executable by a serial port according to the semantics of the voice control request and a serial port protocol.
In some embodiments, the instruction fetch module is further to: if the target terminal equipment is intelligent terminal equipment, the control instruction is assembled according to the semantics of the voice control request and a wireless communication protocol; and if the target terminal equipment is infrared terminal equipment, converting the voice control request into a control instruction expressed by an infrared code value according to the semantics of the voice control request.
In some embodiments, the instruction fetch module is further to: judging whether the target terminal equipment and the main control terminal equipment are the same brand products or not under the condition that the target terminal equipment is infrared terminal equipment; if yes, converting the voice control request into a control instruction represented by an infrared code value according to the semantics of the voice control request by utilizing an infrared code library in the main control terminal equipment; if not, acquiring a third-party infrared code library; and converting the voice control request into a control instruction represented by an infrared code value according to the semantics of the voice control request by utilizing the third-party infrared code library.
In some embodiments, the request acquisition module is further to: receiving a control request of a user; the control request is used for representing a request of a user control target terminal device received by the main control terminal device; judging whether the control request is a voice control request or a wireless control request through an instruction type code of the control request; the wireless control request is used for representing the request of other terminal equipment for controlling the main control terminal equipment.
In some embodiments, the request acquisition module is further to: analyzing the control request according to a wireless communication protocol under the condition that the control request is a wireless control request; according to a serial port protocol, converting the parsed control request into a control instruction executable by a serial port; and responding to the control instruction, and executing corresponding actions.
In some embodiments, the control module is further to: inquiring a binding relation between the target terminal equipment and the main control terminal equipment; and under the condition that the target terminal equipment and the main control terminal equipment are mutually bound, controlling the target terminal equipment to execute corresponding actions according to the control instruction.
The embodiment of the application also provides a terminal device which is used as a main control terminal and comprises a controller; the controller is configured to perform the steps of:
Acquiring a voice control request; the voice control request is used for representing a request received by the main control terminal equipment, which is sent by a user, for controlling the target terminal equipment through voice; determining the target terminal equipment according to the voice control request; determining the type of the target terminal device if the target terminal device is not the master terminal device; according to the type of the target terminal equipment, a control instruction corresponding to the voice control request is acquired; and responding to the voice control request, and controlling the target terminal equipment to execute corresponding actions according to the control instruction.
In some embodiments, the controller is further configured to: analyzing the semantics of the voice control request to obtain the name of the target equipment of the target terminal equipment; if the target equipment name is the same as the equipment name of the main control terminal equipment or the target equipment name is not resolved, determining that the target terminal equipment is the main control terminal equipment; and if the target equipment name is different from the equipment name of the main control terminal equipment, determining that the target terminal equipment is not the main control terminal equipment.
In some embodiments, the controller is further configured to: and under the condition that the target terminal equipment is the main control terminal equipment, converting the voice control request into a control instruction executable by a serial port according to the semantics of the voice control request and a serial port protocol.
In some embodiments, the controller is further configured to: if the target terminal equipment is intelligent terminal equipment, the control instruction is assembled according to the semantics of the voice control request and a wireless communication protocol; and if the target terminal equipment is infrared terminal equipment, converting the voice control request into a control instruction expressed by an infrared code value according to the semantics of the voice control request.
In some embodiments, the controller is further configured to: judging whether the target terminal equipment and the main control terminal equipment are the same brand products or not under the condition that the target terminal equipment is infrared terminal equipment; if yes, converting the voice control request into a control instruction represented by an infrared code value according to the semantics of the voice control request by utilizing an infrared code library in the main control terminal equipment; if not, acquiring a third-party infrared code library; and converting the voice control request into a control instruction represented by an infrared code value according to the semantics of the voice control request by utilizing the third-party infrared code library.
In some embodiments, the controller is further configured to: receiving a control request of a user; the control request is used for representing a request of a user control target terminal device received by the main control terminal device; judging whether the control request is a voice control request or a wireless control request through an instruction type code of the control request; the wireless control request is used for representing the request of other terminal equipment for controlling the main control terminal equipment.
In some embodiments, the controller is further configured to: analyzing the control request according to a wireless communication protocol under the condition that the control request is a wireless control request; according to a serial port protocol, converting the parsed control request into a control instruction executable by a serial port; and responding to the control instruction, and executing corresponding actions.
In some embodiments, the controller is further configured to: inquiring a binding relation between the target terminal equipment and the main control terminal equipment; and under the condition that the target terminal equipment and the main control terminal equipment are mutually bound, controlling the target terminal equipment to execute corresponding actions according to the control instruction.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.
The foregoing description, for purposes of explanation, has been presented in conjunction with specific embodiments. The illustrative discussions above are not intended to be exhaustive or to limit the embodiments to the precise forms disclosed above. Many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles and the practical application, to thereby enable others skilled in the art to best utilize the embodiments and various embodiments with various modifications as are suited to the particular use contemplated.

Claims (9)

1. A terminal device control method, comprising:
acquiring a voice control request; the voice control request is used for representing a request received by the main control terminal equipment, which is sent by a user, for controlling the target terminal equipment through voice;
determining the target terminal equipment according to the voice control request;
determining the type of the target terminal device if the target terminal device is not the master terminal device;
According to the type of the target terminal equipment, a control instruction corresponding to the voice control request is acquired;
Responding to the voice control request, and controlling the target terminal equipment to execute corresponding actions according to the control instruction;
wherein the step of determining the target terminal device according to the voice control request includes:
Analyzing the semantics of the voice control request to obtain the name of the target equipment of the target terminal equipment;
if the target equipment name is the same as the equipment name of the main control terminal equipment or the target equipment name is not analyzed, determining that the target terminal equipment is the main control terminal equipment;
and if the target equipment name is different from the equipment name of the main control terminal equipment, determining that the target terminal equipment is not the main control terminal equipment, and determining the equipment corresponding to the target equipment name as the target terminal equipment.
2. The method according to claim 1, wherein the step of acquiring the control instruction corresponding to the voice control request according to the type of the target terminal device includes:
And under the condition that the target terminal equipment is the main control terminal equipment, converting the voice control request into a control instruction executable by a serial port according to the semantics of the voice control request and a serial port protocol.
3. The method according to claim 1, wherein the step of acquiring the control instruction corresponding to the voice control request according to the type of the target terminal device further comprises:
if the target terminal equipment is intelligent terminal equipment, the control instruction is assembled according to the semantics of the voice control request and a wireless communication protocol;
and if the target terminal equipment is infrared terminal equipment, converting the voice control request into a control instruction expressed by an infrared code value according to the semantics of the voice control request.
4. The method of claim 3, wherein the step of acquiring the control command corresponding to the voice control request according to the type of the target terminal device further comprises:
Judging whether the target terminal equipment and the main control terminal equipment are the same brand products or not under the condition that the target terminal equipment is infrared terminal equipment;
If yes, converting the voice control request into a control instruction represented by an infrared code value according to the semantics of the voice control request by utilizing an infrared code library in the main control terminal equipment;
If not, acquiring a third-party infrared code library;
And converting the voice control request into a control instruction represented by an infrared code value according to the semantics of the voice control request by utilizing the third-party infrared code library.
5. The method of claim 1, wherein the step of obtaining a voice control request comprises:
Receiving a control request of a user; the control request is used for representing a request of a user control target terminal device received by the main control terminal device;
judging whether the control request is a voice control request or a wireless control request through an instruction type code of the control request; the wireless control request is used for representing the request of other terminal equipment for controlling the main control terminal equipment.
6. The method of claim 5, wherein after the step of determining whether the control request is a voice control request or a wireless control request by the instruction type code of the control request, further comprising:
Analyzing the control request according to a wireless communication protocol under the condition that the control request is a wireless control request;
according to a serial port protocol, converting the parsed control request into a control instruction executable by a serial port;
And responding to the control instruction, and executing corresponding actions.
7. The method according to claim 1, wherein the step of controlling the target terminal device to perform the corresponding action according to the control instruction in response to the voice control request comprises:
inquiring a binding relation between the target terminal equipment and the main control terminal equipment;
and under the condition that the target terminal equipment and the main control terminal equipment are mutually bound, controlling the target terminal equipment to execute corresponding actions according to the control instruction.
8. A terminal device control apparatus, characterized by comprising:
The request acquisition module is used for acquiring a voice control request; the voice control request is used for representing a request received by the main control terminal equipment, which is sent by a user, for controlling the target terminal equipment through voice;
A target device determining module, configured to determine the target terminal device according to the voice control request;
a device type determining module, configured to determine a type of the target terminal device if the target terminal device is not the master terminal device;
The instruction acquisition module is used for acquiring a control instruction corresponding to the voice control request according to the type of the target terminal equipment;
The control module is used for responding to the voice control request and controlling the target terminal equipment to execute corresponding actions according to the control instruction;
Wherein the target device determination module is further configured to: analyzing the semantics of the voice control request to obtain the name of the target equipment of the target terminal equipment; if the target equipment name is the same as the equipment name of the main control terminal equipment or the target equipment name is not resolved, determining that the target terminal equipment is the main control terminal equipment; and if the target equipment name is different from the equipment name of the main control terminal equipment, determining that the target terminal equipment is not the main control terminal equipment, and determining the equipment corresponding to the target equipment name as the target terminal equipment.
9. A terminal device, comprising:
A controller configured to perform the steps of:
acquiring a voice control request; the voice control request is used for representing a request received by the main control terminal equipment, which is sent by a user, for controlling the target terminal equipment through voice;
determining the target terminal equipment according to the voice control request;
determining the type of the target terminal device if the target terminal device is not the master terminal device;
According to the type of the target terminal equipment, a control instruction corresponding to the voice control request is acquired;
Responding to the voice control request, and controlling the target terminal equipment to execute corresponding actions according to the control instruction;
Wherein the controller determines the target terminal device according to the voice control request, including:
Analyzing the semantics of the voice control request to obtain the name of the target equipment of the target terminal equipment;
if the target equipment name is the same as the equipment name of the main control terminal equipment or the target equipment name is not analyzed, determining that the target terminal equipment is the main control terminal equipment;
and if the target equipment name is different from the equipment name of the main control terminal equipment, determining that the target terminal equipment is not the main control terminal equipment, and determining the equipment corresponding to the target equipment name as the target terminal equipment.
CN202010766782.5A 2020-08-03 2020-08-03 Terminal equipment control method and device and terminal equipment Active CN111883129B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010766782.5A CN111883129B (en) 2020-08-03 2020-08-03 Terminal equipment control method and device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010766782.5A CN111883129B (en) 2020-08-03 2020-08-03 Terminal equipment control method and device and terminal equipment

Publications (2)

Publication Number Publication Date
CN111883129A CN111883129A (en) 2020-11-03
CN111883129B true CN111883129B (en) 2024-05-03

Family

ID=73204391

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010766782.5A Active CN111883129B (en) 2020-08-03 2020-08-03 Terminal equipment control method and device and terminal equipment

Country Status (1)

Country Link
CN (1) CN111883129B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115077161B (en) * 2021-03-10 2024-04-23 松下电器研究开发(苏州)有限公司 Refrigerator and intelligent refrigerator system
CN115077157B (en) * 2021-03-10 2024-04-23 松下电器研究开发(苏州)有限公司 Refrigerator and intelligent refrigerator system
CN115077158A (en) * 2021-03-10 2022-09-20 松下电器研究开发(苏州)有限公司 Refrigerator, intelligent refrigerator system
CN115077155B (en) * 2021-03-10 2023-12-22 松下电器研究开发(苏州)有限公司 Refrigerator and intelligent refrigerator system
CN115077160A (en) * 2021-03-10 2022-09-20 松下电器研究开发(苏州)有限公司 Refrigerator, intelligent refrigerator system
CN115077162A (en) * 2021-03-10 2022-09-20 松下电器研究开发(苏州)有限公司 Refrigerator and intelligent refrigerator system
CN113450792A (en) * 2021-06-22 2021-09-28 海信视像科技股份有限公司 Voice control method of terminal equipment, terminal equipment and server
CN117882130A (en) * 2021-06-22 2024-04-12 海信视像科技股份有限公司 Terminal equipment and server for voice control
CN113641110B (en) * 2021-10-14 2022-03-25 深圳传音控股股份有限公司 Processing method, processing device and readable storage medium
CN114513380B (en) * 2022-01-25 2024-01-16 青岛海尔空调器有限总公司 Method and device for controlling household electrical appliance, household electrical appliance and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016023267A1 (en) * 2014-08-13 2016-02-18 中兴通讯股份有限公司 Voice control-based family networking method, system and device
CN105405442A (en) * 2015-10-28 2016-03-16 小米科技有限责任公司 Speech recognition method, device and equipment
CN105472430A (en) * 2015-11-20 2016-04-06 青岛海信电器股份有限公司 Method of making mobile terminal ring through intelligent television, equipment and system thereof
CN106886166A (en) * 2015-12-11 2017-06-23 美的集团股份有限公司 Method, device and the audio amplifier of household electrical appliance are controlled by audio amplifier
CN108694946A (en) * 2018-05-09 2018-10-23 四川斐讯信息技术有限公司 A kind of speaker control method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016023267A1 (en) * 2014-08-13 2016-02-18 中兴通讯股份有限公司 Voice control-based family networking method, system and device
CN105405442A (en) * 2015-10-28 2016-03-16 小米科技有限责任公司 Speech recognition method, device and equipment
CN105472430A (en) * 2015-11-20 2016-04-06 青岛海信电器股份有限公司 Method of making mobile terminal ring through intelligent television, equipment and system thereof
CN106886166A (en) * 2015-12-11 2017-06-23 美的集团股份有限公司 Method, device and the audio amplifier of household electrical appliance are controlled by audio amplifier
CN108694946A (en) * 2018-05-09 2018-10-23 四川斐讯信息技术有限公司 A kind of speaker control method and system

Also Published As

Publication number Publication date
CN111883129A (en) 2020-11-03

Similar Documents

Publication Publication Date Title
CN111883129B (en) Terminal equipment control method and device and terminal equipment
US10620782B2 (en) Apparatus and method for remotely controlling peripheral devices in mobile communication terminal
US20110157476A1 (en) System and method for saving and recalling state data for media and home appliances
US20030100962A1 (en) Appliance control system and method using mobile communications terminal, and home gateway
CN105700365A (en) Generation method and device for household electrical appliance control interface of mobile terminal
WO2017024948A1 (en) Intelligent terminal remote controller instrumented control system and control method
US20060190571A1 (en) Service framework for home network
JP6392321B2 (en) Smart TV remote control method and related apparatus
JP2008040858A (en) Information processing equipment and information processing system
CN110618614A (en) Control method and device for smart home, storage medium and robot
CN103581316A (en) Intercommunication control system and method of internet-of-things controllers
CN113253625A (en) Intelligent household control method, device, equipment and storage medium
JP2007096972A (en) Signal receiver, and its received signal control method and program
CN112837526A (en) Universal integrated remote control method, control device and universal integrated remote control device
JP5958177B2 (en) Electronic device activation control device, electronic device activation control system, electronic device activation control method, and program
JP2003259463A (en) Control apparatus for home information appliance
CN105487387A (en) Intelligent household control method and device
CN106162283A (en) For the control code sending method of television set, device and television set
JP2007172289A (en) Network equipment management device, network management system and network equipment management method
CN111833860A (en) Binding method and device of intelligent equipment, electronic equipment and storage medium
CN107493394B (en) System and method for controlling Bluetooth equipment by mobile phone through Wi-Fi
JP2008154217A (en) Remote control system
CN107018346B (en) Signal response method and device
WO2018003116A1 (en) Control method for appliance control system, appliance control system, and adapter
WO2013189459A2 (en) Remote control operation method and device

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