CN103728926B - Household appliance control system and method - Google Patents
Household appliance control system and method Download PDFInfo
- Publication number
- CN103728926B CN103728926B CN201210382159.5A CN201210382159A CN103728926B CN 103728926 B CN103728926 B CN 103728926B CN 201210382159 A CN201210382159 A CN 201210382159A CN 103728926 B CN103728926 B CN 103728926B
- Authority
- CN
- China
- Prior art keywords
- localizer
- community
- distance value
- server
- locator
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Selective Calling Equipment (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
技术领域technical field
本发明涉及通信领域,尤其涉及一种家电控制系统及控制方法。The present invention relates to the communication field, in particular to a control system and control method for household appliances.
背景技术Background technique
目前许多家用电器的状态切换都是用手工进行操作的,如果出门时忘记关闭家用电器,则电器一直处于工作状态,造成资源浪费,既不经济又不环保。At present, the state switching of many household appliances is manually operated. If you forget to turn off the household appliances when you go out, the appliances will always be in the working state, resulting in waste of resources, which is neither economical nor environmentally friendly.
发明内容Contents of the invention
为解决上述问题,本发明提出一种家电控制系统及控制方法,能够有效的节约资源,为用户的生活带来便利。In order to solve the above problems, the present invention proposes a control system and control method for household appliances, which can effectively save resources and bring convenience to users' lives.
一种家电控制系统,包括:A home appliance control system, comprising:
定位器,用于发送射频信号;A locator for sending radio frequency signals;
设置在社区内的多个定位终端,用于接收定位器发送的射频信号并计算与定位器的距离值,并将各个距离值发送给社区服务器;Set multiple positioning terminals in the community to receive the radio frequency signal sent by the locator and calculate the distance value from the locator, and send each distance value to the community server;
社区服务器:用于通过各个定位终端发送的各个距离值计算出定位器的位置坐标,将位置坐标发送到相应用户的家庭服务器;Community server: used to calculate the position coordinates of the locator through each distance value sent by each positioning terminal, and send the position coordinates to the home server of the corresponding user;
家庭服务器:用于接收社区服务器发送的位置坐标并根据位置坐标生成相应的控制信号切换家用电器的工作状态。Home server: used to receive the location coordinates sent by the community server and generate corresponding control signals to switch the working status of household appliances according to the location coordinates.
一种家电控制方法,利用上述的家电控制系统进行家电控制,家电控制方法包括:A home appliance control method, using the above-mentioned home appliance control system to control home appliances, the home appliance control method includes:
步骤S101、社区内的各个定位终端接收定位器发送的射频信号,并根据射频信号计算与定位器的距离值,并将各个所述距离值发送给社区服务器;Step S101, each positioning terminal in the community receives the radio frequency signal sent by the locator, calculates the distance value from the locator according to the radio frequency signal, and sends each of the distance values to the community server;
步骤S102、社区服务器通过各个距离值计算出定位器的位置坐标,并将位置坐标发送到相应用户的家庭服务器;Step S102, the community server calculates the location coordinates of the locator through each distance value, and sends the location coordinates to the corresponding user's home server;
步骤S103、家庭服务器接收位置坐标并根据位置坐标生成相应的控制信号,切换家用电器的工作状态。Step S103, the home server receives the location coordinates and generates a corresponding control signal according to the location coordinates to switch the working state of the household appliances.
本发明提供的家电控制系统及控制方法,通过设置在社区内的定位终端和社区服务器计算出定位器的位置坐标,根据定位器的位置坐标,判断用户所处的位置,控制对应的家庭用户的家用电器的工作状态,解决用户不在社区内家用电器依然工作造成的资源浪费的问题,更加环保和经济。The home appliance control system and control method provided by the present invention calculate the position coordinates of the locator through the positioning terminal and the community server arranged in the community, judge the position of the user according to the position coordinates of the locator, and control the corresponding home user's The working status of household appliances solves the problem of waste of resources caused by household appliances still working when users are not in the community, which is more environmentally friendly and economical.
附图说明Description of drawings
图1为本发明提供的家电控制系统第一种实施例的结构示意图。Fig. 1 is a schematic structural diagram of a first embodiment of a home appliance control system provided by the present invention.
图2为本发明提供的家电控制系统第二种实施例的结构示意图。Fig. 2 is a schematic structural diagram of the second embodiment of the household appliance control system provided by the present invention.
图3为本发明提供的家电控制系统第二种实施例中多点定位的原理图。Fig. 3 is a principle diagram of multipoint positioning in the second embodiment of the household appliance control system provided by the present invention.
图4为本发明提供的家电控制方法第一种实施例的流程图。Fig. 4 is a flow chart of the first embodiment of the home appliance control method provided by the present invention.
图5为本发明提供的家电控制方法第二种实施例的流程图。Fig. 5 is a flow chart of the second embodiment of the home appliance control method provided by the present invention.
具体实施方式detailed description
下面参照附图来说明本发明的实施例。在本发明的一个附图或一种实施方式中描述的元素和特征可以与一个或者更多个其他附图或实施方式中示出的元素和特征相结合。应当注意,为了清楚目的,附图和说明中省略了与本发明无关的、本领域普通技术人员已知的部件和处理的表示和描述。Embodiments of the present invention will be described below with reference to the drawings. Elements and features described in one drawing or one embodiment of the present invention may be combined with elements and features shown in one or more other drawings or embodiments. It should be noted that representation and description of components and processes that are not relevant to the present invention and known to those of ordinary skill in the art are omitted from the drawings and descriptions for the purpose of clarity.
家电控制系统实施例1Example 1 of the control system for home appliances
参考图1,一种家电控制系统,包括:Referring to Figure 1, a home appliance control system includes:
定位器101,用于发送射频信号;A locator 101, configured to send a radio frequency signal;
设置在社区内的多个定位终端102,用于接收定位器101发送的射频信号并计算与定位器101的距离值,并将各个距离值发送给社区服务器103;A plurality of positioning terminals 102 arranged in the community are used to receive the radio frequency signal sent by the locator 101 and calculate the distance value with the locator 101, and send each distance value to the community server 103;
社区服务器103:用于通过定位终端发送的各个距离值计算出定位器101的位置坐标,并将位置坐标发送到相应用户的家庭服务器104;Community server 103: used to calculate the position coordinates of the locator 101 through each distance value sent by the positioning terminal, and send the position coordinates to the home server 104 of the corresponding user;
家庭服务器104:用于接收社区服务器103发送的定位器101的位置坐标并根据位置坐标101生成相应的控制信号切换家用电器的工作状态。Home server 104: for receiving the position coordinates of the locator 101 sent by the community server 103 and generating corresponding control signals according to the position coordinates 101 to switch the working status of the household appliances.
定位器101可制作成便于用户随身携带的方式,例如腕带、钥匙扣等,也可设置在手机中,每一个定位器101为带有唯一标识的电子标签,该唯一标识与用户的家庭服务器104对应,社区服务器103根据定位器101的唯一标识将位置坐标发送到相应用户的家庭服务器104。The locator 101 can be made to be convenient for the user to carry around, such as a wristband, a key chain, etc., and can also be installed in a mobile phone. Each locator 101 is an electronic tag with a unique identification, which is related to the user's home server. Corresponding to 104, the community server 103 sends the location coordinates to the home server 104 of the corresponding user according to the unique identifier of the locator 101 .
用户随身携带定位器101,定位器101实时发送射频信号,设置在社区内的多个定位终端102,实时接收定位器101发出的射频信号,各个定位终端102可根据接收到的射频信号计算出与定位器101的距离值,各个定位终端102将计算出的与定位器101的距离值发送给社区服务器103,由于定位器101带有唯一标识的电子标签,可根据该标识计算出该定位器101来自社区内哪一个用户家庭,社区服务器103通过各个距离值计算出定位器101的位置坐标,即用户当前所处的位置,并将该位置坐标发送到相应用户家庭中的家庭服务器104。The user carries a locator 101 with him, and the locator 101 sends radio frequency signals in real time, and multiple positioning terminals 102 installed in the community receive the radio frequency signals sent by the locator 101 in real time. The distance value of the locator 101, each positioning terminal 102 sends the calculated distance value to the locator 101 to the community server 103, since the locator 101 has an electronic tag with a unique identification, the locator 101 can be calculated according to the identification. From which user's family in the community, the community server 103 calculates the position coordinates of the locator 101 through various distance values, that is, the current position of the user, and sends the position coordinates to the home server 104 in the corresponding user's family.
家庭服务器104根据接收到的位置坐标判断定位器101是否处于社区内,家庭服务器104将位置坐标与预先设置的社区区域范围进行比较,如果该位置坐标落在了预设区域范围之外,则认为此时用户已经离开家,家庭服务器104生成相应的控制信号,相应的家用电器接收该控制信号并根据此控制信号使其处于低功耗模式,如果该位置坐标落在了预设区域范围之内,则认为用户回到家中,家庭服务器104生成相应的控制信号使相关联的家用电器处于工作模式,例如空调、热水器等,用户在进入家时就会有舒适的温度和热水。The home server 104 judges whether the locator 101 is in the community according to the received position coordinates, and the home server 104 compares the position coordinates with the preset community area range, and if the position coordinates fall outside the preset area range, it is considered At this time, the user has left home, the home server 104 generates a corresponding control signal, and the corresponding household appliance receives the control signal and makes it in a low power consumption mode according to the control signal. If the location coordinate falls within the preset area , it is considered that the user returns home, and the home server 104 generates a corresponding control signal to enable the associated household appliances to be in working mode, such as air conditioners, water heaters, etc., and the user will have comfortable temperature and hot water when entering the home.
本实施例中预设的社区区域范围,可以为整个社区,也可以为社区的某一部分区域。The preset community area range in this embodiment may be the entire community or a certain part of the community.
本发明中所述的家用电器均为智能家电。The household appliances described in the present invention are all smart household appliances.
本实施例提供的家电控制系统,通过设置在社区内的多个定位终端和社区服务器计算出定位器的位置坐标,根据定位器的位置坐标,判断用户所处的位置,控制对应的家庭用户的家用电器的工作状态,在用户离开社区时使家用电器处于低功耗模式,解决了用户出门忘记关闭家用电器造成的能源浪费,在用户进入社区时使家用电器处于工作模式,在用户回家时提供舒适的环境,此外,当用户处于预设区域范围内,家用电器处于工作状态,相比只在家庭中进行定位的方式,可防止用户出门扔垃圾也关闭家用电器的情况发生,减少家用电器工作状态的切换。The home appliance control system provided in this embodiment calculates the position coordinates of the locator through a plurality of positioning terminals and community servers set in the community, judges the location of the user according to the position coordinates of the locator, and controls the location of the corresponding home user. The working state of household appliances, when the user leaves the community, the household appliances are in a low power consumption mode, which solves the energy waste caused by the user forgetting to turn off the household appliances when going out. When the user enters the community, the household appliances are in the working mode, and when the user returns home Provide a comfortable environment. In addition, when the user is within the preset area, the household appliances are in working condition. Compared with the method of only positioning in the home, it can prevent the user from turning off the household appliances while throwing garbage when going out, reducing the number of household appliances. Switching of working status.
家电控制系统实施例2Example 2 of the home appliance control system
参考图2,本实施例提供的家电控制系统,包括定位器201、四个定位终端、社区服务器、家庭服务器以及家电控制模块。Referring to FIG. 2 , the home appliance control system provided in this embodiment includes a locator 201 , four positioning terminals, a community server, a home server, and a home appliance control module.
定位器201为带有唯一标识的电子标签,可根据该标识识别出该定位器201对应的用户家庭中的家庭服务器。The locator 201 is an electronic tag with a unique identifier, and the home server in the user's home corresponding to the locator 201 can be identified according to the identifier.
四个定位终端的连线围成四边形,即四个定位终端不处于同一条直线上。The connecting lines of the four positioning terminals form a quadrilateral, that is, the four positioning terminals are not on the same straight line.
定位终端包括射频信号接收器202a、微处理器202b以及信号发送装置202c,射频信号接收器202a和信号发送装置202c均与微处理器202b相连,微处理器202b根据射频信号接收器202a接收到的射频信号的传输损耗计算与定位器201的距离值,并通过信号发送装置202c将距离值发送给社区服务器203。The positioning terminal includes a radio frequency signal receiver 202a, a microprocessor 202b, and a signal sending device 202c. The radio frequency signal receiver 202a and the signal sending device 202c are all connected to the microprocessor 202b. The transmission loss of the radio frequency signal calculates the distance value from the locator 201, and sends the distance value to the community server 203 through the signal sending device 202c.
定位器201发送的射频信号会随着传输距离而产生损耗,损耗与距离之间呈线性关系,根据传输损耗可计算出相应的距离值,此为本领域技术人员公知。The radio frequency signal sent by the locator 201 will generate loss along with the transmission distance, and there is a linear relationship between the loss and the distance, and the corresponding distance value can be calculated according to the transmission loss, which is known to those skilled in the art.
社区服务器包括社区网关203a和第一处理器203b,社区网关203a接收各个定位终端202发送的距离值,第一处理器203b根据各个距离值计算出定位器201的所在的位置坐标,社区网关203a将定位器201的位置坐标发送给家庭服务器。The community server includes a community gateway 203a and a first processor 203b. The community gateway 203a receives the distance values sent by each positioning terminal 202, and the first processor 203b calculates the location coordinates of the locator 201 according to each distance value. The community gateway 203a will The location coordinates of the locator 201 are sent to the home server.
参考图3,本实施例采用多点定位法计算位置坐标,四个定位终端202与定位器201的距离分别为L1、L2、L3和L4,分别以四个定位终端202为圆心,L1、L2、L3、L4为半径画圆,四圆相交于一点,该点即为定位器201所在的位置坐标。With reference to Fig. 3, the present embodiment adopts the multi-point positioning method to calculate the position coordinates, the distances between the four positioning terminals 202 and the locator 201 are respectively L1, L2, L3 and L4, respectively with the four positioning terminals 202 as the center of the circle, L1, L2 , L3, and L4 are circles drawn with radii, and the four circles intersect at a point, which is the coordinates of the position where the locator 201 is located.
家庭服务器包括家庭网关204a和第二处理器204b,家庭网关204a接收社区网关203a发送的定位器201的位置坐标,第二处理器204b根据位置坐标生成相应的控制信号。The home server includes a home gateway 204a and a second processor 204b. The home gateway 204a receives the location coordinates of the locator 201 sent by the community gateway 203a, and the second processor 204b generates corresponding control signals according to the location coordinates.
此外,家电控制系统还包括家电控制模块205,用于根据相应的控制信号控制家用电器工作在低耗电模式或正常工作模式下。In addition, the home appliance control system further includes a home appliance control module 205, configured to control the home appliance to work in a low power consumption mode or a normal work mode according to a corresponding control signal.
可选地,家电控制模块205设置在各个家用电器中,包括信号接收装置和控制器,信号接收装置接收第二处理器204b生成的相应的控制信号,控制器根据该控制信号控制家用电器的工作状态。Optionally, the home appliance control module 205 is set in each home appliance, including a signal receiving device and a controller, the signal receiving device receives a corresponding control signal generated by the second processor 204b, and the controller controls the operation of the home appliance according to the control signal state.
第二处理器204b包括区域判定模块204c,区域判定模块204c根据接收到的位置坐标判断定位器201是否处于社区内,具体方法为将位置坐标与预先设置的社区区域范围进行比较,如果该位置坐标落在了预设区域范围之外,则认为此时用户已经离开家,区域判定模块204c生成相应的控制信号,家电控制模块205根据相应的控制信号使家用电器处于低功耗模式;如果该位置坐标落在了预设区域范围之内,则认为用户在家中,区域判定模块204c生成相应的控制信号,家电控制模块205根据相应控制信号使各个家用电器处于正常工作模式,例如空调、热水器等,用户在进入家时就会有舒适的温度和热水。The second processor 204b includes an area determination module 204c. The area determination module 204c determines whether the locator 201 is in the community according to the received position coordinates. The specific method is to compare the position coordinates with the preset community area range. If the position coordinates Falling outside the preset area range, it is considered that the user has left home at this time, and the area determination module 204c generates a corresponding control signal, and the home appliance control module 205 makes the home appliance in a low power consumption mode according to the corresponding control signal; If the coordinates fall within the preset area range, the user is considered to be at home, and the area determination module 204c generates a corresponding control signal, and the home appliance control module 205 puts each home appliance in a normal working mode according to the corresponding control signal, such as an air conditioner, a water heater, etc. Users will have a comfortable temperature and hot water when they enter the home.
第二处理器204b还包括时间判定模块204d,用于根据定位器201的位置坐标在预设时间内的动态,将定位器201的标签标记为未使用或使用中,当定位器201的位置坐标在预设时间内未发生改变,则将定位器201的标签标记为未使用;当定位器再次移动时,则将定位器201的标签标记为使用中,家庭服务器根据标记为使用中的定位器的位置坐标切换家用电器的工作状态。The second processor 204b also includes a time determination module 204d, which is used to mark the tag of the locator 201 as unused or in use according to the dynamics of the position coordinates of the locator 201 within a preset time, when the position coordinates of the locator 201 If there is no change within the preset time, the tag of the locator 201 will be marked as unused; when the locator moves again, the tag of the locator 201 will be marked as in use, and the home server will The position coordinates of the switch switch the working state of the household appliances.
例如,家中有5个定位器,而只有三个是使用的,两个一直处于静止状态,在预设时间内位置坐标没变化,则将这两个定位器的标签标记为未使用,对家用电器的控制只以使用中的定位器为基准,如果家庭成员中有人把定位器忘在家里,当另一个人离开家时,家里的家用电器也能进入低耗电模式,预设时间可以为24小时或48小时。For example, if there are 5 locators in the home, but only three are in use, and the two locators have been in a static state, and the position coordinates have not changed within the preset time, then the tags of these two locators are marked as unused, which is useful for home use. The control of electrical appliances is only based on the locator in use. If someone in the family forgets the locator at home, when another person leaves home, the household appliances at home can also enter the low power consumption mode. The preset time can be 24 hours or 48 hours.
优选地,社区服务器与家庭服务器基于zigbee协议进行通信,zigbee是一种新型的短距离、低速率的无线网络通讯技术,具有低功耗、低成本等特点。Preferably, the community server and the home server communicate based on the zigbee protocol. Zigbee is a new type of short-distance, low-speed wireless network communication technology with low power consumption and low cost.
本实施例提供的家电控制系统,通过设置在社区内的多个定位终端和社区服务器计算出定位器的位置坐标,根据定位器的位置坐标,判断用户所处的位置,控制对应的家庭用户的家用电器的工作状态,在用户离开社区时使家用电器处于低功耗模式,解决了用户出门忘记关闭家用电器造成的能源浪费,在用户进入社区时使家用电器处于工作模式,在用户回家时提供舒适的环境;当用户处于社区区域范围内,家用电器处于工作状态,相比只在家庭中进行定位的方式,可防止用户出门扔垃圾也关闭家用电器的情况发生,减少家用电器工作状态的切换;此外,采用多点定位法,能够对定位器进行更加准确的定位,与现有的GPS定位相比,能有效较低成本。The home appliance control system provided in this embodiment calculates the position coordinates of the locator through a plurality of positioning terminals and community servers set in the community, judges the location of the user according to the position coordinates of the locator, and controls the location of the corresponding home user. The working state of household appliances, when the user leaves the community, the household appliances are in a low power consumption mode, which solves the energy waste caused by the user forgetting to turn off the household appliances when going out. When the user enters the community, the household appliances are in the working mode, and when the user returns home Provide a comfortable environment; when the user is within the community area and the household appliances are in working condition, compared with the method of only positioning in the home, it can prevent the user from turning off the household appliances while throwing garbage when going out, and reduce the failure of the working status of the household appliances Switching; in addition, the multi-point positioning method can be used to locate the locator more accurately, and compared with the existing GPS positioning, it can effectively lower the cost.
家电控制方法实施例1Embodiment 1 of the home appliance control method
参考图4,一种家电控制方法,包括:With reference to Fig. 4, a kind of home appliance control method comprises:
步骤S101、社区内的各个定位终端接收定位器发送的射频信号,并根据射频信号计算与定位器的距离值,并将各个距离值发送给社区服务器;Step S101, each positioning terminal in the community receives the radio frequency signal sent by the locator, calculates the distance value from the locator according to the radio frequency signal, and sends each distance value to the community server;
步骤S102、社区服务器通过各个距离值计算出定位器的位置坐标,并将位置坐标发送到相应用户的家庭服务器;Step S102, the community server calculates the location coordinates of the locator through each distance value, and sends the location coordinates to the corresponding user's home server;
步骤S103、家庭服务器接收位置坐标并根据位置坐标生成相应的控制信号,切换家用电器的工作状态。Step S103, the home server receives the location coordinates and generates a corresponding control signal according to the location coordinates to switch the working state of the household appliances.
用户随身携带定位器,定位器实时发送射频信号,设置在社区内的多个定位终端,实时接收定位器发出的射频信号,各个定位终端可根据接收到的射频信号计算出与定位器的距离值,各个定位终端将计算出的与定位器的距离值发送给社区服务器,由于定位器带有唯一标识的电子标签,可根据该标识计算出该定位器来自社区内哪一个用户家庭,社区服务器通过各个距离值计算出定位器的位置坐标,即用户当前所处的位置,并将该位置坐标发送到相应用户家庭中的家庭服务器。The user carries a locator with him, and the locator sends radio frequency signals in real time, and multiple positioning terminals set up in the community receive the radio frequency signals sent by the locator in real time, and each positioning terminal can calculate the distance value from the locator according to the received radio frequency signal , each positioning terminal sends the calculated distance value to the locator to the community server. Since the locator has an electronic tag with a unique identification, it can be calculated which user family the locator comes from in the community according to the identification. The community server passes Each distance value calculates the location coordinates of the locator, that is, the current location of the user, and sends the location coordinates to the home server in the corresponding user's home.
家庭服务器根据接收到的位置坐标判断定位器是否处于预设区域内,家庭服务器将位置坐标与预先设置的社区区域范围进行比较,如果该位置坐标落在了预设区域范围之外,则认为此时用户已经离开家,家庭服务器生成相应的控制信号,家电控制模块根据此控制信号控制相关联的家用电器处于低功耗模式,如果该位置坐标落在了预设区域范围之内,则认为用户回到家中,家庭服务器生成相应的控制信号通过家电控制模块使相关联的家用电器处于工作模式,例如空调、热水器等,用户在进入家时就会有舒适的温度和热水。The home server judges whether the locator is in the preset area according to the received location coordinates, and the home server compares the location coordinates with the preset community area range, and if the location coordinates fall outside the preset area range, it is considered When the user has left home, the home server generates a corresponding control signal, and the home appliance control module controls the associated home appliance to be in a low power consumption mode according to the control signal. If the location coordinate falls within the preset area, the user is considered Back home, the home server generates corresponding control signals to put the associated home appliances in the working mode through the home appliance control module, such as air conditioners, water heaters, etc., and the user will have comfortable temperature and hot water when entering the home.
本实施例提供的家电控制方法,通过设置在社区内的多个定位终端和社区服务器计算出定位器的位置坐标,根据定位器的位置坐标,判断用户所处的位置,控制对应的家庭用户的家用电器的工作状态,在用户离开社区时使家用电器处于低功耗模式,解决了用户出门忘记关闭家用电器造成的能源浪费,在用户进入社区时使家用电器处于工作模式,在用户回家时提供舒适的环境,此外,当用户处于社区区域范围内,家用电器处于工作状态,相比只在家庭中进行定位的方式,可防止用户出门扔垃圾也关闭家用电器的情况发生,减少家用电器工作状态的切换。The home appliance control method provided in this embodiment calculates the location coordinates of the locator through a plurality of positioning terminals and community servers set up in the community, judges the location of the user according to the location coordinates of the locator, and controls the location of the corresponding home user. The working state of household appliances, when the user leaves the community, the household appliances are in a low power consumption mode, which solves the energy waste caused by the user forgetting to turn off the household appliances when going out. When the user enters the community, the household appliances are in the working mode, and when the user returns home Provide a comfortable environment. In addition, when the user is in the community area, the household appliances are in working condition. Compared with the method of only positioning in the home, it can prevent the user from turning off the household appliances while throwing garbage when going out, reducing the workload of household appliances. State switching.
家电控制方法实施例2Embodiment 2 of the home appliance control method
步骤S201、社区内定位终端的射频信号接收器接收定位器发送的射频信号,微处理器根据射频信号接收器接收到的射频信号的传输损耗计算与定位器的距离值,并根据射频信号计算各个定位终端与定位器的距离值,并通过信号发送装置将各个距离值发送给社区服务器。Step S201, the radio frequency signal receiver of the positioning terminal in the community receives the radio frequency signal sent by the locator, the microprocessor calculates the distance value from the locator according to the transmission loss of the radio frequency signal received by the radio frequency signal receiver, and calculates each distance value according to the radio frequency signal Position the distance values between the terminal and the locator, and send each distance value to the community server through the signal sending device.
定位终端包括射频信号接收器、微处理器以及信号发送装置;由于定位器带有唯一标识的电子标签,可根据该标识计算出该定位器来自社区内哪一个用户家庭。The positioning terminal includes a radio frequency signal receiver, a microprocessor, and a signal sending device; since the locator has an electronic tag with a unique identification, it can be calculated which user family the locator comes from in the community according to the identification.
步骤S202、将四个定位终端围成规则的四边形,以各个定位终端为圆心,定位器到各个定位终端的距离值为半径画圆,将四圆相交的一点作为定位器所在的位置坐标,社区网关将位置坐标发送到相应用户的家庭服务器。Step S202, enclosing the four positioning terminals into a regular quadrilateral, taking each positioning terminal as the center of the circle, drawing a circle with the distance from the locator to each positioning terminal as the radius, and taking the point where the four circles intersect as the position coordinates of the locator, the community The gateway sends the location coordinates to the corresponding user's home server.
社区服务器包括社区网关和第一处理器,社区网关用于发送和接收数据,第一处理器用于计算定位器的所在的位置坐标。The community server includes a community gateway and a first processor, the community gateway is used to send and receive data, and the first processor is used to calculate the location coordinates of the locator.
步骤S203、家庭网关接收社区网关发送的位置坐标,第二处理器将定位器的位置坐标与预先设定的社区区域范围相比较,如果定位器处于预设区域范围内,则将家用电器的工作状态切换为正常工作模式;如果定位器的位置处于预设区域范围之外,则将家用电器的工作状态切换为低耗电模式。Step S203, the home gateway receives the location coordinates sent by the community gateway, and the second processor compares the location coordinates of the locator with the preset community area range, and if the locator is within the preset area range, then the home appliances work The state is switched to the normal working mode; if the position of the locator is outside the preset area range, the working state of the household appliance is switched to the low power consumption mode.
家庭服务器包括家庭网关和第二处理器,家庭网关用于接收和发送数据,第二处理器用于根据位置坐标生成相应的控制信号。The home server includes a home gateway and a second processor, the home gateway is used for receiving and sending data, and the second processor is used for generating corresponding control signals according to the location coordinates.
家用电器的工作状态包括低耗电模式和正常工作模式,低耗电模式下家用电器处于待机,相应的各个家用电器停止工作,在所述正常工作模式下相应的各个家用电器工作。The working state of the household appliances includes a low power consumption mode and a normal working mode. In the low power consumption mode, the household appliances are on standby, and corresponding household appliances stop working. In the normal working mode, the corresponding household appliances work.
本实施例提供的家电控制方法,通过设置在社区内的多个定位终端和社区服务器计算出定位器的位置坐标,根据定位器的位置坐标,判断用户所处的位置,控制对应的家庭用户的家用电器的工作状态,在用户离开社区时使家用电器处于低功耗模式,解决了用户出门忘记关闭家用电器造成的能源浪费,在用户进入社区时使家用电器处于工作模式,在用户回家时提供舒适的环境;当用户处于社区区域范围内,家用电器处于工作状态,相比只在家庭中进行定位的方式,可防止用户出门扔垃圾也关闭家用电器的情况发生,减少家用电器工作状态的切换;此外,采用多点定位法,能够对定位器进行更加准确的定位,与现有的GPS定位相比,能有效较低成本。The home appliance control method provided in this embodiment calculates the location coordinates of the locator through a plurality of positioning terminals and community servers set up in the community, judges the location of the user according to the location coordinates of the locator, and controls the location of the corresponding home user. The working state of household appliances, when the user leaves the community, the household appliances are in a low power consumption mode, which solves the energy waste caused by the user forgetting to turn off the household appliances when going out. When the user enters the community, the household appliances are in the working mode, and when the user returns home Provide a comfortable environment; when the user is within the community area and the household appliances are in working condition, compared with the method of only positioning in the home, it can prevent the user from turning off the household appliances while throwing garbage when going out, and reduce the failure of the working status of the household appliances Switching; in addition, the multi-point positioning method can be used to locate the locator more accurately, and compared with the existing GPS positioning, it can effectively lower the cost.
家电控制方法实施例3Embodiment 3 of the home appliance control method
本实施例提供的家电控制方法,其中,社区内的各个定位终端接收定位器发送的射频信号,根据射频信号计算与定位器的距离值,社区服务器通过各个距离值计算出定位器的位置坐标,家庭服务器接收位置坐标并根据位置坐标生成相应的控制信号,切换家用电器的工作状态,上述步骤与实施例1基本相同,区别在于,步骤S103还包括:In the home appliance control method provided in this embodiment, each positioning terminal in the community receives the radio frequency signal sent by the locator, and calculates the distance value from the locator according to the radio frequency signal, and the community server calculates the position coordinates of the locator through each distance value, The home server receives the location coordinates and generates corresponding control signals according to the location coordinates to switch the working state of the household appliances. The above steps are basically the same as those in Embodiment 1, the difference is that step S103 also includes:
当所述定位器的位置坐标在预设时间内未发生改变,则将所述定位器的标签标记为未使用;当定位器再次移动时,则将所述定位器的标签标记为使用中,所述家庭服务器根据标记为使用中的定位器的位置坐标切换家用电器的工作状态。When the position coordinates of the locator do not change within a preset time, the label of the locator is marked as unused; when the locator moves again, the label of the locator is marked as in use, The home server switches the working state of the home appliance according to the location coordinates of the locator marked as in use.
定位终端实时接收定位器发送的射频信号,社区服务器实时计算定位器的位置坐标,如果定位器的位置坐标显示在社区内,而且在预设时间内未发生改变,例如24小时或48小时,则认为用户出门忘带定位器,将此定位器的标签标记为未使用,家用电器的工作状态切换只参考使用中的定位器;若定位器再次发生移动,则标记该定位器的状态为使用中,家用电器工作状态的切换只参考使用中的定位器,当定位器再次移动,则家电控制系统重新对定位器进行定位,控制相应的家用电器进行工作状态的切换。The positioning terminal receives the radio frequency signal sent by the locator in real time, and the community server calculates the location coordinates of the locator in real time. If the location coordinates of the locator are displayed in the community and have not changed within a preset time, such as 24 hours or 48 hours, then Think that the user forgot to bring the locator when going out, mark the label of this locator as unused, and only refer to the locator in use when switching the working status of household appliances; if the locator moves again, mark the status of the locator as in use , The switch of the working state of the household appliance only refers to the locator in use. When the locator moves again, the home appliance control system re-positions the locator and controls the corresponding household appliance to switch the working state.
本实施例提供的家电控制方法,在定位器长时间内未移动的情况下将此定位器标记为未使用,家用电器的工作状态切换只参考使用中的定位器,避免用户出门时忘记带定位器而使家用电器一直处于正常工作状态,进一步达到节能的目的,提高用户体验。The home appliance control method provided in this embodiment marks the locator as unused if the locator has not been moved for a long time, and only refers to the locator in use when switching the working state of the household appliance, so as to prevent the user from forgetting to bring the locator when going out. The device keeps the household appliances in the normal working state all the time, further achieves the purpose of energy saving and improves the user experience.
虽然已经详细说明了本发明及其优点,但是应当理解在不超出由所附的权利要求所限定的本发明的精神和范围的情况下可以进行各种改变、替代和变换。而且,本申请的范围不仅限于说明书所描述的过程、设备、手段、方法和步骤的具体实施例。本领域内的普通技术人员从本发明的公开内容将容易理解,根据本发明可以使用执行与在此所述的相应实施例基本相同的功能或者获得与其基本相同的结果的、现有和将来要被开发的过程、设备、手段、方法或者步骤。因此,所附的权利要求旨在它们的范围内包括这样的过程、设备、手段、方法或者步骤。Although the present invention and its advantages have been described in detail, it should be understood that various changes, substitutions and alterations can be made hereto without departing from the spirit and scope of the invention as defined by the appended claims. Moreover, the scope of the present application is not limited to the specific embodiments of the procedures, devices, means, methods and steps described in the specification. Those of ordinary skill in the art will readily appreciate from the disclosure of the present invention that existing and future devices that perform substantially the same function or obtain substantially the same results as the corresponding embodiments described herein can be used in accordance with the present invention. The developed process, device, means, method or steps. Accordingly, the appended claims are intended to include within their scope such processes, means, means, methods or steps.
Claims (13)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210382159.5A CN103728926B (en) | 2012-10-10 | 2012-10-10 | Household appliance control system and method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210382159.5A CN103728926B (en) | 2012-10-10 | 2012-10-10 | Household appliance control system and method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103728926A CN103728926A (en) | 2014-04-16 |
| CN103728926B true CN103728926B (en) | 2017-02-15 |
Family
ID=50453043
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201210382159.5A Active CN103728926B (en) | 2012-10-10 | 2012-10-10 | Household appliance control system and method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103728926B (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104216371A (en) * | 2014-09-01 | 2014-12-17 | 深圳市同创新佳科技有限公司 | Energy-saving hotel room management method and system |
| CN105159107B (en) * | 2015-08-17 | 2019-01-04 | 广州市果豆科技有限责任公司 | A kind of intelligent home furnishing control method, control device and control system |
| WO2017120967A1 (en) * | 2016-01-17 | 2017-07-20 | 衣佳鑫 | Internet of things-based community management method and system |
| CN106292364A (en) * | 2016-08-22 | 2017-01-04 | 美的智慧家居科技有限公司 | A kind of control the method and apparatus of equipment in environment |
| CN106842967B (en) * | 2016-12-28 | 2021-04-06 | 青岛海尔科技有限公司 | Household appliance control method and device based on positioning information |
| CN113783968B (en) * | 2019-10-14 | 2025-11-04 | 支付宝(杭州)信息技术有限公司 | A method, apparatus and mobile terminal for generating prompt information |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5461390A (en) * | 1994-05-27 | 1995-10-24 | At&T Ipm Corp. | Locator device useful for house arrest and stalker detection |
| CN1296366A (en) * | 1999-11-15 | 2001-05-23 | 朗迅科技公司 | Method and equipment of radio telecommunication system for providing location base activity service |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1271848A1 (en) * | 2000-12-27 | 2003-01-02 | Matsushita Electric Industrial Co., Ltd. | Identification code management system for home network |
-
2012
- 2012-10-10 CN CN201210382159.5A patent/CN103728926B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5461390A (en) * | 1994-05-27 | 1995-10-24 | At&T Ipm Corp. | Locator device useful for house arrest and stalker detection |
| CN1296366A (en) * | 1999-11-15 | 2001-05-23 | 朗迅科技公司 | Method and equipment of radio telecommunication system for providing location base activity service |
Non-Patent Citations (2)
| Title |
|---|
| 一种基于交点质心求解的RSSI定位算法及其优化;朱浩,顾宗海,苏金,刘岩,章晨;《郑州大学学报(工学版)》;20101130;第31卷(第6期);第43-46页 * |
| 基于RFID标签的定位原理和技术;韩晶;《电子科技》;20110715;第24卷(第7期);第64-67页 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103728926A (en) | 2014-04-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103728926B (en) | Household appliance control system and method | |
| CN108012312B (en) | Paged device, paging device and method | |
| CN103813039A (en) | Home appliance control method, home server, and home appliance control system | |
| US20150205316A1 (en) | Apparatus and method for managing energy information profile of home based on smart plug | |
| CN102664911A (en) | Electric energy information network system for remote management and its control method | |
| CN104267694A (en) | Intelligent home management system | |
| CN202975723U (en) | Household intelligent controller and remote household control system | |
| CN202488426U (en) | Zigbee wireless touch control switch and Zigbee wireless touch control switch system | |
| CN206179188U (en) | Home appliance remote controller , handheld terminal in location and home appliance remote controller positioning system | |
| CN106304324A (en) | A kind of localization method, electric equipment, location terminal and system | |
| CN203984450U (en) | Intelligent domestic gateway | |
| CN103713582A (en) | Method and equipment for remote monitoring | |
| CN205258876U (en) | Intelligence laundry machine control system with function of disinfecting | |
| CN203225891U (en) | Real-time positioning base station equipment and system | |
| CN203732955U (en) | Low cost device capable of expanding control range of wireless control system | |
| CN203225002U (en) | Remote signal transmitter-receiver set | |
| CN201819344U (en) | HBS (home bus system)-based GSM (global system for mobile communications) remote controller for air conditioner | |
| CN107172725A (en) | A kind of multi-mode things-internet gateway | |
| CN105323364A (en) | Power supply control method and device and terminal | |
| CN103731932A (en) | Multi-wireless-communication compatible system and communication method thereof | |
| CN104155961A (en) | Intelligent home monitoring system and method based on Internet of Things | |
| CN204445401U (en) | A kind of intelligent drinking machine system | |
| CN205943052U (en) | Domestic intelligent information inquiry terminal | |
| CN206433005U (en) | A kind of intelligent switch based on ZIGBEE devices | |
| CN203705911U (en) | Wireless wall surface switch equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant |