CN106131972B - Control method and electronic equipment - Google Patents

Control method and electronic equipment Download PDF

Info

Publication number
CN106131972B
CN106131972B CN201610509988.3A CN201610509988A CN106131972B CN 106131972 B CN106131972 B CN 106131972B CN 201610509988 A CN201610509988 A CN 201610509988A CN 106131972 B CN106131972 B CN 106131972B
Authority
CN
China
Prior art keywords
electronic device
electronic equipment
image
electronic
identification information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610509988.3A
Other languages
Chinese (zh)
Other versions
CN106131972A (en
Inventor
骆伟权
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201610509988.3A priority Critical patent/CN106131972B/en
Publication of CN106131972A publication Critical patent/CN106131972A/en
Application granted granted Critical
Publication of CN106131972B publication Critical patent/CN106131972B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Abstract

The invention discloses a control method and electronic equipment. The method comprises the following steps: the method comprises the steps that first electronic equipment acquires a first image of second electronic equipment through an image acquisition unit of the first electronic equipment; identifying the second electronic equipment by using the first image, and obtaining first identification information; obtaining a first operation on the first electronic device; acquiring a second image of a third electronic device through the image acquisition unit in response to the first operation; identifying the third electronic equipment by using the second image, and obtaining second identification information; and establishing an association relationship between the second electronic equipment and the third electronic equipment by using the first identification information and the second identification information.

Description

Control method and electronic equipment
Technical Field
The present invention relates to control technologies, and in particular, to a control method and an electronic device.
Background
Social economy is developed more and more, and social science and technology are continuously innovated. People are also increasingly intelligent in controlling devices. With the advancement of science and technology, in an intelligent control system, the number of link interactions between devices is inevitably increased, and how to implement the association between devices is a problem to be solved urgently at present.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present invention provide a control method and an electronic device.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
the embodiment of the invention provides a control method, which is applied to first electronic equipment, wherein the first electronic equipment comprises an image acquisition unit, and the method comprises the following steps:
acquiring a first image of second electronic equipment through the image acquisition unit;
identifying the second electronic equipment by using the first image, and obtaining first identification information;
obtaining a first operation on the first electronic device;
acquiring a second image of a third electronic device through the image acquisition unit in response to the first operation;
identifying the third electronic equipment by using the second image, and obtaining second identification information;
and establishing an association relationship between the second electronic equipment and the third electronic equipment by using the first identification information and the second identification information.
In the above scheme, the method further comprises:
establishing connection with the second electronic equipment based on a communication system supported by the second electronic equipment;
establishing connection with the third electronic equipment based on a communication system supported by the third electronic equipment; the communication system for establishing connection with the second electronic equipment is the same as the communication system for establishing connection with the third electronic equipment; the first electronic device, the second electronic device and the third electronic device are all in a first network;
sending a first control instruction to the second electronic equipment based on the connection established with the second electronic equipment, and sending a second control instruction to the third electronic equipment based on the connection established with the third electronic equipment according to the incidence relation; the first control instruction is used for controlling the operation of the second electronic equipment; the second control instruction is used for controlling the operation of the third electronic device.
In the above scheme, the method further comprises:
sending a third control instruction to one of the second electronic device and a third electronic device; the third control instruction is used for the electronic device, which receives the third control instruction, of the second electronic device and the third electronic device to send a request for establishing connection to another electronic device.
In the above scheme, the number of the third electronic devices is at least one.
In the foregoing solution, before the first identification information and the second identification information are used to establish the association relationship between the second electronic device and the third electronic device, the method further includes:
obtaining a second operation on the first electronic device; the second operation is a determination operation for establishing an association relationship;
and responding to the second operation, and establishing an association relationship between the second electronic equipment and the third electronic equipment by using the first identification information and the second identification information.
In the above scheme, the identification of the corresponding electronic device by using the collected image includes:
analyzing the image to obtain the characteristic data of the image;
and identifying the corresponding electronic equipment based on the characteristic data of the image.
An embodiment of the present invention further provides an electronic device, including:
an image collector;
the controller is used for acquiring a first image of the second electronic equipment through the image collector; identifying the second electronic equipment by using the first image, and obtaining first identification information;
the controller is further used for obtaining a first operation on the electronic equipment; responding to the first operation, and acquiring a second image of third electronic equipment through the image collector; identifying the third electronic equipment by using the second image to obtain second identification information;
the controller is further configured to establish an association relationship between the second electronic device and the third electronic device by using the first identification information and the second identification information.
In the above solution, the electronic device further includes: the communicator is used for establishing connection with the second electronic equipment based on a communication system supported by the communicator; establishing connection with the third electronic equipment based on a communication system supported by the third electronic equipment; the communication system for establishing connection with the second electronic equipment is the same as the communication system for establishing connection with the third electronic equipment; the electronic equipment, the second electronic equipment and the third electronic equipment are all in a first network;
the communicator is further configured to:
sending a first control instruction to the second electronic equipment based on the connection established with the second electronic equipment, and sending a second control instruction to the third electronic equipment based on the connection established with the third electronic equipment according to the incidence relation; the first control instruction is used for controlling the operation of the second electronic equipment; the second control instruction is used for controlling the operation of the third electronic device.
In the above solution, the electronic device further includes: a communicator for transmitting a third control instruction to one of the second electronic device and a third electronic device; the third control instruction is used for the electronic device, which receives the third control instruction, of the second electronic device and the third electronic device to send a request for establishing connection to another electronic device.
In the foregoing solution, the controller is further configured to:
obtaining a second operation on the electronic device; the second operation is a determination operation for establishing an association relationship;
and responding to the second operation, and establishing an association relationship between the second electronic equipment and the third electronic equipment by using the first identification information and the second identification information.
In the foregoing solution, the controller is specifically configured to:
analyzing the image to obtain the characteristic data of the image;
and identifying the corresponding electronic equipment based on the characteristic data of the image.
According to the control method and the electronic equipment provided by the embodiment of the invention, the first image of the second electronic equipment is acquired through the image acquisition unit; identifying the second electronic equipment by using the first image, and obtaining first identification information; obtaining a first operation on the first electronic device; acquiring a second image of a third electronic device through the image acquisition unit in response to the first operation; identifying the third electronic equipment by using the second image, and obtaining second identification information; and establishing an association relationship between the second electronic equipment and the third electronic equipment by using the first identification information and the second identification information, so that the association between the two equipment is automatically realized.
Drawings
In the drawings, which are not necessarily drawn to scale, like reference numerals may describe similar components in different views. Like reference numerals having different letter suffixes may represent different examples of similar components. The drawings illustrate generally, by way of example, but not by way of limitation, various embodiments discussed herein.
FIG. 1 is a flow chart of a control method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a control method according to a second embodiment of the present invention;
FIG. 3 is a flow chart of a three control method according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a fourth control method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a first electronic device according to an embodiment of the invention;
fig. 6 is a schematic structural diagram of a second electronic device according to an embodiment of the invention;
fig. 7 is a schematic structural diagram of a third electronic device according to an embodiment of the invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples.
In various embodiments of the invention: acquiring a first image of second electronic equipment through an image acquisition unit of the first electronic equipment; identifying the second electronic equipment by using the first image, and obtaining first identification information; obtaining a first operation on the first electronic device; acquiring a second image of a third electronic device through the image acquisition unit in response to the first operation; identifying the third electronic equipment by using the second image, and obtaining second identification information; and establishing an association relationship between the second electronic equipment and the third electronic equipment by using the first identification information and the second identification information.
Example one
The embodiment of the invention provides an information processing method which is applied to first electronic equipment. The first electronic device has an image acquisition unit, such as a camera or the like.
Fig. 1 is a schematic flow chart of an implementation of a control method according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
step 101: acquiring a first image of second electronic equipment through the image acquisition unit;
step 102: identifying the second electronic equipment by using the first image, and obtaining first identification information;
in practical application, after the first image is acquired, analyzing the first image to obtain characteristic data of the first image;
and identifying the second electronic equipment based on the characteristic data of the first image.
Step 103: obtaining a first operation on the first electronic device;
here, in practical applications, the first operation may be any operation that can trigger the first electronic device to perform step 104, such as: the first electronic device is a mobile phone, the user holds the mobile phone, and the mobile phone screen faces the user, at this time, the user can perform a specific gesture operation (for example, clockwise rotation by 90 degrees, or leftward shaking for three times, etc.) on the mobile phone, and after receiving the specific gesture operation, the mobile phone acquires a second image of a third device through the camera.
Step 104: acquiring a second image of a third electronic device through the image acquisition unit in response to the first operation;
here, in practical applications, the number of the third electronic devices may be at least one.
Step 105: identifying the third electronic equipment by using the second image, and obtaining second identification information;
in practical application, after the second image is acquired, the second image is analyzed to obtain characteristic data of the second image;
and identifying the third electronic equipment based on the characteristic data of the second image.
Step 106: and establishing an association relationship between the second electronic equipment and the third electronic equipment by using the first identification information and the second identification information.
Here, the association relationship is used to cooperatively control the second electronic device and the third electronic device.
The embodiment of the invention can be applied to the following application scenes:
in the intelligent home system, the mobile phone is used as a carrier of a control center, in order to realize cooperative control of at least two intelligent homes, a user can shoot an intelligent home appliance by using the camera of the mobile phone, then the shot intelligent home appliance is identified, the user can give a specific gesture (for example, rotating 90 degrees clockwise) to the mobile phone at the moment so as to trigger a correlation switch of the intelligent home appliance, the camera of the mobile phone can be used for shooting another intelligent home appliance at the moment, the intelligent home appliance is identified, and thus the two intelligent home appliances can be correlated, and cooperative control of operation is realized.
For example, it is assumed that a ceiling lamp in a living room needs to be connected with a television set placed in the living room, so that the television set is turned on after the ceiling lamp in the living room is turned on. At the moment, the user can shoot the ceiling lamp by using the camera of the mobile phone, and after the ceiling lamp is identified, the user gives a specific gesture to the mobile phone, so that the user can shoot the television by using the camera of the mobile phone and identify the ceiling lamp so as to establish the association relationship between the ceiling lamp and the television, and further realize the coordination control in the following process.
According to the control method provided by the embodiment of the invention, the first image of the second electronic equipment is acquired through the image acquisition unit; identifying the second electronic equipment by using the first image, and obtaining first identification information; obtaining a first operation on the first electronic device; acquiring a second image of a third electronic device through the image acquisition unit in response to the first operation; identifying the third electronic equipment by using the second image, and obtaining second identification information; and establishing an association relationship between the second electronic equipment and the third electronic equipment by using the first identification information and the second identification information, so that the association between the two equipment is automatically realized.
Example two
The embodiment of the invention provides an information processing method which is applied to first electronic equipment. The first electronic device has an image acquisition unit, such as a camera or the like.
Fig. 2 is a schematic flow chart of an implementation of a control method according to an embodiment of the present invention, as shown in fig. 2, the method includes the following steps:
step 201: acquiring a first image of second electronic equipment through the image acquisition unit;
step 202: identifying the second electronic equipment by using the first image, and obtaining first identification information;
in practical application, after the first image is acquired, analyzing the first image to obtain characteristic data of the first image;
and identifying the second electronic equipment based on the characteristic data of the first image.
Step 203: obtaining a first operation on the first electronic device;
here, in practical application, the first operation may be any operation that can trigger the first electronic device to perform step 204, such as: the first electronic device is a mobile phone, the user holds the mobile phone, and the mobile phone screen faces the user, at this time, the user can perform a specific gesture operation (for example, clockwise rotation by 90 degrees, or leftward shaking for three times, etc.) on the mobile phone, and after receiving the specific gesture operation, the mobile phone acquires a second image of a third device through the camera.
Step 204: acquiring a second image of a third electronic device through the image acquisition unit in response to the first operation;
here, in practical applications, the number of the third electronic devices may be at least one.
Step 205: identifying the third electronic equipment by using the second image, and obtaining second identification information;
in practical application, after the second image is acquired, the second image is analyzed to obtain characteristic data of the second image;
and identifying the third electronic equipment based on the characteristic data of the second image.
Step 206: establishing an association relationship between the second electronic device and the third electronic device by using the first identification information and the second identification information;
here, the association relationship is used to cooperatively control the second electronic device and the third electronic device.
Step 207: establishing connection with the second electronic equipment based on a communication system supported by the second electronic equipment; establishing connection with the third electronic equipment based on a communication system supported by the third electronic equipment;
here, the communication system for establishing connection with the second electronic device is the same as the communication system for establishing connection with the third electronic device; the first electronic device, the second electronic device and the third electronic device are all in a first network.
Step 208: and sending a first control instruction to the second electronic equipment based on the connection established with the second electronic equipment, and sending a second control instruction to the third electronic equipment based on the connection established with the third electronic equipment according to the incidence relation.
Here, the first control instruction is used for controlling the operation of the second electronic device; the second control instruction is used for controlling the operation of the third electronic device.
In other words, the second electronic device and the third electronic device are cooperatively controlled through the association relationship.
The embodiment of the invention can be applied to the following application scenes:
in the intelligent home system, the mobile phone is used as a carrier of a control center, in order to realize cooperative control of at least two intelligent homes, a user can shoot an intelligent home appliance by using the camera of the mobile phone, then the shot intelligent home appliance is identified, the user can give a specific gesture (for example, rotating 90 degrees clockwise) to the mobile phone at the moment so as to trigger a correlation switch of the intelligent home appliance, the camera of the mobile phone can be used for shooting another intelligent home appliance at the moment and identifying the intelligent home appliance, so that the two intelligent home appliances can be correlated, and cooperative control of subsequent operation is realized.
For example, it is assumed that a ceiling lamp in a living room needs to be connected with a television set placed in the living room, so that the television set is turned on after the ceiling lamp in the living room is turned on. At the moment, the user can shoot the ceiling lamp by using the camera of the mobile phone, and after the ceiling lamp is identified, the user gives a specific gesture to the mobile phone, so that the user can shoot the television by using the camera of the mobile phone and identify the ceiling lamp so as to establish the association relationship between the ceiling lamp and the television.
When the pendant lamp needs to be started, the mobile phone sends a control command to the pendant lamp so as to control the pendant lamp to be started; the mobile phone can also send a control command to the television according to the incidence relation between the pendant lamp and the television so as to control the television to be started, thereby realizing the coordination control of the pendant lamp and the television.
According to the control method provided by the embodiment of the invention, the first image of the second electronic equipment is acquired through the image acquisition unit; identifying the second electronic equipment by using the first image, and obtaining first identification information; obtaining a first operation on the first electronic device; acquiring a second image of a third electronic device through the image acquisition unit in response to the first operation; identifying the third electronic equipment by using the second image, and obtaining second identification information; and establishing an association relationship between the second electronic equipment and the third electronic equipment by using the first identification information and the second identification information, so that the association between the two equipment is automatically realized.
In addition, the scheme provided by the embodiment of the invention only needs to establish the association relationship through the acquisition and identification of the images of the electronic equipment, so that the implementation is simpler.
EXAMPLE III
The embodiment of the invention provides an information processing method which is applied to first electronic equipment. The first electronic device has an image acquisition unit, such as a camera or the like.
Fig. 3 is a schematic flow chart of an implementation of a three-control method according to an embodiment of the present invention, as shown in fig. 3, the method includes the following steps:
step 301: acquiring a first image of second electronic equipment through the image acquisition unit;
step 302: identifying the second electronic equipment by using the first image, and obtaining first identification information;
in practical application, after the first image is acquired, analyzing the first image to obtain characteristic data of the first image;
and identifying the second electronic equipment based on the characteristic data of the first image.
Step 303: obtaining a first operation on the first electronic device;
here, in practical applications, the first operation may be any operation that can trigger the first electronic device to perform step 304, such as: the first electronic device is a mobile phone, the user holds the mobile phone, and the mobile phone screen faces the user, at this time, the user can perform a specific gesture operation (for example, clockwise rotation by 90 degrees, or leftward shaking for three times, etc.) on the mobile phone, and after receiving the specific gesture operation, the mobile phone acquires a second image of a third device through the camera.
Step 304: acquiring a second image of a third electronic device through the image acquisition unit in response to the first operation;
here, in practical applications, the number of the third electronic devices may be at least one.
Step 305: identifying the third electronic equipment by using the second image, and obtaining second identification information;
in practical application, after the second image is acquired, the second image is analyzed to obtain characteristic data of the second image;
and identifying the third electronic equipment based on the characteristic data of the second image.
Step 306: and establishing an association relationship between the second electronic equipment and the third electronic equipment by using the first identification information and the second identification information.
Here, the association relationship is used to cooperatively control the second electronic device and the third electronic device.
Step 307: and sending a third control instruction to one of the second electronic equipment and the third electronic equipment.
Here, the third control instruction is used for the second electronic device, and the electronic device that receives the third control instruction in the third electronic device, to send a request for establishing a connection to another electronic device.
In practical application, the first electronic device needs to establish a connection with the electronic device that receives the third control instruction, and then send the third control instruction based on the established connection.
After the second electronic device is connected with the third electronic device, the two electronic devices may interact with each other, for example: and after receiving the control instruction, one electronic device controls the operation of the other electronic device through the established connection.
The embodiment of the invention can be applied to the following application scenes:
in the intelligent home system, the mobile phone is used as a carrier of a control center, in order to realize cooperative control of at least two intelligent homes, a user can shoot an intelligent home appliance by using the camera of the mobile phone, then the shot intelligent home appliance is identified, the user can give a specific gesture (for example, rotating 90 degrees clockwise) to the mobile phone at the moment so as to trigger a correlation switch of the intelligent home appliance, the camera of the mobile phone can be used for shooting another intelligent home appliance at the moment, the intelligent home appliance is identified, and thus the two intelligent home appliances can be correlated, and cooperative control of operation is realized.
For example, it is assumed that a ceiling lamp in a living room needs to be connected with a television set placed in the living room, so that the television set is turned on after the ceiling lamp in the living room is turned on. At the moment, the user can shoot the ceiling lamp by using the camera of the mobile phone, and after the ceiling lamp is identified, the user gives a specific gesture to the mobile phone, so that the user can shoot the television by using the camera of the mobile phone and identify the ceiling lamp so as to establish the association relationship between the ceiling lamp and the television, and further realize the coordination control in the following process.
When the pendant lamp needs to be started, the mobile phone sends a control command to the pendant lamp so as to control the pendant lamp to be started; after receiving the control command, the pendant lamp sends a control command to the television to control the television to be started, so that the pendant lamp and the television are coordinately controlled.
According to the control method provided by the embodiment of the invention, the first image of the second electronic equipment is acquired through the image acquisition unit; identifying the second electronic equipment by using the first image, and obtaining first identification information; obtaining a first operation on the first electronic device; acquiring a second image of a third electronic device through the image acquisition unit in response to the first operation; identifying the third electronic equipment by using the second image, and obtaining second identification information; and establishing an association relationship between the second electronic equipment and the third electronic equipment by using the first identification information and the second identification information, so that the association between the two equipment is automatically realized.
Example four
The embodiment of the invention provides an information processing method which is applied to first electronic equipment. The first electronic device has an image acquisition unit, such as a camera or the like.
Fig. 4 is a schematic flow chart of an implementation of a fourth control method according to an embodiment of the present invention, and as shown in fig. 4, the method includes the following steps:
step 401: acquiring a first image of second electronic equipment through the image acquisition unit;
step 402: identifying the second electronic equipment by using the first image, and obtaining first identification information;
in practical application, after the first image is acquired, analyzing the first image to obtain characteristic data of the first image;
and identifying the second electronic equipment based on the characteristic data of the first image.
Step 403: obtaining a first operation on the first electronic device;
here, in practical applications, the first operation may be any operation that can trigger the first electronic device to perform step 404, such as: the first electronic device is a mobile phone, the user holds the mobile phone, and the mobile phone screen faces the user, at this time, the user can perform a specific gesture operation (for example, clockwise rotation by 90 degrees, or leftward shaking for three times, etc.) on the mobile phone, and after receiving the specific gesture operation, the mobile phone acquires a second image of a third device through the camera.
Step 404: acquiring a second image of a third electronic device through the image acquisition unit in response to the first operation;
here, in practical applications, the number of the third electronic devices may be at least one.
Step 405: identifying the third electronic equipment by using the second image, and obtaining second identification information;
in practical application, after the second image is acquired, the second image is analyzed to obtain characteristic data of the second image;
and identifying the third electronic equipment based on the characteristic data of the second image.
Step 406: obtaining a second operation on the first electronic device;
here, the second operation is a determination operation of establishing an association relationship.
The purpose of executing this step is: in the using process, it is inevitable that the first electronic device is triggered to execute the step 404 due to the misoperation of the user, so that in order to avoid the occurrence of the misoperation, the second electronic device and the third electronic device are associated after the confirmation operation.
In practical application, the second operation may be an operation of a specific gesture. For example, assuming that the first electronic device is a mobile phone, the user holds the mobile phone with his hand, and the screen of the mobile phone is facing the user, when the user uses a gesture operation of rotating 90 degrees clockwise as the first operation (trigger operation), the gesture of rotating 90 degrees counterclockwise may be used as the second operation (confirm operation).
Step 407: and responding to the second operation, and establishing an association relationship between the second electronic equipment and the third electronic equipment by using the first identification information and the second identification information.
Here, the association relationship is used to cooperatively control the second electronic device and the third electronic device.
The embodiment of the invention can be applied to the following application scenes:
in the intelligent home system, the mobile phone is used as a carrier of a control center, in order to realize cooperative control of at least two intelligent homes, a user can shoot an intelligent home appliance by using a camera of the mobile phone, then the shot intelligent home appliance is identified, the user can give a specific gesture (for example, rotating 90 degrees in a clockwise direction) to the mobile phone at the moment so as to trigger a correlation switch of the intelligent home appliance, the camera of the mobile phone can be used for shooting another intelligent home appliance at the moment and identifying the intelligent home appliance, and then a specific gesture (for example, rotating 90 degrees in an anticlockwise direction) is given to the mobile phone, so that the two intelligent home appliances can be correlated, and the cooperative control of operation is realized.
For example, it is assumed that a ceiling lamp in a living room needs to be connected with a television set placed in the living room, so that the television set is turned on after the ceiling lamp in the living room is turned on. At the moment, a user can use the camera of the mobile phone to shoot the ceiling lamp, and after the ceiling lamp is identified, the user gives a specific gesture to the mobile phone, so that the user can use the camera of the mobile phone to shoot the television, identify the ceiling lamp and then give the mobile phone a specific gesture to establish the association relationship between the ceiling lamp and the television, and further realize the coordination control in the following process.
According to the control method provided by the embodiment of the invention, the first image of the second electronic equipment is acquired through the image acquisition unit; identifying the second electronic equipment by using the first image, and obtaining first identification information; obtaining a first operation on the first electronic device; acquiring a second image of a third electronic device through the image acquisition unit in response to the first operation; identifying the third electronic equipment by using the second image, and obtaining second identification information; and establishing an association relationship between the second electronic equipment and the third electronic equipment by using the first identification information and the second identification information, so that the association between the two equipment is automatically realized.
EXAMPLE five
To implement the method according to the embodiment of the present invention, the embodiment provides an electronic device 50, as shown in fig. 5, where the electronic device 50 includes:
an image collector 51;
a controller 52, configured to acquire a first image of the second electronic device through the image acquirer 51; identifying the second electronic equipment by using the first image, and obtaining first identification information;
the controller 52, further configured to obtain a first operation on the electronic device 50; acquiring a second image of a third electronic device through the image acquirer 51 in response to the first operation; identifying the third electronic equipment by using the second image to obtain second identification information;
the controller 52 is further configured to establish an association relationship between the second electronic device and the third electronic device by using the first identification information and the second identification information.
In an embodiment, as shown in fig. 6, the electronic device may further include:
the communicator 53 is configured to establish a connection with the second electronic device based on a communication system supported by the communicator; establishing connection with the third electronic equipment based on a communication system supported by the third electronic equipment; the communication system for establishing connection with the second electronic equipment is the same as the communication system for establishing connection with the third electronic equipment; the electronic equipment, the second electronic equipment and the third electronic equipment are all in a first network;
the communicator 53 is further configured to:
and sending a first control instruction to the second electronic equipment based on the connection established with the second electronic equipment, and sending a second control instruction to the third electronic equipment based on the connection established with the third electronic equipment according to the incidence relation.
Here, the first control instruction is used for controlling the operation of the second electronic device; the second control instruction is used for controlling the operation of the third electronic device.
In an embodiment, the communicator 53 is further configured to send a third control instruction to one of the second electronic device and the third electronic device; the third control instruction is used for the electronic device, which receives the third control instruction, of the second electronic device and the third electronic device to send a request for establishing connection to another electronic device.
In one embodiment, the controller 52 is further configured to:
obtaining a second operation on the electronic device 50; the second operation is a determination operation for establishing an association relationship;
and responding to the second operation, and establishing an association relationship between the second electronic equipment and the third electronic equipment by using the first identification information and the second identification information.
The controller 52 is specifically configured to:
analyzing the image to obtain the characteristic data of the image;
and identifying the corresponding electronic equipment based on the characteristic data of the image.
It should be noted that: the specific processing procedures of the units of the electronic device have been described in detail above, and are not described in detail here.
In addition, in practical applications, as shown in fig. 7, the electronic device 50 may further include: an audio/video (a/V) input unit 54, a sensing unit 55, a memory 56, an interface unit 57, a power supply unit 58, and a user input unit 59, and the like. Wherein the content of the first and second substances,
the a/V input unit 54 is for receiving an audio or video signal. The a/V input unit 54 may include a camera 541 (equivalent to the image collector 51) and a microphone 542.
The sensing unit 55 detects a current state of the electronic device 50, (e.g., an open or closed state of the electronic device 50), a position of the electronic device 50, presence or absence of contact (i.e., touch input) by a user with the electronic device 50, an orientation of the electronic device 50, acceleration or deceleration movement and direction of the electronic device 50, and the like, and generates a command or signal for controlling an operation of the electronic device 50.
The memory 56 may store software programs or the like for processing and controlling operations performed by the controller 52, or may temporarily store data (e.g., a phonebook, messages, still images, video, etc.) that has been output or is to be output. Also, the memory 56 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The interface unit 57 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 50 or may be used to transmit data between the electronic apparatus 50 and the external device.
The power supply unit 58 receives external power or internal power and supplies appropriate power required to operate the respective elements and components under the control of the controller 52.
The user input unit 59 may generate key input data to control various operations of the electronic apparatus 50 according to commands input by the user. The user input unit 59 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, and the like due to being touched), scroll wheel, joystick, and the like. In particular, when the touch pad is superimposed on the display unit 510 in the form of a layer, a touch screen may be formed.
It should be understood, however, that the electronic device 50 need not implement all of the illustrated components in practice. More or fewer components may alternatively be implemented.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention. The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.
The above description is only for the specific embodiments 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 of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within 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 (11)

1. A control method is applied to a first electronic device, wherein the first electronic device comprises an image acquisition unit, and the method comprises the following steps:
acquiring a first image of second electronic equipment through the image acquisition unit;
identifying the second electronic equipment by using the first image, and obtaining first identification information;
obtaining a first operation on the first electronic equipment, wherein the first operation is an operation of a specific gesture;
acquiring a second image of a third electronic device through the image acquisition unit in response to the first operation;
identifying the third electronic equipment by using the second image, and obtaining second identification information;
establishing an association relationship between the second electronic device and the third electronic device by using the first identification information and the second identification information;
after the second electronic device is connected with the third electronic device, sending a control instruction to one of the second electronic device and the third electronic device, so that the electronic device which receives the control instruction in the second electronic device and the third electronic device sends the control instruction to the other electronic device to control the operation of the other electronic device; the communication systems of the first electronic device, the second electronic device and the third electronic device are the same.
2. The method of claim 1, further comprising:
establishing connection with the second electronic equipment based on a communication system supported by the second electronic equipment;
establishing connection with the third electronic equipment based on a communication system supported by the third electronic equipment;
sending a first control instruction to the second electronic equipment based on the connection established with the second electronic equipment, and sending a second control instruction to the third electronic equipment based on the connection established with the third electronic equipment according to the incidence relation; the first control instruction is used for controlling the operation of the second electronic equipment; the second control instruction is used for controlling the operation of the third electronic device.
3. The method of claim 1, further comprising:
sending a third control instruction to one of the second electronic device and a third electronic device; the third control instruction is used for controlling the electronic equipment which receives the third control instruction in the second electronic equipment and the third electronic equipment to send a request for establishing connection to the other electronic equipment.
4. The method of claim 1, wherein the number of the third electronic devices is at least one.
5. The method according to claim 1, wherein before the establishing the association relationship between the second electronic device and the third electronic device by using the first identification information and the second identification information, the method further comprises:
obtaining a second operation on the first electronic device; the second operation is a determination operation for establishing an association relationship;
and responding to the second operation, and establishing an association relationship between the second electronic equipment and the third electronic equipment by using the first identification information and the second identification information.
6. The method of claim 1, wherein identifying the corresponding electronic device using the captured image comprises:
analyzing the image to obtain the characteristic data of the image;
and identifying the corresponding electronic equipment based on the characteristic data of the image.
7. An electronic device, characterized in that the electronic device comprises:
an image collector;
the controller is used for acquiring a first image of the second electronic equipment through the image collector; identifying the second electronic equipment by using the first image, and obtaining first identification information;
the controller is further used for obtaining a first operation on the electronic equipment, wherein the first operation is an operation of a specific gesture; responding to the first operation, and acquiring a second image of third electronic equipment through the image collector; identifying the third electronic equipment by using the second image to obtain second identification information;
the controller is further configured to establish an association relationship between the second electronic device and the third electronic device by using the first identification information and the second identification information; after the second electronic device is connected with the third electronic device, sending a control instruction to one of the second electronic device and the third electronic device, so that the electronic device which receives the control instruction in the second electronic device and the third electronic device sends the control instruction to the other electronic device to control the operation of the other electronic device; the communication systems of the electronic equipment, the second electronic equipment and the third electronic equipment are the same.
8. The electronic device of claim 7, further comprising: the communicator is used for establishing connection with the second electronic equipment based on a communication system supported by the communicator; establishing connection with the third electronic equipment based on a communication system supported by the third electronic equipment;
the communicator is further configured to:
sending a first control instruction to the second electronic equipment based on the connection established with the second electronic equipment, and sending a second control instruction to the third electronic equipment based on the connection established with the third electronic equipment according to the incidence relation; the first control instruction is used for controlling the operation of the second electronic equipment; the second control instruction is used for controlling the operation of the third electronic device.
9. The electronic device of claim 7, further comprising: a communicator for transmitting a third control instruction to one of the second electronic device and a third electronic device; the third control instruction is used for controlling the electronic equipment which receives the third control instruction in the second electronic equipment and the third electronic equipment to send a request for establishing connection to the other electronic equipment.
10. The electronic device of claim 7, wherein the controller is further configured to:
obtaining a second operation on the electronic device; the second operation is a determination operation for establishing an association relationship;
and responding to the second operation, and establishing an association relationship between the second electronic equipment and the third electronic equipment by using the first identification information and the second identification information.
11. The electronic device of claim 7, wherein the controller is specifically configured to:
analyzing the image to obtain the characteristic data of the image;
and identifying the corresponding electronic equipment based on the characteristic data of the image.
CN201610509988.3A 2016-06-30 2016-06-30 Control method and electronic equipment Active CN106131972B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610509988.3A CN106131972B (en) 2016-06-30 2016-06-30 Control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610509988.3A CN106131972B (en) 2016-06-30 2016-06-30 Control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN106131972A CN106131972A (en) 2016-11-16
CN106131972B true CN106131972B (en) 2019-12-24

Family

ID=57467945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610509988.3A Active CN106131972B (en) 2016-06-30 2016-06-30 Control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN106131972B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102824092A (en) * 2012-08-31 2012-12-19 华南理工大学 Intelligent gesture and voice control system of curtain and control method thereof
CN103916978A (en) * 2013-01-08 2014-07-09 联想(北京)有限公司 Wireless connection establishing method and electronic devices
CN104346025A (en) * 2013-07-29 2015-02-11 联想(北京)有限公司 Information processing method and electronic equipment
CN104423561A (en) * 2013-09-09 2015-03-18 联想(北京)有限公司 Information processing method and terminal processing equipment
CN104808521A (en) * 2015-02-26 2015-07-29 百度在线网络技术(北京)有限公司 Intelligent device control method and device
CN104898591A (en) * 2015-03-27 2015-09-09 西安交通大学 Intelligent household appliance cooperation control method
CN105138123A (en) * 2015-08-24 2015-12-09 小米科技有限责任公司 Device control method and device
CN105323708A (en) * 2014-07-29 2016-02-10 三星电子株式会社 Mobile device and method of pairing the same with electronic device
CN105446143A (en) * 2014-08-14 2016-03-30 联想(北京)有限公司 Information processing method and electronic equipment
CN105553791A (en) * 2015-12-10 2016-05-04 天脉聚源(北京)传媒科技有限公司 Electronic device control method and device
CN107682236A (en) * 2017-08-28 2018-02-09 深圳广田智能科技有限公司 Smart home interactive system and method based on computer picture recognition

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102824092A (en) * 2012-08-31 2012-12-19 华南理工大学 Intelligent gesture and voice control system of curtain and control method thereof
CN103916978A (en) * 2013-01-08 2014-07-09 联想(北京)有限公司 Wireless connection establishing method and electronic devices
CN104346025A (en) * 2013-07-29 2015-02-11 联想(北京)有限公司 Information processing method and electronic equipment
CN104423561A (en) * 2013-09-09 2015-03-18 联想(北京)有限公司 Information processing method and terminal processing equipment
CN105323708A (en) * 2014-07-29 2016-02-10 三星电子株式会社 Mobile device and method of pairing the same with electronic device
CN105446143A (en) * 2014-08-14 2016-03-30 联想(北京)有限公司 Information processing method and electronic equipment
CN104808521A (en) * 2015-02-26 2015-07-29 百度在线网络技术(北京)有限公司 Intelligent device control method and device
CN104898591A (en) * 2015-03-27 2015-09-09 西安交通大学 Intelligent household appliance cooperation control method
CN105138123A (en) * 2015-08-24 2015-12-09 小米科技有限责任公司 Device control method and device
CN105553791A (en) * 2015-12-10 2016-05-04 天脉聚源(北京)传媒科技有限公司 Electronic device control method and device
CN107682236A (en) * 2017-08-28 2018-02-09 深圳广田智能科技有限公司 Smart home interactive system and method based on computer picture recognition

Also Published As

Publication number Publication date
CN106131972A (en) 2016-11-16

Similar Documents

Publication Publication Date Title
KR101706479B1 (en) Method and terminal for controlling internet of things and controlled electronic device
CN104520866B (en) Method for secret protection and terminal device
US20190306709A1 (en) Electronic device
US20190268321A1 (en) Electronic device
CN109117078A (en) For managing the user interface of controllable external equipment
CN103634559A (en) Mobile device and method for messenger-based video call service
CN104813642A (en) Methods, apparatuses and computer readable medium for triggering a gesture recognition mode and device pairing and sharing via non-touch gestures
CN104049732A (en) Multi-input control method and system, and electronic device supporting same
CN107370772A (en) Account login method, device and computer-readable recording medium
JP2014116001A (en) Method for providing information based on context, and system and recording medium thereof
KR102004986B1 (en) Method and system for executing application, device and computer readable recording medium thereof
CN104184890A (en) Information processing method and electronic device
EP2731369A1 (en) Mobile terminal and control method thereof
CN109413157A (en) Message screening method and device
CN106775217B (en) A kind of application identities processing method, device and terminal
CN106131972B (en) Control method and electronic equipment
CN110929238B (en) Information processing method and device
CN110515507B (en) Icon display method and terminal
CN105373318B (en) Information display method and device
WO2018071394A1 (en) Systems, methods, and devices for context-aware applications
CN106789472A (en) Consumer electronics control CEC function detecting methods, apparatus and system
US10949136B2 (en) Information processing device and recording medium
CN104536640B (en) Background picture inspection method and device
CN107172472A (en) Using remote control touch-screen applications are run on the display device of no touch ability
Kleindienst et al. Vision-enhanced multi-modal interactions in domotic environments

Legal Events

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