CN108710307B - Control method and device of intelligent equipment and computer readable storage medium - Google Patents

Control method and device of intelligent equipment and computer readable storage medium Download PDF

Info

Publication number
CN108710307B
CN108710307B CN201810522999.4A CN201810522999A CN108710307B CN 108710307 B CN108710307 B CN 108710307B CN 201810522999 A CN201810522999 A CN 201810522999A CN 108710307 B CN108710307 B CN 108710307B
Authority
CN
China
Prior art keywords
area
intelligent
smart
icon
desktop
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
CN201810522999.4A
Other languages
Chinese (zh)
Other versions
CN108710307A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810522999.4A priority Critical patent/CN108710307B/en
Publication of CN108710307A publication Critical patent/CN108710307A/en
Application granted granted Critical
Publication of CN108710307B publication Critical patent/CN108710307B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Abstract

The disclosure relates to a control method and device of intelligent equipment and a computer readable storage medium, and relates to the technical field of terminals. The method comprises the following steps: since the device group icon includes at least two operation regions, and the at least two operation regions correspond to the at least two smart devices one to one, after the device group icon is displayed, when a touch operation directed to a target operation region is detected, the smart device corresponding to the target operation region may be controlled to execute an instruction corresponding to the touch operation, where the target operation region is any one of the at least two operation regions. That is, at least two corresponding intelligent devices can be controlled through at least two operation areas of the device group icon, and the operation cost is reduced.

Description

Control method and device of intelligent equipment and computer readable storage medium
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a method and an apparatus for controlling an intelligent device, and a computer-readable storage medium.
Background
With the continuous development of the electronic industry, the intelligent equipment gradually leaves the head and corners in the market. In order to improve convenience of a user in operating the intelligent device, the intelligent device is generally controlled remotely through a terminal at present.
In the process of controlling the intelligent device through the terminal, a user often clicks an icon of the intelligent device in the terminal to enter a detailed operation interface of the intelligent device, and then the intelligent device is remotely controlled through the detailed operation interface. For example, when the intelligent switch is controlled through the terminal, a user needs to click an icon of the intelligent switch in the terminal and then enter a detailed operation interface of the intelligent switch, the detailed operation interface comprises a switch option for controlling the intelligent switch, and the user can remotely control the intelligent switch to be turned on and off by touching the switch option.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method and an apparatus for controlling an intelligent device, and a computer-readable storage medium.
In a first aspect, a method for controlling an intelligent device is provided, including:
displaying an equipment group icon, wherein the equipment group icon comprises at least two operation areas, and the at least two operation areas correspond to at least two intelligent devices one to one;
when touch operation aiming at a target operation area is detected, controlling an intelligent device corresponding to the target operation area to execute an instruction corresponding to the touch operation, wherein the target operation area is any one of the at least two operation areas.
Optionally, the device group icon is an icon of an intelligent wall switch, the intelligent wall switch includes at least two switches, and the at least two switches are in one-to-one correspondence with the at least two operation areas.
Optionally, the device group icon is an icon of an intelligent socket, the intelligent socket includes at least two interface switches, and the at least two interface switches correspond to the at least two operation areas one to one.
Optionally, after the controlling the smart device corresponding to the target operation area to execute the instruction corresponding to the touch operation, the method further includes:
and filling a color filling area in the target operation area, wherein the filled color filling area is used for indicating the state of the intelligent equipment corresponding to the target operation area.
Optionally, the display device group icon includes:
displaying the device group icon in a designated area of a desktop;
when the touch operation for the target operation area is detected, controlling the intelligent device corresponding to the target operation area to execute the instruction corresponding to the touch operation, including:
when the touch operation aiming at the target operation area is detected in the designated area of the desktop, controlling the intelligent equipment corresponding to the target operation area to execute the instruction corresponding to the touch operation.
Optionally, the designated area of the desktop is used for intensively displaying icons of the smart devices bound to the smart home application, and the designated area of the desktop is a negative screen of the desktop.
In a second aspect, a control apparatus for a smart device is provided, including:
the display module is used for displaying an equipment group icon, the equipment group icon comprises at least two operation areas, and the at least two operation areas correspond to at least two intelligent devices one to one;
the control module is configured to control the smart device corresponding to the target operation area to execute an instruction corresponding to the touch operation when the touch operation directed to the target operation area is detected, where the target operation area is any one of the at least two operation areas.
Optionally, the device group icon is an icon of an intelligent wall switch, the intelligent wall switch includes at least two switches, and the at least two switches are in one-to-one correspondence with the at least two operation areas.
Optionally, the device group icon is an icon of an intelligent socket, the intelligent socket includes at least two interface switches, and the at least two interface switches correspond to the at least two operation areas one to one.
Optionally, the apparatus further comprises:
and the filling module is used for filling a color filling area in the target operation area, and the filled color filling area is used for indicating the state of the intelligent device corresponding to the target operation area.
Optionally, the display module comprises:
the display sub-module is used for displaying the equipment group icons in a designated area of a desktop;
the control module includes:
and the control sub-module is used for controlling the intelligent equipment corresponding to the target operation area to execute the instruction corresponding to the touch operation when the touch operation aiming at the target operation area is detected in the designated area of the desktop.
Optionally, the designated area of the desktop is used for intensively displaying icons of the smart devices bound to the smart home application, and the designated area of the desktop is a negative screen of the desktop.
In a third aspect, an apparatus for controlling a smart device is provided, the apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of any of the methods of the first aspect described above.
In a fourth aspect, a computer-readable storage medium is provided, having instructions stored thereon, which when executed by a processor, implement the steps of any of the methods of the first aspect described above.
In a fifth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the steps of the method of any of the first aspects above.
The technical scheme provided by the embodiment of the disclosure at least comprises the following beneficial effects:
in this embodiment of the disclosure, since the device group icon includes at least two operation regions, and the at least two operation regions correspond to at least two smart devices one to one, after the device group icon is displayed, when a touch operation directed to a target operation region is detected, the smart device corresponding to the target operation region may be controlled to execute an instruction corresponding to the touch operation, where the target operation region is any one of the at least two operation regions. That is, at least two corresponding intelligent devices can be controlled through at least two operation areas of the device group icon, and the operation cost is reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flowchart illustrating a control method of an intelligent device according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a control method of an intelligent device according to an exemplary embodiment.
Fig. 3 is an exemplary diagram illustrating an icon of a smart wall switch displayed in the negative one of the desktop according to an exemplary embodiment.
Fig. 4 is another example diagram illustrating the display of an icon of a smart wall switch in the negative one of the desktop according to an example embodiment.
Fig. 5 is an exemplary diagram of filling a color filling area of an icon of the smart wall switch in fig. 3.
Fig. 6 is an exemplary diagram of filling a color fill area of an icon of the smart wall switch in fig. 4.
Fig. 7 is a block diagram illustrating a control apparatus of an intelligent device according to an example embodiment.
Fig. 8 is a block diagram illustrating a control apparatus of a smart device according to an example embodiment.
Fig. 9 is a block diagram illustrating a control apparatus of a smart device according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Before explaining the embodiments of the present disclosure in detail, an application scenario of the embodiments of the present disclosure is introduced:
currently, when an intelligent device is controlled through a terminal, a user usually clicks a device group icon of the intelligent device in the terminal and enters a detailed operation interface of the intelligent device, and then the intelligent device is remotely controlled through the detailed operation interface. And if a plurality of intelligent devices are controlled through the terminal, detailed operation interfaces of the plurality of intelligent devices need to be repeatedly accessed. At present, more intelligent device groups are formed by integrating a plurality of intelligent devices, for example, an intelligent wall switch, and since the intelligent wall switch includes two switches, the two switches can be referred to as two intelligent devices, and thus, the intelligent wall switch can be referred to as an intelligent device group. Because the intelligent wall switch comprises two switches, the intelligent equipment can not be controlled to be turned on or turned off through the equipment icon like other intelligent equipment, when the intelligent wall switch is controlled through a terminal, a user is required to click the icon of the intelligent wall switch in the terminal to enter a detailed operation interface of the intelligent wall switch, the detailed operation interface comprises two switch options corresponding to the two switches of the intelligent wall switch, when the user clicks one of the switch options, the switch corresponding to the switch option can be controlled to be turned on or turned off, when the user clicks the other switch option, the switch corresponding to the other switch option can be controlled to be turned on or turned off, and the intelligent wall switch can be controlled through the terminal.
If the next intelligent wall switch is controlled continuously after the control of the intelligent wall switch is finished, the terminal is required to quit the detailed operation interface of the intelligent wall switch, then the icon of the next intelligent wall switch is clicked and the detailed operation interface of the next intelligent wall switch is entered, the detailed operation interface comprises two switch options corresponding to the two switches of the next intelligent wall switch, the method is similar to the method for controlling the intelligent wall switch, the two switch options are used for respectively controlling the corresponding switches to be turned on or turned off, and the next intelligent wall switch is controlled through the terminal.
It can be seen that, when the intelligent device group is controlled through the terminal, the user needs to click the device group icon of the intelligent device group in the terminal to enter the detailed operation interface of the intelligent device group to control the intelligent device group, and the operation cost is high. Moreover, when a plurality of intelligent device groups are controlled through a terminal, a user is required to click an icon of one of the intelligent device groups and enter a detailed operation interface for control, the user exits the detailed operation interface after the control is finished, then continues to click an icon of the next intelligent device group and enter the detailed operation interface of the next intelligent device group for control, exits the detailed operation interface after the control is finished, and further continues to control another intelligent device group, and so on.
Therefore, the embodiment of the present disclosure provides a method for controlling an intelligent device, which can directly control an intelligent device group through an icon of the intelligent device group, thereby reducing operation cost, and when controlling a plurality of intelligent device groups, a detailed operation interface does not need to be repeatedly accessed, thereby simplifying operation process.
Fig. 1 is a flowchart illustrating a control method of a smart device, which is applied to a terminal, according to an exemplary embodiment, and includes the following steps, as shown in fig. 1.
In step 101, a device group icon is displayed, where the device group icon includes at least two operation regions, and the at least two operation regions correspond to at least two smart devices one to one.
In step 102, when a touch operation directed to a target operation area is detected, the smart device corresponding to the target operation area is controlled to execute an instruction corresponding to the touch operation, where the target operation area is any one of the at least two operation areas.
In this embodiment of the disclosure, since the device group icon includes at least two operation regions, and the at least two operation regions correspond to at least two smart devices one to one, after the device group icon is displayed, when a touch operation directed to a target operation region is detected, the smart device corresponding to the target operation region may be controlled to execute an instruction corresponding to the touch operation, where the target operation region is any one of the at least two operation regions. That is, at least two corresponding intelligent devices can be controlled through at least two operation areas of the device group icon, and the operation cost is reduced.
Optionally, the device group icon is an icon of an intelligent wall switch, and the intelligent wall switch includes at least two switches, and the at least two switches are in one-to-one correspondence with the at least two operation areas.
Optionally, the device group icon is an icon of an intelligent socket, and the intelligent socket includes at least two interface switches, and the at least two interface switches are in one-to-one correspondence with the at least two operation regions.
Optionally, after controlling the intelligent device corresponding to the target operation area to execute the instruction corresponding to the touch operation, the method further includes:
and filling a color filling area in the target operation area, wherein the filled color filling area is used for indicating the state of the intelligent equipment corresponding to the target operation area.
Optionally, a device group icon is displayed, comprising:
displaying the device group icon in a designated area of the desktop;
when detecting the touch operation aiming at the target operation area, controlling the intelligent device corresponding to the target operation area to execute the instruction corresponding to the touch operation, including:
when the touch operation aiming at the target operation area is detected in the designated area of the desktop, the intelligent equipment corresponding to the target operation area is controlled to execute the instruction corresponding to the touch operation.
Optionally, the designated area of the desktop is used for intensively displaying the icons of the smart devices bound to the smart home application, and the designated area of the desktop is a negative screen of the desktop.
All the above optional technical solutions can be combined arbitrarily to form optional embodiments of the present disclosure, and the embodiments of the present disclosure are not described in detail again.
Fig. 2 is a flowchart illustrating a control method of an intelligent device according to an exemplary embodiment, and the present embodiment will be described with reference to fig. 1. The method is applied to a terminal, and as shown in fig. 2, the method comprises the following steps.
In step 201, a device group icon is displayed, where the device group icon includes at least two operation areas, and the at least two operation areas correspond to at least two smart devices one to one.
At present, when the intelligent device group is controlled through a terminal, the intelligent device group can be controlled only after the icon of the intelligent device group is clicked and a detailed operation interface is entered, that is, the icon of the intelligent device group is only used for entering the detailed operation interface. However, the method for controlling the smart device group through the detailed operation interface has high operation cost, so the embodiment of the disclosure displays the device group icon corresponding to the smart device group on the terminal, and divides the device group icon into at least two operation areas, and the at least two operation areas correspond to at least two smart devices included in the smart device group one by one, so that the operation can be directly performed in the operation area of the device group icon.
The intelligent device group may include at least two intelligent devices of the same type, or at least two intelligent devices of different types.
In case the group of smart devices comprises at least two smart devices of the same type, the group of smart devices may be a smart wall switch or a smart socket. When the intelligent equipment group is an intelligent wall switch, the equipment group icon is an icon of the intelligent wall switch, the intelligent wall switch comprises at least two switches, and the at least two switches are in one-to-one correspondence with the at least two operation areas. When the intelligent equipment group is an intelligent socket, the equipment group icon is the icon of the intelligent socket, the intelligent socket comprises at least two interface switches, and the at least two interface switches are in one-to-one correspondence with the at least two operation areas. The smart socket may be provided with at least one jack and at least one USB (Universal Serial Bus) interface, an interface switch included in the smart socket may control the opening and closing of the jack and the USB interface, and the jack and the USB interface are used to supply power to other smart devices, where the jack may be a two-hole jack and a three-hole jack.
In the case that the smart device group includes at least two different types of smart devices, the smart device group may be a combination of different types of smart devices, for example, a combination of a smart electric lamp and a smart television, a combination of a smart air purifier and a smart sweeper. When the intelligent equipment group is the combination of the intelligent electric lamp and the intelligent television, the equipment group icon of the intelligent equipment group is the combined icon of the intelligent electric lamp and the intelligent television, and the intelligent electric lamp and the intelligent television are respectively in one-to-one correspondence with at least two operation areas of the combined icon. Similarly, when the intelligent equipment group is the combination of the intelligent air purifier and the intelligent sweeper, the equipment group icon of the intelligent equipment group is the combined icon of the intelligent air purifier and the intelligent sweeper, and the intelligent air purifier and the intelligent sweeper respectively correspond to at least two operation areas of the combined icon one to one.
In a possible embodiment, the areas of the device group icons may be equally divided to obtain at least two areas with the same size, so as to determine the at least two areas with the same size as at least two operation areas, where the at least two operation areas correspond to at least two smart devices one to one. Preferably, the device group icon may be divided vertically and equally to obtain at least two areas with the same size and left-right direction. Of course, the device group icons may be divided in other manners, such as even division horizontally, even division obliquely, or unequal division in any direction, which is not limited in the embodiments of the present disclosure.
It should be noted that, when the device group icon is vertically and equally divided, at least two smart devices included in the smart device group may sequentially correspond to at least two operation areas included in the device group icon one by one. For example, the smart wall switch includes two switches, and the icon of the smart wall switch includes two vertical equally divided operation regions, then the switch on the left side in the smart wall switch may correspond to the operation region on the left side in the icon of the smart wall switch, and the switch on the right side in the smart wall switch may correspond to the operation region on the right side in the icon of the smart wall switch. For another example, if the smart socket includes two interface switches and the icon of the smart socket includes two vertical equally-divided operating regions, the interface switch on the left in the smart socket may correspond to the operating region on the left in the icon of the smart socket and the switch on the right in the smart socket may correspond to the operating region on the right in the icon of the smart socket.
In another possible embodiment, a partial area may be added to the device group icon, at least two operation areas corresponding to at least two smart devices one to one are set in the added area, and the smart devices corresponding to the at least two operation areas are labeled. The at least two operation regions may be arranged in an up-down order, or in a left-right order, or in other ways, which is not limited in the embodiment of the present disclosure.
It should be noted that at least two operation options may be set in the area where the device group icon is added, so as to use the at least two operation options as the at least two operation areas included in the device group icon, and label the smart devices corresponding to the at least two operation options beside the at least two operation options. For example, the smart wall switch includes two switches, two operation options are set in an area added to an icon of the smart wall switch, and switches corresponding to the at least two operation options are marked beside the two operation options. For another example, the smart socket includes two interface switches, two operation options are set in an area added to an icon of the smart socket, and the interface switches corresponding to the at least two operation options are marked beside the two operation options.
In addition, according to different requirements of users, the device group icon may be displayed in an intelligent home application installed in the terminal, or may be displayed in a desktop of the terminal, and the following description is given by two possible implementation manners:
in a first possible implementation manner, the device group icon is displayed in a device control interface of the smart home application.
It should be noted that a device information editing option may be set in a device control interface of the smart home application, where the device information editing option is used to display the device information editing interface, that is, when the user clicks the device information editing option, the terminal may display the device information editing interface.
In a second possible implementation, the device group icon is displayed in a designated area of the desktop.
The desktop is used for displaying icons of the intelligent devices bound to the intelligent home application in a centralized mode, and as an optimal scheme, the desktop is provided with a negative screen. Since the desktop may include other interfaces besides the interface of minus one screen, and a new interface may be added, in a possible implementation manner, the embodiment of the disclosure may further add a new interface on the desktop to use the added interface as a designated area of the desktop. The smart home application is an application capable of controlling the smart device group.
It should be noted that, a device information editing option may also be set in the designated area of the desktop, where the device information editing option is used to display a device information editing interface, that is, when the user clicks the device information editing option, the terminal may display the device information editing interface.
In addition, an add device option may be set in the designated area of the desktop, where the add device option is used to add an icon of a new smart device or smart device group in the designated area of the desktop, that is, the user manually adds an icon of a smart device or smart device group that may be displayed in the designated area of the desktop in the desktop. In a possible implementation manner, when the user clicks the add-device option, the terminal may display an icon of the smart device or the smart device group, which is not displayed in the designated area of the desktop and is bound to the smart home application. In this way, the user can select the icon which needs to be added to the designated area of the desktop from the displayed icons, and then the terminal adds the selected icon of the intelligent device or the intelligent device group to the designated area of the desktop.
As shown in fig. 3, fig. 3 is an exemplary diagram showing an icon of the intelligent wall switch in a negative screen of a desktop, wherein the intelligent wall switch includes two switches, the icon of the intelligent wall switch includes two vertical equally-divided operation areas, the operation area on the left side corresponds to the switch on the left side in the intelligent wall switch, and the operation area on the right side corresponds to the switch on the right side in the intelligent wall switch. In addition, the negative screen also comprises a device information editing option and an adding device option.
As shown in fig. 4, fig. 4 is another exemplary diagram for displaying an icon of an intelligent wall switch in a negative screen of a desktop, where the intelligent wall switch includes two switches, two operation options arranged up and down are set in an area where the icon of the intelligent wall switch is added, an upper operation option corresponds to a left switch in the intelligent wall switch, a lower operation option corresponds to a right switch in the intelligent wall switch, a corresponding left switch is marked beside the upper operation option, and a corresponding right switch is marked beside the lower operation option. In addition, the negative screen also comprises a device information editing option and an adding device option.
In addition, in general, the device group icon is displayed in the device control interface of the smart home application, and in order to improve convenience of a user in controlling the smart device or the smart device group, the terminal may display the device group icon in the smart home application in a designated area of the desktop.
It should be noted that before the terminal displays the device group icon in the smart home application in the designated area of the desktop, it may be detected whether the smart home application has the right to write data into the desktop, and when it is determined that the smart home application has the right to write data into the desktop, the device group icon is displayed in the designated area of the desktop.
It should be further noted that whether the smart home application installed on the terminal has the authority to write data into the desktop or not may be determined, when it is determined that the smart home application has the authority to write data into the desktop, an icon display instruction is sent to the desktop of the terminal, where the icon display instruction is used to instruct the device group icon to be displayed in the designated area of the desktop, and when the desktop receives the icon display instruction, the device group icon may be displayed in the designated area of the desktop.
In step 202, when a touch operation directed to a target operation area is detected, the smart device corresponding to the target operation area is controlled to execute an instruction corresponding to the touch operation, where the target operation area is any one of the at least two operation areas.
Since the device group icon includes at least two operation regions, the terminal may detect a touch operation for a target operation region, which is any one of the at least two operation regions. And the at least two operation areas correspond to the at least two intelligent devices one to one, so that when the touch operation aiming at the target operation area is detected, the intelligent device corresponding to the target operation area can be controlled to execute the instruction corresponding to the touch operation.
In one possible embodiment, the at least two operation regions included in the device group icon may be used to control the corresponding at least two smart devices, and when the at least two corresponding smart devices are controlled by the at least two operation regions, the user may touch any one of the at least two operation regions, so that the terminal may detect a touch operation for any one operation region, and then control the smart device corresponding to any one operation region to execute an instruction corresponding to the touch operation.
It should be noted that, the at least two operation regions may control the on and off of the at least two smart devices, and may also control other functions of the at least two smart devices. For example, when the intelligent devices included in the intelligent device group are an intelligent electric lamp and an intelligent television, the intelligent electric lamp can be controlled to be turned on or turned off through an operation area corresponding to the intelligent electric lamp, and the adjustment of the brightness of the intelligent electric lamp can also be controlled; in addition, the on and off of the intelligent television can be controlled through the corresponding operation area of the intelligent television, and the switching of the channel of the intelligent television can also be controlled.
It should be further noted that the touch operation on the target operation area may be a single-click operation, a double-click operation, a long-press operation, an up-down sliding operation, a left-right sliding operation, and the like, which is not limited in this disclosure. For example, when the smart devices included in the smart device group are a smart lamp and a smart television, the smart lamp can be controlled to be turned on or turned off through a single-click operation of an operation area corresponding to the smart lamp, and the adjustment of the brightness of the smart lamp can be controlled through a vertical sliding operation of the operation area corresponding to the smart lamp.
In addition, since the terminal may display the device group icon on the desktop or may display the device group icon in the smart home application, the terminal may detect a touch operation directed to the target operation area in the desktop, and then control the smart device corresponding to the target operation area to execute an instruction corresponding to the touch operation, and may also detect a touch operation directed to the target operation area in the smart home application, and then control the smart device corresponding to the target operation area to execute an instruction corresponding to the touch operation, which is described below by two possible implementation manners:
in a first possible implementation manner, when the terminal detects a touch operation for a target operation area in a designated area of a desktop, the intelligent device corresponding to the target operation area is controlled to execute an instruction corresponding to the touch operation.
When the terminal detects a touch operation aiming at a target operation area in a designated area of the desktop, the terminal can send a control message to the intelligent home server through an interface between the desktop and the intelligent home server, wherein the control message is used for instructing the intelligent home server to control the intelligent equipment corresponding to the target operation area to execute an instruction corresponding to the touch operation. When the smart home server receives the control message, an instruction corresponding to the touch operation may be sent to the smart device corresponding to the target operation area, so that the smart device executes the instruction corresponding to the touch operation. The specified area of the desktop has already been described in detail in step 201, and is not described herein again.
In a second possible implementation manner, when the terminal detects a touch operation for a target operation area in an equipment control interface of the smart home application, the intelligent equipment corresponding to the target operation area is controlled to execute an instruction corresponding to the touch operation.
When the terminal detects a touch operation aiming at a target operation area in a device control interface of the intelligent home application, the terminal can send a control message to the intelligent home server through an interface between the intelligent home application and the intelligent home server, wherein the control message is used for instructing the intelligent home server to control the intelligent device corresponding to the target operation area to execute an instruction corresponding to the touch operation. When the smart home server receives the control message, an instruction corresponding to the touch operation may be sent to the smart device, so that the smart device executes the instruction corresponding to the touch operation.
In step 203, a color filling area in the target operation area is filled, and the filled color filling area is used to indicate a state of the smart device corresponding to the target operation area.
After the intelligent device corresponding to the target operation area is controlled to execute the instruction corresponding to the touch operation, in order to effectively reflect the current state of the intelligent device, a color filling area in the target operation area may be filled, where the filled color filling area is used to indicate the state of the intelligent device corresponding to the target operation area.
It should be noted that before the color filling area in the target operation area is filled, a color filling area may be set in the device group icon. In a possible implementation manner, at least two color filling regions may be set according to respective total regions of at least two operation regions included in the device group icon, where the at least two total regions correspond to the at least two color filling regions one to one; at least two color filling regions may also be set according to respective partial regions of at least two operation regions included in the device group icon, and the at least two partial regions are in one-to-one correspondence with the at least two color filling regions.
When at least two color filling regions are arranged according to the respective total regions of the at least two operation regions, masks can be respectively arranged above the at least two total regions to obtain at least two masks, and the regions of the at least two masks are used as the at least two color filling regions, wherein the area size of the regions of the at least two masks is the same as the area size of the at least two operation regions.
As shown in fig. 5, fig. 5 is an exemplary diagram of filling a color filling area of an icon of the intelligent wall switch in fig. 3, wherein the color filling area of the left operation area is a left mask area, and the mask area is filled with oblique lines and represents an off-bright state, which indicates that the switch corresponding to the left operation area is in an off state; the color filling area of the right operation area is the right mask area, the mask area is filled by a transverse line and represents a bright state, and the bright state represents that the switch corresponding to the right operation area is in an on state.
As shown in fig. 6, fig. 6 is an exemplary diagram of filling a color filling area of an icon of the intelligent wall switch in fig. 4, wherein the color filling area of the upper operation option is an upper mask area, and the mask area is filled with oblique lines and represents a non-bright state, and the non-bright state indicates that the switch corresponding to the upper operation option is in an off state; the color filling area of the lower operation option is a lower mask area, the mask area is filled by transverse lines and represents a bright state, and the bright state represents that the switch corresponding to the lower operation option is in an on state.
When at least two color fill areas are set according to respective partial areas of at least two operation areas, any partial area of the at least two operation areas may be used as the color fill area, for example, a line area of the smart device in the at least two operation areas may be set as the at least two color fill areas, or a background area of the smart device in the at least two operation areas may be set as the at least two color fill areas.
In this embodiment of the disclosure, since the device group icon includes at least two operation regions, and the at least two operation regions correspond to at least two smart devices one to one, after the device group icon is displayed, when a touch operation directed to a target operation region is detected, the smart device corresponding to the target operation region may be controlled to execute an instruction corresponding to the touch operation, where the target operation region is any one of the at least two operation regions. That is, at least two corresponding intelligent devices can be controlled through at least two operation areas of the device group icon, and the operation cost is reduced.
Fig. 7 is a block diagram illustrating a control apparatus of an intelligent device according to an exemplary embodiment. As shown in fig. 7, the apparatus 700 includes a display module 701 and a control module 702.
A display module 701, configured to display an equipment group icon, where the equipment group icon includes at least two operation areas, and the at least two operation areas correspond to at least two pieces of intelligent equipment one to one;
the control module 702 is configured to, when a touch operation directed to a target operation area is detected, control an intelligent device corresponding to the target operation area to execute an instruction corresponding to the touch operation, where the target operation area is any one of the at least two operation areas.
Optionally, the device group icon is an icon of an intelligent wall switch, and the intelligent wall switch includes at least two switches, and the at least two switches are in one-to-one correspondence with the at least two operation areas.
Optionally, the device group icon is an icon of an intelligent socket, and the intelligent socket includes at least two interface switches, and the at least two interface switches are in one-to-one correspondence with the at least two operation regions.
Optionally, as shown in fig. 8, the apparatus 700 further includes:
a filling module 703 is configured to fill a color filling area in the target operation area, where the color filling area after filling is used to indicate a state of the smart device corresponding to the target operation area.
Optionally, the display module 701 includes:
the display sub-module is used for displaying the equipment group icon in a designated area of the desktop;
the control module 702 includes:
and the control sub-module is used for controlling the intelligent equipment corresponding to the target operation area to execute the instruction corresponding to the touch operation when the touch operation aiming at the target operation area is detected in the designated area of the desktop.
Optionally, the designated area of the desktop is used for intensively displaying the icons of the smart devices bound to the smart home application, and the designated area of the desktop is a negative screen of the desktop.
In this embodiment of the disclosure, since the device group icon includes at least two operation regions, and the at least two operation regions correspond to at least two smart devices one to one, after the device group icon is displayed, when a touch operation directed to a target operation region is detected, the smart device corresponding to the target operation region may be controlled to execute an instruction corresponding to the touch operation, where the target operation region is any one of the at least two operation regions. That is, at least two corresponding intelligent devices can be controlled through at least two operation areas of the device group icon, and the operation cost is reduced.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 9 is a block diagram illustrating a control apparatus 900 of a smart device according to an example embodiment. For example, the apparatus 900 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 9, apparatus 900 may include one or more of the following components: processing component 902, memory 904, power component 906, multimedia component 908, audio component 910, input/output (I/O) interface 912, sensor component 914, and communication component 916.
The processing component 902 generally controls overall operation of the device 900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing component 902 may include one or more processors 920 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 902 can include one or more modules that facilitate interaction between processing component 902 and other components. For example, the processing component 902 can include a multimedia module to facilitate interaction between the multimedia component 908 and the processing component 902.
The memory 904 is configured to store various types of data to support operation at the apparatus 900. Examples of such data include instructions for any application or method operating on device 900, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 904 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 906 provides power to the various components of the device 900. The power components 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power supplies for the device 900.
The multimedia component 908 comprises a screen providing an output interface between the device 900 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 900 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 910 is configured to output and/or input audio signals. For example, audio component 910 includes a Microphone (MIC) configured to receive external audio signals when apparatus 900 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 904 or transmitted via the communication component 916. In some embodiments, audio component 910 also includes a speaker for outputting audio signals.
I/O interface 912 provides an interface between processing component 902 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 914 includes one or more sensors for providing status assessment of various aspects of the apparatus 900. For example, sensor assembly 914 may detect an open/closed state of device 900, the relative positioning of components, such as a display and keypad of device 900, the change in position of device 900 or a component of device 900, the presence or absence of user contact with device 900, the orientation or acceleration/deceleration of device 900, and the change in temperature of device 900. The sensor assembly 914 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 916 is configured to facilitate communications between the apparatus 900 and other devices in a wired or wireless manner. The apparatus 900 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 916 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 916 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 900 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the methods provided by the embodiments shown in fig. 1 or fig. 2 and described above.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 904 comprising instructions, executable by the processor 920 of the apparatus 900 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer-readable storage medium, wherein instructions of the storage medium, when executed by a processor of a mobile terminal, enable the mobile terminal to perform the control method of the smart device described above with reference to fig. 1 or 2.
A computer program product comprising instructions which, when executed by a processor of a terminal, enable the terminal to perform the method of controlling a smart device as described above with reference to fig. 1 or 2.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (14)

1. A control method of an intelligent device, the method comprising:
displaying an equipment group icon, wherein the equipment group icon comprises at least two operation areas, the at least two operation areas correspond to at least two intelligent devices one to one, the equipment group icon is an icon integrating the at least two intelligent devices together, and the at least two operation areas are arranged in an increased area in the equipment group icon; or the at least two operation areas are obtained by dividing the equipment group icon;
when touch operation aiming at a target operation area is detected, controlling the intelligent equipment corresponding to the target operation area to execute an instruction corresponding to the touch operation, wherein the target operation area is any one of the at least two operation areas, the touch operations aiming at the at least two operation areas are the same or different, and the functions of the at least two intelligent equipment are controlled to be the same or different through the at least two operation areas.
2. The method of claim 1, wherein the device group icon is an icon of a smart wall switch, the smart wall switch including at least two switches, the at least two switches corresponding one-to-one with the at least two operating regions.
3. The method of claim 1, wherein the device group icon is an icon of a smart jack, the smart jack including at least two interface switches, the at least two interface switches in one-to-one correspondence with the at least two operating regions.
4. The method of claim 1, wherein after the controlling the smart device corresponding to the target operating area to execute the instruction corresponding to the touch operation, the method further comprises:
and filling a color filling area in the target operation area, wherein the filled color filling area is used for indicating the state of the intelligent equipment corresponding to the target operation area.
5. The method of claim 1, wherein the displaying the device group icon comprises:
displaying the device group icon in a designated area of a desktop;
when the touch operation for the target operation area is detected, controlling the intelligent device corresponding to the target operation area to execute the instruction corresponding to the touch operation, including:
when the touch operation aiming at the target operation area is detected in the designated area of the desktop, controlling the intelligent equipment corresponding to the target operation area to execute the instruction corresponding to the touch operation.
6. The method according to claim 5, wherein the designated area of the desktop is used for intensively displaying icons of the smart devices bound to the smart home application, and the designated area of the desktop is a negative screen of the desktop.
7. An apparatus for controlling a smart device, the apparatus comprising:
the display module is used for displaying an equipment group icon, the equipment group icon comprises at least two operation areas, the at least two operation areas correspond to at least two pieces of intelligent equipment one to one, the equipment group icon is an icon integrating the at least two pieces of intelligent equipment together, and the at least two operation areas are arranged in areas added in the equipment group icon; or the at least two operation areas are obtained by dividing the equipment group icon;
the control module is configured to control the smart device corresponding to the target operation area to execute an instruction corresponding to a touch operation when the touch operation directed to the target operation area is detected, where the target operation area is any one of the at least two operation areas, the touch operations directed to the at least two operation areas are the same or different, and the at least two smart devices are controlled by the at least two operation areas to have the same or different functions.
8. The apparatus of claim 7, wherein the device group icon is an icon of a smart wall switch, the smart wall switch including at least two switches, the at least two switches corresponding one-to-one with the at least two operating regions.
9. The apparatus of claim 7, wherein the device group icon is an icon of a smart jack, the smart jack including at least two interface switches, the at least two interface switches in one-to-one correspondence with the at least two operating regions.
10. The apparatus of claim 7, wherein the apparatus further comprises:
and the filling module is used for filling a color filling area in the target operation area, and the filled color filling area is used for indicating the state of the intelligent device corresponding to the target operation area.
11. The apparatus of claim 7, wherein the display module comprises:
the display sub-module is used for displaying the equipment group icons in a designated area of a desktop;
the control module includes:
and the control sub-module is used for controlling the intelligent equipment corresponding to the target operation area to execute the instruction corresponding to the touch operation when the touch operation aiming at the target operation area is detected in the designated area of the desktop.
12. The apparatus according to claim 11, wherein the designated area of the desktop is used for collectively displaying icons of smart devices bound to the smart home application, and the designated area of the desktop is a negative screen of the desktop.
13. An apparatus for controlling a smart device, the apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of the method of any one of claims 1-6.
14. A computer-readable storage medium having instructions stored thereon, wherein the instructions, when executed by a processor, implement the steps of the method of any of claims 1-6.
CN201810522999.4A 2018-05-28 2018-05-28 Control method and device of intelligent equipment and computer readable storage medium Active CN108710307B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810522999.4A CN108710307B (en) 2018-05-28 2018-05-28 Control method and device of intelligent equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810522999.4A CN108710307B (en) 2018-05-28 2018-05-28 Control method and device of intelligent equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108710307A CN108710307A (en) 2018-10-26
CN108710307B true CN108710307B (en) 2021-11-30

Family

ID=63870866

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810522999.4A Active CN108710307B (en) 2018-05-28 2018-05-28 Control method and device of intelligent equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108710307B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002021877A1 (en) * 2000-09-08 2002-03-14 Fujitsu Limited Remote control device
CN102375741A (en) * 2010-08-12 2012-03-14 株式会社泛泰 User equipment and method for displaying augmented reality window
CN104407592A (en) * 2014-11-27 2015-03-11 小米科技有限责任公司 Method and device for regulating running state of smart home device
CN105706395A (en) * 2014-01-06 2016-06-22 三星电子株式会社 Control apparatus and method for controlling same
CN107817929A (en) * 2017-09-27 2018-03-20 北京小米移动软件有限公司 The quick control method and device of smart machine

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002021877A1 (en) * 2000-09-08 2002-03-14 Fujitsu Limited Remote control device
CN102375741A (en) * 2010-08-12 2012-03-14 株式会社泛泰 User equipment and method for displaying augmented reality window
CN105706395A (en) * 2014-01-06 2016-06-22 三星电子株式会社 Control apparatus and method for controlling same
CN104407592A (en) * 2014-11-27 2015-03-11 小米科技有限责任公司 Method and device for regulating running state of smart home device
CN107817929A (en) * 2017-09-27 2018-03-20 北京小米移动软件有限公司 The quick control method and device of smart machine

Also Published As

Publication number Publication date
CN108710307A (en) 2018-10-26

Similar Documents

Publication Publication Date Title
CN105955607B (en) Content sharing method and device
CN107526494B (en) Keyboard display method, device, terminal and storage medium
EP2991275B1 (en) Making router management application compatible with router firmware
CN108710306B (en) Control method and device of intelligent equipment and computer readable storage medium
CN114201133A (en) Split screen display method and device
EP3035738A1 (en) Method for connecting appliance to network and device for the same
US20170025874A1 (en) Charging method
CN110231901B (en) Application interface display method and device
CN107102772B (en) Touch control method and device
CN105487805B (en) Object operation method and device
CN107992257B (en) Screen splitting method and device
US20180004394A1 (en) Method and apparatus for displaying wifi signal icon, and mobile terminal
CN107272427B (en) Control method and device of intelligent equipment
CN106775210B (en) Wallpaper changing method and device
CN106773750B (en) Equipment image display method and device
CN113010056A (en) Desktop display control method, device, terminal and storage medium
CN108845852B (en) Control method and device of intelligent equipment and computer readable storage medium
CN108650412B (en) Display method, display device and computer readable storage medium
EP3128722A1 (en) File transmission method and apparatus, computer program and recording medium
EP3168732A1 (en) Method and device for switching keyboard style
CN108874450B (en) Method and device for waking up voice assistant
US10613622B2 (en) Method and device for controlling virtual reality helmets
CN108710307B (en) Control method and device of intelligent equipment and computer readable storage medium
CN105873154B (en) Network access method and device
CN106527954B (en) Equipment control method and device and mobile terminal

Legal Events

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