CN110377210B - Security system automatic scene configuration method and device - Google Patents
Security system automatic scene configuration method and device Download PDFInfo
- Publication number
- CN110377210B CN110377210B CN201910654452.4A CN201910654452A CN110377210B CN 110377210 B CN110377210 B CN 110377210B CN 201910654452 A CN201910654452 A CN 201910654452A CN 110377210 B CN110377210 B CN 110377210B
- Authority
- CN
- China
- Prior art keywords
- configuration
- scene
- interface
- configuration interface
- operation instruction
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0486—Drag-and-drop
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Closed-Circuit Television Systems (AREA)
Abstract
The embodiment of the invention provides an automatic scene configuration method and device for a security system, wherein the method comprises the following steps: acquiring a first dragging operation instruction aiming at a target scene under a current configuration interface, wherein the current configuration interface is one of a plurality of configuration interfaces, the plurality of configuration interfaces are positioned on the same interface for display, and the target scene is a scene to be configured in a plurality of scenes of the current configuration interface; acquiring a configuration instruction corresponding to the target scene in a preset configuration area according to the first dragging operation instruction, wherein the configuration instruction comprises configuration parameters; and updating the display information of the current configuration interface according to the configuration instruction, wherein the display information is used for displaying the configured scene items of the current configuration interface. The method and the device for the automatic scene configuration of the security system provided by the embodiment of the invention can solve the problem that the configuration is easy to repeat in the existing configuration scheme.
Description
Technical Field
The embodiment of the invention relates to the technical field of safety protection, in particular to an automatic scene configuration method and device for a security system.
Background
With the acceleration of the process of stepping into the information-based society, the relation between work, life and communication of people is increasingly tight, and meanwhile, a new challenge is also provided for the safety protection of residences and public areas.
Security protection for residential and public areas is typically achieved by security systems. Firstly, a configurator configures an automation scene of a security system, including preset conditions, trigger conditions, execution behaviors and the like, and then the security system monitors a corresponding area in real time and takes corresponding actions at corresponding moments according to the configured conditions. Fig. 1 is a schematic diagram of an automatic scene configuration scheme of an existing security system according to an embodiment of the present invention, and as shown in fig. 1, when configuring a preset condition, a trigger condition, and an execution behavior, a configurator needs to enter a corresponding configuration interface, where the configuration interface is a new interface, configure corresponding information on the new interface, and after confirming that, return to a previous menu to continue configuration. The configuration scheme is easy to cause configuration personnel to forget how much information is configured currently, and the problem of repeated configuration is easy to occur due to the fact that more configured information increases the probability of errors.
Therefore, an automatic scene configuration scheme of a security system is urgently needed, and the problem that configuration repetition easily occurs in the existing configuration scheme is solved.
Disclosure of Invention
The embodiment of the invention provides an automatic scene configuration method and device for a security system, and aims to solve the problem that configuration repetition easily occurs in the existing configuration scheme.
In a first aspect, an embodiment of the present invention provides an automatic scene configuration method for a security system, including:
acquiring a first dragging operation instruction aiming at a target scene under a current configuration interface, wherein the current configuration interface is one of a plurality of configuration interfaces, the plurality of configuration interfaces are positioned on the same interface for display, and the target scene is a scene to be configured in a plurality of scenes of the current configuration interface;
acquiring a configuration instruction corresponding to the target scene in a preset configuration area according to the first dragging operation instruction, wherein the configuration instruction comprises configuration parameters;
and updating the display information of the current configuration interface according to the configuration instruction, wherein the display information is used for displaying the configured scene items of the current configuration interface.
In one possible design, the obtaining of the first drag operation instruction for the target scene under the current configuration interface includes:
acquiring a first dragging operation instruction of dragging the target scene to the preset configuration area under the current configuration interface; or
And acquiring a first dragging operation instruction of dragging the target scene to the current configuration interface.
In one possible design, the method further includes:
acquiring a second dragging operation instruction, wherein the second dragging operation instruction is used for indicating that a candidate configuration interface is switched to the current configuration interface;
and switching the current configuration interface into the candidate configuration interface according to the second dragging operation instruction, and initializing a scene item of the current configuration interface.
In one possible design, the obtaining the second drag operation instruction includes:
acquiring a second dragging operation instruction of dragging a candidate scene to a candidate configuration interface, wherein the candidate scene is one of the scenes except the target scene; or
And acquiring a second dragging operation instruction of dragging the candidate configuration interface to the current configuration interface.
In a possible design, if the second drag operation instruction is an instruction that a candidate scene is dragged to a candidate configuration interface, before the initializing a scene item of the current configuration interface, the method further includes:
and judging whether the candidate configuration interface comprises the candidate scene, wherein the judgment result is yes.
In a possible design, after the switching the current configuration interface to the candidate configuration interface and initializing a scene item of the current configuration interface according to the second drag operation instruction, the method further includes:
acquiring a configuration instruction corresponding to the candidate scene in the preset configuration area, wherein the configuration instruction comprises configuration parameters;
and updating the display information of the current configuration interface according to the configuration instruction, wherein the display information is used for displaying the configured scene items of the current configuration interface.
In one possible design, the plurality of configuration interfaces includes:
presetting a condition interface, a trigger condition interface and an execution behavior interface;
the plurality of scenes specifically include:
the method comprises the following steps of time scene, security measure scene, zwave equipment scene, area scene and video recording scene, wherein the zwave equipment is equipment complying with the zwave protocol.
In a second aspect, an embodiment of the present invention provides an automatic scene configuration device for a security system, including:
the device comprises a first obtaining module, a second obtaining module and a control module, wherein the first obtaining module is used for obtaining a first dragging operation instruction aiming at a target scene under a current configuration interface, the current configuration interface is one of a plurality of configuration interfaces, the plurality of configuration interfaces are positioned on the same interface for display, and the target scene is a scene to be configured in a plurality of scenes of the current configuration interface;
a second obtaining module, configured to obtain, according to the first dragging operation instruction, a configuration instruction corresponding to the target scene in a preset configuration area, where the configuration instruction includes configuration parameters;
and the updating module is used for updating the display information of the current configuration interface according to the configuration instruction, wherein the display information is used for displaying the scene items configured on the current configuration interface.
In one possible design, the first obtaining module is specifically configured to:
acquiring a first dragging operation instruction of dragging the target scene to the preset configuration area under the current configuration interface; or
And acquiring a first dragging operation instruction of dragging the target scene to the current configuration interface.
In one possible design, the first obtaining module is further specifically configured to:
acquiring a second dragging operation instruction, wherein the second dragging operation instruction is used for indicating that a candidate configuration interface is switched to the current configuration interface;
and switching the current configuration interface into the candidate configuration interface according to the second dragging operation instruction, and initializing a scene item of the current configuration interface.
In one possible design, the first obtaining module is further specifically configured to:
acquiring a second dragging operation instruction of dragging a candidate scene to a candidate configuration interface, wherein the candidate scene is one of the scenes except the target scene; or
And acquiring a second dragging operation instruction of dragging the candidate configuration interface to the current configuration interface.
In a possible design, if the second drag operation instruction is an instruction that the candidate scene is dragged to the candidate configuration interface, before the scene item of the current configuration interface is initialized, the first obtaining module is further specifically configured to:
and judging whether the candidate configuration interface comprises the candidate scene, wherein the judgment result is yes.
In one possible design, the second obtaining module is further configured to:
acquiring a configuration instruction corresponding to the candidate scene in the preset configuration area, wherein the configuration instruction comprises configuration parameters;
and updating the display information of the current configuration interface according to the configuration instruction, wherein the display information is used for displaying the configured scene items of the current configuration interface.
In one possible design, the plurality of configuration interfaces includes:
presetting a condition interface, a trigger condition interface and an execution behavior interface;
the plurality of scenes specifically include:
the method comprises the following steps of time scene, security measure scene, zwave equipment scene, area scene and video recording scene, wherein the zwave equipment is equipment complying with the zwave protocol.
In a third aspect, an embodiment of the present invention provides an automatic scene configuration device for a security system, including: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes the computer-executable instructions stored by the memory, causing the at least one processor to perform the method for automated scene configuration of a security system according to any of the first aspects.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer executing instruction is stored in the computer-readable storage medium, and when a processor executes the computer executing instruction, the method for configuring an automated scene of a security system according to any one of the first aspect is implemented.
According to the method and the device for configuring the automatic scene of the security system, provided by the embodiment of the invention, a plurality of configuration interfaces are displayed on the same interface, and the target scene corresponding to the preset configuration area is obtained according to the first dragging operation instruction, so that the configuration of the target scene is realized. After the target scene configuration is completed, the display information of the current configuration interface is updated, so that whether the configuration of each scene under each configuration interface is completed or not can be observed in real time, the configuration personnel can be helped to configure the unconfigured scene items in time, the configured scene items are not configured repeatedly, and the problem of configuration repetition caused by more configuration information is solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic diagram of an automated scene configuration scheme of a conventional security system according to an embodiment of the present invention;
fig. 2 is an application scenario diagram of an automated scenario configuration of a security system according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of an automated scene configuration method for a security system according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an automated scene configuration interface of a security system according to an embodiment of the present invention;
FIG. 5 is a schematic view of an automated scene configuration of a security system according to an embodiment of the present invention;
fig. 6 is a response diagram of a first drag operation instruction according to an embodiment of the present invention;
fig. 7 is a response diagram of a second drag operation instruction according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an automatic scene configuration device of a security system according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a hardware structure of an automatic scene configuration device of a security system according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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, but 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.
Fig. 2 is a schematic view of an application scenario of an automation scenario configuration of a security system according to an embodiment of the present invention, and as shown in fig. 2, the application scenario includes a server 21 and clients 22, where one server 21 may be connected to one or more clients 22, and the clients 22 are used for a configurator to perform configuration of an automation scenario. Through the client 22, a configuration person can select a plurality of configuration interfaces to configure respectively, the plurality of configuration interfaces generally include a preset condition interface, a trigger condition interface and an execution behavior interface, the preset condition interface refers to a preset item of an automation scene, the trigger condition interface refers to a scene item that triggers a certain execution behavior, and the execution behavior interface refers to a behavior item of the execution behavior interface executing a corresponding behavior after a certain scene item of the trigger interface is triggered. Each client 22 corresponds to one security system, and through the client 22, the server 21 can acquire scene configuration of the corresponding security system under each configuration interface, monitor the area where the security system is located in real time, and execute corresponding behaviors when certain scenes are triggered, thereby ensuring the security of the area where the security system is located.
The technical solution of the present invention and how to solve the above technical problems will be described in detail with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
Fig. 3 is a schematic flowchart of an automated scene configuration method for a security system according to an embodiment of the present invention, and as shown in fig. 3, the method includes:
s31, a first dragging operation instruction for a target scene under a current configuration interface is obtained, the current configuration interface is one of a plurality of configuration interfaces, the plurality of configuration interfaces are located on the same interface for display, and the target scene is a scene to be configured in a plurality of scenes of the current configuration interface.
When an automated scene configuration is performed, generally, one security system includes a plurality of configuration interfaces. When the existing configuration scheme is configured, each configuration interface needs to be entered for configuration, and after the configuration is completed, the configuration is returned to the superior menu for continuous configuration. The embodiment of the invention is different from the prior art in that a plurality of configuration interfaces are positioned on the same interface for displaying.
Fig. 4 is a schematic view of an automatic scene configuration interface of a security system according to an embodiment of the present invention, as shown in fig. 4, the automatic scene configuration interface includes an upper configuration interface 410 and a lower preset configuration area 420, a scene item 40 is on the left side of the configuration interface 410, and three configuration interfaces, namely a first configuration interface 41, a second configuration interface 42, and a third configuration interface 43, are on the right side of the configuration interface 410, in fig. 4, the second configuration interface 42 is a current configuration interface, and the current configuration interface refers to an interface to be configured by a configurator, and is generally displayed in a central area of the configuration interface. The other configuration interfaces except the current configuration interface are candidate configuration interfaces, and in fig. 4, the first configuration interface 41 and the third configuration interface 43 are both candidate configuration interfaces. It is understood that the number of configuration interfaces may be plural, and the three configuration interfaces illustrated in fig. 4 are merely an example, and the actual configuration interfaces may be 2, 4, 5, etc., and are not limited herein.
When a configurator needs to configure a target scene of a current configuration interface, a first dragging operation is carried out on a client, and the client acquires a corresponding first dragging operation instruction. The target scene is a scene to be configured in a plurality of scenes of the current configuration interface. As shown in FIG. 4, the second configuration interface 42 is now the current configuration interface, and a plurality of scenes including time, security measures, video and Zwave are shown in the scene item 40. If the configurator wants to configure the time scene under the second configuration interface 42, the target scene is the time scene under the second configuration interface 42.
S32, acquiring a configuration instruction corresponding to the target scene in a preset configuration area according to the first dragging operation instruction, wherein the configuration instruction comprises configuration parameters.
In the embodiment of the invention, the first dragging operation instruction comprises information of a target scene, wherein the target scene is a scene to be configured in a plurality of scenes of the current configuration interface. For example, if the configurator wants to configure a time scene in the scene of the current configuration interface, the configurator selects the time scene from the scene options on the left, presses the area corresponding to the time scene for a long time, and drags the area to the corresponding setting area. At this time, the preset configuration area of the time scene is displayed on the interface.
After the target scene corresponding to the preset configuration area is obtained, configuration personnel need to configure the target scene in the preset configuration area. For example, when the time scene of the current configuration interface is configured, after executing the first drag operation instruction, as shown in fig. 4, the specific configuration of the time scene under the current configuration interface appears in the lower half of fig. 4, which is the corresponding preset configuration area 420, and the configurator only needs to input the configuration information corresponding to the time scene according to actual needs and then confirms the configuration information. If the input configuration information is wrong, the previous configuration information can be selected to be cancelled, and the configuration is carried out again.
And S33, updating the display information of the current configuration interface according to the configuration instruction, wherein the display information is used for displaying the scene items configured on the current configuration interface.
And when the target scene configuration is completed, updating the display information of the current configuration interface, wherein the display information is used for displaying the scene items configured in the current configuration interface. As shown in fig. 4, taking the time scenario of the current configuration interface as an example, after the configurator configures the time scenario in the preset configuration area 420 below fig. 4, a time scenario icon is displayed on the current configuration interface, where the time scenario icon indicates that the corresponding scenario has been configured. And a scene icon which is not displayed on the current configuration interface indicates that the corresponding scene is not configured. And according to the icons of the configuration interfaces, the scene items configured on each configuration interface can be obtained clearly at a glance.
According to the automatic scene configuration method for the security system, provided by the embodiment of the invention, a plurality of configuration interfaces are displayed on the same interface, and a target scene corresponding to a preset configuration area is obtained according to a first dragging operation instruction, so that the configuration of the target scene is realized. After the target scene configuration is completed, the display information of the current configuration interface is updated, so that whether the configuration of each scene under each configuration interface is completed or not can be observed in real time, the configuration personnel can be helped to configure the unconfigured scene items in time, the configured scene items are not configured repeatedly, and the problem of configuration repetition caused by more configuration information is solved.
In the security system, the plurality of configuration interfaces include, but are not limited to, a preset condition interface, a trigger condition interface, and an execution behavior interface. The preset condition interface is an interface for setting an initial state of the security system or an initial state of each device in the security system, the trigger condition interface is an interface for setting a condition state for triggering a certain behavior in the security system, and the execution behavior interface is a page for executing the corresponding behavior when the trigger condition is met.
The plurality of scenes include, but are not limited to, a time scene, a security measure scene, a zwave device scene, an area scene, and a video recording scene, wherein the zwave device is a device complying with the zwave protocol. The time scene is used for configuring corresponding time on the corresponding configuration interface; the security measure scene is used for configuring corresponding security measures on the corresponding configuration interface; the zwave equipment scene is used for configuring the corresponding zwave equipment state on a corresponding configuration interface, wherein the zwave equipment is equipment complying with a zwave protocol, the zwave is a short-distance wireless communication technology which is low in power consumption, high in reliability and suitable for a network based on radio frequency, the zwave is commonly used in the field of intelligent home, and equipment in the zwave network can be controlled through the Internet through a wireless network constructed by the zwave; the area scene is used for configuring a corresponding area range on a corresponding configuration interface; and the video recording scene is used for configuring corresponding video recording operation on the corresponding configuration interface.
In the embodiment of the invention, all scenes are aggregated and classified and displayed on the interface, and each configuration interface comprises one or more of the aggregated scenes. For example, the preset condition interface and the trigger condition interface include a time scene, a security measure scene, a door and a temperature controller in a zwave device scene, and an area scene, and do not include a lamp in the zwave device scene, and the execution behavior interface includes the security measure scene, the zwave device scene, and the area scene, and does not include the time scene.
The following describes in detail an automated scene configuration scheme of a security system according to an embodiment of the present invention with reference to fig. 5 to 7.
Fig. 5 is a schematic view of an automatic scene configuration of a security system according to an embodiment of the present invention, and as shown in fig. 5, the upper half is a configuration interface 51, and the lower half is a preset configuration area 52. On the configuration interface 51, a first scene column 510 is on the left, and includes a time scene, a security measure scene, a video scene, a zwave device scene, and three sub-scenes including a door, a lamp, and a temperature controller under the zwave device. On the right are three configuration interfaces, namely a preset condition configuration interface 511, a trigger condition configuration interface 512 and an execution behavior configuration interface 513, which are displayed on the same interface.
On the preset configuration area 52, a second scene column 520 is on the left, the content of the second scene column 520 corresponds to the content of the first scene column 510, and also includes a time scene, a security measure scene, a video recording scene, and a zwave device scene, and under the zwave device, also includes three sub-scenes, namely a door, a lamp, and a temperature controller. On the right side of the preset configuration area 52, a configuration bar 521 is provided, and when a different scene configuration is selected, the configuration bar 521 correspondingly displays different contents.
For example, in the time scenario of the preset condition and the trigger condition, the configuration column 521 corresponds to a specific time or a time period for which the configuration can be displayed; under the zwave equipment scene of the preset condition, the configuration column 521 can be used for correspondingly switching on or off the configurable sub-scene doors, switching on or off the configurable sub-scene lamps and grouping the lamps, and switching on or off the corresponding temperature controllers.
In the security measure scenario of the trigger condition, the configuration column 521 may configure to trigger a corresponding execution behavior in each case, such as a fire, a short circuit, or carbon monoxide poisoning; under the zwave equipment scene of the trigger condition, the configuration column 521 corresponds to the on or off of a configurable sub-scene door, the on or off of a configurable sub-scene lamp, the on or off of a configurable sub-scene temperature controller, and triggers a corresponding execution behavior when exceeding a certain range; in the video recording scene of the trigger condition, the configuration column 521 may configure a camera or the like that selects video recording.
Under the security measure scene of the execution behavior, the configuration column 521 can be correspondingly configured to perform corresponding security operation when the trigger condition is met; in the zwave equipment scene of the execution behavior, the configuration column 521 corresponds to the on or off of the configurable sub-scene door when the triggering condition is met, the on or off of the configurable sub-scene lamp when the triggering condition is met, and the on or off or temperature regulation of the configurable sub-scene temperature controller when the triggering condition is met; in the video recording scene of the execution behavior, the configuration column 521 may be configured to determine whether to perform video recording when the trigger condition is satisfied, and to configure the duration of the video recording and the selected camera.
The specific configuration content of the configuration column 521 can be set according to the needs of an actual security system, the above example is only one possible configuration content of the configuration column 521 provided in the embodiment of the present invention, and the specific configuration content is not specifically limited herein.
When a scene of a certain configuration interface is to be configured, a first drag operation instruction under a current configuration interface is obtained first. In the embodiment of the invention, the first dragging operation instruction has two modes, the first mode is that a target scene is dragged to a preset configuration area, and the target scene is a scene to be configured by a configuration personnel; the second is to drag the target scene to the current configuration interface. Any one of the dragging manners is selected, and the configuration information of the target scene in the current configuration interface is displayed on the preset configuration area 52.
If the target scene is not configured, directly configuring the target scene on the configuration column 521 of the preset configuration area 52, specifically, obtaining a configuration instruction corresponding to the target scene in the preset configuration area 52, where the configuration instruction includes configuration parameters, and updating display information of the current configuration interface according to the configuration instruction, where the display information is used to display the scene item configured on the current configuration interface. For example, if the configuration instruction is to configure a time scene, the configuration parameter refers to the setting of time, including a specific time or a time period, and if the configuration instruction is to configure a sub-scene gate, the configuration parameter designation is the setting of a gate, including the opening or closing of the gate, and so on.
If the target scene is configured, the configuration information of the target scene in the current configuration interface can be directly viewed on the configuration bar 521, and further, the configuration information of the target scene in the current configuration interface can be directly modified on the configuration bar 521.
Since the first scene bar 510 and the second scene bar 520 include all scenes in each configuration interface, but a certain configuration interface may not include all scenes in the first scene bar 510 and the second scene bar 520, for the excluded scenes, the display is gray and cannot be dragged in the current configuration interface. For example, if the current configuration interface is an execution behavior and the execution behavior configuration interface does not include a time scene, the time scene controls of the first scene bar 510 and the second scene bar 520 are gray, and cannot be dragged or edited.
For example, as shown in fig. 5, a configuration person performs a first drag operation, and a client obtains a first drag operation instruction. Specifically, a configurator long-presses a video control on the first scene bar 520 to select a video scene under a current configuration interface (i.e., a trigger condition configuration interface), long-presses the video control without releasing the hand to drag the video scene onto the trigger condition configuration interface 512 or the preset configuration area 52, and then releases the hand, the configuration information of the video scene under the trigger condition configuration interface is displayed on the configuration bar 521, if the video scene under the trigger condition configuration interface is not configured, the configuration can be directly performed, and if the video scene under the trigger condition configuration interface is configured, the configurator can check the corresponding configuration information or modify the configuration information.
Fig. 6 is a response diagram of a first drag operation instruction provided in an embodiment of the present invention, and as shown in fig. 6, in an embodiment of the present invention, a moving track of a configurator on a client may be a first track 61 from a video recording control on a first scene bar 510 to a trigger condition configuration interface 512, and an end point of the first track 61 may be any point on the trigger condition configuration interface 512; meanwhile, the movement track of the configurator on the client may also be a second track 62 from the video recording control in the first scene bar 510 to the preset configuration area 52, and the end point of the second track 62 may be any point on the preset configuration area 52.
If the movement track of the configuration staff on the client is from a point on the first scene bar 510 to the movement destination, and the destination is not on the preset configuration area 52, the preset condition configuration interface 511, the trigger condition interface 512, and the execution behavior configuration interface 513, the client cannot acquire the drag operation instruction and does not respond to the drag operation instruction.
If the target scene which is not configured is configured, the display information of the configuration interface corresponding to the target scene is updated, and as shown in fig. 5, after the video scene is configured, the display information 55 is changed from time, door, and lamp to time, door, and video. The display information 55 indicates the scene item that has been configured.
If the scene which the configuration personnel want to configure is not under the current configuration interface, a second dragging operation instruction is firstly obtained, the candidate configuration interface is switched to the current configuration interface according to the second dragging operation instruction, and the scene item of the current configuration interface is initialized. In the embodiment of the present invention, the second drag operation instruction has two modes, the first mode is to drag the candidate scene to the candidate configuration interface, and the second mode is to drag the candidate configuration interface to the current configuration interface. The candidate scene is a scene to be configured by a configuration person, is under the candidate configuration interface, and is one of other scenes except the target scene in the plurality of scenes. And after the current configuration interface is switched into the candidate configuration interface according to the second dragging operation instruction, initializing a scene item of the current configuration interface to obtain corresponding display information, wherein the display information is used for displaying the configured scene in the current configuration interface.
Selecting any one of the dragging modes, firstly, judging whether the candidate scene is included in the candidate configuration interface, if so, displaying configuration information of the candidate scene in the candidate configuration interface on the preset configuration area 52, if not, acquiring a configuration instruction corresponding to the candidate scene in the preset configuration area, wherein the configuration instruction includes configuration parameters, the configuration instruction updates display information of the current configuration interface, and the display information is used for displaying scene items configured in the current configuration interface.
If the candidate scene is configured, the configuration personnel can check the configuration information of the candidate scene, and if the candidate scene is not included in the candidate configuration interface, the second dragging operation instruction is invalid and does not respond. This process is described in detail below with reference to fig. 5 and 7.
As shown in fig. 5, the configuration interface 51 includes a preset condition configuration interface 511, a trigger condition configuration interface 512, and an execution behavior configuration interface 513, where the current configuration interface is the trigger condition configuration interface 512, if the candidate scene is a sub-scene gate under the preset condition configuration interface 511, the corresponding candidate configuration interface is the preset condition configuration interface 511, and if the candidate scene is under the execution behavior configuration interface 513, the corresponding candidate configuration interface is the execution behavior configuration interface 513. In the embodiment of the present invention, the candidate configuration interface is only taken as the preset condition configuration interface 511 for illustration, and the situation that the candidate configuration interface is the execution behavior configuration interface 513 is similar to this, and details are not repeated.
Fig. 7 is a response diagram of a second dragging operation instruction provided in the embodiment of the present invention, and as shown in fig. 7, a configuration worker performs a second dragging operation, and a client obtains the second dragging operation instruction. Specifically, the configurator presses the gate control on the first scene bar 510 for a long time to select the sub-scene gate as the candidate scene, and the preset condition configuration interface 511 is the candidate configuration interface at this time. Long press and drag it to the preset condition configuration interface 511, and then release the hand to obtain the third track 71. At this time, the client determines whether the sub-scene gate is included in the preset condition configuration interface 511, if the determination result is that the sub-scene gate is included, the preset condition configuration interface is switched to the current configuration interface according to the second dragging operation instruction and is displayed in the middle of the configuration interface 51, and the configuration column 521 on the preset configuration area 52 displays the configuration information of the sub-scene gate in the preset condition configuration interface 511. If the sub-scene gate is not configured, a configuration instruction corresponding to the sub-scene gate is obtained, the configuration instruction comprises a configuration parameter, the sub-scene gate is configured according to the configuration parameter, and after configuration is completed, display information is updated on a current configuration interface, namely a preset condition configuration interface 511.
If the sub-scene gate is configured, the configuration personnel can directly view the corresponding configuration information or modify the configuration information. As shown in fig. 5, the display information of the preset condition configuration interface 511 is empty before configuration, and after configuration, the display information of the preset condition configuration interface 511 is a gate, which indicates that the sub-scene gate under the preset condition configuration interface 511 has been configured.
Another method is to perform a right-sliding operation on the configuration interface 51, obtain a fourth track 72, switch the preset condition configuration interface 511 to the current configuration interface, and drag the sub-scene gate to the preset condition configuration interface 511. Meanwhile, a judgment is also made, if the preset condition configuration interface 511 includes a sub-scene gate, the configuration information of the sub-scene gate under the preset condition configuration interface 511 is displayed in the preset configuration area, and if the preset condition configuration interface 511 does not include the sub-scene gate, the operation is invalid and no response is given.
The configuration interface may be switched by directly sliding in a blank of the configuration interface 51, as shown in fig. 7, the trigger condition configuration interface 512 is the current configuration interface, and if the configurator wishes to switch the preset condition configuration interface 511 to the current configuration interface, a right-sliding operation may be performed, for example, the fourth track 72. If the configuration personnel wish to switch the execution behavior configuration interface 513 to the current configuration interface, a left-swipe operation may be performed. It is to be understood that the trajectory of the right-slide operation is not necessarily a straight line, nor a horizontal line, and the fourth trajectory 72 in fig. 7 is merely illustrative as long as the end point of the trajectory of the right-slide operation is right of the start point. Similarly, the end point of the trajectory of the left slide operation may be left of the start point, and may be a straight line, a curved line, a horizontal line, or a line other than a horizontal line.
According to the automatic scene configuration method for the security system, provided by the embodiment of the invention, a plurality of configuration interfaces are displayed on the same interface, and a target scene corresponding to a preset configuration area is obtained according to a first dragging operation instruction, so that the configuration of the target scene is realized. After the target scene configuration is completed, the display information of the current configuration interface is updated, so that whether the configuration of each scene under each configuration interface is completed or not can be observed in real time, the configuration personnel can be helped to configure the unconfigured scene items in time, the configured scene items are not configured repeatedly, and the problem of configuration repetition caused by more configuration information is solved. The embodiment of the invention also introduces the functions of scene classification, dragging configuration and sliding rapid page switching, and the configuration personnel drag the scene item to the central configuration information and rapidly select the configuration information in the popped dialog box to complete the configuration. The use of dragging function, more press close to the biology to the intelligent operability of correlation function, the classification of scene makes things convenient for the configuration personnel to fix a position the required scene item that sets up fast, improves configuration speed.
Fig. 8 is a schematic structural diagram of an automatic scene configuration device of a security system according to an embodiment of the present invention, as shown in fig. 8, including a first obtaining module 81, a second obtaining module 82, and an updating module 83, where:
the first obtaining module 81 is configured to obtain a first dragging operation instruction for a target scene under a current configuration interface, where the current configuration interface is one of multiple configuration interfaces, the multiple configuration interfaces are located on the same interface for display, and the target scene is a scene to be configured in multiple scenes of the current configuration interface;
the second obtaining module 82 is configured to obtain a configuration instruction corresponding to the target scene in a preset configuration area according to the first dragging operation instruction, where the configuration instruction includes configuration parameters;
the updating module 83 is configured to update display information of the current configuration interface according to the configuration instruction, where the display information is used to display the configured scene item of the current configuration interface.
In one possible design, the first obtaining module 81 is specifically configured to:
acquiring a first dragging operation instruction of dragging the target scene to the preset configuration area under the current configuration interface; or
And acquiring a first dragging operation instruction of dragging the target scene to the current configuration interface.
In a possible design, the first obtaining module 81 is further specifically configured to:
acquiring a second dragging operation instruction, wherein the second dragging operation instruction is used for indicating that a candidate configuration interface is switched to the current configuration interface;
and switching the current configuration interface into the candidate configuration interface according to the second dragging operation instruction, and initializing a scene item of the current configuration interface.
In a possible design, the first obtaining module 81 is further specifically configured to:
acquiring a second dragging operation instruction of dragging a candidate scene to a candidate configuration interface, wherein the candidate scene is one of the scenes except the target scene; or
And acquiring a second dragging operation instruction of dragging the candidate configuration interface to the current configuration interface.
In a possible design, if the second drag operation instruction is an instruction that the candidate scene is dragged to the candidate configuration interface, before the scene item of the current configuration interface is initialized, the first obtaining module 81 is further specifically configured to:
and judging whether the candidate configuration interface comprises the candidate scene, wherein the judgment result is yes.
In one possible design, the second obtaining module 82 is further configured to:
acquiring a configuration instruction corresponding to the candidate scene in the preset configuration area, wherein the configuration instruction comprises configuration parameters;
and updating the display information of the current configuration interface according to the configuration instruction, wherein the display information is used for displaying the configured scene items of the current configuration interface.
In one possible design, the plurality of configuration interfaces includes:
presetting a condition interface, a trigger condition interface and an execution behavior interface;
the plurality of scenes specifically include:
the method comprises the following steps of time scene, security measure scene, zwave equipment scene, area scene and video recording scene, wherein the zwave equipment is equipment complying with the zwave protocol.
The apparatus provided in the embodiment of the present invention may be used to implement the technical solutions of the above method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 9 is a schematic diagram of a hardware structure of an automatic scene configuration device of a security system according to an embodiment of the present invention, and as shown in fig. 9, the automatic scene configuration device of the security system includes: at least one processor 91 and a memory 92. The processor 91 and the memory 92 are connected by a bus 93.
Optionally, the model determination further comprises a communication component. For example, the communication component may include a receiver and/or a transmitter.
In a specific implementation process, the at least one processor 91 executes the computer-executable instructions stored in the memory 92, so that the at least one processor 91 executes the above method for configuring the security system automation scene.
For a specific implementation process of the processor 91, reference may be made to the above method embodiments, which implement similar principles and technical effects, and this embodiment is not described herein again.
In the embodiment shown in fig. 9, it should be understood that the Processor may be a Central Processing Unit (CPU), other general-purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
The memory may comprise high speed RAM memory and may also include non-volatile storage NVM, such as at least one disk memory.
The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.
The application also provides a computer-readable storage medium, wherein a computer executing instruction is stored in the computer-readable storage medium, and when a processor executes the computer executing instruction, the method for configuring the automatic scene of the security system is realized.
The computer-readable storage medium may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk. Readable storage media can be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary readable storage medium is coupled to the processor such the processor can read information from, and write information to, the readable storage medium. Of course, the readable storage medium may also be an integral part of the processor. The processor and the readable storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the readable storage medium may also reside as discrete components in the apparatus.
The division of the units is only a 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 invention 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 functions, if implemented in the form of software functional units 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 invention may be embodied in the form of 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 invention. 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.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (10)
1. An automatic scene configuration method for a security system is characterized by comprising the following steps:
acquiring a first dragging operation instruction aiming at a target scene under a current configuration interface, wherein the current configuration interface is one of a plurality of configuration interfaces, the plurality of configuration interfaces are positioned on the same interface for display, and the target scene is a scene to be configured in a plurality of scenes of the current configuration interface; acquiring a configuration instruction corresponding to the target scene in a preset configuration area according to the first dragging operation instruction, wherein the configuration instruction comprises configuration parameters; and updating the display information of the current configuration interface according to the configuration instruction, wherein the display information is used for displaying the configured scene items of the current configuration interface.
2. The method according to claim 1, wherein the obtaining of the first drag operation instruction for the target scene under the current configuration interface comprises:
acquiring a first dragging operation instruction of dragging the target scene to the preset configuration area under the current configuration interface; or
And acquiring a first dragging operation instruction of dragging the target scene to the current configuration interface.
3. The method of claim 1, further comprising:
acquiring a second dragging operation instruction, wherein the second dragging operation instruction is used for indicating that a candidate configuration interface is switched to the current configuration interface;
and switching the current configuration interface into the candidate configuration interface according to the second dragging operation instruction, and initializing a scene item of the current configuration interface.
4. The method according to claim 3, wherein the obtaining the second drag operation instruction comprises:
acquiring a second dragging operation instruction of dragging a candidate scene to a candidate configuration interface, wherein the candidate scene is one of the scenes except the target scene; or
And acquiring a second dragging operation instruction of dragging the candidate configuration interface to the current configuration interface.
5. The method according to claim 4, wherein if the second drag operation instruction is an instruction that a candidate scene is dragged to a candidate configuration interface, before the initializing a scene item of the current configuration interface, the method further comprises:
and judging whether the candidate configuration interface comprises the candidate scene, wherein the judgment result is yes.
6. The method according to claim 3, wherein after the switching the current configuration interface to the candidate configuration interface and initializing a scene item of the current configuration interface according to the second drag operation instruction, the method further comprises:
acquiring a configuration instruction corresponding to the candidate scene in the preset configuration area, wherein the configuration instruction comprises configuration parameters;
and updating the display information of the current configuration interface according to the configuration instruction, wherein the display information is used for displaying the configured scene items of the current configuration interface.
7. The method of any of claims 1-6, wherein the plurality of configuration interfaces comprises:
presetting a condition interface, a trigger condition interface and an execution behavior interface;
the plurality of scenes specifically include:
the method comprises the following steps of time scene, security measure scene, zwave equipment scene, area scene and video recording scene, wherein the zwave equipment is equipment complying with the zwave protocol.
8. The utility model provides a security protection system automation scene configuration device which characterized in that includes:
the device comprises a first obtaining module, a second obtaining module and a control module, wherein the first obtaining module is used for obtaining a first dragging operation instruction aiming at a target scene under a current configuration interface, the current configuration interface is one of a plurality of configuration interfaces, the plurality of configuration interfaces are positioned on the same interface for display, and the target scene is a scene to be configured in a plurality of scenes of the current configuration interface;
a second obtaining module, configured to obtain, according to the first dragging operation instruction, a configuration instruction corresponding to the target scene in a preset configuration area, where the configuration instruction includes configuration parameters;
and the updating module is used for updating the display information of the current configuration interface according to the configuration instruction, wherein the display information is used for displaying the scene items configured on the current configuration interface.
9. The utility model provides a security protection system automation scene configuration equipment which characterized in that includes: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the security system automation scenario configuration method of any of claims 1 to 7.
10. A computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, the method for configuring the automated scene of the security system according to any one of claims 1 to 7 is implemented.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910654452.4A CN110377210B (en) | 2019-07-19 | 2019-07-19 | Security system automatic scene configuration method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910654452.4A CN110377210B (en) | 2019-07-19 | 2019-07-19 | Security system automatic scene configuration method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110377210A CN110377210A (en) | 2019-10-25 |
CN110377210B true CN110377210B (en) | 2021-03-16 |
Family
ID=68254173
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910654452.4A Active CN110377210B (en) | 2019-07-19 | 2019-07-19 | Security system automatic scene configuration method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110377210B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111431879B (en) * | 2020-03-18 | 2022-04-26 | 山东比特智能科技股份有限公司 | Scene response method for Zwave guest control system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105824241A (en) * | 2015-01-09 | 2016-08-03 | 青岛海尔空调器有限总公司 | Configuration method of intelligent appliance control function, device and system |
CN106651119A (en) * | 2016-11-07 | 2017-05-10 | 成都科曦科技有限公司 | Engineering security decision system of smart hotel |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104898505A (en) * | 2015-04-29 | 2015-09-09 | 小米科技有限责任公司 | Smart scene configuration method and device |
CN106469009B (en) * | 2015-08-19 | 2019-08-09 | 从兴技术有限公司 | A kind of intelligence control system configuration method and device |
US10042339B2 (en) * | 2015-10-05 | 2018-08-07 | Savant Systems, Llc | Cloud-synchronized architecture for a home automation system |
CN107273119A (en) * | 2017-05-31 | 2017-10-20 | 广东星美灿照明科技股份有限公司 | Intelligent terminal receives the computer-readable recording medium and intelligent terminal that user is configured to the controlled device of intelligent domestic system |
-
2019
- 2019-07-19 CN CN201910654452.4A patent/CN110377210B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105824241A (en) * | 2015-01-09 | 2016-08-03 | 青岛海尔空调器有限总公司 | Configuration method of intelligent appliance control function, device and system |
CN106651119A (en) * | 2016-11-07 | 2017-05-10 | 成都科曦科技有限公司 | Engineering security decision system of smart hotel |
Also Published As
Publication number | Publication date |
---|---|
CN110377210A (en) | 2019-10-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10863267B2 (en) | Volume control for audio/video devices | |
CN110196557B (en) | Equipment control method, device, mobile terminal and storage medium | |
KR101795837B1 (en) | Remote control interface providing head-up operation and visual feedback | |
US10326607B2 (en) | Method for controlling information apparatus and computer-readable recording medium | |
EP3174251B1 (en) | Method and apparatus for identifying type of electronic device on smart socket | |
EP2930704A1 (en) | Method and device for remote intelligent control | |
CN107301039B (en) | Prototype manufacturing method and device | |
CN108829314B (en) | Screenshot selecting interface selection method, device, equipment and storage medium | |
CN105589619B (en) | terminal multi-window display method and device | |
CN104657183A (en) | Information processing method, information processing device and electronic equipment | |
CN112997134B (en) | Application icon display method and device, storage medium and electronic equipment | |
CN111796734B (en) | Application program management method, management device, electronic device and storage medium | |
WO2016049907A1 (en) | Operation interface processing method and display device | |
CN110377210B (en) | Security system automatic scene configuration method and device | |
US8482671B1 (en) | Television and television control method | |
CN112929860A (en) | Bluetooth connection method and device and electronic equipment | |
JP4723960B2 (en) | Monitoring system and control device therefor | |
EP3643976A1 (en) | Method and device for controlling air conditioner | |
CN112015101B (en) | Control method and device of intelligent equipment, intelligent control switch and storage medium | |
US20240045565A1 (en) | Method and device for displaying graphic object | |
CN110457101B (en) | Information processing method, electronic equipment and computer readable storage medium | |
WO2021081734A1 (en) | Message display method, control terminal, and storage medium | |
US11321102B2 (en) | Programmable display, display control method, and display control program | |
CN107168600B (en) | Push message checking method and device | |
CN112929855B (en) | Internet of things equipment binding method and system |
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 |