CN109525966B - Intelligent device query method and device and storage medium - Google Patents
Intelligent device query method and device and storage medium Download PDFInfo
- Publication number
- CN109525966B CN109525966B CN201811046179.9A CN201811046179A CN109525966B CN 109525966 B CN109525966 B CN 109525966B CN 201811046179 A CN201811046179 A CN 201811046179A CN 109525966 B CN109525966 B CN 109525966B
- Authority
- CN
- China
- Prior art keywords
- target
- terminal
- state information
- target device
- user
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/60—Subscription-based services using application servers or record carriers, e.g. SIM application toolkits
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- User Interface Of Digital Computer (AREA)
- Telephonic Communication Services (AREA)
Abstract
The disclosure relates to an inquiry method, an inquiry device and a storage medium of intelligent equipment, relates to the technical field of terminals, and is applied to the terminals, wherein the method comprises the following steps: the method comprises the steps of determining at least one target device and at least one piece of target state information corresponding to each target device according to a viewing record of a user on a terminal, sending a subscription request to a server, so that the server sends subscription information to the terminal when any one piece of target state information changes, and receiving the subscription information sent by the server, wherein the subscription information is used for prompting the user that at least one piece of first target state information corresponding to at least one first target device has changed, the first target state information is any piece of changed target state information, and the first target device is a target device corresponding to the first target state information. The method and the device can realize automatic subscription according to the use habits of the users, simplify the operation and improve the information query efficiency of the intelligent equipment and the use experience of the users.
Description
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a query method and apparatus for an intelligent device, and a storage medium.
Background
In the related art, as the smart home technology gradually enters the daily life of people, a user can bind various smart devices (such as a sweeping robot, an air purifier, a water purifier, an air conditioner and the like) through a mobile terminal, and can remotely inquire the state of the smart devices or control the smart devices through a network on the mobile terminal. In the prior art, because the number of the intelligent devices bound by the mobile terminal is large, a user needs to search a device to be operated in an intelligent device list at first to jump to an operation interface of the corresponding device, and if the user wants to check a plurality of intelligent devices, the user needs to open the operation interfaces corresponding to the plurality of devices in sequence, so that the operation is complicated.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a query method, apparatus, and storage medium for an intelligent device.
According to a first aspect of the embodiments of the present disclosure, there is provided a query method for an intelligent device, which is applied to a terminal, the method including:
determining at least one target device and at least one target state information corresponding to each target device according to a viewing record of a user on the terminal;
sending a subscription request to a server so that the server sends subscription information to the terminal when any target state information changes;
receiving the subscription information sent by the server, where the subscription information is used to prompt a user that at least one first target state information corresponding to at least one first target device has changed, where the first target state information is any changed target state information, and the first target device is a target device corresponding to the first target state information.
Optionally, the viewing record includes: determining the equipment bound with the terminal and the state information corresponding to the equipment, which are checked by a user on the terminal within a preset time length before the moment of the at least one target equipment; or the like, or, alternatively,
and in the record of the state information corresponding to the equipment and the equipment bound with the terminal, which is checked by the user on the terminal, the latest preset number of equipment and the state information corresponding to the preset number of equipment are obtained.
Optionally, after the receiving the subscription information sent by the server, the method further includes:
acquiring a first viewing instruction triggered by a first specified operation performed by a user on the terminal;
and responding to the first viewing instruction, and displaying the first target state information corresponding to the first target equipment on a display interface of the terminal.
Optionally, the method further includes:
acquiring a second viewing instruction triggered by a second specified operation performed by a user on the terminal;
and responding to the second viewing instruction, and displaying each target device and each target state information corresponding to each target device on a display interface of the terminal.
Optionally, after the responding to the second viewing instruction and displaying each target device and each target state information corresponding to each target device on a display interface of the terminal, the method further includes:
acquiring a control instruction triggered by a third specified operation performed by a user on the terminal, wherein the control instruction is used for indicating the operation on second target equipment, and the second target equipment is any one of the target equipment;
and controlling the second target equipment according to the control instruction.
According to a second aspect of the embodiments of the present disclosure, there is provided an inquiry apparatus for an intelligent device, which is applied to a terminal, the apparatus including:
the determining module is configured to determine at least one target device and at least one target state information corresponding to each target device according to a viewing record of a user on the terminal;
the sending module is configured to send a subscription request to a server so that the server sends subscription information to the terminal when any target state information changes;
a receiving module, configured to receive the subscription information sent by the server, where the subscription information is used to prompt a user that at least one first target state information corresponding to at least one first target device has changed, the first target state information is any changed target state information, and the first target device is a target device corresponding to the first target state information.
Optionally, the viewing record includes: determining the equipment bound with the terminal and the state information corresponding to the equipment, which are checked by a user on the terminal within a preset time length before the moment of the at least one target equipment; or the like, or, alternatively,
and in the record of the state information corresponding to the equipment and the equipment bound with the terminal, which is checked by the user on the terminal, the latest preset number of equipment and the state information corresponding to the preset number of equipment are obtained.
Optionally, the apparatus further comprises:
a first obtaining module configured to obtain, after the subscription information sent by the server is received, a first viewing instruction triggered by a first specified operation performed by a user on the terminal;
the first display module is configured to display the first target state information corresponding to the first target device on a display interface of the terminal in response to the first viewing instruction.
Optionally, the apparatus further comprises:
the second acquisition module is configured to acquire a second viewing instruction triggered by a second specified operation performed by the user on the terminal;
and the second display module is configured to respond to the second viewing instruction and display each target device and each target state information corresponding to each target device on a display interface of the terminal.
Optionally, the apparatus further comprises:
a third obtaining module, configured to, after each target device and each target state information corresponding to each target device are displayed on a display interface of the terminal in response to the second viewing instruction, obtain a control instruction triggered by a third specified operation performed by a user on the terminal, where the control instruction is used to instruct an operation on a second target device, and the second target device is any one of the target devices;
a control module configured to control the second target device according to the control instruction.
According to a third aspect of the embodiments of the present disclosure, there is provided an inquiry apparatus for an intelligent device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the instructions in the memory to implement the steps of the query method of the smart device provided by the first aspect of the present disclosure.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium on which computer program instructions are stored, which program instructions, when executed by a processor, implement the steps of the query method of the smart device provided by the first aspect of the present disclosure.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the method comprises the steps that firstly, target state information corresponding to target equipment and the target equipment is determined according to a viewing record of a user on a terminal, wherein the number of the target equipment can be multiple, the number of the target state information corresponding to each target equipment can also be multiple, the terminal sends a subscription request to a server, so that the server sends subscription information to the terminal when any one or more target state information changes, and the terminal receives the subscription information sent by the server to prompt the user that the target state information corresponding to a certain target equipment has changed. The method and the device can realize automatic subscription according to the use habits of the users, simplify the operation and improve the information query efficiency of the intelligent equipment and the use experience of the users.
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 present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow diagram illustrating a query method of a smart device in accordance with an exemplary embodiment;
FIG. 2 is a flow diagram illustrating another query method of a smart device in accordance with an illustrative embodiment;
FIG. 3 is a flow diagram illustrating another query method of a smart device in accordance with an illustrative embodiment;
FIG. 4 is a flow diagram illustrating another query method of a smart device in accordance with an illustrative embodiment;
FIG. 5 is a block diagram illustrating a querying device of an intelligent appliance, according to an example embodiment;
FIG. 6 is a block diagram illustrating another querying device of a smart device in accordance with an illustrative embodiment;
FIG. 7 is a block diagram illustrating another querying device of a smart device in accordance with an illustrative embodiment;
FIG. 8 is a block diagram illustrating another querying device of a smart device in accordance with an illustrative embodiment;
fig. 9 is a block diagram illustrating an inquiry apparatus of an intelligent 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 implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Before introducing the query method, apparatus, and storage medium of the smart device provided by the present disclosure, an application scenario related to each embodiment of the present disclosure is first introduced, where the application scenario includes a server, a terminal, and a device, the terminal and the device can both communicate with the server through a network, and the server can provide data services (e.g., subscription services, etc.) for the terminal and the device. The server may be a local server or a cloud server, the terminal may be, for example, a smartphone, a tablet computer, a smart television, a smart watch, a PDA (Personal Digital Assistant, chinese), a portable computer, or a fixed terminal such as a desktop computer, the terminal may access the internet in a wired or Wireless manner to communicate with the server, for example, using Wireless communication technologies such as Wi-Fi (Wireless Fidelity, chinese), Bluetooth (Bluetooth), and the like, and the device may be an intelligent device bound to the terminal, and may be, for example: the floor sweeping robot comprises a floor sweeping robot, an air purifier, a water purifier, an air conditioner, a lighting lamp, a sound box, kitchen equipment, a robot and the like.
Fig. 1 is a flowchart illustrating a query method of a smart device according to an exemplary embodiment, where the method is applied to a terminal, as shown in fig. 1, and includes the following steps.
In step 101, at least one target device and at least one target state information corresponding to each target device are determined according to a viewing record of a user on a terminal.
For example, a user first connects various devices to a home WLAN (english: Wireless Local Area Networks, chinese: Wireless Local Area Networks) and binds the devices to an account of the user, and after the devices are bound to the account of the user, the devices can be confirmed to belong to the user, so that the private attributes of the devices can be ensured. The binding mode of the device and the account of the user may be binding with the account of the user logging in a specified application program on the terminal, or binding with an SIM (Subscriber identity Module) card configured on the terminal used by the user. After binding is completed, a user can remotely inquire the state of the device on the terminal through a network or control the device, when the user views the state of the device on the terminal, the operation of the user on the terminal can be recorded as a viewing record to determine which devices the user cares about and the state information of the devices, for example, when the user opens an operation page of a certain device, the operation page displays certain state information of the device, and then the device and the state information displayed on the page are stored in the viewing record. All or part of the devices in the viewing record and the status information corresponding to these devices may be taken as target device(s) and target status information(s) corresponding to the target devices. The range of the viewing record may be, for example, the operation record of the user within a preset time length (which may be set to 24 hours, for example) before the current time, or the latest preset number (which may be set to 20, for example) of operation records of the user.
In step 102, a subscription request is sent to the server, so that the server sends subscription information to the terminal when any one of the target state information changes.
For example, after determining the target device and the target status information, the terminal automatically sends a subscription request to the server, and subscribes all the target devices and all the target status information corresponding to all the target devices at one time, and the server can monitor the status of the device through the network, for example: the device sends data containing state information to the server at regular time, or the server actively sends a query instruction to the device, and the device sends the data containing the state information to the server after receiving the query instruction. And when the server monitors that the state information of any one target in any one target device changes, the server sends subscription information to the terminal.
In step 103, subscription information sent by the server is received, where the subscription information is used to prompt the user that at least one first target state information corresponding to at least one first target device has changed, the first target state information is any changed target state information, and the first target device is a target device corresponding to the first target state information.
For example, when any one or more of all the target state information changes, the server sends subscription information to the terminal, such as: when one or more target state information corresponding to a certain target device is changed, or a plurality of target state information corresponding to several target devices is changed, the server sends subscription information to the terminal, and the terminal receives the subscription information, wherein the subscription information can prompt the user that the first target state information corresponding to the first target device has changed, and can also inform the user of the change process of the first target state information, the first target state information is any target state information which changes, and the first target device is the target device corresponding to the first target state information. For example, the first target device is an air purifier, the first target state is current air quality, the subscription information may include content of "current air quality of the air purifier changes" to prompt the user, the user may click the subscription information to check an actual value of the current air quality, and the subscription information may also include content of "current air quality of the air purifier changes from 'good' to 'good'," and directly inform the user of the state of the current air quality. Under the condition that all target devices and all target state information corresponding to all the target devices are not changed, the server does not send subscription information to the terminal, so that the state information corresponding to the device concerned by the user can be pushed to the user in time.
In summary, in the present disclosure, first, target status information corresponding to a target device and the target device is determined according to a viewing record of a user on a terminal, where there may be a plurality of target devices, and there may also be a plurality of target status information corresponding to each target device, the terminal sends a subscription request to a server, so that when any one or more target status information changes, the server sends a subscription message to the terminal, and the terminal receives the subscription information sent by the server to prompt the user that the target status information corresponding to a certain target device has changed. The method and the device can realize automatic subscription according to the use habits of the users, simplify the operation and improve the information query efficiency of the intelligent equipment and the use experience of the users.
It should be noted that, the viewing record may include:
and determining the equipment bound with the terminal and the state information corresponding to the equipment, which are checked by a user on the terminal within a preset time length before the moment of at least one target equipment. Or the like, or, alternatively,
and in the record of the state information corresponding to the equipment and the equipment bound with the terminal, which is checked by the user on the terminal, the latest equipment with the preset number and the state information corresponding to the equipment with the preset number are obtained.
For example, in order to determine which smart devices are concerned by the user and those state information of the smart devices, when the user views the state of the devices on the terminal, the operation of the user on the terminal may be recorded as a viewing record, for example, the state information corresponding to the devices and the devices bound to the terminal viewed by the user on the terminal may be recorded within a preset time length before the time (i.e., the current time) at which the at least one target device is determined (for example, within 2 days before the current time), the state information corresponding to the devices and the devices bound to the terminal viewed by the user on the terminal may also be recorded, and the state information corresponding to the latest preset number (for example, 30 devices) of the devices and the preset number of devices may be selected as the viewing record. For example, the user opens an operation page of the sweeping robot before 3 hours, the position, the current electric quantity and the cleaning mode information of the sweeping robot are displayed on the operation page, and then the sweeping robot, the corresponding position, the current electric quantity and the cleaning mode are stored in the check record as a record.
Fig. 2 is a flowchart illustrating another querying method of a smart device according to an exemplary embodiment, where as shown in fig. 2, after step 103, the method further includes:
in step 104, a first viewing instruction triggered by a first specified operation performed by a user on the terminal is obtained.
In step 105, in response to the first viewing instruction, displaying first target state information corresponding to the first target device on a display interface of the terminal.
For example, after the terminal receives the subscription information, if the user cares about the specific situation of the first target state information corresponding to the first target device, a first specified operation may be performed on the terminal to trigger a first viewing instruction, and after the terminal receives the first viewing instruction, the first target state information corresponding to the first target device is displayed on the display interface, so that the user does not need to enter a specified application program again, search for the first target device, view the first target state information again, and perform cumbersome operations, and can view the interested information in real time. The first specifying operation may be a specifying operation performed in a specified area, for example: the user can perform a click operation, a long-press operation, a double-click operation or an enlargement gesture operation in an area of the subscription information display or other designated areas. For example, the first target device is an air conditioner, the first target state is a current working state, after the current working state is changed from "cooling" to "dehumidifying", the terminal receives subscription information sent by the server, wherein the subscription information comprises content of "the current working state of the air conditioner has changed" to prompt a user, the user double-clicks the subscription information, and the current working state of the air conditioner is displayed as "dehumidifying" on the display interface.
Fig. 3 is a flowchart illustrating another querying method of a smart device according to an exemplary embodiment, where the method further includes, as shown in fig. 3:
in step 106, a second viewing instruction triggered by a second specified operation performed by the user on the terminal is obtained.
In step 107, each target device and each target state information corresponding to each target device are displayed on the display interface of the terminal in response to the second viewing instruction.
For example, the present disclosure further provides a manner for a user to view all target devices and all target state information corresponding to all target devices at a time, if the user wants to view the devices and the state information corresponding to the devices that have been viewed recently (within a preset duration or a preset number of the latest views), a second specified operation may be performed on the terminal to trigger a second viewing instruction, and after the terminal receives the second viewing instruction, each target state information corresponding to each target device and each target device is displayed on the display interface, so that the user does not need to enter a specified application program, sequentially finds each device of interest, sequentially enters the operation interface of each device of interest, views the corresponding state information, and other cumbersome operations, and can view the target state information of all target devices in real time. The second specifying operation may be a specifying operation performed in a specified area, for example: the operation can be a click operation, a long press operation, a double-click operation or a zoom-in gesture operation in a designated area of the display interface (for example, an icon of a designated application program).
Fig. 4 is a flowchart illustrating another querying method of a smart device according to an exemplary embodiment, as shown in fig. 4, after step 107, the method further includes:
in step 108, a control instruction triggered by a third specified operation performed by the user on the terminal is obtained, where the control instruction is used to instruct an operation on a second target device, and the second target device is any one of the target devices.
In step 109, the second target device is controlled according to the control instruction.
For example, after the user views all target devices and all target state information corresponding to all target devices, if the user wants to control one of the target devices, a third specified operation may be performed on the terminal to trigger a control instruction, the terminal may control a second target device according to the control instruction, for example, the control instruction may be sent to the server through the network, and the server controls the second target device according to the control instruction. The third specifying operation may be a specifying operation performed in a specified area, for example, a click operation, a long-press operation, a double-click operation, or an enlargement gesture operation may be performed in a display area of certain target state information corresponding to the second target device on the display interface. For example, the second target device is an air conditioner, the second target state is a power state, the user checks all target devices and all target state information corresponding to all the target devices ON the display interface, finds that the power state of the air conditioner is ON (ON), and wants to control the air conditioner to be turned OFF (OFF), then the user can click a display area of the power state of the air conditioner ON the display interface to trigger a control instruction, and switch the power state from ON to OFF, and after receiving the control instruction, the terminal can send the control instruction to the server, and then the server controls the air conditioner to be turned OFF, so as to realize the switching of the power state of the air conditioner.
In summary, in the present disclosure, first, target status information corresponding to a target device and the target device is determined according to a viewing record of a user on a terminal, where there may be a plurality of target devices, and there may also be a plurality of target status information corresponding to each target device, the terminal sends a subscription request to a server, so that when any one or more target status information changes, the server sends a subscription message to the terminal, and the terminal receives the subscription information sent by the server to prompt the user that the target status information corresponding to a certain target device has changed. The method and the device can realize automatic subscription according to the use habits of the users, simplify the operation and improve the information query efficiency of the intelligent equipment and the use experience of the users.
Fig. 5 is a block diagram illustrating an inquiring apparatus of an intelligent device according to an exemplary embodiment, as shown in fig. 5, applied to a terminal, the apparatus 200 including:
the determining module 201 is configured to determine at least one target device and at least one target state information corresponding to each target device according to a viewing record of a user on the terminal.
A sending module 202, configured to send a subscription request to the server, so that the server sends subscription information to the terminal when any one of the target state information changes.
The receiving module 203 is configured to receive subscription information sent by the server, where the subscription information is used to prompt the user that at least one first target state information corresponding to at least one first target device has changed, the first target state information is any changed target state information, and the first target device is a target device corresponding to the first target state information.
Wherein viewing the record may include: and determining the equipment bound with the terminal and the state information corresponding to the equipment, which are checked by a user on the terminal within a preset time length before the moment of at least one target equipment. Or the like, or, alternatively,
and in the record of the state information corresponding to the equipment and the equipment bound with the terminal, which is checked by the user on the terminal, the latest equipment with the preset number and the state information corresponding to the equipment with the preset number are obtained.
Fig. 6 is a block diagram illustrating another querying apparatus of an intelligent device according to an exemplary embodiment, where as shown in fig. 6, the apparatus 200 further includes:
the first obtaining module 204 is configured to obtain, after receiving the subscription information sent by the server, a first viewing instruction triggered by a first specified operation performed by the user on the terminal.
The first display module 205 is configured to display, in response to the first viewing instruction, first target state information corresponding to the first target device on a display interface of the terminal.
Fig. 7 is a block diagram illustrating another querying device of an intelligent device according to an exemplary embodiment, and as shown in fig. 7, the device 200 further includes:
and a second obtaining module 206 configured to obtain a second viewing instruction triggered by a second specified operation performed by the user on the terminal.
And a second display module 207 configured to display each target device and each target state information corresponding to each target device on a display interface of the terminal in response to the second viewing instruction.
Fig. 8 is a block diagram illustrating another querying device of an intelligent device according to an exemplary embodiment, and as shown in fig. 8, the device 200 further includes:
and the third obtaining module 208 is configured to, after each target device and each target state information corresponding to each target device are displayed on the display interface of the terminal in response to the second viewing instruction, obtain a control instruction triggered by a third specified operation performed by the user on the terminal, where the control instruction is used to instruct an operation on a second target device, and the second target device is any one of the target devices.
A control module 209 configured to control the second target device according to the control instruction.
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.
In summary, in the present disclosure, first, target status information corresponding to a target device and the target device is determined according to a viewing record of a user on a terminal, where there may be a plurality of target devices, and there may also be a plurality of target status information corresponding to each target device, the terminal sends a subscription request to a server, so that when any one or more target status information changes, the server sends a subscription message to the terminal, and the terminal receives the subscription information sent by the server to prompt the user that the target status information corresponding to a certain target device has changed. The method and the device can realize automatic subscription according to the use habits of the users, simplify the operation and improve the information query efficiency of the intelligent equipment and the use experience of the users.
Fig. 9 is a block diagram illustrating an apparatus 300 for querying a smart device according to an example embodiment. For example, the apparatus 300 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, the apparatus 300 may include one or more of the following components: a processing component 302, a memory 304, a power component 306, a multimedia component 308, an audio component 310, an input/output (I/O) interface 312, a sensor component 314, and a communication component 316.
The processing component 302 generally controls overall operation of the device 300, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 302 may include one or more processors 320 to execute instructions to perform all or a portion of the steps of the querying method of the smart device described above. Further, the processing component 302 can include one or more modules that facilitate interaction between the processing component 302 and other components. For example, the processing component 302 may include a multimedia module to facilitate interaction between the multimedia component 308 and the processing component 302.
The memory 304 is configured to store various types of data to support operations at the apparatus 300. Examples of such data include instructions for any application or method operating on device 300, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 304 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 multimedia component 308 includes a screen that provides an output interface between the device 300 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 308 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 300 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 310 is configured to output and/or input audio signals. For example, audio component 310 includes a Microphone (MIC) configured to receive external audio signals when apparatus 300 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 304 or transmitted via the communication component 316. In some embodiments, audio component 310 also includes a speaker for outputting audio signals.
The I/O interface 312 provides an interface between the processing component 302 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 assembly 314 includes one or more sensors for providing various aspects of status assessment for the device 300. For example, sensor assembly 314 may detect an open/closed state of device 300, the relative positioning of components, such as a display and keypad of device 300, the change in position of device 300 or a component of device 300, the presence or absence of user contact with device 300, the orientation or acceleration/deceleration of device 300, and the change in temperature of device 300. Sensor assembly 314 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 314 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 314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 316 is configured to facilitate wired or wireless communication between the apparatus 300 and other devices. The device 300 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 316 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 316 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 300 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 above-described query method of the smart device.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 304 comprising instructions, executable by the processor 320 of the apparatus 300 to perform the above-described query method for a smart device 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.
In summary, in the present disclosure, first, target status information corresponding to a target device and the target device is determined according to a viewing record of a user on a terminal, where there may be a plurality of target devices, and there may also be a plurality of target status information corresponding to each target device, the terminal sends a subscription request to a server, so that when any one or more target status information changes, the server sends a subscription message to the terminal, and the terminal receives the subscription information sent by the server to prompt the user that the target status information corresponding to a certain target device has changed. The method and the device can realize automatic subscription according to the use habits of the users, simplify the operation and improve the information query efficiency of the intelligent equipment and the use experience of the users.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure 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 present disclosure is limited only by the appended claims.
Claims (8)
1. An inquiry method of intelligent equipment is applied to a terminal, and comprises the following steps:
determining at least one target device and at least one target state information corresponding to each target device according to a viewing record of a user on the terminal;
sending a subscription request to a server so that the server sends subscription information to the terminal when any target state information changes;
receiving the subscription information sent by the server, where the subscription information is used to prompt a user that at least one first target state information corresponding to at least one first target device has changed, where the first target state information is any changed target state information, and the first target device is a target device corresponding to the first target state information;
acquiring a first viewing instruction triggered by a first specified operation performed by a user on the terminal, wherein the first specified operation is a click operation, a long-time press operation, a double-click operation or an amplification gesture operation performed in the area displayed by the subscription information;
responding to the first viewing instruction, and displaying the first target state information corresponding to the first target device on a display interface of the terminal;
acquiring a second viewing instruction triggered by a second specified operation performed by a user on the terminal;
and responding to the second viewing instruction, and displaying each target device and each target state information corresponding to each target device on a display interface of the terminal.
2. The method of claim 1, wherein viewing the record comprises: determining the equipment bound with the terminal and the state information corresponding to the equipment, which are checked by a user on the terminal within a preset time length before the moment of the at least one target equipment; or the like, or a combination thereof,
and in the record of the state information corresponding to the equipment and the equipment bound with the terminal, which is checked by the user on the terminal, the latest preset number of equipment and the state information corresponding to the preset number of equipment are obtained.
3. The method according to claim 1, wherein after said displaying each of the target devices and each of the target status information corresponding to each of the target devices on the display interface of the terminal in response to the second viewing instruction, the method further comprises:
acquiring a control instruction triggered by a third specified operation performed by a user on the terminal, wherein the control instruction is used for indicating the operation on a second target device, and the second target device is any one of the target devices;
and controlling the second target equipment according to the control instruction.
4. An inquiry device of intelligent equipment is characterized in that the inquiry device is applied to a terminal, and the inquiry device comprises:
the determining module is configured to determine at least one target device and at least one target state information corresponding to each target device according to a viewing record of a user on the terminal;
the sending module is configured to send a subscription request to a server so that the server sends subscription information to the terminal when any target state information changes;
a receiving module, configured to receive the subscription information sent by the server, where the subscription information is used to prompt a user that at least one first target state information corresponding to at least one first target device has changed, where the first target state information is any changed target state information, and the first target device is a target device corresponding to the first target state information;
a first obtaining module, configured to obtain, after the subscription information sent by the server is received, a first viewing instruction triggered by a first specified operation performed by a user on the terminal, where the first specified operation is a click operation, a long-press operation, a double-click operation, or a zoom-in gesture operation performed in a region where the subscription information is displayed;
a first display module configured to display the first target state information corresponding to the first target device on a display interface of the terminal in response to the first viewing instruction;
the second acquisition module is configured to acquire a second viewing instruction triggered by a second specified operation performed by the user on the terminal;
and the second display module is configured to respond to the second viewing instruction and display each target device and each target state information corresponding to each target device on a display interface of the terminal.
5. The apparatus of claim 4, wherein the viewing record comprises: determining the equipment bound with the terminal and the state information corresponding to the equipment, which are checked by a user on the terminal within a preset time length before the moment of the at least one target equipment; or the like, or, alternatively,
and in the record of the state information corresponding to the equipment and the equipment bound with the terminal, which is checked by the user on the terminal, the latest preset number of equipment and the state information corresponding to the preset number of equipment are obtained.
6. The apparatus of claim 4, further comprising:
a third obtaining module, configured to, after each target device and each target state information corresponding to each target device are displayed on a display interface of the terminal in response to the second viewing instruction, obtain a control instruction triggered by a third specified operation performed by a user on the terminal, where the control instruction is used to instruct an operation on a second target device, and the second target device is any one of the target devices;
a control module configured to control the second target device according to the control instruction.
7. An inquiry device of an intelligent device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
determining at least one target device and at least one target state information corresponding to each target device according to a viewing record of a user on a terminal;
sending a subscription request to a server so that the server sends subscription information to the terminal when any target state information changes;
receiving the subscription information sent by the server, where the subscription information is used to prompt a user that at least one first target state information corresponding to at least one first target device has changed, where the first target state information is any changed target state information, and the first target device is a target device corresponding to the first target state information;
acquiring a first viewing instruction triggered by a first specified operation performed by a user on the terminal, wherein the first specified operation is a click operation, a long-time press operation, a double-click operation or an amplification gesture operation performed in the area displayed by the subscription information;
responding to the first viewing instruction, and displaying the first target state information corresponding to the first target device on a display interface of the terminal;
acquiring a second viewing instruction triggered by a second specified operation performed by a user on the terminal;
and responding to the second viewing instruction, and displaying each target device and each target state information corresponding to each target device on a display interface of the terminal.
8. A computer-readable storage medium, on which computer program instructions are stored, which program instructions, when executed by a processor, carry out the steps of the method according to any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811046179.9A CN109525966B (en) | 2018-09-07 | 2018-09-07 | Intelligent device query method and device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811046179.9A CN109525966B (en) | 2018-09-07 | 2018-09-07 | Intelligent device query method and device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109525966A CN109525966A (en) | 2019-03-26 |
CN109525966B true CN109525966B (en) | 2022-05-06 |
Family
ID=65771226
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811046179.9A Active CN109525966B (en) | 2018-09-07 | 2018-09-07 | Intelligent device query method and device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109525966B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110673502B (en) * | 2019-10-14 | 2021-01-22 | 珠海格力电器股份有限公司 | Quick response method and system of intelligent device, storage medium and network side device |
WO2021232197A1 (en) * | 2020-05-18 | 2021-11-25 | Oppo广东移动通信有限公司 | Method and apparatus for monitoring device state, device, and storage medium |
CN113822769A (en) * | 2021-08-31 | 2021-12-21 | 东风商用车有限公司 | Mining area service information interaction method, device, equipment and readable storage medium |
CN113645108B (en) * | 2021-09-09 | 2022-11-04 | 北京自如信息科技有限公司 | Intelligent household equipment monitoring system and method |
CN117435320B (en) * | 2023-10-25 | 2024-06-28 | 深圳市二郎神视觉科技有限公司 | Man-machine interaction control method and device, server and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105487392A (en) * | 2015-11-26 | 2016-04-13 | 小米科技有限责任公司 | Device display method and apparatus |
CN105867149A (en) * | 2016-04-19 | 2016-08-17 | 珠海格力电器股份有限公司 | State reporting method and device for smart home and terminal |
CN106302059A (en) * | 2016-10-21 | 2017-01-04 | 北京中天智汉科技有限责任公司 | A kind of long-range control method for Smart Home and device |
CN106371333A (en) * | 2015-07-20 | 2017-02-01 | 阿里巴巴集团控股有限公司 | Controlling method, apparatus, and system for intelligent device |
EP3355521A1 (en) * | 2015-11-24 | 2018-08-01 | Samsung Electronics Co., Ltd. | Smart home service server and control method therefor |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150370272A1 (en) * | 2014-06-23 | 2015-12-24 | Google Inc. | Intelligent configuration of a smart environment based on arrival time |
-
2018
- 2018-09-07 CN CN201811046179.9A patent/CN109525966B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106371333A (en) * | 2015-07-20 | 2017-02-01 | 阿里巴巴集团控股有限公司 | Controlling method, apparatus, and system for intelligent device |
EP3355521A1 (en) * | 2015-11-24 | 2018-08-01 | Samsung Electronics Co., Ltd. | Smart home service server and control method therefor |
CN105487392A (en) * | 2015-11-26 | 2016-04-13 | 小米科技有限责任公司 | Device display method and apparatus |
CN105867149A (en) * | 2016-04-19 | 2016-08-17 | 珠海格力电器股份有限公司 | State reporting method and device for smart home and terminal |
CN106302059A (en) * | 2016-10-21 | 2017-01-04 | 北京中天智汉科技有限责任公司 | A kind of long-range control method for Smart Home and device |
Also Published As
Publication number | Publication date |
---|---|
CN109525966A (en) | 2019-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109525966B (en) | Intelligent device query method and device and storage medium | |
US10291713B2 (en) | Smart device control method and apparatus | |
CN104407592B (en) | A kind of method and device adjusting smart home device operating status | |
CN106385351B (en) | Control method and device of intelligent household equipment | |
WO2016192326A1 (en) | Cloud business card transmission method and device | |
CN104010222A (en) | Method, device and system for displaying comment information | |
CN108810866B (en) | Method and device for connecting intelligent equipment and storage medium | |
CN109521918B (en) | Information sharing method and device, electronic equipment and storage medium | |
CN105281994B (en) | Working mode switching method and device | |
CN107948926A (en) | The method and apparatus that smart machine is shared | |
CN113365153B (en) | Data sharing method and device, storage medium and electronic equipment | |
CN111031002B (en) | Broadcast discovery method, broadcast discovery device, and storage medium | |
CN103986821A (en) | Method, equipment and system for carrying out parameter adjustment | |
CN107197441A (en) | The operating mode control method and device of intelligent home device | |
CN105549944A (en) | Device display method and device | |
CN104202561A (en) | Method and device for playing stream media data | |
CN106507282B (en) | Wireless connection control method and device | |
CN108848484B (en) | Equipment sharing method, device and storage medium | |
CN112291631A (en) | Information acquisition method, device, terminal and storage medium | |
CN106453568B (en) | Operation executes method, apparatus and system | |
CN109961793B (en) | Method and device for processing voice information | |
CN109040651B (en) | Video communication method and device | |
CN110636318A (en) | Message display method, message display device, client device, server and storage medium | |
CN110045893A (en) | Querying method and device is broadcast live | |
CN106933111B (en) | Method and device for controlling equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |