CN106161108B - Parameter processing method and device for intelligent equipment and intelligent equipment - Google Patents
Parameter processing method and device for intelligent equipment and intelligent equipment Download PDFInfo
- Publication number
- CN106161108B CN106161108B CN201610772070.8A CN201610772070A CN106161108B CN 106161108 B CN106161108 B CN 106161108B CN 201610772070 A CN201610772070 A CN 201610772070A CN 106161108 B CN106161108 B CN 106161108B
- Authority
- CN
- China
- Prior art keywords
- user terminal
- smart device
- terminal
- smart
- identification information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0806—Configuration setting for initial configuration or provisioning, e.g. plug-and-play
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2807—Exchanging configuration information on appliance services in a home automation network
Landscapes
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
Description
技术领域technical field
本发明属于通信技术领域,尤其涉及一种智能设备的参数处理方法、装置及智能设备。The present invention belongs to the field of communication technologies, and in particular relates to a parameter processing method and device of an intelligent device, and an intelligent device.
背景技术Background technique
随着通信技术的不断发展,智能设备在日常生活中使用也越来越广泛,如智能无线音箱、智能无线空调、智能无线电视等等。通过连接无线保真(WIFI,Wireless Fidelity)网络,智能家电设备能够与手机应用程序(APP,Application)进行通信,从而接受APP传来的各种指令,执行用户期望的各种命令。With the continuous development of communication technology, smart devices are more and more widely used in daily life, such as smart wireless speakers, smart wireless air conditioners, smart wireless TVs and so on. By connecting to a wireless fidelity (WIFI, Wireless Fidelity) network, the smart home appliance can communicate with a mobile phone application (APP, Application), so as to accept various instructions from the APP and execute various commands expected by the user.
以智能无线音箱为例,目前大部分无线音箱产品都通过手机安装的一个APP来查看和控制音箱来播放音乐。通常情况下,音箱端的设置项与用户账户有关,对于同一组智能音箱,不同用户使用时需要频繁切换用户账户,操作非常繁琐,操作效率较低。Taking smart wireless speakers as an example, most wireless speaker products currently use an APP installed on the mobile phone to view and control the speakers to play music. Usually, the setting items on the speaker side are related to user accounts. For the same group of smart speakers, different users need to frequently switch user accounts when using them. The operation is very cumbersome and the operation efficiency is low.
发明内容SUMMARY OF THE INVENTION
本发明的目的在于提供一种智能设备的参数处理方法、装置及智能设备,旨在解决频繁切换用户账户,导致操作效率低的问题。The purpose of the present invention is to provide a parameter processing method, device and smart device for an intelligent device, aiming at solving the problem of frequent switching of user accounts, resulting in low operation efficiency.
为解决上述技术问题,本发明实施例提供以下技术方案:In order to solve the above-mentioned technical problems, the embodiments of the present invention provide the following technical solutions:
第一方面,本发明提供一种智能设备的参数处理方法,其中包括:In a first aspect, the present invention provides a parameter processing method for a smart device, including:
当第一用户终端接入智能设备时,检测所述智能设备当前是否与至少一个第二用户终端建立连接;When the first user terminal accesses the smart device, detecting whether the smart device currently establishes a connection with at least one second user terminal;
若检测出智能设备当前与第二用户终端未建立连接,则将所述第一用户终端确定为目标用户终端,并获取所述目标用户终端的终端标识信息;If it is detected that the smart device does not currently establish a connection with the second user terminal, determining the first user terminal as the target user terminal, and acquiring the terminal identification information of the target user terminal;
根据所述终端标识信息,调取相应的预设参数设置文件;According to the terminal identification information, call the corresponding preset parameter setting file;
基于所述预设参数设置文件,对所述智能设备的参数进行设置。Based on the preset parameter setting file, the parameters of the smart device are set.
第二方面,本发明提供一种智能设备的参数处理装置,其中包括:In a second aspect, the present invention provides a parameter processing device for an intelligent device, including:
检测单元,用于当第一用户终端接入智能设备时,检测所述智能设备当前是否与至少一个第二用户终端建立连接;a detection unit, configured to detect whether the smart device currently establishes a connection with at least one second user terminal when the first user terminal accesses the smart device;
第一确定单元,用于若检测出智能设备当前与第二用户终端未建立连接,则将所述第一用户终端确定为目标用户终端;a first determining unit, configured to determine the first user terminal as a target user terminal if it is detected that the smart device does not currently establish a connection with the second user terminal;
第一获取单元,用于获取所述目标用户终端的终端标识信息;a first obtaining unit, configured to obtain terminal identification information of the target user terminal;
调取单元,用于根据所述终端标识信息,调取相应的预设参数设置文件;a retrieving unit for retrieving a corresponding preset parameter setting file according to the terminal identification information;
设置单元,用于基于所述预设参数设置文件,对所述智能设备的参数进行设置。A setting unit, configured to set parameters of the smart device based on the preset parameter setting file.
第三方面,本发明提供一种智能设备,其中包括:In a third aspect, the present invention provides a smart device, including:
存储有可执行程序代码的存储器;a memory in which executable program code is stored;
与所述存储器耦合的处理器;a processor coupled to the memory;
所述处理器调用所述存储器中存储的所述可执行程序代码,执行如上提供的所述智能设备的参数处理方法。The processor invokes the executable program code stored in the memory to execute the parameter processing method of the smart device provided above.
相对于现有技术,本发明实施例,首先,当第一用户终端接入智能设备时,检测智能设备当前是否与第二用户终端建立连接,若未建立连接,则将第一用户终端确定为目标用户终端,并获取该目标用户终端的终端标识信息,根据终端标识信息,调取相应的预设参数设置文件,最后基于预设参数设置文件,对智能设备的参数进行设置;本实施例通过用户终端的终端标识信息与智能设备的参数进行关联,即根据终端标识信息自动切换对应的智能设备设置项,无需用户频繁切换账户,达到了快速设置智能设备参数的目的,大大提升了效率。Compared with the prior art, in this embodiment of the present invention, first, when the first user terminal accesses the smart device, it is detected whether the smart device currently establishes a connection with the second user terminal, and if the connection is not established, the first user terminal is determined as the the target user terminal, and obtain the terminal identification information of the target user terminal, call the corresponding preset parameter setting file according to the terminal identification information, and finally set the parameters of the intelligent device based on the preset parameter setting file; The terminal identification information of the user terminal is associated with the parameters of the smart device, that is, the corresponding smart device setting items are automatically switched according to the terminal identification information, and the user does not need to switch accounts frequently, which achieves the purpose of quickly setting the parameters of the smart device and greatly improves the efficiency.
附图说明Description of drawings
下面结合附图,通过对本发明的具体实施方式详细描述,将使本发明的技术方案及其它有益效果显而易见。The technical solutions and other beneficial effects of the present invention will be apparent through the detailed description of the specific embodiments of the present invention with reference to the accompanying drawings.
图1是本发明实施例提供的智能设备的参数处理方法的流程示意图;1 is a schematic flowchart of a parameter processing method for a smart device provided by an embodiment of the present invention;
图2为本发明实施例提供的智能设备的参数处理方法的场景示意图;2 is a schematic diagram of a scenario of a parameter processing method for a smart device provided by an embodiment of the present invention;
图3为本发明实施例提供的智能设备的参数处理方法的另一流程示意图;3 is another schematic flowchart of a parameter processing method for a smart device provided by an embodiment of the present invention;
图4为本发明实施例提供的智能设备的参数处理装置的结构示意图;4 is a schematic structural diagram of a parameter processing apparatus of a smart device provided by an embodiment of the present invention;
图5为本发明实施例提供的智能设备的参数处理装置的另一结构示意图;FIG. 5 is another schematic structural diagram of a parameter processing apparatus of a smart device according to an embodiment of the present invention;
图6为本发明实施例提供的智能设备的结构示意图。FIG. 6 is a schematic structural diagram of a smart device provided by an embodiment of the present invention.
具体实施方式Detailed ways
请参照图式,其中相同的组件符号代表相同的组件,本发明的原理是以实施在一适当的运算环境中来举例说明。以下的说明是基于所例示的本发明具体实施例,其不应被视为限制本发明未在此详述的其它具体实施例。Please refer to the drawings, in which the same reference numerals represent the same components, and the principles of the present invention are exemplified by being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the invention and should not be construed as limiting other embodiments of the invention not detailed herein.
在以下的说明中,本发明的具体实施例将参考由一部或多部计算机所执行的步骤及符号来说明,除非另有述明。因此,这些步骤及操作将有数次提到由计算机执行,本文所指的计算机执行包括了由代表了以一结构化型式中的数据的电子信号的计算机处理单元的操作。此操作转换该数据或将其维持在该计算机的内存系统中的位置处,其可重新配置或另外以本领域测试人员所熟知的方式来改变该计算机的运作。该数据所维持的数据结构为该内存的实体位置,其具有由该数据格式所定义的特定特性。但是,本发明原理以上述文字来说明,其并不代表为一种限制,本领域测试人员将可了解到以下所述的多种步骤及操作亦可实施在硬件当中。In the following description, specific embodiments of the present invention will be described with reference to steps and symbols performed by one or more computers, unless otherwise stated. Accordingly, the steps and operations will be referred to several times as being performed by a computer, which reference herein includes operations by a computer processing unit of electronic signals representing data in a structured format. This operation transforms the data or maintains it in a location in the computer's memory system, which can be reconfigured or otherwise change the operation of the computer in a manner well known to testers in the art. The data structures maintained by the data are physical locations of the memory that have specific characteristics defined by the data format. However, the principles of the present invention are described by the above text, which is not meant to be a limitation, and testers in the art will understand that various steps and operations described below can also be implemented in hardware.
本发明的原理使用许多其它泛用性或特定目的运算、通信环境或组态来进行操作。所熟知的适合用于本发明的运算系统、环境与组态的范例可包括(但不限于)手持电话、个人计算机、服务器、多处理器系统、微电脑为主的系统、主架构型计算机、及分布式运算环境,其中包括了任何的上述系统或装置。The principles of the present invention operate using numerous other general-purpose or special-purpose computing, communication environments, or configurations. Well-known examples of computing systems, environments, and configurations suitable for use in the present invention may include, but are not limited to, hand-held telephones, personal computers, servers, multiprocessor systems, microcomputer-based systems, mainframe computers, and A distributed computing environment including any of the above systems or apparatus.
以下将分别进行详细说明。The detailed descriptions will be given below.
在本实施例中,将从智能设备的参数处理装置(可简称参数处理装置)的角度进行描述,该参数处理装置具体可以集成在智能设备,如智能无线音箱、智能无线空调、智能无线电视等设备中。In this embodiment, the description will be made from the perspective of a parameter processing device (which may be referred to as a parameter processing device) of a smart device. The parameter processing device can be specifically integrated in smart devices, such as smart wireless speakers, smart wireless air conditioners, smart wireless TVs, etc. in the device.
一种智能设备的参数处理方法,包括:当第一用户终端接入智能设备时,检测所述智能设备当前是否与至少一个第二用户终端建立连接;若检测出智能设备当前与第二用户终端未建立连接,则将所述第一用户终端确定为目标用户终端,并获取所述目标用户终端的终端标识信息;根据所述终端标识信息,调取相应的预设参数设置文件;基于所述预设参数设置文件,对所述智能设备的参数进行设置。A parameter processing method for a smart device, comprising: when a first user terminal accesses the smart device, detecting whether the smart device currently establishes a connection with at least one second user terminal; if it is detected that the smart device is currently connected to the second user terminal If the connection is not established, the first user terminal is determined as the target user terminal, and the terminal identification information of the target user terminal is obtained; according to the terminal identification information, the corresponding preset parameter setting file is called; A parameter setting file is preset to set the parameters of the smart device.
请参阅图1,图1是本发明实施例提供的智能设备的参数处理方法的流程示意图。所述方法包括:Please refer to FIG. 1. FIG. 1 is a schematic flowchart of a parameter processing method for a smart device provided by an embodiment of the present invention. The method includes:
在步骤S101中,当第一用户终端接入智能设备时,检测智能设备当前是否与至少一个第二用户终端建立连接。In step S101, when the first user terminal accesses the smart device, it is detected whether the smart device currently establishes a connection with at least one second user terminal.
可以理解的是,多个智能设备可以组成智能设备系统,即智能设备系统可以是具有同一种交互协议的智能音箱、智能灯泡、智能冰箱、智能座椅等多个智能终端通过无线网络组成的智能设备集合。智能设备系统包含的各智能设备之间可通过无线通讯进行连接。It can be understood that multiple smart devices can form a smart device system, that is, a smart device system can be a smart speaker, smart light bulb, smart refrigerator, smart seat and other smart terminals with the same interaction protocol. Equipment collection. The smart devices included in the smart device system can be connected through wireless communication.
比如,当第一用户终端接入到智能设备系统时,参数处理装置需要先检测该智能设备系统当前是否已经与第二用户终端进行连接;其中,该第一用户终端以及第二用户终端可以具体为平板电脑,手机等用户终端。For example, when the first user terminal is connected to the intelligent equipment system, the parameter processing apparatus needs to first detect whether the intelligent equipment system is currently connected with the second user terminal; wherein, the first user terminal and the second user terminal may specifically For tablet computers, mobile phones and other user terminals.
容易想到的是,本发明中第一用户终端是指代当前时刻接入智能设备系统的用户终端,第二用户终端是指代在第一用户终端接入之前,与智能设备系统已进行连接的用户终端,术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。It is easy to think that, in the present invention, the first user terminal refers to the user terminal that accesses the smart device system at the current moment, and the second user terminal refers to the user terminal that has been connected to the smart device system before the first user terminal accesses. For the user terminal, the terms "first", "second", etc. are used to distinguish different objects, rather than to describe a specific order.
在步骤S102中,若检测出智能设备当前与第二用户终端未建立连接,则将第一用户终端确定为目标用户终端,并获取该目标用户终端的终端标识信息。In step S102, if it is detected that the smart device does not currently establish a connection with the second user terminal, the first user terminal is determined as the target user terminal, and the terminal identification information of the target user terminal is acquired.
在某些实施方式中,比如,若检测出智能设备当前与第二用户终端未建立连接,则参数处理装置将第一用户终端确定为目标用户终端,以获取该第一用户终端的终端标识信息。In some implementation manners, for example, if it is detected that the smart device does not currently establish a connection with the second user terminal, the parameter processing apparatus determines the first user terminal as the target user terminal to obtain the terminal identification information of the first user terminal .
可以理解的是,本发明实施例中终端标识信息可以具体指用户终端的身份标识(ID,identification)号、用户自定义的名称信息等等,用来区分和指代各用户终端。It can be understood that the terminal identification information in this embodiment of the present invention may specifically refer to an identification (ID, identification) number of a user terminal, user-defined name information, etc., and is used to distinguish and refer to each user terminal.
在某些实施方式中,检测智能设备当前是否与至少一个第二用户终端建立连接(即步骤S101)之后,还可以包括:In some embodiments, after detecting whether the smart device currently establishes a connection with at least one second user terminal (ie, step S101), the method may further include:
(1)若检测出智能设备当前与第二用户终端已建立连接,则在第二用户终端中确定首个与智能设备连接的第二用户终端。(1) If it is detected that a connection is currently established between the smart device and the second user terminal, the first second user terminal to be connected to the smart device is determined in the second user terminal.
(2)将所述首个与智能设备连接的第二用户终端确定为目标用户终端,并触发获取所述目标用户终端的终端标识信息的步骤。(2) Determine the first second user terminal connected to the smart device as a target user terminal, and trigger the step of acquiring terminal identification information of the target user terminal.
比如,参数处理装置在与所有接入智能设备系统的第二用户终端中,确定首个与智能设备连接的第二用户终端;并且将首个与智能设备连接的第二用户终端确定为目标用户终端,以获取该首个与智能设备连接的第二用户终端的终端标识信息。For example, the parameter processing apparatus determines, among all the second user terminals connected to the smart device system, the first second user terminal connected to the smart device; and determines the first second user terminal connected to the smart device as the target user terminal to obtain the terminal identification information of the first second user terminal connected to the smart device.
其中,在第二用户终端中确定首个与智能设备连接的第二用户终端的方式有很多,比如,可具体包括:There are many ways to determine the first second user terminal connected to the smart device in the second user terminal, for example, it may specifically include:
(11)获取第二用户终端接入智能设备的时间信息。(11) Acquire time information when the second user terminal accesses the smart device.
(12)根据时间信息的先后顺序,确定首个与智能设备连接的第二用户终端。(12) Determine the first second user terminal connected to the smart device according to the sequence of the time information.
也就是说,参数处理装置获取所有接入智能设备系统的第二用户终端的接入时间信息,如,在接入时刻的时间信息、断开连接的时间信息等等。然后,参数处理装置根据时间信息(如接入时刻的时间信息)的前后顺序,确定出最早接入智能设备系统的第二用户终端,即首个与智能设备连接的第二用户终端。That is to say, the parameter processing apparatus acquires the access time information of all second user terminals accessing the smart device system, such as the time information at the time of access, the time information of disconnection, and the like. Then, the parameter processing apparatus determines, according to the sequence of time information (such as the time information of the access time), the second user terminal that accesses the smart device system earliest, that is, the first second user terminal connected to the smart device.
在某些实施方式中,在参数处理装置检测出智能设备当前与第二用户终端已建立连接之后,还可以包括如下步骤:In some embodiments, after the parameter processing apparatus detects that the connection between the smart device and the second user terminal is currently established, the following steps may be further included:
(a)获取第二用户终端接入智能设备的时间信息。(a) Acquiring time information when the second user terminal accesses the smart device.
(b)若根据时间信息的先后顺序,确定首个与智能设备连接的第二用户终端当前与智能设备断开连接时,则生成在线终端列表。(b) If it is determined according to the sequence of the time information that the first second user terminal connected to the smart device is currently disconnected from the smart device, an online terminal list is generated.
(c)根据时间信息的先后顺序,在所述在线终端列表确定最先连接智能设备的第二用户终端。(c) According to the sequence of the time information, determine the second user terminal connected to the smart device first in the online terminal list.
(d)将所述在线终端列表确定最先连接智能设备的第二用户终端确定为目标用户终端,并触发获取所述目标用户终端的终端标识信息的步骤。(d) Determining the second user terminal that is first connected to the smart device determined by the online terminal list as the target user terminal, and triggering the step of acquiring the terminal identification information of the target user terminal.
区别于前述的实施方式,该实施方式中,参数处理装置在获取所有接入智能设备系统的第二用户终端的接入时间信息后,检测出首个与智能设备连接的第二用户终端当前与智能设备断开连接,即检测出该首个与智能设备连接的第二用户终端下线时,生成一在线终端列表,其中该在线终端列表中包含有当前在线的所有第二用户终端。Different from the foregoing embodiments, in this embodiment, after acquiring the access time information of all second user terminals connected to the smart device system, the parameter processing apparatus detects that the first second user terminal connected to the smart device is currently connected to the smart device. When the smart device is disconnected, that is, when it is detected that the first second user terminal connected to the smart device is offline, an online terminal list is generated, wherein the online terminal list includes all currently online second user terminals.
需要说明的是,在某些实施方式中,用户终端通过终端应用与智能设备系统进行连接,智能设备可以根据终端应用连接该系统的时间、或者根据终端应用在线或下线的情况来获取目标用户终端的终端标识信息,实现方式与基于用户终端来判断的方式类似,此处不作赘述。It should be noted that, in some embodiments, the user terminal is connected to the smart device system through a terminal application, and the smart device can obtain the target user according to the time when the terminal application is connected to the system, or according to the online or offline status of the terminal application. The implementation manner of the terminal identification information of the terminal is similar to the manner of determining based on the user terminal, and details are not described here.
进一步的,该在线终端列表中第二用户终端可以根据时间信息的先后顺序进行排列,从而在该在线终端列表中确定最先连接智能设备的第二用户终端,并且,将该第二用户终端确定为目标用户终端。Further, the second user terminals in the online terminal list may be arranged according to the order of time information, so as to determine the second user terminal first connected to the smart device in the online terminal list, and determine the second user terminal. for the target user terminal.
在步骤S103中,根据该终端标识信息,调取相应的预设参数设置文件。In step S103, according to the terminal identification information, a corresponding preset parameter setting file is retrieved.
在步骤S104中,基于预设参数设置文件,对智能设备的参数进行设置。In step S104, the parameters of the smart device are set based on the preset parameter setting file.
比如,在参数处理装置确定目标用户终端后,根据该目标用户终端的终端标识信息(如ID号),在预先设置的终端标识信息和参数设置文件的对应关系中,调取目标用户终端的终端标识信息相应的参数设置文件,从而根据该参数设置文件对智能设备的参数进行设置。For example, after the parameter processing device determines the target user terminal, according to the terminal identification information (such as ID number) of the target user terminal, in the preset corresponding relationship between the terminal identification information and the parameter setting file, the terminal of the target user terminal is called. A parameter setting file corresponding to the identification information, so as to set the parameters of the smart device according to the parameter setting file.
需要说明的是,终端标识信息和参数设置文件的对应关系可以预先建立在参数处理装置中,以列表的形式进行对应存储。其中,建立该对应关系的方式有很多,比如,在用户终端首次连接该智能设备系统的时候,就将该用户终端的终端标识信息进行记录,为该终端标识信息建立设置项数据库,同时将该终端标识信息关联的所有设置项的项目数据都记录下来,从而生成相应的参数设置文件。It should be noted that the corresponding relationship between the terminal identification information and the parameter setting file may be pre-established in the parameter processing device, and correspondingly stored in the form of a list. There are many ways to establish the corresponding relationship. For example, when the user terminal connects to the intelligent device system for the first time, the terminal identification information of the user terminal is recorded, and a setting item database is established for the terminal identification information. The item data of all setting items associated with the terminal identification information are recorded, thereby generating corresponding parameter setting files.
在某些实施方式中,所述根据所述终端标识信息,调取相应的预设参数设置文件(步骤S103)之后,还可以包括:In some embodiments, after the corresponding preset parameter setting file is called according to the terminal identification information (step S103), the method may further include:
将所述预设参数设置文件发送至目标用户终端,以使所述目标用户终端根据预设参数设置文件对终端参数进行设置。The preset parameter setting file is sent to the target user terminal, so that the target user terminal sets the terminal parameters according to the preset parameter setting file.
比如,目标用户终端根据参数处理装置发送的参数设置文件,更新目标用户终端上对应应用程序的显示设置项,同时,智能设备也应用该参数设置文件,从而完成智能设备设置项的切换。For example, the target user terminal updates the display setting items of the corresponding application program on the target user terminal according to the parameter setting file sent by the parameter processing apparatus, and at the same time, the smart device also applies the parameter setting file, thereby completing the switching of the smart device setting items.
由上述可知,本实施例提供的智能设备的参数处理方法,首先,当第一用户终端接入智能设备时,检测智能设备当前是否与第二用户终端建立连接,若未建立连接,则将第一用户终端确定为目标用户终端,并获取该目标用户终端的终端标识信息,根据终端标识信息,调取相应的预设参数设置文件,最后基于预设参数设置文件,对智能设备的参数进行设置;本实施例通过用户终端的终端标识信息与智能设备的参数进行关联,即根据终端标识信息自动切换对应的智能设备设置项,无需用户频繁切换账户,达到了快速设置智能设备参数的目的,大大提升了效率。It can be seen from the above that, in the parameter processing method of the smart device provided in this embodiment, first, when the first user terminal accesses the smart device, it is detected whether the smart device currently establishes a connection with the second user terminal, and if the connection is not established, the first user terminal is A user terminal is determined to be the target user terminal, obtains the terminal identification information of the target user terminal, retrieves the corresponding preset parameter setting file according to the terminal identification information, and finally sets the parameters of the smart device based on the preset parameter setting file In this embodiment, the terminal identification information of the user terminal is associated with the parameters of the intelligent device, that is, the corresponding intelligent device setting items are automatically switched according to the terminal identification information, and the user does not need to switch accounts frequently, and the purpose of quickly setting the parameters of the intelligent device is achieved. Efficiency is improved.
根据上述实施例所描述的方法,以下将举例作进一步详细说明。According to the methods described in the above embodiments, the following examples will be used for further detailed description.
请参阅图2,图2为本发明实施例提供的智能设备的参数处理方法的场景示意图,其中该场景中可以包括智能设备系统,如智能音箱系统,该智能音箱系统可包括多个智能音箱,各智能音箱之间可通过无线网络进行连接;如图2所示,该场景中还可以包括多个用户终端,该多个用户终端与智能音箱系统处于同一局域网内,通过设定或绑定的终端应用APP登录智能音箱系统,与各智能音箱互相配对连接。Please refer to FIG. 2. FIG. 2 is a schematic diagram of a scenario of a parameter processing method for a smart device provided by an embodiment of the present invention, wherein the scenario may include a smart device system, such as a smart speaker system, and the smart speaker system may include a plurality of smart speakers, The smart speakers can be connected through a wireless network; as shown in Figure 2, this scenario can also include multiple user terminals, and the multiple user terminals and the smart speaker system are in the same local area network. The terminal application APP logs in to the smart speaker system, and connects with each smart speaker.
请一并参阅图3,图3为本发明实施例提供的智能设备的参数处理方法的另一流程示意图。所述方法包括:Please refer to FIG. 3 together. FIG. 3 is another schematic flowchart of a method for processing parameters of a smart device according to an embodiment of the present invention. The method includes:
在步骤S201中,用户终端通过终端应用首次连接智能音箱系统时,将该用户终端的ID号发送至智能音箱。In step S201, when the user terminal connects to the smart speaker system for the first time through the terminal application, the ID number of the user terminal is sent to the smart speaker.
在步骤S202中,智能音箱对用户终端发送的ID号进行记录。In step S202, the smart speaker records the ID number sent by the user terminal.
在步骤S203中,智能音箱根据用户终端ID号,生成对应的参数设置文件,建立终端与设置项数据对应关系表。In step S203, the smart speaker generates a corresponding parameter setting file according to the ID number of the user terminal, and establishes a corresponding relationship table between the terminal and the setting item data.
比如,多个用户终端与智能音箱系统处于同一局域网内,通过设定或绑定的终端应用APP登录智能音箱系统,与各智能音箱互相配对连接。For example, multiple user terminals and the smart speaker system are in the same local area network, log in to the smart speaker system through the set or bound terminal application APP, and pair and connect with each smart speaker.
进一步的,如果用户终端通过APP首次接入智能音箱系统时,将用户终端的ID号发送到智能音箱进行记录;智能音箱为上述ID号的用户终端建立设置项数据库,记录该ID号下所有设置项的项目数据(即参数设置文件),如高音值、中音值等等,以达到用户需要的音效。Further, if the user terminal accesses the smart speaker system through the APP for the first time, the ID number of the user terminal is sent to the smart speaker for recording; the smart speaker establishes a setting item database for the user terminal with the above ID number, and records all settings under the ID number. The item data of the item (that is, the parameter setting file), such as the treble value, the mid-tone value, etc., to achieve the sound effect required by the user.
可以理解的是,智能音箱记录连接的每一用户终端的ID号,根据前述方式记录该ID号下所有设置项的项目数据,从而可以建立终端与设置项数据对应关系表并存储。It can be understood that the smart speaker records the ID number of each connected user terminal, and records the item data of all the setting items under the ID number according to the aforementioned method, so that the terminal and setting item data correspondence table can be established and stored.
在步骤S204中,当用户终端再次接入智能音箱系统时,若检测到智能音箱当前没有与其他用户终端建立连接,则智能音箱根据终端与设置项数据对应关系表,获取用户终端ID号相应的参数设置文件。In step S204, when the user terminal accesses the smart speaker system again, if it is detected that the smart speaker does not currently establish a connection with other user terminals, the smart speaker obtains the corresponding user terminal ID number according to the terminal and setting item data correspondence table. parameter settings file.
在某些实施方式中,比如,用户终端再次接入智能音箱系统时,同样将其ID号发送至智能音箱,同时,检测智能音箱当前是否与其他用户终端建立了连接,若有,则执行步骤S205或步骤S206;若无,则将当前连接的用户终端确定为目标用户终端。In some embodiments, for example, when the user terminal accesses the smart speaker system again, its ID number is also sent to the smart speaker, and at the same time, it is detected whether the smart speaker is currently connected with other user terminals, and if so, execute the steps S205 or step S206; if not, determine the currently connected user terminal as the target user terminal.
进一步的,智能音箱调取预先设置的终端与设置项数据对应关系表,根据目标用户终端的ID号,获取到对应的参数设置文件,即获取到该ID号下所有设置项的项目数据。Further, the smart speaker retrieves the preset terminal and setting item data correspondence table, and obtains the corresponding parameter setting file according to the ID number of the target user terminal, that is, obtains the item data of all setting items under the ID number.
在步骤S205中,当用户终端再次接入智能音箱系统时,若检测到智能音箱当前已经与其他用户终端建立连接,则智能音箱获取用户终端登录智能音箱的顺序,确定首个连接到智能音箱的用户终端的ID号,根据终端与设置项数据对应关系表,获取相应的参数设置文件。In step S205, when the user terminal accesses the smart speaker system again, if it is detected that the smart speaker has currently established connections with other user terminals, the smart speaker obtains the order in which the user terminal logs in to the smart speaker, and determines the first one connected to the smart speaker. The ID number of the user terminal, according to the corresponding relationship table between the terminal and the setting item data, to obtain the corresponding parameter setting file.
在某些实施方式中,比如,用户终端再次接入智能音箱系统时,同样将其ID号发送至智能音箱,同时,在检测到智能音箱当前与其他用户终端建立了连接时,智能音箱获取当前建立连接的用户终端登录智能音箱系统的顺序,如智能音箱系统的顺序为:用户终端A、用户终端B、用户终端C,则将首个连接到智能音箱的用户终端,即用户终端A确定为目标用户终端。In some embodiments, for example, when the user terminal accesses the smart speaker system again, its ID number is also sent to the smart speaker. At the same time, when it is detected that the smart speaker is currently connected with other user terminals, the smart speaker obtains the current The order in which the connected user terminals log in to the smart speaker system. For example, the order of the smart speaker system is: user terminal A, user terminal B, and user terminal C, then the first user terminal connected to the smart speaker, that is, user terminal A, is determined as target user terminal.
进一步的,获取该用户终端A对应的ID号,并调取预先设置的终端与设置项数据对应关系表,根据用户终端A对应的ID号,获取到对应的参数设置文件,即获取到该ID号下所有设置项的项目数据。Further, the ID number corresponding to the user terminal A is obtained, and the preset terminal and setting item data correspondence table is retrieved, and the corresponding parameter setting file is obtained according to the ID number corresponding to the user terminal A, that is, the ID is obtained. Item data of all setting items under No.
在步骤S206中,当用户终端再次接入智能音箱系统时,若检测到智能音箱当前已经与其他用户终端建立连接,且首个连接到智能音箱的用户终端已下线,则智能音箱根据在线的用户终端登录智能音箱的顺序,确定当前在线且最先连接智能音箱的用户终端的ID号,根据终端与设置项数据对应关系表,获取相应的参数设置文件。In step S206, when the user terminal accesses the smart speaker system again, if it is detected that the smart speaker has currently established connections with other user terminals, and the first user terminal connected to the smart speaker has been offline, the smart speaker will be based on the online The order in which the user terminal logs in to the smart speaker, determines the ID number of the user terminal that is currently online and first connected to the smart speaker, and obtains the corresponding parameter setting file according to the corresponding relationship table between the terminal and the setting item data.
在某些实施方式中,比如,用户终端再次接入智能音箱系统时,同样将其ID号发送至智能音箱,同时,在检测到智能音箱当前与其他用户终端建立了连接时,智能音箱获取当前建立连接的用户终端登录智能音箱系统的顺序,如智能音箱系统的顺序为:用户终端A、用户终端B、用户终端C、用户终端D。In some embodiments, for example, when the user terminal accesses the smart speaker system again, its ID number is also sent to the smart speaker. At the same time, when it is detected that the smart speaker is currently connected with other user terminals, the smart speaker obtains the current The sequence in which the connected user terminals log in to the smart speaker system, for example, the sequence of the smart speaker system is: user terminal A, user terminal B, user terminal C, and user terminal D.
进一步的,智能音箱检测出首个连接到智能音箱的用户终端(用户终端A)当前已下线,则可以根据在线情况生成一在线终端列表,得到在线用户终端的顺序为:用户终端B、用户终端C、用户终端D。Further, if the smart speaker detects that the first user terminal (user terminal A) connected to the smart speaker is currently offline, an online terminal list can be generated according to the online situation, and the order of obtaining the online user terminals is: user terminal B, user terminal B, and user terminal A. Terminal C and user terminal D.
更进一步的,智能音箱将当前在线且最先连接智能音箱的用户终端(即用户终端B)确定为目标用户终端,获取该用户终端B对应的ID号。然后,调取预先设置的终端与设置项数据对应关系表,根据用户终端B对应的ID号,获取到对应的参数设置文件,即获取到该ID号下所有设置项的项目数据。Further, the smart speaker determines the user terminal that is currently online and first connected to the smart speaker (ie, user terminal B) as the target user terminal, and obtains the ID number corresponding to the user terminal B. Then, the preset terminal and setting item data correspondence table is retrieved, and according to the ID number corresponding to the user terminal B, the corresponding parameter setting file is obtained, that is, the item data of all setting items under the ID number is obtained.
在步骤S207中,智能音箱根据参数设置文件,对当前智能设备参数设置项进行切换。In step S207, the smart speaker switches the current smart device parameter setting items according to the parameter setting file.
比如,智能音箱根据获取到的对应的参数设置文件,即对应的设置项的项目数据,对当前智能设备参数设置项进行切换调整。也就是说,快速应用参数设置项,无需账号切换以及用户手动重新配置。For example, the smart speaker switches and adjusts the parameter setting items of the current smart device according to the obtained corresponding parameter setting file, that is, the item data of the corresponding setting item. That is to say, parameter setting items are quickly applied without account switching and manual reconfiguration by the user.
在步骤S208中,智能音箱将参数设置文件发送至用户终端。In step S208, the smart speaker sends the parameter setting file to the user terminal.
在步骤S209中,用户终端根据参数设置文件对相应的终端参数设置项进行更新。In step S209, the user terminal updates the corresponding terminal parameter setting item according to the parameter setting file.
比如,在智能音箱切换设置项的同时,可以通过APP将目标用户终端对应的设置项数据发送到其他用户终端,更新其他用户终端的APP设置项显示,完成用户终端APP设置项的切换。For example, when the smart speaker switches the setting items, the setting item data corresponding to the target user terminal can be sent to other user terminals through the APP, and the display of the APP setting items of other user terminals can be updated to complete the switching of the APP setting items of the user terminal.
可以理解的是,由于现有技术中音箱端的设置项并不与APP终端相关联,而是与用户账户有关,但是,同一组智能音箱,若不同用户使用时,频繁切换用户账户非常繁琐,而且即使使用同一账户,多个用户间也可能有不一样的设置需求,例如用户1对音箱组A设置了音效a,而用户2可能愿意为同一音箱组设置音效b,不同用户对同一音箱组的设置产生不同时,音箱参数设置就较为麻烦;基于此,本发明实施例提供一种自动切换设置项的方法,该方法无需用户频繁切换账户,而是以APP终端为用户标识(如利用ID号为标识),登录时自动切换用户设置,达到了快速切换的目的,大大提升了用户体验。It is understandable that since the setting items on the speaker terminal in the prior art are not associated with the APP terminal, but are related to the user account, however, if the same group of smart speakers is used by different users, it is very cumbersome to frequently switch user accounts, and Even if the same account is used, multiple users may have different setting requirements. For example, user 1 sets sound effect a for speaker group A, while user 2 may be willing to set sound effect b for the same speaker group. When the settings are different, the speaker parameter settings are more troublesome; based on this, the embodiment of the present invention provides a method for automatically switching setting items, which does not require the user to frequently switch accounts, but uses the APP terminal as the user identification (such as using an ID number). The user settings are automatically switched when logging in, which achieves the purpose of fast switching and greatly improves the user experience.
由上述可知,本实施例提供的智能设备的参数处理方法,首先,当第一用户终端接入智能设备时,检测智能设备当前是否与第二用户终端建立连接,若未建立连接,则将第一用户终端确定为目标用户终端,并获取该目标用户终端的终端标识信息,根据终端标识信息,调取相应的预设参数设置文件,最后基于预设参数设置文件,对智能设备的参数进行设置;本实施例通过用户终端的终端标识信息与智能设备的参数进行关联,即根据终端标识信息自动切换对应的智能设备设置项,并且,可优选按照用户终端的连接先后顺序,定义设置项的切换规则,依次在用户终端下线时应用不同的设置项,无需用户频繁切换账户,达到了快速设置智能设备参数的目的,大大提升了效率。It can be seen from the above that, in the parameter processing method of the smart device provided in this embodiment, first, when the first user terminal accesses the smart device, it is detected whether the smart device currently establishes a connection with the second user terminal, and if the connection is not established, the first user terminal is A user terminal is determined to be the target user terminal, obtains the terminal identification information of the target user terminal, retrieves the corresponding preset parameter setting file according to the terminal identification information, and finally sets the parameters of the smart device based on the preset parameter setting file In this embodiment, the terminal identification information of the user terminal is associated with the parameters of the intelligent equipment, that is, the corresponding intelligent equipment setting items are automatically switched according to the terminal identification information, and, preferably, the switching of the setting items can be defined according to the connection sequence of the user terminal. According to the rules, different setting items are applied in sequence when the user terminal goes offline, so that the user does not need to switch accounts frequently, which achieves the purpose of quickly setting the parameters of the smart device and greatly improves the efficiency.
为便于更好的实施本发明实施例提供的智能设备的参数处理方法,本发明实施例还提供一种基于上述智能设备的参数处理方法的装置。其中名词的含义与上述智能设备的参数处理的方法中相同,具体实现细节可以参考方法实施例中的说明。In order to facilitate better implementation of the parameter processing method of the smart device provided by the embodiment of the present invention, the embodiment of the present invention further provides an apparatus based on the parameter processing method of the smart device. The meanings of the nouns are the same as those in the above-mentioned method for processing parameters of a smart device, and the specific implementation details may refer to the descriptions in the method embodiments.
请参阅图4,图4为本发明实施例提供的智能设备的参数处理装置的结构示意图,该智能设备的参数处理装置主要包括:Please refer to FIG. 4. FIG. 4 is a schematic structural diagram of a parameter processing apparatus of a smart device provided by an embodiment of the present invention. The parameter processing apparatus of the smart device mainly includes:
检测单元401,用于当第一用户终端接入智能设备时,检测所述智能设备当前是否与至少一个第二用户终端建立连接。The detection unit 401 is configured to detect whether the smart device currently establishes a connection with at least one second user terminal when the first user terminal accesses the smart device.
可以理解的是,多个智能设备可以组成智能设备系统,即智能设备系统可以是具有同一种交互协议的智能音箱、智能灯泡、智能冰箱、智能座椅等多个智能终端通过无线网络组成的智能设备集合。智能设备系统包含的各智能设备之间可通过无线通讯进行连接。It can be understood that multiple smart devices can form a smart device system, that is, a smart device system can be a smart speaker, smart light bulb, smart refrigerator, smart seat and other smart terminals with the same interaction protocol. Equipment collection. The smart devices included in the smart device system can be connected through wireless communication.
比如,当第一用户终端接入到智能设备系统时,参数处理装置需要先检测该智能设备系统当前是否已经与第二用户终端进行连接;其中,该第一用户终端以及第二用户终端可以具体为平板电脑,手机等用户终端。For example, when the first user terminal is connected to the intelligent equipment system, the parameter processing apparatus needs to first detect whether the intelligent equipment system is currently connected with the second user terminal; wherein, the first user terminal and the second user terminal may specifically For tablet computers, mobile phones and other user terminals.
容易想到的是,本发明中第一用户终端是指代当前时刻接入智能设备系统的用户终端,第二用户终端是指代在第一用户终端接入之前,与智能设备系统已进行连接的用户终端,术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。It is easy to think that, in the present invention, the first user terminal refers to the user terminal that accesses the smart device system at the current moment, and the second user terminal refers to the user terminal that has been connected to the smart device system before the first user terminal accesses. For the user terminal, the terms "first", "second", etc. are used to distinguish different objects, rather than to describe a specific order.
第一确定单元402,用于若检测出智能设备当前与第二用户终端未建立连接,则将所述第一用户终端确定为目标用户终端。The first determining unit 402 is configured to determine the first user terminal as the target user terminal if it is detected that the smart device does not currently establish a connection with the second user terminal.
在某些实施方式中,比如,若检测出智能设备当前与第二用户终端未建立连接,则参数处理装置将第一用户终端确定为目标用户终端,以获取该第一用户终端的终端标识信息。In some implementation manners, for example, if it is detected that the smart device does not currently establish a connection with the second user terminal, the parameter processing apparatus determines the first user terminal as the target user terminal to obtain the terminal identification information of the first user terminal .
可以理解的是,本发明实施例中终端标识信息可以具体指用户终端的身份标识ID号、用户自定义的名称信息等等,用来区分和指代各用户终端。It can be understood that the terminal identification information in the embodiment of the present invention may specifically refer to the identification ID number of the user terminal, the user-defined name information, etc., and is used to distinguish and refer to each user terminal.
第一获取单元403,用于获取所述目标用户终端的终端标识信息;调取单元404,用于根据所述终端标识信息,调取相应的预设参数设置文件。The first obtaining unit 403 is configured to obtain the terminal identification information of the target user terminal; the retrieval unit 404 is configured to retrieve the corresponding preset parameter setting file according to the terminal identification information.
设置单元405,用于基于所述预设参数设置文件,对所述智能设备的参数进行设置。The setting unit 405 is configured to set the parameters of the smart device based on the preset parameter setting file.
比如,在参数处理装置确定目标用户终端后,根据该目标用户终端的终端标识信息(如ID号),在预先设置的终端标识信息和参数设置文件的对应关系中,调取目标用户终端的终端标识信息相应的参数设置文件,从而根据该参数设置文件对智能设备的参数进行设置。For example, after the parameter processing device determines the target user terminal, according to the terminal identification information (such as ID number) of the target user terminal, in the preset corresponding relationship between the terminal identification information and the parameter setting file, the terminal of the target user terminal is called. A parameter setting file corresponding to the identification information, so as to set the parameters of the smart device according to the parameter setting file.
需要说明的是,终端标识信息和参数设置文件的对应关系可以预先建立在参数处理装置中,以列表的形式进行对应存储。其中,建立该对应关系的方式有很多,比如,在用户终端首次连接该智能设备系统的时候,就将该用户终端的终端标识信息进行记录,为该终端标识信息建立设置项数据库,同时将该终端标识信息关联的所有设置项的项目数据都记录下来,从而生成相应的参数设置文件。It should be noted that the corresponding relationship between the terminal identification information and the parameter setting file may be pre-established in the parameter processing device, and correspondingly stored in the form of a list. There are many ways to establish the corresponding relationship. For example, when the user terminal connects to the intelligent device system for the first time, the terminal identification information of the user terminal is recorded, and a setting item database is established for the terminal identification information. The item data of all setting items associated with the terminal identification information are recorded, thereby generating corresponding parameter setting files.
请一并参阅图5,图5为本发明实施例提供的智能设备的参数处理装置另一结构示意图,该智能设备的参数处理装置还可以包括:Please refer to FIG. 5 together. FIG. 5 is another schematic structural diagram of a parameter processing apparatus of a smart device provided by an embodiment of the present invention. The parameter processing apparatus of the smart device may further include:
(1)第二确定单元406,若检测出智能设备当前与第二用户终端已建立连接,则在所述第二用户终端中确定首个与智能设备连接的第二用户终端,并将所述首个与智能设备连接的第二用户终端确定为目标用户终端。(1) The second determining unit 406, if it is detected that the smart device is currently connected with the second user terminal, then determines the first second user terminal connected to the smart device in the second user terminal, and assigns the second user terminal to the smart device. The first second user terminal connected to the smart device is determined as the target user terminal.
(2)第一触发单元407,用于触发获取所述目标用户终端的终端标识信息的步骤。(2) The first triggering unit 407 is configured to trigger the step of acquiring the terminal identification information of the target user terminal.
比如,参数处理装置在与所有接入智能设备系统的第二用户终端中,确定首个与智能设备连接的第二用户终端;并且将首个与智能设备连接的第二用户终端确定为目标用户终端,以获取该首个与智能设备连接的第二用户终端的终端标识信息。For example, the parameter processing apparatus determines, among all the second user terminals connected to the smart device system, the first second user terminal connected to the smart device; and determines the first second user terminal connected to the smart device as the target user terminal to obtain the terminal identification information of the first second user terminal connected to the smart device.
其中,第二确定单元406在第二用户终端中确定首个与智能设备连接的第二用户终端的方式有很多,比如,所述第二确定单元406,可以用于获取第二用户终端接入智能设备的时间信息;根据时间信息的先后顺序,确定首个与智能设备连接的第二用户终端。There are many ways for the second determining unit 406 to determine the first second user terminal connected to the smart device in the second user terminal. For example, the second determining unit 406 can be used to obtain the access of the second user terminal. Time information of the smart device; according to the sequence of the time information, determine the first second user terminal connected to the smart device.
也就是说,参数处理装置获取所有接入智能设备系统的第二用户终端的接入时间信息,如,在接入时刻的时间信息、断开连接的时间信息等等。然后,参数处理装置根据时间信息(如接入时刻的时间信息)的前后顺序,确定出最早接入智能设备系统的第二用户终端,即首个与智能设备连接的第二用户终端。That is to say, the parameter processing apparatus acquires the access time information of all second user terminals accessing the smart device system, such as the time information at the time of access, the time information of disconnection, and the like. Then, the parameter processing apparatus determines, according to the sequence of time information (such as the time information of the access time), the second user terminal that accesses the smart device system earliest, that is, the first second user terminal connected to the smart device.
在某些实施方式中,如图5所示,该智能设备的参数处理装置还可以包括:In some embodiments, as shown in FIG. 5 , the parameter processing apparatus of the smart device may further include:
(a)第二获取单元408,用于获取第二用户终端接入智能设备的时间信息。(a) A second obtaining unit 408, configured to obtain time information of the second user terminal accessing the smart device.
(b)生成单元409,用于若根据时间信息的先后顺序,确定首个与智能设备连接的第二用户终端当前与智能设备断开连接时,则生成在线终端列表。(b) The generating unit 409 is configured to generate an online terminal list when it is determined that the first second user terminal connected to the smart device is currently disconnected from the smart device according to the sequence of the time information.
(c)第三确定单元410,用于根据时间信息的先后顺序,在所述在线终端列表确定最先连接智能设备的第二用户终端。(c) The third determining unit 410, configured to determine the second user terminal connected to the smart device first in the online terminal list according to the sequence of time information.
(d)第二触发单元411,用于将所述在线终端列表确定最先连接智能设备的第二用户终端确定为目标用户终端,并触发获取所述目标用户终端的终端标识信息的步骤。(d) The second trigger unit 411 is configured to determine the second user terminal that is first connected to the smart device determined by the online terminal list as the target user terminal, and trigger the step of acquiring the terminal identification information of the target user terminal.
区别于前述的实施方式,该实施方式中,参数处理装置在获取所有接入智能设备系统的第二用户终端的接入时间信息后,检测出首个与智能设备连接的第二用户终端当前与智能设备断开连接,即检测出该首个与智能设备连接的第二用户终端下线时,生成一在线终端列表,其中该在线终端列表中包含有当前在线的所有第二用户终端。Different from the foregoing embodiments, in this embodiment, after acquiring the access time information of all second user terminals connected to the smart device system, the parameter processing apparatus detects that the first second user terminal connected to the smart device is currently connected to the smart device. When the smart device is disconnected, that is, when it is detected that the first second user terminal connected to the smart device is offline, an online terminal list is generated, wherein the online terminal list includes all currently online second user terminals.
进一步的,该在线终端列表中第二用户终端可以根据时间信息的先后顺序进行排列,从而在该在线终端列表中确定最先连接智能设备的第二用户终端,并且,将该第二用户终端确定为目标用户终端。Further, the second user terminals in the online terminal list may be arranged according to the order of time information, so as to determine the second user terminal first connected to the smart device in the online terminal list, and determine the second user terminal. for the target user terminal.
在某些实施方式中,如图5所示,该智能设备的参数处理装置还可以包括:In some embodiments, as shown in FIG. 5 , the parameter processing apparatus of the smart device may further include:
发送单元412,用于将所述预设参数设置文件发送至目标用户终端,以使所述目标用户终端根据预设参数设置文件对终端参数进行设置。The sending unit 412 is configured to send the preset parameter setting file to the target user terminal, so that the target user terminal sets the terminal parameters according to the preset parameter setting file.
比如,目标用户终端根据参数处理装置发送的参数设置文件,更新目标用户终端上对应应用程序的显示设置项,同时,智能设备也应用该参数设置文件,从而完成智能设备设置项的切换。For example, the target user terminal updates the display setting items of the corresponding application program on the target user terminal according to the parameter setting file sent by the parameter processing apparatus, and at the same time, the smart device also applies the parameter setting file, thereby completing the switching of the smart device setting items.
具体实施时,以上各个单元可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个单元的具体实施可参见前面的方法实施例,在此不再赘述。During specific implementation, the above units can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units can refer to the previous method embodiments, which will not be repeated here.
该智能设备的参数处理装置具体可以集成在智能设备,如智能无线音箱、智能无线空调、智能无线电视等设备中。The parameter processing device of the smart device can be specifically integrated in smart devices, such as smart wireless speakers, smart wireless air conditioners, smart wireless TVs, and the like.
由上述可知,本实施例提供的智能设备的参数处理装置,首先当第一用户终端接入智能设备时,检测智能设备当前是否与第二用户终端建立连接,若未建立连接,则将第一用户终端确定为目标用户终端,并获取该目标用户终端的终端标识信息,根据终端标识信息,调取相应的预设参数设置文件,最后基于预设参数设置文件,对智能设备的参数进行设置;本实施例通过用户终端的终端标识信息与智能设备的参数进行关联,即根据终端标识信息自动切换对应的智能设备设置项,无需用户频繁切换账户,达到了快速设置智能设备参数的目的,大大提升了效率。It can be seen from the above that the parameter processing apparatus for the smart device provided in this embodiment firstly detects whether the smart device currently establishes a connection with the second user terminal when the first user terminal accesses the smart device. The user terminal is determined as the target user terminal, and the terminal identification information of the target user terminal is obtained, and according to the terminal identification information, the corresponding preset parameter setting file is called, and finally the parameters of the smart device are set based on the preset parameter setting file; In this embodiment, the terminal identification information of the user terminal is associated with the parameters of the smart device, that is, the corresponding smart device setting items are automatically switched according to the terminal identification information, and the user does not need to switch accounts frequently, which achieves the purpose of quickly setting the parameters of the smart device, and greatly improves the efficiency.
请参阅图6,图6为本发明实施例提供的智能设备结构示意图。本实施例中所描述的智能设备,包括:至少一个输入设备1000;至少一个输出设备2000;至少一个处理器3000,例如中央处理器(CPU,Central Processing Unit);和存储器4000,上述输入设备1000、输出设备2000、处理器3000和存储器4000通过总线5000连接。Please refer to FIG. 6 , which is a schematic structural diagram of a smart device according to an embodiment of the present invention. The smart device described in this embodiment includes: at least one input device 1000; at least one output device 2000; at least one processor 3000, such as a central processing unit (CPU, Central Processing Unit); and memory 4000, the above-mentioned input device 1000 , the output device 2000 , the processor 3000 and the memory 4000 are connected through the bus 5000 .
其中,上述输入设备1000具体可为摄像头、触控面板、物理按键或者鼠标等等。The above-mentioned input device 1000 may specifically be a camera, a touch panel, a physical button, a mouse, or the like.
上述输出设备2000具体可为显示屏。The above-mentioned output device 2000 may specifically be a display screen.
上述存储器4000可以是高速随机存取记忆体(RAM,Random Access Memory)存储器,也可为非不稳定的存储器(non-volatile memory),例如磁盘存储器。上述存储器4000用于存储一组程序代码,上述输入设备1000、输出设备2000和处理器3000用于调用存储器4000中存储的程序代码,执行如下操作:The above-mentioned memory 4000 may be a high-speed random access memory (RAM, Random Access Memory) memory, or may be a non-volatile memory (non-volatile memory), such as a disk memory. The above-mentioned memory 4000 is used to store a set of program codes, and the above-mentioned input device 1000, output device 2000 and processor 3000 are used to call the program codes stored in the memory 4000, and perform the following operations:
当第一用户终端接入智能设备时,检测所述智能设备当前是否与至少一个第二用户终端建立连接;若检测出智能设备当前与第二用户终端未建立连接,则将所述第一用户终端确定为目标用户终端,并获取所述目标用户终端的终端标识信息;根据所述终端标识信息,调取相应的预设参数设置文件;基于所述预设参数设置文件,对所述智能设备的参数进行设置。When the first user terminal accesses the smart device, it is detected whether the smart device currently establishes a connection with at least one second user terminal; if it is detected that the smart device does not currently establish a connection with the second user terminal, the first user The terminal is determined as a target user terminal, and acquires terminal identification information of the target user terminal; according to the terminal identification information, a corresponding preset parameter setting file is called; based on the preset parameter setting file, the intelligent device parameters to be set.
在某些实施方式中,通过处理器3000还可以执行代码,若检测出智能设备当前与第二用户终端已建立连接,则在所述第二用户终端中确定首个与智能设备连接的第二用户终端;将所述首个与智能设备连接的第二用户终端确定为目标用户终端,并触发获取所述目标用户终端的终端标识信息的步骤。In some embodiments, the processor 3000 may further execute code, and if it is detected that the smart device currently has a connection with the second user terminal, determine the first second user terminal connected to the smart device in the second user terminal A user terminal; determining the first second user terminal connected to the smart device as a target user terminal, and triggering the step of acquiring terminal identification information of the target user terminal.
在某些实施方式中,通过处理器3000还可以执行代码,获取第二用户终端接入智能设备的时间信息;根据时间信息的先后顺序,确定首个与智能设备连接的第二用户终端。In some embodiments, the processor 3000 may also execute code to obtain time information of the second user terminal accessing the smart device; and determine the first second user terminal connected to the smart device according to the sequence of the time information.
在某些实施方式中,通过处理器3000还可以执行代码,获取第二用户终端接入智能设备的时间信息;若根据时间信息的先后顺序,确定首个与智能设备连接的第二用户终端当前与智能设备断开连接时,则生成在线终端列表;根据时间信息的先后顺序,在所述在线终端列表确定最先连接智能设备的第二用户终端;将所述在线终端列表确定最先连接智能设备的第二用户终端确定为目标用户终端,并触发获取所述目标用户终端的终端标识信息的步骤。In some embodiments, the processor 3000 can also execute codes to obtain time information of the second user terminal accessing the smart device; if the first second user terminal connected to the smart device is determined according to the order of the time information, the current When disconnecting from the smart device, an online terminal list is generated; according to the order of time information, the second user terminal that first connects to the smart device is determined in the online terminal list; the online terminal list determines that the first connection to the smart device is performed. The second user terminal of the device is determined to be the target user terminal, and triggers the step of acquiring the terminal identification information of the target user terminal.
在某些实施方式中,通过处理器3000还可以执行代码,将所述预设参数设置文件发送至目标用户终端,以使所述目标用户终端根据预设参数设置文件对终端参数进行设置。In some embodiments, the processor 3000 may further execute code to send the preset parameter setting file to the target user terminal, so that the target user terminal sets the terminal parameters according to the preset parameter setting file.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见上文针对智能设备的参数处理方法的详细描述,此处不再赘述。In the above embodiments, the description of each embodiment has its own emphasis. For the part that is not described in detail in a certain embodiment, reference may be made to the detailed description of the parameter processing method for the smart device above, which will not be repeated here.
本发明实施例提供的所述智能设备的参数处理装置,譬如为计算机、平板电脑、具有触摸功能的手机等等,所述智能设备的参数处理装置与上文实施例中的智能设备的参数处理方法属于同一构思,在所述智能设备的参数处理装置上可以运行所述智能设备的参数处理方法实施例中提供的任一方法,其具体实现过程详见所述智能设备的参数处理方法实施例,此处不再赘述。The parameter processing apparatus of the smart device provided in the embodiment of the present invention is, for example, a computer, a tablet computer, a mobile phone with a touch function, etc. The parameter processing apparatus of the smart device is the same as the parameter processing device of the smart device in the above embodiments The method belongs to the same concept. Any method provided in the embodiment of the parameter processing method for the smart device can be executed on the parameter processing device of the smart device. For the specific implementation process, please refer to the embodiment of the parameter processing method for the smart device. , and will not be repeated here.
需要说明的是,对本发明所述智能设备的参数处理方法而言,本领域普通测试人员可以理解实现本发明实施例所述智能设备的参数处理方法的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,所述计算机程序可存储于一计算机可读取存储介质中,如存储在智能设备的存储器中,并被该智能设备内的至少一个处理器执行,在执行过程中可包括如所述智能设备的参数处理方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random AccessMemory)等。It should be noted that, for the parameter processing method of the smart device according to the present invention, ordinary testers in the art can understand that all or part of the process of implementing the parameter processing method for the smart device according to the embodiment of the present invention can be implemented by a computer program. Control related hardware to complete, the computer program can be stored in a computer-readable storage medium, such as stored in the memory of the smart device, and executed by at least one processor in the smart device, and can be executed during the execution process. It includes the flow of the embodiment of the parameter processing method of the smart device. The storage medium may be a magnetic disk, an optical disk, a read only memory (ROM, Read Only Memory), a random access memory (RAM, Random Access Memory), and the like.
对本发明实施例的所述智能设备的参数处理装置而言,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中,所述存储介质譬如为只读存储器,磁盘或光盘等。For the parameter processing apparatus of the smart device according to the embodiment of the present invention, each functional module may be integrated in one processing chip, or each module may exist physically alone, or two or more modules may be integrated into one module. middle. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium, such as a read-only memory, a magnetic disk or an optical disk, etc. .
以上对本发明实施例所提供的一种智能设备的参数处理方法、装置及智能设备进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The method, device and smart device for processing parameters of a smart device provided by the embodiments of the present invention have been described above in detail. In this paper, specific examples are used to illustrate the principles and implementations of the present invention. The descriptions of the above embodiments are only It is used to help understand the method of the present invention and its core idea; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation and application scope. In summary, this specification The content should not be construed as limiting the present invention.
Claims (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610772070.8A CN106161108B (en) | 2016-08-30 | 2016-08-30 | Parameter processing method and device for intelligent equipment and intelligent equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610772070.8A CN106161108B (en) | 2016-08-30 | 2016-08-30 | Parameter processing method and device for intelligent equipment and intelligent equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106161108A CN106161108A (en) | 2016-11-23 |
| CN106161108B true CN106161108B (en) | 2019-12-03 |
Family
ID=57344071
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610772070.8A Active CN106161108B (en) | 2016-08-30 | 2016-08-30 | Parameter processing method and device for intelligent equipment and intelligent equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106161108B (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2018165830A1 (en) * | 2017-03-13 | 2018-09-20 | 华为技术有限公司 | Payment method and device based on verification terminal |
| CN112860290A (en) * | 2021-02-08 | 2021-05-28 | 一汽解放汽车有限公司 | Vehicle upgrading method, device and system, terminal equipment and storage medium |
| CN113607894A (en) * | 2021-08-31 | 2021-11-05 | 奇瑞新能源汽车股份有限公司 | Method and device for detecting air in vehicle |
| CN114205808B (en) * | 2021-11-30 | 2023-10-20 | 深圳优美创新科技有限公司 | Intelligent wearable device, binding method thereof and computer readable storage medium |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8775332B1 (en) * | 2013-06-13 | 2014-07-08 | InsideSales.com, Inc. | Adaptive user interfaces |
| CN104426918A (en) * | 2013-08-19 | 2015-03-18 | 联想(北京)有限公司 | Device setting method and electronic device |
| CN104915225A (en) * | 2015-05-19 | 2015-09-16 | 小米科技有限责任公司 | Method and device for controlling intelligent device |
| CN105897862A (en) * | 2016-03-28 | 2016-08-24 | 北京小米移动软件有限公司 | Method and apparatus for controlling intelligent device |
-
2016
- 2016-08-30 CN CN201610772070.8A patent/CN106161108B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8775332B1 (en) * | 2013-06-13 | 2014-07-08 | InsideSales.com, Inc. | Adaptive user interfaces |
| CN104426918A (en) * | 2013-08-19 | 2015-03-18 | 联想(北京)有限公司 | Device setting method and electronic device |
| CN104915225A (en) * | 2015-05-19 | 2015-09-16 | 小米科技有限责任公司 | Method and device for controlling intelligent device |
| CN105897862A (en) * | 2016-03-28 | 2016-08-24 | 北京小米移动软件有限公司 | Method and apparatus for controlling intelligent device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106161108A (en) | 2016-11-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10554805B2 (en) | Information processing method, terminal, and computer-readable storage medium | |
| CN103596641B (en) | A kind of audio frequency controller method and device | |
| CN106412093B (en) | Method, device and system for uploading data | |
| CN111464402A (en) | A control method, terminal device and medium for smart home equipment | |
| CN106487911A (en) | A data synchronization method, device and system | |
| US9331915B1 (en) | Dynamic network traffic mirroring | |
| CN106161108B (en) | Parameter processing method and device for intelligent equipment and intelligent equipment | |
| CN105007082A (en) | A data compression method, device and terminal | |
| CN105183279A (en) | A search method and terminal | |
| US20170289243A1 (en) | Domain name resolution method and electronic device | |
| CN106506484B (en) | Data backup method, device and system | |
| KR20220091441A (en) | Data synchronization method and device, electronic device, storage media, and computer program | |
| CN106502833B (en) | Data backup method and device | |
| CN110515662B (en) | Remote control method, system, device and readable storage medium for dual-system equipment | |
| CN105654973A (en) | Audio file processing method and system | |
| CN103559091B (en) | A kind of data dispatching method and split type terminal system | |
| CN109521990B (en) | Audio playing control method and device, electronic equipment and readable storage medium | |
| CN107168648B (en) | File storage method and device and terminal | |
| CN113342759A (en) | Content sharing method, device, equipment and storage medium | |
| EP2981882A1 (en) | Removable storage device identity and configuration information | |
| CN107040840A (en) | Earphone, music playing method and device, and electronic equipment | |
| CN105472128A (en) | Call control method and call control device | |
| CN105392083A (en) | A MPP speaker switching method and access controller | |
| CA2879654C (en) | Method, apparatus, and system for managing information in mobile device | |
| CN106599125A (en) | Directory management method and apparatus, and terminal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| CB02 | Change of applicant information | ||
| CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: Guangdong Opel Mobile Communications Co., Ltd. |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant |