[go: up one dir, main page]

CN113179197B - Home appliance resource sharing method, device and storage device - Google Patents

Home appliance resource sharing method, device and storage device Download PDF

Info

Publication number
CN113179197B
CN113179197B CN202110231610.2A CN202110231610A CN113179197B CN 113179197 B CN113179197 B CN 113179197B CN 202110231610 A CN202110231610 A CN 202110231610A CN 113179197 B CN113179197 B CN 113179197B
Authority
CN
China
Prior art keywords
resource information
resource
sharing
control instruction
execute
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110231610.2A
Other languages
Chinese (zh)
Other versions
CN113179197A (en
Inventor
颜专
蔡逸群
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Lango Electronic Science and Technology Co Ltd
Original Assignee
Guangzhou Lango Electronic Science and 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 Guangzhou Lango Electronic Science and Technology Co Ltd filed Critical Guangzhou Lango Electronic Science and Technology Co Ltd
Priority to CN202110231610.2A priority Critical patent/CN113179197B/en
Publication of CN113179197A publication Critical patent/CN113179197A/en
Application granted granted Critical
Publication of CN113179197B publication Critical patent/CN113179197B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Selective Calling Equipment (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明提供一种家电设备资源共享方法、设备以及存储装置,该家电设备资源共享方法包括:S101:接收输入地控制指令,根据控制指令判断是否触发资源共享条件,若是,则执行S102,若否,则根据控制指令工作;S102:根据资源共享条件确定资源信息请求以及资源信息对象,判断能否直接获取资源信息请求对应的资源信息,若是,则执行S103,若否,则执行S104;S103:获取资源信息,根据资源信息执行控制指令;S104:查找资源信息对象对应的关联设备,并向关联设备发送资源信息请求,通过关联设备根据资源信息请求反馈的资源信息执行控制指令。本发明能够通过设备之间的关联获取资源信息实现资源共享,降低了资源信息获取成本和物联网通信成本,稳定性高。

Figure 202110231610

The present invention provides a resource sharing method, device and storage device for household appliances. The method for sharing resources for household appliances includes: S101: Receive an input control instruction, and determine whether a resource sharing condition is triggered according to the control instruction, if yes, execute S102, if not , then work according to the control instruction; S102: Determine the resource information request and the resource information object according to the resource sharing condition, and judge whether the resource information corresponding to the resource information request can be directly obtained, if so, execute S103, if not, execute S104; S103: Acquire resource information, and execute the control instruction according to the resource information; S104: Find the associated device corresponding to the resource information object, send a resource information request to the associated device, and execute the control instruction through the associated device according to the resource information fed back by the resource information request. The invention can obtain resource information through the association between devices to realize resource sharing, reduce the cost of resource information acquisition and the communication cost of the Internet of Things, and has high stability.

Figure 202110231610

Description

家电设备资源共享方法、设备以及存储装置Resource sharing method, device, and storage device for home appliance equipment

技术领域technical field

本发明涉及智能家居领域,尤其涉及一种家电设备资源共享方法、设备以及存储装置。The present invention relates to the field of smart home, in particular to a resource sharing method, device and storage device for household electrical appliances.

背景技术Background technique

物联网(The Internet of Things,简称IOT)是指通过各种信息传感器、射频识别技术、全球定位系统、红外感应器、激光扫描器等各种装置与技术,实时采集任何需要监控、连接、互动的物体或过程,采集其声、光、热、电、力学、化学、生物、位置等各种需要的信息,通过各类可能的网络接入,实现物与物、物与人的泛在连接,实现对物品和过程的智能化感知、识别和管理。The Internet of Things (IOT) refers to the real-time collection of any information that needs monitoring, connection, and interaction through various devices and technologies such as information sensors, radio frequency identification technology, global positioning system, infrared sensors, and laser scanners. Objects or processes, collect various required information such as sound, light, heat, electricity, mechanics, chemistry, biology, location, etc., and realize the ubiquitous connection between things and things, things and people through various possible network access , to achieve intelligent perception, identification and management of items and processes.

随着科技和生活的发展,物联网也随之应用到家电设备中,通过物联网将各个家电设备连接在一起。然而,物联网中的各个设备独立工作,相互之间的资源信息不能够实现共享,导致各个家电之间往往需要另外设置资源信息存储和获取器件,资源信息获取成本高,而且家电设备之间的连接需要通过另设的网关或者控制中心实现,物联网通信成本高,信息传输的实现依赖于该网关或控制中心,稳定性差。With the development of technology and life, the Internet of Things is also applied to home appliances, and various home appliances are connected together through the Internet of Things. However, each device in the Internet of Things works independently, and the resource information between them cannot be shared. As a result, each home appliance often needs to set up additional resource information storage and acquisition devices, and the cost of resource information acquisition is high. The connection needs to be realized through an additional gateway or control center. The communication cost of the Internet of Things is high, and the realization of information transmission depends on the gateway or control center, which has poor stability.

发明内容Contents of the invention

为了克服现有技术的不足,本发明提出一种家电设备资源共享方法、设备以及存储装置,在根据控制指令确定触发资源共享条件时,根据资源共享条件确定资源信息请求和资源信息对象,并在不能获取资源信息时通过与资源信息对象对应的关联设备获取资源信息,根据该资源信息执行控制指令,能够通过设备之间的关联获取资源信息实现资源共享,降低了资源信息获取成本和物联网通信成本,稳定性高。In order to overcome the deficiencies of the prior art, the present invention proposes a resource sharing method, device, and storage device for household appliances. When determining the triggering resource sharing condition according to the control instruction, determine the resource information request and the resource information object according to the resource sharing condition, and then When the resource information cannot be obtained, the resource information is obtained through the associated device corresponding to the resource information object, and the control instruction is executed according to the resource information, and the resource information can be obtained through the association between devices to realize resource sharing, which reduces the resource information acquisition cost and IoT communication low cost and high stability.

为解决上述问题,本发明采用的一个技术方案为:一种家电设备资源共享方法,所述家电设备资源共享方法包括:S101:接收输入地控制指令,根据所述控制指令判断是否触发资源共享条件,若是,则执行S102,若否,则根据所述控制指令工作;S102:根据所述资源共享条件确定资源信息请求以及资源信息对象,判断能否直接获取所述资源信息请求对应的资源信息,若是,则执行S103,若否,则执行S104;S103:获取所述资源信息,根据所述资源信息执行所述控制指令;S104:查找所述资源信息对象对应的关联设备,并向所述关联设备发送资源信息请求,通过所述关联设备根据所述资源信息请求反馈的资源信息执行所述控制指令。In order to solve the above problems, a technical solution adopted by the present invention is: a resource sharing method for home appliance equipment, the resource sharing method for home appliance equipment includes: S101: receiving an input control instruction, and judging whether to trigger a resource sharing condition according to the control instruction , if yes, then execute S102, if not, then work according to the control instruction; S102: Determine the resource information request and the resource information object according to the resource sharing condition, and determine whether the resource information corresponding to the resource information request can be directly obtained, If yes, execute S103, if not, execute S104; S103: Obtain the resource information, and execute the control instruction according to the resource information; S104: Find the associated device corresponding to the resource information object, and send the associated device to the associated device. The device sends a resource information request, and the associated device executes the control instruction according to the resource information fed back by the resource information request.

进一步地,所述根据所述控制指令判断是否触发资源共享条件的步骤具体包括:获取所述控制指令对应的资源信息,判断能否提供所述资源信息;若是,则确定未触发资源共享条件;若否,则确定触发资源共享条件。Further, the step of judging whether the resource sharing condition is triggered according to the control instruction specifically includes: acquiring resource information corresponding to the control instruction, and judging whether the resource information can be provided; if so, determining that the resource sharing condition is not triggered; If not, it is determined to trigger the resource sharing condition.

进一步地,所述根据所述控制指令判断是否触发资源共享条件的步骤之前还包括:获取所述控制指令对应的控制对象,判断所述控制对象是否为资源信息共享用户;若是,则获取所述资源信息共享用户对应的资源共享条件;若否,则执行所述控制指令中不需要资源信息共享的指令。Further, before the step of judging whether the resource sharing condition is triggered according to the control instruction, it also includes: obtaining the control object corresponding to the control instruction, and judging whether the control object is a resource information sharing user; if so, obtaining the The resource information sharing condition corresponds to the resource sharing user; if not, execute the instruction that does not require resource information sharing among the control instructions.

进一步地,所述根据所述控制指令判断是否触发资源共享条件的步骤具体包括:获取影响所述控制指令执行的家电设备,并判断当前工作环境中是否存在所述家电设备;若是,则确定触发资源共享条件;若否,则确定未触发资源共享条件。Further, the step of judging whether to trigger the resource sharing condition according to the control instruction specifically includes: obtaining the household electrical equipment that affects the execution of the control instruction, and judging whether the household electrical equipment exists in the current working environment; if so, determining the trigger A resource sharing condition; if not, it is determined that the resource sharing condition has not been triggered.

进一步地,所述资源共享条件存储有不同资源信息对应的资源信息请求以及资源信息对象。Further, the resource sharing condition stores resource information requests and resource information objects corresponding to different resource information.

进一步地,所述判断能否直接获取所述资源信息的步骤具体包括:判断是否与所述资源信息对象或所述资源信息对象对应的资源信息管理设备连接;若是,则确定能够获取所述资源信息;若否,则确定不能直接获取所述资源信息。Further, the step of judging whether the resource information can be obtained directly includes: judging whether it is connected to the resource information object or the resource information management device corresponding to the resource information object; if so, determining that the resource information can be obtained information; if not, it is determined that the resource information cannot be obtained directly.

进一步地,所述获取所述资源信息的步骤具体包括:向所述资源信息对象或所述资源信息管理设备发送资源信息请求,并接收所述资源信息对象或所述资源信息管理设备根据所述资源信息请求发送的资源信息。Further, the step of acquiring the resource information specifically includes: sending a resource information request to the resource information object or the resource information management device, and receiving a resource information request according to the resource information object or the resource information management device The resource information sent by the resource information request.

进一步地,所述根据所述资源信息执行所述控制指令的步骤之后还包括:实时获取所述资源信息,根据所述资源信息的变化调整所述控制指令的执行状态。Further, after the step of executing the control instruction according to the resource information, the method further includes: obtaining the resource information in real time, and adjusting the execution status of the control instruction according to the change of the resource information.

基于相同的发明构思,本发明还提出一种家电设备,家电设备包括处理器、存储器,所述存储器存储有计算机程序,所述计算机程序被用于实现如上所述的家电设备资源共享方法。Based on the same inventive concept, the present invention also proposes a household electrical appliance, which includes a processor and a memory, the memory stores a computer program, and the computer program is used to implement the resource sharing method for the household electrical appliance as described above.

基于相同的发明构思,本发明又提出一种存储装置,所述存储装置存储有程序数据,所述程序数据被用于执行如上所述的家电设备资源共享方法。Based on the same inventive concept, the present invention further proposes a storage device, the storage device stores program data, and the program data is used to execute the resource sharing method for household appliances as described above.

相比现有技术,本发明的有益效果在于:在根据控制指令确定触发资源共享条件时,根据资源共享条件确定资源信息请求和资源信息对象,并在不能获取资源信息时通过与资源信息对象对应的关联设备获取资源信息,根据该资源信息执行控制指令,能够通过设备之间的关联获取资源信息实现资源共享,降低了资源信息获取成本和物联网通信成本,稳定性高。Compared with the prior art, the present invention has the beneficial effect that: when the resource sharing condition triggering is determined according to the control instruction, the resource information request and the resource information object are determined according to the resource sharing condition, and when the resource information cannot be obtained, by corresponding to the resource information object The associated equipment obtains resource information, executes control instructions according to the resource information, and can obtain resource information through the association between devices to realize resource sharing, reduce resource information acquisition costs and IoT communication costs, and have high stability.

附图说明Description of drawings

图1为本发明家电设备资源共享方法一实施例的流程图;FIG. 1 is a flow chart of an embodiment of a method for sharing household appliance resources according to the present invention;

图2为本发明家电设备一实施例的结构图;Fig. 2 is a structural diagram of an embodiment of the household electrical appliance of the present invention;

图3为本发明存储装置一实施例的结构图。FIG. 3 is a structural diagram of an embodiment of the storage device of the present invention.

具体实施方式Detailed ways

下面,结合附图以及具体实施方式,对本发明做进一步描述,需要说明的是,在不相冲突的前提下,以下描述的各实施例之间或各技术特征之间可以任意组合形成新的实施例。Below, the present invention will be further described in conjunction with the accompanying drawings and specific implementation methods. It should be noted that, under the premise of not conflicting, the various embodiments described below or the technical features can be combined arbitrarily to form new embodiments. .

请参阅图1,其中,图1为本发明家电设备资源共享方法一实施例的流程图。结合附图1对本发明的家电设备资源共享方法作详细说明。Please refer to FIG. 1 , wherein FIG. 1 is a flow chart of an embodiment of a method for sharing household appliance resources in the present invention. The resource sharing method for household appliances of the present invention will be described in detail with reference to FIG. 1 .

在本实施例中,家电设备资源共享方法包括:In this embodiment, the resource sharing method for household appliances includes:

S101:接收输入地控制指令,根据所述控制指令判断是否触发资源共享条件,若是,则执行S102,若否,则根据所述控制指令工作。S101: Receive an input control instruction, judge whether a resource sharing condition is triggered according to the control instruction, if yes, execute S102, and if not, work according to the control instruction.

在本实施例中,执行该家电设备资源共享方法的设备可以为冰箱、电视、空调以及其他能够接收控制指令并根据控制指令确定需要获取的资源信息,并与其他家电设备进行物联网通信的家电设备。其中,家电设备与其他家电设备通信的方式可以为WiFi、蓝牙、ZigBee、lora、以太网、局域网以及其他通信方式。In this embodiment, the devices implementing the resource sharing method for household appliances may be refrigerators, televisions, air conditioners, and other household appliances that can receive control instructions and determine the resource information to be obtained according to the control instructions, and communicate with other household appliances through the Internet of Things. equipment. Wherein, the way for the home appliance to communicate with other home appliances may be WiFi, Bluetooth, ZigBee, lora, Ethernet, local area network or other communication ways.

在本实施例中,控制指令可以为用户通过语音、文字、控制按钮输入、智能终端传输等方式输入的控制指令。In this embodiment, the control instruction may be a control instruction input by the user through voice, text, control button input, intelligent terminal transmission, and the like.

在本实施例中,家电设备在接收控制指令前还可以识别用户的身份信息,根据该身份信息判断是否接收控制指令。其中,该身份信息可以为指纹、脸部图像、声纹、瞳孔以及其他识别信息,家电设备接收该身份信息后,将该身份信息与预存的身份信息进行对比,判断是否接收该控制指令。该预存的身份信息可以预存在每个家电设备中,也可以预存在一个与所有家电设备连接的设备中,还可以存储在云端。In this embodiment, before receiving the control instruction, the household electrical appliance may also identify the identity information of the user, and judge whether to receive the control instruction according to the identity information. Wherein, the identity information may be fingerprints, facial images, voiceprints, pupils and other identification information. After receiving the identity information, the home appliance compares the identity information with the pre-stored identity information to determine whether to accept the control instruction. The pre-stored identity information may be pre-stored in each home appliance, or in a device connected to all home appliances, or stored in the cloud.

在本实施例中,根据控制指令判断是否触发资源共享条件的步骤之前还包括:获取控制指令对应的控制对象,判断控制对象是否为资源信息共享用户;若是,则获取资源信息共享用户对应的资源共享条件;若否,则执行控制指令中不需要资源信息共享的指令。In this embodiment, before the step of judging whether the resource sharing condition is triggered according to the control instruction, it also includes: obtaining the control object corresponding to the control instruction, and judging whether the control object is a resource information sharing user; if so, obtaining the resource corresponding to the resource information sharing user The sharing condition; if not, execute the instructions that do not need resource information sharing among the control instructions.

在本实施例中,可以为每个家电设备设置相同的资源信息共享用户,也可以设置不同的资源信息共享用户,且该资源信息共享用户的信息和预存的身份信息可以存储在同一个设备中,也可以分别存储在不同的设备中,还可以根据不同家电设备存储空间的大小,将该信息拆分后存储在不同的家电设备中,只需接收控制指令的家电设备能够找到所有的信息,并根据该信息判断用户是否为资源信息共享用户即可。In this embodiment, the same resource information sharing user can be set for each home appliance, or different resource information sharing users can be set, and the information of the resource information sharing user and the pre-stored identity information can be stored in the same device , can also be stored in different devices, or the information can be split and stored in different home appliances according to the size of the storage space of different home appliances. Only the home appliance that receives the control command can find all the information. It is sufficient to determine whether the user is a resource information sharing user based on the information.

在本实施例中,根据控制指令判断是否触发资源共享条件的步骤具体包括:获取控制指令对应的资源信息,判断能否提供该资源信息;若是,则确定未触发资源共享条件;若否,则确定触发资源共享条件。In this embodiment, the step of judging whether to trigger the resource sharing condition according to the control instruction specifically includes: obtaining resource information corresponding to the control instruction, and judging whether the resource information can be provided; if so, determining that the resource sharing condition is not triggered; if not, then Determine the conditions that trigger resource sharing.

其中,资源信息请求可以为文件数据获取、设备状态改变、环境信息获取、家电设备的控制以及其他家电设备之间能够共享的资源信息或能够传输的控制指令。Wherein, the resource information request may be file data acquisition, device state change, environment information acquisition, control of home appliances, and resource information that can be shared among other home appliances or control instructions that can be transmitted.

在一个具体的实施例中,接收控制指令的设备为电视,电视接收的控制指令为播放指定的音乐,电视接收该控制指令后,确定该控制指令对应的资源信息请求为该指定的音乐的音乐文件获取,电视根据其内置的存储器判断能否获取该音乐文件,若能,则确定未触发资源共享条件,若不能,则确定触发资源共享条件。In a specific embodiment, the device receiving the control command is a TV, and the control command received by the TV is to play specified music. After receiving the control command, the TV determines that the resource information request corresponding to the control command is the music of the specified music. For file acquisition, the TV judges whether the music file can be acquired according to its built-in memory, if yes, determines that the resource sharing condition is not triggered, and if not, determines that the resource sharing condition is triggered.

在本实施例中,根据控制指令判断是否触发资源共享条件的步骤具体包括:获取影响控制指令执行的家电设备,并判断当前工作环境中是否存在家电设备;若是,则确定触发资源共享条件;若否,则确定未触发资源共享条件。In this embodiment, the step of judging whether to trigger the resource sharing condition according to the control instruction specifically includes: obtaining the household appliances that affect the execution of the control instruction, and judging whether there is a household appliance in the current working environment; if so, determining to trigger the resource sharing condition; if If not, it is determined that the resource sharing condition is not triggered.

在一个具体的实施例中,接收控制指令的设备为电视,电视接收的控制指令为以影院模式播放电影,电视接收到控制指令后,确定能够影响控制指令执行的家电设备为电视所在房间的窗帘控制器、电灯以及不受其控制的音响,并根据预存的家电设备分布图或布设列表判断房间内是否存在该家电设备。并在该家电设备存在时确定触发资源共享条件,若确定不存在,则确定未触发资源共享条件。In a specific embodiment, the device that receives the control command is a TV, and the control command received by the TV is to play a movie in theater mode. After the TV receives the control command, it determines that the home appliance that can affect the execution of the control command is the curtain of the room where the TV is located. Controllers, lamps, and audio that are not controlled by them, and judge whether there is such a home appliance in the room according to the pre-stored home appliance distribution map or layout list. And when the home appliance exists, it is determined to trigger the resource sharing condition, and if it is determined that it does not exist, it is determined that the resource sharing condition is not triggered.

S102:根据资源共享条件确定资源信息请求以及资源信息对象,判断能否直接获取资源信息请求对应的资源信息,若是,则执行S103,若否,则执行S104。S102: Determine the resource information request and the resource information object according to the resource sharing condition, and determine whether the resource information corresponding to the resource information request can be directly obtained, if yes, perform S103, and if not, perform S104.

在本实施例中,资源共享条件存储有不同资源信息对应的资源信息请求以及资源信息对象,其中,该资源信息请求为资源信息对象能够接收和执行的指令,通过预存该资源信息请求的方式,方便不同家电设备之间的通信以及指令的执行。In this embodiment, resource sharing conditions store resource information requests and resource information objects corresponding to different resource information, wherein the resource information requests are instructions that can be received and executed by resource information objects, and by pre-storing the resource information requests, It facilitates the communication between different home appliances and the execution of instructions.

在本实施例中,判断能否直接获取资源信息的步骤具体包括:判断是否与资源信息对象或资源信息对象对应的资源信息管理设备连接;若是,则确定能够获取资源信息;若否,则确定不能直接获取资源信息。In this embodiment, the step of judging whether the resource information can be obtained directly includes: judging whether it is connected to the resource information object or the resource information management device corresponding to the resource information object; if yes, determining that the resource information can be obtained; if not, determining Resource information cannot be obtained directly.

其中,资源信息管理设备可以为服务器、云端、与资源信息对象连接的网关、控制器以及其他设备。通过该资源信息管理设备存储、传输资源信息对象的资源信息或将资源信息请求发送给资源信息对象。Wherein, the resource information management device may be a server, a cloud, a gateway connected to a resource information object, a controller, and other devices. The resource information management device stores and transmits the resource information of the resource information object or sends the resource information request to the resource information object.

在本实施例中,资源信息对象为能够与接收控制指令的设备直接或间接连接的家电设备。In this embodiment, the resource information object is a home appliance that can be directly or indirectly connected to the device that receives the control instruction.

在本实施例中,获取资源信息的步骤具体:向资源信息对象或资源信息管理设备发送资源信息请求,并接收资源信息对象或资源信息管理设备根据资源信息请求发送的资源信息。In this embodiment, the step of acquiring resource information is as follows: sending a resource information request to a resource information object or resource information management device, and receiving resource information sent by the resource information object or resource information management device according to the resource information request.

在本实施例中,资源信息管理设备接收该资源信息请求后,解析资源信息请求获取相关内容,根据相关内容判断能否执行该资源信息请求,若不能,则将该资源信息请求转发给资源信息对象,并将资源信息对象根据该资源信息请求反馈的资源信息转发给发送该资源信息请求的家电设备。In this embodiment, after receiving the resource information request, the resource information management device parses the resource information request to obtain relevant content, judges whether the resource information request can be executed according to the relevant content, and if not, forwards the resource information request to the resource information request object, and forward the resource information fed back by the resource information object according to the resource information request to the home appliance that sends the resource information request.

S103:获取资源信息,根据资源信息执行控制指令。S103: Obtain resource information, and execute a control instruction according to the resource information.

在一个具体的实施例中,家电设备为电暖器,电暖器接收将空气温度加热至指定温度的控制指令后,根据该控制指令向温度传感器发送温度信息获取请求,温度传感器接收该温度信息获取请求后,将实际温度信息发送给电暖器,电暖器根据该实际温度信息控制加热功率、加热时间。In a specific embodiment, the household appliance is an electric heater. After receiving a control instruction to heat the air temperature to a specified temperature, the electric heater sends a temperature information acquisition request to the temperature sensor according to the control instruction, and the temperature sensor receives the temperature information. After obtaining the request, the actual temperature information is sent to the electric heater, and the electric heater controls the heating power and heating time according to the actual temperature information.

在本实施例中,根据资源信息执行控制指令的步骤之后还包括:实时获取资源信息,根据资源信息的变化调整控制指令的执行状态。In this embodiment, after the step of executing the control instruction according to the resource information, it further includes: acquiring the resource information in real time, and adjusting the execution state of the control instruction according to the change of the resource information.

S104:查找资源信息对象对应的关联设备,并向关联设备发送资源信息请求,通过关联设备根据资源信息请求反馈的资源信息执行控制指令。S104: Find the associated device corresponding to the resource information object, and send a resource information request to the associated device, and execute the control instruction through the associated device according to the resource information fed back by the resource information request.

在本实施例中,执行控制指令的家电设备可以通过预存的家电设备关联信息获取资源信息对应的关联设备,也可以其连接的所有设备发送关联设备查找请求,并设备返回的信息确定资源信息对象对应的关联设备。In this embodiment, the home appliance that executes the control instruction can obtain the associated device corresponding to the resource information through the pre-stored home appliance associated information, or all connected devices can send an associated device search request, and the information returned by the device can determine the resource information object corresponding associated device.

在其他实施例中,与资源信息对象对应的关联设备还可以以预设频率向其连接的设备发送其与资源信息对象的对应关系,以便于家电设备能够快速确定资源信息对象对应的关联设备,并向其发送资源信息请求指令。In other embodiments, the associated device corresponding to the resource information object may also send its corresponding relationship with the resource information object to the connected device at a preset frequency, so that the home appliance can quickly determine the associated device corresponding to the resource information object, And send resource information request instruction to it.

在本实施例中,关联设备也为家电设备,其中,该家电设备可以预存资源信息对象的资源信息,也可以根据资源信息请求采集资源信息对象的资源信息或控制资源信息对象以使其改变工作状态从而反馈相应的资源信息。In this embodiment, the associated device is also a home appliance, where the home appliance can pre-store the resource information of the resource information object, or collect the resource information of the resource information object according to the resource information request or control the resource information object to make it change work. The status thus feeds back the corresponding resource information.

有益效果:本发明家电设备资源共享方法在根据控制指令确定触发资源共享条件时,根据资源共享条件确定资源信息请求和资源信息对象,并在不能获取资源信息时通过与资源信息对象对应的关联设备获取资源信息,根据该资源信息执行控制指令,能够通过设备之间的关联获取资源信息实现资源共享,降低了资源信息获取成本和物联网通信成本,稳定性高。Beneficial effects: when the resource sharing method for household appliances of the present invention determines the resource sharing condition triggered according to the control instruction, the resource information request and the resource information object are determined according to the resource sharing condition, and when the resource information cannot be obtained, the associated device corresponding to the resource information object Obtain resource information, execute control instructions according to the resource information, and obtain resource information through association between devices to realize resource sharing, reduce resource information acquisition costs and IoT communication costs, and have high stability.

基于相同的发明构思,本发明还提出一种家电设备,请参阅图2,图2为本发明家电设备一实施例的结构图,结合图2对本发明的家电设备进行说明。Based on the same inventive concept, the present invention also proposes a household electrical appliance, please refer to FIG. 2 , which is a structural diagram of an embodiment of the household electrical appliance of the present invention. The household electrical appliance of the present invention will be described in conjunction with FIG. 2 .

在本实施例中,家电设备包括处理器、存储器,存储器存储有计算机程序,处理器根据计算机程序执行如上述实施例所述的家电设备资源共享方法。In this embodiment, the household electrical appliance includes a processor and a memory, the memory stores a computer program, and the processor executes the resource sharing method for the household electrical appliance as described in the above-mentioned embodiments according to the computer program.

有益效果:本发明的家电设备在根据控制指令确定触发资源共享条件时,根据资源共享条件确定资源信息请求和资源信息对象,并在不能获取资源信息时通过与资源信息对象对应的关联设备获取资源信息,根据该资源信息执行控制指令,能够通过设备之间的关联获取资源信息实现资源共享,降低了资源信息获取成本和物联网通信成本,稳定性高。Beneficial effects: when the home appliance device of the present invention determines the trigger resource sharing condition according to the control instruction, it determines the resource information request and the resource information object according to the resource sharing condition, and obtains the resource through the associated device corresponding to the resource information object when the resource information cannot be obtained Information, according to the resource information to execute control instructions, can obtain resource information through association between devices to achieve resource sharing, reduce resource information acquisition costs and IoT communication costs, and have high stability.

基于相同的发明构思,本发明又提出一种存储装置,请参阅图3,图3为本发明存储装置一实施例的结构图,结合图3对本发明的存储装置进行说明。Based on the same inventive concept, the present invention proposes another storage device. Please refer to FIG. 3 . FIG. 3 is a structural diagram of an embodiment of the storage device of the present invention. The storage device of the present invention will be described in conjunction with FIG. 3 .

在本实施例中,存储装置存储有程序数据,该程序数据被用于执行如上述实施例所述的家电设备资源共享方法。In this embodiment, the storage device stores program data, and the program data is used to execute the resource sharing method for household appliances as described in the above embodiments.

在本申请所提供的几个实施例中,应该理解到,所揭露的终端、系统和方法,可以通过其它的方式实现。例如,以上所描述的终端实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed terminal, system and method may be implemented in other ways. For example, the terminal embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立地产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以通过一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(英文全称:Read-OnlyMemory,英文缩写:ROM)、随机存取存储器(英文全称:Random Access Memory,英文缩写:RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit may be stored in a computer-readable storage medium if implemented in the form of a software function unit and sold or used as an independent product. Based on this understanding, the technical solution of the present application is essentially or part of the contribution to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions for executing all or part of the steps of the methods described in the various embodiments of the present application through a computer device (which may be a personal computer, a server, or a network device, etc.). The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (English full name: Read-OnlyMemory, English abbreviation: ROM), random access memory (English full name: Random Access Memory, English abbreviation: RAM), disk Or various media such as CDs that can store program codes.

以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present application, and are not intended to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still understand the foregoing The technical solutions described in each embodiment are modified, or some of the technical features are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the application.

Claims (7)

1.一种家电设备资源共享方法,其特征在于,所述家电设备资源共享方法包括:1. A method for sharing resources of household appliances, characterized in that, the method for sharing resources of household appliances comprises: S101:接收输入地控制指令,根据所述控制指令判断是否触发资源共享条件,若是,则执行S102,若否,则根据所述控制指令工作,其中,所述根据所述控制指令判断是否触发资源共享条件的步骤具体包括:获取影响所述控制指令执行的家电设备,并判断当前工作环境中是否存在所述家电设备;若是,则确定触发资源共享条件;若否,则确定未触发资源共享条件,资源共享条件存储有不同资源信息对应的资源信息请求以及资源信息对象,资源信息请求为资源信息对象接收和执行的指令;S101: Receive an input control instruction, judge whether to trigger the resource sharing condition according to the control instruction, if yes, execute S102, if not, work according to the control instruction, wherein, according to the control instruction, judge whether to trigger the resource The step of sharing the conditions specifically includes: obtaining the household appliances that affect the execution of the control instruction, and judging whether the household appliances exist in the current working environment; if so, determining that the resource sharing condition is triggered; if not, determining that the resource sharing condition is not triggered , resource sharing conditions store resource information requests corresponding to different resource information and resource information objects, resource information requests are instructions received and executed by resource information objects; S102:根据所述资源共享条件确定资源信息请求以及资源信息对象,判断能否直接获取所述资源信息请求对应的资源信息,若是,则执行S103,若否,则执行S104;S102: Determine the resource information request and the resource information object according to the resource sharing condition, and determine whether the resource information corresponding to the resource information request can be directly obtained, if yes, perform S103, and if not, perform S104; S103:获取所述资源信息,根据所述资源信息执行所述控制指令;S103: Obtain the resource information, and execute the control instruction according to the resource information; S104:查找所述资源信息对象对应的关联设备,并向所述关联设备发送资源信息请求,通过所述关联设备根据所述资源信息请求反馈的资源信息执行所述控制指令。S104: Find an associated device corresponding to the resource information object, and send a resource information request to the associated device, and execute the control instruction through the associated device according to the resource information fed back by the resource information request. 2.如权利要求1所述的家电设备资源共享方法,其特征在于,所述根据所述控制指令判断是否触发资源共享条件的步骤之前还包括:2. The household appliance resource sharing method according to claim 1, wherein before the step of judging whether to trigger a resource sharing condition according to the control instruction, the method further comprises: 获取所述控制指令对应的控制对象,判断所述控制对象是否为资源信息共享用户;Acquire a control object corresponding to the control instruction, and determine whether the control object is a resource information sharing user; 若是,则获取所述资源信息共享用户对应的资源共享条件;If yes, obtain resource sharing conditions corresponding to the resource information sharing user; 若否,则执行所述控制指令中不需要资源信息共享的指令。If not, execute an instruction that does not require sharing of resource information among the control instructions. 3.如权利要求1所述的家电设备资源共享方法,其特征在于,所述判断能否直接获取所述资源信息的步骤具体包括:3. The household appliance resource sharing method according to claim 1, wherein the step of judging whether the resource information can be obtained directly comprises: 判断是否与所述资源信息对象或所述资源信息对象对应的资源信息管理设备连接;judging whether it is connected to the resource information object or the resource information management device corresponding to the resource information object; 若是,则确定能够获取所述资源信息;If yes, then determine that the resource information can be obtained; 若否,则确定不能直接获取所述资源信息。If not, it is determined that the resource information cannot be obtained directly. 4.如权利要求3所述的家电设备资源共享方法,其特征在于,所述获取所述资源信息的步骤具体包括:4. The household appliance resource sharing method according to claim 3, wherein the step of acquiring the resource information specifically comprises: 向所述资源信息对象或所述资源信息管理设备发送资源信息请求,并接收所述资源信息对象或所述资源信息管理设备根据所述资源信息请求发送的资源信息。sending a resource information request to the resource information object or the resource information management device, and receiving resource information sent by the resource information object or the resource information management device according to the resource information request. 5.如权利要求3所述的家电设备资源共享方法,其特征在于,所述根据所述资源信息执行所述控制指令的步骤之后还包括:5. The household appliance resource sharing method according to claim 3, characterized in that, after the step of executing the control instruction according to the resource information, it further comprises: 实时获取所述资源信息,根据所述资源信息的变化调整所述控制指令的执行状态。The resource information is acquired in real time, and the execution status of the control instruction is adjusted according to changes in the resource information. 6.一种家电设备,其特征在于,所述家电设备包括处理器、存储器,所述存储器存储有计算机程序,所述计算机程序被用于实现如权利要求1-5任一项所述的家电设备资源共享方法。6. A household electrical appliance, characterized in that the household electrical appliance comprises a processor and a memory, the memory stores a computer program, and the computer program is used to implement the household appliance according to any one of claims 1-5 Device resource sharing method. 7.一种存储装置,其特征在于,所述存储装置存储有程序数据,所述程序数据被用于执行如权利要求1-5任一项所述的家电设备资源共享方法。7. A storage device, characterized in that the storage device stores program data, and the program data is used to execute the resource sharing method for household appliances according to any one of claims 1-5.
CN202110231610.2A 2021-03-02 2021-03-02 Home appliance resource sharing method, device and storage device Active CN113179197B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110231610.2A CN113179197B (en) 2021-03-02 2021-03-02 Home appliance resource sharing method, device and storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110231610.2A CN113179197B (en) 2021-03-02 2021-03-02 Home appliance resource sharing method, device and storage device

Publications (2)

Publication Number Publication Date
CN113179197A CN113179197A (en) 2021-07-27
CN113179197B true CN113179197B (en) 2022-11-04

Family

ID=76921816

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110231610.2A Active CN113179197B (en) 2021-03-02 2021-03-02 Home appliance resource sharing method, device and storage device

Country Status (1)

Country Link
CN (1) CN113179197B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113965607B (en) * 2021-08-30 2024-05-14 广东南方通信建设有限公司 Intelligent equipment control method based on NB-IOT, control platform and system of Internet of things

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4068094B2 (en) * 2002-05-17 2008-03-26 聯想(北京)有限公司 Method for realizing dynamic network configuration and resource sharing between devices
CN106254572A (en) * 2016-09-05 2016-12-21 深圳Tcl新技术有限公司 Resource share method, Apparatus and system
CN107592367B (en) * 2017-09-30 2020-12-11 广东美的制冷设备有限公司 Resource sharing method and device for household appliances and computer readable storage medium
CN107566233B (en) * 2017-09-30 2020-12-11 广东美的制冷设备有限公司 Resource sharing method and device for household electrical appliance
CN109246080B (en) * 2018-08-03 2021-08-27 广东工业大学 Resource sharing method, device, equipment and computer readable storage medium
CN110248346A (en) * 2019-06-17 2019-09-17 四川长虹电器股份有限公司 More equipment throw screen method and system

Also Published As

Publication number Publication date
CN113179197A (en) 2021-07-27

Similar Documents

Publication Publication Date Title
US11824677B2 (en) Smart home device control method, medium, mobile terminal and apparatus
KR101715538B1 (en) Method, apparatus, program, and recording medium for recommending scene mode of smart device
US9998297B2 (en) Method and apparatus for controlling smart home device to upload data, method and apparatus for acquiring data uploaded by smart home device
CN113572799B (en) Method and device for accessing equipment to control platform and server
EP3016082B1 (en) Smart device control method and apparatus based on predefined scenario mode
CN107736045B (en) Method and apparatus for controlling peripheral device
EP3050253B1 (en) Method and apparatus for controlling devices for smart home service
WO2021196638A1 (en) Household appliance control method and apparatus, and computer storage medium
WO2020223854A1 (en) Device network configuration method and apparatus, electronic device and storage medium
WO2018010533A1 (en) Device control system, method and apparatus, and gateway
CN105207863B (en) A method, cloud platform and home gateway for controlling heterogeneous smart home appliances
WO2018039814A1 (en) Smart household control method, apparatus and system
US20160191267A1 (en) Information Processing Method and Central Control Device
CN105187480B (en) Profile acquisition method, apparatus and system
WO2016065813A1 (en) Method and apparatus for customising smart device scenario mode
CN108510984A (en) A kind of voice cooperative control method of intelligent appliance equipment
EP3869112B1 (en) Air-conditioning device control method and air-conditioning device
CN109617963B (en) Device control method, device, and Internet of Things system
CN111915870A (en) Method, device, television and storage medium for adding remote control code value by voice
CN112751734A (en) Household appliance control method based on cleaning robot, cleaning robot and chip
CN116760567A (en) Account association methods, devices, electronic devices and storage media
CN108432213A (en) Electronic equipment and its control method
CN107888458A (en) Smart machine condition processing method and device
CN117652134A (en) Terminal equipment, server and multi-equipment collaborative login method
CN113179197B (en) Home appliance resource sharing method, device and storage device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Room 238, room 406, 1 Yichuang street, Huangpu District, Guangzhou, Guangdong 510700

Applicant after: Guangzhou langguo Electronic Technology Co.,Ltd.

Address before: Room 238, room 406, 1 Yichuang street, Huangpu District, Guangzhou, Guangdong 510700

Applicant before: GUANGZHOU LANGO ELECTRONIC SCIENCE & TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant