Movatterモバイル変換


[0]ホーム

URL:


CN114327332A - Internet of things equipment setting method and device, electronic equipment and storage medium - Google Patents

Internet of things equipment setting method and device, electronic equipment and storage medium
Download PDF

Info

Publication number
CN114327332A
CN114327332ACN202111582373.0ACN202111582373ACN114327332ACN 114327332 ACN114327332 ACN 114327332ACN 202111582373 ACN202111582373 ACN 202111582373ACN 114327332 ACN114327332 ACN 114327332A
Authority
CN
China
Prior art keywords
light intensity
light
preset
parameter
parameters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111582373.0A
Other languages
Chinese (zh)
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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology 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 Shenzhen TCL New Technology Co LtdfiledCriticalShenzhen TCL New Technology Co Ltd
Priority to CN202111582373.0ApriorityCriticalpatent/CN114327332A/en
Publication of CN114327332ApublicationCriticalpatent/CN114327332A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Landscapes

Abstract

Translated fromChinese

本发明实施例公开了一种物联网设备设置方法、装置、电子设备和存储介质;本发明实施例可以获取环境光照强度,比较所述环境光照强度和预设的光强阈值的大小,当所述环境光照强度小于所述光强阈值时,基于预设的第一弱光参数,对目标设备参数进行调整,查询可通信的互连设备,向所述互连设备发送弱光调整指令,触发所述互连设备基于预设的第二弱光参数对互连设备参数进行调整;由于在本发明实施例中,可以根据环境光照强度自动调整目标设备参数,同时向互连设备发送指令使互连设备根据指令进行调整,因此,可以保护黑暗环境下用户的健康,无需用户手动对智能家居设备的亮度、音量等参数进行调整,提升用户使用智能家居设备的便捷性。

Figure 202111582373

The embodiment of the present invention discloses a method, device, electronic device and storage medium for setting up an Internet of Things device; the embodiment of the present invention can obtain the ambient light intensity, compare the ambient light intensity with a preset light intensity threshold, and when all the When the ambient light intensity is less than the light intensity threshold, adjust the parameters of the target device based on the preset first low-light parameter, query the interconnected devices that can communicate, send a low-light adjustment instruction to the interconnected device, and trigger The interconnection device adjusts the parameters of the interconnection device based on the preset second weak light parameter; because in the embodiment of the present invention, the parameters of the target device can be automatically adjusted according to the ambient light intensity, and at the same time, an instruction is sent to the interconnection device to make the interconnection device. The connected device adjusts according to the instructions, so it can protect the health of the user in the dark environment, without the need for the user to manually adjust the brightness, volume and other parameters of the smart home device, and improve the convenience of the user to use the smart home device.

Figure 202111582373

Description

Translated fromChinese
一种物联网设备设置方法、装置、电子设备和存储介质An Internet of Things device setting method, device, electronic device and storage medium

技术领域technical field

本发明涉及智能家居技术领域,具体涉及一种物联网设备设置方法、装置、电子设备和存储介质。The present invention relates to the technical field of smart home, in particular to a method, device, electronic device and storage medium for setting an Internet of Things device.

背景技术Background technique

随着当前经济和科技的快速发展,各类智能家居设备已经进入了千家万户,成为了人们生活中的一部分。各类智能家居设备也提供了也越来越丰富、完善的功能,以提升用户的使用体验。With the rapid development of the current economy and technology, all kinds of smart home devices have entered thousands of households and become a part of people's lives. All kinds of smart home devices also provide more and more abundant and perfect functions to enhance the user experience.

目前,在用户对智能家居设备发出某个指令后,智能家居设备在接收到指令后会发出反馈提示音等提示,原本可能处于休眠状态的显示屏或者指示灯等也会重新发亮。但是这种方案,在黑暗环境中会对用户的眼睛产生刺激,影响到用户的眼部健康。即使用户通过设置睡眠模式解决前述问题,对于有多个智能家居设备的用户来说,需要逐个对不同的智能家居设备进行设置,设置步骤繁琐。At present, after a user sends a certain command to a smart home device, the smart home device will send out a feedback sound and other prompts after receiving the command, and the display screen or indicator lights that may have been in a dormant state will also re-light. However, this solution will irritate the user's eyes in a dark environment and affect the user's eye health. Even if the user solves the aforementioned problems by setting the sleep mode, for a user with multiple smart home devices, it is necessary to set different smart home devices one by one, and the setting steps are cumbersome.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种物联网设备设置方法、装置、电子设备和存储介质,可以保护用户黑暗环境下用户的健康,无需用户手动对智能家居设备的亮度、音量等参数进行调整,提升用户使用智能家居设备的便捷性。Embodiments of the present invention provide a method, device, electronic device, and storage medium for setting an Internet of Things device, which can protect the user's health in the dark environment of the user, without the need for the user to manually adjust parameters such as brightness and volume of the smart home device, and improve user usage. The convenience of smart home devices.

本发明实施例提供一种物联网设备设置方法,包括:An embodiment of the present invention provides a method for setting an Internet of Things device, including:

获取环境光照强度,比较所述环境光照强度和预设的光强阈值的大小;Obtain the ambient light intensity, and compare the ambient light intensity with a preset light intensity threshold;

当所述环境光照强度小于所述光强阈值时,基于预设的第一弱光参数,对目标设备参数进行调整;When the ambient light intensity is less than the light intensity threshold, adjust the parameters of the target device based on the preset first weak light parameter;

查询可通信的互连设备,向所述互连设备发送弱光调整指令,触发所述互连设备基于预设的第二弱光参数对互连设备参数进行调整。The communicable interconnection device is queried, a weak light adjustment instruction is sent to the interconnection device, and the interconnection device is triggered to adjust the parameters of the interconnection device based on the preset second weak light parameter.

相应的,本发明实施例还提供一种物联网设备设置装置,包括:Correspondingly, an embodiment of the present invention also provides a device for setting up an Internet of Things device, including:

光强获取单元,用于获取环境光照强度,比较所述环境光照强度和预设的光强阈值的大小;a light intensity acquisition unit, configured to acquire the ambient light intensity, and compare the ambient light intensity with a preset light intensity threshold;

第一弱光调整单元,用于当所述环境光照强度小于所述光强阈值时,基于预设的第一弱光参数,对目标设备参数进行调整;a first weak light adjustment unit, configured to adjust the parameters of the target device based on the preset first weak light parameters when the ambient light intensity is less than the light intensity threshold;

第二弱光调整单元,用于查询可通信的互连设备,向所述互连设备发送弱光调整指令,触发所述互连设备基于预设的第二弱光参数对互连设备参数进行调整。The second weak light adjustment unit is configured to query the interconnection devices that can communicate, send a weak light adjustment instruction to the interconnection device, and trigger the interconnection device to perform an adjustment on the parameters of the interconnection device based on the preset second weak light parameters. Adjustment.

可选的,本发明实施例提供的物联网设备设置装置还包括第一强光调整单元和第二强光调整单元;Optionally, the IoT device setting device provided by the embodiment of the present invention further includes a first strong light adjustment unit and a second strong light adjustment unit;

所述第一强光调整单元,用于当所述环境光照强度不小于所述光强阈值时,基于预设的第一强光参数,对所述目标设备参数进行调整;the first strong light adjustment unit, configured to adjust the parameters of the target device based on the preset first strong light parameters when the ambient light intensity is not less than the light intensity threshold;

所述第二强光调整单元,用于查询可通信的互连设备,向所述互连设备发送强光调整指令,触发所述互连设备基于预设的第二强光参数对所述互连设备参数进行调整。The second strong light adjustment unit is configured to query the interconnection device that can communicate, send a strong light adjustment instruction to the interconnection device, and trigger the interconnection device to perform an adjustment to the interconnection device based on the preset second strong light parameter. Adjust the device parameters.

可选的,所述光强获取单元,用于获取环境光照强度,若当前的所述环境光照强度与前一环境光照强度之间的强度差值超过预设的强度差值阈值,获取预设的光强阈值,其中,若当前的所述环境光照强度为获取的第一个环境光照强度,所述前一环境光照强度为空;Optionally, the light intensity acquisition unit is configured to acquire the ambient light intensity, and if the intensity difference between the current ambient light intensity and the previous ambient light intensity exceeds a preset intensity difference threshold, obtain a preset intensity difference. The light intensity threshold of , wherein, if the current ambient light intensity is the acquired first ambient light intensity, the previous ambient light intensity is empty;

比较所述环境光照强度和预设的光强阈值的大小。Compare the ambient light intensity with a preset light intensity threshold.

可选的,所述目标设备参数包括声音器件音量和显示器件亮度,所述第一弱光参数包括第一弱光音量参数和第一弱光亮度参数;Optionally, the target device parameters include a volume of a sound device and a brightness of a display device, and the first low-light parameter includes a first low-light volume parameter and a first low-light brightness parameter;

所述第一弱光调整单元,用于基于所述第一弱光音量参数,将所述声音器件音量调低至不大于所述第一弱光音量参数;the first low-light adjustment unit, configured to lower the volume of the sound device to be no greater than the first low-light volume parameter based on the first low-light volume parameter;

基于所述第一弱光亮度参数,将所述显示器件亮度调低至不大于所述第一弱光亮度参数。Based on the first low-light brightness parameter, the brightness of the display device is adjusted to be no greater than the first low-light brightness parameter.

可选的,本发明实施例提供的物联网设备设置装置还包括音量获取单元,用于获取环境音量以及预设的音量阈值;Optionally, the IoT device setting device provided by the embodiment of the present invention further includes a volume acquisition unit, configured to acquire the ambient volume and a preset volume threshold;

所述第一弱光调整单元,用于基于所述第一弱光音量参数,当所述环境音量小于预设的音量阈值时,将所述声音器件音量调低至不大于所述第一弱光音量参数。The first weak light adjustment unit is configured to, based on the first weak light volume parameter, when the ambient volume is less than a preset volume threshold, lower the volume of the sound device to be no greater than the first weak light volume. Light volume parameter.

可选的,所述第一弱光调整单元,用于当所述环境光照强度小于所述光强阈值时,计算所述环境光照强度与所述光强阈值之间的强度比例;Optionally, the first weak light adjustment unit is configured to calculate the intensity ratio between the ambient light intensity and the light intensity threshold when the ambient light intensity is less than the light intensity threshold;

根据预设的第一弱光参数和所述强度比例,确定目标调整参数;Determine the target adjustment parameter according to the preset first weak light parameter and the intensity ratio;

根据所述目标调整参数对目标设备参数进行调整。The target device parameters are adjusted according to the target adjustment parameters.

可选的,本发明实施例提供的物联网设备设置装置还包括语音提示单元,用于当接收到功能调用指令时,响应于所述功能调用指令,获取所述功能调用指令对应的功能调用提示音频;Optionally, the IoT device setting device provided by the embodiment of the present invention further includes a voice prompt unit, configured to, when a function call instruction is received, obtain a function call prompt corresponding to the function call instruction in response to the function call instruction. audio;

基于调整后的目标设备参数播放所述功能调用提示音频。The function invocation prompt audio is played based on the adjusted target device parameters.

相应的,本发明实施例还提供一种电子设备,包括存储器和处理器;所述存储器存储有应用程序,所述处理器用于运行所述存储器内的应用程序,以执行本发明实施例所提供的任一种物联网设备设置方法中的步骤。Correspondingly, an embodiment of the present invention further provides an electronic device, including a memory and a processor; the memory stores an application program, and the processor is configured to run the application program in the memory to execute the application program provided by the embodiment of the present invention. The steps in any of the IoT device setup methods.

相应的,本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质存储有多条指令,所述指令适于处理器进行加载,以执行本发明实施例所提供的任一种物联网设备设置方法中的步骤。Correspondingly, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores a plurality of instructions, and the instructions are adapted to be loaded by a processor to execute any of the instructions provided by the embodiments of the present invention. Steps in a method of setting up an IoT device.

此外,本发明实施例还提供一种计算机程序产品,包括计算机程序或指令,所述计算机程序或指令被处理器执行时实现本发明实施例所提供的任一种物联网设备设置方法中的步骤。In addition, an embodiment of the present invention also provides a computer program product, including a computer program or an instruction, when the computer program or instruction is executed by a processor, implements the steps in any method for setting an Internet of Things device provided by the embodiment of the present invention .

采用本发明实施例的方案,可以获取环境光照强度,比较所述环境光照强度和预设的光强阈值的大小,当所述环境光照强度小于所述光强阈值时,基于预设的第一弱光参数,对目标设备参数进行调整,查询可通信的互连设备,向所述互连设备发送弱光调整指令,触发所述互连设备基于预设的第二弱光参数对互连设备参数进行调整;由于在本发明实施例中,可以根据环境光照强度自动调整目标设备参数,同时向互连设备发送指令使互连设备根据指令进行调整,因此,可以保护黑暗环境下用户的健康,无需用户手动对智能家居设备的亮度、音量等参数进行调整,提升用户使用智能家居设备的便捷性。By adopting the solution of the embodiment of the present invention, the ambient light intensity can be obtained, and the ambient light intensity can be compared with a preset light intensity threshold. When the ambient light intensity is less than the light intensity threshold, based on the preset first Low light parameters, adjust the parameters of the target device, query the interconnected devices that can communicate, send a low-light adjustment instruction to the interconnected devices, and trigger the interconnected devices to adjust the interconnected devices based on the preset second low-light parameters. parameters; because in the embodiment of the present invention, the parameters of the target device can be automatically adjusted according to the ambient light intensity, and at the same time, instructions are sent to the interconnection device to make the interconnection device adjust according to the instructions, so the health of the user in the dark environment can be protected, There is no need for the user to manually adjust parameters such as brightness and volume of the smart home device, which improves the convenience of the user using the smart home device.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained from these drawings without creative effort.

图1是本发明实施例提供的物联网设备设置方法的场景示意图;1 is a schematic diagram of a scenario of a method for setting an Internet of Things device provided by an embodiment of the present invention;

图2是本发明实施例提供的物联网设备设置方法的流程图;2 is a flowchart of a method for setting an Internet of Things device provided by an embodiment of the present invention;

图3是本发明实施例提供的服务器与智能家居设备的通信示意图;3 is a schematic diagram of communication between a server and a smart home device provided by an embodiment of the present invention;

图4是本发明实施例提供的各物联网设备之间的通信示意图;4 is a schematic diagram of communication between various Internet of Things devices provided by an embodiment of the present invention;

图5是本发明实施例提供的物联网设备设置过程的流程示意图;5 is a schematic flowchart of a setting process of an Internet of Things device provided by an embodiment of the present invention;

图6是本发明实施例提供的物联网设备设置装置的结构示意图;6 is a schematic structural diagram of a device for setting up an Internet of Things device provided by an embodiment of the present invention;

图7是本发明实施例提供的物联网设备设置装置的另一结构示意图;7 is another schematic structural diagram of an apparatus for setting an Internet of Things device provided by an embodiment of the present invention;

图8是本发明实施例提供的电子设备的结构示意图。FIG. 8 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts shall fall within the protection scope of the present invention.

本发明实施例提供一种物联网设备设置方法、装置、电子设备和计算机可读存储介质。具体地,本发明实施例提供适用于物联网设备设置装置的物联网设备设置方法,该物联网设备设置装置可以集成在电子设备中。Embodiments of the present invention provide a method, an apparatus, an electronic device, and a computer-readable storage medium for setting an Internet of Things device. Specifically, the embodiments of the present invention provide an IoT device setting method suitable for an IoT device setting device, and the IoT device setting device can be integrated into an electronic device.

该电子设备可以为终端等设备,包括但不限于移动终端和固定终端,例如移动终端包括但不限于智能手机、智能手表、平板电脑、笔记本电脑、智能车载等,其中,固定终端包括但不限于台式电脑、智能电视等。The electronic device may be a terminal and other devices, including but not limited to mobile terminals and fixed terminals. For example, mobile terminals include but are not limited to smart phones, smart watches, tablet computers, notebook computers, smart vehicles, etc., where fixed terminals include but are not limited to Desktop computers, smart TVs, etc.

该电子设备还可以为服务器等设备,该服务器可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、CDN(ContentDelivery Network,内容分发网络)、以及大数据和人工智能平台等基础云计算服务的云服务器,但并不局限于此。The electronic device can also be a server or other device. The server can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, and can also provide cloud services, cloud databases, cloud computing, and cloud functions. , cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network, content delivery network), and cloud servers for basic cloud computing services such as big data and artificial intelligence platforms, but not limited to here.

本发明实施例的物联网设备设置方法,可以由服务器实现,也可以由终端和服务器共同实现。The method for setting an Internet of Things device in the embodiment of the present invention may be implemented by a server, or may be implemented by a terminal and a server jointly.

下面以终端和服务器共同实现该物联网设备设置方法为例,对该方法进行说明。The method is described below by taking the terminal and the server jointly implementing the method for setting the Internet of Things device as an example.

如图1所示,本发明实施例提供的物联网设备设置系统包括终端10和终端20等;终端10与终端20之间通过网络连接,比如,通过有线或无线网络连接等,其中,终端10可以作为可以获取环境光照强度的终端存在。As shown in FIG. 1 , the IoT device setting system provided by the embodiment of the present invention includes a terminal 10, a terminal 20, etc.; the terminal 10 and the terminal 20 are connected through a network, for example, through a wired or wireless network connection, etc., wherein the terminal 10 It can exist as a terminal that can obtain ambient light intensity.

其中,终端10可以用于获取环境光照强度,比较所述环境光照强度和预设的光强阈值的大小,当所述环境光照强度小于所述光强阈值时,基于预设的第一弱光参数,对目标设备参数进行调整。Wherein, the terminal 10 may be used to obtain the ambient light intensity, compare the ambient light intensity with a preset light intensity threshold, and when the ambient light intensity is less than the light intensity threshold, based on the preset first weak light parameters to adjust the parameters of the target device.

其中,终端20可以作为可以与终端10之间进行通信的互连设备存在。The terminal 20 may exist as an interconnection device that can communicate with the terminal 10 .

终端10可以查询可通信的互连设备(终端20),向所述互连设备发送弱光调整指令,触发所述互连设备基于预设的第二弱光参数对互连设备参数进行调整。The terminal 10 may query the communicable interconnection device (terminal 20 ), send a weak light adjustment instruction to the interconnection device, and trigger the interconnection device to adjust the parameters of the interconnection device based on the preset second weak light parameter.

终端20可以用于接收终端10发送的弱光调整指令,基于预设的第二弱光参数对互连设备参数进行调整。The terminal 20 may be configured to receive the low-light adjustment instruction sent by the terminal 10, and adjust the parameters of the interconnecting device based on the preset second low-light parameters.

以下分别进行详细说明。需要说明的是,以下实施例的描述顺序不作为对实施例优选顺序的限定。Each of them will be described in detail below. It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments.

本发明实施例将从物联网设备设置装置的角度进行描述,该物联网设备设置装置具体可以集成在各类终端中。The embodiments of the present invention will be described from the perspective of a device setting device for the Internet of Things, and the device setting device for the Internet of Things may specifically be integrated into various types of terminals.

如图2所示,本实施例的物联网设备设置方法的具体流程可以如下:As shown in FIG. 2 , the specific process of the method for setting an Internet of Things device in this embodiment may be as follows:

201、获取环境光照强度,比较所述环境光照强度和预设的光强阈值的大小。201. Acquire ambient light intensity, and compare the ambient light intensity with a preset light intensity threshold.

其中,环境光照强度可以是通过光照强度探测仪器对所处环境的光照强度进行探测得到的。比如,光照强度探测仪器可以是在目标设备中安装的照度仪、光敏传感器等等。光敏传感器是对外界光信号或光辐射有响应或转换功能的敏感装置,可以利用光敏元件将光信号转换为电信号。The ambient light intensity may be obtained by detecting the light intensity of the environment in which the light intensity is detected by a light intensity detection instrument. For example, the light intensity detection instrument may be an illuminance meter, a photosensitive sensor, etc. installed in the target device. A photosensitive sensor is a sensitive device that has a response or conversion function to external light signals or light radiation, and can use photosensitive elements to convert light signals into electrical signals.

或者,光照强度探测仪器可以安装在目标设备之外,例如目标设备的上方或者用户住所的某个位置,如床头、床尾等。Alternatively, the light intensity detection instrument can be installed outside the target device, for example, above the target device or at a certain position in the user's residence, such as the head of the bed, the foot of the bed, and the like.

具体的,目标设备为执行本发明实施例提供的物联网设备设置方法的终端。例如,目标设备可以包括但不限于如图1中所示的智能冰箱、智能加湿器、智能电视、智能抽油烟机、智能电饭煲、智能洗衣机等等。Specifically, the target device is a terminal that executes the method for setting an Internet of Things device provided by the embodiment of the present invention. For example, target devices may include, but are not limited to, smart refrigerators, smart humidifiers, smart TVs, smart range hoods, smart rice cookers, smart washing machines, and the like as shown in FIG. 1 .

其中,光强阈值可以由技术人员或者用户根据实际应用情况自行设定,本发明实施例对此不做限定。例如,技术人员可以在实验室通过大量实验数据确定需要调整设备时的光照强度作为光强阈值;或者,用户可以通过操作自行设定某个光照强度作为光强阈值。The light intensity threshold may be set by a technician or user according to an actual application situation, which is not limited in this embodiment of the present invention. For example, technicians can use a large amount of experimental data in the laboratory to determine the light intensity when the device needs to be adjusted as the light intensity threshold; or, users can set a certain light intensity as the light intensity threshold by themselves.

在一些示例中,用户可以通过填写具体的光照强度数值等方式设置光强阈值,或者,用户可以在某个光照强度下发送阈值设置指令,触发目标设备响应于所述阈值设置指令,获取当前环境光照强度,将当前环境光照强度作为光照阈值。In some examples, the user can set the light intensity threshold by filling in a specific light intensity value, etc., or the user can send a threshold setting instruction under a certain light intensity to trigger the target device to respond to the threshold setting instruction and obtain the current environment Light intensity, using the current ambient light intensity as the light threshold.

在实际应用过程中,由于时间或者用户增减照明设施等影响,环境中的光照强度可以是变化的。因此,可以定时或者非定时地对环境中的光照强度进行检测。此时,如果多次获取的环境光照强度都相同且均小于光强阈值,则会多次执行基于预设的第一弱光参数,对目标设备参数进行调整的步骤,影响设备性能,浪费电力等资源。In the actual application process, due to the influence of time or the increase or decrease of lighting facilities by the user, the light intensity in the environment may vary. Therefore, the light intensity in the environment can be detected periodically or untimely. At this time, if the ambient light intensity obtained for multiple times is the same and is smaller than the light intensity threshold, the step of adjusting the parameters of the target device based on the preset first weak light parameter will be performed multiple times, which affects the performance of the device and wastes power. and other resources.

为了避免这种重复执行的情况,在一些可选的实施例中,步骤“获取环境光照强度,比较所述环境光照强度和预设的光强阈值的大小”,具体可以包括:In order to avoid this situation of repeated execution, in some optional embodiments, the step of "obtaining the ambient light intensity, and comparing the ambient light intensity with a preset light intensity threshold" may specifically include:

获取环境光照强度,若当前的所述环境光照强度与前一环境光照强度之间的强度差值超过预设的强度差值阈值,获取预设的光强阈值,其中,若当前的所述环境光照强度为获取的第一个环境光照强度,所述前一环境光照强度为空;Obtain the ambient light intensity, if the intensity difference between the current ambient light intensity and the previous ambient light intensity exceeds a preset intensity difference threshold, obtain a preset light intensity threshold, wherein if the current environment The illumination intensity is the obtained first ambient illumination intensity, and the previous ambient illumination intensity is empty;

比较所述环境光照强度和预设的光强阈值的大小。Compare the ambient light intensity with a preset light intensity threshold.

通过与前一次获取得到的环境光照强度进行比较,可以保证在环境光照未发生很大的变化时,例如相邻两次获取的环境光照强度相同时,节约执行步骤203的计算资源、电力资源等。By comparing with the ambient light intensity obtained in the previous acquisition, it can be ensured that when the ambient light does not change greatly, for example, when the ambient light intensity obtained in two adjacent times is the same, the computing resources, power resources, etc. of performingstep 203 can be saved. .

在另一些可选的实施例中,如果获取环境光照强度时不是第一次获取并且环境光照强度与前一环境光照强度之间的强度差值未超过预设的强度差值阈值,则目标设备可以进入自我循环等下一次获取环境光照强度的时间到来。In other optional embodiments, if the ambient light intensity is not acquired for the first time and the intensity difference between the ambient light intensity and the previous ambient light intensity does not exceed a preset intensity difference threshold, the target device You can enter the self-loop and wait for the next time to obtain the ambient light intensity.

202、当所述环境光照强度小于所述光强阈值时,基于预设的第一弱光参数,对目标设备参数进行调整。202. When the ambient light intensity is less than the light intensity threshold, adjust the parameters of the target device based on the preset first low light parameter.

其中,第一弱光参数是一组在环境光照强度小于光强阈值时目标设备的设备参数。一般来说,第一弱光参数可以让用户在光线较弱的情况下仍然能够保持眼部舒适,也不会感觉目标设备的声音会造成打扰的一组设备参数。The first low light parameter is a set of device parameters of the target device when the ambient light intensity is less than the light intensity threshold. Generally speaking, the first low-light parameter is a set of device parameters that allow the user to keep the eyes comfortable even in the case of weak light, and not feel that the sound of the target device will cause disturbance.

第一弱光参数可以是技术人员或者用户根据实际应用情况自行设定,本发明实施例对此不做限定。例如,技术人员可以在实验室通过大量实验数据确定一组设备参数作为第一弱光参数;或者,用户可以通过操作自行设定一组设备参数作为第一弱光参数。The first low-light parameter may be set by a technician or a user according to an actual application situation, which is not limited in this embodiment of the present invention. For example, technicians can determine a set of device parameters as the first low-light parameters in the laboratory through a large amount of experimental data; or, users can set a set of device parameters as the first low-light parameters by themselves through operations.

在一些示例中,所述目标设备参数可以包括声音器件音量和显示器件亮度,所述第一弱光参数可以包括第一弱光音量参数和第一弱光亮度参数;In some examples, the target device parameters may include sound device volume and display device brightness, and the first low-light parameters may include first low-light volume parameters and first low-light brightness parameters;

所述基于预设的第一弱光参数,对目标设备参数进行调整,包括:The adjusting the parameters of the target device based on the preset first low-light parameters includes:

基于所述第一弱光音量参数,将所述声音器件音量调低至不大于所述第一弱光音量参数;Based on the first low-light volume parameter, reducing the volume of the sound device to be no greater than the first low-light volume parameter;

基于所述第一弱光亮度参数,将所述显示器件亮度调低至不大于所述第一弱光亮度参数。Based on the first low-light brightness parameter, the brightness of the display device is adjusted to be no greater than the first low-light brightness parameter.

比如,声音器件可以包括蜂鸣器和喇叭等,显示器件可以包括指示灯和显示屏等。相关技术中,以空调为例,通过遥控器发出调节温度等指令时,空调上的蜂鸣器或喇叭在收到按键指令后会给予用户“滴”的反馈提示音,或者通过喇叭播放一段语音提示,比如“好的”;同时在使用空调过程中,空调上的指示灯只能一直亮着,或被用户手动关闭(或调节亮度等级)。这在白天使用过程中比较自然,但是在黑暗的睡眠环境中用户体验会非常不好,在半睡半醒中伸手找遥控器,会觉得空调的灯光非常刺眼,按键的反馈提示音又会非常刺耳,影响到睡眠者的睡眠质量。For example, the sound device may include a buzzer and a horn, and the display device may include an indicator light, a display screen, and the like. In the related art, taking an air conditioner as an example, when an instruction such as adjusting the temperature is issued through the remote control, the buzzer or horn on the air conditioner will give the user a "di" feedback prompt after receiving the button instruction, or play a voice through the speaker. Prompts, such as "OK"; at the same time, when the air conditioner is in use, the indicator light on the air conditioner can only stay on, or be manually turned off by the user (or adjust the brightness level). This is more natural during daytime use, but in a dark sleeping environment, the user experience will be very bad. If you reach for the remote control while half asleep, you will feel that the lights of the air conditioner are very dazzling, and the feedback sound of the buttons will be very dazzling. It is harsh and affects the sleep quality of sleepers.

在实际应用过程中,有时用户只需要调低亮度但可能不需要调低音量,例如用户在低光环境下看电影等,此时如果目标设备为智能音箱,调低音量则会影响用户的观影体验。In the actual application process, sometimes the user only needs to turn down the brightness but may not need to turn down the volume. For example, the user is watching a movie in a low-light environment. At this time, if the target device is a smart speaker, lowering the volume will affect the user's view. movie experience.

因此,步骤“基于所述第一弱光音量参数,将所述声音器件音量调低至不小于所述第一弱光音量参数”之前,本发明实施例提供的物联网设备设置方法还可以包括:Therefore, before the step "based on the first low-light volume parameter, lower the volume of the sound device to not less than the first low-light volume parameter", the method for setting an Internet of Things device provided by the embodiment of the present invention may further include: :

获取环境音量以及预设的音量阈值;Get ambient volume and preset volume threshold;

相应的,步骤“基于所述第一弱光音量参数,将所述声音器件音量调低至不小于所述第一弱光音量参数”,可以包括:Correspondingly, the step of "adjusting the volume of the sound device to not less than the first low-light volume parameter based on the first low-light volume parameter" may include:

基于所述第一弱光音量参数,当所述环境音量小于预设的音量阈值时,将所述声音器件音量调低至不大于所述第一弱光音量参数。Based on the first low-light volume parameter, when the ambient volume is less than a preset volume threshold, the sound device volume is turned down to be no greater than the first low-light volume parameter.

可以理解的是,当环境音量不小于音量阈值时,可以不对声音器件音量进行调整,避免影响用户的听觉体验。It can be understood that when the ambient volume is not less than the volume threshold, the volume of the sound device may not be adjusted to avoid affecting the user's listening experience.

需要说明的是,在对目标设备参数进行调整时,调整后的目标设备参数可以与第一弱光参数相同,也可以与第一弱光参数不同。It should be noted that, when adjusting the parameters of the target device, the adjusted parameters of the target device may be the same as the first low-light parameters, or may be different from the first low-light parameters.

在一些可选的示例中,步骤“当所述环境光照强度小于所述光强阈值时,基于预设的第一弱光参数,对目标设备参数进行调整”具体可以包括:In some optional examples, the step "when the ambient light intensity is less than the light intensity threshold, adjust the parameters of the target device based on the preset first low light parameter" may specifically include:

当所述环境光照强度小于所述光强阈值时,计算所述环境光照强度与所述光强阈值之间的强度比例;When the ambient light intensity is less than the light intensity threshold, calculating the intensity ratio between the ambient light intensity and the light intensity threshold;

根据预设的第一弱光参数和所述强度比例,确定目标调整参数;Determine the target adjustment parameter according to the preset first weak light parameter and the intensity ratio;

根据所述目标调整参数对目标设备参数进行调整。The target device parameters are adjusted according to the target adjustment parameters.

例如,光强阈值为20,对应的第一弱光参数(以显示屏亮度为例)为10,若环境光强亮度为10,则可以确定强度比例为1/2,目标调整参数可以为5,等等。通过上述方案,可以使目标设备的设备参数在调整后与环境更加匹配。For example, if the light intensity threshold is 20, and the corresponding first weak light parameter (taking the display screen brightness as an example) is 10, if the ambient light intensity is 10, the intensity ratio can be determined to be 1/2, and the target adjustment parameter can be 5 ,and many more. Through the above solution, the device parameters of the target device can be adjusted to better match the environment.

在一些可选的示例中,不同类型的智能家居设备,对于设备参数的调整方式可以不同。例如,当用户睡眠时,处于卧室的智能家居设备比如加湿器、空调等可以调低显示屏亮度,但是处于其他位置的智能家居设备比如抽油烟机、洗衣机、冰箱等,可以调高显示屏亮度,便于对用户进行提示。In some optional examples, different types of smart home devices may adjust device parameters in different ways. For example, when the user is sleeping, smart home devices in the bedroom, such as humidifiers, air conditioners, etc., can turn down the display brightness, but smart home devices in other locations, such as range hoods, washing machines, refrigerators, etc., can turn up the display brightness. , which is convenient for prompting users.

因此,不同类型的目标设备对应的第一弱光参数可以不同,对于设备参数的调整方式也可以不同。Therefore, the first weak light parameters corresponding to different types of target devices may be different, and the adjustment methods for the device parameters may also be different.

203、查询可通信的互连设备,向所述互连设备发送弱光调整指令,触发所述互连设备基于预设的第二弱光参数对互连设备参数进行调整。203. Query the interconnection devices that can communicate, send a low light adjustment instruction to the interconnection device, and trigger the interconnection device to adjust the parameters of the interconnection device based on a preset second low light parameter.

具体的,互连设备在基于第二弱光参数对互连设备参数进行调整时的过程与目标设备基于第一弱光参数对目标设备参数进行调整时的过程可以相似,本发明实施例对此不做赘述。Specifically, the process when the interconnecting device adjusts the parameters of the interconnecting device based on the second low-light parameter may be similar to the process when the target device adjusts the parameters of the target device based on the first low-light parameter. I won't go into details.

在一些可选的示例中,本发明实施例提供的物联网设备设置方法还可以包括:In some optional examples, the method for setting an Internet of Things device provided by the embodiment of the present invention may further include:

当所述环境光照强度不小于所述光强阈值时,基于预设的第一强光参数,对所述目标设备参数进行调整;When the ambient light intensity is not less than the light intensity threshold, adjust the target device parameter based on the preset first strong light parameter;

查询可通信的互连设备,向所述互连设备发送强光调整指令,触发所述互连设备基于预设的第二强光参数对所述互连设备参数进行调整。The communicable interconnection device is queried, a strong light adjustment instruction is sent to the interconnection device, and the interconnection device is triggered to adjust the parameters of the interconnection device based on a preset second strong light parameter.

比如,在用户开灯或者白天的情况下,可以相应地提高显示屏屏幕亮度、提高指示灯亮度、提高蜂鸣器音量、提高喇叭音量等。For example, when the user turns on the light or during the day, the brightness of the display screen, the brightness of the indicator light, the volume of the buzzer, the volume of the speaker, etc. can be increased accordingly.

在日常应用过程中,为了增强用户与智能家居设备的互动,可以在用户开灯或者白天时,对于用户的指令进行语音反馈。也就是说,步骤“基于预设的第一强光参数,对所述目标设备参数进行调整”之后,本发明实施例提供的物联网设备设置方法还可以包括:In the daily application process, in order to enhance the interaction between users and smart home devices, voice feedback can be given to the user's instructions when the user turns on the lights or during the day. That is to say, after the step of "adjusting the parameters of the target device based on the preset first strong light parameters", the method for setting an Internet of Things device provided by the embodiment of the present invention may further include:

当接收到功能调用指令时,响应于所述功能调用指令,获取所述功能调用指令对应的功能调用提示音频;When receiving the function invocation instruction, in response to the function invocation instruction, obtain the function invocation prompt audio corresponding to the function invocation instruction;

基于调整后的目标设备参数播放所述功能调用提示音频。The function invocation prompt audio is played based on the adjusted target device parameters.

功能调用提示音频可以由技术人员或者用户自行设置,本发明实施例对此不做限定。The function invocation prompt audio may be set by a technician or a user, which is not limited in this embodiment of the present invention.

如图3所示,如果设备之间不能够直接通信,可通过能够与各个设备都进行通信的服务器30进行指令的传输。例如,终端10与终端20之间无法直接通信,则终端10可以将弱光调整指令或强光调整指令等发送给服务器30,服务器30再向终端20发送相应的指令,等等。As shown in FIG. 3 , if the devices cannot communicate directly, the instructions can be transmitted through theserver 30 that can communicate with each device. For example, if the terminal 10 and the terminal 20 cannot communicate directly, the terminal 10 can send the weak light adjustment instruction or the strong light adjustment instruction to theserver 30, and theserver 30 sends the corresponding instruction to the terminal 20, and so on.

以空调为例,如图4所示,空调设备中可以具有M3模块,也有M1,M2模块,其他设备一般具有M1,M2模块;在所有设备通过WiFi、蓝牙、Zigbee等协议都支持互联协议的情况下,设置之间可以通过网络进行状态的同步和控制。在所有设备都不支持的互联协议的场景下,也可以实现单个设备的状态根据环境光来自适应。Taking air conditioners as an example, as shown in Figure 4, air conditioners can have M3 modules, as well as M1, M2 modules, and other devices generally have M1, M2 modules; all devices support interconnection protocols through WiFi, Bluetooth, Zigbee and other protocols. In some cases, the settings can be synchronized and controlled through the network. In the scenario of an interconnection protocol that is not supported by all devices, the state of a single device can also be adapted according to ambient light.

如图5所示,在查询可通信的互连设备时,可以只查询目标设备所在房间内的家电设备,也可以查找全屋范围内的家电设备,等等。As shown in FIG. 5 , when querying communicable interconnected devices, it is possible to query only the home appliances in the room where the target device is located, or search for the home appliances in the whole house, and so on.

由上可知,本发明实施例可以获取环境光照强度,比较所述环境光照强度和预设的光强阈值的大小,当所述环境光照强度小于所述光强阈值时,基于预设的第一弱光参数,对目标设备参数进行调整,查询可通信的互连设备,向所述互连设备发送弱光调整指令,触发所述互连设备基于预设的第二弱光参数对互连设备参数进行调整;由于在本发明实施例中,可以根据环境光照强度自动调整目标设备参数,同时向互连设备发送指令使互连设备根据指令进行调整,因此,可以保护黑暗环境下用户的健康,无需用户手动对智能家居设备的亮度、音量等参数进行调整,提升用户使用智能家居设备的便捷性。It can be seen from the above that the embodiment of the present invention can obtain the ambient light intensity, compare the ambient light intensity with the preset light intensity threshold, and when the ambient light intensity is less than the light intensity threshold, based on the preset first Low light parameters, adjust the parameters of the target device, query the interconnected devices that can communicate, send a low-light adjustment instruction to the interconnected devices, and trigger the interconnected devices to adjust the interconnected devices based on the preset second low-light parameters. parameters; because in the embodiment of the present invention, the parameters of the target device can be automatically adjusted according to the ambient light intensity, and at the same time, instructions are sent to the interconnection device to make the interconnection device adjust according to the instructions, so the health of the user in the dark environment can be protected, There is no need for the user to manually adjust parameters such as brightness and volume of the smart home device, which improves the convenience of the user using the smart home device.

为了更好地实施以上方法,相应的,本发明实施例还提供一种物联网设备设置装置。In order to better implement the above method, correspondingly, an embodiment of the present invention further provides an apparatus for setting an Internet of Things device.

参考图6,该装置包括:Referring to Figure 6, the device includes:

光强获取单元601,可以用于获取环境光照强度,比较所述环境光照强度和预设的光强阈值的大小;A lightintensity acquisition unit 601, which can be used to acquire ambient light intensity, and compare the ambient light intensity with a preset light intensity threshold;

第一弱光调整单元602,可以用于当所述环境光照强度小于所述光强阈值时,基于预设的第一弱光参数,对目标设备参数进行调整;The first weaklight adjustment unit 602 can be configured to adjust the parameters of the target device based on the preset first weak light parameters when the ambient light intensity is less than the light intensity threshold;

第二弱光调整单元603,可以用于查询可通信的互连设备,向所述互连设备发送弱光调整指令,触发所述互连设备基于预设的第二弱光参数对互连设备参数进行调整。The second weaklight adjustment unit 603 can be used to query the interconnected devices that can communicate, send a weak light adjustment instruction to the interconnected devices, and trigger the interconnected devices to adjust the interconnection devices based on the preset second weak light parameters. parameters are adjusted.

在一些可选的实施例中,如图7所示,本发明实施例提供的物联网设备设置装置还可以包括第一强光调整单元604和第二强光调整单元605;In some optional embodiments, as shown in FIG. 7 , the IoT device setting apparatus provided in the embodiment of the present invention may further include a first strong light adjustment unit 604 and a second stronglight adjustment unit 605;

所述第一强光调整单元604,可以用于当所述环境光照强度不小于所述光强阈值时,基于预设的第一强光参数,对所述目标设备参数进行调整;The first strong light adjustment unit 604 can be configured to adjust the parameters of the target device based on the preset first strong light parameters when the ambient light intensity is not less than the light intensity threshold;

所述第二强光调整单元605,可以用于查询可通信的互连设备,向所述互连设备发送强光调整指令,触发所述互连设备基于预设的第二强光参数对所述互连设备参数进行调整。The second stronglight adjustment unit 605 can be used to query the communicable interconnection device, send a strong light adjustment instruction to the interconnection device, and trigger the interconnection device to perform an adjustment to all the interconnection devices based on the preset second strong light parameters. Adjust the parameters of the interconnecting device described above.

在一些可选的实施例中,所述光强获取单元601,可以用于获取环境光照强度,若当前的所述环境光照强度与前一环境光照强度之间的强度差值超过预设的强度差值阈值,获取预设的光强阈值,其中,若当前的所述环境光照强度为获取的第一个环境光照强度,所述前一环境光照强度为空;In some optional embodiments, the lightintensity acquiring unit 601 may be used to acquire the ambient light intensity, if the intensity difference between the current ambient light intensity and the previous ambient light intensity exceeds a preset intensity a difference threshold, obtains a preset light intensity threshold, wherein, if the current ambient light intensity is the acquired first ambient light intensity, the previous ambient light intensity is null;

比较所述环境光照强度和预设的光强阈值的大小。Compare the ambient light intensity with a preset light intensity threshold.

在一些可选的实施例中,所述目标设备参数可以包括声音器件音量和显示器件亮度,所述第一弱光参数可以包括第一弱光音量参数和第一弱光亮度参数;In some optional embodiments, the target device parameters may include a volume of a sound device and a brightness of a display device, and the first low-light parameter may include a first low-light volume parameter and a first low-light brightness parameter;

所述第一弱光调整单元602,可以用于基于所述第一弱光音量参数,将所述声音器件音量调低至不大于所述第一弱光音量参数;The first low-light adjustment unit 602 can be configured to lower the volume of the sound device to be no greater than the first low-light volume parameter based on the first low-light volume parameter;

基于所述第一弱光亮度参数,将所述显示器件亮度调低至不大于所述第一弱光亮度参数。Based on the first low-light brightness parameter, the brightness of the display device is adjusted to be no greater than the first low-light brightness parameter.

在一些可选的实施例中,本发明实施例提供的物联网设备设置装置还可以包括音量获取单元606,可以用于获取环境音量以及预设的音量阈值;In some optional embodiments, the IoT device setting apparatus provided in the embodiment of the present invention may further include avolume acquisition unit 606, which may be configured to acquire the ambient volume and a preset volume threshold;

所述第一弱光调整单元602,可以用于基于所述第一弱光音量参数,当所述环境音量小于预设的音量阈值时,将所述声音器件音量调低至不大于所述第一弱光音量参数。The first low-light adjustment unit 602 can be configured to, based on the first low-light volume parameter, when the ambient volume is less than a preset volume threshold, lower the volume of the sound device to no greater than the first volume. A low light volume parameter.

在一些可选的实施例中,所述第一弱光调整单元602,可以用于当所述环境光照强度小于所述光强阈值时,计算所述环境光照强度与所述光强阈值之间的强度比例;In some optional embodiments, the first weaklight adjustment unit 602 may be configured to calculate a difference between the ambient light intensity and the light intensity threshold when the ambient light intensity is less than the light intensity threshold intensity ratio;

根据预设的第一弱光参数和所述强度比例,确定目标调整参数;Determine the target adjustment parameter according to the preset first weak light parameter and the intensity ratio;

根据所述目标调整参数对目标设备参数进行调整。The target device parameters are adjusted according to the target adjustment parameters.

在一些可选的实施例中,本发明实施例提供的物联网设备设置装置还可以包括语音提示单元607,可以用于当接收到功能调用指令时,响应于所述功能调用指令,获取所述功能调用指令对应的功能调用提示音频;In some optional embodiments, the IoT device setting apparatus provided in the embodiment of the present invention may further include a voiceprompt unit 607, which may be configured to, when a function invocation instruction is received, obtain the function invocation instruction in response to the function invocation instruction. The function call prompt audio corresponding to the function call instruction;

基于调整后的目标设备参数播放所述功能调用提示音频。The function invocation prompt audio is played based on the adjusted target device parameters.

由上可知,通过物联网设备设置装置,获取环境光照强度,比较所述环境光照强度和预设的光强阈值的大小,当所述环境光照强度小于所述光强阈值时,基于预设的第一弱光参数,对目标设备参数进行调整,查询可通信的互连设备,向所述互连设备发送弱光调整指令,触发所述互连设备基于预设的第二弱光参数对互连设备参数进行调整;由于在本发明实施例中,可以根据环境光照强度自动调整目标设备参数,同时向互连设备发送指令使互连设备根据指令进行调整,因此,可以保护黑暗环境下用户的健康,无需用户手动对智能家居设备的亮度、音量等参数进行调整,提升用户使用智能家居设备的便捷性。It can be seen from the above that the ambient light intensity is obtained through the IoT device setting device, and the ambient light intensity is compared with the preset light intensity threshold. When the ambient light intensity is less than the light intensity threshold, based on the preset light intensity threshold The first low-light parameter is used to adjust the parameters of the target device, query the interconnected devices that can communicate, send a low-light adjustment instruction to the interconnected device, and trigger the interconnected device to adjust the interconnection based on the preset second low-light parameters. The parameters of the connected device are adjusted; because in the embodiment of the present invention, the parameters of the target device can be automatically adjusted according to the ambient light intensity, and at the same time, instructions are sent to the interconnected device to make the interconnected device adjust according to the instructions. Therefore, the user's safety in a dark environment can be protected. It is healthy and does not require the user to manually adjust the brightness, volume and other parameters of the smart home device, improving the convenience of the user to use the smart home device.

此外,本发明实施例还提供一种电子设备,该电子设备可以为终端或者服务器等等,如图8所示,其示出了本发明实施例所涉及的电子设备的结构示意图,具体来讲:In addition, an embodiment of the present invention also provides an electronic device, which may be a terminal or a server, etc. As shown in FIG. 8 , which shows a schematic structural diagram of the electronic device involved in the embodiment of the present invention, specifically :

该电子设备可以包括射频(RF,Radio Frequency)电路801、包括有一个或一个以上计算机可读存储介质的存储器802、输入单元803、显示单元804、传感器805、音频电路806、无线保真(WiFi,Wireless Fidelity)模块807、包括有一个或者一个以上处理核心的处理器808、以及电源809等部件。本领域技术人员可以理解,图8中示出的电子设备结构并不构成对电子设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:The electronic device may include a radio frequency (RF, Radio Frequency)circuit 801, amemory 802 including one or more computer-readable storage media, aninput unit 803, adisplay unit 804, asensor 805, anaudio circuit 806, a wireless fidelity (WiFi) , Wireless Fidelity)module 807, aprocessor 808 including one or more processing cores, apower supply 809 and other components. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 8 does not constitute a limitation on the electronic device, and may include more or less components than the one shown, or combine some components, or arrange different components. in:

RF电路801可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器808处理;另外,将涉及上行的数据发送给基站。通常,RF电路801包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM,Subscriber Identity Module)卡、收发信机、耦合器、低噪声放大器(LNA,Low Noise Amplifier)、双工器等。此外,RF电路801还可以通过无线通信与网络和其他设备通信。无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(GSM,Global System of Mobile communication)、通用分组无线服务(GPRS,GeneralPacket Radio Service)、码分多址(CDMA,Code Division Multiple Access)、宽带码分多址(WCDMA,Wideband Code Division Multiple Access)、长期演进(LTE,Long TermEvolution)、电子邮件、短消息服务(SMS,Short Messaging Service)等。TheRF circuit 801 can be used for receiving and sending signals during the process of sending and receiving information or talking. In particular, after receiving the downlink information of the base station, it is handed over to one ormore processors 808 for processing; in addition, it sends the data related to the uplink to the base station. . Typically, theRF circuit 801 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a low noise amplifier (LNA, Low Noise Amplifier), duplexer, etc. In addition, theRF circuit 801 can also communicate with the network and other devices through wireless communication. Wireless communication can use any communication standard or protocol, including but not limited to Global System for Mobile Communication (GSM, Global System of Mobile communication), General Packet Radio Service (GPRS, General Packet Radio Service), Code Division Multiple Access (CDMA, Code Division) Multiple Access), Wideband Code Division Multiple Access (WCDMA, Wideband Code Division Multiple Access), Long Term Evolution (LTE, Long Term Evolution), email, Short Messaging Service (SMS, Short Messaging Service) and so on.

存储器802可用于存储软件程序以及模块,处理器808通过运行存储在存储器802的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器802可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据电子设备的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器802可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器802还可以包括存储器控制器,以提供处理器808和输入单元803对存储器802的访问。Thememory 802 can be used to store software programs and modules, and theprocessor 808 executes various functional applications and data processing by running the software programs and modules stored in thememory 802 . Thememory 802 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program (such as a sound playback function, an image playback function, etc.) required for at least one function, and the like; Data created by the use of electronic equipment (such as audio data, phone book, etc.), etc. Additionally,memory 802 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, thememory 802 may also include a memory controller to provide access to thememory 802 by theprocessor 808 and theinput unit 803 .

输入单元803可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,在一个具体的实施例中,输入单元803可包括触敏表面以及其他输入设备。触敏表面,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面上或在触敏表面附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器808,并能接收处理器808发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面。除了触敏表面,输入单元803还可以包括其他输入设备。具体地,其他输入设备可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。Theinput unit 803 may be used to receive input numerical or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. Specifically, in a specific embodiment, theinput unit 803 may include a touch-sensitive surface as well as other input devices. A touch-sensitive surface, also known as a touch display or trackpad, collects the user's touch operations on or near it (such as the user's finger, stylus, etc., any suitable operation near the surface), and drive the corresponding connection device according to the preset program. Alternatively, the touch-sensitive surface may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To theprocessor 808, and can receive the command sent by theprocessor 808 and execute it. Additionally, touch-sensitive surfaces can be implemented using resistive, capacitive, infrared, and surface acoustic wave types. In addition to touch-sensitive surfaces,input unit 803 may also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, and the like.

显示单元804可用于显示由用户输入的信息或提供给用户的信息以及电子设备的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元804可包括显示面板,可选的,可以采用液晶显示器(LCD,Liquid CrystalDisplay)、有机发光二极管(OLED,Organic Light-Emitting Diode)等形式来配置显示面板。进一步的,触敏表面可覆盖显示面板,当触敏表面检测到在其上或附近的触摸操作后,传送给处理器808以确定触摸事件的类型,随后处理器808根据触摸事件的类型在显示面板上提供相应的视觉输出。虽然在图8中,触敏表面与显示面板是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面与显示面板集成而实现输入和输出功能。Thedisplay unit 804 may be used to display information input by the user or information provided to the user and various graphical user interfaces of the electronic device, which may be composed of graphics, text, icons, videos, and any combination thereof. Thedisplay unit 804 may include a display panel, and optionally, the display panel may be configured in the form of a liquid crystal display (LCD, Liquid Crystal Display), an organic light-emitting diode (OLED, Organic Light-Emitting Diode), and the like. Further, the touch-sensitive surface may cover the display panel, and when the touch-sensitive surface detects a touch operation on or near it, it is transmitted to theprocessor 808 to determine the type of the touch event, and then theprocessor 808 displays the touch event according to the type of the touch event. The corresponding visual output is provided on the panel. Although in FIG. 8 the touch-sensitive surface and the display panel are implemented as two separate components to implement the input and input functions, in some embodiments, the touch-sensitive surface and the display panel may be integrated to implement the input and output functions.

电子设备还可包括至少一种传感器805,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板的亮度,接近传感器可在电子设备移动到耳边时,关闭显示面板和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于电子设备还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The electronic device may also include at least onesensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel according to the brightness of the ambient light, and the proximity sensor may turn off the display panel and/or when the electronic device is moved to the ear Backlight. As a kind of motion sensor, the gravitational acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used for applications that recognize the attitude of mobile phones (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. Repeat.

音频电路806、扬声器,传声器可提供用户与电子设备之间的音频接口。音频电路806可将接收到的音频数据转换后的电信号,传输到扬声器,由扬声器转换为声音信号输出;另一方面,传声器将收集的声音信号转换为电信号,由音频电路806接收后转换为音频数据,再将音频数据输出处理器808处理后,经RF电路801以发送给比如另一电子设备,或者将音频数据输出至存储器802以便进一步处理。音频电路806还可能包括耳塞插孔,以提供外设耳机与电子设备的通信。Audio circuitry 806, speakers, and microphones may provide an audio interface between the user and the electronic device. Theaudio circuit 806 can convert the received audio data into an electrical signal and transmit it to the speaker, and the speaker converts it into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is converted after being received by theaudio circuit 806 In the form of audio data, the audio data is output to theprocessor 808 for processing, and then sent to, for example, another electronic device via theRF circuit 801, or the audio data is output to thememory 802 for further processing.Audio circuitry 806 may also include an earplug jack to provide for communication of peripheral headphones with the electronic device.

WiFi属于短距离无线传输技术,电子设备通过WiFi模块807可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图8示出了WiFi模块807,但是可以理解的是,其并不属于电子设备的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-distance wireless transmission technology, and the electronic device can help users to send and receive emails, browse web pages, and access streaming media through theWiFi module 807, which provides users with wireless broadband Internet access. Although FIG. 8 shows theWiFi module 807, it can be understood that it is not a necessary component of the electronic device, and can be completely omitted as required within the scope of not changing the essence of the invention.

处理器808是电子设备的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器802内的软件程序和/或模块,以及调用存储在存储器802内的数据,执行电子设备的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器808可包括一个或多个处理核心;优选的,处理器808可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器808中。Theprocessor 808 is the control center of the electronic device, using various interfaces and lines to connect various parts of the entire mobile phone, by running or executing the software programs and/or modules stored in thememory 802, and calling the data stored in thememory 802, Perform various functions of electronic equipment and process data, so as to conduct overall monitoring of mobile phones. Optionally, theprocessor 808 may include one or more processing cores; preferably, theprocessor 808 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc. , the modem processor mainly deals with wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into theprocessor 808 .

电子设备还包括给各个部件供电的电源809(比如电池),优选的,电源可以通过电源管理系统与处理器808逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源809还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The electronic device also includes a power supply 809 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to theprocessor 808 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system.Power source 809 may also include one or more DC or AC power sources, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and any other components.

尽管未示出,电子设备还可以包括摄像头、蓝牙模块等,在此不再赘述。具体在本实施例中,电子设备中的处理器808会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行文件加载到存储器802中,并由处理器808来运行存储在存储器802中的应用程序,从而实现各种功能,如下:Although not shown, the electronic device may further include a camera, a Bluetooth module, and the like, which will not be repeated here. Specifically, in this embodiment, theprocessor 808 in the electronic device loads the executable files corresponding to the processes of one or more application programs into thememory 802 according to the following instructions, and theprocessor 808 executes them and stores them in thememory 802 . The application program in thememory 802, thereby realizing various functions, as follows:

获取环境光照强度,比较所述环境光照强度和预设的光强阈值的大小;Obtain the ambient light intensity, and compare the ambient light intensity with a preset light intensity threshold;

当所述环境光照强度小于所述光强阈值时,基于预设的第一弱光参数,对目标设备参数进行调整;When the ambient light intensity is less than the light intensity threshold, adjust the parameters of the target device based on the preset first weak light parameter;

查询可通信的互连设备,向所述互连设备发送弱光调整指令,触发所述互连设备基于预设的第二弱光参数对互连设备参数进行调整。The communicable interconnection device is queried, a weak light adjustment instruction is sent to the interconnection device, and the interconnection device is triggered to adjust the parameters of the interconnection device based on the preset second weak light parameter.

本领域普通技术人员可以理解,上述实施例的各种方法中的全部或部分步骤可以通过指令来完成,或通过指令控制相关的硬件来完成,该指令可以存储于一计算机可读存储介质中,并由处理器进行加载和执行。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructions, or by instructions that control relevant hardware, and the instructions can be stored in a computer-readable storage medium, and loaded and executed by the processor.

为此,本发明实施例提供一种计算机可读存储介质,其中存储有多条指令,该指令能够被处理器进行加载,以执行本发明实施例所提供的任一种物联网设备设置方法中的步骤。例如,该指令可以执行如下步骤:To this end, embodiments of the present invention provide a computer-readable storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute any method for setting an Internet of Things device provided by the embodiments of the present invention. A step of. For example, the instruction can perform the following steps:

获取环境光照强度,比较所述环境光照强度和预设的光强阈值的大小;Obtain the ambient light intensity, and compare the ambient light intensity with a preset light intensity threshold;

当所述环境光照强度小于所述光强阈值时,基于预设的第一弱光参数,对目标设备参数进行调整;When the ambient light intensity is less than the light intensity threshold, adjust the parameters of the target device based on the preset first weak light parameter;

查询可通信的互连设备,向所述互连设备发送弱光调整指令,触发所述互连设备基于预设的第二弱光参数对互连设备参数进行调整。The communicable interconnection device is queried, a weak light adjustment instruction is sent to the interconnection device, and the interconnection device is triggered to adjust the parameters of the interconnection device based on the preset second weak light parameter.

以上各个操作的具体实施可参见前面的实施例,在此不再赘述。For the specific implementation of the above operations, reference may be made to the foregoing embodiments, and details are not described herein again.

其中,该计算机可读存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。The computer-readable storage medium may include: read only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, and the like.

由于该计算机可读存储介质中所存储的指令,可以执行本发明实施例所提供的任一种物联网设备设置方法中的步骤,因此,可以实现本发明实施例所提供的任一种物联网设备设置方法所能实现的有益效果,详见前面的实施例,在此不再赘述。Since the instructions stored in the computer-readable storage medium can execute the steps in any of the Internet of Things device setting methods provided by the embodiments of the present invention, any Internet of Things provided by the embodiments of the present invention can be implemented. For the beneficial effects that can be achieved by the device setting method, see the foregoing embodiments for details, and details are not repeated here.

根据本申请的一个方面,还提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。电子设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该电子设备执行上述实施例中的各种可选实现方式中提供的方法。According to one aspect of the present application, there is also provided a computer program product or computer program, the computer program product or computer program comprising computer instructions stored in a computer-readable storage medium. The processor of the electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the methods provided in various optional implementations in the foregoing embodiments.

以上对本发明实施例所提供的一种物联网设备设置方法、装置、电子设备和存储介质进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The method, device, electronic device, and storage medium for setting up an Internet of Things 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 description is only 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 embodiments and application scope. In summary, The contents of this specification should not be construed as limiting the present invention.

Claims (11)

Translated fromChinese
1.一种物联网设备设置方法,其特征在于,包括:1. A method for setting an Internet of Things device, comprising:获取环境光照强度,比较所述环境光照强度和预设的光强阈值的大小;Obtaining the ambient light intensity, and comparing the ambient light intensity and a preset light intensity threshold;当所述环境光照强度小于所述光强阈值时,基于预设的第一弱光参数,对目标设备参数进行调整;When the ambient light intensity is less than the light intensity threshold, adjust the parameters of the target device based on the preset first weak light parameter;查询可通信的互连设备,向所述互连设备发送弱光调整指令,触发所述互连设备基于预设的第二弱光参数对互连设备参数进行调整。The communicable interconnection device is queried, a weak light adjustment instruction is sent to the interconnection device, and the interconnection device is triggered to adjust the parameters of the interconnection device based on the preset second weak light parameter.2.根据权利要求1所述的物联网设备设置方法,其特征在于,所述方法还包括:2. The method for setting an Internet of Things device according to claim 1, wherein the method further comprises:当所述环境光照强度不小于所述光强阈值时,基于预设的第一强光参数,对所述目标设备参数进行调整;When the ambient light intensity is not less than the light intensity threshold, adjust the target device parameter based on the preset first strong light parameter;查询可通信的互连设备,向所述互连设备发送强光调整指令,触发所述互连设备基于预设的第二强光参数对所述互连设备参数进行调整。The communicable interconnection device is queried, a strong light adjustment instruction is sent to the interconnection device, and the interconnection device is triggered to adjust the parameters of the interconnection device based on a preset second strong light parameter.3.根据权利要求1所述的物联网设备设置方法,其特征在于,所述获取环境光照强度,比较所述环境光照强度和预设的光强阈值的大小,包括:3. The method for setting an Internet of Things device according to claim 1, wherein the obtaining the ambient light intensity and comparing the ambient light intensity with a preset light intensity threshold value comprises:获取环境光照强度,若当前的所述环境光照强度与前一环境光照强度之间的强度差值超过预设的强度差值阈值,获取预设的光强阈值,其中,若当前的所述环境光照强度为获取的第一个环境光照强度,所述前一环境光照强度为空;Obtain the ambient light intensity, if the intensity difference between the current ambient light intensity and the previous ambient light intensity exceeds a preset intensity difference threshold, obtain a preset light intensity threshold, wherein if the current environment The illumination intensity is the obtained first ambient illumination intensity, and the previous ambient illumination intensity is empty;比较所述环境光照强度和预设的光强阈值的大小。Compare the ambient light intensity with a preset light intensity threshold.4.根据权利要求1所述的物联网设备设置方法,其特征在于,所述目标设备参数包括声音器件音量和显示器件亮度,所述第一弱光参数包括第一弱光音量参数和第一弱光亮度参数;4. The method for setting an Internet of Things device according to claim 1, wherein the target device parameters include a volume of a sound device and a brightness of a display device, and the first low-light parameters include a first low-light volume parameter and a first low-light volume parameter and a first low-light volume parameter. Low light brightness parameters;所述基于预设的第一弱光参数,对目标设备参数进行调整,包括:The adjusting the parameters of the target device based on the preset first low-light parameters includes:基于所述第一弱光音量参数,将所述声音器件音量调低至不大于所述第一弱光音量参数;Based on the first low-light volume parameter, reducing the volume of the sound device to be no greater than the first low-light volume parameter;基于所述第一弱光亮度参数,将所述显示器件亮度调低至不大于所述第一弱光亮度参数。Based on the first low-light brightness parameter, the brightness of the display device is adjusted to be no greater than the first low-light brightness parameter.5.根据权利要求4所述的物联网设备设置方法,其特征在于,所述基于所述第一弱光音量参数,将所述声音器件音量调低至不小于所述第一弱光音量参数之前,所述方法还包括:5 . The method for setting an Internet of Things device according to claim 4 , wherein, based on the first low-light volume parameter, the volume of the sound device is lowered to not less than the first low-light volume parameter. 6 . Before, the method further includes:获取环境音量以及预设的音量阈值;Get ambient volume and preset volume threshold;所述基于所述第一弱光音量参数,将所述声音器件音量调低至不小于所述第一弱光音量参数,包括:The reducing the volume of the sound device to not less than the first low-light volume parameter based on the first low-light volume parameter, including:基于所述第一弱光音量参数,当所述环境音量小于预设的音量阈值时,将所述声音器件音量调低至不大于所述第一弱光音量参数。Based on the first low-light volume parameter, when the ambient volume is less than a preset volume threshold, the sound device volume is turned down to be no greater than the first low-light volume parameter.6.根据权利要求1所述的物联网设备设置方法,其特征在于,所述当所述环境光照强度小于所述光强阈值时,基于预设的第一弱光参数,对目标设备参数进行调整,包括:6 . The method for setting an Internet of Things device according to claim 1 , wherein when the ambient light intensity is less than the light intensity threshold, based on a preset first weak light parameter, the parameter of the target device is adjusted. 7 . adjustments, including:当所述环境光照强度小于所述光强阈值时,计算所述环境光照强度与所述光强阈值之间的强度比例;When the ambient light intensity is less than the light intensity threshold, calculating the intensity ratio between the ambient light intensity and the light intensity threshold;根据预设的第一弱光参数和所述强度比例,确定目标调整参数;Determine the target adjustment parameter according to the preset first weak light parameter and the intensity ratio;根据所述目标调整参数对目标设备参数进行调整。The target device parameters are adjusted according to the target adjustment parameters.7.根据权利要求2所述的物联网设备设置方法,其特征在于,所述基于预设的第一强光参数,对所述目标设备参数进行调整之后,所述方法还包括:7 . The method for setting an Internet of Things device according to claim 2 , wherein, after the parameter of the target device is adjusted based on the preset first strong light parameter, the method further comprises: 8 .当接收到功能调用指令时,响应于所述功能调用指令,获取所述功能调用指令对应的功能调用提示音频;When receiving the function invocation instruction, in response to the function invocation instruction, obtain the function invocation prompt audio corresponding to the function invocation instruction;基于调整后的目标设备参数播放所述功能调用提示音频。The function invocation prompt audio is played based on the adjusted target device parameters.8.一种物联网设备设置装置,其特征在于,包括:8. An Internet of Things device setting device, characterized in that, comprising:光强获取单元,用于获取环境光照强度,比较所述环境光照强度和预设的光强阈值的大小;a light intensity acquisition unit, configured to acquire the ambient light intensity, and compare the ambient light intensity with a preset light intensity threshold;第一弱光调整单元,用于当所述环境光照强度小于所述光强阈值时,基于预设的第一弱光参数,对目标设备参数进行调整;a first weak light adjustment unit, configured to adjust the parameters of the target device based on the preset first weak light parameters when the ambient light intensity is less than the light intensity threshold;第二弱光调整单元,用于查询可通信的互连设备,向所述互连设备发送弱光调整指令,触发所述互连设备基于预设的第二弱光参数对互连设备参数进行调整。The second weak light adjustment unit is configured to query the interconnection devices that can communicate, send a weak light adjustment instruction to the interconnection device, and trigger the interconnection device to perform an adjustment on the parameters of the interconnection device based on the preset second weak light parameters. Adjustment.9.一种电子设备,其特征在于,包括存储器和处理器;所述存储器存储有应用程序,所述处理器用于运行所述存储器内的应用程序,以执行权利要求1至7任一项所述的物联网设备设置方法中的步骤。9. An electronic device, characterized in that it comprises a memory and a processor; the memory stores an application program, and the processor is used to run the application program in the memory to execute any one of claims 1 to 7. The steps in the IoT device setting method described above.10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有多条指令,所述指令适于处理器进行加载,以执行权利要求1至7任一项所述的物联网设备设置方法中的步骤。10. A computer-readable storage medium, wherein the computer-readable storage medium stores a plurality of instructions, and the instructions are adapted to be loaded by a processor to execute the method according to any one of claims 1 to 7. Steps in how to set up an IoT device.11.一种计算机程序产品,包括计算机程序或指令,其特征在于,所述计算机程序或指令被处理器执行时实现如权利要求1至7中任一项所述的物联网设备设置方法的步骤。11. A computer program product, comprising a computer program or an instruction, wherein when the computer program or instruction is executed by a processor, the steps of the method for setting an Internet of Things device according to any one of claims 1 to 7 are implemented .
CN202111582373.0A2021-12-222021-12-22Internet of things equipment setting method and device, electronic equipment and storage mediumPendingCN114327332A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202111582373.0ACN114327332A (en)2021-12-222021-12-22Internet of things equipment setting method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202111582373.0ACN114327332A (en)2021-12-222021-12-22Internet of things equipment setting method and device, electronic equipment and storage medium

Publications (1)

Publication NumberPublication Date
CN114327332Atrue CN114327332A (en)2022-04-12

Family

ID=81055379

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202111582373.0APendingCN114327332A (en)2021-12-222021-12-22Internet of things equipment setting method and device, electronic equipment and storage medium

Country Status (1)

CountryLink
CN (1)CN114327332A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN115798401A (en)*2023-02-092023-03-14深圳市宏普欣电子科技有限公司Intelligent mini-LED regulation and control method based on Internet of things
CN116156235A (en)*2022-12-222023-05-23深圳市蓝鲸智联科技有限公司 A control method for a vehicle entertainment information system

Citations (16)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101867739A (en)*2010-04-302010-10-20中山大学 A kind of intelligent television and television intelligent control method
CN106230909A (en)*2016-07-222016-12-14北京小米移动软件有限公司A kind of equipment room brightness linkage control method, device and equipment
CN106297675A (en)*2015-05-182017-01-04西安中兴新软件有限责任公司A kind of method for controlling backlight thereof and device
CN106572228A (en)*2016-11-012017-04-19乐视控股(北京)有限公司Volume adjusting method, volume adjusting device and mobile terminal
CN107122156A (en)*2017-03-092017-09-01深圳市金立通信设备有限公司A kind of method for controlling volume and terminal
CN107166658A (en)*2017-06-022017-09-15四川长虹空调有限公司Air-conditioning sound-producing device method for controlling volume
CN107339786A (en)*2017-07-102017-11-10绵阳美菱软件技术有限公司A kind of air-conditioning, regulation and control air-conditioning loudspeaker report the system and method for volume
CN107509285A (en)*2017-08-042017-12-22广东欧珀移动通信有限公司 Brightness adjustment method, device, mobile terminal and electronic terminal, and system
CN108322595A (en)*2017-12-222018-07-24努比亚技术有限公司A kind of control method, terminal and computer readable storage medium
CN108521623A (en)*2018-03-302018-09-11上海与德科技有限公司Volume adjusting method, device, storage medium and the intelligent sound box of intelligent sound box
CN110827863A (en)*2019-11-082020-02-21西安闻泰电子科技有限公司Method, device and terminal for intelligently adjusting volume and readable storage medium
CN112068689A (en)*2020-08-182020-12-11深圳传音控股股份有限公司Brightness adjusting method, terminal and computer storage medium
CN112291633A (en)*2019-07-242021-01-29青岛海信传媒网络技术有限公司Method and device for controlling screen brightness of intelligent household equipment
CN112911066A (en)*2021-01-182021-06-04北京小米移动软件有限公司Device control method, device and medium
CN113253679A (en)*2020-02-112021-08-13青岛海尔多媒体有限公司Method and device for home control of remote controller and remote controller
CN113503629A (en)*2020-08-052021-10-15青岛海尔空调器有限总公司Intelligent sleep scene regulation and control method based on light sensation and air conditioner

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101867739A (en)*2010-04-302010-10-20中山大学 A kind of intelligent television and television intelligent control method
CN106297675A (en)*2015-05-182017-01-04西安中兴新软件有限责任公司A kind of method for controlling backlight thereof and device
CN106230909A (en)*2016-07-222016-12-14北京小米移动软件有限公司A kind of equipment room brightness linkage control method, device and equipment
CN106572228A (en)*2016-11-012017-04-19乐视控股(北京)有限公司Volume adjusting method, volume adjusting device and mobile terminal
CN107122156A (en)*2017-03-092017-09-01深圳市金立通信设备有限公司A kind of method for controlling volume and terminal
CN107166658A (en)*2017-06-022017-09-15四川长虹空调有限公司Air-conditioning sound-producing device method for controlling volume
CN107339786A (en)*2017-07-102017-11-10绵阳美菱软件技术有限公司A kind of air-conditioning, regulation and control air-conditioning loudspeaker report the system and method for volume
CN107509285A (en)*2017-08-042017-12-22广东欧珀移动通信有限公司 Brightness adjustment method, device, mobile terminal and electronic terminal, and system
CN108322595A (en)*2017-12-222018-07-24努比亚技术有限公司A kind of control method, terminal and computer readable storage medium
CN108521623A (en)*2018-03-302018-09-11上海与德科技有限公司Volume adjusting method, device, storage medium and the intelligent sound box of intelligent sound box
CN112291633A (en)*2019-07-242021-01-29青岛海信传媒网络技术有限公司Method and device for controlling screen brightness of intelligent household equipment
CN110827863A (en)*2019-11-082020-02-21西安闻泰电子科技有限公司Method, device and terminal for intelligently adjusting volume and readable storage medium
CN113253679A (en)*2020-02-112021-08-13青岛海尔多媒体有限公司Method and device for home control of remote controller and remote controller
CN113503629A (en)*2020-08-052021-10-15青岛海尔空调器有限总公司Intelligent sleep scene regulation and control method based on light sensation and air conditioner
CN112068689A (en)*2020-08-182020-12-11深圳传音控股股份有限公司Brightness adjusting method, terminal and computer storage medium
CN112911066A (en)*2021-01-182021-06-04北京小米移动软件有限公司Device control method, device and medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN116156235A (en)*2022-12-222023-05-23深圳市蓝鲸智联科技有限公司 A control method for a vehicle entertainment information system
CN115798401A (en)*2023-02-092023-03-14深圳市宏普欣电子科技有限公司Intelligent mini-LED regulation and control method based on Internet of things
CN115798401B (en)*2023-02-092023-04-11深圳市宏普欣电子科技有限公司Intelligent mini-LED regulation and control method based on Internet of things

Similar Documents

PublicationPublication DateTitle
CN106528036B (en)Volume adjusting method and device
CN105634881B (en)Application scene recommendation method and device
CN104243671B (en)Volume adjusting method, device and electronic equipment
CN106357925B (en) Switching method, device and terminal for screen brightness adjustment mode
CN105739699B (en)Message prompt control method and terminal equipment
CN108039963B (en)Container configuration method and device and storage medium
KR102160473B1 (en)Electronic device and method for controling volume
JP2016509397A (en) Method, apparatus, facility, system, program, and recording medium for controlling on / off of wireless network
CN103491240B (en) A kind of alarm clock ringing method, device and mobile terminal
WO2022110352A1 (en)Smart home control method and apparatus, and terminal and storage medium
CN103605532A (en)Program control method, device and system
CN106453597A (en) Method, device and system for adjusting data synchronization period
EP2869604B1 (en)Method, apparatus and device for processing a mobile terminal resource
CN114327332A (en)Internet of things equipment setting method and device, electronic equipment and storage medium
CN107967418B (en)Face recognition method and mobile terminal
CN106682189B (en)File name display method and device
CN112559532B (en)Data insertion method and device based on red and black trees and electronic equipment
CN114582264A (en)Display brightness control method and device, electronic equipment and storage medium
CN114510417A (en)Image rendering effect testing method and device, electronic equipment and storage medium
CN105808716A (en) Alarm clock reminder method, device and terminal
CN106374988B (en)Method, device and terminal for configuring inter-downlink-band carrier aggregation
CN106227337A (en) Method, device and terminal for adjusting screen brightness
CN110891262A (en)Bluetooth pairing method, system and terminal equipment
CN114189436B (en)Multi-cluster configuration deployment method and device, electronic equipment and storage medium
CN106658615B (en)Method and device for switching communication network

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20220412

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp