CN109709818B - Equipment control method, device, system and medium - Google Patents
Equipment control method, device, system and medium Download PDFInfo
- Publication number
- CN109709818B CN109709818B CN201910019671.5A CN201910019671A CN109709818B CN 109709818 B CN109709818 B CN 109709818B CN 201910019671 A CN201910019671 A CN 201910019671A CN 109709818 B CN109709818 B CN 109709818B
- Authority
- CN
- China
- Prior art keywords
- fence
- geo
- control
- information
- range
- 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
Images
Landscapes
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the application discloses a method, a device, a system and a medium for controlling equipment, wherein the method comprises the following steps: reading control mode information corresponding to the geo-fence and identification information of equipment located in the range of the geo-fence from a geo-fence database, wherein the control mode information is used for indicating specified equipment in the geo-fence to enter a specified working state; and controlling the specified equipment within the range of the geo-fence to enter a specified working state through the platform of the Internet of things according to the control mode information corresponding to the geo-fence and the identification information of the equipment within the range of the geo-fence. The equipment control method is based on the geo-fencing technology and the Internet of things platform, flexible control over equipment is achieved, space interactivity of equipment control is improved, and intellectualization of the equipment control is achieved.
Description
Technical Field
The present application relates to the field of intelligent control technologies, and in particular, to a method, an apparatus, a system, and a medium for controlling a device based on a geo-fence.
Background
At present, in many buildings such as office buildings, shopping malls, residential buildings and the like, a large number of devices such as lighting devices, air conditioning devices, air purification devices, ventilation devices, projection devices and the like are deployed, and in practical applications, the operation of the devices is basically controlled based on a traditional control mode, and the traditional control mode is described by taking the control mode of the lighting devices as an example.
At present, a lighting device control system can only provide two control modes, one mode is to control the device through an intelligent lamp control panel, and the other mode is to control the device through a wireless remote controller such as a mobile phone infrared remote controller. However, the two control methods are limited by real geographic space, a user can only control a specific lighting device in a specific area, the spatial interactivity is poor, once the lighting device control system is customized, the control logic is difficult to change, the expansibility is poor, and the user cannot flexibly control the lighting device according to the actual control requirement.
Therefore, the traditional equipment control mode cannot meet the actual service requirement, and based on this, a new control scheme needs to be researched urgently at present to intelligently control the equipment and meet the control requirement of strong space interaction.
Disclosure of Invention
The embodiment of the application provides a device control method, a device, a system and a medium, which are used for controlling the working state of a device based on a geo-fence technology and an Internet of things platform, so that the device control is intelligent, and the space interactivity of the device control is improved.
In view of this, a first aspect of the present application provides an apparatus control method, including:
reading control mode information corresponding to a geo-fence and identification information of equipment located within the range of the geo-fence from a geo-fence database, wherein the control mode information is used for indicating specified equipment located within the range of the geo-fence to enter a specified working state;
and controlling the specified equipment positioned in the range of the geo-fence to enter a specified working state through an Internet of things platform according to the control mode information corresponding to the geo-fence and the identification information of the equipment positioned in the range of the geo-fence.
A second aspect of the present application provides an apparatus for controlling a device, the apparatus comprising:
the device comprises a reading module, a processing module and a display module, wherein the reading module is used for reading control mode information corresponding to a geo-fence and identification information of devices located in the range of the geo-fence from a geo-fence database, and the control mode information is used for indicating that a specified device located in the range of the geo-fence is controlled to enter a specified working state;
and the control module is used for controlling the working state of the equipment within the range of the geo-fence through the Internet of things platform according to the control mode information corresponding to the geo-fence and the identification information of the equipment within the range of the geo-fence.
A third aspect of the application provides an apparatus comprising a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to perform the steps of the device control method according to the first aspect as described above, according to instructions in the program code.
A fourth aspect of the present application provides an apparatus control system, comprising: the system comprises an equipment operation system, an Internet of things platform and a geo-fence server;
the device operating system comprises a plurality of devices in network communication with the physical network platform;
the geo-fence server is used for reading control mode information corresponding to geo-fences and identification information of equipment located in a geo-fence range from a geo-fence database, wherein the control mode information is used for indicating designated equipment located in the geo-fence range to enter a designated working state, and controlling the working state of the equipment located in the geo-fence range through the Internet of things platform according to the control mode information corresponding to the geo-fences and the identification information of the equipment located in the geo-fence range.
A fifth aspect of the present application provides a computer-readable storage medium for storing program code for executing the apparatus control method of the first aspect described above.
According to the technical scheme, the embodiment of the application has the following advantages:
the embodiment of the application provides an equipment control method, a user can set and store a geo-fence range and control mode information corresponding to a geo-fence through a geo-fence server according to actual requirements, based on the method, when the geo-fence server controls an equipment operation system, the control mode information corresponding to the geo-fence and identification information of equipment located in the geo-fence range are read from a geo-fence database, and then specified equipment located in the geo-fence range is controlled to enter a specified working state through an Internet of things platform according to the control mode information corresponding to the geo-fence and the identification information of the equipment located in the geo-fence range; therefore, the method is based on the geo-fence technology and the Internet of things technology, provides a more convenient device control mode for the user, facilitates the user to remotely control the devices within the geo-fence range, enables the user to control the devices to be not limited by the real geo-space and the initial control logic of the devices any more, and improves the space interactivity of the devices.
Drawings
Fig. 1 is a schematic structural diagram of an apparatus control system according to an embodiment of the present application;
fig. 2 is a schematic flowchart of an apparatus control method according to an embodiment of the present application;
fig. 3 is a flowchart illustrating a maintenance method of a geo-fence database according to an embodiment of the present application;
fig. 4 is a schematic diagram of map information of an apparatus operation system according to an embodiment of the present application;
fig. 5 is a flowchart illustrating a method for updating geo-fence related information according to an embodiment of the present application;
fig. 6 is a schematic view of an application scenario of the device control method according to the embodiment of the present application;
fig. 7 is a schematic structural diagram of a first device control apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a second apparatus control device according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a third device control apparatus according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a fourth apparatus control device according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a fifth apparatus control device according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a sixth apparatus control device according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of a seventh apparatus control device according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of an eighth apparatus control device according to an embodiment of the present application;
fig. 15 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, 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, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In the existing equipment control method, limited by the real geographic space where the equipment is located, a user can only control the equipment in a specific area generally, and the space interactivity is poor; in addition, once the customization of the equipment control system is completed, the control logic of the equipment control system cannot be changed, a user can only control the equipment according to the initially customized control logic, and the flexibility of the equipment control is extremely low.
In view of the technical problems in the prior art, an embodiment of the application provides an equipment control method, which controls the working state of equipment based on a geo-fencing technology and an internet of things platform, so that the equipment control is intelligent, and the space interactivity of the equipment control is improved.
It should be understood that the device control method provided in the embodiment of the present application is generally applied to a geo-fence server, where the geo-fence server may specifically be an application server or a web server, and when the geo-fence server is deployed in actual application, the geo-fence server may be an independent server or a cluster server, and the geo-fence server may simultaneously control devices within a plurality of geo-fence ranges.
In order to facilitate understanding of the device control method provided in the embodiment of the present application, the device control method is introduced below with reference to an actual application scenario, and a device control system applying the device control method is introduced at the same time.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an apparatus control system provided in an embodiment of the present application. The device control system comprises a device operation system 101, an internet of things platform 102 and a geo-fence server 103.
The device operation system 101 includes a plurality of devices, the devices may perform network communication with the internet of things platform 102, and the devices are divided into geographic fence ranges according to actual needs of users, as shown in fig. 1, each virtual coil in the device operation system 101 represents only one geographic fence, and devices in the same virtual coil are devices belonging to the same geographic fence.
It should be noted that the device shown in fig. 1 is only an example, and the device operation system 101 in fig. 1 may be understood as a lighting system, and of course, in practical applications, the device operation system 101 may include an air conditioning device, an air purifying device, a ventilating device, a projecting device, and the like, in addition to the lighting device; the devices are installed with specific information sensing devices, and based on the information sensing devices, the devices in the device operating system 101 can perform network communication with the internet of things platform 102.
The internet of things platform 102 is an internet platform supporting the internet connection, and may correspondingly issue a control instruction to each device in the device operating system 101 through an information sensing device disposed on the device, or obtain working state information of each device in the device operating system 101.
In practical applications, a user may set, through the geo-fence server 103, geo-fence related information, such as geo-fence range information, geo-fence control mode information, identification information of devices located within the geo-fence range, and the like, so that the geo-fence server 103 can correspondingly control devices within various geo-fence ranges based on the geo-fence related information set by the user, where the devices within the geo-fence range are devices in the device operating system 101.
When the geo-fence server 103 controls the devices within the geo-fence range, the geo-fence server 103 reads the control mode information corresponding to the geo-fence and the identification information of the devices within the geo-fence range from the geo-fence database, and then controls the designated devices within the geo-fence range to enter a designated working state through the internet of things platform 102 according to the control mode information corresponding to the geo-fence and the identification information of the devices within the geo-fence range.
It should be understood that after the user completes setting the geo-fence related information, such as the geo-fence range information, the control mode information of the geo-fence, and the identification information of the devices located in the geo-fence range, through the geo-fence server 103, the geo-fence server 103 correspondingly stores the geo-fence related information set by the user in the geo-fence database; the geo-fence database may be stored in the geo-fence server 103 or may be stored in another device independent of the geo-fence server 103.
It should be noted that the geofence range and the control information corresponding to the geofence may be set and changed at will according to the actual needs of the user, so in practical applications, the user may change the geofence range and the control information corresponding to the geofence at any time according to the actual needs of the user, and the control of each device in the device operating system 101 is not limited to the real geographic space and the initial control logic of the device, so that the control of the device has a very strong spatial interactivity; in addition, each device in the device operating system 101 can correspondingly enter a designated working state under the control of the geo-fence server 103, and the control process does not need the participation of a user, thereby realizing the intellectualization of device control.
The following describes a device control method provided by the present application by way of example.
Referring to fig. 2, fig. 2 is a schematic flowchart of an apparatus control method according to an embodiment of the present application. For convenience of description, the following embodiments describe the scheme with the geo-fence server as the execution subject. As shown in fig. 2, the apparatus control method includes the steps of:
step 201: control mode information corresponding to the geofence and identification information of devices within range of the geofence are read from a geofence database.
Geo-Fencing (Geo-Fencing) is an application of Location Based Service (LBS) that uses a virtual fence to enclose a virtual geographic boundary, which can be changed accordingly according to the actual needs of users; as the virtual geographic boundary changes, the devices within the geofence range change accordingly.
When a geo-fence server needs to control equipment within a geo-fence range, the geo-fence server reads control mode information corresponding to the geo-fence range and identification information of the equipment within the geo-fence range from a geo-fence database; the control mode information is used for indicating the designated equipment located in the geofence range to enter a designated working state, the identification information of the equipment is specifically the identity of the equipment in the geofence range, and the equipment identified by the identification information of the equipment can be uniquely determined according to the identification information of the equipment.
It should be understood that the aforementioned geo-fence database typically stores a large amount of geo-fence related information, i.e., for different geo-fences, control mode information corresponding to each geo-fence and identification information of devices within the range of the geo-fence are stored, and the geo-fence related information is typically set by a user through a geo-fence server in advance.
It should be noted that, when a user sets control mode information of a geofence through a geofence server, it is usually necessary to set corresponding start times for different control mode information, so that when it is detected that the start time corresponding to a certain control mode information arrives, the geofence server reads the control mode information and device control information within the geofence range from the geofence database, and accordingly controls the devices within the geofence range according to the control mode information.
It should be noted that the control mode information is usually different for different application situations. Taking control of lighting devices in an office building as an example, control mode information may be specifically divided into office mode information, rest mode information, work-off mode information, weekend mode information, and the like, corresponding to different application situations, where the office mode information may be used to instruct and control lighting devices located within a geofence range to be in a light-on state within a specified working time, the rest mode information may be used to instruct and control lighting devices located within the geofence range and above a station to be in a light-off state within a specified rest time, the work-off mode information may be used to instruct and control lighting devices located within the geofence range and above a station with a person to be in a light-on state within a work-off time, and the weekend mode information may be used to instruct and control all devices located within the geofence range to be in a light-off state.
In addition, the control mode information is different under different application scenes; for example, for an application scenario for controlling lighting devices in an office building and for an application scenario for controlling lighting devices in a shopping mall, there is usually a great difference between the control mode information for indicating the control of the lighting devices in the office building and the control mode information for indicating the control of the lighting devices in the shopping mall. Further, when the types of devices to be controlled are different, the control mode information is also correspondingly greatly different, for example, the control mode information for instructing to control the lighting devices generally indicates the switches of the lighting devices and the brightness of the lighting devices, and the control mode information for instructing to control the air-conditioning devices generally indicates the switches of the air-conditioning devices and the temperature, wind speed, and the like.
In summary, the user can set or select the control mode information according to the actual requirements of the user, in combination with the conditions of the actual application scenario, the application situation, the application device, and the like, without specifically limiting the control mode information.
It should be noted that the identification information of the device may specifically be a device identifier carried by the device itself when the device leaves a factory, such as an identity number of the device, and may also be a specific installation location of the device, such as a longitude and latitude where the device is located, that is, information capable of uniquely identifying the device may be used as the identification information of the device, where the type of the identification information of the device is not specifically limited.
Step 202: and controlling the specified equipment positioned in the range of the geo-fence to enter a specified working state through the platform of the Internet of things according to the control mode information corresponding to the geo-fence and the identification information of the equipment positioned in the range of the geo-fence.
After the geo-fence server reads out the control information corresponding to the geo-fence and the identification information of the devices located within the range of the geo-fence from the geo-fence database, the geo-fence server further controls the designated devices related to the control mode information through the internet of things platform according to the control mode information corresponding to the geo-fence and the identification information of the devices located within the range of the geo-fence, so that the designated devices enter designated working states related to the control mode information.
During specific implementation, after reading control mode information corresponding to the geo-fence and identification information of equipment located in the range of the geo-fence, the geo-fence server correspondingly generates a control instruction corresponding to the specified equipment according to the control mode information and the identification information of the equipment, and the control instruction can correspondingly control the specified equipment to enter a specified working state; and then, the geo-fence server sends the control instruction corresponding to each designated device to the Internet of things platform through the network, and the Internet of things platform further sends the control instruction to each designated device correspondingly, so that each designated device correspondingly enters a designated working state according to the control instruction.
Taking control over lighting devices in an office area (the office area is regarded as a geo-fence) as an example, when starting time corresponding to office mode information of the office area is detected, the geo-fence server correspondingly reads the office mode information corresponding to the office area and device identifiers of the lighting devices in the office area from a geo-fence database, wherein the office mode information is used for indicating and controlling all the lighting devices in the office area to enter a light-up state; correspondingly, the geo-fence server takes all lighting equipment in an office area as designated equipment, and generates corresponding control instructions for the lighting equipment, wherein the control instructions are used for controlling the lighting equipment to enter a lighting state; the geo-fence server sends the control instruction corresponding to each designated device to the Internet of things platform, and the Internet of things platform further sends each control instruction to each lighting device in the office area respectively, so that each lighting device in the office area enters a light-on state.
It should be noted that, in practical application, the internet of things platform may also generate a control instruction corresponding to the specified device according to the control mode information and the identification information of the device; that is, the geo-fence server can directly send the control mode information and the identification information of the device read from the geo-fence database to the internet of things platform, and the internet of things platform correspondingly generates a control instruction corresponding to the specified device related in the control mode information according to the control mode information and the identification information of the device, and then correspondingly issues the control instruction generated by the internet of things platform to the specified device within the geo-fence range.
Optionally, the geofence server may further receive a working state monitoring request sent by the client, where the working state monitoring request is used to request to view the working state of the device in the specified geofence range; and then, according to the working state monitoring request and the working state information of each device acquired from the Internet of things platform, sending the working state information of the devices in the designated geo-fence to the client.
It should be noted that the device control method provided by the present application is mainly directed to property managers, such as community property managers, office building property managers, market property managers, and the like, in some cases, a property manager needs to monitor the working state of devices within a management range in which the property manager is responsible for itself, so as to determine whether the devices within the management range are in a normal working state, and in case that the devices are in an abnormal working state, the property manager timely maintains the abnormal devices.
In this case, the property manager may send a working state monitoring request to the geo-fence server through a specific client running on the terminal device to request to view the working state of the devices in the specified geo-fence; specifically, the property management personnel can select the geofence to be monitored through the client, and then send the working state monitoring request carrying the identifier corresponding to the geofence server after selecting the geofence to be monitored. Correspondingly, after receiving a working state monitoring request from the client, the geo-fence server acquires the working state information of each device within the geo-fence range from the internet of things platform according to the identification corresponding to the geo-fence carried in the working state request, and then returns the working state information of each device within the geo-fence range to the client so as to inform property managers of the working state of each device within the geo-fence range.
It should be understood that the internet of things platform and each device in the geofence range can communicate through the internet of things, and therefore, the internet of things platform can acquire the working state information of each device in each geofence range in real time.
It should be noted that the property manager may further check the working state of some or some devices within the geofence range, at this time, the property manager may select the designated geofence through the client, and select the designated device to be monitored within the designated geofence, and further, the client correspondingly generates a working state monitoring request, where the working state monitoring request includes the identifier corresponding to the designated geofence and the identifier information of the designated device, and sends the working state monitoring request to the geofence server; and the geo-fence server correspondingly acquires the working state information of the designated equipment in the designated geo-fence range from the Internet of things platform according to the working state monitoring request, and returns the working state information of the designated equipment to the client.
Optionally, the geofence server may further receive a control request sent by the client, where the control request is used to request to control the operating state of a specified device in the geofence; and then, according to the control request, controlling the working state of the specified equipment in the geo-fence through the platform of the Internet of things.
In some cases, according to actual situations, a property manager may need to control a specific device within a specific geo-fence range accordingly, so that the specific device within the specific geo-fence range enters a specific working state; for example, when a weekend needs to clean some office areas in an office building, the lighting devices in the office areas need to be controlled to enter the lighting state, and at this time, the property management staff in charge of the office areas need to correspondingly control the lighting devices in the office areas to enter the lighting state.
In this case, the property manager may send a control request to the geo-fence server through a specific client running on the terminal device, where the control request is used to request control of the operating state of a specified device in a specified geo-fence; specifically, the property management personnel can select a geofence to be controlled as an appointed geofence through the client, select the equipment to be controlled as appointed equipment within the range of the appointed geofence, and set the corresponding working state of the equipment aiming at the appointed equipment; after the setting of the working state of the designated equipment is completed, the client correspondingly adds the identification corresponding to the designated geo-fence, the identification information of the designated equipment and the working state of the designated equipment into the control request, and sends the control request to the Internet of things platform; the Internet of things platform further correspondingly generates a control instruction for controlling the designated equipment according to the control request, and transmits the generated control instruction to the designated equipment, so that the designated equipment correspondingly enters a working state related to the control request.
Optionally, the geo-fence server may further receive location information of a mobile control device sent by the internet of things platform, where the mobile control device is configured to control devices located within a geo-fence range; when the mobile control device enters the position range of the geo-fence and the mobile control device has the control right, the mobile control device sends a notification message to the Internet of things platform so as to notify the Internet of things platform to control the working state of the device located in the geo-fence range according to the control command sent by the mobile control device.
In some cases, the property management personnel can also control the working state of the equipment within the range of the geographic fence on site through the mobile control equipment, so that the property management personnel can control the working state of the equipment within the range of the geographic fence in real time according to the actual application condition.
It should be noted that the mobile control device and the platform of the internet of things can communicate with each other through the internet of things, and the platform of the internet of things can acquire the position information of the mobile control device in real time, specifically, the mobile control device can position the position information of itself in real time through a network or a global positioning system, and then upload the position information of itself to the platform of the internet of things; in addition, the platform of the internet of things can also acquire notification information, control instructions and the like sent by the mobile control equipment.
During specific implementation, the mobile control equipment can send the position information of the mobile control equipment to the Internet of things platform in real time, and the Internet of things platform further sends the position information of the mobile control equipment to the geo-fence server; when the geofence server monitors that the mobile control device enters a certain geofence range, and determines that the mobile control device has control authority over the geofence range, the mobile control device can control the devices within the geofence accordingly, and when specifically controlled, the mobile control device can firstly send notification information to the internet of things platform to notify the internet of things platform that the mobile control device sends out a control instruction, controlling the operating state of devices within the geofence range, and further, when the mobile control device needs to control a designated device within the geofence range, the mobile control equipment can directly send a control instruction to the Internet of things platform, and the control instruction is correspondingly issued to the designated equipment in the geographic fence range through the Internet of things platform, so that the designated equipment enters a working state designated by the control instruction.
It should be understood that the mobile control device may be a terminal device installed with an internet of things communication chip, such as a smart phone, a tablet computer, or the like, and the mobile control device may also be a special control device installed with an internet of things communication chip, such as a remote controller capable of communicating with an internet of things platform, or the like.
In order to facilitate understanding of the specific implementation process of the above control method, the following takes the control of the devices in a certain conference room as an example, and the control method is specifically described. The geo-fence server acquires the position information of the mobile control device through the internet of things platform in real time, when the mobile control device is monitored to enter the meeting room, and when the mobile control device is determined to have the control right on the equipment in the meeting room, the mobile control device can send notification information to the internet of things platform so as to notify the internet of things platform to control the related equipment in the meeting room according to the control instruction sent by the mobile control device, specifically, if the mobile control device sends the control instruction subsequently, the internet of things platform correspondingly controls the related equipment in the meeting room according to the control instruction.
Optionally, when the mobile control device enters the location range of the geo-fence and the mobile control device does not have control authority, the geo-fence server may generate the alert information accordingly.
Specifically, when the geofence server detects that a certain mobile control device enters the range of a certain geofence, the geofence server correspondingly determines whether the mobile control device has a control authority over the devices within the geofence range, and if so, allows the mobile control device to correspondingly control the devices within the geofence range through the internet of things platform; otherwise, if the current device does not have the control authority, generating alarm information aiming at the mobile control device, wherein the alarm information is used for informing a user that the mobile control device does not have the control authority for the devices in the geo-fence, and when the geo-fence server detects that the mobile control device sends notification information to the internet of things platform, the geo-fence server correspondingly sends the alarm information to the mobile control device so as to inform the user that the mobile control device does not have the control authority for the devices in the geo-fence range.
It should be understood that the geofence server may also send the alarm information to the mobile control device immediately after generating the alarm information, and timely notify the user that the mobile control device has no control authority for the geofence range, where no limitation is made on the time for sending the alarm information.
Optionally, the geo-fence server may further receive the electrical parameters of each device in the device operation system sent by the internet of things platform; and then, according to a preset statistical period, counting according to the electrical parameters of each device, and storing the power consumption corresponding to each geographic fence in the device operation system.
The platform of the internet of things and the devices in the device operation system can communicate with each other, so that the platform of the internet of things can acquire electrical parameters of the devices in the device operation system in real time, such as voltage, current, active power and the like, and further the platform of the internet of things can correspondingly transmit the acquired electrical parameters of the devices to the geo-fence server; after receiving the electric parameters of each device sent by the Internet of things platform, the geo-fence server correspondingly performs statistical calculation according to the electric parameters of each device received by the geo-fence server according to a preset statistical period, and stores the total power consumption of the devices within the range of each geo-fence as the power consumption corresponding to the geo-fence.
It should be understood that the preset statistical period may be set according to the actual requirement of the user, and may specifically be a day, a week, a month, a quarter, and the like, and the preset statistical period is not specifically limited herein.
In this way, when the geofence server receives a power consumption query request sent by the client, the query request is used to query the power consumption corresponding to the specified geofence, and the geofence server may send the power consumption graph corresponding to the geofence to the client.
Specifically, in practical application, a property manager may need to query power consumption corresponding to a geo-fence at intervals, and at this time, the property manager may select, through a specific client running on a terminal device, the geo-fence that needs to be queried as an assigned geo-fence, add an identifier corresponding to the assigned geo-fence to a power consumption query request, and send the identifier to a geo-fence server; after receiving the power consumption query request sent by the client, the geo-fence server correspondingly obtains the power consumption corresponding to the designated geo-fence stored by the geo-fence server, and further generates a power consumption chart corresponding to the designated geo-fence according to the power consumption.
It should be appreciated that the property manager, when selecting the designated geofence, may further select a power consumption query time, i.e., select to query the power consumption of the designated geofence for a particular time.
The equipment control method is mainly based on the geo-fencing technology, and correspondingly controls the equipment communicated with the Internet of things platform; because the range of the geo-fence and the control information corresponding to the geo-fence can be set and changed arbitrarily according to the actual requirements of the user, based on the equipment control method, the user can flexibly control the equipment according to the self requirements, namely the control of the equipment is not limited by the real geo-space of the equipment and the initial control logic any more, and the space interactivity is very strong; in addition, when the device is controlled based on the geo-fence technology, the device within the geo-fence range can automatically change the working state of the device according to the control mode information corresponding to the geo-fence, and the user is not required to control the device in a specific area, so that the intellectualization of device control is realized.
The above embodiments mainly describe how the device control method provided by the present application controls devices within each geofence range, and how to query relevant working information of devices within each geofence range; it should be understood that the geofence database plays a crucial role in the above-mentioned device control method, and in order to further understand how the geofence database stores the geofence-related information, the maintenance manner of the geofence database will be described in detail below.
Referring to fig. 3, fig. 3 is a schematic flowchart of a maintenance method of a geo-fencing database according to an embodiment of the present application; it should be understood that the main body of execution of the method is still the geo-fence server. As shown in fig. 3, the method for maintaining geofence data includes:
step 301: receiving a geo-fence customization request sent by a client, wherein the geo-fence customization request carries a target address position.
When a user needs to customize a geo-fence within a certain location range and controls the device within the location range by using the device control method provided in the above embodiment, the user can input the location range in which the geo-fence needs to be customized as a target address location through a specific client running on the terminal device, and the client correspondingly generates a geo-fence customization request carrying the target address location and sends the geo-fence customization request to the geo-fence server.
For example, for a property manager of an office building, when the property manager needs to customize a geo-fence for 7 floors of the office building, the property manager may input the 7 floors of the office building in a destination address location input box provided by a client, where the 7 floors of the office building are destination address locations, and accordingly, the client generates a geo-fence customization request carrying the destination address locations and sends the geo-fence customization request to a geo-fence server.
Step 302: and sending equipment operation system map information matched with the target address position and preset at least one control mode information to the client according to the geofence customization request.
After receiving a geofence customization request from a client, a geofence server correspondingly searches map information of an equipment operation system matched with a target address position in a map information database according to the target address position carried in the geofence customization request, wherein the map information of the equipment operation system can represent the distribution condition of equipment at the target address position; meanwhile, the geo-fence server can also extract control mode information suitable for the target address position from the control mode information database according to the use property of the target address position; and then, the geo-fence server returns the map information and the control mode information of the equipment operation system to the client.
It should be noted that a large amount of map information of the device operation system is stored in the map information database, and the geo-fence server can directly search the map information of the device operation system corresponding to a certain address position from the map information database according to the address position; the control mode information database stores control mode information corresponding to various use properties, the geo-fence server can determine the use properties of a certain address position according to the address position, such as belonging to an office area, a commercial area, a residential area and the like, and further correspondingly extract the control mode information from the control mode information database according to the determined use properties.
It should be understood that the map information database and the control mode information database may be stored in the geo-fence database, or may be stored in other devices, and the storage locations of the two databases are not limited in any way.
Taking the 7-layer customized geofence of the Tengchi as an example, after the geofence server receives a geofence customization request including the 7-layer customized geofence of the Tengchi, the geofence server correspondingly searches map information of the equipment operation system of the 7-layer Tengchi from the map information database, and the map information of the equipment operation system can represent distribution position information of the equipment of the 7-layer Tengchi; meanwhile, the geo-fence server can extract control mode information suitable for the 7 th floor of the Tencent building from the control mode information database according to the use property of the 7 th floor of the Tencent building, and if the 7 th floor of the Tencent building belongs to an employee office area, the geo-fence server can correspondingly extract various control mode information suitable for the office area, such as office mode information, rest mode information, next-shift mode information and the like from the control mode information database; and further, the geo-fence server returns the equipment operation system map information of 7 th floor of the Tengchi and the information of various control modes suitable for 7 th floor of the Tengchi to the client.
It should be appreciated that if the target address location belongs to a business zone, the geo-fence server can accordingly provide control mode information applicable to the business zone, and if the target address location belongs to a residential zone, the geo-fence server can accordingly provide control mode information applicable to the residential zone, i.e., the geo-fence server can accordingly provide various control mode information for the usage pattern of the target address location.
Step 303: and receiving the position range information and the control mode information of the geo-fence sent by the client.
After receiving the device operation system map information matched with the target address position and the control mode information returned by the geo-fence server, the client can circle each geo-fence range in the device operation system map information matched with the target address position through the client, and the client correspondingly determines the position range information of the geo-fence according to the range circled by the user; meanwhile, the user can correspondingly select the control mode information and the starting time corresponding to each control mode information according to the control mode information provided by the geo-fence server; and further, sending the determined geofence range information, the control mode information and the opening time corresponding to each control mode information to the geofence server.
Referring to fig. 4, fig. 4 is a diagram illustrating an exemplary device operating system map information. After receiving the map information of the equipment operation system, the client correspondingly displays the map information of the equipment operation system to a user on a display interface of the client, wherein the actual positions of all equipment are displayed in the map information of the equipment operation system; furthermore, the user can correspondingly divide each device in the device running system into each geo-fence according to the control requirement of the user, as shown in fig. 4, the user can divide the device in the device running system into the lighting partition 1, the lighting partition 2, and the lighting partition 3, where the lighting partition 1, the lighting partition 2, and the lighting partition 3 are three geo-fences, and thus, the location range information of the geo-fence is correspondingly generated.
In addition, the user can also select required control mode information from the control mode information returned by the geo-fence server, and set the starting time corresponding to each control mode information. For example, assuming that the control mode information returned by the geo-fence server includes office mode information, rest mode information, overtime mode information, and off-duty mode information, the user can select office mode information, rest mode information, and off-duty mode information therefrom, while setting eight am and one pm as the on-times for the office mode information, twelve am and one half pm as the on-times for the rest mode information, and six pm as the on-times for the off-duty mode information.
Step 304: and determining the equipment within the range of the geo-fence according to the information of the geo-fence and the position information of each equipment acquired from the platform of the Internet of things.
After receiving the position range information and the control mode information of the geo-fence sent by the client, the geo-fence server acquires the position information of each device in the device operation system matched with the target address position from the Internet of things platform, and further determines the devices in each geo-fence range according to the position range of the geo-fence and the position information of each device.
During specific implementation, the geo-fence server can judge whether the equipment is located in a certain geo-fence range by calculating a spatial topological relation between the geo-fence and the equipment, wherein the spatial topological relation specifically comprises spatial inclusion, spatial intersection and the like, so that the equipment located in each geo-fence range is determined.
Step 305: associating location range information for the geofence, control mode information for the geofence, and identification information for devices located within the geofence range for storage in a geofence database.
After determining the devices in each geofence range, the geofence server further establishes an association relationship among the location range information of the geofence, the control mode information of the geofence, and the identification information of the devices located within the geofence range, and further stores the location range information of the geofence, the control mode information of the geofence, and the identification information of the devices located within the geofence range in a geofence database, so that when the geofence server needs to correspondingly control the devices within the geofence range, the geofence server can directly obtain the control mode information corresponding to a certain geofence range and the identification information of the devices located within the geofence range from the geofence database.
In the maintenance method of the geo-fence database, the geo-fence server customizes the geo-fence at the target address location according to the actual demand of the user, sets control mode information correspondingly for the geo-fence, and constructs an association relationship among the location range information of the geo-fence, the control mode information of the geo-fence, and the identification information of the device located within the geo-fence range, and stores the association relationship in the geo-fence database, so that when the geo-fence server controls the device located within the geo-fence range, the control mode information corresponding to the geo-fence and the identification information of the device located within the geo-fence range are read from the geo-fence database. Flexibly customizing the geo-fence based on the actual requirements of the user, so that the control of the equipment is not limited by the real geographical position of the equipment and the initial control logic any more, and the space interactivity of the equipment control is improved; and when the device is controlled based on the geo-fence, the geo-fence server can automatically control the device according to the control mode information stored in the geo-fence database, thereby realizing the intellectualization of the device control.
In practical applications, after completing the initial customization of the geo-fence related information, the user may subsequently update the customized geo-fence related information, where the geo-fence related information specifically includes location range information of the geo-fence, control mode information of the geo-fence, and identification information of devices in the geo-fence, and a method for updating the geo-fence related information will be described in detail below.
It should be noted that, the geo-fence database generally stores the corresponding relationship between the user account and the location range information of the geo-fence created by the user, the control mode information of the geo-fence, and the identification information of the devices located within the geo-fence; namely, the geofence database stores the location range information of the geofence, the control mode information of the geofence, and the identification information of the devices located within the geofence range, and also stores the user accounts related to these information, thereby facilitating the user to subsequently query and update the previously created geofence-related information according to their own accounts.
Referring to fig. 5, fig. 5 is a schematic flowchart illustrating a method for updating geo-fence related information according to an embodiment of the present application; it should be understood that the method is performed by the geo-fence server. As shown in fig. 5, the method comprises the steps of:
step 501: receiving a geo-fence updating request sent by a client, wherein the geo-fence updating request carries designated account information.
When a user needs to update the geographical range information and the control mode information of the geofence created by the user, the user needs to log in a client by using an account used when the geofence is created, wherein the account used when the geofence is created is a designated account; further, a geofence update request is sent to the geofence server through the client, where the geofence update request carries specified account information, and the specified account information may specifically be an identity of a specified account.
Step 502: and sending the geographic range information and the control mode information of the geographic fence corresponding to the designated account to the client according to the designated account information.
After receiving a geofence update request from a client, the geofence server calls geofence range information and control mode information corresponding to a designated account from a geofence database according to designated account information in the geofence update request, and then correspondingly returns the called geofence range information and control mode information to the client.
Step 503: and receiving geofence update information sent by the client, and updating the geofence in the designated account in the geofence database according to the geofence update information.
After receiving the geofence range information and the control mode information returned by the geofence server, the client correspondingly displays the geofence range information and the control mode information to the user on a display interface of the client, so that the user can conveniently change the geofence range information and the control mode information according to the actual needs of the user; the client generates geofence update information according to changes made by a user to the geofence range information and the control mode information, wherein the geofence update information comprises updated geofence range information and control mode information, and sends the geofence update information to the geofence server; further, the geofence server may update the geofences in the designated account according to the updated geofence range information and control mode information included in the geofence update information, so as to store the updated geofence range information and control mode information in the geofence database.
It should be understood that, when the geofence server specifically updates the geofence range information and the control mode information, the geofence server needs to re-determine the devices located within the geofence range according to the updated geofence range information, and further, associate and store the updated location range information of the geofence, the control mode information of the geofence, and the identification information of the devices located within the geofence range in the geofence database.
In the update method of the geo-fence related information, the geo-fence server may update the geo-fence location range information, the control mode information of the geo-fence, and the identification information of the devices located within the geo-fence range, which are stored in the geo-fence database, based on the modification made to the geo-fence related information by the user. That is, when the user needs to modify the control range and control logic of the device, the user can modify the geofence range and control mode information of the geofence based on the client at any time, and the control of the device is no longer limited to only the actual geographic location and the initial control logic where the device is located.
In order to further understand the device control method provided in the embodiment of the present application, the following takes the control of the lighting devices of the office building as an example, and the device control method provided in the embodiment of the present application is generally described.
Referring to fig. 6, fig. 6 is a schematic view of an application scenario of the device control method provided in the embodiment of the present application.
The property manager of the office building can set the geofences accordingly in advance through a specific client running on the terminal device. Specifically, the property manager can input the position of the geo-fence to be customized in a target address position input box provided by the client, and accordingly, the client generates a geo-fence customization request and sends the geo-fence customization request to the geo-fence server; and after receiving the geofence customization request, the geofence server returns the equipment operation system map information and the control mode information matched with the target address position to the client according to the target address position included in the geofence customization request.
Furthermore, the property manager can circle any number of geographic fences according to the actual requirements of the property manager in the map information of the equipment operation system displayed on the client, and select proper control mode information; as shown in fig. 6, the property manager circles three geofences of lighting zone 1, lighting zone 2, and lighting zone 3 in the device operating system map information; and correspondingly selecting office mode information and rest mode information, setting the starting time of the office mode information as eight am and one pm, and setting the starting time of the rest mode information as twelve am and half pm. It should be understood that, in practical applications, the devices included in the device operating system are not limited to lighting devices.
After the property manager selects the geo-fence range and the control mode information, the client sends the selected geo-fence range information and the selected control mode information to the geo-fence server, the geo-fence server further acquires the position information of each device from the Internet of things platform according to the geo-fence range information, determines the devices located in the geo-fence range, and further associates the position range information of the geo-fence, the control mode information of the geo-fence and the identification information of the devices located in the geo-fence range and stores the information in the geo-fence database.
When the geofence server monitors that the starting time corresponding to certain control mode information is reached, the geofence server correspondingly reads the control mode information corresponding to the geofence and the identification information of the equipment within the geofence range from the geofence database, further generates a corresponding control instruction according to the control mode information, and correspondingly issues the control instruction to the designated equipment within the geofence range through the Internet of things platform, so that the designated equipment enters a designated working state.
Taking the example that the geofence server detects the starting time corresponding to the rest mode information of a certain geofence, the geofence server reads the rest mode information corresponding to the geofence and the identification information of the devices located within the geofence range from the geofence database, further generates a light-off control instruction for the specified devices related to the rest mode information, and correspondingly transmits the light-off control instruction to the specified devices within the geofence range through the platform of the internet of things, so that the specified devices enter a light-off state.
In practical application, the property manager can subsequently log in the client by using an account used in creating the geo-fence, and update the geo-range information and the control mode information of the geo-fence stored in the geo-fence database according to the actual requirements of the property manager, so that the control of the devices in the geo-fence range is more in line with the requirements of the property manager.
In addition, the property manager can also send a working state monitoring request to the geo-fence server through the client at any time so as to request to monitor the working state of the equipment within the designated geo-fence range; a control request can be sent to the geo-fence server through the client so as to directly control the equipment within the range of the geo-fence through the Internet of things platform; a power consumption query request can also be sent to the geofence server through the client to query for power consumption corresponding to the specified geofence.
In addition, the property manager can also utilize mobile control equipment capable of communicating with the Internet of things to carry out field control on equipment within the range of the geographic fence; that is, when the geofence server detects that the mobile control device enters the location range of the geofence and determines that the mobile control device has control authority over the devices within the geofence range, the mobile control device can be utilized to perform field control over the devices within the geofence range.
For the above-described device control method, the present application also provides a corresponding device control apparatus, so that the device control method is applied and implemented in practice.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an appliance control apparatus 700 corresponding to the appliance control method shown in fig. 2, where the appliance control apparatus 700 includes:
a reading module 701, configured to read, from a geo-fence database, control mode information corresponding to a geo-fence and identification information of a device located within the geo-fence range, where the control mode information is used to instruct a specific device located within the geo-fence range to enter a specific working state;
a control module 702, configured to control, according to the control mode information corresponding to the geofence and the identification information of the device located within the geofence range, a working state of the device located within the geofence range through the internet of things platform.
Optionally, on the basis of the device control apparatus shown in fig. 7, referring to fig. 8, fig. 8 is a schematic structural diagram of another device control apparatus 800 provided in the embodiment of the present application, where the device control apparatus 800 further includes:
a first receiving module 801, configured to receive location information of a mobile control device sent by the internet of things platform, where the mobile control device is configured to control a device located within the geofence range;
a first sending module 802, configured to send notification information to the internet of things platform when the mobile control device enters the location range of the geo-fence and the mobile control device has a control right, so as to notify the physical network platform to control a working state of a device located within the geo-fence range according to a control instruction sent by the mobile control device.
Optionally, on the basis of the device control apparatus shown in fig. 8, referring to fig. 9, fig. 9 is a schematic structural diagram of another device control apparatus 900 provided in an embodiment of the present application, where the device control apparatus 900 further includes:
a generating module 901, configured to generate an alarm message when the mobile control device enters the location range of the geo-fence and the mobile control device does not have a control right.
Optionally, on the basis of the device control apparatus shown in fig. 7, referring to fig. 10, fig. 10 is a schematic structural diagram of another device control apparatus 1000 provided in an embodiment of the present application, where the device control apparatus 1000 further includes:
a second receiving module 1001, configured to receive a control request sent by the client, where the control request is used to request to control a working state of a specified device in a specified geo-fence;
the control module 702 is further configured to control a working state of a specified device in a specified geo-fence through the internet of things platform according to the control request.
Optionally, on the basis of the device control apparatus shown in fig. 7, referring to fig. 11, fig. 11 is a schematic structural diagram of another device control apparatus 1100 provided in an embodiment of the present application, where the device control apparatus 1100 further includes:
the third receiving module 1101 is configured to receive the electrical parameters of each device in the device operating system, which are sent by the internet of things platform;
and the counting module 1102 is configured to count and store power consumption corresponding to each geographic fence in the device operation system according to the electrical parameters of each device according to a preset counting period.
Optionally, on the basis of the device control apparatus shown in fig. 11, referring to fig. 12, fig. 12 is a schematic structural diagram of another device control apparatus 1200 provided in the embodiment of the present application, where the device control apparatus 1200 further includes:
the fourth receiving module 1101 is further configured to receive a power consumption query request sent by the client, where the query request is used to query power consumption corresponding to a specified geo-fence;
a second sending module 1201, configured to send the power consumption graph corresponding to the geofence to the client.
The equipment control device is mainly based on the geo-fencing technology and correspondingly controls equipment communicated with the Internet of things platform; because the range of the geo-fence and the control information corresponding to the geo-fence can be set and changed at will according to the actual requirements of the user, based on the device control device, the user can flexibly control the device according to the self requirements, namely, the control of the device is not limited by the real geo-space of the device and the initial control logic any more, and the device control device has strong space interactivity; in addition, when the device is controlled based on the geo-fence technology, the device within the geo-fence range can automatically change the working state of the device according to the control mode information corresponding to the geo-fence, and the user is not required to control the device in a specific area, so that the intellectualization of device control is realized.
Optionally, on the basis of the device control apparatus shown in fig. 7, referring to fig. 13, fig. 13 is a schematic structural diagram of another device control apparatus 1300 provided in an embodiment of the present application, where the device control apparatus 1300 further includes:
a request receiving module 1301, configured to receive a geofence customization request sent by a client, where the geofence customization request carries a target address location;
a sending module 1302, configured to send, to the client, device operation system map information matched with the target address location and at least one prefabricated control mode information according to the geofence customization request;
the information receiving module 1303 is further configured to receive the location range information and the control mode information of the geo-fence sent by the client;
a determining module 1304, configured to determine, according to the geographic range information of the geofence and the location information of each device acquired from the internet of things platform, a device located within the geofence range;
a data storage module 1305 for associating location range information of the geofence, control mode information of the geofence, and identification information of devices located within the geofence range for storage in a geofence database.
Optionally, on the basis of the device control apparatus shown in fig. 13, referring to fig. 14, fig. 14 is a schematic structural diagram of another device control apparatus 1400 provided in the embodiment of the present application, where in the device control apparatus 1400:
a request receiving module 1301, further configured to receive a geofence update request sent by the client, where the geofence update request is sent by the client
The sending module 1302 is further configured to send, to the client, geographic range information and control mode information of a geo-fence corresponding to the designated account according to the designated account information;
the device control apparatus 1400 further includes:
an update module 1401, configured to receive geofence update information sent by a client, and update the geofence in the specified account in the geofence database according to the geofence update information.
In the maintenance apparatus for the geo-fence database, the geo-fence server customizes the geo-fence at the target address location according to the actual demand of the user, sets control mode information correspondingly for the geo-fence, and constructs an association relationship among the location range information of the geo-fence, the control mode information of the geo-fence, and the identification information of the device located within the geo-fence range, and stores the association relationship in the geo-fence database, so that when the geo-fence server controls the device located within the geo-fence range, the control mode information corresponding to the geo-fence and the identification information of the device located within the geo-fence range are read from the geo-fence database. Flexibly customizing the geo-fence based on the actual requirements of the user, so that the control of the equipment is not limited by the real geographical position of the equipment and the initial control logic any more, and the space interactivity of the equipment control is improved; and when the device is controlled based on the geo-fence, the geo-fence server can automatically control the device according to the control mode information stored in the geo-fence database, thereby realizing the intellectualization of the device control.
The application also provides equipment for executing the equipment control method, and the equipment can specifically serve the graph. Referring to fig. 15, fig. 15 is a schematic diagram of a server 1500 according to an embodiment of the present disclosure, where the server 1500 may have a relatively large difference due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 1522 (e.g., one or more processors) and a memory 1532, and one or more storage media 1530 (e.g., one or more mass storage devices) for storing applications 1542 or data 1544. Memory 1532 and storage media 1530 may be, among other things, transient or persistent storage. The program stored on the storage medium 1530 may include one or more modules (not shown), each of which may include a series of instruction operations for the server. Still further, a central processor 1522 may be provided in communication with the storage medium 1530, executing a series of instruction operations in the storage medium 1530 on the server 1500.
The server 1500 may also include one or more power supplies 1526, one or more wired or wireless network interfaces 1550, one or more input-output interfaces 1558, and/or one or more operating systems 1541, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
The steps performed by the server in the above embodiment may be based on the server structure shown in fig. 15.
The CPU 1522 is configured to execute the following steps:
reading control mode information corresponding to a geo-fence and identification information of equipment located within the range of the geo-fence from a geo-fence database, wherein the control mode information is used for indicating specified equipment located within the range of the geo-fence to enter a specified working state;
and controlling the specified equipment positioned in the range of the geo-fence to enter a specified working state through an Internet of things platform according to the control mode information corresponding to the geo-fence and the identification information of the equipment positioned in the range of the geo-fence.
The embodiment of the present application further provides a computer-readable storage medium for storing a program code, where the program code is used to execute any one implementation of the device control method described in the foregoing embodiments.
The present application further provides a computer program product including instructions, which when run on a computer, cause the computer to execute any one implementation of a device control method described in the foregoing embodiments.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting 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; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.
Claims (12)
1. An apparatus control method, characterized in that the method comprises:
reading control mode information corresponding to a geo-fence and identification information of equipment located within the range of the geo-fence from a geo-fence database, wherein the control mode information is used for indicating specified equipment located within the range of the geo-fence to enter a specified working state;
controlling the specified equipment located in the range of the geo-fence to enter a specified working state through an Internet of things platform according to the control mode information corresponding to the geo-fence and the identification information of the equipment located in the range of the geo-fence;
wherein the geofence database is maintained by:
receiving a geo-fence customizing request sent by a client, wherein the geo-fence customizing request carries a target address position;
sending equipment operation system map information matched with the target address position and prefabricated at least one control mode information to the client according to the geo-fence customizing request;
receiving the position range information and the control mode information of the geo-fence sent by the client;
determining equipment located within the range of the geo-fence according to the information of the geo-fence and the position information of each piece of equipment acquired from the platform of the internet of things;
associating location range information for the geofence, control mode information for the geofence, and identification information for devices located within range of the geofence to store in a geofence database.
2. The method of claim 1, wherein the geofence database stores a correspondence between user accounts and location range information for the geofences created by the user, control mode information for the geofences, and identification information for devices located within the geofence range, the method further comprising:
receiving a geo-fence updating request sent by the client, wherein the geo-fence updating request carries designated account information;
sending the geographic range information and the control mode information of the geographic fence corresponding to the designated account to the client according to the designated account information;
and receiving geofence update information sent by a client, and updating the geofence in the designated account in the geofence database according to the geofence update information.
3. The method according to any one of claims 1 to 2, further comprising:
receiving position information of mobile control equipment sent by the Internet of things platform, wherein the mobile control equipment is used for controlling equipment located in the range of the geo-fence;
when the mobile control equipment enters the position range of the geographic fence and the mobile control equipment has the control right, sending notification information to the Internet of things platform so as to notify the Internet of things platform to control the working state of the equipment within the range of the geographic fence according to a control instruction sent by the mobile control equipment.
4. The method of claim 3, further comprising:
generating alarm information when the mobile control device enters the location range of the geo-fence and the mobile control device does not have control authority.
5. The method according to any one of claims 1 to 2, further comprising:
receiving a working state monitoring request sent by the client, wherein the working state monitoring request is used for requesting to check the working state of equipment in a specified geo-fence;
and sending the working state information of the equipment in the designated geo-fence to the client according to the working state monitoring request and the working state information of each equipment acquired from the Internet of things platform.
6. The method of claim 5, further comprising:
receiving a control request sent by the client, wherein the control request is used for requesting to control the working state of a specified device in a specified geographic fence;
and controlling the working state of the specified equipment in the specified geo-fence through the Internet of things platform according to the control request.
7. The method according to any one of claims 1 to 2, further comprising:
receiving the electrical parameters of each device in the device operation system sent by the Internet of things platform;
and according to a preset statistical period, counting and storing power consumption corresponding to each geographic fence in the equipment operation system according to the electrical parameters of each equipment.
8. The method of claim 7, further comprising:
receiving a power consumption query request sent by the client, wherein the query request is used for querying power consumption corresponding to a specified geo-fence;
and sending the power consumption chart corresponding to the geo-fence to the client.
9. An apparatus control device, characterized in that the device comprises:
the device comprises a reading module, a processing module and a display module, wherein the reading module is used for reading control mode information corresponding to a geo-fence and identification information of devices located in the range of the geo-fence from a geo-fence database, and the control mode information is used for indicating that a specified device located in the range of the geo-fence is controlled to enter a specified working state;
the control module is used for controlling the working state of the equipment within the range of the geo-fence through the Internet of things platform according to the control mode information corresponding to the geo-fence and the identification information of the equipment within the range of the geo-fence;
the request receiving module is used for receiving a geo-fence customizing request sent by a client, wherein the geo-fence customizing request carries a target address position;
the sending module is used for sending map information matched with the target address position and at least one type of prefabricated control mode information to the client according to the geofence customization request;
the information receiving module is used for receiving the position range information and the control mode information of the geo-fence sent by the client;
the determining module is used for determining the equipment within the range of the geo-fence according to the information of the geographical range of the geo-fence and the position information of each piece of equipment acquired from the Internet of things platform;
a data storage module to associate location range information for the geofence, control mode information for the geofence, and identification information for devices located within the geofence range to store in a geofence database.
10. An apparatus, comprising a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to execute the device control method of any one of claims 1-8 according to instructions in the program code.
11. An appliance control system, comprising:
the system comprises an equipment operation system, an Internet of things platform and a geo-fence server;
the equipment operation system comprises a plurality of pieces of equipment, and the equipment is in network communication with the Internet of things platform;
the geo-fence server is configured to read control mode information corresponding to a geo-fence and identification information of devices located within a geo-fence range from a geo-fence database, where the control mode information is used to instruct a designated device located within the geo-fence range to enter a designated working state, and control the working state of the device located within the geo-fence range through the internet of things platform according to the control mode information corresponding to the geo-fence and the identification information of the devices located within the geo-fence range;
the geo-fence server is further configured to receive a geo-fence customization request sent by a client, where the geo-fence customization request carries a target address location;
sending equipment operation system map information matched with the target address position and prefabricated at least one control mode information to the client according to the geo-fence customizing request;
receiving the position range information and the control mode information of the geo-fence sent by the client;
determining equipment located within the range of the geo-fence according to the information of the geo-fence and the position information of each piece of equipment acquired from the platform of the internet of things;
associating location range information for the geofence, control mode information for the geofence, and identification information for devices located within range of the geofence to store in a geofence database.
12. A computer-readable storage medium characterized in that the computer-readable storage medium stores a program code for executing the apparatus control method of any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910019671.5A CN109709818B (en) | 2019-01-09 | 2019-01-09 | Equipment control method, device, system and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910019671.5A CN109709818B (en) | 2019-01-09 | 2019-01-09 | Equipment control method, device, system and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109709818A CN109709818A (en) | 2019-05-03 |
CN109709818B true CN109709818B (en) | 2021-08-13 |
Family
ID=66260954
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910019671.5A Active CN109709818B (en) | 2019-01-09 | 2019-01-09 | Equipment control method, device, system and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109709818B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110188436A (en) * | 2019-05-22 | 2019-08-30 | 西安非凡士智能科技有限公司 | A kind of configuration system of Internet of Things illumination scheme |
CN110677410A (en) * | 2019-09-27 | 2020-01-10 | 四川长虹电器股份有限公司 | Authorization method for control authority of Internet of things equipment |
CN111158254A (en) * | 2019-12-31 | 2020-05-15 | 青岛海尔科技有限公司 | Method and device for starting scene and mobile phone |
CN115706732B (en) * | 2021-08-12 | 2024-06-11 | 中移物联网有限公司 | Control system, control method, electronic equipment and storage medium |
CN114095531B (en) * | 2021-10-21 | 2024-05-14 | 深圳市有方科技股份有限公司 | Cloud management method of intelligent city Internet of things equipment and Internet of things cloud platform system |
CN114339604A (en) * | 2021-12-29 | 2022-04-12 | 未来电视有限公司 | Internet of things equipment interaction method and device and storage medium |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103947229A (en) * | 2011-10-20 | 2014-07-23 | 高通股份有限公司 | Method and/or apparatus for geofence management |
CN104169661A (en) * | 2013-02-20 | 2014-11-26 | 松下电器(美国)知识产权公司 | Program and method for controlling portable information terminal |
CN104798417A (en) * | 2012-12-14 | 2015-07-22 | 英特尔公司 | Geo-fencing based upon semantic location |
CN105190720A (en) * | 2013-03-15 | 2015-12-23 | Adt美国控股股份有限公司 | Security system access profiles |
CN105247915A (en) * | 2013-03-15 | 2016-01-13 | 迈克尔·A·克尔 | Context Sensitive Correlation Engine Platform |
CN105744479A (en) * | 2016-03-09 | 2016-07-06 | 深圳微自然创新科技有限公司 | Device control method and related device based on self-adaption Geo-fencing technique |
CN105766007A (en) * | 2013-11-28 | 2016-07-13 | 微软技术许可有限责任公司 | Geofence Synthesis |
CN107391592A (en) * | 2017-06-28 | 2017-11-24 | 百度在线网络技术(北京)有限公司 | Processing method, device, equipment and the computer-readable recording medium of geography fence |
EP3346645A1 (en) * | 2017-01-06 | 2018-07-11 | Centrica Connected Home Limited | Environmental control method and apparatus |
CN108419210A (en) * | 2012-08-22 | 2018-08-17 | 电子湾有限公司 | The passive Dynamic Geographic fence of mobile device |
CN108989159A (en) * | 2017-06-04 | 2018-12-11 | 苹果公司 | There are the notice of triggering and movements |
CN109167825A (en) * | 2012-08-30 | 2019-01-08 | 电子湾有限公司 | The system and method for mobile device application are configured based on position |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9571986B2 (en) * | 2014-05-07 | 2017-02-14 | Johnson Controls Technology Company | Systems and methods for detecting and using equipment location in a building management system |
US9609478B2 (en) * | 2015-04-27 | 2017-03-28 | Honeywell International Inc. | Geo-fencing with diagnostic feature |
CA2931440A1 (en) * | 2015-05-27 | 2016-11-27 | Aztech Associates Inc. | System-based control of programmable devices |
US10295972B2 (en) * | 2016-04-29 | 2019-05-21 | Brain Corporation | Systems and methods to operate controllable devices with gestures and/or noises |
KR20180068477A (en) * | 2016-12-14 | 2018-06-22 | 현대자동차주식회사 | Remote control system and remote control method |
-
2019
- 2019-01-09 CN CN201910019671.5A patent/CN109709818B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103947229A (en) * | 2011-10-20 | 2014-07-23 | 高通股份有限公司 | Method and/or apparatus for geofence management |
CN108419210A (en) * | 2012-08-22 | 2018-08-17 | 电子湾有限公司 | The passive Dynamic Geographic fence of mobile device |
CN109167825A (en) * | 2012-08-30 | 2019-01-08 | 电子湾有限公司 | The system and method for mobile device application are configured based on position |
CN104798417A (en) * | 2012-12-14 | 2015-07-22 | 英特尔公司 | Geo-fencing based upon semantic location |
CN106851555A (en) * | 2012-12-14 | 2017-06-13 | 英特尔公司 | Geography fence based on semantic locations |
CN104169661A (en) * | 2013-02-20 | 2014-11-26 | 松下电器(美国)知识产权公司 | Program and method for controlling portable information terminal |
CN105190720A (en) * | 2013-03-15 | 2015-12-23 | Adt美国控股股份有限公司 | Security system access profiles |
CN105247915A (en) * | 2013-03-15 | 2016-01-13 | 迈克尔·A·克尔 | Context Sensitive Correlation Engine Platform |
CN105766007A (en) * | 2013-11-28 | 2016-07-13 | 微软技术许可有限责任公司 | Geofence Synthesis |
CN105744479A (en) * | 2016-03-09 | 2016-07-06 | 深圳微自然创新科技有限公司 | Device control method and related device based on self-adaption Geo-fencing technique |
EP3346645A1 (en) * | 2017-01-06 | 2018-07-11 | Centrica Connected Home Limited | Environmental control method and apparatus |
CN108989159A (en) * | 2017-06-04 | 2018-12-11 | 苹果公司 | There are the notice of triggering and movements |
CN107391592A (en) * | 2017-06-28 | 2017-11-24 | 百度在线网络技术(北京)有限公司 | Processing method, device, equipment and the computer-readable recording medium of geography fence |
Also Published As
Publication number | Publication date |
---|---|
CN109709818A (en) | 2019-05-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109709818B (en) | Equipment control method, device, system and medium | |
US20210180824A1 (en) | Distributed heating, ventilation, and air conditioning system | |
JP7208555B2 (en) | Facility equipment management system, air conditioner management system, communication condition adjustment method | |
CN108870666B (en) | Air conditioner management method, system and computer readable storage medium | |
RU2597885C2 (en) | Positioning systems and methods and location based modification of computing device applications | |
KR101658091B1 (en) | Remote maintenance server, total maintenance system including the remote maintenance server and method thereof | |
JP2002317995A (en) | Monitoring center and service system of air conditioner | |
US20190028886A1 (en) | Configuration system for a set of wireless network devices | |
US20160327294A1 (en) | Ecorank | |
CN104133459A (en) | Method and system for controlling intelligent household device | |
CN106288148B (en) | Split type air conditioner centralized control method, device and system | |
CN105180346A (en) | Air-conditioner long-distance automatic control system and method based on GPS | |
KR20150118278A (en) | Remote maintenance server, total maintenance system including the remote maintenance server and method thereof | |
CN106603716A (en) | Synchronization method of intelligent device state, intelligent device and control terminal thereof | |
JP2015100266A (en) | Electric apparatus control device, electric apparatus control method and program | |
US10165054B2 (en) | Control system and method for IoT boilers using central management server | |
CN103631202A (en) | Hotel guest room intelligent monitoring system and method based on internet of things | |
US11184733B2 (en) | Mobile terminal and information providing system | |
CN110381441B (en) | Method and device for managing position of terminal in operating system | |
CN111865738B (en) | Method, device and equipment for information synchronization | |
JP5414604B2 (en) | Remote information management system and method | |
SG185175A1 (en) | Distributed datacenter configured with container-type or module-type datacenter | |
CN104483880A (en) | Data acquisition method and data acquisition server | |
CN115486039A (en) | Node control unit and network service equipment | |
JP2016214013A (en) | DR information system, terminal device, information processing method and control program |
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 |