CN112422620B - Linkage control method and device for smart home scene and related equipment - Google Patents
Linkage control method and device for smart home scene and related equipment Download PDFInfo
- Publication number
- CN112422620B CN112422620B CN202011023874.0A CN202011023874A CN112422620B CN 112422620 B CN112422620 B CN 112422620B CN 202011023874 A CN202011023874 A CN 202011023874A CN 112422620 B CN112422620 B CN 112422620B
- Authority
- CN
- China
- Prior art keywords
- alarm
- circle
- latitude
- longitude
- target
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2816—Controlling appliance services of a home automation network by calling their functionalities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/52—Network services specially adapted for the location of the user terminal
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Automation & Control Theory (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a linkage control method and device for smart home scenes, computer equipment and a storage medium, which are applied to the technical field of vehicle networking and are used for solving the technical problem that the prior art cannot dynamically control corresponding scenes in time according to dynamic changes of automobiles. The method provided by the invention comprises the following steps: when the position information of the automobile is detected, matching the longitude and latitude of a target trigger ring from the preset trigger ring longitude and latitude corresponding to the automobile according to the position information; acquiring a target identifier which is arranged corresponding to the longitude and latitude of a target trigger ring; acquiring a first alarm sequence of an out-of-circle alarm and an in-circle alarm corresponding to a target identifier; triggering an out-of-circle alarm or an in-circle alarm according to the position information of the automobile; when the sequence of triggering the out-of-circle alarm and the in-circle alarm is the same as the first alarm sequence, acquiring the running state of the household equipment in a preset scene mode corresponding to the target identifier; and controlling the running state of the household equipment in a linkage manner according to the obtained running state of the household equipment.
Description
Technical Field
The invention relates to the technical field of vehicle networking, in particular to a linkage control method and device for an intelligent home scene, computer equipment and a storage medium.
Background
With the advent of the intelligent internet era, automobiles are becoming links of mobile life, and various life scenes of more internet era need to be integrated. Consumers expect the full-interconnection experience of the intelligent terminal, a good environment of complete people, vehicles and life circles is formed on the aspect of the Internet of vehicles and the intelligent home, and the integration of the intelligent home and the intelligent Internet of vehicles is just in line with the change of user demands.
In the prior art, a car-home interconnection system based on an electronic fence is proposed, whether a car is in a circle or out of a circle is judged through the electronic fence, and corresponding equipment is controlled according to a preset control strategy corresponding to the in-circle or out-of-circle, but at present, the control strategy is static, and at present, the electronic fence only alarms whether a current car is in the circle or out of the circle, and cannot dynamically adjust corresponding scenes in time according to dynamic changes of the car.
Disclosure of Invention
The embodiment of the invention provides a linkage control method and device for an intelligent household scene, computer equipment and a storage medium, and aims to solve the technical problem that the prior art cannot dynamically control the corresponding scene in time according to the dynamic change of an automobile.
The invention provides a linkage control method of an intelligent home scene, which comprises the following steps:
when the position information of the automobile is detected, matching the longitude and latitude of a target trigger ring from the longitude and latitude of a trigger ring corresponding to the automobile, which are configured in advance, according to the position information;
acquiring a target identifier which is arranged corresponding to the longitude and latitude of the target trigger ring;
acquiring a first alarm sequence of an outside alarm and an inside alarm in a preset scene mode corresponding to the target identifier;
triggering an out-of-circle alarm or an in-circle alarm according to the position information of the automobile and the longitude and latitude of the target triggering circle;
when the sequence of triggering the out-of-circle alarm and the in-circle alarm is the same as the first alarm sequence, acquiring the running state of the household equipment in a preset scene mode corresponding to the target identifier;
and controlling the running state of the household equipment in a linkage manner according to the obtained running state of the household equipment.
The invention provides a linkage control device for an intelligent home scene, which comprises:
the matching module is used for matching the longitude and latitude of a target trigger ring from the preset trigger ring longitude and latitude corresponding to the automobile according to the position information when the position information of the automobile is detected;
the target identification acquisition module is used for acquiring a target identification which is arranged corresponding to the longitude and latitude of the target trigger ring;
the alarm sequence acquisition module is used for acquiring a first alarm sequence of an outer alarm and an inner alarm in a preset scene mode corresponding to the target identifier;
the triggering module is used for triggering an out-of-loop alarm or an in-loop alarm according to the position information of the automobile and the longitude and latitude of the target triggering loop;
the operation state acquisition module is used for acquiring the operation state of the household equipment in a preset scene mode corresponding to the target identifier when the sequence of triggering the out-of-circle alarm and the in-circle alarm is the same as the first alarm sequence;
and the control module is used for controlling the running state of the household equipment in a linkage manner according to the obtained running state of the household equipment.
A computer device comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor, wherein the processor executes the computer program to realize the linkage control method of the intelligent household scene.
A computer-readable storage medium, which stores a computer program, which, when executed by a processor, implements the steps of the above-described linkage control method for smart home scenes.
The invention provides a linkage control method, a device, computer equipment and a storage medium of an intelligent home scene, which are characterized in that when the position information of an automobile is detected, the longitude and latitude of a target trigger circle are matched from the preset longitude and latitude of a trigger circle corresponding to the automobile according to the position information, a target identifier set corresponding to the longitude and latitude of the target trigger circle is obtained, a first alarm sequence of an out-of-circle alarm and an in-circle alarm in a preset scene mode corresponding to the target identifier is obtained, the out-of-circle alarm or the in-circle alarm is triggered according to the longitude and latitude of the target trigger circle and the position information of the automobile, when the sequence of the out-of-circle alarm and the in-circle alarm is the same as the first alarm sequence, the running state of home equipment in the corresponding preset scene mode corresponding to the target identifier is controlled in a linkage manner, the current scene mode of the automobile is judged by dynamically monitoring the process of the automobile entering the inside from the outside of the circle or entering the outside of the circle from the inside of the circle, and the running state of the corresponding equipment is controlled according to different scene modes of the automobile, and the monitored scene modes of the automobile are dynamic, so that the system can control the equipment in the corresponding scene aiming at the dynamic change of the automobile more timely.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a schematic view of an application environment of a linkage control method for an intelligent home scene according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a linkage control method for an intelligent home scenario according to an embodiment of the present invention;
FIG. 3 is a detailed flowchart of step S104 in FIG. 2 according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a linkage control method for an intelligent home scenario according to another embodiment of the present invention;
fig. 5 is a schematic diagram of an application example of the linkage control method for the smart home scene in an embodiment of the present invention;
fig. 6 is an interaction flowchart of a configuration process of a linkage control method for an intelligent home scene in an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a linkage control device of an intelligent home scene according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of a computer device according to an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
The linkage control method for the smart home scene can be applied to the application environment shown in fig. 1, and as shown in fig. 1, the geo-fence server is respectively communicated with the automobile and the host of the electronic fence through a network. The geo-fence server can be implemented by an independent server or a server cluster composed of a plurality of servers.
In an embodiment, as shown in fig. 2, a linkage control method for a smart home scene is provided, which is described by taking the method applied to the server in fig. 1 as an example, and includes the following steps S101 to S106.
S101, when the position information of the automobile is detected, matching the longitude and latitude of a target trigger ring from the preset trigger ring longitude and latitude corresponding to the automobile according to the position information.
In this step, the location information of the vehicle is the longitude and latitude information of the vehicle. When the operation states of furniture devices in a plurality of residential areas need to be controlled in a linkage manner through one automobile, the longitude and latitude of the automobile and each residential area need to be configured in advance. The configuration mode can be that the license plate number of the automobile is bound with the longitude and latitude of the trigger ring corresponding to each residential area.
In one embodiment, the manner of matching the longitude and latitude of a target trigger ring from the preconfigured trigger ring longitude and latitude corresponding to the vehicle according to the location information of the vehicle may be: and acquiring the position information of the automobile in real time through a cloud end, and determining the longitude and latitude of the trigger ring as the longitude and latitude of the target trigger ring when the shortest distance between the detected position information and the longitude and latitude of one of the trigger rings configured in advance is smaller than a preset value.
And S102, acquiring a target identifier which is correspondingly arranged with the longitude and latitude of the target trigger ring.
The target identification is used for uniquely marking one of the scene modes of the longitude and the latitude of the automobile in a certain target triggering circle, and the target identification can be set manually or generated automatically by a system.
S103, acquiring a first alarm sequence of the out-of-circle alarm and the in-circle alarm in the preset scene mode corresponding to the target identifier.
In one embodiment, the scene mode includes, but is not limited to, a go home mode, a leave home mode, and a home mode.
Further, the first alarm sequence may be that the outside-circle alarm is prior to the inside-circle alarm, or that the inside-circle alarm is prior to the outside-circle alarm, and the sequence of the outside-circle alarm and the inside-circle alarm is determined according to the first alarm sequence, so that the driving direction of the automobile in the scene mode can be determined.
And S104, triggering an out-of-circle alarm or an in-circle alarm according to the position information of the automobile and the longitude and latitude of the target trigger circle.
When the longitude and latitude of the automobile are within the longitude and latitude range of the target trigger ring, an in-ring alarm is triggered, and when the longitude and latitude of the automobile are outside the longitude and latitude range of the target trigger ring, an out-ring alarm is triggered.
In this step, the unique ID of the geofence corresponding to the target identifier may be queried according to the stored mapping relationship table, and the longitude and latitude of the trigger circle of the geofence corresponding to the target identifier may be queried according to the unique ID of the geofence and the pre-stored information.
And S105, when the sequence of triggering the out-of-circle alarm and the in-circle alarm is the same as the first alarm sequence, acquiring the running state of the household equipment in the preset scene mode corresponding to the target identifier.
In one embodiment, when the preset scene mode corresponding to the target identifier is the home returning mode, the acquired running states of the household equipment include, but are not limited to, an air conditioner being in a refrigeration starting state and the temperature of the air conditioner being 25 ℃, a lamp being in a starting state and a lighting effect being warm light. When the preset scene mode corresponding to the target identifier is the leaving mode, the acquired running states of the household equipment include but are not limited to turning off an air conditioner and turning off a lamp.
And S106, controlling the running state of the household equipment in a linkage mode according to the obtained running state of the household equipment.
In this embodiment, when the sequence of triggering the out-of-circle alarm and the in-circle alarm is the same as the first alarm sequence, it indicates that the current driving direction of the vehicle conforms to the corresponding scene mode, and the running state of the home equipment in the preset scene mode corresponding to the target identifier may be controlled in a coordinated manner.
In the linkage control method for an intelligent home scene provided in this embodiment, when position information of an automobile is detected, a target identifier set corresponding to the latitude and longitude of a target trigger ring is obtained according to the position information by matching the latitude and longitude of the target trigger ring from preset trigger ring latitude and longitude corresponding to the automobile, a first alarm sequence of an out-of-circle alarm and an in-circle alarm in a preset scene mode corresponding to the target identifier is obtained, and the out-of-circle alarm or the in-circle alarm is triggered according to the latitude and longitude of the target trigger ring and the position information of the automobile, so that when the sequence of the out-of-circle alarm and the in-circle alarm is the same as the first alarm sequence, the running state of home equipment in the corresponding preset scene mode in the preset scene mode corresponding to the target identifier is controlled in a linkage manner, and the current scene mode of the automobile is determined by dynamically monitoring the process of entering the out-of-circle or entering the out-of-circle from the inside, and the running state of the corresponding equipment is controlled according to different scene modes of the automobile, and the monitored scene modes of the automobile are dynamic, so that the system can control the equipment in the corresponding scene aiming at the dynamic change of the automobile more timely.
Fig. 3 is a detailed flowchart of step S104 in fig. 2 according to an embodiment of the present invention, and as shown in fig. 3, the step S103 further includes the following steps S301 to S303.
S301, acquiring the longitude and latitude of the automobile in real time.
S302, when the acquired longitude and latitude of the automobile are within the range of the longitude and latitude of the target trigger ring, judging that the automobile is in the target trigger ring, and triggering the ring to alarm.
And S303, when the acquired longitude and latitude of the automobile are out of the range of the longitude and latitude of the target triggering ring, judging that the automobile is out of the target triggering ring, and triggering out-of-ring alarm.
The longitude and latitude of the automobile can be acquired in real time through a vehicle-mounted GPS (Global Positioning System) unit installed on the automobile, and the acquired longitude and latitude of the automobile are sent to a local server in real time by the vehicle-mounted GPS unit.
Fig. 4 is a flowchart of a linkage control method for a smart home scenario in another embodiment of the present invention, and as shown in fig. 4, the linkage control method for the smart home scenario further includes the following steps S401 to S405.
S401, receiving a target identification which is sent by a user and is preset corresponding to the scene mode of the automobile, wherein the target identification is sent through a vehicle-mounted host installed on the automobile. The on-board host is, for example, an Audio Video Navigation wireless communication AVNT (Audio, Video, Navigation, telecommunications) device installed in a car and inside.
S402, acquiring the longitude and latitude of the host of the electronic fence.
The electronic fence is the most advanced perimeter anti-theft alarm system at present, and consists of an electronic fence host and a front-end detection fence. The electronic fence host generates and receives a high-voltage pulse signal, can generate an alarm signal when the front-end detection fence is in a state of touching, short-circuit and open-circuit, and sends an intrusion signal to a safety alarm center; the front end detection fence is a tangible perimeter formed by components such as rods, metal wires and the like.
And S403, receiving the trigger distance sent by the user through the vehicle-mounted host.
In one embodiment, the triggering distance is, for example, 500 meters, 800 meters, 1000 meters, or the like. The user can set the trigger distance on the vehicle-mounted host computer, and the vehicle-mounted host computer sends the trigger distance to the home terminal after receiving the trigger distance.
S404, taking the longitude and latitude of the electronic fence as a starting point, and taking the longitude and latitude obtained by outwards expanding the trigger distance as the longitude and latitude of the trigger circle corresponding to the target identification.
S405, storing the target identification and the longitude and latitude of the trigger ring in a mapping relation table.
In one embodiment, before the step of S405, the linkage control method for a smart home scene further includes:
sending the longitude and latitude of the trigger ring to a host of the electronic fence, so that the host of the electronic fence can verify the longitude and latitude of the trigger ring and respond to the unique identifier of the host of the electronic fence when the verification is passed;
and when the unique identifier of the electronic fence host is received, storing the target identifier, the unique identifier of the electronic fence host and the longitude and latitude of the trigger circle in the mapping relation table.
The mapping relationship table provided according to the present embodiment is as follows (1):
geo-fence ID | Electronic fence ID | Scene mode ID |
ID1 | ID1 | ID1 |
ID2 | ID2 | ID2 |
… | … | … |
Watch (1)
In this table (1), each geofence has a unique value, i.e., geofence ID, which may be generated by a TSP (Telematics Service Provider) backend geofence system. Each scene mode in the intelligent home scene has a corresponding scene mode ID, and the scene mode ID is the target identifier. The mapping relationship among the geo-fence ID, the electronic fence ID and the scene mode ID is shown in table (1).
A user authorizes the vehicle-mounted computer to use the node Information in an application program of the vehicle-mounted host computer, and the longitude and latitude and the triggering distance range of a geographic fence POI (Point of Information) are set. When the configured geofence function started by the user includes a preset home-returning mode and a home-leaving mode, the home-end geofence server requests the electronic fence system to generate a geofence, and the electronic fence system returns an electronic fence ID after verification succeeds, where the electronic fence ID is, for example, a value: and FenceId X', the geofence is successfully set, and the corresponding ID information of the geofence, the electronic fence and the intelligent home scene mode is stored in the geofence server.
Fig. 6 is an interaction flowchart of a configuration process of a linkage control method for an intelligent home scene in an embodiment of the present invention, as shown in fig. 6, a vehicle-mounted host receives a scene mode selected by a user, and sends the scene mode to a home-end geo-fence server, the home-end geo-fence server generates a scene mode ID when receiving the scene mode, the user may further set a cell and a trigger distance on the vehicle-mounted host, start a geo-fence function on the vehicle-mounted host, the vehicle-mounted host sends the received cell and the trigger distance to the geo-fence server, the geo-fence server matches the e-fence ID according to the received cell, when a coverage area of the cell includes an area defined by e-fences, determines that a check is passed, obtains the e-fence ID, and sends the e-fence ID to the home-end geo-fence server, the home-end geo-fence server generates the geo-fence ID, and matches the scene ID and the fence ID.
Further, the step of acquiring the operating state of the home equipment in the preset scene mode corresponding to the target identifier in step S105 includes:
and acquiring the running state of at least one device in a preset scene mode corresponding to the target identifier and the running parameters of the device.
The step of controlling the operating state of the home equipment in the step S106 in a linkage manner according to the acquired operating state of the home equipment includes:
and remotely controlling the corresponding equipment according to the acquired running state of the at least one piece of equipment and the running parameters of the equipment.
Fig. 5 is a schematic view of an application example of a linkage control method for an intelligent home scenario in an embodiment of the present invention, and a usage scenario according to the present embodiment is shown in fig. 5, the linkage control method for an intelligent home scenario provided in the present embodiment may control a plurality of devices to be in an operating state or an off state, and when a certain device is controlled to be in the operating state, parameter values of parameters of the device in the operating state may be controlled.
Optionally, the preset scene mode includes a home mode, and a preset first alarm sequence corresponding to the target identifier of the home mode is that an out-of-circle alarm is prioritized over an in-circle alarm, and the method further includes:
when the out-of-circle alarm and the in-circle alarm are triggered in sequence according to the longitude and latitude of the target trigger circle and the position information of the automobile, judging that the sequence of triggering the out-of-circle alarm and the in-circle alarm is the same as the first alarm sequence corresponding to the home mode;
and acquiring the running state of at least one preset device corresponding to the target identifier of the home-returning mode and the running parameters of the device.
According to a use scene of the embodiment, for example, when a user drives an automobile to trigger a home mode, the indoor air conditioner of the user is controlled to be in a starting state in a linkage mode, the working mode of the air conditioner is controlled to be a preset refrigeration state, and the refrigeration temperature of the air conditioner is controlled to be 26 ℃; and simultaneously, the switch of the indoor lamp of the user is controlled to be turned on in a linkage manner.
Optionally, the preset scene mode includes a leaving mode, and the preset first alarm sequence corresponding to the target identifier of the leaving mode is that an in-circle alarm is prioritized over an out-of-circle alarm, and the method further includes:
when an in-circle alarm and an out-of-circle alarm are triggered in sequence according to the longitude and latitude of the target trigger circle and the position information of the automobile, judging that the sequence of the in-circle alarm and the out-of-circle alarm is the same as the first alarm sequence corresponding to the away-from-home mode;
and acquiring the running state of at least one preset device corresponding to the target identifier of the leaving mode and the running parameters of the device.
Linkage configuration of geo-fences with the e-fence ID and scene mode ID. After receiving the cloud electronic fence trigger instruction, the cloud geographic fence system judges whether to go out of round or enter round according to the geographic fence ID configured by the type (circle entering/circle exiting) of the electronic fence ID. Because the electronic fence can only alarm whether the current vehicle is in the circle or out of the circle, in order to realize the triggering function when the vehicle enters the circle and leaves the circle, the logic in the following table (2) is realized through the local end geo-fence server.
Watch (2)
The home gateway system can prompt a user whether to open a corresponding mode in a home or not by sending a trigger message to a vehicle-mounted host, displaying the trigger message as a message popup window, and sending a scene mode ID configured by a geo-fence ID to an intelligent home IoT (Internet of Things) platform through a home geo-fence server after the user selects and confirms, wherein the instruction is distributed to home equipment of the corresponding user by the intelligent home IoT platform, so that the effect of controlling different parameters of multiple devices in a scene in a linkage manner is achieved, and the home equipment is controlled by the intelligent home IoT platform in a linkage manner. And when the user selects to cancel, the linkage control function is ended.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
In an embodiment, a linkage control device of an intelligent home scene is provided, and the linkage control device of the intelligent home scene corresponds to the linkage control method of the intelligent home scene in the above embodiment one to one. As shown in fig. 7, the linkage control device 100 for the smart home scene includes a matching module 11, a target identifier obtaining module 12, an alarm sequence obtaining module 13, a triggering module 14, an operation state obtaining module 15, and a control module 16. The functional modules are explained in detail as follows:
the matching module 11 is configured to match the longitude and latitude of a target trigger ring from the preconfigured trigger ring longitude and latitude corresponding to the automobile according to the position information when the position information of the automobile is detected;
a target identifier obtaining module 12, configured to obtain a target identifier set corresponding to the longitude and latitude of the target trigger ring;
an alarm sequence acquiring module 13, configured to acquire a first alarm sequence of an out-of-circle alarm and an in-of-circle alarm in a preset scene mode corresponding to the target identifier;
the triggering module 14 is used for triggering an out-of-loop alarm or an in-loop alarm according to the position information of the automobile and the longitude and latitude of the target triggering loop;
the operation state acquisition module 15 is configured to acquire an operation state of the home equipment in a preset scene mode corresponding to the target identifier when the sequence of triggering the out-of-loop alarm and the in-loop alarm is the same as the first alarm sequence;
and the control module 16 is used for controlling the running state of the household equipment in a linkage manner according to the obtained running state of the household equipment.
In one embodiment, the triggering module 14 further comprises:
the longitude and latitude acquisition unit is used for acquiring the longitude and latitude of the automobile in real time;
the first judgment unit is used for judging that the automobile is in the target triggering ring when the acquired longitude and latitude of the automobile are in the range of the longitude and latitude of the target triggering ring and triggering in-ring alarm;
and the second judgment unit is used for judging that the automobile is outside the target triggering circle and triggering an outside-circle alarm when the acquired longitude and latitude of the automobile are outside the range of the longitude and latitude of the target triggering circle.
Optionally, the linkage control device 100 for a smart home scene further includes:
the first identification receiving module is used for receiving a target identification which is sent by a user and preset corresponding to the scene mode of the automobile, and the target identification is sent by a vehicle-mounted host installed on the automobile;
the host longitude and latitude acquisition module is used for acquiring the longitude and latitude of the host of the electronic fence;
the distance receiving module is used for receiving the trigger distance sent by the user through the vehicle-mounted host;
the triggering circle determining module is used for taking the longitude and latitude defined by the electronic fence as a starting point and taking the longitude and latitude obtained by outwards expanding the triggering distance as the longitude and latitude of the triggering circle corresponding to the target identifier;
and the storage module is used for storing the target identifier and the longitude and latitude of the trigger ring in a mapping relation table.
Optionally, the linkage control device 100 for a smart home scene further includes:
the verification module is used for sending the longitude and latitude of the trigger ring to the host of the electronic fence, so that the host of the electronic fence can verify the longitude and latitude of the trigger ring and respond to the unique identifier of the host of the electronic fence when the verification is passed;
the storage module is specifically configured to store the target identifier, the unique identifier of the electronic fence host, and the longitude and latitude of the trigger circle in the mapping relationship table when the unique identifier of the electronic fence host is received.
Further, the operation state obtaining module 15 specifically includes:
the operation parameter acquisition unit is used for acquiring the operation state of at least one device in a preset scene mode corresponding to the target identifier and the operation parameters of the device;
further, the control module 16 specifically includes:
and the remote control unit is used for remotely controlling the corresponding equipment according to the acquired running state of the at least one piece of equipment and the running parameters of the equipment.
In one embodiment, the preset scene modes include a return mode, the preset first alarm sequence corresponding to the target identifier of the return mode is that an out-of-circle alarm is prioritized over an in-circle alarm, and the linkage control device 100 for the smart home scene further includes:
the first judgment module is used for judging that the sequence of triggering the out-of-loop alarm and the in-loop alarm is the same as the first alarm sequence corresponding to the returning-to-home mode when the out-of-loop alarm and the in-loop alarm are sequentially triggered according to the longitude and latitude of the target trigger loop and the position information of the automobile;
and the first operating parameter acquiring module is used for acquiring the operating state of at least one preset device corresponding to the target identifier of the home returning mode and the operating parameters of the device.
In one embodiment, the preset scene modes include an away-from-home mode, a preset first alarm sequence corresponding to the target identifier of the away-from-home mode is that an in-circle alarm is prioritized over an out-of-circle alarm, and the linkage control device 100 for the smart home scene further includes:
the second judgment module is used for judging that the sequence of triggering the in-circle alarm and the out-of-circle alarm is the same as the first alarm sequence corresponding to the away-from-home mode when the in-circle alarm and the out-of-circle alarm are sequentially triggered according to the longitude and latitude of the target trigger circle and the position information of the automobile;
and the second operation parameter acquisition module is used for acquiring the operation state of at least one preset device corresponding to the target identifier of the leaving mode and the operation parameters of the device.
Wherein the meaning of "first" and "second" in the above modules/units is only to distinguish different modules/units, and is not used to define which module/unit has higher priority or other defining meaning. 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 modules is not necessarily limited to those steps or modules explicitly listed, but may include other steps or modules not explicitly listed or inherent to such process, method, article, or apparatus, and such that a division of modules presented in this application is merely a logical division and may be implemented in a practical application in a further manner.
For specific limitations of the linkage control device for the smart home scene, reference may be made to the above limitations of the linkage control method for the smart home scene, and details are not repeated here. All modules in the linkage control device of the intelligent home scene can be completely or partially realized through software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 8. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer equipment is used for storing data related to the linkage control method of the intelligent home scene. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by the processor to realize the linkage control method of the intelligent household scene.
In one embodiment, a computer device is provided, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the computer program, the steps of the linkage control method for smart home scenarios in the above embodiments are implemented, for example, steps 101 to 106 shown in fig. 2 and other extensions of the method and extensions of related steps. Alternatively, the processor, when executing the computer program, implements the functions of the modules/units of the linkage control device of the smart home scenario in the above embodiment, for example, the functions of the modules 11 to 16 shown in fig. 7. To avoid repetition, further description is omitted here.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like which is the control center for the computer device and which connects the various parts of the overall computer device using various interfaces and lines.
The memory may be used to store the computer programs and/or modules, and the processor may implement various functions of the computer apparatus by executing or executing the computer programs and/or modules stored in the memory and calling data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, video data, etc.) created according to the use of the cellular phone, etc.
The memory may be integrated in the processor or may be provided separately from the processor.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and the computer program is executed by a processor to implement the steps of the linkage control method of the smart home scenario in the above-described embodiments, such as the steps 101 to 106 shown in fig. 2 and the extensions of other extensions and related steps of the method. Alternatively, the computer program is executed by the processor to implement the functions of the modules/units of the linkage control device of the smart home scenario in the above embodiment, for example, the functions of the modules 11 to 16 shown in fig. 7. To avoid repetition, further description is omitted here.
In the linkage control method, the apparatus, the computer device and the storage medium for smart home scenes provided in this embodiment, when the position information of the vehicle is detected, the longitude and latitude of the target trigger loop are matched from the preset longitude and latitude of the trigger loop corresponding to the vehicle according to the position information, the target identifier set corresponding to the longitude and latitude of the target trigger loop is obtained, the first alarm sequence of the out-of-loop alarm and the in-loop alarm in the preset scene mode corresponding to the target identifier is obtained, the out-of-loop alarm or the in-loop alarm is triggered according to the longitude and latitude of the target trigger loop and the position information of the vehicle, so that when the sequence of the out-of-loop alarm and the in-loop alarm is the same as the first alarm sequence, the operation state of the home device in the preset scene mode corresponding to the target identifier is controlled in a linkage manner, and the current scene mode of the vehicle is determined by dynamically monitoring the process of the vehicle entering the in-of the in-loop from the outside or entering the out-loop process of the inside-loop, and the running state of the corresponding equipment is controlled according to different scene modes of the automobile, and the scene mode of the automobile monitored in the application is dynamic, so that the system can control the equipment in the corresponding scene aiming at the dynamic change of the automobile more timely.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It should be clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional units and modules is only used for illustration, and in practical applications, the above function distribution may be performed by different functional units and modules as needed, that is, the internal structure of the apparatus may be divided into different functional units or modules to perform all or part of the above described functions.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.
Claims (10)
1. A linkage control method for an intelligent home scene is characterized by comprising the following steps:
when the position information of the automobile is detected, matching the longitude and latitude of a target trigger ring from the preset trigger ring longitude and latitude corresponding to the automobile according to the position information;
acquiring a target identifier which is arranged corresponding to the longitude and latitude of the target trigger ring;
acquiring a first alarm sequence of an out-of-circle alarm and an in-circle alarm in a preset scene mode corresponding to the target identifier;
triggering an out-of-circle alarm or an in-circle alarm according to the position information of the automobile and the longitude and latitude of the target triggering circle;
when the sequence of triggering the out-of-circle alarm and the in-circle alarm is the same as the first alarm sequence, acquiring the running state of the household equipment in a preset scene mode corresponding to the target identifier;
and controlling the running state of the household equipment in a linkage manner according to the obtained running state of the household equipment.
2. The linkage control method for the smart home scene according to claim 1, wherein the step of triggering an out-of-circle warning or an in-circle warning according to the position information of the automobile and the latitude and longitude of the target trigger circle comprises:
acquiring the longitude and latitude of the automobile in real time;
when the acquired longitude and latitude of the automobile are within the range of the longitude and latitude of the target trigger ring, judging that the automobile is in the ring of the target trigger ring, and triggering the ring to alarm;
and when the acquired longitude and latitude of the automobile are out of the range of the longitude and latitude of the target triggering ring, judging that the automobile is out of the target triggering ring, and triggering out-of-ring alarm.
3. The linkage control method for the smart home scene according to claim 1, further comprising:
receiving a target identifier which is sent by a user and preset corresponding to the scene mode of the automobile, wherein the target identifier is sent by a vehicle-mounted host installed on the automobile;
acquiring the longitude and latitude of a host of the electronic fence;
receiving a trigger distance sent by a user through the vehicle-mounted host;
taking the longitude and latitude of the electronic fence delineation as a starting point, and taking the longitude and latitude obtained by outwards expanding the trigger distance as the longitude and latitude of the trigger circle corresponding to the target identifier;
and storing the target identification and the longitude and latitude of the trigger ring in a mapping relation table.
4. The linkage control method for the smart home scene according to claim 3, further comprising:
sending the longitude and latitude of the trigger ring to a host of the electronic fence, so that the host of the electronic fence can verify the longitude and latitude of the trigger ring and respond to the unique identifier of the host of the electronic fence when the verification is passed;
and when the unique identifier of the electronic fence host is received, storing the target identifier, the unique identifier of the electronic fence host and the triggering circle longitude and latitude in the mapping relation table.
5. The linkage control method for the intelligent home scene according to claim 1, wherein the step of obtaining the running state of the home devices in the preset scene mode corresponding to the target identifier comprises:
acquiring the running state of at least one device in a preset scene mode corresponding to the target identifier and the running parameters of the device;
the step of controlling the running state of the household equipment in a linkage mode according to the obtained running state of the household equipment comprises the following steps:
and remotely controlling the corresponding equipment according to the acquired running state of the at least one piece of equipment and the running parameters of the equipment.
6. The linkage control method for smart home scenes according to claim 5, wherein the preset scene modes include a home returning mode, a preset first alarm sequence corresponding to the target identifier of the home returning mode is that an out-of-circle alarm is prioritized over an in-circle alarm, and the method further comprises:
when an out-of-circle alarm and an in-circle alarm are triggered in sequence according to the longitude and latitude of the target trigger circle and the position information of the automobile, judging that the sequence of triggering the out-of-circle alarm and the in-circle alarm is the same as the first alarm sequence corresponding to the home mode;
and acquiring the running state of at least one preset device corresponding to the target identifier of the home returning mode and the running parameters of the device.
7. The linkage control method for the smart home scene according to claim 5, wherein the preset scene mode comprises an away-from-home mode, and a preset first alarm sequence corresponding to the target identifier of the away-from-home mode is that in-circle alarm is prioritized over out-of-circle alarm, the method further comprising:
when an in-circle alarm and an out-of-circle alarm are triggered in sequence according to the longitude and latitude of the target trigger circle and the position information of the automobile, judging that the sequence of the in-circle alarm and the out-of-circle alarm is the same as the first alarm sequence corresponding to the away-from-home mode;
and acquiring the running state of at least one preset device corresponding to the target identifier of the leaving mode and the running parameters of the device.
8. The utility model provides a coordinated control device of intelligence house scene which characterized in that, the device includes:
the matching module is used for matching the longitude and latitude of a target trigger ring from the preset trigger ring longitude and latitude corresponding to the automobile according to the position information when the position information of the automobile is detected;
the target identification acquisition module is used for acquiring a target identification which is arranged corresponding to the longitude and latitude of the target trigger ring;
the alarm sequence acquisition module is used for acquiring a first alarm sequence of the out-of-circle alarm and the in-circle alarm in a preset scene mode corresponding to the target identifier;
the triggering module is used for triggering an out-of-circle alarm or an in-circle alarm according to the position information of the automobile and the longitude and latitude of the target triggering circle;
the operation state acquisition module is used for acquiring the operation state of the household equipment in a preset scene mode corresponding to the target identifier when the sequence of triggering the out-of-circle alarm and the in-circle alarm is the same as the first alarm sequence;
and the control module is used for controlling the running state of the household equipment in a linkage manner according to the obtained running state of the household equipment.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method for linkage control of smart home scenarios according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of the method for linkage control of smart home scenes according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011023874.0A CN112422620B (en) | 2020-09-25 | 2020-09-25 | Linkage control method and device for smart home scene and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011023874.0A CN112422620B (en) | 2020-09-25 | 2020-09-25 | Linkage control method and device for smart home scene and related equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112422620A CN112422620A (en) | 2021-02-26 |
CN112422620B true CN112422620B (en) | 2022-07-12 |
Family
ID=74854126
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011023874.0A Active CN112422620B (en) | 2020-09-25 | 2020-09-25 | Linkage control method and device for smart home scene and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112422620B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106412833A (en) * | 2016-10-19 | 2017-02-15 | 上海安吉星信息服务有限公司 | Intelligent household control method, apparatus and system |
CN110611883A (en) * | 2019-09-18 | 2019-12-24 | 一汽轿车股份有限公司 | Car and home interconnection system based on electronic fence |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110178811A1 (en) * | 2010-01-19 | 2011-07-21 | Telenav, Inc. | Navigation system with geofence validation and method of operation thereof |
US20180121958A1 (en) * | 2016-10-28 | 2018-05-03 | Telenav, Inc. | Navigation system with dynamic geofence marketplace mechanism and method of operation thereof |
-
2020
- 2020-09-25 CN CN202011023874.0A patent/CN112422620B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106412833A (en) * | 2016-10-19 | 2017-02-15 | 上海安吉星信息服务有限公司 | Intelligent household control method, apparatus and system |
CN110611883A (en) * | 2019-09-18 | 2019-12-24 | 一汽轿车股份有限公司 | Car and home interconnection system based on electronic fence |
Also Published As
Publication number | Publication date |
---|---|
CN112422620A (en) | 2021-02-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9374772B2 (en) | Telematics support for mobile wireless network service swapping | |
US9251693B2 (en) | Providing notification that an electronic device is located at a vehicle | |
CN107344535B (en) | Dynamic state update solicitation | |
US20140266635A1 (en) | Communicating with residential electrical devices via a vehicle telematics unit | |
CN108632783B (en) | Wireless access point detection and use by vehicles | |
CN103929830A (en) | Short Range Wireless Communication Between A Vehicle And A Handheld Communications Device | |
US8797958B2 (en) | Method of wirelessly communicating data between vehicles and central facilities | |
CN108216025B (en) | Method and apparatus for providing occupant reminders | |
US9949267B2 (en) | Vehicle telematics services in coordination with a handheld wireless device | |
US9338731B2 (en) | Vehicle telematics unit management | |
US9148743B2 (en) | Wirelessly provisioning a vehicle telematics unit | |
US8548508B2 (en) | Method of identifying telematics calls | |
US10178709B2 (en) | Remotely triggering calls to a PSAP | |
US20140269466A1 (en) | Controlling wi-fi service in a vehicle | |
CN110234064B (en) | Determining vehicle parking position | |
DE102019132605A1 (en) | METHOD AND SYSTEM FOR DETECTING VEHICLE INPUTS | |
US20180063882A1 (en) | Method of telematics connectivity management | |
US9301242B2 (en) | Multimode acquisition for a wireless device | |
US8995979B2 (en) | MEID-based paging to reach de-activated telematics modules | |
CN107104805B (en) | Method for provisioning a wireless device using a cellular communication protocol | |
CN110197573B (en) | Characterizing vehicles based on wireless transmission | |
CN108124296B (en) | Controlling use of an onboard WI-FI hotspot via a handheld wireless device | |
CN112422620B (en) | Linkage control method and device for smart home scene and related equipment | |
US20180103413A1 (en) | Dynamic assignment of regional network settings | |
US9420410B2 (en) | Managing wireless voice and data communications |
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 |