[go: up one dir, main page]

CN109525966B - Query method, device and storage medium for intelligent equipment - Google Patents

Query method, device and storage medium for intelligent equipment Download PDF

Info

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
Application number
CN201811046179.9A
Other languages
Chinese (zh)
Other versions
CN109525966A (en
Inventor
孙永利
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201811046179.9A priority Critical patent/CN109525966B/en
Publication of CN109525966A publication Critical patent/CN109525966A/en
Application granted granted Critical
Publication of CN109525966B publication Critical patent/CN109525966B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/60Subscription-based services using application servers or record carriers, e.g. SIM application toolkits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing 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

本公开涉及一种智能设备的查询方法、装置和存储介质,涉及终端技术领域,应用于终端,该方法包括:根据用户在终端上的查看记录,确定至少一个目标设备和每个目标设备对应的至少一个目标状态信息,向服务器发送订阅请求,以便服务器在任一个目标状态信息发生变化时,向终端发送订阅信息,接收由服务器发送的订阅信息,订阅信息用于提示用户至少一个第一目标设备对应的至少一个第一目标状态信息已经改变,第一目标状态信息为任一个发生变化的目标状态信息,第一目标设备为第一目标状态信息对应的目标设备。能够根据用户的使用习惯,实现自动订阅,简化操作,提高了智能设备信息查询的效率和用户的使用体验。

Figure 201811046179

The present disclosure relates to a query method, device and storage medium for smart devices, and relates to the technical field of terminals, and is applied to terminals. The method includes: determining at least one target device and a corresponding query record of each target device according to a user's viewing record on the terminal. At least one target status information, send a subscription request to the server, so that when any target status information changes, the server sends subscription information to the terminal, receives the subscription information sent by the server, and the subscription information is used to prompt the user that at least one first target device corresponds to At least one of the first target status information has changed, the first target status information is any target status information that has changed, and the first target device is the target device corresponding to the first target status information. It can realize automatic subscription according to the user's usage habits, simplify the operation, and improve the efficiency of intelligent device information query and user experience.

Figure 201811046179

Description

智能设备的查询方法、装置和存储介质Query method, device and storage medium for intelligent equipment

技术领域technical field

本公开涉及终端技术领域,尤其涉及一种智能设备的查询方法、装置和存储介质。The present disclosure relates to the technical field of terminals, and in particular, to a query method, apparatus and storage medium for a smart device.

背景技术Background technique

相关技术中,随着智能家居技术逐渐进入人们的日常生活中,用户能够通过移动终端绑定多种智能设备(例如:扫地机器人、空气净化器、净水器、空调等),并能够在移动终端上通过网络远程查询智能设备的状态,或者对智能设备进行控制。在现有技术中,由于移动终端绑定的智能设备数量较多,用户首先需要在智能设备列表中查找到想要操作的设备,才能跳转到相应设备的操作界面,如果想查看多个智能设备,还需要依次打开多个设备对应的操作界面,操作繁琐。In the related art, as smart home technology gradually enters people's daily life, users can bind a variety of smart devices (such as sweeping robots, air purifiers, water purifiers, air conditioners, etc.) The terminal can remotely query the status of the smart device through the network, or control the smart device. In the prior art, due to the large number of smart devices bound to the mobile terminal, users first need to find the device they want to operate in the smart device list before jumping to the operation interface of the corresponding device. It is also necessary to open operation interfaces corresponding to multiple devices in sequence, which is cumbersome to operate.

发明内容SUMMARY OF THE INVENTION

为克服相关技术中存在的问题,本公开提供一种智能设备的查询方法、装置和存储介质。In order to overcome the problems existing in the related art, the present disclosure provides a query method, apparatus and storage medium for a smart device.

根据本公开实施例的第一方面,提供一种智能设备的查询方法,应用于终端,所述方法包括:According to a first aspect of the embodiments of the present disclosure, there is provided a query method for a smart device, which is applied to a terminal, and the method includes:

根据用户在所述终端上的查看记录,确定至少一个目标设备和每个所述目标设备对应的至少一个目标状态信息;Determine at least one target device and at least one target state information corresponding to each target device according to the user's viewing record on the terminal;

向服务器发送订阅请求,以便所述服务器在任一个目标状态信息发生变化时,向所述终端发送订阅信息;sending a subscription request to the server, so that the server sends subscription information to the terminal when any target state information changes;

接收由所述服务器发送的所述订阅信息,所述订阅信息用于提示用户至少一个第一目标设备对应的至少一个第一目标状态信息已经改变,所述第一目标状态信息为任一个发生变化的所述目标状态信息,所述第一目标设备为所述第一目标状态信息对应的目标设备。Receive the 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, and the first target state information is that any one has changed The target state information of the first target device is the target device corresponding to the first target state information.

可选的,所述查看记录包括:确定所述至少一个目标设备的时刻之前预设时长内用户在所述终端上查看的与所述终端绑定的设备和所述设备对应的状态信息;或,Optionally, the viewing record includes: the device bound to the terminal and the status information corresponding to the device viewed by the user on the terminal within a preset time period before the time when the at least one target device is determined; or ,

用户在所述终端上查看的与所述终端绑定的设备和所述设备对应的状态信息的记录中,最新的预设数量的设备和所述预设数量的设备对应的状态信息。Among the records of the state information corresponding to the device bound to the terminal and the device viewed by the user on the terminal, the latest preset number of devices and the state information corresponding to the preset number of devices.

可选的,在所述接收由所述服务器发送的所述订阅信息之后,所述方法还包括:Optionally, after receiving the subscription information sent by the server, the method further includes:

获取用户在所述终端上进行第一指定操作触发的第一查看指令;obtaining a first viewing instruction triggered by a user performing a first specified operation on the terminal;

响应于所述第一查看指令,在所述终端的显示界面上显示所述第一目标设备对应的所述第一目标状态信息。In response to the first viewing instruction, the first target state information corresponding to the first target device is displayed on the display interface of the terminal.

可选的,所述方法还包括:Optionally, the method further includes:

获取用户在所述终端上进行第二指定操作触发的第二查看指令;obtaining a second viewing instruction triggered by the user performing a second specified operation on the terminal;

响应于所述第二查看指令,在所述终端的显示界面上显示每个所述目标设备和每个所述目标设备对应的每个目标状态信息。In response to the second viewing instruction, each target device and each target state information corresponding to each target device are displayed on the display interface of the terminal.

可选的,在所述响应于所述第二查看指令,在所述终端的显示界面上显示每个所述目标设备和每个所述目标设备对应的每个目标状态信息之后,所述方法还包括:Optionally, after displaying each target device and each target state information corresponding to each target device on the display interface of the terminal in response to the second viewing instruction, the method Also includes:

获取用户在所述终端上进行第三指定操作触发的控制指令,所述控制指令用于指示对第二目标设备的操作,所述第二目标设备为任一个所述目标设备;Obtaining a control instruction triggered by the user performing a third specified operation 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;

根据所述控制指令,控制所述第二目标设备。According to the control instruction, the second target device is controlled.

根据本公开实施例的第二方面,提供一种智能设备的查询装置,应用于终端,所述装置包括:According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for querying a smart device, which is applied to a terminal, and the apparatus includes:

确定模块,被配置为根据用户在所述终端上的查看记录,确定至少一个目标设备和每个所述目标设备对应的至少一个目标状态信息;a determining module, configured to determine at least one target device and at least one target state information corresponding to each of the target devices according to the user's viewing record on the terminal;

发送模块,被配置为向服务器发送订阅请求,以便所述服务器在任一个目标状态信息发生变化时,向所述终端发送订阅信息;a sending module, configured to send a subscription request to the 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 the user that at least one first target state information corresponding to at least one first target device has changed, and the first target state The information is any one of the target state information that has changed, and the first target device is the target device corresponding to the first target state information.

可选的,所述查看记录包括:确定所述至少一个目标设备的时刻之前预设时长内用户在所述终端上查看的与所述终端绑定的设备和所述设备对应的状态信息;或,Optionally, the viewing record includes: the device bound to the terminal and the status information corresponding to the device viewed by the user on the terminal within a preset time period before the time when the at least one target device is determined; or ,

用户在所述终端上查看的与所述终端绑定的设备和所述设备对应的状态信息的记录中,最新的预设数量的设备和所述预设数量的设备对应的状态信息。Among the records of the state information corresponding to the device bound to the terminal and the device viewed by the user on the terminal, the latest preset number of devices and the state information corresponding to the preset number of devices.

可选的,所述装置还包括:Optionally, the device further includes:

第一获取模块,被配置为在所述接收由所述服务器发送的所述订阅信息之后,获取用户在所述终端上进行第一指定操作触发的第一查看指令;a first obtaining module, configured to obtain a first viewing instruction triggered by a user performing a first designated operation on the terminal after receiving the subscription information sent by the server;

第一显示模块,被配置为响应于所述第一查看指令,在所述终端的显示界面上显示所述第一目标设备对应的所述第一目标状态信息。The first display module is configured to display the first target state information corresponding to the first target device on the display interface of the terminal in response to the first viewing instruction.

可选的,所述装置还包括:Optionally, the device further includes:

第二获取模块,被配置为获取用户在所述终端上进行第二指定操作触发的第二查看指令;a second obtaining module, configured to obtain a second viewing instruction triggered by the user performing a second specified operation on the terminal;

第二显示模块,被配置为响应于所述第二查看指令,在所述终端的显示界面上显示每个所述目标设备和每个所述目标设备对应的每个目标状态信息。The second display module is configured to display each target device and each target state information corresponding to each target device on the display interface of the terminal in response to the second viewing instruction.

可选的,所述装置还包括:Optionally, the device further includes:

第三获取模块,被配置为在所述响应于所述第二查看指令,在所述终端的显示界面上显示每个所述目标设备和每个所述目标设备对应的每个目标状态信息之后,获取用户在所述终端上进行第三指定操作触发的控制指令,所述控制指令用于指示对第二目标设备的操作,所述第二目标设备为任一个所述目标设备;The third acquiring module is configured to display each target device and each target state information corresponding to each target device on the display interface of the terminal in response to the second viewing instruction , obtaining a control instruction triggered by the user performing a third specified operation 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;

控制模块,被配置为根据所述控制指令,控制所述第二目标设备。The control module is configured to control the second target device according to the control instruction.

根据本公开实施例的第三方面,提供一种智能设备的查询装置,包括:According to a third aspect of the embodiments of the present disclosure, an apparatus for querying a smart device is provided, including:

处理器;processor;

用于存储处理器可执行指令的存储器;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 for the smart device provided by the first aspect of the present disclosure.

根据本公开实施例的第四方面,提供一种计算机可读存储介质,其上存储有计算机程序指令,该程序指令被处理器执行时实现本公开第一方面所提供的智能设备的查询方法的步骤。According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium on which computer program instructions are stored, and when the program instructions are executed by a processor, implement the query method for a smart device provided in the first aspect of the present disclosure. step.

本公开的实施例提供的技术方案可以包括以下有益效果:本公开首先根据用户在终端上的查看记录,来确定目标设备和目标设备对应的目标状态信息,其中目标设备可以有多个,每个目标设备对应的目标状态信息也可以有多个,终端向服务器发送订阅请求,使得服务器在任一个或多个目标状态信息发生变化时,向终端发送订阅消息,终端接收由服务器发送的订阅信息,以提示用户某一目标设备对应的目标状态信息已经改变。能够根据用户的使用习惯,实现自动订阅,简化操作,提高了智能设备信息查询的效率和用户的使用体验。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: the present disclosure first determines the target device and the target state information corresponding to the target device according to the user's viewing records on the terminal, wherein there may be multiple target devices, each of which There may also be multiple target status information corresponding to the target device. The terminal sends a subscription request to the 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. Notifies the user that the target state information corresponding to a certain target device has changed. It can realize automatic subscription according to the user's usage habits, simplify the operation, and improve the efficiency of intelligent device information query and user experience.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.

图1是根据一示例性实施例示出的一种智能设备的查询方法的流程图;FIG. 1 is a flowchart of a query method for a smart device according to an exemplary embodiment;

图2是根据一示例性实施例示出的另一种智能设备的查询方法的流程图;Fig. 2 is a flowchart of another method for querying a smart device according to an exemplary embodiment;

图3是根据一示例性实施例示出的另一种智能设备的查询方法的流程图;FIG. 3 is a flowchart of another method for querying a smart device according to an exemplary embodiment;

图4是根据一示例性实施例示出的另一种智能设备的查询方法的流程图;FIG. 4 is a flowchart of another method for querying a smart device according to an exemplary embodiment;

图5是根据一示例性实施例示出的一种智能设备的查询装置的框图;5 is a block diagram of an apparatus for querying a smart device according to an exemplary embodiment;

图6是根据一示例性实施例示出的另一种智能设备的查询装置的框图;FIG. 6 is a block diagram of another query apparatus of a smart device according to an exemplary embodiment;

图7是根据一示例性实施例示出的另一种智能设备的查询装置的框图;FIG. 7 is a block diagram of another query apparatus of a smart device according to an exemplary embodiment;

图8是根据一示例性实施例示出的另一种智能设备的查询装置的框图;FIG. 8 is a block diagram of another query apparatus of a smart device according to an exemplary embodiment;

图9是根据一示例性实施例示出的一种智能设备的查询装置的框图。Fig. 9 is a block diagram of an apparatus for querying a smart device according to an exemplary embodiment.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as recited in the appended claims.

在介绍本公开提供的智能设备的查询方法、装置和存储介质之前,首先对本公开中各个实施例所涉及的应用场景进行介绍,该应用场景中包括服务器、终端和设备,终端和设备都能够通过网络与服务器通信,服务器能够为终端和设备提供数据服务(例如:订阅服务等)。其中,服务器可以是本地服务器,也可以是云端服务器,终端例如可以是智能手机、平板电脑、智能电视、智能手表、PDA(英文:Personal Digital Assistant,中文:个人数字助理)、便携计算机,也可以是台式计算机等固定终端,该终端可以通过有线方式或者无线方式接入互联网与服务器通信,如利用Wi-Fi(英文:Wireless-Fidelity,中文:无线保真)、蓝牙(Bluetooth)等无线通信技术,设备可以是与终端绑定的智能设备,例如可以是:扫地机器人、空气净化器、净水器、空调、照明灯、音箱、厨房设备、机器人等。Before introducing the query method, device, and storage medium for smart devices provided by the present disclosure, the application scenarios involved in the various embodiments of the present disclosure are first introduced. The application scenarios include servers, terminals, and devices, and both terminals and devices can pass The network communicates with the server, and the server can provide data services (such as subscription services, etc.) for terminals and devices. The server may be a local server or a cloud server, and the terminal may be, for example, a smart phone, a tablet computer, a smart TV, a smart watch, a PDA (English: Personal Digital Assistant, Chinese: Personal Digital Assistant), a portable computer, or It is a fixed terminal such as a desktop computer. The terminal can access the Internet and communicate with the server through wired or wireless means, such as using Wi-Fi (English: Wireless-Fidelity, Chinese: Wireless Fidelity), Bluetooth (Bluetooth) and other wireless communication technologies , the device can be a smart device bound to the terminal, for example, it can be: sweeping robot, air purifier, water purifier, air conditioner, lighting, speaker, kitchen equipment, robot, etc.

图1是根据一示例性实施例示出的一种智能设备的查询方法的流程图,如图1所示,该方法应用于终端中,包括以下步骤。Fig. 1 is a flowchart showing a method for querying a smart device according to an exemplary embodiment. As shown in Fig. 1 , the method is applied to a terminal and includes the following steps.

在步骤101中,根据用户在终端上的查看记录,确定至少一个目标设备和每个目标设备对应的至少一个目标状态信息。In step 101, at least one target device and at least one target state information corresponding to each target device are determined according to the user's viewing record on the terminal.

举例来说,用户首先将多种设备连接到家庭的WLAN(英文:Wireless Local AreaNetworks,中文:无线局域网络),并与用户的账号绑定,设备与用户的账号绑定后,可以确认为归属于该用户,能够确保设备的私有属性。其中,设备与用户的账号的绑定方式,可以是与用户在终端上登录指定应用程序的账号绑定,也可以与用户使用的终端上配置的SIM(英文:Subscriber Identification Module,中文:用户身份识别卡)卡绑定。完成绑定后,用户可以在终端上通过网络远程查询设备的状态,或者对设备进行控制,当用户在终端上查看设备的状态时,可以记录用户在终端上的操作,作为查看记录,以确定用户关心哪些设备,以及这些设备的那些状态信息,例如,用户打开某个设备的操作页面,该操作页面上显示了该设备的某些状态信息,那么将该设备和页面上显示的状态信息存入查看记录中。可以将查看记录中的全部或部分设备和这些设备对应的状态信息作为目标设备(可以是一个或多个)和目标设备对应的目标状态信息(可以是一个或多个)。其中,查看记录的范围例如可以是当前时刻之前预设时长(例如可以设置为24小时)内用户的操作记录,也可以是最新的预设数量(例如可以设置为20个)的用户的操作记录。For example, the user first connects various devices to the home's WLAN (English: Wireless Local Area Networks, Chinese: Wireless Local Area Network), and binds them to the user's account. After the device is bound to the user's account, it can be confirmed as belonging For the user, the private properties of the device can be ensured. Among them, the binding method between the device and the user's account may be binding with the account of the user logging in the specified application program on the terminal, or with the SIM (English: Subscriber Identification Module, Chinese: user identity) configured on the terminal used by the user. identification card) card binding. After the binding is completed, the user can remotely query the status of the device through the network on the terminal, or control the device. When the user checks the status of the device on the terminal, the user's operations on the terminal can be recorded as a viewing record to determine Which devices the user cares about and the status information of these devices. For example, if the user opens the operation page of a certain device, and the operation page displays some status information of the device, then save the device and the status information displayed on the page. into the viewing record. All or part of the devices in the viewing record and the state information corresponding to these devices may be regarded as the target device (which may be one or more) and the target state information (which may be one or more) corresponding to the target device. Wherein, the scope of viewing records can be, for example, the operation records of users within a preset time period before the current moment (for example, it can be set to 24 hours), or the operation records of the latest preset number (for example, can be set to 20) of users. .

在步骤102中,向服务器发送订阅请求,以便服务器在任一个目标状态信息发生变化时,向终端发送订阅信息。In step 102, a subscription request is sent to the server, so that the server sends subscription information to the terminal when any target state information changes.

示例的,在确定了目标设备和目标状态信息后,终端自动向服务器发送订阅请求,一次性订阅全部目标设备和全部目标设备对应的全部目标状态信息,服务器能够通过网络监测设备的状态,例如:设备定时向服务器发送包含了状态信息的数据,也可以是服务器主动向设备发送查询指令,设备接收到查询指令后,向服务器发送包含了状态信息的数据。当服务器监测到任一个目标设备中的任一个目标状态信息发生变化时,向终端发送订阅信息。For example, after determining the target device and target status information, the terminal automatically sends a subscription request to the server to subscribe all target devices and all target status information corresponding to all target devices at one time, and the server can monitor the status of the device through the network, for example: The device periodically sends data containing status information to the server, or the server can actively send a query command to the device. After receiving the query command, the device sends data containing status information to the server. When the server detects that any target state information in any target device changes, it sends subscription information to the terminal.

在步骤103中,接收由服务器发送的订阅信息,订阅信息用于提示用户至少一个第一目标设备对应的至少一个第一目标状态信息已经改变,第一目标状态信息为任一个发生变化的目标状态信息,第一目标设备为第一目标状态信息对应的目标设备。In step 103, the subscription information sent by the server is received, and 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, and the first target state information is any target state that has changed information, the first target device is the target device corresponding to the first target state information.

举例来说,当所有目标状态信息中任一个或多个目标状态信息发生改变时,服务器向终端发送订阅信息,例如:当某个目标设备对应的一个或多个目标状态信息改变了,或者,几个目标设备对应的多个目标状态信息改变,服务器向终端发送订阅信息,终端接收到订阅信息,其中订阅信息能够提示用户第一目标设备对应的第一目标状态信息已经改变,还可以告知用户第一目标状态信息的变化过程,第一目标状态信息为任一个发生变化的目标状态信息,第一目标设备为第一目标状态信息对应的目标设备。例如,第一目标设备是空气净化器,第一目标状态是当前空气质量,订阅信息中可以包括“空气净化器的当前空气质量发生变化”的内容,以提示用户,用户可以点击订阅信息,查看当前空气质量的实际值,订阅信息也可以包括“空气净化器的当前空气质量由‘良’变为‘优’”的内容,直接告知用户当前空气质量的状态。在全部目标设备和全部目标设备对应的全部目标状态信息都没有发生变化的条件下,服务器不会向终端发送订阅信息,因此,能够及时向用户推送用户关心的设备对应的状态信息。For example, when any one or more target status information in all target status information changes, the server sends subscription information to the terminal, for example: when one or more target status information corresponding to a target device changes, or, When multiple target status information corresponding to several target devices changes, 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 status information corresponding to the first target device has changed, and can also inform the user that the first target status information corresponding to the first target device has changed. The change process of the first target state information, the first target state information is any target state information that has changed, 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 the current air quality, and the subscription information may include the content of "the current air quality of the air purifier has changed" to prompt the user, and the user can click the subscription information to view The actual value of the current air quality, the subscription information may also include the content of "the current air quality of the air purifier changes from 'good' to 'excellent'", which directly informs the user of the current air quality status. Under the condition that all target devices and all target state information corresponding to all target devices have not changed, the server will not send subscription information to the terminal, therefore, the state information corresponding to the device concerned by the user can be pushed to the user in time.

综上所述,本公开首先根据用户在终端上的查看记录,来确定目标设备和目标设备对应的目标状态信息,其中目标设备可以有多个,每个目标设备对应的目标状态信息也可以有多个,终端向服务器发送订阅请求,使得服务器在任一个或多个目标状态信息发生变化时,向终端发送订阅消息,终端接收由服务器发送的订阅信息,以提示用户某一目标设备对应的目标状态信息已经改变。能够根据用户的使用习惯,实现自动订阅,简化操作,提高了智能设备信息查询的效率和用户的使用体验。To sum up, the present disclosure first determines the target device and the target state information corresponding to the target device according to the user's viewing record on the terminal, wherein there may be multiple target devices, and the target state information corresponding to each target device may also have Multiple, the terminal sends a subscription request to the 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 remind the user of the target status corresponding to a certain target device Information has changed. It can realize automatic subscription according to the user's usage habits, simplify the operation, and improve the efficiency of intelligent device information query and user experience.

其中,需要说明的是,查看记录可以包括:Among them, it should be noted that the viewing records can include:

确定至少一个目标设备的时刻之前预设时长内用户在终端上查看的与终端绑定的设备和设备对应的状态信息。或,The device that is bound to the terminal and the state information corresponding to the device viewed by the user on the terminal within a preset period of time before the moment when the at least one target device is determined. or,

用户在终端上查看的与终端绑定的设备和设备对应的状态信息的记录中,最新的预设数量的设备和预设数量的设备对应的状态信息。Among the records of the state information corresponding to the devices bound to the terminal and the devices viewed by the user on the terminal, the latest preset number of devices and the state information corresponding to the preset number of devices are included.

示例的,为了确定用户关心哪些智能设备,以及这些智能设备的那些状态信息,当用户在终端上查看设备的状态时,可以记录用户在终端上的操作,作为查看记录,例如,可以记录确定至少一个目标设备的时刻(即当前时刻)之前预设时长内(例如可以设置为当前时刻之前的2天内),用户在终端上查看的与终端绑定的设备和设备对应的状态信息,还可以记录用户在终端上查看的与终端绑定的设备和设备对应的状态信息的记录,选取其中最新的预设数量(例如可以设备为30个)的设备和预设数量的设备对应的状态信息作为查看记录。例如,用户在3小时前曾经打开过扫地机器人的操作页面,操作页面上显示了扫地机器人的位置、当前电量和清扫模式的信息,那么将扫地机器人和对应的位置、当前电量和清扫模式作为一条记录存入查看记录中。For example, in order to determine which smart devices the user cares about and the status information of these smart devices, when the user checks the status of the devices on the terminal, the user's operations on the terminal can be recorded as a viewing record, for example, it can be recorded to determine at least Within a preset time period before the moment of a target device (that is, the current moment) (for example, it can be set to within 2 days before the current moment), the status information viewed by the user on the terminal and the device bound to the terminal and the device can also be recorded. The record of the state information corresponding to the device bound to the terminal and the device viewed by the user on the terminal, select the latest preset number of devices (for example, 30 devices) and the state information corresponding to the preset number of devices as viewing Record. For example, if the user has opened the operation page of the sweeping robot 3 hours ago, and the operation page displays the information of the sweeping robot's position, current power and cleaning mode, then the sweeping robot and the corresponding position, current power and cleaning mode are taken as a The record is stored in the viewing record.

图2是根据一示例性实施例示出的另一种智能设备的查询方法的流程图,如图2所示,在步骤103之后,该方法还包括:Fig. 2 is a flowchart showing another method for querying a smart device according to an exemplary embodiment. As shown in Fig. 2, after step 103, the method further includes:

在步骤104中,获取用户在终端上进行第一指定操作触发的第一查看指令。In step 104, a first viewing instruction triggered by the user performing a first specified operation on the terminal is obtained.

在步骤105中,响应于第一查看指令,在终端的显示界面上显示第一目标设备对应的第一目标状态信息。In step 105, in response to the first viewing instruction, the first target state information corresponding to the first target device is displayed on the 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, the user can perform the first designation operation on the terminal to trigger the first viewing instruction, and the terminal receives the first specified operation. After 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 the specified application program, search for the first target device, and then view the first target state information and other cumbersome tasks. operation, can instantly view the information of interest. The first designated operation may be a designated operation in a designated area, for example, a click operation, a long-press operation, a double-click operation or a zoom-in gesture operation may be performed in the area where the subscription information is displayed or other designated areas. For example, the first target device is an air conditioner, the first target state is the current working state, and after the current working state changes from "cooling" to "dehumidification", the terminal receives the subscription information sent by the server, which includes "the current working state of the air conditioner has been Change” content to prompt the user, the user double-clicks the subscription information, and the current working status of the air conditioner is displayed as “dehumidification” on the display interface.

图3是根据一示例性实施例示出的另一种智能设备的查询方法的流程图,如图3所示,该方法还包括:Fig. 3 is a flowchart showing another method for querying a smart device according to an exemplary embodiment. As shown in Fig. 3, the method further includes:

在步骤106中,获取用户在终端上进行第二指定操作触发的第二查看指令。In step 106, a second viewing instruction triggered by the user performing a second specified operation on the terminal is obtained.

在步骤107中,响应于第二查看指令,在终端的显示界面上显示每个目标设备和每个目标设备对应的每个目标状态信息。In step 107, in response to the second viewing instruction, each target device and each target state information corresponding to each target device are displayed on the display interface of the terminal.

举例来说,本公开还为用户提供一种一次查看全部目标设备和全部目标设备对应的所有目标状态信息的方式,如果用户想查看最近(预设时长内,或最新查看的预设数量)查看过设备以及设备对应的状态信息,可以在终端上进行第二指定操作,以触发第二查看指令,终端接收到第二查看指令后,在显示界面上显示每个目标设备和每个目标设备对应的每个目标状态信息,使得用户不需要再进入指定的应用程序,依次查找每一个关心的设备,再依次进入每一个关心的设备的操作界面,查看对应的状态信息等繁琐的操作,能够即时查看所有目标设备的目标状态信息。其中,第二指定操作,可以是在指定区域内进行指定操作,例如:可以是在显示界面的指定区域(例如可以是指定应用程序的图标)进行点击操作、长按操作、双击操作或放大手势操作。For example, the present disclosure also provides a way for users to view all target devices and all target status information corresponding to all target devices at one time. Through the device and the state information corresponding to the device, a second designated operation can be performed on the terminal to trigger the second viewing instruction. After the terminal receives the second viewing instruction, the display interface displays the correspondence between each target device and each target device. Each target status information of each target, so that the user does not need to enter the specified application program, search for each concerned device in turn, and then enter the operation interface of each concerned device in turn, check the corresponding status information and other tedious operations, can instantly View target status information for all target devices. Wherein, the second designated operation may be a designated operation in a designated area, for example, a click operation, a long-press operation, a double-click operation or a zoom-in gesture may be performed in a designated area of the display interface (for example, it may be an icon of a designated application program). operate.

图4是根据一示例性实施例示出的另一种智能设备的查询方法的流程图,如图4所示,在步骤107之后,该方法还包括:Fig. 4 is a flowchart showing another method for querying a smart device according to an exemplary embodiment. As shown in Fig. 4, after step 107, the method further includes:

在步骤108中,获取用户在终端上进行第三指定操作触发的控制指令,控制指令用于指示对第二目标设备的操作,第二目标设备为任一个目标设备。In step 108, a control instruction triggered by the user performing a third specified operation on the terminal is obtained, where the control instruction is used to instruct an operation on the second target device, and the second target device is any target device.

在步骤109中,根据控制指令,控制第二目标设备。In step 109, the second target device is controlled according to the control instruction.

示例的,用户在查看了全部目标设备和全部目标设备对应的所有目标状态信息之后,如果想对其中某个目标设备进行控制,那么可以在终端上进行第三指定操作,以触发控制指令,终端可以根据控制指令来控制第二目标设备,例如可以通过网络将控制指令发送至服务器,服务器再按照控制指令控制第二目标设备。其中,第三指定操作,可以是在指定区域内进行指定操作,例如可以是在显示界面上第二目标设备对应的某个目标状态信息的显示区域,进行点击操作、长按操作、双击操作或放大手势操作。例如,第二目标设备是空调,第二目标状态是电源状态,用户在显示界面上查看了全部目标设备和全部目标设备对应的所有目标状态信息,发现空调的电源状态为开机(ON),想要控制空调关机(OFF),那么可以点击显示界面上空调的电源状态的显示区域,以触发控制指令,将电源状态由开机切换为关机,终端在接收到控制指令后,可以将控制指令发送至服务器,再由服务器控制空调关机,以实现空调电源状态的切换。For example, after viewing all target devices and all target state information corresponding to all target devices, if the user wants to control one of the target devices, he can perform a third specified operation on the terminal to trigger the control instruction, and the terminal The second target device may be controlled according to the control instruction, for example, the control instruction may be sent to the server through the network, and the server will then control the second target device according to the control instruction. The third designated operation may be a designated operation in a designated area, for example, a click operation, a long-press operation, a double-click operation or a display area of a certain target state information corresponding to the second target device on the display interface. Zoom in gesture action. For example, the second target device is an air conditioner, and the second target state is the power state. The user checks all target devices and all target state information corresponding to all target devices on the display interface, and finds that the power state of the air conditioner is ON. To control the shutdown (OFF) of the air conditioner, you can click the display area of the power status of the air conditioner on the display interface to trigger a control command to switch the power status from on to off. After receiving the control command, the terminal can send the control command to The server, and then the server controls the air conditioner to shut down, so as to realize the switching of the power state of the air conditioner.

综上所述,本公开首先根据用户在终端上的查看记录,来确定目标设备和目标设备对应的目标状态信息,其中目标设备可以有多个,每个目标设备对应的目标状态信息也可以有多个,终端向服务器发送订阅请求,使得服务器在任一个或多个目标状态信息发生变化时,向终端发送订阅消息,终端接收由服务器发送的订阅信息,以提示用户某一目标设备对应的目标状态信息已经改变。能够根据用户的使用习惯,实现自动订阅,简化操作,提高了智能设备信息查询的效率和用户的使用体验。To sum up, the present disclosure first determines the target device and the target state information corresponding to the target device according to the user's viewing record on the terminal, wherein there may be multiple target devices, and the target state information corresponding to each target device may also have Multiple, the terminal sends a subscription request to the 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 remind the user of the target status corresponding to a certain target device Information has changed. It can realize automatic subscription according to the user's usage habits, simplify the operation, and improve the efficiency of intelligent device information query and user experience.

图5是根据一示例性实施例示出的一种智能设备的查询装置的框图,如图5所示,应用于终端,该装置200包括:FIG. 5 is a block diagram of an apparatus for querying a smart device according to an exemplary embodiment. As shown in FIG. 5 , applied to a terminal, the apparatus 200 includes:

确定模块201,被配置为根据用户在终端上的查看记录,确定至少一个目标设备和每个目标设备对应的至少一个目标状态信息。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 the user's viewing record on the terminal.

发送模块202,被配置为向服务器发送订阅请求,以便服务器在任一个目标状态信息发生变化时,向终端发送订阅信息。The sending module 202 is configured to send a subscription request to the server, so that the server sends subscription information to the terminal when any target state information changes.

接收模块203,被配置为接收由服务器发送的订阅信息,订阅信息用于提示用户至少一个第一目标设备对应的至少一个第一目标状态信息已经改变,第一目标状态信息为任一个发生变化的目标状态信息,第一目标设备为第一目标状态信息对应的目标设备。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, and the first target state information is any one that has changed. Target state information, the first target device is the target device corresponding to the first target state information.

其中,查看记录可以包括:确定至少一个目标设备的时刻之前预设时长内用户在终端上查看的与终端绑定的设备和设备对应的状态信息。或,Wherein, the viewing record may include: a device bound to the terminal and state information corresponding to the device viewed by the user on the terminal within a preset time period before the time when at least one target device is determined. or,

用户在终端上查看的与终端绑定的设备和设备对应的状态信息的记录中,最新的预设数量的设备和预设数量的设备对应的状态信息。Among the records of the state information corresponding to the devices bound to the terminal and the devices viewed by the user on the terminal, the latest preset number of devices and the state information corresponding to the preset number of devices are included.

图6是根据一示例性实施例示出的另一种智能设备的查询装置的框图,如图6所示,该装置200还包括:Fig. 6 is a block diagram of another apparatus for querying a smart device according to an exemplary embodiment. As shown in Fig. 6 , the apparatus 200 further includes:

第一获取模块204,被配置为在接收由服务器发送的订阅信息之后,获取用户在终端上进行第一指定操作触发的第一查看指令。The first obtaining module 204 is configured to obtain, after receiving the subscription information sent by the server, a first viewing instruction triggered by the user performing a first designated operation on the terminal.

第一显示模块205,被配置为响应于第一查看指令,在终端的显示界面上显示第一目标设备对应的第一目标状态信息。The first display module 205 is configured to display the first target state information corresponding to the first target device on the display interface of the terminal in response to the first viewing instruction.

图7是根据一示例性实施例示出的另一种智能设备的查询装置的框图,如图7所示,该装置200还包括:Fig. 7 is a block diagram of another apparatus for querying a smart device according to an exemplary embodiment. As shown in Fig. 7 , the apparatus 200 further includes:

第二获取模块206,被配置为获取用户在终端上进行第二指定操作触发的第二查看指令。The second obtaining module 206 is configured to obtain a second viewing instruction triggered by the user performing a second specified operation on the terminal.

第二显示模块207,被配置为响应于第二查看指令,在终端的显示界面上显示每个目标设备和每个目标设备对应的每个目标状态信息。The second display module 207 is configured to display each target device and each target state information corresponding to each target device on the display interface of the terminal in response to the second viewing instruction.

图8是根据一示例性实施例示出的另一种智能设备的查询装置的框图,如图8所示,该装置200还包括:Fig. 8 is a block diagram of another apparatus for querying a smart device according to an exemplary embodiment. As shown in Fig. 8 , the apparatus 200 further includes:

第三获取模块208,被配置为在响应于第二查看指令,在终端的显示界面上显示每个目标设备和每个目标设备对应的每个目标状态信息之后,获取用户在终端上进行第三指定操作触发的控制指令,控制指令用于指示对第二目标设备的操作,第二目标设备为任一个目标设备。The third acquiring module 208 is configured to acquire, after displaying each target device and each target state information corresponding to each target device on the display interface of the terminal in response to the second viewing instruction, acquire the user performing the third operation on the terminal A control instruction triggered by an operation is specified, and the control instruction is used to instruct an operation on the second target device, and the second target device is any target device.

控制模块209,被配置为根据控制指令,控制第二目标设备。The control module 209 is configured to control the second target device according to the control instruction.

关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the above-mentioned embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be described in detail here.

综上所述,本公开首先根据用户在终端上的查看记录,来确定目标设备和目标设备对应的目标状态信息,其中目标设备可以有多个,每个目标设备对应的目标状态信息也可以有多个,终端向服务器发送订阅请求,使得服务器在任一个或多个目标状态信息发生变化时,向终端发送订阅消息,终端接收由服务器发送的订阅信息,以提示用户某一目标设备对应的目标状态信息已经改变。能够根据用户的使用习惯,实现自动订阅,简化操作,提高了智能设备信息查询的效率和用户的使用体验。To sum up, the present disclosure first determines the target device and the target state information corresponding to the target device according to the user's viewing record on the terminal, wherein there may be multiple target devices, and the target state information corresponding to each target device may also have Multiple, the terminal sends a subscription request to the 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 remind the user of the target status corresponding to a certain target device Information has changed. It can realize automatic subscription according to the user's usage habits, simplify the operation, and improve the efficiency of intelligent device information query and user experience.

图9是根据一示例性实施例示出的一种智能设备的查询装置300的框图。例如,装置300可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 9 is a block diagram of an apparatus 300 for querying a smart device according to an exemplary embodiment. For example, apparatus 300 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, and the like.

参照图9,装置300可以包括以下一个或多个组件:处理组件302,存储器304,电力组件306,多媒体组件308,音频组件310,输入/输出(I/O)的接口312,传感器组件314,以及通信组件316。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 communication component 316 .

处理组件302通常控制装置300的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件302可以包括一个或多个处理器320来执行指令,以完成上述的智能设备的查询方法的全部或部分步骤。此外,处理组件302可以包括一个或多个模块,便于处理组件302和其他组件之间的交互。例如,处理组件302可以包括多媒体模块,以方便多媒体组件308和处理组件302之间的交互。The processing component 302 generally controls the overall operation of the device 300, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 302 may include one or more processors 320 to execute the instructions, so as to complete all or part of the steps of the above query method of the smart device. Additionally, processing component 302 may include one or more modules that facilitate interaction between processing component 302 and other components. For example, processing component 302 may include a multimedia module to facilitate interaction between multimedia component 308 and processing component 302 .

存储器304被配置为存储各种类型的数据以支持在装置300的操作。这些数据的示例包括用于在装置300上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器304可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。Memory 304 is configured to store various types of data to support operations at device 300 . Examples of such data include instructions for any application or method operating on device 300, contact data, phonebook data, messages, pictures, videos, and the like. Memory 304 may be implemented by any type of volatile or non-volatile storage device or combination thereof, 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 Disk.

电力组件306为装置300的各种组件提供电力。电力组件306可以包括电源管理系统,一个或多个电源,及其他与为装置300生成、管理和分配电力相关联的组件。Power component 306 provides power to various components of device 300 . Power components 306 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power to device 300 .

多媒体组件308包括在所述装置300和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件308包括一个前置摄像头和/或后置摄像头。当装置300处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。Multimedia component 308 includes screens that provide an output interface between the device 300 and the 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 input signals from a user. The touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or swipe action, but also detect the duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 308 includes a front-facing camera and/or a rear-facing camera. When the apparatus 300 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each of the front and rear cameras can be a fixed optical lens system or have focal length and optical zoom capability.

音频组件310被配置为输出和/或输入音频信号。例如,音频组件310包括一个麦克风(MIC),当装置300处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器304或经由通信组件316发送。在一些实施例中,音频组件310还包括一个扬声器,用于输出音频信号。Audio component 310 is configured to output and/or input audio signals. For example, audio component 310 includes a microphone (MIC) that is configured to receive external audio signals when device 300 is in operating modes, such as call mode, recording mode, and voice recognition mode. The received audio signal may be further stored in memory 304 or transmitted via communication component 316 . In some embodiments, audio component 310 also includes a speaker for outputting audio signals.

I/O接口312为处理组件302和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 312 provides an interface between the processing component 302 and a peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to: home button, volume buttons, start button, and lock button.

传感器组件314包括一个或多个传感器,用于为装置300提供各个方面的状态评估。例如,传感器组件314可以检测到装置300的打开/关闭状态,组件的相对定位,例如所述组件为装置300的显示器和小键盘,传感器组件314还可以检测装置300或装置300一个组件的位置改变,用户与装置300接触的存在或不存在,装置300方位或加速/减速和装置300的温度变化。传感器组件314可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件314还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件314还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 314 includes one or more sensors for providing status assessment of various aspects of device 300 . For example, the sensor assembly 314 can detect the open/closed state of the device 300, the relative positioning of components, such as the display and keypad of the device 300, and the sensor assembly 314 can also detect a change in the position of the device 300 or a component of the device 300 , the presence or absence of user contact with the device 300 , the orientation or acceleration/deceleration of the device 300 and the temperature change of the device 300 . Sensor assembly 314 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. 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.

通信组件316被配置为便于装置300和其他设备之间有线或无线方式的通信。装置300可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件316经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件316还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。Communication component 316 is configured to facilitate wired or wireless communication between apparatus 300 and other devices. Device 300 may access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 316 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 316 also includes a near field communication (NFC) module to facilitate short-range communication. 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.

在示例性实施例中,装置300可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述的智能设备的查询方法。In an exemplary embodiment, 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 A gate array (FPGA), a controller, a microcontroller, a microprocessor or other electronic components are implemented for executing the above query method of the smart device.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器304,上述指令可由装置300的处理器320执行以完成上述的智能设备的查询方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as a memory 304 including instructions, is also provided, and the above-mentioned instructions can be executed by the processor 320 of the apparatus 300 to complete the above-mentioned query method for a smart device . For example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

综上所述,本公开首先根据用户在终端上的查看记录,来确定目标设备和目标设备对应的目标状态信息,其中目标设备可以有多个,每个目标设备对应的目标状态信息也可以有多个,终端向服务器发送订阅请求,使得服务器在任一个或多个目标状态信息发生变化时,向终端发送订阅消息,终端接收由服务器发送的订阅信息,以提示用户某一目标设备对应的目标状态信息已经改变。能够根据用户的使用习惯,实现自动订阅,简化操作,提高了智能设备信息查询的效率和用户的使用体验。To sum up, the present disclosure first determines the target device and the target state information corresponding to the target device according to the user's viewing record on the terminal, wherein there may be multiple target devices, and the target state information corresponding to each target device may also have Multiple, the terminal sends a subscription request to the 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 remind the user of the target status corresponding to a certain target device Information has changed. It can realize automatic subscription according to the user's usage habits, simplify the operation, and improve the efficiency of intelligent device information query and user experience.

本领域技术人员在考虑说明书及实践本公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the present disclosure. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or techniques in the technical field not disclosed by the present disclosure . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the disclosure being indicated by the following claims.

应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It is to be understood that the present disclosure is not limited to the precise structures described above and illustrated in the accompanying 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.
CN201811046179.9A 2018-09-07 2018-09-07 Query method, device and storage medium for intelligent equipment Active CN109525966B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811046179.9A CN109525966B (en) 2018-09-07 2018-09-07 Query method, device and storage medium for intelligent equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811046179.9A CN109525966B (en) 2018-09-07 2018-09-07 Query method, device and storage medium for intelligent equipment

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 Query method, device and storage medium for intelligent equipment

Country Status (1)

Country Link
CN (1) CN109525966B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
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 东风商用车有限公司 A mining area business 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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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
CN105487389B (en) Method and device for controlling intelligent equipment
EP3144915B1 (en) Method and apparatus for controlling device, and terminal device
CN109525966B (en) Query method, device and storage medium for intelligent equipment
CN106028166B (en) Live broadcast room switching method and device in live broadcast process
WO2016183992A1 (en) Method, apparatus and system for managing control relationship between account and device
US20170019518A1 (en) Method and apparatus for controlling devices
EP3023928A1 (en) Method and device for setting task
CN108810866B (en) Method and device for connecting intelligent equipment and storage medium
CN107948926B (en) Method and device for sharing smart devices
CN106101629A (en) The method and device of output image
WO2017008400A1 (en) Method and device for controlling intelligent device
CN108848484B (en) Equipment sharing method, device and storage medium
CN113365153A (en) Data sharing method and device, storage medium and electronic equipment
CN107105517A (en) Method for connecting network and device
CN106527166A (en) Electric appliance control method and apparatus
CN107371052A (en) Equipment control method and device
CN105049813A (en) Method, device and terminal controlling video image
CN106708519A (en) Operation control adding method and device
CN105808667A (en) Image acquisition method, apparatus and system
CN106453032B (en) Information-pushing method and device, system
CN106095285B (en) Operation execution method and device
CN105549572A (en) Control method and device for intelligent home equipment and equipment
CN106572397B (en) Interactive approach and device in net cast application
CN106358064A (en) Method and equipment for controlling television
CN105912202A (en) Application sharing method and device

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