CN112147903A - Equipment control method and device and computer readable storage medium - Google Patents

Equipment control method and device and computer readable storage medium Download PDF

Info

Publication number
CN112147903A
CN112147903A CN201910565292.6A CN201910565292A CN112147903A CN 112147903 A CN112147903 A CN 112147903A CN 201910565292 A CN201910565292 A CN 201910565292A CN 112147903 A CN112147903 A CN 112147903A
Authority
CN
China
Prior art keywords
control
control instruction
timer
information
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.)
Pending
Application number
CN201910565292.6A
Other languages
Chinese (zh)
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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Shanghai Xiaodu Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201910565292.6A priority Critical patent/CN112147903A/en
Publication of CN112147903A publication Critical patent/CN112147903A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The embodiment of the invention provides a method and a device for controlling equipment and a computer readable storage medium, wherein the method comprises the following steps: receiving voice control information from a first device; recognizing a timing control intention from the voice control information; generating a first control instruction and a timer request according to the timing control intention, wherein the timer request comprises trigger time; and controlling the first equipment to send a second control instruction to second equipment according to the first control instruction at the trigger time. The invention can be operated at any time required by the user. It is not limited to setting only the timing in minutes or in hours.

Description

Equipment control method and device and computer readable storage medium
Technical Field
The present invention relates to the field of automatic control technologies, and in particular, to a method and an apparatus for controlling a device, and a computer-readable storage medium.
Background
Conventional non-intelligent devices currently used by users are not friendly to support timing control. Conventional devices such as air conditioners, fans, etc. require a remote controller for timed operation. And time intervals such as half an hour, one hour and the like are divided in the year. Most infrared devices such as televisions and set-top boxes do not support operations such as time switches and time channels, and users cannot complete time control operations.
Disclosure of Invention
Embodiments of the present invention provide a device control method, an apparatus, and a computer-readable storage medium, so as to solve one or more technical problems in the prior art.
In a first aspect, an embodiment of the present invention provides a method for controlling a device, including:
receiving voice control information from a first device;
recognizing a timing control intention from the voice control information;
generating a first control instruction and a timer request according to the timing control intention, wherein the timer request comprises trigger time;
and controlling the first equipment to send a second control instruction to second equipment according to the first control instruction at the trigger time.
In one embodiment, the method further comprises:
sending the first control instruction and the timer request to a timer service;
and receiving a callback request sent by the timer service in the trigger time, wherein the callback request comprises the first control instruction.
In one embodiment, the method further comprises:
caching the first control instruction;
sending the timer request to a timer service;
receiving a callback request sent by the timer service at the trigger time;
and searching the first control instruction corresponding to the trigger time.
In one embodiment, the method further comprises:
sending token information to a timer service;
the callback request further includes information to be verified, and after receiving the callback request sent by the timer service at the trigger time, the method further includes: and verifying whether the information to be verified in the callback request conforms to the token information.
In one embodiment, the controlling the first device to send a second control instruction to a second device according to the first control instruction at the trigger time includes:
acquiring an infrared code from the first control instruction;
and sending an infrared control signal to the second equipment according to the infrared code.
In one embodiment, the method further comprises:
the method comprises the steps of obtaining control information of second equipment in advance, wherein the control information of the second equipment at least comprises a name of the second equipment and a first control instruction.
In a second aspect, an embodiment of the present invention provides a device control apparatus, including:
the information receiving module is used for receiving the voice control information from the first equipment;
the information identification module is used for identifying a timing control intention from the voice control information;
the instruction and request generation module is used for generating a first control instruction and a timer request according to the timing control intention, wherein the timer request comprises trigger time;
and the instruction sending module is used for controlling the first equipment to send a second control instruction to the second equipment at the triggering time according to the first control instruction.
In one embodiment, the method further comprises:
an instruction and request sending module, configured to send the first control instruction and the timer request to a timer service;
and a callback request receiving module, configured to receive a callback request sent by the timer service at the trigger time, where the callback request includes the first control instruction.
In one embodiment, the method further comprises:
the cache module is used for caching the first control instruction;
a timer request sending module, configured to send the timer request to a timer service;
a callback request receiving module, configured to receive a callback request sent by the timer service at the trigger time;
and the control instruction searching module is used for searching the first control instruction corresponding to the trigger time.
In one embodiment, the method further comprises:
the token information sending module is used for sending token information to the timer service;
and the verification module is used for verifying whether the information to be verified included in the callback request conforms to the token information or not under the condition of receiving the callback request sent by the timer service at the trigger time.
In one embodiment, the instruction sending module comprises:
the infrared code acquisition module is used for acquiring an infrared code from the first control instruction;
and the infrared control signal sending module is used for sending an infrared control signal to the second equipment according to the infrared code.
In one embodiment, the method further comprises:
the control information pre-acquisition module of the second device is used for pre-acquiring the control information of the second device, and the control information of the second device at least comprises the name of the second device and the first control instruction.
In a third aspect, an embodiment of the present invention provides a device for controlling an apparatus, where functions of the device may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-described functions.
In one possible design, the apparatus includes a processor and a memory, the memory is used for storing a program supporting the apparatus to execute the method for controlling the device, and the processor is configured to execute the program stored in the memory. The apparatus may also include a communication interface for communicating with other devices or a communication network.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium for storing computer software instructions for a control apparatus of a device, which includes a program for executing a control method of the device.
One of the above technical solutions has the following advantages or beneficial effects: the capabilities of controlled devices that already support timing settings can be extended. The operation can be performed at any time desired by the user. It is not limited to setting only the timing in minutes or in hours.
Another technical scheme in the above technical scheme has the following advantages or beneficial effects: and enabling the controlled equipment which originally does not support the timing task to support the timing task. A controlled device may set multiple timings and/or cycle timings. The user can realize the timing task through intelligent speech equipment, need not operate through the remote controller, and speed is faster, and is more convenient.
The foregoing summary is provided for the purpose of description only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments, and features described above, further aspects, embodiments, and features of the present invention will be readily apparent by reference to the drawings and following detailed description.
Drawings
In the drawings, like reference numerals refer to the same or similar parts or elements throughout the several views unless otherwise specified. The figures are not necessarily to scale. It is appreciated that these drawings depict only some embodiments in accordance with the disclosure and are therefore not to be considered limiting of its scope.
Fig. 1 shows a flowchart of a control method of an apparatus according to an embodiment of the present invention.
Fig. 2 shows a flowchart of a control method of an apparatus according to an embodiment of the present invention.
Fig. 3 shows a flowchart of a control method of an apparatus according to an embodiment of the present invention.
Fig. 4 shows a flowchart of a control method of an apparatus according to an embodiment of the present invention.
Fig. 5 shows a flowchart of a control method of an apparatus according to an embodiment of the present invention.
Fig. 6 shows a flowchart of a control method of an apparatus according to an embodiment of the present invention.
Fig. 7 shows a block diagram of a control device of an apparatus according to an embodiment of the present invention.
Fig. 8 shows a block diagram of a control device of an apparatus according to an embodiment of the present invention.
Fig. 9 shows a block diagram of a control device of an apparatus according to an embodiment of the present invention.
Fig. 10 shows a block diagram of a control device of an apparatus according to an embodiment of the present invention.
Fig. 11 shows a block diagram of a control device of an apparatus according to an embodiment of the present invention.
Fig. 12 shows a block diagram of a control device of an apparatus according to an embodiment of the present invention.
Detailed Description
In the following, only certain exemplary embodiments are briefly described. As those skilled in the art will recognize, the described embodiments may be modified in various different ways, all without departing from the spirit or scope of the present invention. Accordingly, the drawings and description are to be regarded as illustrative in nature, and not as restrictive.
Fig. 1 shows a flow chart of a control method of an apparatus according to an embodiment of the invention. As shown in fig. 1, the method comprises the steps of:
s101: voice control information is received from a first device.
In an embodiment of the invention, the first device comprises a device integrating a communication function and a voice function. The communication function may include infrared communication, Zigbee communication, bluetooth communication, radio frequency communication, WiFi communication, and the like. The voice functions may include voice pickup, voice signal noise reduction, voice signal recognition, and the like. The first device may include a smart voice speaker, a smart voice box, or the like. After the user sends out the voice for controlling the first device, the first device can receive the voice control information through a sound pickup device such as a microphone. For example, the voice control information corresponding to the user voice may include "switch off the bedroom air conditioner at 1 am tomorrow", "switch on the living room television at 8 am every day", "set the air conditioner at 8 am to the automatic mode, and switch off the air conditioner at 10 pm" and the like. The first device may upload the voice control information it receives to the device control server.
In one example, the first device may receive voice control information in an audio form or a text form, which is sent by a user through a device such as a smart phone, by connecting with the device such as the smart phone, in addition to receiving the voice control information in an audio form through a sound pickup device, and then upload the received voice control information to the device control server.
S102: a timing control intent is identified from the voice control information.
And the equipment control server identifies the timing control intention of the user through voice identification and semantic analysis. The timing control intention can comprise a controlled object, an action instruction of the controlled object, the time for executing the action instruction and the like.
The controlled object may be a second device described later, for example, the controlled object may include an air conditioner in a bedroom, a television in a living room, and the like. If a plurality of identical controlled objects exist, for example, a plurality of air conditioners or televisions exist in a family, the controlled objects can be distinguished by the model or the custom name of the controlled equipment. For example, the controlled objects are a plurality of air conditioners, each including: air conditioner of A brand X model, air conditioner of B brand Y model. If the controlled object is a plurality of televisions, the method respectively comprises the following steps: my television, too television, etc.
The action command of the controlled object can comprise closing, opening, increasing the temperature by n degrees, switching to a certain television station, reducing the volume by m percent and the like.
The time for executing the action command may include specific time, period, duration, etc., for example, 1 am tomorrow, 3 minutes later, 8 am each day, etc.
S103: and generating a first control instruction and a timer request according to the timing control intention, wherein the timer request comprises trigger time.
The first control instruction may be a specific control parameter for executing each action corresponding to the controlled object. The device control server recognizes the timing control intention and converts the timing control intention into specific control parameters. For example, if the timing control is intended to be "close the bedroom air conditioner at 1 am tomorrow", the device control server queries the control parameters corresponding to the closing action from all the control parameters of the bedroom air conditioner. The trigger time may be 1 am tomorrow in the timing control intent.
If the controlled object in the timing control intention is unique, for example, "closing the bedroom air conditioner at 1 point in the morning in tomorrow", the control parameter for closing the bedroom air conditioner can be directly generated according to the timing control intention.
If the controlled object in the timing control intention is not unique, for example, "turn off the air conditioners at 1 am tomorrow", the control parameters for turning off the air conditioners (at home) can be generated respectively.
If the action instruction in the timing control intention is not unique, for example, "8 o 'clock bedroom air conditioners are set to be in automatic mode at night, and the bedroom air conditioners are closed at 10 o' clock at night", 2 control parameters are correspondingly generated. The 1 st control parameter comprises a control parameter for setting the air conditioner to be in an automatic mode at 8 pm. The 2 nd control parameter includes the control parameter for turning off the air conditioner at night 10.
The trigger time may be the same as the time for executing the action command, or may be set again according to the time for executing the action command. For example, the time for executing the action command is "8 pm", the trigger time may be set to "8 pm", or may be set to a time that is a certain time length away from the time for executing the action command. For example, 3 seconds before "8 pm" is the trigger time. The triggering time is earlier than the time for executing the action instruction, so that the delay is reduced, and the action instruction is executed in time.
S104: and controlling the first equipment to send a second control instruction to second equipment according to the first control instruction at the trigger time.
And when the triggering time is reached, the equipment control server sends the first control instruction to the first equipment. And the first equipment modulates the first control instruction to generate a second control instruction, and broadcasts the second control instruction. The form of the broadcast may include infrared broadcast, Zigbee broadcast, bluetooth broadcast, radio frequency broadcast, WiFi broadcast, or the like. In the case of bluetooth broadcast or WiFi broadcast, networking in advance is required to perform broadcast. For example, the first device and a plurality of second devices adopt a Bluetooth or WiFi communication system to be networked in advance. And when the trigger time is reached, the equipment control server broadcasts the first control instruction in a Bluetooth or WiFi mode.
And a second device, namely the controlled object. And performing corresponding action after receiving the broadcast. For example, the bedroom air conditioner performs a closing action after receiving the broadcast.
As shown in fig. 2, in one embodiment, the method further comprises the steps of:
s201: sending the first control instruction and the timer request to a timer service.
The timer service may be a separate network service as a sub-module of the device control server. The timer request may include a trigger time and a callback request. After the timer service executes the timing function until the trigger time is reached, the timer service may send the first control instruction received by the timer service to the device control server through the callback request.
And after generating a first control instruction and a timer request according to the timing control intention, the equipment control server sends the first control instruction and the timer request to a timer service.
And the timer service counts time, and sends a first control instruction to the equipment control server according to the callback request under the condition that the trigger time in the timing request is reached.
S202: and receiving a callback request sent by the timer service in the trigger time, wherein the callback request comprises the first control instruction.
Through the steps, the timer service is responsible for timing and storing the first control instruction. And when the trigger time is reached, directly receiving a first control instruction sent by the timer service and outputting the first control instruction. Thereby saving the working time and the storage space of the device control server.
As shown in fig. 3, in one embodiment, the method further comprises the steps of:
s301: and caching the first control instruction.
And after the equipment control server generates a first control instruction and a timer request according to the timing control intention, establishing an association relationship between the first control instruction and the timer request. E.g. establishing the same labels or establishing a mapping of each other etc. The equipment control server caches the first control instruction to a storage database. And loading the information of the corresponding relation in the first control instruction and the timer request respectively.
S302: sending the timer request to a timer service.
The timer request may include a trigger time and a callback request. The callback request may be used for sending the information of the correspondence loaded in the timer request to the device control server when the timer service executes the timing function until the trigger time is reached.
S303: and receiving a callback request sent by the timer service at the trigger time.
S304: and searching the first control instruction corresponding to the trigger time.
And searching a first control instruction in the storage database based on the information of the corresponding relation.
Through the steps, the data transmitted between the equipment control server and the timer service only comprise the timer request and the callback request, and the transmission data volume is small, so that the bandwidth can be saved.
As shown in fig. 4, in one embodiment, the method further comprises the steps of:
s401: the token information is sent to a timer service.
The device control server creates token information (token). For example, the creation of token information may be performed once each time a timing control intention is recognized from the voice control information. The created token information is transmitted to the timer service while interacting with the timer service.
S402: the callback request further includes information to be verified, and after receiving the callback request sent by the timer service at the trigger time, the method further includes: and verifying whether the information to be verified in the callback request conforms to the token information.
Through the steps, a verification mechanism is added, and the consistency of the information sent to the timer service by the equipment control server and the information received from the timer service is ensured.
As shown in fig. 5, in an embodiment, the controlling the first device to send a second control instruction to a second device according to the first control instruction at the trigger time includes:
s501: and acquiring an infrared code from the first control instruction.
S502: and sending an infrared control signal to the second equipment according to the infrared code.
For example, the first device modulates the corresponding infrared pulse signal according to the infrared code of the first control instruction, and transmits the infrared pulse signal through the infrared transmitting tube.
In one embodiment, the method further comprises the steps of:
the method comprises the steps of obtaining control information of second equipment in advance, wherein the control information of the second equipment at least comprises a name of the second equipment and a first control instruction.
The manner of acquisition may include pre-download or learning. For example, an infrared-controlled television of a brand a and a model X may be used to download an infrared code library of the television of the model in advance, or communicate with a remote controller of the television of the model to acquire a control code to complete learning. For example, the intelligent device controlled by other modes such as Zigbee control, bluetooth control, radio frequency control, WiFi control, or the like may acquire the control code in a downloading mode.
As shown in fig. 6, in one embodiment, the flow of the device control method includes the following steps:
s601: the user inputs a voice control instruction to the first device through voice. For example, "turn off the air conditioner at 1 am" in the morning "and turn on the tv at 8 am" every day. The first device may be a smart voice device.
S602: the first device sends the voice control instruction of the user to the device control server.
S603: and after the equipment control server performs voice recognition and semantic analysis, recognizing the timing control intention of the user. Corresponding control instruction codes and timer requests are then generated according to the time in the timing control intent. Taking the controlled object as a traditional electric appliance with an infrared control function as an example, the generated corresponding instruction is an infrared control instruction code.
And storing the infrared control instruction code to a timer for service. The timer request is used for informing the timer service to call back the equipment control server at the corresponding time, and the call-back of the equipment control server comprises the step of sending the infrared control instruction code back to the equipment control server at the preset time.
S604: in the case where the predetermined time is reached, the timer service transmits a request to the device control server.
S605: and after receiving the request of the timer service, the equipment control server pushes the previously saved infrared control instruction code to the first equipment. For example, an air conditioner closing instruction comprises an infrared code for closing the air conditioner.
S606: and after receiving the infrared control instruction code, the first equipment modulates and sends an infrared pulse signal. The controlled device receives the infrared pulse signal to respond. The response is, for example, that the air conditioner performs a closing operation.
Fig. 7 shows a block diagram of a control device of an apparatus according to an embodiment of the present invention. As shown in fig. 7, the apparatus includes:
an information receiving module 701, configured to receive voice control information from a first device.
An information identification module 702, configured to identify a timing control intention from the voice control information.
An instruction and request generating module 703 is configured to generate a first control instruction and a timer request according to the timing control intention, where the timer request includes a trigger time.
An instruction sending module 704, configured to control the first device to send a second control instruction to a second device according to the first control instruction at the trigger time.
As shown in fig. 8, in one embodiment, the apparatus further comprises:
an instruction and request sending module 801, configured to send the first control instruction and the timer request to a timer service.
A callback request receiving module 802, configured to receive a callback request sent by the timer service at the trigger time, where the callback request includes the first control instruction.
As shown in fig. 9, in one embodiment, the apparatus further comprises:
a caching module 901, configured to cache the first control instruction.
A timer request sending module 902, configured to send the timer request to a timer service.
A callback request receiving module 903, configured to receive a callback request sent by the timer service at the trigger time.
A control instruction searching module 904, configured to search for the first control instruction corresponding to the trigger time.
As shown in fig. 10, in one embodiment, the apparatus further comprises:
a token information sending module 1001 configured to send token information to a timer service;
the verifying module 1002, when receiving the callback request sent by the timer service at the trigger time, verifies whether the to-be-verified information included in the callback request conforms to the token information.
As shown in fig. 11, in one embodiment, the instruction sending module 704 includes:
an infrared code acquiring module 7041, configured to acquire an infrared code from the first control instruction;
and an infrared control signal sending module 7042, configured to send an infrared control signal to the second device according to the infrared code.
In one embodiment, the apparatus further comprises:
the control information pre-acquisition module of the second device is used for pre-acquiring the control information of the second device, and the control information of the second device at least comprises the name of the second device and the first control instruction.
Fig. 12 shows a block diagram of a control device of an apparatus according to an embodiment of the present invention. As shown in fig. 12, the apparatus includes: a memory 1210 and a processor 1220, the memory 1210 having stored therein computer programs operable on the processor 1220. The processor 1220, when executing the computer program, implements the device control method in the above-described embodiments. The number of the memory 1210 and the processor 1220 may be one or more.
The device also includes:
the communication interface 1230 is configured to communicate with an external device for data interactive transmission.
Memory 1210 may comprise high-speed RAM memory and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
If the memory 1210, the processor 1220, and the communication interface 1230 are implemented independently, the memory 1210, the processor 1220, and the communication interface 1230 may be connected to each other by a bus and perform communication with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 12, but this is not intended to represent only one bus or type of bus.
Optionally, in an implementation, if the memory 1210, the processor 1220, and the communication interface 1230 are integrated into a chip, the memory 1210, the processor 1220, and the communication interface 1230 may communicate with each other through an internal interface.
An embodiment of the present invention provides a computer-readable storage medium, which stores a computer program, and the computer program is used for implementing the method of any one of the above embodiments when being executed by a processor.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may also be stored in a computer readable storage medium. The storage medium may be a read-only memory, a magnetic or optical disk, or the like.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive various changes or substitutions within the technical scope of the present invention, and these should be covered by the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (14)

1. A method of controlling a device, comprising:
receiving voice control information from a first device;
recognizing a timing control intention from the voice control information;
generating a first control instruction and a timer request according to the timing control intention, wherein the timer request comprises trigger time;
and controlling the first equipment to send a second control instruction to second equipment according to the first control instruction at the trigger time.
2. The method of claim 1, further comprising:
sending the first control instruction and the timer request to a timer service;
and receiving a callback request sent by the timer service in the trigger time, wherein the callback request comprises the first control instruction.
3. The method of claim 1, further comprising:
caching the first control instruction;
sending the timer request to a timer service;
receiving a callback request sent by the timer service at the trigger time;
and searching the first control instruction corresponding to the trigger time.
4. The method of claim 2 or 3, further comprising:
sending token information to a timer service;
the callback request further includes information to be verified, and after receiving the callback request sent by the timer service at the trigger time, the method further includes: and verifying whether the information to be verified in the callback request conforms to the token information.
5. The method of claim 1, wherein the controlling the first device to send a second control instruction to a second device according to the first control instruction at the trigger time comprises:
acquiring an infrared code from the first control instruction;
and sending an infrared control signal to the second equipment according to the infrared code.
6. The method of claim 1, further comprising:
the method comprises the steps of obtaining control information of second equipment in advance, wherein the control information of the second equipment at least comprises a name of the second equipment and a first control instruction.
7. A control apparatus of a device, characterized by comprising:
the information receiving module is used for receiving the voice control information from the first equipment;
the information identification module is used for identifying a timing control intention from the voice control information;
the instruction and request generation module is used for generating a first control instruction and a timer request according to the timing control intention, wherein the timer request comprises trigger time;
and the instruction sending module is used for controlling the first equipment to send a second control instruction to the second equipment at the triggering time according to the first control instruction.
8. The apparatus of claim 7, further comprising:
an instruction and request sending module, configured to send the first control instruction and the timer request to a timer service;
and a callback request receiving module, configured to receive a callback request sent by the timer service at the trigger time, where the callback request includes the first control instruction.
9. The apparatus of claim 7, further comprising:
the cache module is used for caching the first control instruction;
a timer request sending module, configured to send the timer request to a timer service;
a callback request receiving module, configured to receive a callback request sent by the timer service at the trigger time;
and the control instruction searching module is used for searching the first control instruction corresponding to the trigger time.
10. The apparatus of claim 8 or 9, further comprising:
the token information sending module is used for sending token information to the timer service;
and the verification module is used for verifying whether the information to be verified included in the callback request conforms to the token information or not under the condition of receiving the callback request sent by the timer service at the trigger time.
11. The apparatus of claim 7, wherein the instruction sending module comprises:
the infrared code acquisition module is used for acquiring an infrared code from the first control instruction;
and the infrared control signal sending module is used for sending an infrared control signal to the second equipment according to the infrared code.
12. The apparatus of claim 7, further comprising:
the control information pre-acquisition module of the second device is used for pre-acquiring the control information of the second device, and the control information of the second device at least comprises the name of the second device and the first control instruction.
13. A control apparatus of a device, characterized by comprising:
one or more processors;
storage means for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-6.
14. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 6.
CN201910565292.6A 2019-06-26 2019-06-26 Equipment control method and device and computer readable storage medium Pending CN112147903A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910565292.6A CN112147903A (en) 2019-06-26 2019-06-26 Equipment control method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910565292.6A CN112147903A (en) 2019-06-26 2019-06-26 Equipment control method and device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112147903A true CN112147903A (en) 2020-12-29

Family

ID=73868590

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910565292.6A Pending CN112147903A (en) 2019-06-26 2019-06-26 Equipment control method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112147903A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103714816A (en) * 2012-09-28 2014-04-09 三星电子株式会社 Electronic appratus, server and control method thereof
CN105677469A (en) * 2016-01-06 2016-06-15 北京京东世纪贸易有限公司 Timing task executing method and device
CN107065616A (en) * 2017-05-08 2017-08-18 浙江风向标科技有限公司 Inter-linked controlling method and device, computer-readable recording medium
CN107146616A (en) * 2017-06-13 2017-09-08 广东欧珀移动通信有限公司 Apparatus control method and Related product
CN107204903A (en) * 2016-03-18 2017-09-26 美的集团股份有限公司 Intelligent domestic system and its control method
CN107770013A (en) * 2017-10-30 2018-03-06 深圳市美安科技有限公司 A kind of intelligent sound and intelligent domestic system
CN108305626A (en) * 2018-01-31 2018-07-20 百度在线网络技术(北京)有限公司 The sound control method and device of application program
CN109493861A (en) * 2018-12-05 2019-03-19 百度在线网络技术(北京)有限公司 Utilize the method, apparatus, equipment and readable storage medium storing program for executing of voice control electric appliance

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103714816A (en) * 2012-09-28 2014-04-09 三星电子株式会社 Electronic appratus, server and control method thereof
CN105677469A (en) * 2016-01-06 2016-06-15 北京京东世纪贸易有限公司 Timing task executing method and device
CN107204903A (en) * 2016-03-18 2017-09-26 美的集团股份有限公司 Intelligent domestic system and its control method
CN107065616A (en) * 2017-05-08 2017-08-18 浙江风向标科技有限公司 Inter-linked controlling method and device, computer-readable recording medium
CN107146616A (en) * 2017-06-13 2017-09-08 广东欧珀移动通信有限公司 Apparatus control method and Related product
CN107770013A (en) * 2017-10-30 2018-03-06 深圳市美安科技有限公司 A kind of intelligent sound and intelligent domestic system
CN108305626A (en) * 2018-01-31 2018-07-20 百度在线网络技术(北京)有限公司 The sound control method and device of application program
CN109493861A (en) * 2018-12-05 2019-03-19 百度在线网络技术(北京)有限公司 Utilize the method, apparatus, equipment and readable storage medium storing program for executing of voice control electric appliance

Similar Documents

Publication Publication Date Title
CN108447480B (en) Intelligent household equipment control method, intelligent voice terminal and network equipment
CN111464402B (en) Control method of intelligent household equipment, terminal equipment and medium
CN108683574B (en) Equipment control method, server and intelligent home system
JP6207734B2 (en) Intelligent device scene mode customization method and apparatus
US20140195233A1 (en) Distributed Speech Recognition System
CN113330724A (en) Intelligent home scheduling method, device, system, server and storage medium
WO2015129372A1 (en) Audio system
CN106909081B (en) Household electrical appliance and expansion platform based on same
CN110324216B (en) Automatic configuration method, device, system, server and storage medium
CN103944983B (en) Phonetic control command error correction method and system
CN110618614A (en) Control method and device for smart home, storage medium and robot
CN107968828B (en) Household appliance voice broadcasting method, device and equipment
CN109003609A (en) Speech ciphering equipment, intelligent voice system, apparatus control method and device
CN111312253A (en) Voice control method, cloud server and terminal equipment
CN113111199B (en) Method and device for continuing playing of multimedia resource, storage medium and electronic device
CN110647044A (en) Household appliance control method and device, electronic device and readable storage medium
CN111312234A (en) Voice control method, cloud processor and terminal equipment
CN110246498B (en) Voice processing method and device and household appliance
CN114019807A (en) Data processing method, device, system, equipment and readable storage medium
CN112837526A (en) Universal integrated remote control method, control device and universal integrated remote control device
CN113593544A (en) Device control method and apparatus, storage medium, and electronic apparatus
CN112751734A (en) Household appliance control method based on cleaning robot, cleaning robot and chip
CN112448832A (en) Household appliance network distribution method, device and equipment
CN106375809A (en) Volume adjustment method and apparatus
CN106998501B (en) Television control 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210512

Address after: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing

Applicant after: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd.

Applicant after: Shanghai Xiaodu Technology Co.,Ltd.

Address before: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing

Applicant before: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd.