CN112260909B - Intelligent device position detection method and device, electronic device and storage medium - Google Patents

Intelligent device position detection method and device, electronic device and storage medium Download PDF

Info

Publication number
CN112260909B
CN112260909B CN202011126451.1A CN202011126451A CN112260909B CN 112260909 B CN112260909 B CN 112260909B CN 202011126451 A CN202011126451 A CN 202011126451A CN 112260909 B CN112260909 B CN 112260909B
Authority
CN
China
Prior art keywords
intelligent
information
equipment
installation
list
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
CN202011126451.1A
Other languages
Chinese (zh)
Other versions
CN112260909A (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.)
Shenzhen Oribo Technology Co Ltd
Original Assignee
Shenzhen Oribo 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 Oribo Technology Co Ltd filed Critical Shenzhen Oribo Technology Co Ltd
Priority to CN202011126451.1A priority Critical patent/CN112260909B/en
Publication of CN112260909A publication Critical patent/CN112260909A/en
Application granted granted Critical
Publication of CN112260909B publication Critical patent/CN112260909B/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
    • 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/2823Reporting information sensed by appliance or service execution status of appliance services in a home automation network
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Abstract

The application provides a method and a device for detecting the position of intelligent equipment, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring an installation list, and detecting the current installation position of the first intelligent device according to the installation list; when the current installation position of the first intelligent device is detected to be wrong, acquiring device information of a second intelligent device corresponding to the current installation position in the installation list; comparing the equipment information of the first intelligent equipment with the equipment information of the second intelligent equipment; and when the equipment information of the first intelligent equipment is consistent with the equipment information of the second intelligent equipment, updating the corresponding relation of the current installation position in the installation list. This application is through automatic error correction and update installation manifest when smart machine mounted position is wrong, both can guarantee the normal work of system, further promotes the installation effectiveness again, reduces the human cost.

Description

Intelligent device position detection method and device, electronic device and storage medium
Technical Field
The present disclosure relates to the field of smart home technologies, and in particular, to a method and an apparatus for detecting a location of a smart device, an electronic device, and a storage medium.
Background
Along with the increasing popularization rate of smart homes, a plurality of precisely decorated buildings can select a whole set of smart home equipment, and houses with the same house type can often use the same configuration as the same house type sample house. In order to improve the installation, debugging and configuration efficiency of the intelligent household complete equipment, the intelligent household complete equipment can be produced according to complete set projects, but in the same complete set project, the intelligent equipment of the same type, the same series or even the same color is more, so that in the actual installation process, constructors can mistakenly install the position of the intelligent equipment due to various reasons, and the system can be disordered and can not work normally.
Disclosure of Invention
The application provides a method and a device for detecting the position of an intelligent device, an electronic device and a storage medium to solve the problems.
In a first aspect, the present application provides a method for detecting a location of an intelligent device, where the method includes: acquiring an installation list, and detecting the current position of the first intelligent device according to the installation list; when the current installation position of the first intelligent device is detected to be wrong, acquiring device information of a second intelligent device corresponding to the current installation position in the installation list; comparing the equipment information of the first intelligent equipment with the equipment information of the second intelligent equipment; and when the equipment information of the first intelligent equipment is consistent with the equipment information of the second intelligent equipment, updating the corresponding relation of the current installation position in the installation list.
In a second aspect, the present application provides an apparatus for detecting a location of a smart device, including: the detection module is used for acquiring an installation list and detecting the current position of the first intelligent device according to the installation list; the processing module is used for acquiring the equipment information of the second intelligent equipment corresponding to the current installation position in the installation list when the current installation position of the first intelligent equipment is detected to be wrong; the comparison module is used for comparing the equipment information of the first intelligent equipment with the equipment information of the second intelligent equipment; and the configuration module is used for updating the corresponding relation of the current installation position in the installation list when the equipment information of the first intelligent equipment is consistent with the equipment information of the second intelligent equipment.
In a third aspect, the present application provides an electronic device, comprising: one or more processors; a memory; one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured to perform the above-described method.
In a fourth aspect, the present application provides a computer-readable storage medium having program code stored therein, the program code being invoked by a processor to perform the method described above.
The application provides a method and a device for detecting the position of intelligent equipment, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring an installation list, and detecting the current position of the first intelligent device according to the installation list; when the current installation position of the first intelligent device is detected to be wrong, acquiring device information of a second intelligent device corresponding to the current installation position in the installation list; comparing the equipment information of the first intelligent equipment with the equipment information of the second intelligent equipment; and when the equipment information of the first intelligent equipment is consistent with the equipment information of the second intelligent equipment, updating the corresponding relation of the current installation position in the installation list. The method provided by the application automatically corrects the error and updates the installation list when detecting the error of the installation position of the intelligent device, so that the normal work of the system can be ensured, the installation efficiency can be further improved, and the labor cost is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below. It should be noted that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained by those skilled in the art without inventive effort.
FIG. 1 is a schematic diagram illustrating an application environment provided by an embodiment of the present application;
fig. 2 is a schematic flowchart illustrating a method for detecting a location of a smart device according to an embodiment of the present application;
fig. 3 is a schematic flowchart illustrating a method for detecting a location of a smart device according to another embodiment of the present application;
fig. 4 is a schematic flowchart illustrating a method for detecting a location of a smart device according to still another embodiment of the present application;
fig. 5 shows a block diagram of a structure of an intelligent device position detection apparatus provided in an embodiment of the present application;
fig. 6 shows a block diagram of an electronic device according to an embodiment of the present application for executing a method for detecting a location of a smart device according to an embodiment of the present application;
fig. 7 illustrates a storage unit for storing or carrying a program code implementing the method for detecting a location of a smart device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of the embodiments of the present application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Along with the increasing popularization rate of smart homes, a plurality of precisely decorated buildings can select a whole set of smart home equipment, and houses with the same house type can often use the same configuration as the same house type sample house. In order to improve the installation, debugging and configuration efficiency of the intelligent household suit equipment, the intelligent household suit equipment can be produced according to the suit project, and each house number has a corresponding equipment installation list so as to determine the installation position of each intelligent equipment. However, in the same package project, there are many intelligent devices of the same type, the same series, or even the same color, which results in high similarity among some intelligent devices, and especially when the intelligent devices are installed in a pre-networking manner, the installation position of each intelligent device is preset according to a drawing, so that the situation of wrong installation position of the equipment is still easy to occur in the actual construction and installation process.
Therefore, based on the above problems, the present application provides a method and an apparatus for detecting a location of an intelligent device, an electronic device, and a storage medium, where the method can automatically detect an installation location of the intelligent device, and automatically correct an error and update an installation list when detecting an error in the installation location of the intelligent device, so as to ensure normal operation of a system, further improve installation efficiency, and reduce labor cost.
An application environment to which the present application relates will be described below.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating an application environment according to an embodiment of the present disclosure. The method for detecting the position of the intelligent device provided by the embodiment of the application can be applied to the intelligent home system 10 shown in fig. 1. The smart home system 10 includes a smart home control panel 11, a smart device 12, and a server 13, wherein the smart device 12 may include, but is not limited to, a smart home control panel, a door/window sensor, a smart switch, a lamp, an air conditioner, a curtain, a television, a refrigerator, an electric fan, and the like. The number of the intelligent devices 12 is at least one, and the at least one intelligent device 12 is connected with the intelligent home control panel 11. The smart home control panel 11 and the smart device 12 may be connected through bluetooth, Wireless Fidelity (WI-FI), or ZigBee. The smart home control panel 11 may be used as a user operation inlet, may communicate with and control peripheral household appliances, may access and output text, pictures, and audio/video information in a wireless or wired communication manner, or may forward server-side information to a local or playing device for display, and the like, and may specifically be an intelligent gateway.
Further, in the smart home system 10, a server 13 may be further included, where the server 13 may be a conventional server, or may also be a cloud server, and is not limited in this respect. The number of the intelligent home control panels 11 is at least one, wherein the server 13 can be in communication connection with at least one intelligent home control panel 11 through a wireless network, so as to perform data interaction between the server 13 and the intelligent home control panels 11.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Referring to fig. 2, fig. 2 shows a schematic flow chart of a method for detecting a location of an intelligent device according to an embodiment of the present application, and the method specifically includes the following steps:
s210: and acquiring an installation list, and detecting the current installation position of the first intelligent device according to the installation list.
The installation list refers to a list capable of including all relevant installation information of the smart devices to be installed, and the relevant installation information of the smart devices to be installed included in the installation list may include, but is not limited to, installation location information, device information, configuration information, and the like of the smart devices, for example, the installation list shown in table 1.
TABLE 1
Intelligent device Identity label Mounting position information Device information
A1 X Kitchen cabinet A
A2 Y Parlor A
A3 Z Bedroom A
The installation manifest may include the name of the smart device, an identification, installation location information, and device information. It should be noted that, specific information included in the installation list may be determined according to a situation of the intelligent device to be actually installed, and this embodiment is not particularly limited to this. In addition, the installation list can be built in the intelligent equipment, can also be manually imported into the intelligent equipment, can also be stored in an intelligent household control panel, and can also be stored in a server. Acquiring an installation list, and detecting the current position of the first intelligent device according to the installation list, wherein the process can be that the intelligent device acquires a pre-stored installation list and detects the current position of the first intelligent device according to the installation list; or acquiring an installation list through an intelligent home control panel and detecting the current position of the first intelligent device according to the installation list; the installation list can be obtained through the server, and the current position of the first intelligent device can be detected. Specifically, the current installation position of the first intelligent device can be detected, and the current installation position information of the first intelligent device can be compared with the installation position information of the first intelligent device in the installation list, so that whether the installation position of the first intelligent device is wrong or not can be determined. For example, taking table 1 as an example, if the first smart device is smart device a1, the current installation location of smart device a1 is detected, and it is detected that the current installation location of smart device a1 is a bedroom and the installation location of smart device a1 in the installation list is a kitchen, at this time, it may be determined that the installation location of smart device a1 is incorrect.
S220: and when the current installation position of the first intelligent device is detected to be wrong, acquiring the device information of the second intelligent device corresponding to the current installation position in the installation list.
When detecting that the current installation position of the first intelligent device is wrong, it is described that the current installation position of the first intelligent device is inconsistent with the installation position of the first intelligent device in the installation list, and at this time, device information of the second intelligent device corresponding to the current installation position in the installation list may be obtained, where the device information of the intelligent device may be an identification code, such as a model, capable of identifying a product. The method for acquiring the device information of the second intelligent device corresponding to the current position in the installation list can be automatically acquired by the first intelligent device; or the information can be acquired through an intelligent household control panel; or may be obtained through a server. Specifically, in some embodiments, the device information of the second smart device may be searched in the installation list according to the current installation location of the first smart device, and the device information of the corresponding second smart device may be directly obtained, for example, taking table 1 as an example, when it is detected that the current installation location of the smart device a1 is a bedroom, the corresponding device information may be searched in the installation list according to the bedroom, and the device information of the smart device A3 may be obtained as a. In other embodiments, the identity of the second intelligent device may be searched in the installation list according to the current installation location of the first intelligent device, and the device information corresponding to the second intelligent device may be searched in the installation list according to the identity. For example, taking table 1 as an example, when it is detected that the current installation location of the smart device a1 is a living room, the id of the smart device a2 may be searched in the installation list according to the living room, the id of the smart device a2 may be obtained as Y, and further, the device information of the smart device a2 may be searched in the installation list according to the id Y, and the device information of the smart device a2 may be obtained as a.
S230: and comparing the equipment information of the first intelligent equipment with the equipment information of the second intelligent equipment.
And comparing the equipment information of the first intelligent equipment with the equipment information of the second intelligent equipment, so that whether the equipment information of the first intelligent equipment is consistent with the equipment information of the second intelligent equipment can be judged. The equipment information of the first intelligent equipment is compared with the equipment information of the second intelligent equipment, and the first intelligent equipment can automatically compare the equipment information of the first intelligent equipment with the equipment information of the second intelligent equipment; the two can also be compared through the intelligent household control panel; the two can also be compared by the server. For example, taking table 1 as an example, where smart device a1 is a first smart device, the device information of which is a, and smart device a2 is a second smart device, the device information of which is a, at this time, the device information of smart device a1 is consistent with the device information of smart device a2, and it can be determined that the device information of smart device a1 is consistent with the device information of smart device a 2.
S240: and when the equipment information of the first intelligent equipment is consistent with the equipment information of the second intelligent equipment, updating the corresponding relation of the current installation position in the installation list.
The corresponding relation of the current installation position in the installation list refers to relevant installation information corresponding to the intelligent equipment. When the device information of the first intelligent device is consistent with the device information of the second intelligent device, it is described that the functions or properties of the first intelligent device and the second intelligent device are the same or similar, the first intelligent device can be installed at the current installation position instead of the second intelligent device, instead of being detached again by an installer, and then the second intelligent device is installed again at the current installation position, at this time, the corresponding relation of the current installation position in the installation list can be updated, that is, the relevant installation information of the first intelligent device and the relevant installation information of the second intelligent device in the installation list can be exchanged. The corresponding relation of the current installation position information in the installation list is updated automatically through the first intelligent device; the intelligent home control panel can also be used for updating; the intelligent device can be updated through the server, so that the first intelligent device can directly replace the second intelligent device, the first intelligent device does not need to be detached again through an installer, the second intelligent device is installed again at the current installation position, or the installer needs to adjust the information configuration of the first intelligent device or the second intelligent device through manual operation, fussy software and hardware debugging is carried out, fussy installation steps are reduced, the cost is modified, and the installation time and the cost are saved.
Specifically, please refer to table 2, where smart device a1 is a first smart device, and the current installation location of smart device a1 is detected according to the above method, so as to obtain an installation location error of smart device a1, and obtain that smart device a1 is currently installed in the living room, at this time, the device information of smart device a2 may be searched in the installation list according to the living room, so as to obtain device information of smart device a2 as a, obviously, the device information of smart device a1 and the device information of smart device a2 are matched, at this time, the installation location information of smart device a1 may be exchanged with the installation location information of smart device a2, and further, the configuration information of smart device a1 may be exchanged with the configuration information of smart device a2, so as to obtain an updated installation list shown in table 3.
TABLE 2
Intelligent device Device information Mounting location Configuration information
A1 A Parlor X
A2 A Bedroom Y
TABLE 3
Intelligent device Device information Mounting location Configuration information
A1 A Bedroom Y
A2 A Parlor X
In some embodiments, the installation list is built in the intelligent device, and the installation position of the installation list can be automatically detected by the intelligent device. Specifically, the intelligent device can automatically read an installation list built in the intelligent device and detect the current installation position of the intelligent device according to the installation list; when the current position of the intelligent device is detected to be wrong, further reading the device information of the second intelligent device corresponding to the current installation position in the installation list; automatically comparing the device information with the device information of the second intelligent device; when the device information of the intelligent device is consistent with that of the second intelligent device, the corresponding relation of the current installation position in the installation list built in the intelligent device is automatically updated, and all the installation lists built in the intelligent devices can be synchronously updated through the wireless network.
In still other embodiments, the installation position of the smart device may also be detected through the control panel. Specifically, in some embodiments, the installation list is built in the smart devices, the control panel may be connected to each of the smart devices through a wireless network, and obtain the installation list from one of the smart devices, and then the control panel detects the current installation position of the first smart device according to the installation list; when the current installation position of the first intelligent device is detected to be wrong, acquiring device information of a second intelligent device corresponding to the current installation position in an installation list; further, comparing the equipment information of the first intelligent equipment with the equipment information of the second intelligent equipment; and when the equipment information of the first intelligent equipment is consistent with the equipment information of the second intelligent equipment, updating the corresponding relation of the current installation position in the installation list, and synchronously updating all the installation lists built in the intelligent equipment through a wireless network. In other embodiments, the installation list can be manually imported into the control panel by an installer, and then the control panel detects the current installation position of the first intelligent device according to the installation list; when the current installation position of the first intelligent device is detected to be wrong, acquiring device information of a second intelligent device corresponding to the current installation position in an installation list; further, comparing the equipment information of the first intelligent equipment with the equipment information of the second intelligent equipment; and when the equipment information of the first intelligent equipment is consistent with the equipment information of the second intelligent equipment, updating the corresponding relation of the current installation position in the installation list, and synchronously updating all the installation lists built in the intelligent equipment through a wireless network.
In other embodiments, the installation list is built in the smart device, and the installation position of the smart device may be detected by the cloud server. Specifically, the cloud server can be connected with each intelligent device through a wireless network, acquire an installation list from one of the intelligent devices, and detect the current installation position of the first intelligent device according to the installation list; when the current installation position of the first intelligent device is detected to be wrong, acquiring device information of a second intelligent device corresponding to the current installation position in an installation list; further, comparing the equipment information of the first intelligent equipment with the equipment information of the second intelligent equipment; and when the equipment information of the first intelligent equipment is consistent with the equipment information of the second intelligent equipment, updating the corresponding relation of the current installation position in the installation list, and synchronously updating all the installation lists built in the intelligent equipment through a wireless network.
The method for detecting the position of the intelligent device provided by the embodiment comprises the following steps: acquiring an installation list, and detecting the current installation position of the first intelligent device according to the installation list; when the current installation position of the first intelligent device is detected to be wrong, acquiring device information of a second intelligent device corresponding to the current installation position in an installation list; comparing the equipment information of the first intelligent equipment with the equipment information of the second intelligent equipment; and when the equipment information of the first intelligent equipment is consistent with the equipment information of the second intelligent equipment, updating the corresponding relation of the current installation position in the installation list. Not only can guarantee the normal work of system, can also further promote the installation effectiveness, reduce the human cost.
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating a method for detecting a location of an intelligent device according to another embodiment. The device information may be a model number, and specifically, the method includes the following steps:
s310: acquiring an installation list, and detecting the current installation position of the first intelligent device according to the installation list;
s320: and when the current installation position of the first intelligent device is detected to be wrong, acquiring the device information of the second intelligent device corresponding to the current installation position in the installation list.
For the detailed description of steps S310 to S320, please refer to steps S210 to S220, which are not described herein again.
S330: and comparing the model of the first intelligent device with the model of the second intelligent device.
TABLE 4
Intelligent device Model number Mounting location
A1 A Parlor
A2 A Bedroom
B1 B Kitchen cabinet
The model can mark functions, properties and the like of a product, and the functions, properties and the like of the first intelligent device and the second intelligent device can be judged whether to be the same or similar by comparing the model of the first intelligent device with the model of the second intelligent device, so that whether the first intelligent device can replace the second intelligent device to be installed at the position is determined. For example, taking table 4 as an example, where the model of smart device a1 is a, and the model of smart device B1 is B, the models of smart device a1 and smart device B1 may be compared to determine whether the functions, properties, and the like of smart device a1 and smart device B1 are the same or similar, so as to determine whether smart device a1 can be installed at this location instead of smart device B1.
S340: and when the model of the first intelligent device is consistent with that of the second intelligent device, determining that the device information of the first intelligent device is consistent with that of the second intelligent device.
When the model of the first intelligent device is consistent with that of the second intelligent device, it is stated that the functions, properties, and the like of the first intelligent device and the second intelligent device are the same or similar, the first intelligent device can be installed at the position instead of the second intelligent device, and at this time, it can be determined that the device information of the first intelligent device is consistent with that of the second intelligent device. For example, taking table 4 as an example, where the model of smart device a1 is a, the model of smart device a2 is a, and at this time, the models of smart device a1 and smart device a2 are the same, it may be stated that the functions, properties, and the like of smart device a1 and smart device a2 are the same or similar, and smart device a1 may be installed at this position instead of smart device a2, and at this time, it may be determined that the device information of smart device a1 is the same as the device information of smart device a 2.
S350: and when the equipment information of the first intelligent equipment is consistent with the equipment information of the second intelligent equipment, updating the corresponding relation of the current installation position in the installation list.
For the detailed description of step S350, please refer to step S240, which is not described herein again.
The method for detecting the position of the intelligent device provided by this embodiment can determine whether the model of the first intelligent device is consistent with the model of the second intelligent device by judging whether the model of the first intelligent device is consistent with the model of the second intelligent device, and when the device information of the first intelligent device is consistent with the device information of the second intelligent device, the installation list can be automatically updated without moving the position of the first intelligent device, so that the labor cost is reduced, and the installation efficiency of the intelligent device is improved.
In one embodiment, whether the installation position of the intelligent device is wrong or not is detected, an installation list can be obtained, and the current installation position of the first intelligent device is detected according to the installation list; when the current position of the first intelligent device is detected to be wrong, acquiring device information of a second intelligent device corresponding to the current installation position in the installation list; comparing the equipment information of the first intelligent equipment with the equipment information of the second intelligent equipment; and when the equipment information of the first intelligent equipment is consistent with the equipment information of the second intelligent equipment, updating the corresponding relation of the current installation position in the installation list. Wherein the installation list may include configuration information and installation location information.
TABLE 5
Intelligent device Model number Mounting position information
A1 A Parlor
A2 A Bedroom
In some embodiments, when the device information of the first smart device is consistent with the device information of the second smart device, the corresponding relationship of the current installation position in the installation list is updated. Specifically, the installation position information of the first intelligent device and the installation position information of the second intelligent device in the installation list can be exchanged, so that the new installation position information of the first intelligent device is the current installation position, and the new installation position information of the second intelligent device is the original installation position of the first intelligent device. For example, taking table 5 as an example, where the installation location of smart device a1 in the installation list is a living room, the installation location of smart device a2 in the installation list is a bedroom, and whether the device information of smart device a1 matches the device information of smart device a2 is determined according to the method for determining whether the device information of two smart devices matches in the foregoing description, that is, whether the device information of smart device a1 matches the device information of smart device a2 can be determined by comparing the models of smart device a1 and smart device a2, obviously, the device information of smart device a1 matches the device information of smart device a2, at this time, the installation location information of smart device a1 in the installation list and smart device a2 can be exchanged, so that the new installation location information of smart device a1 is a bedroom, the new installation location information of smart device a2 is a living room, an updated installation list as shown in table 6 may be obtained.
TABLE 6
Intelligent device Model number Mounting position information
A1 A Bedroom
A2 A Parlor
In other embodiments, when the device information of the first smart device is consistent with the device information of the second smart device, the corresponding relationship of the current installation position in the installation list is updated. Specifically, the configuration information of the first intelligent device and the configuration information of the second intelligent device in the installation list may be exchanged, so that the new configuration information of the first intelligent device is the original configuration information of the second intelligent device, and the new configuration information of the second intelligent device is the original configuration information of the first intelligent device. For example, taking table 7 as an example, whether the device information of the smart device a1 matches the device information of the smart device a2 is determined according to the method for determining whether the device information of two smart devices matches in the foregoing description, that is, the models of the smart device a1 and the smart device a2 may be compared to determine whether the device information of the smart device a1 matches the device information of the smart device a2, and obviously, the device information of the smart device a1 matches the device information of the smart device a2, at this time, the configuration information of the smart device a1 and the configuration information of the smart device a2 in the installation list may be exchanged, so that the new configuration information of the smart device a1 is the original configuration information of the smart device a2, the new configuration information of the smart device a2 is the original configuration information of the smart device a1, and the installation list after being updated as shown in table 8 may be obtained.
TABLE 7
Intelligent device Model number Configuration information
A1 A E
A2 A F
TABLE 8
Intelligent device Model number Configuration information
A1 A F
A2 A E
In some embodiments, when the device information of the first smart device is consistent with the device information of the second smart device, the current installation location of the second smart device may be further detected, and when it is detected that the current installation location of the second smart device is the installation location of the first smart device in the installation list, the installation location information and the configuration information of the first smart device and the second smart device may be directly exchanged in the installation list, so that the new installation location information and the new configuration information of the first smart device are the original installation location information and the original configuration information of the second smart device, and the new installation location information and the new configuration information of the second smart device are the new installation location information and the new configuration information of the first smart device.
The intelligent device position detection method provided by this embodiment can further compare the device information of the first intelligent device with the device information of the second intelligent device when detecting that the installation position of the first intelligent device is wrong, and can update the corresponding relationship of the current installation position in the installation list when the device information of the first intelligent device is consistent with the device information of the second intelligent device, without moving the position of the first intelligent device, so that the time for removingthe installation of the intelligent device is saved, the installation efficiency of the intelligent device is improved, and the labor cost is saved.
In one embodiment, whether the installation position of the intelligent device is wrong or not is detected, an installation list can be obtained, and the current installation position of the first intelligent device is detected according to the installation list; when the current position of the first intelligent device is detected to be wrong, acquiring device information of a second intelligent device corresponding to the current installation position in the installation list; comparing the equipment information of the first intelligent equipment with the equipment information of the second intelligent equipment; and when the equipment information of the first intelligent equipment is consistent with the equipment information of the second intelligent equipment, updating the corresponding relation of the current installation position in the installation list. Referring to fig. 4, a method for detecting a current installation position of a first smart device according to an installation list may include identification information and installation position information of the smart device, where fig. 4 shows an exemplary flowchart of a method for detecting a position of the smart device according to another embodiment of the present application, where the method includes:
s410: and acquiring an installation list, and searching installation position information corresponding to the first intelligent equipment in the installation list according to the identity identification information of the first intelligent equipment.
For a detailed description of obtaining the installation list, please refer to the foregoing content, the identification information of the smart device may be information that can uniquely identify the smart device, such as a MAC address, a serial number, and a version number, and then, taking the case where the identification information is a MAC address as an example, how to search for the installation location information corresponding to the first smart device in the installation list according to the identification information of the first smart device will be described. Specifically, taking table 9 as an example, where the MAC address of the smart device B1 in the installation list is R and the installation location is a kitchen, the installation location information corresponding to the smart device B1 in the installation list can be found as the kitchen according to the MAC address (i.e., R) of the smart device B1.
TABLE 9
Intelligent device MAC address Mounting location
A1 W Bedroom
B1 R Kitchen cabinet
S420: and judging whether the installation position information corresponding to the first intelligent equipment is consistent with the current installation position of the first intelligent equipment.
The installation position information corresponding to the first intelligent equipment refers to the corresponding installation position of the first intelligent equipment in the installation list, and the current installation position of the first intelligent equipment can be automatically located and obtained through the first intelligent equipment; or the distance between the first intelligent device and the intelligent home control panel may also be measured through a sensor, WIFI, infrared rays, or the like, and the current installation position of the first intelligent device is further determined according to the distance, for example, when the distance between the first intelligent device and the intelligent device is measured to be 1, the current installation position of the first intelligent device may be determined to be a kitchen, when the distance is 2, the current installation position of the first intelligent device may be determined to be a bedroom, and when the distance is 3, the current installation position of the first intelligent device may be determined to be a living room. Next, taking table 9 as an example, it is described how to determine whether the installation position information corresponding to the first smart device is consistent with the current installation position information of the first smart device, and as can be seen from table 9, the installation position of the smart device B1 in the installation list is a kitchen, that is, the kitchen and the current installation position of the smart device B1 can be compared to determine whether the current installation position of the smart device B1 is consistent with the kitchen.
S430: and when the installation position information corresponding to the first intelligent equipment is inconsistent with the current installation position of the first intelligent equipment, determining that the current installation position of the first intelligent equipment is wrong.
When the installation position information corresponding to the first smart device is inconsistent with the current installation position of the first smart device, it indicates that the first smart device is not installed in the installation list, but is installed elsewhere, and at this time, it may be determined that the current installation position of the first smart device is incorrect, for example, taking table 9 as an example, where the installation position of the smart device B1 in the installation list is a kitchen, and when the current installation position of the smart device B1 is inconsistent with the kitchen, it indicates that the smart device B1 is not installed in the kitchen, and at this time, it may be determined that the current installation position of the smart device B1 is incorrect.
According to the intelligent device position detection method provided by the embodiment, the installation list is firstly obtained, and then the current installation position of the intelligent device can be detected according to the installation list, so that whether the current installation position of the intelligent device is wrong or not is determined, the installation position of the intelligent device can be automatically detected, the labor cost is saved, and the installation efficiency is improved.
In all the above embodiments, determining whether the device information of the first smart device matches the device information of the second smart device further includes: when the equipment information of the first intelligent equipment is not matched with the equipment information of the second intelligent equipment, prompt information is sent, and the prompt information can be used for prompting that the installation position of the first intelligent equipment is wrong and displaying the correct installation position of the first intelligent equipment.
In some embodiments, the manner of displaying the prompting message may be a manner of sending a prompting voice, for example, when the device information of the first smart device does not match the device information of the second smart device, the following may be sent: "wrong current device installation location, the device should be installed … …, please adjust! "
In other embodiments, the manner of displaying the prompt information may also be a manner of displaying with a text, an image, or a video, and the specific content of the display may refer to the foregoing content, which is not described herein in detail.
Referring to fig. 5, fig. 5 is a block diagram illustrating a module of an apparatus 500 for detecting a location of an intelligent device according to an embodiment of the present application, where the apparatus 500 for detecting a location of an intelligent device includes: a detection module 510, a processing module 520, a comparison module 530, and a configuration module 540, wherein:
the detecting module 510 is configured to obtain an installation list, and detect a current installation position of the first smart device according to the installation list.
Further, the installation list includes identification information and installation location information of the smart device, and the detection module 510 includes: the data acquisition submodule, the mounting position judgment submodule and the mounting position determination submodule, wherein:
and the data acquisition submodule is used for acquiring the installation list and searching the installation position information corresponding to the first intelligent equipment in the installation list according to the identity identification information of the first intelligent equipment.
And the installation position judgment submodule is used for judging whether the installation position information corresponding to the first intelligent equipment is consistent with the current installation position of the first intelligent equipment.
And the installation position determining submodule is used for determining that the current installation position of the first intelligent device is wrong when the installation position information corresponding to the first intelligent device is inconsistent with the current installation position of the first intelligent device.
Further, the detection module 510 further includes: read data submodule and mounted position detection submodule, wherein:
and the data reading sub-module is used for reading an installation list, and the installation list is built in the first intelligent device.
And the installation position detection submodule is used for detecting the current installation position of the first intelligent device according to the installation list.
The processing module 520 is configured to, when it is detected that the current installation location of the first intelligent device is incorrect, obtain device information of the second intelligent device corresponding to the current installation location in the installation list.
A comparing module 530, configured to compare the device information of the first smart device with the device information of the second smart device.
Further, the device information includes a model, and the comparing module 530 includes: the model comparison submodule and the equipment information comparison submodule, wherein:
and the model comparison submodule is used for comparing the model of the first intelligent device with the model of the second intelligent device.
And the equipment information matching sub-module is used for determining that the equipment information of the first intelligent equipment is consistent with the equipment information of the second intelligent equipment when the model of the first intelligent equipment is consistent with the model of the second intelligent equipment.
The configuration module 540 is configured to update the corresponding relationship of the current installation position in the installation list when the device information of the first intelligent device is consistent with the device information of the second intelligent device.
Further, the installation list includes installation location information, and the configuration module 540 includes: a mounting position adjustment submodule, wherein:
and the installation position adjusting submodule is used for interchanging the installation position information of the first intelligent equipment and the second intelligent equipment in the installation list when the equipment information of the first intelligent equipment is consistent with the equipment information of the second intelligent equipment, so that the new installation position information of the first intelligent equipment is the current installation position, and the new installation position information of the second intelligent equipment is the original installation position information of the first intelligent equipment.
Further, the installation manifest includes configuration information, and the configuration module 540 includes: a configuration information adjustment submodule, wherein:
and the configuration information adjusting submodule is used for exchanging the configuration information of the first intelligent device and the second intelligent device in the installation list when the device information of the first intelligent device is consistent with the device information of the second intelligent device, so that the new configuration information of the first intelligent device is the original configuration information of the second intelligent device, and the new configuration information of the second intelligent device is the original configuration information of the first intelligent device.
Further, the intelligent device position detecting apparatus 500 further includes: a prompt display module, wherein:
and the prompt display module is used for sending prompt information when the equipment information of the first intelligent equipment is inconsistent with the equipment information of the second intelligent equipment, and the prompt information is used for prompting the first intelligent equipment to be installed wrongly and displaying the correct installation position of the first intelligent equipment.
It can be clearly understood by those skilled in the art that the intelligent device position detection apparatus provided in the embodiment of the present application can implement each process in the foregoing method embodiment, and the specific working processes of the apparatus and the module described above may refer to corresponding processes in the foregoing method embodiment, and are not described in detail herein.
In the embodiments provided in this application, the coupling, direct coupling or communication connection between the modules shown or discussed may be an indirect coupling or communication coupling through some interfaces, devices or modules, and may be in an electrical, mechanical or other form, and the embodiments of this application are not limited to this specifically.
In addition, each functional module in the embodiments of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The integrated module can be realized in a form of hardware, and can also be realized in a form of a functional module of software.
Referring to fig. 6, fig. 6 is a block diagram illustrating an electronic device 600 according to an embodiment of the present disclosure. The electronic device may be an intelligent device, a control panel, a server, or other electronic device. The electronic device 600 in the present application may include one or more of the following components: a processor 610, a memory 620, and one or more applications, wherein the one or more applications may be stored in the memory 620 and configured to be executed by the one or more processors 610, the one or more programs configured to perform the methods as described in the aforementioned method embodiments.
A processor may include one or more processing cores. The processor 610, using various interfaces and connections throughout the various parts of the electronic device 600, executes or executes instructions, programs, code sets, or instruction sets stored in the memory 620, as well as invokes execution or execution of data stored in the memory 620, performing various functions of the electronic device 600 and processing the data. Alternatively, the processor 610 may be implemented in hardware using at least one of Digital Signal Processing (DSP), field-programmable gate array (FPGA), and Programmable Logic Array (PLA). The processor 610 may integrate one or a combination of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), and a modem. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 610, but may be implemented by a communication chip.
The memory 620 may include a Random Access Memory (RAM) or a read-only memory (ROM). The memory 620 may be used to store instructions, programs, codes, code sets or instruction sets, and the memory 620 may include a program storage area and a data storage area, wherein the storage programmer may store instructions for implementing an operating system, instructions for implementing at least one function, instructions for implementing the various method embodiments described above, and the like. The storage data area may store data created in use by the electronic device 600, and the like.
Referring to fig. 7, fig. 7 is a block diagram illustrating a computer-readable storage medium according to an embodiment of the present disclosure. The computer-readable storage medium 700 has stored therein program code that can be invoked by a processor to perform the methods described in the method embodiments above.
The computer-readable storage medium 700 may be an electronic memory such as a flash memory, an electrically-erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a hard disk, or a ROM. Alternatively, the computer-readable storage medium 700 includes a non-volatile computer-readable storage medium. The computer readable storage medium 700 has storage space for program code 710 for performing any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 710 may be compressed, for example, in a suitable form.
To sum up, the method, the apparatus, the electronic device and the storage medium for detecting the position of the smart device provided by the present application include: acquiring an installation list, and detecting the current position of the first intelligent device according to the installation list; when the error of the installation position of the first intelligent equipment is detected, equipment information of second intelligent equipment corresponding to the current installation position in the installation list is obtained; judging whether the equipment information of the first intelligent equipment is matched with the equipment information of the second intelligent equipment; and when the equipment information of the first intelligent equipment is matched with the equipment information of the second intelligent equipment, updating the corresponding relation of the current installation position in the installation list. The application provides a smart machine position detection method, through when detecting smart machine's mounted position error, error correction by oneself and update installation list both can guarantee that the system normally works, can also further promote the installation effectiveness, reduce the human cost.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A method for detecting the position of an intelligent device is characterized by comprising the following steps:
acquiring an installation list, and detecting the current installation position of the first intelligent device according to the installation list;
when the current installation position of the first intelligent device is detected to be wrong, acquiring device information of a second intelligent device corresponding to the current installation position in the installation list;
comparing the equipment information of the first intelligent equipment with the equipment information of the second intelligent equipment; and when the equipment information of the first intelligent equipment is consistent with the equipment information of the second intelligent equipment, updating the corresponding relation of the current installation position in the installation list.
2. The method of claim 1, wherein the device information includes a model number, and the comparing the device information of the first smart device and the device information of the second smart device includes:
comparing the model of the first intelligent device with the model of the second intelligent device;
and when the model of the first intelligent device is consistent with the model of the second intelligent device, determining that the device information of the first intelligent device is consistent with the device information of the second intelligent device.
3. The method of claim 1, wherein the installation list includes installation location information, and wherein updating the relationship of the current installation location in the installation list when the device information of the first smart device is consistent with the device information of the second smart device comprises:
and when the equipment information of the first intelligent equipment is consistent with the equipment information of the second intelligent equipment, exchanging the installation position information of the first intelligent equipment and the second intelligent equipment in the installation list, so that the new installation position information of the first intelligent equipment is the current installation position, and the new installation position information of the second intelligent equipment is the original installation position information of the first intelligent equipment.
4. The method of claim 1, wherein the installation list comprises configuration information, and the updating the corresponding relationship of the current installation position in the installation list when the device information of the first smart device is consistent with the device information of the second smart device comprises:
and when the device information of the first intelligent device is consistent with the device information of the second intelligent device, exchanging the configuration information of the first intelligent device and the second intelligent device in the installation list, so that the new configuration information of the first intelligent device is the original configuration information of the second intelligent device, and the new configuration information of the second intelligent device is the original configuration information of the first intelligent device.
5. The method according to any one of claims 1-4, characterized in that the method comprises:
and when the equipment information of the first intelligent equipment is inconsistent with the equipment information of the second intelligent equipment, sending prompt information, wherein the prompt information is used for prompting that the first intelligent equipment is installed wrongly and displaying the correct installation position of the first intelligent equipment.
6. The method according to any one of claims 1 to 4, wherein the installation list includes identification information and installation location information of the smart device, and the obtaining the installation list and detecting the current installation location of the first smart device according to the installation list comprises:
acquiring an installation list, and searching installation position information corresponding to the first intelligent equipment in the installation list according to the identity information of the first intelligent equipment;
judging whether the installation position information corresponding to the first intelligent equipment is consistent with the current installation position of the first intelligent equipment or not;
and when the installation position information corresponding to the first intelligent equipment is inconsistent with the current installation position of the first intelligent equipment, determining that the current installation position of the first intelligent equipment is wrong.
7. The method according to any one of claims 1-4, wherein the obtaining an installation list and detecting the current location of the first smart device according to the installation list comprises:
reading an installation list, wherein the installation list is built in first intelligent equipment;
and detecting the current installation position of the first intelligent device according to the installation list.
8. The utility model provides a smart machine position detection device which characterized in that includes:
the detection module is used for acquiring an installation list and detecting the current installation position of the first intelligent device according to the installation list;
the processing module is used for acquiring the equipment information of the second intelligent equipment corresponding to the current installation position in the installation list when the current installation position of the first intelligent equipment is detected to be wrong;
the comparison module is used for comparing the equipment information of the first intelligent equipment with the equipment information of the second intelligent equipment;
and the configuration module is used for updating the corresponding relation of the current installation position in the installation list when the equipment information of the first intelligent equipment is consistent with the equipment information of the second intelligent equipment.
9. An electronic device, comprising:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured to perform the method of any of claims 1-7.
10. A computer-readable storage medium, having stored thereon program code that can be invoked by a processor to perform the method according to any one of claims 1 to 7.
CN202011126451.1A 2020-10-20 2020-10-20 Intelligent device position detection method and device, electronic device and storage medium Active CN112260909B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011126451.1A CN112260909B (en) 2020-10-20 2020-10-20 Intelligent device position detection method and device, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011126451.1A CN112260909B (en) 2020-10-20 2020-10-20 Intelligent device position detection method and device, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN112260909A CN112260909A (en) 2021-01-22
CN112260909B true CN112260909B (en) 2021-12-21

Family

ID=74245688

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011126451.1A Active CN112260909B (en) 2020-10-20 2020-10-20 Intelligent device position detection method and device, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN112260909B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104991455A (en) * 2015-05-22 2015-10-21 南通航大电子科技有限公司 Member self-adaptive adjusting method of intelligent household system
CN105242552A (en) * 2015-09-22 2016-01-13 小米科技有限责任公司 Installation guide method and device
CN107342901A (en) * 2017-07-14 2017-11-10 山西阳光和煦信息科技有限公司 A kind of electronic equipment mounting arrangements identification record method
CN109412913A (en) * 2018-12-17 2019-03-01 Oppo广东移动通信有限公司 Control method, device, storage medium and the terminal of smart home device
CN111246162A (en) * 2019-12-09 2020-06-05 北京金风科创风电设备有限公司 Position correction method and device for tower clearance monitoring equipment of wind generating set
CN111612448A (en) * 2020-05-07 2020-09-01 深圳市欧瑞博科技股份有限公司 Intelligent renting continuation method and device and electronic equipment
CN111611023A (en) * 2020-04-28 2020-09-01 百度在线网络技术(北京)有限公司 Control method and device of intelligent equipment, electronic equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104991455A (en) * 2015-05-22 2015-10-21 南通航大电子科技有限公司 Member self-adaptive adjusting method of intelligent household system
CN105242552A (en) * 2015-09-22 2016-01-13 小米科技有限责任公司 Installation guide method and device
CN107342901A (en) * 2017-07-14 2017-11-10 山西阳光和煦信息科技有限公司 A kind of electronic equipment mounting arrangements identification record method
CN109412913A (en) * 2018-12-17 2019-03-01 Oppo广东移动通信有限公司 Control method, device, storage medium and the terminal of smart home device
CN111246162A (en) * 2019-12-09 2020-06-05 北京金风科创风电设备有限公司 Position correction method and device for tower clearance monitoring equipment of wind generating set
CN111611023A (en) * 2020-04-28 2020-09-01 百度在线网络技术(北京)有限公司 Control method and device of intelligent equipment, electronic equipment and storage medium
CN111612448A (en) * 2020-05-07 2020-09-01 深圳市欧瑞博科技股份有限公司 Intelligent renting continuation method and device and electronic equipment

Also Published As

Publication number Publication date
CN112260909A (en) 2021-01-22

Similar Documents

Publication Publication Date Title
US20160174268A1 (en) Smart home controller and communication method thereof
CN109587018B (en) Equipment configuration method, device, network system and mobile terminal
US11782590B2 (en) Scene-operation method, electronic device, and non-transitory computer readable medium
WO2020124958A1 (en) Firmware upgrading method and apparatus, and computer readable storage medium
CN110618614A (en) Control method and device for smart home, storage medium and robot
WO2017219983A1 (en) Method and terminal for acquiring application program between terminals
CN107545875B (en) Configuration method, device, terminal and machine-readable storage medium
CN111965989B (en) System updating method and device, intelligent home control panel and storage medium
CN109856980B (en) Intelligent household equipment recommendation method and device, Internet of things system and cloud server
CN111415016A (en) Household appliance fault processing method, terminal, server and readable storage medium
EP3104553A1 (en) Method for controlling multiple devices connected via network
CN109974233B (en) Control method, control device, air conditioner system and storage medium
CN112260909B (en) Intelligent device position detection method and device, electronic device and storage medium
CN112413826B (en) Device configuration method and device, electronic device and storage medium
CN110794773A (en) Click-type scene creating method and device
WO2024078191A1 (en) Load setting method, apparatus and system
CN110703614B (en) Voice control method and device, semantic network construction method and device
CN109407526B (en) Equipment detection method and device and household appliance
CN111953573B (en) Equipment distribution network processing method, equipment distribution network processing device and intelligent panel
CN116245596A (en) Article recommendation method and device, electronic equipment and storage medium
WO2020034521A1 (en) Display method and apparatus, terminal and readable storage medium
CN112039733B (en) Equipment position detection method, equipment position detection device and intelligent panel
CN105338031A (en) Intelligent terminal operating system based affair reminding method, and intelligent terminal
CN115167161A (en) Method and device for determining association relation of lamp, storage medium and electronic device
CN114326420A (en) Intelligent grouping method and device for equipment, intelligent equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant