CN115599265A - Intelligent device control method, terminal device, server and storage medium - Google Patents
Intelligent device control method, terminal device, server and storage medium Download PDFInfo
- Publication number
- CN115599265A CN115599265A CN202211269268.6A CN202211269268A CN115599265A CN 115599265 A CN115599265 A CN 115599265A CN 202211269268 A CN202211269268 A CN 202211269268A CN 115599265 A CN115599265 A CN 115599265A
- Authority
- CN
- China
- Prior art keywords
- equipment
- intelligent
- candidate
- target
- combination
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephonic Communication Services (AREA)
Abstract
The application discloses an intelligent device control method, a terminal device, a server and a storage medium, relates to the technical field of intelligent home, and aims to improve the device control efficiency. The method comprises the following steps: responding to the selection operation aiming at each target intelligent device in the candidate intelligent devices, and acquiring the device identification of each target intelligent device, wherein the types of the candidate intelligent devices in the same device set are the same, and each target intelligent device belongs to a living space; sending each equipment identifier to a server; and receiving the equipment function combination sent by the server, and controlling each target intelligent equipment based on the equipment function combination. According to the method and the device, the combination device corresponding to each target intelligent device is established, so that the control of each target intelligent device can be realized based on the device function combination of the combination device, and each target intelligent device can belong to different living spaces, so that the device control efficiency is improved.
Description
Technical Field
The application relates to the technical field of smart home, in particular to a smart device control method, a terminal device, a server and a storage medium.
Background
Along with the development of internet technology, more and more smart machines begin to walk into people's daily life, through terminal equipment remote control smart machine, for people has brought very big convenience, simultaneously, people are also abundanter to the demand of smart machine's use scene.
In the related art, according to different use scenes, a user can control a single intelligent device through a control interface on a terminal device and can also synchronously control the intelligent devices in the same living area, but when the user wants to control the intelligent devices in different living areas, the user can only control the single devices one by one to achieve the required effect.
Therefore, how to improve the control efficiency of the user on the intelligent device becomes a problem to be solved urgently at present.
Disclosure of Invention
The embodiment of the application provides an intelligent device control method, a terminal device, a server and a storage medium, which are used for improving the device control efficiency.
The first intelligent device control method provided by the embodiment of the application is applied to terminal equipment and comprises the following steps:
responding to the selected operation aiming at each target intelligent device in a plurality of candidate intelligent devices, and acquiring the device identification of each target intelligent device, wherein the candidate intelligent devices belong to at least one device set, the types of the candidate intelligent devices in the same device set are the same, the types of the candidate intelligent devices in different device sets are different, and each target intelligent device belongs to a living space;
sending each equipment identifier to a server, so that the server creates at least one equipment function combination corresponding to the combined equipment formed by each target intelligent equipment based on each equipment identifier, and sends the equipment function combination to the terminal equipment;
and receiving the equipment function combination, and controlling each target intelligent equipment based on the equipment function combination.
In an optional implementation manner, the controlling the target smart devices based on the device function combination includes:
generating corresponding candidate control commands based on the equipment function combination;
acquiring a target control command from the candidate control commands in response to a control operation for the combination device;
and sending the combined identifier of the combined equipment and the target control command to the server, so that the server determines the corresponding combined equipment and each target intelligent equipment corresponding to the combined equipment based on the combined identifier, and controls the corresponding target intelligent equipment based on the target control command.
In an optional embodiment, the method further comprises:
and responding to the deleting operation aiming at the combined equipment, sending a deleting instruction containing the combined identification of the group of equipment to the server, so that the server deletes the combined equipment based on the combined identification, and adding each target intelligent equipment corresponding to the combined equipment into a corresponding equipment set.
In an optional embodiment, the method further comprises:
and responding to the adding operation aiming at the combined equipment, acquiring the selected candidate intelligent equipment, sending the equipment identification of the candidate intelligent equipment to the server, so that the server acquires the equipment function of the candidate intelligent equipment based on the equipment identification, and updating the equipment function combination based on the equipment function.
In an optional embodiment, the method further comprises:
in response to the selection operation of a plurality of candidate combination devices, each candidate intelligent device included in the selected candidate combination device is used as the target intelligent device, and the candidate combination device is obtained by combining the candidate intelligent devices based on the respective device functions of the candidate intelligent devices.
The second intelligent device control method provided by the embodiment of the application is applied to a server and comprises the following steps:
receiving device identifications of intelligent devices sent by a terminal device, wherein the device identifications of the intelligent devices are obtained by the terminal device in response to selection operations on target intelligent devices in a plurality of candidate intelligent devices, the candidate intelligent devices belong to at least one device set, the types of the candidate intelligent devices in the same device set are the same, the types of the candidate intelligent devices in different device sets are different, and the target intelligent devices respectively belong to at least one living space;
creating at least one device function combination corresponding to the combined device formed by the target intelligent devices based on the device identifications;
and sending the equipment function combination to the terminal equipment so that the terminal equipment controls each target intelligent equipment based on the equipment function combination.
In an alternative embodiment, the method further comprises:
receiving a combined identifier and a target control command sent by the terminal equipment, wherein the target control command is obtained from each candidate control command by the terminal equipment in response to the control operation aiming at the combined equipment, and each candidate control command is generated based on the equipment function combination of the combined equipment;
determining corresponding combination equipment and each target intelligent equipment corresponding to the combination equipment based on the combination identification;
and controlling the corresponding target intelligent equipment based on the target control command.
The first intelligent device control device provided by the embodiment of the application is applied to a terminal device and comprises:
a response unit, configured to obtain, in response to a selection operation for each target smart device in a plurality of candidate smart devices, a device identifier of each target smart device, where the plurality of candidate smart devices belong to at least one device set, the types of the candidate smart devices in the same device set are the same, the types of the candidate smart devices in different device sets are different, and each target smart device belongs to at least one living space;
a sending unit, configured to send each device identifier to a server, so that the server creates, based on each device identifier, a combination device formed in correspondence with each target intelligent device, combines at least one device function corresponding to each target intelligent device, determines a combination function of the combination device, and sends the combination function device function combination to the terminal device;
and the receiving unit is used for receiving the function combination of the combined function equipment and controlling each target intelligent equipment based on the function combination function of the combined equipment.
In an optional implementation manner, the receiving unit is specifically configured to:
generating corresponding candidate control commands based on the equipment function combination;
acquiring a target control command from the candidate control commands in response to a control operation for the combination device;
and sending the combined identifier of the combined equipment and the target control command to the server, so that the server determines the corresponding combined equipment and each target intelligent equipment corresponding to the combined equipment based on the combined identifier, and controls the corresponding target intelligent equipment based on the target control command.
In an optional implementation manner, the apparatus further includes a deleting unit, configured to:
and responding to the deletion operation aiming at the combined equipment, sending a deletion instruction containing the combined identification of the group of equipment to the server so as to enable the server to delete the combined equipment based on the combined identification and add each target intelligent equipment corresponding to the combined equipment into a corresponding equipment set.
In an optional embodiment, the apparatus further comprises an adding unit configured to:
and responding to the adding operation aiming at the combined equipment, acquiring the selected candidate intelligent equipment, sending the equipment identification of the candidate intelligent equipment to the server, so that the server acquires the equipment function of the candidate intelligent equipment based on the equipment identification, and updating the equipment function combination based on the equipment function.
In an optional embodiment, the apparatus further comprises a selecting unit configured to:
in response to the selection operation of a plurality of candidate combination devices, each candidate intelligent device included in the selected candidate combination device is used as the target intelligent device, and the candidate combination device is obtained by combining the candidate intelligent devices based on the respective device functions of the candidate intelligent devices.
The second kind of intelligent equipment controlling means that this application embodiment provided is applied to the server, includes:
a receiving unit, configured to receive device identifiers of intelligent devices sent by a terminal device, where the device identifiers of the intelligent devices are obtained by the terminal device in response to a selection operation for each target intelligent device in multiple candidate intelligent devices, the candidate intelligent devices belong to at least one device set, the types of the candidate intelligent devices in the same device set are the same, the types of the candidate intelligent devices in different device sets are different, and the target intelligent devices belong to at least one living space;
the creating unit is used for creating at least one equipment function combination corresponding to the combined equipment formed by the target intelligent equipment based on the equipment identification;
and the sending unit is used for sending the equipment function combination to the terminal equipment so that the terminal equipment controls each target intelligent equipment based on the equipment function combination.
In an alternative embodiment, the apparatus further comprises a control unit:
receiving a combined identifier and a target control command sent by the terminal equipment, wherein the target control command is obtained from each candidate control command by the terminal equipment in response to the control operation aiming at the combined equipment, and each candidate control command is generated based on the equipment function combination of the combined equipment;
determining corresponding combination equipment and each target intelligent equipment corresponding to the combination equipment based on the combination identification;
and controlling the corresponding target intelligent equipment based on the target control command.
An electronic device provided in an embodiment of the present application includes a processor and a memory, where the memory stores a computer program, and when the computer program is executed by the processor, the processor is enabled to execute the steps of any one of the above-mentioned intelligent device control methods.
An embodiment of the present application provides a computer-readable storage medium, which includes a computer program, and when the computer program runs on an electronic device, the computer program is configured to enable the electronic device to execute any one of the steps of the intelligent device control method described above.
An embodiment of the present application provides a computer program product, which includes a computer program, the computer program being stored in a computer-readable storage medium; when the processor of the electronic device reads the computer program from the computer-readable storage medium, the processor executes the computer program, so that the electronic device executes the steps of any one of the above-described intelligent device control methods.
The beneficial effects of this application are as follows:
according to the intelligent device control method, the terminal device, the server and the storage medium, the device identification of each target intelligent device is obtained by responding to the selection operation of each target intelligent device in the candidate intelligent devices, the combination device formed by the intelligent devices and the device function combination corresponding to the combination device are created, the candidate intelligent devices belong to at least one device set, the types of the candidate intelligent devices in the same device set are the same, the types of the candidate intelligent devices in different device sets are different, and the target intelligent devices belong to a living space respectively.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is an alternative schematic diagram of an application scenario in an embodiment of the present application;
fig. 2 is a block diagram of a hardware configuration of a terminal device in an embodiment of the present application;
fig. 3 is a block diagram of a software configuration of a terminal device in an embodiment of the present application;
fig. 4 is a block diagram of a hardware configuration of a server in an embodiment of the present application;
fig. 5 is a flowchart of an implementation of a method for controlling an intelligent device in an embodiment of the present application;
FIG. 6A is a schematic view of a device selection interface in an embodiment of the present application;
FIG. 6B is a schematic view of another device selection interface in an embodiment of the present application;
fig. 7 is a schematic flowchart of an apparatus control method in an embodiment of the present application;
FIG. 8 is a schematic illustration of an appliance control interface in an embodiment of the present application;
FIG. 9 is a schematic view of a setup interface of a cluster tool according to an embodiment of the present disclosure;
FIG. 10 is a schematic diagram of a device add page in an embodiment of the present application;
FIG. 11 is a schematic illustration of an add to group interface in an embodiment of the present application;
FIG. 12 is a schematic flow chart diagram of a device adding method in an embodiment of the present application;
FIG. 13 is a schematic view of a setup interface of yet another cluster tool in an embodiment of the present application;
fig. 14 is a flowchart illustrating an implementation of a second intelligent device control method in an embodiment of the present application;
FIG. 15 is a schematic flow chart of a method of assembling a device according to an embodiment of the present application;
fig. 16 is a schematic flowchart of another apparatus control method in the embodiment of the present application;
fig. 17 is a flowchart illustrating a method for deleting a combination device in an embodiment of the present application;
fig. 18 is an interaction diagram of an intelligent device control method in an embodiment of the present application;
fig. 19 is a schematic structural diagram of a first smart device control apparatus in an embodiment of the present application;
fig. 20 is a schematic structural diagram of a second intelligent device control apparatus in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments, but not all embodiments, of the technical solutions of the present application. All other embodiments obtained by a person skilled in the art without any inventive step based on the embodiments described in the present application are within the scope of the protection of the present application.
Some concepts related to the embodiments of the present application are described below.
The intelligent device: the intelligent device is any device, instrument or machine with computing and processing capabilities, a user can control the intelligent device through the terminal device, for example, the direction of a camera is adjusted through the terminal device, all lamps in a house are turned on through the terminal device before the user returns home, and the convenience of life is greatly improved due to the intelligent device.
The intelligent home furnishing comprises: the residential building is used as a platform, facilities related to home life are integrated, an efficient management system for residential facilities and family schedule affairs is constructed, and home safety, convenience and comfortableness can be improved. The smart home is composed of a plurality of smart devices.
The combined equipment comprises the following steps: the target intelligent device is a device formed by a plurality of target intelligent devices, and a user can freely combine the target intelligent devices on the terminal device to obtain the combined device, and then operate the combined device on the terminal device, so that the target intelligent device can be controlled.
And (4) equipment function combination: the method refers to the combination of the functions of each target intelligent device, and after the target intelligent devices are combined to obtain combined devices, the functions of the target intelligent devices can be combined to obtain device function combinations, and the control of the target intelligent devices is realized based on the device function combinations.
The preferred embodiments of the present application will be described below with reference to the accompanying drawings of the specification, it should be understood that the preferred embodiments described herein are merely for illustrating and explaining the present application, and are not intended to limit the present application, and that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
Fig. 1 is a schematic view of an application scenario of an intelligent device control method according to an embodiment of the present application. As shown in fig. 1, a terminal device 101, a network 103, and a server 102 may be included in the present application. The terminal device 101 is installed with a client controlled by the intelligent device, and the server 102 may be a background server corresponding to the client.
An execution main body of the intelligent device control method provided by the embodiment of the application may be the terminal device 101, or the server 102, or may be executed by both the terminal device 101 and the server 102, where the server 102 may establish a connection with multiple terminal devices 101 through the network 103, for example, the terminal device 101 acquires a device identifier of each target intelligent device in response to a selection operation for each target intelligent device in multiple candidate intelligent devices, sends each device identifier to the server 102 through the network 103, the server 102 creates at least one device function combination corresponding to a combination device formed by each target intelligent device based on each device identifier, and sends the device function combination to the terminal device 101 through the network 103, and the terminal device 101 receives the device function combination and controls each target intelligent device based on the device function combination.
It should be noted that an execution main body of the intelligent device control method provided in the embodiment of the present application may be hardware or software. When it is hardware, it may be the terminal apparatus 101 or the server 102. The execution body of the method may further include a device formed by integrating the terminal device 101 and the server 102 through a network.
The terminal device 101 may be various electronic devices with information processing capability, including but not limited to a smart phone, a tablet computer, an e-book reader, a laptop portable computer, a desktop computer, and the like. When the execution subject of the intelligent device control method is software, the method can be installed in the above listed terminal devices, for example, a browser. It may be implemented, for example, as multiple software or software modules to provide distributed services, or as a single software or software module. This is not limited in this application.
Fig. 2 is a block diagram illustrating a hardware configuration of a terminal device according to an embodiment of the present application. It should be understood that the terminal apparatus 101 shown in fig. 2 is only an example, and the terminal apparatus 101 may have more or less components than those shown in fig. 2, may combine two or more components, or may have a different component configuration. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
As shown in fig. 2, the terminal apparatus 101 includes: communication component 210, processor 220, memory 230, display 240, input component 250, audio circuitry 260, SIM card interface 270, and sensor 280.
The communication component 210 is configured to receive or send a call request, receive and send a signal during a call, connect to a server, and upload or download data. The communication component 210 may include an RF (radio frequency) circuit 211, a Wi-Fi (Wireless Fidelity) module 212.
The RF circuit 211 may be used for receiving and transmitting signals during information transmission and reception or during a call, and may receive downlink data of a base station and then deliver the downlink data to the processor 220 for processing; the uplink data may be transmitted to the base station. In general, RF circuit 211 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. The RF circuit 211 may receive electromagnetic waves from an antenna, filter, amplify, etc. the received electromagnetic waves, and transmit to the modem processor for demodulation. The RF circuit 211 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves via the antenna for radiation. In some embodiments, at least some of the functional blocks of the RF circuitry 211 may be disposed in the processor 220. In some embodiments, at least some of the functional blocks of the RF circuitry 211 may be provided in the same device as at least some of the blocks of the processor 220. RF circuitry 211 and the antenna of terminal device 101 are coupled such that terminal device 101 may communicate with a network and other devices via wireless communication techniques.
Wi-Fi belongs to short-distance wireless transmission technology, and the terminal device 101 can help a user to send and receive e-mails, browse webpages, access streaming media and the like through the Wi-Fi module 212, and provides wireless broadband Internet access for the user. The Wi-Fi module 212 may be connected to a router through which an external network is connected. The Wi-Fi module 212 can also connect to a server to upload or download data.
The display 240 is used to display a Graphical User Interface (GUI) for displaying information input by or provided to the user and various menus of the terminal apparatus 101. In particular, display 240 may include a display disposed on a front side of terminal device 101. The display may be configured in the form of a liquid crystal display, light emitting diodes, or the like. The display 240 may be used to display an interface during operation of the terminal device.
The input unit 250 may be used to receive numeric or character information input by a user, and various operations input by the user, etc., and generate signal inputs related to user settings and function control of the terminal device 101. In particular, the input component 250 may include keys and a touch screen, which may be disposed on the front side of the terminal device 101 and may collect touch operations by the user on or near the touch screen, such as clicking a button, dragging a scroll box, and the like.
In some embodiments, the touch screen and the display may be integrated to realize the input and output functions of the terminal device 101, and the integrated touch screen may be referred to as a touch display for short.
The terminal device 101 may further include a positioning module, such as a satellite positioning module or a mobile communication network positioning module, which may determine the geographic location of the terminal device 101 in real time.
The audio circuitry 260, speaker 261, and microphone 262 may provide an audio interface between the user and the terminal device 101. The audio circuit 260 may transmit the electrical signal converted from the received audio data to the speaker 261, and convert the electrical signal into a sound signal by the speaker 261 and output the sound signal. The terminal device 101 may also be provided with a volume button for adjusting the volume of the sound signal. On the other hand, the microphone 262 converts the collected sound signals into electrical signals, which are received by the audio circuit 260 and converted into audio data, which are then output to the RF circuit 211 for transmission to, for example, another terminal, or output to the memory 230 for further processing.
The SIM card interface 270 is used to connect a SIM card. The SIM card can be brought into and out of contact with the terminal apparatus 101 by being inserted into the SIM card interface 270 or being pulled out from the SIM card interface 270. The terminal device 101 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 270 may support a Nano SIM card, a Micro SIM card, a SIM card, or the like. Multiple cards can be inserted into the same SIM card interface at the same time. The types of the plurality of cards may be the same or different. The SIM card interface may also be compatible with different types of SIM cards. The SIM card interface may also be compatible with external memory cards. The terminal device 101 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the end-point device 101 employs esims, namely: an embedded SIM card. The eSIM card may be embedded in the terminal apparatus 101 and cannot be separated from the terminal apparatus 101. The SIM card is used to identify the mobile phone number of the user.
The terminal device 101 may include a USB (universal serial bus) interface or the like in addition to the SIM card interface 270. The USB interface is used for connecting a charging line or other peripherals. For example, the terminal device 101 may connect a charging line through a USB interface. The respective components or modules in the terminal apparatus 101 are connected by a bus.
The terminal device 101 may further comprise at least one sensor 280, such as an acceleration sensor 281, a distance sensor 282, a fingerprint sensor 283, a temperature sensor 284. The terminal device 101 may also be configured with other sensors such as a gyroscope, barometer, hygrometer, thermometer, infrared sensor, light sensor, motion sensor, and the like. For example, the fingerprint sensor 283 may be used to sense that the user clicks on an icon of the operation interface of the terminal device 101.
The terminal device 101 may also include a camera for capturing still images or video. The number of the cameras can be one or more. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing elements convert the optical signals into electrical signals, which are then passed to the processor 220 for conversion into digital image signals.
The processor 220 is a control center of the terminal apparatus 101, connects various parts of the entire terminal with various interfaces and lines, and executes various functions of the terminal apparatus 101 and processes data by running or executing software programs stored in the memory 230 and calling data stored in the memory 230. In some embodiments, processor 220 may include one or more processing units. In the present application, the processor 220 may run an operating system, an application program, a user interface display, and a touch response, and the search object display method according to the embodiment of the present application. The processor 220 performs a specific process of acquiring a search object presentation method, which will be described in detail below.
Fig. 3 is a block diagram of a software configuration of the terminal apparatus 101 according to the embodiment of the present application.
The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android (Android) system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom.
The application layer may include a series of application packages. As shown in fig. 3, the application package may include applications such as camera, gallery, calendar, phone call, map, navigation, clock, bluetooth, music, video, short message, etc. The user can set an alarm clock in the clock application. The application layer may also include third party applications installed on the terminal device.
The Application framework layer provides an Application Programming Interface (API) and a Programming framework for the Application program of the Application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 3, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display, judge whether a status bar exists, lock the screen, intercept the screen and the like.
Content providers are used to store and retrieve data and make it accessible to applications. The data may include alarm clock data, video, images, audio, calls made and answered, browsing history and bookmarks, phone books, and the like.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The telephone manager is used for providing a communication function of the terminal equipment. Such as management of call status (including on, off, etc.). The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a brief dwell, and does not require user interaction. Such as a notification manager used to notify download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, text information is prompted in the status bar, a prompt tone is given, the terminal vibrates, an indicator light flashes, and the like.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), and the like. Wherein, the three-dimensional graphic processing library and the 2D graphic engine both belong to a common camera resource.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
Fig. 4 is a block diagram illustrating a hardware configuration of a server according to an embodiment of the present application. The architecture of the server may be as shown in fig. 4, including a memory 401, a communication module 403, and one or more processors 402.
A memory 401 for storing computer programs executed by the processor 402. The memory 401 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, a program required for running an instant messaging function, and the like; the storage data area can store various instant messaging information, operation instruction sets and the like.
The memory 401 may be a volatile memory (RAM), such as a random-access memory (RAM); the memory 401 may also be a non-volatile memory (non-volatile memory), such as a read-only memory (rom), a flash memory (flash memory), a hard disk (HDD) or a solid-state drive (SSD); or memory 401 is any other medium that can be used to carry or store a desired computer program in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory 401 may be a combination of the above memories.
The processor 402 may include one or more Central Processing Units (CPUs), or be a digital processing unit, etc. A processor 402 for implementing the above data processing method when calling the computer program stored in the memory 401.
The communication module 403 is used for communicating with the terminal device and other servers.
The embodiment of the present application does not limit the specific connection medium among the memory 401, the communication module 403, and the processor 402. In the embodiment of the present application, the memory 401 and the processor 402 are connected through the bus 404 in fig. 4, the bus 404 is depicted by a thick line in fig. 4, and the connection manner between other components is merely illustrative and is not limited. The bus 404 may be divided into an address bus, a data bus, a control bus, and the like. For ease of description, only one thick line is depicted in fig. 4, but not only one bus or one type of bus.
The memory 401 stores a computer storage medium, and the computer storage medium stores computer-executable instructions for implementing the intelligent device control method according to the embodiment of the present application. The processor 402 is configured to perform the intelligent device control method described above.
The smart device control method provided by the exemplary embodiment of the present application is described below with reference to the accompanying drawings in conjunction with the application scenarios described above, it should be noted that the application scenarios described above are only shown for the convenience of understanding the spirit and principles of the present application, and the embodiments of the present application are not limited in this respect.
Referring to fig. 5, an implementation flowchart of the intelligent device control method provided in the embodiment of the present application, taking an execution subject as a client as an example, includes the following steps S51 to S53:
s51: responding to the selected operation aiming at each target intelligent device in the candidate intelligent devices, and acquiring the device identification of each target intelligent device;
the device identification of the target intelligent device is the unique identification of each device, and is used for distinguishing different devices. The plurality of candidate smart devices belong to at least one device set, the candidate smart devices in the same device set are of the same type, the candidate smart devices in different device sets are of different types, for example, the smart devices in the device set 1 are all lamps, the smart devices in the device set 2 are all air conditioners, each target smart device belongs to a living space, and the living space may refer to each room in a residence, for example, a living room, a bedroom, a kitchen, and the like, and is not listed herein. Each target smart device may belong to the same living space, e.g. target smart devices 1-3 all belong to a bedroom, each target smart device may also belong to a different living space, e.g. target smart device 1 belongs to a bedroom, target smart device 2 belongs to a living room, and target smart device 3 belongs to a bathroom.
It should be noted that the types of smart devices in the above listed device sets are only examples and do not constitute a limitation to the present application, and any type of smart device is suitable for the embodiments of the present application.
In this application, the user can carry out the free combination to smart machine according to the user demand, for example, the user wants before returning home that the bedroom is in suitable temperature and bright, then can make up the air conditioner and the floor lamp in bedroom, and the user wants when watching the movie in the sitting room, the lamp is unified around the projecting apparatus reduces luminance to the color adjustment is to the target volume, then can make up relevant lamp, then it can to carry out joint control.
Referring to fig. 6A, which is a schematic diagram of a device selection interface in an embodiment of the present application, where a lamp, an air conditioner, and a camera represent three single device lists (i.e., a device set) of the same type, and in the device selection interface (also referred to as a create/edit grouping page), a user selects a lamp 1, a downlight, and a light strip, then clicks a "save" button, the selected lamp 1, downlight, and light strip are used as target intelligent devices, and a client obtains device identifiers of the target intelligent devices.
Referring to fig. 6B, which is a schematic view of another device selection interface in the embodiment of the present application, in a device set of lamps, each lamp is further divided according to living space, a user selects lamp 1 in a living room, a down lamp and a lamp strip in a bedroom, then clicks a "save" button, so that the same type of intelligent devices in different living spaces can be combined, and a client uses the selected lamp 1, the selected down lamp and the selected lamp strip as target intelligent devices and obtains device identifiers of the target intelligent devices. In addition, after the user selects the lamp 1, the down lamp and the lamp strip, the user switches to the equipment set of the air conditioner or the camera, and the intelligent equipment is continuously selected, so that the combination of the intelligent equipment with different living spaces and different types is realized.
In an alternative embodiment, the method further comprises:
and in response to the selection operation of a plurality of candidate combination devices, taking each candidate intelligent device contained in the selected candidate combination device as each target intelligent device.
Specifically, the client may combine the multiple candidate intelligent devices in advance based on respective device functions of the multiple candidate intelligent devices to generate multiple candidate combined devices, and when a user selects a target intelligent device from the candidate intelligent devices, the client may directly select one candidate combined device to select each candidate intelligent device included in the candidate combined device.
In the embodiment of the application, the intelligent devices of the same type can be combined, different groups can be freely formed by the intelligent devices of the same type according to the requirements of users, the intelligent devices of the same group can be synchronously controlled according to the maximum function of the devices, the devices which can be selected in different scenes are increased from a single device to a combined device which can be selected by the users to realize the consistency of control and scene experience.
S52: sending each equipment identifier to a server so that the server creates at least one equipment function combination corresponding to the combined equipment formed by each target intelligent equipment based on each equipment identifier and sends the equipment function combination to a client;
the client side sends the device identification of each intelligent device to the server, the server determines the control device to be combined according to the device identification, the server constructs the selected single device (namely the target intelligent device) into a new device (namely a combined device), and establishes the corresponding association relationship between each target intelligent device and the combined device. Wherein the model of the combination device is a new device model, and the device function combination of the combination device is determined based on the device functions of all target smart devices, for example, the target smart device 1 has a function 1 and a function 2, and the target smart device 2 has a function 2 and a function 3, then the device function combination of the combination device may include: function 1, function 2, and function 3 may only include function 2 and function 3, in this embodiment of the application, in order to ensure that the user can use more functions and improve the user experience, the device function combination is mainly exemplified as a union of functions of all target smart devices, that is, the device function combination includes original functions of all target smart devices. In addition, since the combined device belongs to a new device, the combination of device functions can be stored under the dimension of the individual devices of the combined device.
S53: and receiving the function combination of the equipment, and controlling each target intelligent equipment based on the function combination of the equipment.
Specifically, the client receives the device function combination, may set a user interface based on the device function combination, and provides a function that can be implemented on the user interface, thereby controlling each target smart device.
In the embodiment of the application, the device identification of each target intelligent device is obtained by responding to the selection operation of each target intelligent device in a plurality of candidate intelligent devices, and the combination device formed by each intelligent device and the device function combination corresponding to the combination device are created.
In an alternative embodiment, as shown in fig. 7, step S53 may be implemented as the following steps S531-S533:
s531: generating corresponding candidate control commands based on the equipment function combination;
s532: acquiring a target control command from each candidate control command in response to a control operation for the combination device;
s533: and sending the combined identifier and the target control command of the combined equipment to the server, so that the server determines the corresponding combined equipment and each target intelligent equipment corresponding to the combined equipment based on the combined identifier, and controls the corresponding target intelligent equipment based on the target control command.
Specifically, the device function combination includes functions that can be realized by the combination device, the candidate control command is a command corresponding to the function, taking the device function combination including the brightness adjustment function as an example, the corresponding candidate control command 1 is brightness adjusted to 50%, the candidate control command 2 is brightness adjusted to 80%, the client obtains a corresponding target control command according to different control operations of the user, then sends a combination identifier of the combination device and the target control command to the server, the server determines the combination device currently needing to be adjusted and each target intelligent device associated with the combination device according to the combination identifier, and adjusts the corresponding target intelligent device according to the target control command. For example, combination device a associates target smart device a and target smart device b, the target control command is to adjust the brightness to 50%, and the server adjusts the brightness of target smart device a and target smart device b to 50%.
In the embodiment of the application, a scheme for quickly operating the same type of intelligent equipment is provided, the intelligent equipment in different spaces can be quickly operated under the condition that the intelligent equipment is more and complicated to operate, and the operation complexity of synchronous control over the intelligent equipment is reduced.
Referring to fig. 8, which is a schematic diagram of an apparatus control interface in an embodiment of the present application, a current combination apparatus is a lamp set 1, a user can turn on and off a lamp through a position of an adjustment button, and adjust color, color temperature, and brightness through the position of the adjustment button, and when the user finishes adjusting, the user clicks a "confirm" button, that is, a control operation for the combination apparatus is finished.
In an optional implementation manner, in response to a deletion operation for the combined device, a deletion instruction including a combined identifier of the group device is sent to the server, so that the server deletes the combined device based on the combined identifier, and adds each target smart device corresponding to the combined device to the corresponding device set.
Specifically, after the user creates the combination device, the user may delete the combination device by one key, and the server determines and deletes the corresponding combination device according to the received combination identifier, and accordingly, each target intelligent device corresponding to the combination device is also restored to the original device set.
Referring to fig. 9, which is a schematic diagram of a setting interface of a combination device in an embodiment of the present application, configured to show relevant settings of the combination device, after the combination device is created, a user may set a device name and a device room in the interface shown in fig. 9, adjust whether the combination device is shown on a home page of a client, and click a save button after the user has completed setting. The user can click the delete button to realize one-key deletion of the combined equipment. In fig. 9, the user may also click on the list of all single devices of the same type of the current user, and jump to the next interface.
In an optional implementation manner, in response to an adding operation for a combined device, a selected candidate smart device is obtained, a device identifier of the candidate smart device is sent to the server, so that the server obtains a device function of the candidate smart device based on the device identifier, and updates the device function combination based on the device function.
Specifically, after the combination device is created, the user may further add a candidate smart device to the combination device, the client sends the device identifier of the selected candidate smart device to the server in response to the addition operation for the combination device, and the server associates the candidate smart device with the combination device and updates the device function combination of the combination device.
Referring to fig. 10, which is a schematic diagram of an equipment adding page in the embodiment of the present application, clicking a list of all similar single devices of a current user in fig. 9 may jump to an interface shown in fig. 10, clicking the list of all similar single devices of the current user, where a list of lamps is shown in fig. 10, and after the user selects a spot lamp and clicks a save button, the spot lamp may be added to a combination device, the user may also click an air conditioner or a camera, and a client displays a corresponding list, from which the user may select a device to be added.
In an alternative implementation manner, for each candidate smart device (i.e., single device), a corresponding add-to-group interface may also be presented, as shown in fig. 11, which is a schematic diagram of an add-to-group interface in an embodiment of the present application, and fig. 11 shows a list of all the combined devices of the same type and a save button of the current user. And the user selects one group of equipment, clicks a storage button, adds the current candidate intelligent equipment to a single equipment list associated with the group of equipment, and updates the equipment function combination of the combined equipment. In fig. 11, the user selects group 1 of lights, and after clicking on save, the current candidate smart device may be added to group 1.
Referring to fig. 12, which is a schematic flow chart of an apparatus adding method in the embodiment of the present application, the method includes the following steps:
s1201: displaying all the combined equipment lists of the same type;
s1202: in response to the selection operation aiming at the target combination equipment, adding the current candidate intelligent equipment into a single equipment list associated with the target combination equipment;
s1203: and updating the device function combination of the target combination device based on the function of the current candidate intelligent device.
Referring to fig. 13, which is a schematic diagram of a setting interface of another combination device in the embodiment of the present application, device-specific settings include modifying WIFI of a device, creating a group, adding a device, and setting more devices, where selecting to create the group may create a new combination device, selecting to add the new smart device to an existing combination device, and setting more devices may implement personalized settings on the combination device. The universal equipment setting comprises an equipment name, an equipment room and common equipment, and a user can set the equipment according to the requirement.
Referring to fig. 14, an implementation flowchart of a second intelligent device control method provided in the embodiment of the present application takes an execution subject as a server as an example, and a specific implementation flow of the method includes the following steps S1401 to S1403:
s1401: receiving equipment identifications of each intelligent equipment sent by a client;
the device identification of each intelligent device is obtained by the client in response to the selected operation of each target intelligent device in the candidate intelligent devices, the candidate intelligent devices belong to at least one device set, the types of the candidate intelligent devices in the same device set are the same, the types of the candidate intelligent devices in different device sets are different, and each target intelligent device belongs to at least one living space;
s1402: creating at least one device function combination corresponding to the combined device formed by the target intelligent devices based on the device identifications;
s1403: and sending the device function combination to the client so that the client controls each target intelligent device based on the device function combination.
Specifically, the server creates a combination device and at least one corresponding device function combination based on the received device identifiers, and sends the device function combination to the client.
In the embodiment of the application, the device identification of each target intelligent device is obtained by responding to the selection operation of each target intelligent device in a plurality of candidate intelligent devices, and the combination device formed by each intelligent device and the device function combination corresponding to the combination device are created.
Referring to fig. 15, which is a schematic flow chart of an apparatus assembly method in the embodiment of the present application, including the following steps:
s1501: displaying all single equipment lists of the same type of the current user;
s1502: responding to the selected operation of the user aiming at each target intelligent device, and acquiring the device identification of each target intelligent device;
s1503: binding each target intelligent device to a combined device based on each device identifier;
s1504: and assigning the function union set of each target intelligent device to the combined device to serve as the device function combination of the combined device.
In an alternative embodiment, referring to fig. 16, the following steps may also be implemented:
s1601: receiving a combined identifier and a target control command sent by a client;
wherein the target control command is acquired by the client from candidate control commands in response to a control operation for the composite device, the candidate control commands being generated based on a combination of device functions of the composite device.
S1602: determining corresponding combination equipment and each target intelligent equipment corresponding to the combination equipment based on the combination identification;
s1603: and controlling the corresponding target intelligent equipment based on the target control command.
Specifically, the server stores a plurality of combination devices, determines corresponding combination devices and target intelligent devices corresponding to the combination devices according to the combination identifiers sent by the client, and determines and controls devices which need to be controlled in the target intelligent devices based on the target control command.
Referring to fig. 17, a schematic flowchart of a method for deleting a combination device in an embodiment of the present application is shown, including the following steps:
s1701: responding to a deletion operation for the target combination device;
s1702: deleting the target combination device;
s1703: and restoring each target intelligent device associated with the target combination device to the original device set.
In an alternative embodiment, a combination device in the server does not serve as a new device, all selected target smart devices are individually stored in an individual area of the server by adopting a special processing mode, and after receiving a control command, the target smart devices to be controlled are determined from the individual area.
Referring to fig. 18, which is an interaction schematic diagram of an intelligent device control method in an embodiment of the present application, including the following steps:
s1801: the client responds to the selected operation aiming at each target intelligent device in the multiple candidate intelligent devices to obtain the device identification of each target intelligent device;
s1802: the client sends each equipment identifier to the server;
s1803: the server receives equipment identification of each intelligent equipment sent by the client, and creates at least one equipment function combination corresponding to the combined equipment formed by each target intelligent equipment based on each equipment identification;
s1804: the server sends the equipment function combination to the client;
s1805: and the client receives the equipment function combination and controls each target intelligent equipment based on the equipment function combination.
Based on the same inventive concept, the embodiment of the application provides a first intelligent device control device. As shown in fig. 19, it is a schematic structural diagram of an intelligent device control apparatus 1900, which may include:
a response unit 1901, configured to obtain a device identifier of each target intelligent device in response to a selection operation for each target intelligent device in multiple candidate intelligent devices, where the multiple candidate intelligent devices belong to at least one device set, the types of the candidate intelligent devices in the same device set are the same, the types of the candidate intelligent devices in different device sets are different, and each target intelligent device belongs to at least one living space;
a sending unit 1902, configured to send each device identifier to a server, so that the server creates a combination device corresponding to each target intelligent device based on each device identifier, combines at least one device function corresponding to each target intelligent device, determines a combination function of the combination device, and sends the combination of the device functions of the combination device to a client;
a receiving unit 1903, configured to receive a combination function device function combination, and control each target smart device based on the combination function device function combination function.
In an alternative embodiment, the receiving unit 1903 is specifically configured to:
generating corresponding candidate control commands based on the equipment function combination;
acquiring a target control command from each candidate control command in response to a control operation for the combination device;
and sending the combined identifier and the target control command of the combined equipment to the server, so that the server determines the corresponding combined equipment and each target intelligent equipment corresponding to the combined equipment based on the combined identifier, and controls the corresponding target intelligent equipment based on the target control command.
In an optional embodiment, the apparatus further comprises a deletion unit 1904 configured to:
and responding to the deletion operation aiming at the combined equipment, sending a deletion instruction containing the combined identification of the group equipment to the server so as to enable the server to delete the combined equipment based on the combined identification, and adding each target intelligent equipment corresponding to the combined equipment into the corresponding equipment set.
In an alternative embodiment, the apparatus further comprises an adding unit 1905 for:
and responding to the adding operation aiming at the combined equipment, acquiring the selected candidate intelligent equipment, sending the equipment identification of the candidate intelligent equipment to the server so that the server acquires the equipment function of the candidate intelligent equipment based on the equipment identification, and updating the equipment function combination based on the equipment function.
In an alternative embodiment, the apparatus further comprises a selecting unit 1906 configured to:
and in response to the selection operation of the candidate combination devices, taking each candidate intelligent device contained in the selected candidate combination device as each target intelligent device, wherein the candidate combination device is obtained by combining the candidate intelligent devices based on the respective device functions of the candidate intelligent devices.
Based on the same inventive concept, the embodiment of the application provides a second intelligent device control device. As shown in fig. 20, which is a schematic structural diagram of the intelligent device control apparatus 2000, the intelligent device control apparatus may include:
a receiving unit 2001, configured to receive device identifiers of the smart devices sent by the client, where the device identifiers of the smart devices are obtained by the client in response to a selection operation for each target smart device in multiple candidate smart devices, the multiple candidate smart devices belong to at least one device set, the types of the candidate smart devices in the same device set are the same, the types of the candidate smart devices in different device sets are different, and each target smart device belongs to at least one living space;
a creating unit 2002 for creating at least one device function combination corresponding to a combination device formed by each target smart device based on each device identifier;
a sending unit 2003, configured to send the device function combination to the client, so that the client controls each target smart device based on the device function combination.
In an alternative embodiment, the apparatus further comprises a control unit 2004:
receiving a combined identifier and a target control command sent by a client, wherein the target control command is acquired from each candidate control command by the client in response to a control operation aiming at the combined equipment, and each candidate control command is generated based on the equipment function combination of the combined equipment;
determining corresponding combination equipment and each target intelligent equipment corresponding to the combination equipment based on the combination identification;
and controlling the corresponding target intelligent equipment based on the target control command.
For convenience of description, the above parts are separately described as modules (or units) according to functional division. Of course, the functionality of the various modules (or units) may be implemented in the same one or more pieces of software or hardware when implementing the present application.
As will be appreciated by one skilled in the art, aspects of the present application may be embodied as a system, method or program product. Accordingly, various aspects of the present application may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
In some possible embodiments, the various aspects of the intelligent device control method provided by the present application may also be implemented in the form of a program product including a computer program for causing an electronic device to perform the steps in the intelligent device control method according to various exemplary embodiments of the present application described above in this specification when the program product is run on the electronic device, for example, the electronic device may perform the steps as shown in fig. 5 or fig. 14.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The program product of embodiments of the present application may employ a portable compact disc read only memory (CD-ROM) and include a computer program, and may be run on an electronic device. However, the program product of the present application is not so limited, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
Readable signal media may include a propagated data signal with a readable computer program embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with a command execution system, apparatus, or device.
The computer program embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer programs for carrying out operations of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer program may execute entirely on the consumer electronic device, partly on the consumer electronic device, as a stand-alone software package, partly on the consumer electronic device and partly on a remote electronic device, or entirely on the remote electronic device or server. In the case of remote electronic devices, the remote electronic devices may be connected to the consumer electronic device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external electronic device (for example, through the internet using an internet service provider).
It should be noted that although in the above detailed description several units or sub-units of the apparatus are mentioned, such a division is merely exemplary and not mandatory. Indeed, the features and functions of two or more of the units described above may be embodied in one unit, according to embodiments of the application. Conversely, the features and functions of one unit described above may be further divided into embodiments by a plurality of units.
Further, while the operations of the methods of the present application are depicted in the drawings in a particular order, this does not require or imply that these operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having a computer-usable computer program embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all changes and modifications that fall within the scope of the present application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.
Claims (10)
1. An intelligent device control method is applied to a terminal device, and comprises the following steps:
responding to selection operation aiming at each target intelligent device in a plurality of candidate intelligent devices, and acquiring a device identifier of each target intelligent device, wherein the plurality of candidate intelligent devices belong to at least one device set, the types of the candidate intelligent devices in the same device set are the same, the types of the candidate intelligent devices in different device sets are different, and each target intelligent device belongs to a living space;
sending each equipment identifier to a server, so that the server creates at least one equipment function combination corresponding to the combined equipment formed by each target intelligent equipment based on each equipment identifier, and sends the equipment function combination to the terminal equipment;
and receiving the equipment function combination, and controlling each target intelligent equipment based on the equipment function combination.
2. The method of claim 1, wherein said controlling said target smart devices based on said combination of device functions comprises:
generating corresponding candidate control commands based on the equipment function combination;
acquiring a target control command from the candidate control commands in response to a control operation for the combination device;
and sending the combined identification of the combined equipment and the target control command to the server, so that the server determines the corresponding combined equipment and each target intelligent equipment corresponding to the combined equipment based on the combined identification, and controls the corresponding target intelligent equipment based on the target control command.
3. The method of claim 1, wherein the method further comprises:
and responding to the deleting operation aiming at the combined equipment, sending a deleting instruction containing the combined identification of the group of equipment to the server, so that the server deletes the combined equipment based on the combined identification, and adding each target intelligent equipment corresponding to the combined equipment into a corresponding equipment set.
4. The method of claim 1, wherein the method further comprises:
and responding to the adding operation aiming at the combined equipment, acquiring the selected candidate intelligent equipment, sending the equipment identification of the candidate intelligent equipment to the server so that the server acquires the equipment function of the candidate intelligent equipment based on the equipment identification, and updating the equipment function combination based on the equipment function.
5. The method of claim 1, wherein the method further comprises:
and in response to the selection operation of a plurality of candidate combination devices, taking each candidate intelligent device contained in the selected candidate combination device as each target intelligent device, wherein the candidate combination device is obtained by combining the plurality of candidate intelligent devices based on the respective device functions of the plurality of candidate intelligent devices.
6. An intelligent device control method is applied to a server, and comprises the following steps:
receiving device identifications of intelligent devices sent by a terminal device, wherein the device identifications of the intelligent devices are obtained by the terminal device in response to a selection operation for each target intelligent device in a plurality of candidate intelligent devices, the candidate intelligent devices belong to at least one device set, the types of the candidate intelligent devices in the same device set are the same, the types of the candidate intelligent devices in different device sets are different, and the target intelligent devices belong to at least one living space respectively;
based on each equipment identifier, creating at least one equipment function combination corresponding to the combined equipment formed by each target intelligent equipment;
and sending the equipment function combination to the terminal equipment so that the terminal equipment controls each target intelligent equipment based on the equipment function combination.
7. The method of claim 6, wherein the method further comprises:
receiving a combined identifier and a target control command sent by the terminal equipment, wherein the target control command is obtained from each candidate control command by the terminal equipment in response to the control operation of the combined equipment, and each candidate control command is generated based on the equipment function combination of the combined equipment;
determining corresponding combination equipment and each target intelligent equipment corresponding to the combination equipment based on the combination identification;
and controlling the corresponding target intelligent equipment based on the target control command.
8. A terminal device comprising a memory and a processor; the memory is used for storing a computer program; when the computer program is executed on the processor, the processor performs the steps of:
responding to the selected operation aiming at each target intelligent device in a plurality of candidate intelligent devices, and acquiring the device identification of each target intelligent device, wherein the candidate intelligent devices belong to at least one device set, the types of the candidate intelligent devices in the same device set are the same, the types of the candidate intelligent devices in different device sets are different, and each target intelligent device belongs to at least one living space;
sending each device identifier to a server, so that the server creates a combined device corresponding to each target intelligent device based on each device identifier, combines at least one device function corresponding to each target intelligent device, determines a combined function of the combined device, and sends the combined function device function combination to the terminal device;
and receiving the function combination of the combined function equipment, and controlling each target intelligent equipment based on the function combination function of the combined equipment.
9. A server, comprising a memory and a processor; the memory is used for storing a computer program; when the computer program is executed on the processor, the processor performs the steps of:
receiving device identifications of intelligent devices sent by a terminal device, wherein the device identifications of the intelligent devices are obtained by the terminal device in response to a selection operation for each target intelligent device in a plurality of candidate intelligent devices, the candidate intelligent devices belong to at least one device set, the types of the candidate intelligent devices in the same device set are the same, the types of the candidate intelligent devices in different device sets are different, and the target intelligent devices belong to at least one living space respectively;
creating at least one device function combination corresponding to the combined device formed by the target intelligent devices based on the device identifications;
and sending the equipment function combination to the terminal equipment so that the terminal equipment controls each target intelligent equipment based on the equipment function combination.
10. A computer-readable storage medium, characterized in that it comprises a computer program for causing an electronic device to carry out the steps of the method according to any one of claims 1 to 7, when said computer program is run on said electronic device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211269268.6A CN115599265A (en) | 2022-10-17 | 2022-10-17 | Intelligent device control method, terminal device, server and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211269268.6A CN115599265A (en) | 2022-10-17 | 2022-10-17 | Intelligent device control method, terminal device, server and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115599265A true CN115599265A (en) | 2023-01-13 |
Family
ID=84846388
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211269268.6A Pending CN115599265A (en) | 2022-10-17 | 2022-10-17 | Intelligent device control method, terminal device, server and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115599265A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116319236A (en) * | 2023-03-20 | 2023-06-23 | 深圳绿米联创科技有限公司 | Space configuration method, device, terminal equipment and storage medium |
-
2022
- 2022-10-17 CN CN202211269268.6A patent/CN115599265A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116319236A (en) * | 2023-03-20 | 2023-06-23 | 深圳绿米联创科技有限公司 | Space configuration method, device, terminal equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20140298249A1 (en) | Method and device for displaying service page for executing application | |
KR20140119609A (en) | Method and device for displaying page for executing application | |
CN113391559A (en) | Smart home equipment control method and terminal equipment | |
CN114721761B (en) | Terminal equipment, application icon management method and storage medium | |
CN115904290A (en) | Display device, communication terminal and screen projection control method | |
CN113552808A (en) | Network distribution method for electronic home equipment, electronic home equipment and mobile terminal | |
CN111176766A (en) | Communication terminal and component display method | |
CN115599265A (en) | Intelligent device control method, terminal device, server and storage medium | |
CN113225838A (en) | Microphone control method, audio receiving equipment and audio collecting equipment | |
CN114530148A (en) | Control method and device and electronic equipment | |
CN113784186B (en) | Terminal device, server, and communication control method | |
CN115334604A (en) | Terminal device, network control method and storage medium | |
CN114071652B (en) | Binding relation establishing method and related equipment | |
CN111600862B (en) | User account management method and device | |
CN113642010B (en) | Method for acquiring data of extended storage device and mobile terminal | |
CN112000411A (en) | Mobile terminal and display method of recording channel occupation information thereof | |
CN114780001B (en) | Control method of multi-way switch equipment, terminal equipment and server | |
CN114007202A (en) | Method for establishing binding relationship and related equipment | |
CN114896009B (en) | Terminal equipment, server, theme recommendation method and storage medium | |
CN114860370B (en) | Display equipment, server and software development kit switching method | |
CN111159734A (en) | Communication terminal and multi-application data inter-access processing method | |
CN114911394B (en) | Terminal equipment and one-hand operation method | |
CN116700553B (en) | Application connection method, electronic equipment and application connection system | |
CN112929858B (en) | Method and terminal for simulating access control card | |
CN114968013B (en) | Terminal device, function setting method and storage medium |
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 |