CN110276942A - Add method, apparatus, equipment and the readable storage medium storing program for executing of controlled device - Google Patents

Add method, apparatus, equipment and the readable storage medium storing program for executing of controlled device Download PDF

Info

Publication number
CN110276942A
CN110276942A CN201910538718.9A CN201910538718A CN110276942A CN 110276942 A CN110276942 A CN 110276942A CN 201910538718 A CN201910538718 A CN 201910538718A CN 110276942 A CN110276942 A CN 110276942A
Authority
CN
China
Prior art keywords
controlled device
control function
control
instruction
alternative instruction
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
CN201910538718.9A
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 CN201910538718.9A priority Critical patent/CN110276942A/en
Publication of CN110276942A publication Critical patent/CN110276942A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C23/00Non-electrical signal transmission systems, e.g. optical systems
    • G08C23/04Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The present invention provides a kind of method, apparatus, equipment and readable storage medium storing program for executing for adding controlled device.Method of the invention obtains the controlled device corresponding alternative instruction of control function and each control function to be added by the type and brand message according to controlled device;Alternative instruction corresponding to each control function is handled control as follows one by one: alternative instruction being sent to smart machine, so that smart machine sends alternative instruction to controlled device, executes control function to controlled device;Obtain the video data of the controlled device of captured in real-time in preset duration;Video analysis is carried out to video data, whether determination runs succeeded to the control function of controlled device;If it is determined that the control function to controlled device runs succeeded, alternative instruction is then determined as to the control instruction of control function, is manually operated without user, the addition of each control function of controlled device can be automatically completed, the efficiency for improving addition controlled device, improves user experience.

Description

Add method, apparatus, equipment and the readable storage medium storing program for executing of controlled device
Technical field
The present invention relates to intelligent sound box technical field more particularly to it is a kind of add the method, apparatus of controlled device, equipment and Readable storage medium storing program for executing.
Background technique
Intelligent sound box with infrared function needs to add controlled device when controlling infrared household appliance.The prior art In, when intelligent sound box adds controlled device, user speech is needed to input many facility informations, such as type, brand, if success Control open and close, if successfully adjust volume, if successfully adjust temperature etc., user and intelligent sound box is needed to carry out a system Column interactive voice could be completed, very high to the operation requirement of user, take time and effort, add the low efficiency of controlled device.
Summary of the invention
The present invention provides a kind of method, apparatus, equipment and readable storage medium storing program for executing for adding controlled device, existing to solve When adding controlled device in technology, needing user to carry out a series of interactive voices with intelligent sound box could be completed, to user's Operation requirement is very high, the problem of taking time and effort, add the low efficiency of controlled device.
It is an aspect of the invention to provide a kind of methods for adding controlled device, comprising:
According to the type and brand message of controlled device, controlled device control function to be added is obtained, and every The corresponding alternative instruction of the item control function;
Alternative instruction corresponding each described control function is handled control as follows one by one:
The alternative instruction is sent to smart machine, so that the smart machine is described standby to controlled device transmission Choosing instruction executes the control function to the controlled device;
Obtain the video data of the controlled device of captured in real-time in preset duration;
Video analysis is carried out to the video data, whether determination executes into the control function of the controlled device Function;
If it is determined that the control function to the controlled device runs succeeded, then the alternative instruction is determined as described The control instruction of control function.
Another aspect of the present invention is to provide a kind of device for adding controlled device, comprising:
Control function and instruction management module obtain described controlled for the type and brand message according to controlled device Equipment control function to be added and the corresponding alternative instruction of each described control function;
Control module is added, is used for:
Alternative instruction corresponding each described control function is handled control as follows one by one:
The alternative instruction is sent to smart machine, so that the smart machine is described standby to controlled device transmission Choosing instruction executes the control function to the controlled device;
Obtain the video data of the controlled device of captured in real-time in preset duration;
Video analysis is carried out to the video data, whether determination executes into the control function of the controlled device Function;
If it is determined that the control function to the controlled device runs succeeded, then the alternative instruction is determined as described The control instruction of control function.
Another aspect of the present invention is to provide a kind of server apparatus, comprising:
Processor, memory, and it is stored in the computer journey that can be run on the memory and on the processor Sequence;
Wherein, the method for addition controlled device described above is realized when the processor runs the computer program.
Another aspect of the present invention is to provide a kind of computer readable storage medium, the computer readable storage medium In be stored with computer program, the computer program realizes the side of addition controlled device described above when being executed by processor Method.
Method, apparatus, equipment and the readable storage medium storing program for executing of addition controlled device provided by the invention, by being set according to controlled Standby type and brand message, obtains controlled device control function to be added and each described control function is corresponding Alternative instruction;Alternative instruction corresponding each described control function is handled control as follows one by one: by the alternative finger Order is sent to smart machine, so that the smart machine sends the alternative instruction to the controlled device, sets to described be controlled It is standby to execute the control function;Obtain the video data of the controlled device of captured in real-time in preset duration;To the video Data carry out video analysis, and whether determination runs succeeded to the control function of the controlled device;If it is determined that the quilt The control function of control equipment runs succeeded, then the alternative instruction is determined as to the control instruction of the control function, from It is manually operated without user, the addition of each control function of controlled device can be automatically completed, it is controlled to improve addition The efficiency of equipment, improves user experience.
Detailed description of the invention
Fig. 1 is the method flow diagram for the addition controlled device that the embodiment of the present invention one provides;
Fig. 2 is the method flow diagram of addition controlled device provided by Embodiment 2 of the present invention;
Fig. 3 is the structural schematic diagram of the device for the addition controlled device that the embodiment of the present invention three provides;
Fig. 4 is the structural schematic diagram of the device for the addition controlled device that the embodiment of the present invention four provides;
Fig. 5 is the structural schematic diagram for the server apparatus that the embodiment of the present invention five provides.
Through the above attached drawings, it has been shown that the specific embodiment of the present invention will be hereinafter described in more detail.These attached drawings It is not intended to limit the scope of the inventive concept in any manner with verbal description, but is by referring to specific embodiments Those skilled in the art illustrate idea of the invention.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended The example of device and method being described in detail in claims, some aspects of the invention are consistent.
Term " first " according to the present invention, " second " etc. are used for description purposes only, and should not be understood as instruction or dark Show relative importance or implicitly indicates the quantity of indicated technical characteristic.In the description of following embodiment, " multiple " It is meant that two or more, unless otherwise specifically defined.
The specific application scenarios of the present invention are as follows: in smart home system, smart machine realizes the function of remote controler, by red The modes such as outer control multiple controlled devices.Before controlling controlled device, it is necessary first to add for smart machine Add the controlled device that it can control, that is, addition smart machine at least one control function of controlled device.
When adding controlled device, user is sent by the software application (APP) of smart machine to user terminal where APP Device directive is added, APP starts the filming apparatus of user terminal, and prompts user that filming apparatus is directed to be added be controlled and set It is standby, with by the video data of the filming apparatus captured in real-time controlled device of user terminal, and by the video data of captured in real-time It is sent to background server.
In addition, the APP of smart machine also can control smart machine starting and clap if being equipped with filming apparatus on smart machine Device is taken the photograph, and prompts user that filming apparatus is directed at controlled device to be added, shoots the video data of controlled device in real time, And the video data of captured in real-time is sent to background server.
The server apparatus on backstage can be interacted with smart machine, be automatically realized the addition of controlled device.
These specific embodiments can be combined with each other below, may be at certain for the same or similar concept or process It is repeated no more in a little embodiments.Below in conjunction with attached drawing, the embodiment of the present invention is described.
Embodiment one
Fig. 1 is the method flow diagram for the addition controlled device that the embodiment of the present invention one provides.The embodiment of the present invention is for existing When having addition controlled device in technology, needing user to carry out a series of interactive voices with intelligent sound box could be completed, to user Operation require it is very high, the problem of taking time and effort, add the low efficiency of controlled device, provide addition controlled device side Method.
Method in the present embodiment is applied to the service equipment of addition controlled device, and in other embodiments, this method is also It can be applied to other equipment, the present embodiment is illustratively illustrated by taking server apparatus as an example.
As shown in Figure 1, specific step is as follows for this method:
Step S101, according to the type of controlled device and brand message, controlled device control function to be added is obtained, with And the corresponding alternative instruction of each control function.
It, can be with type and brand message to controlled device when adding controlled device for smart machine in the present embodiment It is identified, for the controlled device of different brands and type, available control function when smart machine is controlled, and it is every The control instruction of item control function is different.
For example, smart machine can be intelligent sound box etc., controlled device can be the equipment such as TV, refrigerator, air-conditioning, control Function can be booting, shutdown, temperature adjusting, volume adjustment, the big minor adjustment of wind-force etc., and control instruction refers to smart machine pair Controlled device executes the instruction used when control function.
A control function information bank can be safeguarded in server apparatus, for storing intelligent sound box for various brands and class The corresponding alternative instruction of all control functions and each control function of the corresponding controlled device of type.
In addition, being also used to store in control function information bank: when adding controlled device for smart machine, every kind of brand and The corresponding control function to be added of type.Wherein, control function to be added is various brands and the corresponding controlled device of type All control functions subset.
After the type and brand message for determining controlled device, server apparatus can according to the type of controlled device and Brand message obtains corresponding control function to be added and the corresponding alternative instruction of each control function.
Step S102, alternative instruction corresponding to each control function carries out the control of following steps S103-S106 one by one Processing.
In the present embodiment, each control function to be added can correspond to one or more alternative instruction, get by After controlling the equipment corresponding alternative instruction of control function and each control function to be added, successively to each alternative instruction Carry out the control processing of step S103-S106.
Step S103, alternative instruction is sent to smart machine, so that smart machine sends alternative instruction to controlled device, Control function is executed to controlled device.
For every alternative instruction, alternative instruction is sent to smart machine by server apparatus, and smart machine receives standby After choosing instruction, alternative instruction is sent to controlled device, to execute corresponding control function to controlled device.
If smart machine successfully can execute corresponding control function to controlled device by the alternative instruction, that Controlled device can execute the alternative instruction, show effect corresponding with control function after receiving alternative instruction.
Step S104, the video data of the controlled device of captured in real-time in preset duration is obtained.
In the present embodiment, the filming apparatus of user terminal or smart machine can be with the video counts of captured in real-time controlled device According to.
After alternative instruction is sent to smart machine, server can obtain controlled device in preset duration in real time Video data.
Wherein, preset duration can be set according to actual needs by technical staff, in addition, controlled setting for different Standby, which can be set as different values, and the present embodiment is not specifically limited herein.
Step S105, video analysis is carried out to video data, whether determination runs succeeded to the control function of controlled device.
By carrying out video analysis to the video data for obtaining controlled device in preset duration in real time, controlled set is analyzed It is standby whether to show effect corresponding with control function, to determine whether the control function to controlled device runs succeeded.
After alternative instruction is sent to smart machine, if controlled device is presented and is controlled in preset duration The corresponding effect of function, runs succeeded to the control function of controlled device then can determine.
Will after alternative instruction is sent to smart machine, if in preset duration controlled device do not present with The corresponding effect of control function executes failure to the control function of controlled device then can determine.
Step S106, if it is determined that the control function to controlled device runs succeeded, then it is determined as alternative instruction to control function The control instruction of energy.
If it is determined that the control function to controlled device runs succeeded, alternative instruction can be determined as controlling by server apparatus The control instruction of function, so as to complete the addition to this control function of controlled device.
For example, controlled device is TV, after smart machine sends correct power-on instruction to TV, TV can be executed and be held Machine instruction, and is switched on, and start-up picture and booting sound can be presented in when television startup.If server apparatus is to smart machine In preset duration after transmission power-on instruction, television set shows start-up picture and booting sound, then intelligence can be determined Energy equipment successfully controls television startup by current power-on instruction, and current power-on instruction is determined as to the booting function of TV The control instruction of energy.
In the present embodiment, the adding procedure of each control function of controlled device is consistent, in the present embodiment Illustratively illustrated by taking the adding procedure to any one of its control function as an example.
The embodiment of the present invention obtains controlled device control to be added by the type and brand message according to controlled device Function and the corresponding alternative instruction of each control function;Alternative instruction corresponding to each control function carries out as follows one by one Control processing: being sent to smart machine for alternative instruction, so that smart machine sends alternative instruction to controlled device, sets to controlled It is standby to execute control function;Obtain the video data of the controlled device of captured in real-time in preset duration;Video is carried out to video data Whether analysis, determination run succeeded to the control function of controlled device;If it is determined that the control function to controlled device runs succeeded, Alternative instruction is then determined as to the control instruction of control function, is manually operated, can be automatically completed controlled without user The addition of each control function of equipment improves the efficiency of addition controlled device, improves user experience.
Embodiment two
Fig. 2 is the method flow diagram of addition controlled device provided by Embodiment 2 of the present invention.In the base of above-described embodiment one On plinth, in the present embodiment, the video data of the controlled device of acquisition captured in real-time can be passed through;According to the video counts of controlled device According to progress image recognition and speech recognition determine the type and brand message of controlled device, automatically identify so as to realize The type and brand message of controlled device out, voluntarily inquires and is manually entered type and brand message without user.
As shown in Fig. 2, specific step is as follows for this method:
Step S201, the video data of the controlled device of captured in real-time is obtained.
In the present embodiment, when adding controlled device, user passes through where the software application (APP) to APP of smart machine User terminal sends addition device directive, and APP starts the filming apparatus of user terminal, and user is prompted to want filming apparatus alignment The controlled device of addition to pass through the video data of the filming apparatus captured in real-time controlled device of user terminal, and will be clapped in real time The video data taken the photograph is sent to background server.
Correspondingly, a kind of feasible embodiment of the step is as follows:
The video data for the controlled device that user terminal is acquired and sent in real time is received, user terminal is corresponding for smart machine Software application where terminal device, user terminal is for shooting controlled device.
In addition, the APP of smart machine also can control smart machine starting and clap if being equipped with filming apparatus on smart machine Device is taken the photograph, and prompts user that filming apparatus is directed at controlled device to be added, shoots the video data of controlled device in real time, And the video data of captured in real-time is sent to background server.
Correspondingly, the feasible embodiment of another kind of the step is as follows:
The video data for the controlled device that smart machine is acquired and sent in real time is received, smart machine is for shooting controlled set It is standby.
Step S202, according to the video data of controlled device, image recognition and speech recognition is carried out, determines controlled device Type and brand message.
In the present embodiment, image recognition and speech recognition are carried out by the video data to controlled device, can will be controlled The appearance of equipment shows the acoustic informations such as the sound that the image informations such as content shown by screen and controlled device are presented, It is matched with the image of all types of controlled devices of existing each brand and acoustic information, determines the type of controlled device And brand message.
The step specifically, by the appearance of acquisition equipment, display picture, sound etc., can carry out figure using in the prior art As identification and speech recognition, to determine that type and any one mode of brand of equipment are realized, the present embodiment is no longer superfluous herein It states.
Illustratively, if according to the video data of controlled device, it can not identify the type of controlled device, then pass through intelligence Can speaker prompt user can not automatic identification controlled device type, prompt user by the APP of smart machine be manually entered by Control the type of equipment.
If can not identify the brand message of controlled device according to the video data of controlled device, then pass through intelligent sound Case prompt user can not automatic identification controlled device brand message, prompt user by the APP of smart machine be manually entered by Control the brand message of equipment.
Server apparatus can also receive the type of the controlled device of the user terminal transmission where the APP of smart machine And/or brand message.
Step S203, according to the type of controlled device and brand message, a control function of controlled device is obtained.
It, can be with type and brand message to controlled device when adding controlled device for smart machine in the present embodiment It is identified, for the controlled device of different brands and type, available control function when smart machine is controlled, and it is every The control instruction of item control function is different.
For example, smart machine can be intelligent sound box etc., controlled device can be the equipment such as TV, refrigerator, air-conditioning, control Function can be booting, shutdown, temperature adjusting, volume adjustment, the big minor adjustment of wind-force etc., and control instruction refers to smart machine pair Controlled device executes the instruction used when control function.
A control function information bank can be safeguarded in server apparatus, for storing smart machine to various brands and type The corresponding alternative instruction of all control functions and each control function of corresponding controlled device.
In addition, being also used to store in control function information bank: when adding controlled device for smart machine, every kind of brand and The corresponding control function to be added of type.Wherein, control function to be added is various brands and the corresponding controlled device of type All control functions subset.
Illustratively, control function information bank can be by control function and its alternative instruction to be added, with type and product The corresponding storage of board information.In the type and brand message according to controlled device, when obtaining controlled device control function to be added, According to the type and brand message of controlled device, control function to be added corresponding with type and brand message is obtained.
Further, the control function to be added of the specified controlled device of control function information bank, can be and set in advance The control function on fixed some bases.User can increase the control function to be added of controlled device according to their own needs.
Specifically, user can be sent to server apparatus to controlled device by smart machine or smart machine APP The increase of control function to be added instructs, and increases type and brand message that instruction includes controlled device and to be increased Control function.Server apparatus receives the increase instruction of the control function to be added to controlled device, in the type of controlled device In control function to be added corresponding with brand message, increase control function to be increased.
Optionally, user can also be sent to server apparatus by smart machine or smart machine APP and be set to controlled The deletion of standby control function to be added instructs, and deletes type and brand message that instruction includes controlled device and to be deleted Control function.Server apparatus receives the deletion instruction of the control function to be added to controlled device, in the class of controlled device In type and the corresponding control function to be added of brand message, control function to be deleted is deleted.
Optionally, controlled device can be the infrared control devices such as air-conditioning, TV, set-top box, and correspondingly alternative instruction can To be infrared code.
When smart machine controls controlled device by other communication modes, alternative instruction can be and communication party The corresponding other kinds of instruction of formula, the present embodiment are not specifically limited herein.
After the type and brand message for determining controlled device, server apparatus can according to the type of controlled device and Brand message, server apparatus can successively obtain a control function to be added of controlled device and to current control function It can be carried out the addition processing of following steps S204-S211.
Step S204, an alternative instruction of this control function is obtained.
In the present embodiment, each control function to be added of controlled device can correspond to one or more of alternative fingers It enables.
To when wherein each control function is added processing, the control of subsequent step is seriatim carried out to every alternative instruction System processing.
Step S205, alternative instruction is sent to smart machine, so that smart machine sends alternative instruction to controlled device, Control function is executed to controlled device.
For every alternative instruction, alternative instruction is sent to smart machine by server apparatus, and smart machine receives standby After choosing instruction, alternative instruction is sent to controlled device, to execute corresponding control function to controlled device.
If smart machine successfully can execute corresponding control function to controlled device by the alternative instruction, that Controlled device can execute the alternative instruction, show effect corresponding with control function after receiving alternative instruction.
Step S206, the video data of the controlled device of captured in real-time in preset duration is obtained.
In the present embodiment, the filming apparatus of user terminal or smart machine can be with the video counts of captured in real-time controlled device According to.
After alternative instruction is sent to smart machine, server can obtain controlled device in preset duration in real time Video data.
Wherein, preset duration can be set according to actual needs by technical staff, in addition, controlled setting for different Standby, which can be set as different values, and the present embodiment is not specifically limited herein.
Step S207, video analysis is carried out to video data, whether determination runs succeeded to the control function of controlled device.
By carrying out video analysis to the video data for obtaining controlled device in preset duration in real time, controlled set is analyzed It is standby whether to show effect corresponding with control function, to determine whether the control function to controlled device runs succeeded.
After alternative instruction is sent to smart machine, if controlled device is presented and is controlled in preset duration The corresponding effect of function, runs succeeded to the control function of controlled device then can determine.
Will after alternative instruction is sent to smart machine, if in preset duration controlled device do not present with The corresponding effect of control function executes failure to the control function of controlled device then can determine.
If it is determined that the control function to controlled device runs succeeded, then the control that alternative instruction is determined as control function is referred to After order, executes step S208 and control processing no longer is carried out to the remaining alternative instruction of control function.
If it is determined that the control function execution to controlled device is unsuccessful, then, step S210 is continued to execute, judges whether to deposit In the alternative instruction for the control function for not carrying out control processing also.
Step S208, if it is determined that the control function to controlled device runs succeeded, then it is determined as alternative instruction to control function The control instruction of energy.
If it is determined that the control function to controlled device runs succeeded, alternative instruction can be determined as controlling by server apparatus The control instruction of function, so as to complete the addition to this control function of controlled device.
In the present embodiment, however, it is determined that run succeeded to the control function of controlled device, be then determined as controlling by alternative instruction After the control instruction of function, control processing no longer is carried out to the remaining alternative instruction of control function;Continue to execute step S209 judges whether there is also untreated control function.
Step S209, also untreated control function is judged whether there is.
If there is also untreated control function, step S203 is continued to execute, obtains the next item down control function, and under One control function carries out the processing of subsequent step.
If there is no also untreated control function, complete then can determine to all control function to be added The addition processing of energy, completes the addition of controlled device, terminates.
Step S210, it if it is determined that the control function execution to controlled device is unsuccessful, judges whether there is and is not controlled also Make the alternative instruction of the control function of processing.
If judging result in the step are as follows: there is the alternative instruction for the control function for not carrying out control processing also, then continue Step S204 is executed, next alternative instruction of the aerial function is obtained, and continues to carry out at control next alternative instruction Reason.
If judging result in the step are as follows: there is no the alternative instructions for the control function for not carrying out control processing also, then say Bright all alternative instructions by the control function, smart machine can not execute corresponding control function to controlled device, then Step S211 is continued to execute, determines the control function addition failure of controlled device.
Step S211, the alternative instruction of the control function of control processing is not carried out also if it does not exist, it is determined that controlled device Control function add failure.
The alternative instruction of the control function of control processing is not carried out also if it does not exist, then explanation passes through the institute of the control function There is alternative instruction, smart machine can not execute corresponding control function to controlled device, determine the control function of controlled device Addition failure, continues to execute step S209 later, judges whether the also untreated control function of storage.
Illustratively, server apparatus can also record whether each control function adds successfully as a result, and addition The successfully corresponding control instruction of items control function, and transmit these information to smart machine or smart machine APP institute In user terminal, so that these information are presented to user by smart machine or user terminal.
The video data that the embodiment of the present invention passes through the controlled device of acquisition captured in real-time;According to the video counts of controlled device According to progress image recognition and speech recognition determine the type and brand message of controlled device, can realize controlled device class automatically The identification of type and brand message reduces user's operation, further improves the efficiency of addition controlled device, improves user experience.
Embodiment three
Fig. 3 is the structural schematic diagram of the device for the addition controlled device that the embodiment of the present invention three provides.The embodiment of the present invention The device of the addition controlled device of offer can execute the process flow that the embodiment of the method for addition controlled device provides.Such as Fig. 3 Shown, the device 30 of the addition controlled device includes: control function and instruction management module 301 and addition control module 302.
Specifically, control function and instruction management module 301 are used for type and brand message according to controlled device, obtain Controlled device control function to be added and the corresponding alternative instruction of each control function.
Addition control module 302 is used for:
Alternative instruction corresponding to each control function is handled control as follows one by one:
Alternative instruction is sent to smart machine, so that smart machine sends alternative instruction to controlled device, is set to controlled It is standby to execute control function;Obtain the video data of the controlled device of captured in real-time in preset duration;Video is carried out to video data Whether analysis, determination run succeeded to the control function of controlled device;If it is determined that the control function to controlled device runs succeeded, Alternative instruction is then determined as to the control instruction of control function.
Device provided in an embodiment of the present invention can be specifically used for executing embodiment of the method provided by above-described embodiment one, Details are not described herein again for concrete function.
The embodiment of the present invention obtains controlled device control to be added by the type and brand message according to controlled device Function and the corresponding alternative instruction of each control function;Alternative instruction corresponding to each control function carries out as follows one by one Control processing: being sent to smart machine for alternative instruction, so that smart machine sends alternative instruction to controlled device, sets to controlled It is standby to execute control function;Obtain the video data of the controlled device of captured in real-time in preset duration;Video is carried out to video data Whether analysis, determination run succeeded to the control function of controlled device;If it is determined that the control function to controlled device runs succeeded, Alternative instruction is then determined as to the control instruction of control function, is manually operated, can be automatically completed controlled without user The addition of each control function of equipment improves the efficiency of addition controlled device, improves user experience.
Example IV
Fig. 4 is the structural schematic diagram of the device for the addition controlled device that the embodiment of the present invention four provides.In above-described embodiment On the basis of three, in the present embodiment, as shown in figure 4, the device 30 of addition controlled device further include: type and brand recognition processing Module 303.
Type and brand recognition processing module 303 are used for:
Obtain the video data of the controlled device of captured in real-time;According to the video data of controlled device, image recognition is carried out And speech recognition, determine the type and brand message of controlled device.
Optionally, type and brand recognition processing module 303 are also used to:
The video data for the controlled device that user terminal is acquired and sent in real time is received, user terminal is corresponding for smart machine Software application where terminal device, user terminal is for shooting controlled device;It is acquired in real time simultaneously alternatively, receiving smart machine The video data of the controlled device of transmission, smart machine is for shooting controlled device.
Optionally, addition control module is also used to:
Control processing no longer is carried out to the remaining alternative instruction of control function.
Optionally, addition control module is also used to:
If it is determined that the control function execution to controlled device is unsuccessful, the control for not carrying out control processing also is judged whether there is The alternative instruction of function processed;The alternative instruction for not carrying out the control function of control processing also if it exists, then continue standby to next Choosing instruction carries out control processing;The alternative instruction of the control function of control processing is not carried out also if it does not exist, it is determined that controlled to set Standby control function adds failure.
Optionally, control function and instruction management module are also used to:
The increase instruction for receiving the control function to be added to controlled device, increase type that instruction includes controlled device and Brand message and control function to be increased;In the corresponding control function to be added of the type and brand message of controlled device In energy, increase control function to be increased.
Optionally, alternative instruction is infrared code.
Device provided in an embodiment of the present invention can be specifically used for executing embodiment of the method provided by above-described embodiment two, Details are not described herein again for concrete function.
The video data that the embodiment of the present invention passes through the controlled device of acquisition captured in real-time;According to the video counts of controlled device According to progress image recognition and speech recognition determine the type and brand message of controlled device, can realize controlled device class automatically The identification of type and brand message reduces user's operation, further improves the efficiency of addition controlled device, improves user experience.
Embodiment five
Fig. 5 is the structural schematic diagram for the server apparatus that the embodiment of the present invention five provides.As shown in figure 5, the server is set Standby 70 include: processor 701, memory 702, and is stored in the calculating that can be run on memory 702 and on processor 701 Machine program;
Wherein, it realizes that the addition of any of the above-described embodiment of the method offer is controlled when processor 701 runs computer program to set Standby method.
The embodiment of the present invention obtains controlled device control to be added by the type and brand message according to controlled device Function and the corresponding alternative instruction of each control function;Alternative instruction corresponding to each control function carries out as follows one by one Control processing: being sent to smart machine for alternative instruction, so that smart machine sends alternative instruction to controlled device, sets to controlled It is standby to execute control function;Obtain the video data of the controlled device of captured in real-time in preset duration;Video is carried out to video data Whether analysis, determination run succeeded to the control function of controlled device;If it is determined that the control function to controlled device runs succeeded, Alternative instruction is then determined as to the control instruction of control function, is manually operated, can be automatically completed controlled without user The addition of each control function of equipment improves the efficiency of addition controlled device, improves user experience.
In addition, the embodiment of the present invention also provides a kind of computer readable storage medium, deposited in computer readable storage medium Computer program is contained, realizes that the addition of any of the above-described embodiment of the method offer is controlled when computer program is executed by processor and sets Standby method.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or unit Letter connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention The part steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. it is various It can store the medium of program code.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each functional module Division progress for example, in practical application, can according to need and above-mentioned function distribution is complete by different functional modules At the internal structure of device being divided into different functional modules, to complete all or part of the functions described above.On The specific work process for stating the device of description, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its Its embodiment.The present invention is directed to cover any variations, uses, or adaptations of the invention, these modifications, purposes or Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the present invention Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following Claims are pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is only limited by appended claims System.

Claims (10)

1. a kind of method for adding controlled device characterized by comprising
According to the type and brand message of controlled device, controlled device control function to be added and each institute are obtained State the corresponding alternative instruction of control function;
Alternative instruction corresponding each described control function is handled control as follows one by one:
The alternative instruction is sent to smart machine, so that the smart machine sends the alternative finger to the controlled device It enables, the control function is executed to the controlled device;
Obtain the video data of the controlled device of captured in real-time in preset duration;
Video analysis is carried out to the video data, whether determination runs succeeded to the control function of the controlled device;
If it is determined that the control function to the controlled device runs succeeded, then the alternative instruction is determined as the control The control instruction of function.
2. the method according to claim 1, wherein the type and brand message according to controlled device, is obtained Before the control function for taking the controlled device to be added and the corresponding alternative instruction of each described control function, further includes:
Obtain the video data of the controlled device of captured in real-time;
According to the video data of the controlled device, image recognition and speech recognition are carried out, determines the type of the controlled device And brand message.
3. method according to claim 2, which is characterized in that the video counts of the controlled device for obtaining captured in real-time According to, comprising:
The video data for the controlled device that user terminal is acquired and sent in real time is received, the user terminal is the intelligence Terminal device where the corresponding software application of equipment, the user terminal is for shooting the controlled device;
Alternatively,
The video data for the controlled device that the smart machine is acquired and sent in real time is received, the smart machine is for clapping Take the photograph the controlled device.
4. the method according to claim 1, wherein described if it is determined that the control function to the controlled device It can run succeeded, then the alternative instruction be determined as after the control instruction of the control function, further includes:
The control processing no longer is carried out to the remaining alternative instruction of the control function.
5. according to the method described in claim 4, it is characterized in that, described carry out video analysis, determination to the video data After whether running succeeded to the control function of the controlled device, further includes:
If it is determined that the control function execution to the controlled device is unsuccessful, judges whether there is and do not carry out the control also The alternative instruction of the control function of processing;
The alternative instruction for not carrying out the control function of the control processing also if it exists then continues to next alternative instruction Carry out the control processing;
The alternative instruction of the control function of the control processing is not carried out also if it does not exist, it is determined that the controlled device The control function addition failure.
6. the method according to any one of claims 1 to 5, which is characterized in that the method also includes:
The increase instruction of the control function to be added to the controlled device is received, the increase instruction includes the controlled device Type and brand message and control function to be increased;
In the corresponding control function to be added of type and brand message of the controlled device, increase control to be increased Function.
7. the method according to any one of claims 1 to 5, which is characterized in that the alternative instruction is infrared code.
8. a kind of device for adding controlled device characterized by comprising
Control function and instruction management module for the type and brand message according to controlled device obtain the controlled device Control function to be added and the corresponding alternative instruction of each described control function;
Control module is added, is used for:
Alternative instruction corresponding each described control function is handled control as follows one by one:
The alternative instruction is sent to smart machine, so that the smart machine sends the alternative finger to the controlled device It enables, the control function is executed to the controlled device;
Obtain the video data of the controlled device of captured in real-time in preset duration;
Video analysis is carried out to the video data, whether determination runs succeeded to the control function of the controlled device;
If it is determined that the control function to the controlled device runs succeeded, then the alternative instruction is determined as the control The control instruction of function.
9. a kind of server apparatus characterized by comprising
Processor, memory, and it is stored in the computer program that can be run on the memory and on the processor;
Wherein, the method as described in any one of claims 1 to 7 is realized when the processor runs the computer program.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium Program realizes the method as described in any one of claims 1 to 7 when the computer program is executed by processor.
CN201910538718.9A 2019-06-20 2019-06-20 Add method, apparatus, equipment and the readable storage medium storing program for executing of controlled device Pending CN110276942A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910538718.9A CN110276942A (en) 2019-06-20 2019-06-20 Add method, apparatus, equipment and the readable storage medium storing program for executing of controlled device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910538718.9A CN110276942A (en) 2019-06-20 2019-06-20 Add method, apparatus, equipment and the readable storage medium storing program for executing of controlled device

Publications (1)

Publication Number Publication Date
CN110276942A true CN110276942A (en) 2019-09-24

Family

ID=67962330

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910538718.9A Pending CN110276942A (en) 2019-06-20 2019-06-20 Add method, apparatus, equipment and the readable storage medium storing program for executing of controlled device

Country Status (1)

Country Link
CN (1) CN110276942A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111246268A (en) * 2020-02-06 2020-06-05 深圳创维-Rgb电子有限公司 Pairing method of infrared devices, television and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103596000A (en) * 2013-11-22 2014-02-19 乐视致新电子科技(天津)有限公司 Method and system for multi-interface switching test of smart television
CN104574927A (en) * 2014-12-14 2015-04-29 杭州赫智电子科技有限公司 Infrared matching method and infrared matching system with feedback function
CN204497489U (en) * 2015-01-15 2015-07-22 大连交通大学 Intelligent cloud insert row
CN106302562A (en) * 2015-05-12 2017-01-04 上海瑛世得信息科技有限公司 The tele-control system of household electrical appliances and control method thereof
CN106911949A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 A kind of method and mobile terminal based on mobile terminal control apparatus equipment
US20170326725A1 (en) * 2013-06-07 2017-11-16 Pixart Imaging Inc. Remote control system for pointing robot
CN108307147A (en) * 2017-12-28 2018-07-20 天地融科技股份有限公司 A kind of method and system carrying out security control using safety equipment
CN109088804A (en) * 2018-09-28 2018-12-25 南宁学院 A kind of home appliance repair maloperation early warning system being associated with Bluetooth AP P
CN109725543A (en) * 2018-12-25 2019-05-07 深圳绿米联创科技有限公司 Equipment control code configuration method, device, Cloud Server and network system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170326725A1 (en) * 2013-06-07 2017-11-16 Pixart Imaging Inc. Remote control system for pointing robot
CN103596000A (en) * 2013-11-22 2014-02-19 乐视致新电子科技(天津)有限公司 Method and system for multi-interface switching test of smart television
CN104574927A (en) * 2014-12-14 2015-04-29 杭州赫智电子科技有限公司 Infrared matching method and infrared matching system with feedback function
CN204497489U (en) * 2015-01-15 2015-07-22 大连交通大学 Intelligent cloud insert row
CN106302562A (en) * 2015-05-12 2017-01-04 上海瑛世得信息科技有限公司 The tele-control system of household electrical appliances and control method thereof
CN106911949A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 A kind of method and mobile terminal based on mobile terminal control apparatus equipment
CN108307147A (en) * 2017-12-28 2018-07-20 天地融科技股份有限公司 A kind of method and system carrying out security control using safety equipment
CN109088804A (en) * 2018-09-28 2018-12-25 南宁学院 A kind of home appliance repair maloperation early warning system being associated with Bluetooth AP P
CN109725543A (en) * 2018-12-25 2019-05-07 深圳绿米联创科技有限公司 Equipment control code configuration method, device, Cloud Server and network system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111246268A (en) * 2020-02-06 2020-06-05 深圳创维-Rgb电子有限公司 Pairing method of infrared devices, television and storage medium
CN111246268B (en) * 2020-02-06 2022-02-15 深圳创维-Rgb电子有限公司 Pairing method of infrared devices, television and storage medium

Similar Documents

Publication Publication Date Title
US11282520B2 (en) Method, apparatus and device for interaction of intelligent voice devices, and storage medium
CN105471705B (en) Intelligent control method, equipment and system based on instant messaging
EP3016318B1 (en) Method and apparatus for customizing scene mode of intelligent device
CN109522083B (en) Page intelligent response interaction system and method
CN105551488A (en) Voice control method and system
CN111934960B (en) Scene mode control method and device for smart home
CN109992237B (en) Intelligent voice equipment control method and device, computer equipment and storage medium
CN106658079A (en) Customized expression image generation method and device
CN107155122A (en) Method, device and the television terminal of smart machine control
CN112463106A (en) Voice interaction method, device and equipment based on intelligent screen and storage medium
CN109243448A (en) Voice control method and device
CN109754329B (en) Electronic resource processing method, terminal, server and storage medium
CN110769280A (en) Method and device for continuously playing files
CN108932947B (en) Voice control method and household appliance
CN112532885B (en) Anti-shake method and device and electronic equipment
CN113093596A (en) Control instruction processing method and device
CN109243453A (en) Voice information processing method and device, storage medium and electronic device
CN110276942A (en) Add method, apparatus, equipment and the readable storage medium storing program for executing of controlled device
CN114124593B (en) Multi-device calling method, device, control terminal and storage medium
CN113596520B (en) Video playing control method and device and electronic equipment
CN113709629A (en) Frequency response parameter adjusting method, device, equipment and storage medium
CN112702652A (en) Smart home control method and device, storage medium and electronic device
CN114424578B (en) Video searching method, control equipment and television
CN108415572B (en) Module control method and device applied to mobile terminal and storage medium
CN111459262A (en) Intelligent sound box, gesture processing method and device and electronic equipment

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: 20210518

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.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190924