CN112667334A - Configuration method and device of equipment control information, electronic equipment and storage medium - Google Patents

Configuration method and device of equipment control information, electronic equipment and storage medium Download PDF

Info

Publication number
CN112667334A
CN112667334A CN202011564097.0A CN202011564097A CN112667334A CN 112667334 A CN112667334 A CN 112667334A CN 202011564097 A CN202011564097 A CN 202011564097A CN 112667334 A CN112667334 A CN 112667334A
Authority
CN
China
Prior art keywords
action
equipment
information
node
graphical interface
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.)
Pending
Application number
CN202011564097.0A
Other languages
Chinese (zh)
Inventor
汪玉东
谭静
周静
成正林
刘宇
何渝君
舒忠玲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hanyun Technology Co Ltd
Original Assignee
Hanyun Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hanyun Technology Co Ltd filed Critical Hanyun Technology Co Ltd
Priority to CN202011564097.0A priority Critical patent/CN112667334A/en
Publication of CN112667334A publication Critical patent/CN112667334A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application provides a configuration method and device of equipment control information, electronic equipment and a storage medium, and relates to the technical field of equipment control, wherein the method comprises the following steps: receiving configuration request information sent by a user, wherein the configuration request information comprises identification information, trigger conditions and action information of action equipment, configuring action trigger of the action equipment based on the identification information, the trigger conditions and the action information, and generating a graphical interface diagram, wherein the graphical interface diagram is used for displaying an action execution process of the action equipment. The method and the device have the advantages that the configuration mode of generating the graphical interface diagram is adopted, the control over the equipment is realized, the cost is low, the visualization is realized, and the configuration efficiency can be improved.

Description

Configuration method and device of equipment control information, electronic equipment and storage medium
Technical Field
The present application relates to the field of device control technologies, and in particular, to a method and an apparatus for configuring device control information, an electronic device, and a storage medium.
Background
At present, with higher automation degree and more control requirements on equipment, a plurality of equipment control methods are presented at present, one method is a programmer coding method which performs control on a plurality of pieces of equipment in advance according to services and requirements, but the method is lack of flexibility, and coding adjustment needs to be performed again when the number of the equipment, the type of the equipment or control information of other equipment is increased, so that the cost is high; the other mode is to configure the device control in a form filling information visualization mode, but the form configuration is not easy to realize and the relation between two device nodes cannot be displayed for the scene of the cyclic strategy control, so that the use of a user is not intuitive and inconvenient.
Disclosure of Invention
In view of this, embodiments of the present application provide at least a method and an apparatus for configuring device control information, an electronic device, and a storage medium, which can improve efficiency of configuring device control information.
The application mainly comprises the following aspects:
in a first aspect, an embodiment of the present application provides a method for configuring device control information, where the method includes:
receiving configuration request information sent by a user; the configuration request information comprises identification information, trigger conditions and action information of action equipment;
configuring action triggering of the action equipment based on the identification information, the triggering condition and the action information, and generating a graphical interface diagram;
the graphical interface diagram is used for displaying the action execution process of the action equipment.
In a possible implementation manner, before the receiving the configuration request information sent by the user, the configuration method further includes:
establishing an object model; the object model is stored with identification information, attribute information and service identification of the action equipment in a correlated manner;
configuring the action trigger of the action equipment based on the identification information, the trigger condition and the action information, and generating a graphical interface diagram, wherein the method comprises the following steps:
and when detecting that the trigger condition and the action information of the action equipment meet the condition requirement corresponding to the object model, configuring the action trigger of the action equipment and generating a graphical interface diagram.
In a possible implementation manner, after the generating the graphical interface diagram, the configuration method further includes:
when detecting that a device node corresponding to first equipment in the graphical interface graph meets the trigger condition, determining a node executor associated with the first equipment;
controlling the node executor to execute an action corresponding to the first equipment;
wherein the action device comprises the first device.
In a possible implementation manner, after the controlling the node executor to perform the action corresponding to the first device, the configuration method further includes:
determining a device node of a second device behind the device node of the first device according to the graphical interface graph;
judging whether the equipment node of the second equipment is the equipment node of the last equipment or not, if so, ending the action execution process;
and if not, controlling the second equipment to execute the action.
In some possible embodiments, the node executor comprises at least one of:
a countdown executor, a delay executor, a condition trigger executor and a task executor.
In some possible embodiments, the graphical interface map is generated according to the following steps:
acquiring a device node of corresponding action equipment based on the identification information, the trigger condition and the action information;
configuring the equipment parameters of the equipment nodes according to the types of the equipment nodes and the configuration request information;
and adding the equipment nodes and the equipment parameters to an initial interface graph to generate the graphical interface graph.
In a second aspect, an embodiment of the present application further provides a device for configuring device control information, where the device for configuring device control information includes:
the receiving module is used for receiving configuration request information sent by a user; the configuration request information comprises identification information, trigger conditions and action information of action equipment;
and the generating module is used for configuring the action trigger of the action equipment based on the identification information, the trigger condition and the action information and generating a graphical interface diagram.
In a possible implementation, the configuration apparatus further includes:
the building module is used for building an object model; the object model is stored with identification information, attribute information and service identification of the action equipment in a correlated manner;
the generating module is further configured to configure the action trigger of the action device based on the identification information, the trigger condition, and the action information, and generate a graphical interface diagram, and includes: and when detecting that the trigger condition and the action information of the action equipment meet the condition requirement corresponding to the object model, configuring the action trigger of the action equipment and generating a graphical interface diagram.
In a possible implementation, the configuration apparatus further includes:
the first determination module is used for determining a node executor associated with a first device in the graphical interface graph when detecting that a device node corresponding to the first device meets the trigger condition;
and the control module is used for controlling the node executor to execute the action corresponding to the first equipment.
In a possible implementation, the configuration apparatus further includes:
a second determining module, configured to determine, according to the graphical interface graph, a device node of a second device that is behind the device node of the first device;
the judging module is used for judging whether the equipment node of the second equipment is the equipment node of the last equipment or not, and if so, the action execution process is ended; and if not, controlling the second equipment to execute the action.
In one possible implementation, the generating module includes:
an obtaining unit, configured to obtain a device node of a corresponding action device based on the identification information, the trigger condition, and the action information;
a configuration unit, configured to configure the device parameter of the device node according to the type of the device node and the configuration request information;
and the generating unit is used for adding the equipment nodes and the equipment parameters to an initial interface graph to generate the graphical interface graph.
In a third aspect, an embodiment of the present application further provides an electronic device, including: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, when an electronic device runs, the processor and the memory communicate with each other through the bus, and the machine-readable instructions are executed by the processor to perform the method for configuring device control information according to any one of the first aspect.
In a fourth aspect, the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method for configuring device control information according to any one of the first aspect is performed.
The method and the device for configuring the device control information, the electronic device and the storage medium provided by the embodiment of the application adopt a configuration mode of generating a graphical interface diagram to realize the control of the device, and compared with the prior art that the device control is carried out by adopting programmer coding, the program for controlling the device is not easy to adjust and lacks flexibility, or the device control is configured by adopting a mode of filling information in a form, and certain links are not easy to realize.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a flowchart illustrating a method for configuring device control information according to an embodiment of the present application;
fig. 2 is a flowchart illustrating another method for configuring device control information according to an embodiment of the present application;
fig. 3 is a functional block diagram of a configuration apparatus for device control information according to an embodiment of the present application;
fig. 4 shows a second functional block diagram of a device configuration apparatus for device control information according to an embodiment of the present application;
FIG. 5 illustrates a functional block diagram of the generation block of FIG. 3;
fig. 6 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Description of the main element symbols:
in the figure: 300-configuration means of device control information; 310-a receiving module; 320-a generation module; 322-an acquisition unit; 324-a configuration unit; 326-a generating unit; 330-a first determination module; 340-a control module; 350-a second determination module; 360-a judgment module; 370-a setup module; 600-an electronic device; 610-a processor; 620-memory; 630-bus.
Detailed Description
To make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it should be understood that the drawings in the present application are for illustrative and descriptive purposes only and are not used to limit the scope of protection of the present application. Additionally, it should be understood that the schematic drawings are not necessarily drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be performed out of order, and that steps without logical context may be performed in reverse order or concurrently. One skilled in the art, under the guidance of this application, may add one or more other operations to, or remove one or more operations from, the flowchart.
In addition, the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
To enable those skilled in the art to utilize the present disclosure, the following embodiments are presented in conjunction with a specific application scenario "configure control information for a device," and it will be apparent to those skilled in the art that the general principles defined herein may be applied to other embodiments and application scenarios without departing from the spirit and scope of the present disclosure.
The method, apparatus, electronic device, or computer-readable storage medium described in this embodiment of the present application may be applied to any control information that needs to configure a device, and this embodiment of the present application does not limit a specific application scenario, and any configuration method, apparatus, electronic device, and storage medium using the device control information provided in this embodiment of the present application are all within the scope of protection of the present application.
It is worth noting that, with the increasing automation degree, the control requirements for the equipment are increasing, and a plurality of methods for controlling the equipment are presented at present, one method is a method of programmer coding, which makes control of a plurality of equipments in advance according to services and requirements, but lacks flexibility, and coding adjustment needs to be performed again when the number of the equipments, the types of the equipments or control information of other equipments are increased, which is high in cost; the other mode is to configure the device control in a form filling information visualization mode, but the form configuration is not easy to realize and the relation between two device nodes cannot be displayed for the scene of the cyclic strategy control, so that the use of a user is not intuitive and inconvenient.
In order to solve the above problem, configuration request information sent by a user is received, the configuration request information includes identification information, trigger conditions and action information of an action device, action triggers of the action device are configured based on the identification information, the trigger conditions and the action information, and a graphical interface diagram is generated, wherein the graphical interface diagram is used for displaying an action execution process of the action device. The method and the device have the advantages that the configuration mode of generating the graphical interface diagram is adopted, the control over the equipment is realized, the cost is low, the visualization is realized, and the configuration efficiency can be improved.
For the convenience of understanding of the present application, the technical solutions provided in the present application will be described in detail below with reference to specific embodiments.
Fig. 1 is a configuration method of device control information according to an embodiment of the present application. As shown in fig. 1, a method for configuring device control information provided in an embodiment of the present application includes the following steps:
s110: receiving configuration request information sent by a user; the configuration request information comprises identification information, trigger conditions and action information of action equipment;
in a specific implementation, the configuration request information of the user is received, wherein the configuration request information includes identification information of the action device, a trigger condition and action information. After receiving the configuration request information, determining action equipment for executing the action according to the identification information in the configuration request information, determining under which condition the action equipment meets the trigger condition in the configuration request information, and determining which actions the action equipment specifically needs to execute to complete the request of the user according to the action information in the configuration request information. For example, what the configuration request information of the user wants to realize is that when the water storage height of the farm is less than 40mm, the spraying device is turned on to irrigate the farm, and according to the information, the action device can be determined to be the spraying device, the trigger condition is that the water storage height is less than 40mm, and the action is performed that the spraying device is turned on and irrigates the farm.
It should be noted that the triggering condition generally includes at least one of the following conditions, including weather, timing, countdown, delay, short message or mail information. For example, one condition is included where the spray equipment is used to irrigate the field when the atmospheric temperature is greater than 30 degrees celsius. Two conditions, when included, are when the atmospheric humidity is less than 50 percent, timed at 12: 00-2:00, and under the condition that two strips need to be met simultaneously, the spraying equipment irrigates the farmland.
S120: and configuring the action trigger of the action equipment based on the identification information, the trigger condition and the action information, and generating a graphical interface diagram. The graphical interface diagram is used for displaying the action execution process of the action equipment.
In specific implementation, the action trigger of the action equipment is configured according to the identification information, the trigger condition and the action information, and after the configuration of the action equipment is completed, a graphical interface diagram is generated according to the control flow of the action equipment. And after the graphical interface diagram is generated, the connection with the action equipment is realized, and when the trigger condition of certain action equipment is met, the action equipment is controlled to start to execute the response action according to the graphical interface diagram.
It should be noted that the graphical interface diagram in the present application is a flow interface diagram generated by Business Process Management (BPM) in a modeling manner, and this manner replaces the original code development mode, so that the control of the device is more flexible, the time cost is saved, the unnecessary expenditure is reduced, and the graphical interface diagram is more intuitive and the configuration efficiency is higher.
Further, before receiving the configuration request information sent by the user in step S110, the configuration method includes:
establishing an object model; the object model is stored with identification information, attribute information and service identification of the action equipment in a correlated manner;
in step S120, configuring the action trigger of the action device based on the identification information, the trigger condition, and the action information, and generating a graphical interface diagram, includes the following steps:
and when detecting that the trigger condition and the action information of the action equipment meet the condition requirement corresponding to the object model, configuring the action trigger of the action equipment and generating a graphical interface diagram.
In a specific implementation, to describe the identification information, the trigger condition, and the action information of the action device as identifiable information, it is necessary to define information corresponding to the action device in the configuration request information of the user. Therefore, an object model is established, and the identification information, the attribute information and the service identification of the action equipment are stored in the object model in a correlated manner. In the process of generating the graphical interface diagram, if one device is selected, the attribute information of the device can be automatically identified according to the information defined in the object model, and the attribute information comprises the identification information of the attribute, the unit of the attribute and the range of the attribute value. For the action information required to be executed by the action equipment, after the equipment is selected, the action defined by the equipment is automatically recognized according to the information defined in the object model. For example, when the atmospheric temperature of the farm is higher than 25 ℃, the spraying equipment is started to irrigate the farm, the spraying equipment is selected, attributes such as the atmospheric temperature, the atmospheric humidity and the illumination intensity may be identified, according to the uploaded data information including "temp >25 ℃", it can be determined that "temp" and the corresponding attribute thereof should be the atmospheric temperature according to the attribute information stored in the object model, the value range of the attribute value is larger than 25, the unit is centigrade, and when the trigger condition is met, the spraying equipment is started, the spraying equipment is selected from the equipment list, the electromagnetic valve is identified, and the electromagnetic valve is set to be started to complete the configuration.
The triggering condition and the action information of the action equipment included in the configuration request information of the user need to meet the range defined by the object model, attribute value ranges of attributes such as temperature, humidity and the like exist in the received configuration request information of the user, and the value ranges of the attribute values in the attribute information stored in the object model are well defined, for example, a certain equipment can be configured only when the wind speed is 0m/s-30m/s, and the equipment cannot be configured when the wind speed exceeds 30m/s, so that the graphical interface diagram can be generated only when the configuration request information meets the range of the attribute values defined in the object model.
Further, in step 120, a graphical interface diagram is generated according to the following steps:
acquiring a device node of corresponding action equipment based on the identification information, the trigger condition and the action information;
configuring the equipment parameters of the equipment nodes according to the types of the equipment nodes and the configuration request information;
and adding the equipment nodes and the equipment parameters to an initial interface graph to generate the graphical interface graph.
In specific implementation, after the action trigger of the action device is configured, the device node corresponding to the action device is obtained based on the identification information, the trigger condition and the action information, and after the device parameters of the device node are configured according to the type of the device node and the configuration request information, the configured device node is added to the initial interface graph, and a connection relationship is established to generate the graphical interface graph.
It should be noted that, when configuring device parameters for a device node, the type of the device node needs to be determined, if the device node is a device type task type node, first node basic data is set according to a control type device list, if the device node is a non-device type task type node, second node basic data is set, and if the device node is a condition group trigger type node, third node basic data is set according to an acquisition type device list. The node basic data includes attributes, units and attribute value ranges of the action devices in the configuration request information, or actions such as opening or closing of the action devices.
Here, according to different node types, the device type task type node includes a control type device, and the condition type node includes an acquisition type device; and different node basic data can be set in the task type node according to different functions. The configuration of the first node basic data in the device type task node comprises adding devices and setting device parameters. Configuring the second node basic data in the non-device type task node includes configuring whether delay exists in the execution time of the action, wherein the execution time is specifically how long, adding the device and configuring device parameters, for example, when the atmospheric humidity is lower than 60 percent, waiting for three minutes, starting water spraying irrigation, and executing the execution time for 20 minutes. The fourth node basic data configured in the condition group trigger type node comprises adding action timing execution, configuring a trigger component group, adding equipment and configuring equipment parameters.
The embodiment of the application provides a configuration method of device control information, which receives configuration request information sent by a user, wherein the configuration request information comprises identification information, trigger conditions and action information of action devices, the action triggers of the action devices are configured based on the identification information, the trigger conditions and the action information, and a graphical interface diagram is generated, wherein the graphical interface diagram is used for displaying an action execution process of the action devices. The method and the device have the advantages that the configuration mode of generating the graphical interface diagram is adopted, the control over the equipment is realized, the cost is low, the visualization is realized, and the configuration efficiency can be improved.
Referring to fig. 2, an embodiment of the present application provides a flowchart of another method for configuring device control information, where the method includes the following steps:
s210: receiving configuration request information sent by a user; the configuration request information comprises identification information, trigger conditions and action information of action equipment;
s220: configuring action triggering of the action equipment based on the identification information, the triggering condition and the action information, and generating a graphical interface diagram; the graphical interface diagram is used for displaying the action execution process of the action equipment.
The descriptions of S210 to S220 may refer to the descriptions of S110 to S120, and the same technical effects can be achieved, which are not described in detail.
S230: when detecting that a device node corresponding to first equipment in the graphical interface graph meets the trigger condition, determining a node executor associated with the first equipment;
s240: controlling the node executor to execute an action corresponding to the first equipment; wherein the action device comprises the first device.
In specific implementation, when it is detected that a device node corresponding to a first device in a graphical interface graph satisfies a trigger condition, that is, a parameter configured in the device node satisfies a trigger condition, the device node starts to act, and a node executor associated with the first device is found according to the device node corresponding to the first device. In the graphical interface diagram, the node actuator associated with the first device is found to be a solenoid valve, and after the corresponding node actuator is found, the node actuator is controlled to execute the action corresponding to the first device, wherein the action device comprises the first device. The solenoid valve switch is controlled to open to complete the action of the associated equipment, and the process is finished.
The node executors include at least one of the following executors:
a countdown executor, a delay executor, a condition trigger executor and a task executor.
S250: and determining a device node of a second device behind the device node of the first device according to the graphical interface graph.
In a specific implementation, the corresponding node executor is found, and after the action is executed, the device node of the second device behind the device node of the first device is determined according to the graphical interface diagram. After the equipment node of the first equipment acts, the equipment node of the second equipment is linked, the node actuator of the second equipment is controlled, and finally the task is executed.
S260: and judging whether the equipment node of the second equipment is the equipment node of the last equipment, if so, finishing the action execution process, and if not, controlling the second equipment to execute the action.
In specific implementation, after the second device node controls the corresponding node executor to execute the completion task, it is determined whether the current device node is the last device node, and if the current device node is the last device node, the task execution is finished, and the whole action execution process is completed. If the current equipment node is not the last equipment node, the task execution is not finished, the equipment node of the third equipment is continuously determined according to the graphical interface diagram, after the equipment node of the third equipment is found, the task is executed according to the equipment parameters configured by the equipment node, the execution is finished, whether the equipment node corresponding to the current third equipment is the last equipment node in the graphical interface diagram or not is judged, if not, the next equipment node of the equipment node corresponding to the third equipment is continuously searched according to the graphical interface diagram until the execution action of the last equipment node is finished, and the task is finished.
Based on the same application concept, the embodiment of the present application further provides a device for configuring device control information corresponding to the method for configuring device control information provided in the foregoing embodiment, and since the principle of solving the problem of the device in the embodiment of the present application is similar to that of the method for configuring device control information in the foregoing embodiment of the present application, the method may be referred to for implementation of the device, and repeated details are omitted.
Fig. 3 is a functional block diagram of a device control information configuration apparatus 300 according to an embodiment of the present application, fig. 4 is a functional block diagram of the device control information configuration apparatus 300 according to the embodiment of the present application, and fig. 5 is a functional block diagram of a generation module in fig. 3.
As shown in fig. 3, the apparatus 300 for configuring device control information includes:
a receiving module 310, configured to receive configuration request information sent by a user; the configuration request information comprises identification information, trigger conditions and action information of action equipment;
a generating module 320, configured to configure an action trigger of the action device based on the identification information, the trigger condition, and the action information, and generate a graphical interface diagram;
as shown in fig. 4, the apparatus 300 for configuring device control information includes:
an establishing module 370 for establishing an object model; the object model is stored with identification information, attribute information and service identification of the action equipment in a correlated manner;
a receiving module 310, configured to receive configuration request information sent by a user; the configuration request information comprises identification information, trigger conditions and action information of action equipment;
a generating module 320, configured to configure an action trigger of the action device based on the identification information, the trigger condition, and the action information, and generate a graphical interface diagram;
a first determining module 330, configured to determine, when it is detected that a device node corresponding to a first device in the graphical interface diagram satisfies the trigger condition, a node executor associated with the first device node;
a control module 340, configured to control the node executor to execute an action corresponding to the first device.
A second determining module 350, configured to determine, according to the graphical interface diagram, a device node of a second device subsequent to the device node of the first device;
a judging module 360, configured to judge whether the device node of the second device is a device node of the last device, and if yes, the action execution process is ended; and if not, controlling the second equipment to execute the action.
As shown in fig. 4, the generating module 320 is further configured to configure the action trigger of the action device based on the identification information, the trigger condition, and the action information, and generate a graphical interface diagram, including: and when detecting that the trigger condition and the action information of the action equipment meet the condition requirement corresponding to the object model, configuring the action trigger of the action equipment and generating a graphical interface diagram.
As shown in fig. 5, the generating module 320 further includes:
an obtaining unit 322, configured to obtain a device node of a corresponding action device based on the identification information, the trigger condition, and the action information;
a configuring unit 324, configured to configure a device parameter of the device node according to the type of the device node and the configuration request information;
the generating unit 326 is configured to add the device node and the device parameter to the initial interface graph, and generate the graphical interface graph.
Based on the same application concept, referring to fig. 6, a schematic structural diagram of an electronic device 600 provided in the embodiment of the present application includes: the device control information configuring method includes a processor 610, a memory 620 and a bus 630, where the memory 620 stores machine-readable instructions executable by the processor 610, when the electronic device 600 runs, the processor 610 and the memory 620 communicate through the bus 630, and when the machine-readable instructions are run by the processor 610, the steps of the device control information configuring method in the method embodiment shown in fig. 1 or fig. 2 may be executed.
Based on the same application concept, an embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the step of the method for configuring device control information in the method embodiment shown in fig. 1 or fig. 2 may be executed.
Specifically, the storage medium may be a general-purpose storage medium, such as a removable disk, a hard disk, or the like, and when a computer program on the storage medium is executed, the configuration method of the device control information may be executed, and a configuration manner of generating a graphical interface diagram is adopted to implement control of the device, so that the cost is low, the device is intuitive, and the configuration efficiency may be improved.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and 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 of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium and includes several 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 methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method for configuring device control information, the method comprising:
receiving configuration request information sent by a user; the configuration request information comprises identification information, trigger conditions and action information of action equipment;
configuring action triggering of the action equipment based on the identification information, the triggering condition and the action information, and generating a graphical interface diagram;
the graphical interface diagram is used for displaying the action execution process of the action equipment.
2. The configuration method according to claim 1, wherein before the receiving the configuration request information sent by the user, the configuration method further comprises:
establishing an object model; the object model is stored with identification information, attribute information and service identification of the action equipment in a correlated manner;
configuring the action trigger of the action equipment based on the identification information, the trigger condition and the action information, and generating a graphical interface diagram, wherein the method comprises the following steps:
and when detecting that the trigger condition and the action information of the action equipment meet the condition requirement corresponding to the object model, configuring the action trigger of the action equipment and generating a graphical interface diagram.
3. The configuration method according to claim 1, wherein after the generating the graphical interface diagram, the configuration method further comprises:
when detecting that a device node corresponding to first equipment in the graphical interface graph meets the trigger condition, determining a node executor associated with the first equipment;
controlling the node executor to execute an action corresponding to the first equipment;
wherein the action device comprises the first device.
4. The configuration method of claim 3, wherein after the controlling the node executor to perform the action corresponding to the first device, the configuration method further comprises:
determining a device node of a second device behind the device node of the first device according to the graphical interface graph;
judging whether the equipment node of the second equipment is the equipment node of the last equipment or not, if so, ending the action execution process;
and if not, controlling the second equipment to execute the action.
5. A configuration method according to claim 3, wherein said node executors comprise at least one of the following executors:
a countdown executor, a delay executor, a condition trigger executor and a task executor.
6. The configuration method according to claim 1, wherein the graphical interface graph is generated according to the following steps:
acquiring a device node of corresponding action equipment based on the identification information, the trigger condition and the action information;
configuring the equipment parameters of the equipment nodes according to the types of the equipment nodes and the configuration request information;
and adding the equipment nodes and the equipment parameters to an initial interface graph to generate the graphical interface graph.
7. An apparatus for configuring device control information, the apparatus comprising:
the receiving module is used for receiving configuration request information sent by a user; the configuration request information comprises identification information, trigger conditions and action information of action equipment;
and the generating module is used for configuring the action trigger of the action equipment based on the identification information, the trigger condition and the action information and generating a graphical interface diagram.
8. The configuration device according to claim 7, wherein the configuration device further comprises:
the first determination module is used for determining a node executor associated with a first device in the graphical interface graph when detecting that a device node corresponding to the first device meets the trigger condition;
and the control module is used for controlling the node executor to execute the action corresponding to the first equipment.
9. An electronic device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating via the bus when an electronic device is operated, the machine-readable instructions being executed by the processor to perform the method of configuring device control information according to any one of claims 1 to 6.
10. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, executes the method of configuring device control information according to any one of claims 1 to 6.
CN202011564097.0A 2020-12-25 2020-12-25 Configuration method and device of equipment control information, electronic equipment and storage medium Pending CN112667334A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011564097.0A CN112667334A (en) 2020-12-25 2020-12-25 Configuration method and device of equipment control information, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011564097.0A CN112667334A (en) 2020-12-25 2020-12-25 Configuration method and device of equipment control information, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112667334A true CN112667334A (en) 2021-04-16

Family

ID=75409347

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011564097.0A Pending CN112667334A (en) 2020-12-25 2020-12-25 Configuration method and device of equipment control information, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112667334A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114968032A (en) * 2021-04-27 2022-08-30 广州地铁集团有限公司 Service processing method, device, equipment and computer readable storage medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101350150A (en) * 2008-08-28 2009-01-21 浙江天煌科技实业有限公司 Experimental real-training apparatus for central air-conditioning system
CN102207854A (en) * 2009-12-28 2011-10-05 海洋王照明科技股份有限公司 Method, device and system for generating monitoring interfaces of equipment
CN104932456A (en) * 2015-04-27 2015-09-23 小米科技有限责任公司 Intelligent scene realizing method and device, intelligent terminal and controller
US20170199721A1 (en) * 2016-01-11 2017-07-13 Motorola Mobility Llc Device control based on its operational context
CN107343087A (en) * 2017-06-15 2017-11-10 北京小米移动软件有限公司 Smart machine control method and device
CN108123855A (en) * 2017-12-04 2018-06-05 北京小米移动软件有限公司 terminal control method and device
CN108463802A (en) * 2015-12-15 2018-08-28 亚马逊科技有限公司 Graphic user interface for automating complex operations customizes
CN108919658A (en) * 2018-06-27 2018-11-30 深圳绿米联创科技有限公司 Smart machine control method and device
US20190238358A1 (en) * 2018-02-01 2019-08-01 Bby Solutions, Inc. Automatic device orchestration and configuration
CN110324217A (en) * 2019-05-24 2019-10-11 深圳绿米联创科技有限公司 Control method, device, electronic equipment and the storage medium of equipment triggering
US20200125050A1 (en) * 2018-10-22 2020-04-23 Accenture Global Solutions Limited Efficient configuration of scenarios for event sequencing
CN111147586A (en) * 2019-12-27 2020-05-12 腾讯科技(深圳)有限公司 Equipment end control method and device and conference system
CN111715738A (en) * 2020-06-18 2020-09-29 深圳市汇川技术股份有限公司 Shaft action configuration method, device, equipment and computer readable storage medium
WO2020228027A1 (en) * 2019-05-16 2020-11-19 深圳市欢太科技有限公司 Device control method, apparatus, electronic device, and storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101350150A (en) * 2008-08-28 2009-01-21 浙江天煌科技实业有限公司 Experimental real-training apparatus for central air-conditioning system
CN102207854A (en) * 2009-12-28 2011-10-05 海洋王照明科技股份有限公司 Method, device and system for generating monitoring interfaces of equipment
CN104932456A (en) * 2015-04-27 2015-09-23 小米科技有限责任公司 Intelligent scene realizing method and device, intelligent terminal and controller
CN108463802A (en) * 2015-12-15 2018-08-28 亚马逊科技有限公司 Graphic user interface for automating complex operations customizes
US20170199721A1 (en) * 2016-01-11 2017-07-13 Motorola Mobility Llc Device control based on its operational context
CN107343087A (en) * 2017-06-15 2017-11-10 北京小米移动软件有限公司 Smart machine control method and device
CN108123855A (en) * 2017-12-04 2018-06-05 北京小米移动软件有限公司 terminal control method and device
US20190238358A1 (en) * 2018-02-01 2019-08-01 Bby Solutions, Inc. Automatic device orchestration and configuration
CN108919658A (en) * 2018-06-27 2018-11-30 深圳绿米联创科技有限公司 Smart machine control method and device
US20200125050A1 (en) * 2018-10-22 2020-04-23 Accenture Global Solutions Limited Efficient configuration of scenarios for event sequencing
WO2020228027A1 (en) * 2019-05-16 2020-11-19 深圳市欢太科技有限公司 Device control method, apparatus, electronic device, and storage medium
CN110324217A (en) * 2019-05-24 2019-10-11 深圳绿米联创科技有限公司 Control method, device, electronic equipment and the storage medium of equipment triggering
CN111147586A (en) * 2019-12-27 2020-05-12 腾讯科技(深圳)有限公司 Equipment end control method and device and conference system
CN111715738A (en) * 2020-06-18 2020-09-29 深圳市汇川技术股份有限公司 Shaft action configuration method, device, equipment and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吴启亮: "基于规则的智能家居设备联动机制的研究与实现", 信息科技, no. 7 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114968032A (en) * 2021-04-27 2022-08-30 广州地铁集团有限公司 Service processing method, device, equipment and computer readable storage medium
CN114968032B (en) * 2021-04-27 2024-02-02 广州地铁集团有限公司 Policy arrangement processing method, device, equipment, system and storage medium

Similar Documents

Publication Publication Date Title
CN104680031B (en) Linkage rule generation method and device
CN113938535B (en) Internet of things equipment access method and device based on multi-protocol adaptation
CN105847447A (en) Message push method and device
CN103941871A (en) Method and equipment for controlling hardware operating state of intelligent terminal
CN113498594B (en) Control method and device of smart home system, electronic equipment and storage medium
JP2018528497A (en) Data processing method and apparatus for mobile games
CN106022108B (en) A kind of synchronization management method and terminal device
CN112612214A (en) Method and system for generating functional interface and electronic equipment
CN104901724B (en) A kind of data transmission method
CN112667334A (en) Configuration method and device of equipment control information, electronic equipment and storage medium
CN115167164A (en) Method and device for determining equipment scene, storage medium and electronic device
CN105867910A (en) Dynamic wallpaper presenting method and apparatus for mobile terminal
CN115421859B (en) Dynamic loading method and device for configuration file, computer equipment and storage medium
CN110598797B (en) Fault detection method and device, storage medium and electronic device
CN112291086A (en) Memory capacity expansion method, system and device of switch
CN106406997A (en) A timer scheduling method and device
CN110928727A (en) Method for rapidly restoring factory settings of operating system
CN105205723A (en) Modeling method and device based on social application
CN115328520A (en) Remote upgrading method and device, electronic equipment and storage medium
CN113347268B (en) Networking method and device based on distributed network, storage medium and computer equipment
CN109564635A (en) Artificial intelligence equipment, system and its behaviour control method
CN106557430B (en) A kind of data cached brush method and device
CN109597641B (en) Object behavior control method, device, terminal and storage medium
CN104918307B (en) A kind of terminal
CN109743355B (en) Method and device for developing functions of internet of things equipment, computer equipment and storage medium

Legal Events

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