CN107991895A - Multi-systematic control method, apparatus, computer equipment and storage medium - Google Patents
Multi-systematic control method, apparatus, computer equipment and storage medium Download PDFInfo
- Publication number
- CN107991895A CN107991895A CN201711214599.9A CN201711214599A CN107991895A CN 107991895 A CN107991895 A CN 107991895A CN 201711214599 A CN201711214599 A CN 201711214599A CN 107991895 A CN107991895 A CN 107991895A
- Authority
- CN
- China
- Prior art keywords
- control
- information
- system component
- file
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 230000006870 function Effects 0.000 claims description 41
- 238000004590 computer program Methods 0.000 claims description 8
- 230000005540 biological transmission Effects 0.000 claims description 4
- 238000004364 calculation method Methods 0.000 claims 1
- 230000001960 triggered effect Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 15
- 238000012544 monitoring process Methods 0.000 description 9
- 230000009471 action Effects 0.000 description 6
- 230000003993 interaction Effects 0.000 description 5
- 238000010276 construction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 238000004378 air conditioning Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000001568 sexual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B15/00—Systems controlled by a computer
- G05B15/02—Systems controlled by a computer electric
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2642—Domotique, domestic, home control, automation, smart house
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
A kind of multi-systematic control method, including:Obtain control platform and enter order;The attribute information of control in control interface configuration file is read, control interface is generated according to the attribute information of control;Receive the system operation order initiated by the system component control shown in control interface;Read the system component information in system component file and the control command information in preset protocol file is associated with system component information, operating status is entered according to system component information and control command information control system;The Trigger Function control under system running state, obtains the script file being inserted into the trigger event of functionality controls;The control command information in script file is sent to system, realizes the control of multisystem, it is convenient for users.A kind of multi-systematic control device, computer equipment and storage medium are also provided.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of multi-systematic control method, apparatus, computer equipment
And storage medium.
Background technology
In today's society, different places needs the various equipment that different systems is gone in control place, such as in household
In environment, each video camera needs set of system control, and the lamp in chummery does not need set of system control, the curtain on door and window
It is also required to set of system control etc..Existing system uses fixed control interface, can not be according to the demand reality of user
Now flexibly change, so need research staff to participate in meet requirement of the client to interface under different construction environments, together
When also cause the construction time elongate increase difficulty of construction, it is existing often set system have the control interface of oneself, control different
System needs to enter different systems, is controlled, used cumbersome using different control interfaces.
The content of the invention
Based on this, it is necessary to for above-mentioned technical problem, there is provided a kind of to control different system by control interface
Multi-systematic control method, apparatus, computer equipment and storage medium.
A kind of multi-systematic control method, including:
Obtain control platform and enter order;
Enter the attribute information of control in order reading control interface configuration file according to control platform, according to the category of control
Property information generation control interface, control includes system component control and corresponding functionality controls;
Receive the system operation order initiated by the system component control shown in control interface;
System component information in system component file is read according to system operation order and is associated with system component information
Preset protocol file in control command information, operation is entered according to system component information and control command information control system
State;
The Trigger Function control under system running state, obtains the script text being inserted into the trigger event of functionality controls
Part, script file include the corresponding control command information of functionality controls;
The control command information in script file is sent to system.
In one of the embodiments, before obtaining control platform and entering order, further include:
The corresponding system protocol of acquisition system;
System protocol is repartitioned as desired;
The system protocol repartitioned is write in the file with corresponding protocol name in the form of control command information,
Obtain preset protocol file.
In one of the embodiments, the control in entering order according to control platform and reading control interface configuration file
Attribute information, before generating control interface according to the attribute information of control, further includes:
The addition order of acquisition system;
Addition interface is generated according to add-on system order;
The system component information added by adding interface is obtained, system component information includes system component title, system
Whether component needs log-on message, log on command information and system component control command information using protocol name, system component;
System component file is generated according to system component information.
In one of the embodiments, after the system component information added by adding interface is obtained, further include:
Obtain protocol name and use the identical default association of protocol name with the system component in the system component information of addition
File is discussed, the preset protocol file of acquisition is associated with the system component information added.
In one of the embodiments, after system component file is generated according to system component information, further include:
Control command information generation in system component information and preset protocol file in system component file is compiled
Editing interface, shows control on editing interface;
The display information of the control updated is obtained by editing interface, display information includes the title of control, control
Positional information, the display style information of control;
The control related information for the control for updating display information is obtained, according to display information and control related information life
Into control interface configuration file.
In one of the embodiments, further included under system running state after Trigger Function control:
Obtain the script file being inserted into the trigger event of functionality controls;
The associated functionality controls of functionality controls with triggering are obtained according to script file, show associated functionality controls.
In one of the embodiments, after the control command information in sending script file to system, further include:
Obtain control feedback information;
According to the functionality controls in control feedback information triggering control interface;
The script file being inserted into the trigger event of functionality controls is obtained, script file includes the title of system component
With corresponding control command information;
According to the name acquiring of system component in script file and the associated system of functionality controls;
The control command information in script file is sent to system associated with functionality controls.
A kind of multi-systematic control device, including:
Order acquisition module, enters order for obtaining control platform;
Interface generation module, for entering the attribute of control in order reading control interface configuration file according to control platform
Information, generates control interface, control includes system component control and corresponding functionality controls according to the attribute information of control;
Order receiver module, is ordered for receiving the system operation initiated by the system component control shown in control interface
Order;
Operation control module, for according to system operation order read system component file in system component information and with
Control command information in the associated preset protocol file of system component information, according to system component information and control command information
Control system enters operating status;
Script acquisition module, for the Trigger Function control under system running state, obtains the triggering thing in functionality controls
The script file being inserted into part, script file include the corresponding control command information of functionality controls;
Information module is sent, for sending the control command information in script file to system.
A kind of computer equipment, including memory, processor and storage can be run on a memory and on a processor
Computer program, when processor executive program, realize the step in any of the above-described multi-systematic control method.
A kind of computer-readable storage medium, is stored thereon with computer program, which realizes above-mentioned when being executed by processor
Step in any one multi-systematic control method
Above-mentioned multi-systematic control method, apparatus, computer equipment and storage medium, enter life by obtaining control platform
Order;Enter the attribute information of control in order reading control interface configuration file according to control platform, believed according to the attribute of control
Breath generation control interface;Receive the system operation order initiated by the system component control shown in control interface;According to being
System operation order read system component file in system component information and with the associated preset protocol file of system component information
In control command information, operating status is entered according to system component information and control command information control system;Transported in system
Trigger Function control under row state, obtains the script file being inserted into the trigger event of functionality controls;Script is sent to system
Control command information in file, can control different systems to enter operating status so that user can by control interface
More easily control multiple systems.
Brief description of the drawings
Fig. 1 is the flow diagram of multi-systematic control method in one embodiment;
Fig. 2 is the control interface figure of the lamp light control system of control platform in Fig. 1 embodiments;
Fig. 3 is the control interface figure of the monitoring system of control platform in Fig. 1 embodiments;
Fig. 4 is to obtain the flow diagram of preset protocol file in one embodiment;
Fig. 5 is the flow diagram that system component file is generated in one embodiment;
Fig. 6 is a kind of addition surface chart in Fig. 4 embodiments;
Fig. 7 is the flow diagram that control interface configuration file is generated in one embodiment;
The flow diagram of Fig. 8 interactions between the functionality controls in system in one embodiment;
Fig. 9 is the flow diagram between multisystem in one embodiment;
Figure 10 is the structure diagram of multi-systematic control device in one embodiment;
Figure 11 is the internal structure schematic diagram of one embodiment Computer equipment;
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, it is right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
As shown in Figure 1, in one embodiment, there is provided a kind of flow diagram of multi-systematic control method, including it is following
Step:
S100, obtains control platform and enters order.
Multiple systems could be controlled specifically, user will enter control platform, control platform gets entrance
Order.
S102, the attribute information of control in order reading control interface configuration file is entered according to control platform, according to control
The attribute information generation control interface of part, control include system component control and corresponding functionality controls.
Specifically, the order entered according to control platform, control platform reads the category of control in control interface configuration file
Property information, according to the attribute information of control generate control interface.Wherein, a variety of controls are shown in control interface, can
It is divided into system component control and the corresponding functionality controls of system component.Wherein, hiding control is further included in control interface.Example
Such as, as shown in Fig. 2, being the control interface figure of the lamp light control system of control platform, in the control wherein shown in control interface,
System component control includes camera control, signal light control, airconditioning control and curtain control.Wherein, the corresponding work(of signal light control
Energy control is opened including parlor lamp, parlor lamp closes, Guest room lamp is opened, Guest room lamp closes, toilet lamp is opened, and toilet lamp closes and corresponding shape
State display function control, if lamp is opened, status display function control brightens, and otherwise, it is dimmed that lamp closes then status display function control.
The control of the switch of other compartment lamps is also under cover controlled in control interface, as shown in figure 3, being to switch to the monitoring of control platform
The control interface figure of system, there is the control of camera control in the control interface of monitoring system, and having can control switching not have sexual intercourse
Between video camera control zoom+ and zoom-, have the control that the video camera in room can be controlled to rotate, have video echo control
The control of part, that is, camera supervised video of corresponding display.
S104, receives the system operation order initiated by the system component control shown in control interface.
Specifically, user can control different systems by switching different system component controls, control platform receives
The order for the corresponding system of runtime component control initiated by system component control.Such as:User clicks on video camera control
System, control platform receives the order for the supervisory control system running initiated by camera control or user clicks on signal light control,
Control platform receives the order for the lamp light control system initiated by signal light control.
S106, the system component information and and system component information in system component file are read according to system operation order
Control command information in associated preset protocol file, enters according to system component information and control command information control system
Operating status.
Specifically, order of the control platform according to the corresponding system of runtime component, reads the system correspondence system
System component information in component file and with the control command information in the associated preset protocol file of system component information, root
Enter operating status according to system component information and control command information control system.Such as:Signal light control, control are clicked on according to user
Platform processed receives the order that the lamp light control system initiated by signal light control is run, and it is corresponding to read lamp light control system
System component information in system component file and believe with the control command in the associated preset protocol file of system component information
Breath, enters operating status according to system component information and control command information control lamp light control system.
S108, the Trigger Function control under system running state, obtains the foot being inserted into the trigger event of functionality controls
This document, script file include the corresponding control command information of functionality controls.
Specifically, built-in script engine in control platform, can be by writing script file in script engine.System operation
Trigger Function control under state, obtains the script file being inserted into the trigger event of functionality controls.It is written with script file
The corresponding control command information of the functionality controls.Script file writes and is inserted into the trigger event of functionality controls in advance.
Such as:Under lamp light control system operating status, user clicks on the functionality controls that parlor lamp is opened, and obtains the function of opening parlor lamp
The script file being inserted into the click event of control, the control command for the functionality controls that parlor lamp is opened is written with the script file
Information.Wherein, the script engine of control platform is Python script engines.Python feet are write by Python script engines
This.
S109, the control command information in script file is sent to system.
Specifically, the control command information in script file is sent to the corresponding system of system component control.System receives
To control command information, will be performed according to control command information, and implementing result is fed back to control platform.Such as:
Lamp light control system receives the control command information for the functionality controls that parlor lamp is opened, and just controls the lamp in parlor to open, and then will
The feedback of status that lamp is opened is to control platform so that the corresponding status display function control of functionality controls that parlor lamp is opened in control interface
Part brightens.
In above-described embodiment, enter order by obtaining control platform.Order is entered according to control platform and reads control circle
The attribute information of control in the configuration file of face, control interface is generated according to the attribute information of control.Receive by control interface
The system operation order that the system component control of display is initiated.System in system component file is read according to system operation order
Module information and with the control command information in the associated preset protocol file of system component information, according to system component information and
Control command information control system enters operating status.Trigger Function control, obtains in functionality controls under system running state
Trigger event in the script file that is inserted into.The control command information in script file is sent to system.Can be by controlling boundary
Face controls different systems to enter operating status, controls corresponding system by the functionality controls in control interface so that user
Multiple systems can more easily be controlled.
As shown in figure 4, in one embodiment, there is provided it is a kind of to obtain the flow diagram of preset protocol file, in step
Before S100 step is further included before obtaining control platform and entering order:
S402, obtains the corresponding system protocol of system.
Specifically, the control protocol that different systems uses is different, to accomplish compatible different system, it is necessary to support
The agreement of different system.Obtain the corresponding system protocol of each system.Such as:Lamp light control system has corresponding signal light control to assist
View or monitoring system have corresponding camera control agreement etc..
S404, system protocol is repartitioned as desired.
Specifically, many control functions are contained in the corresponding system protocol of each system, but the control that user needs
Function processed only has part.We repartition system protocol on demand.Such as:The corresponding signal light control association of lamp light control system
We only need the switching function to lamp in view, and signal light control agreement is repartitioned on demand.
The system protocol repartitioned, is write the text with corresponding protocol name by S406 in the form of control command information
In part, preset protocol file is obtained.
Specifically, control command information just refers to that function point corresponds to order and includes the title of order and the ginseng of corresponding order
Number.The system protocol of each system is with JSON (JavaScript Object Notation, JavaScript object markup language)
Form description.The system protocol repartitioned is write to the file with corresponding protocol name in the form of control command information
In, preset protocol file is obtained, obtained preset protocol file is put into the protocol library of control platform.Such as:With "
ProtocalName":{ " action " is write in the file of the protocol name of " visca ":"up","paramlist":{"
speed":8,"portName":"com_0","address":1 } }, represent to write in the corresponding document of agreement of monitoring system
Control command information.Wherein, " action ":" up " represents that the name of function point is to be rotated up, and paramlist orders to be corresponding
Parameter, " speed ":8 represent that speed parameter is 8, " portName ":" com_0 " represents the entitled com_0 in port, "
address":1 represents that state is 1 corresponding state.
In the above-described embodiments, by obtaining the corresponding system protocol of system, system protocol is repartitioned as desired,
The system protocol repartitioned is write in the file with corresponding protocol name in the form of control command information, is preset
Document of agreement so that control platform can carry out corresponding system according to preset protocol file operation control and be by all
System agreement is repartitioned as desired, and the use of convenient user, improves service efficiency.
As shown in figure 5, in one embodiment, there is provided a kind of flow diagram for generating system component file, in step
The attribute information of control in control interface configuration file is being read into order according to control platform before 102, according to control
Attribute information generation control interface before, further include step:
S502, obtains system addition order.
Specifically, after control platform is entered, if no user system oneself to be controlled, user can oneself selection
Addition needs the system controlled.Obtain the order for adding the system.
S504, addition interface is generated according to add-on system order.
Specifically, according to the order generation addition interface for adding the system.Such as:As shown in fig. 6, it is a kind of addition interface
Figure, on the addition interface can in system component list add-on system component, can be with the corresponding function dot command of add-on system
And the corresponding parameter of order.Wherein, system component includes the operation essential component of the system.Such as:In system component
The essential system component of supervisory control system running such as video camera, relay and computer are added in list, in addition is ordered
Add-on system component Name Camera, the protocol name Visca used, whether logon information and the corresponding command name of function point
Such as Up, Down, Left, Zoom+ and Zoom-, command name Right is added, corresponding parameter is added in parameter list such as
Address is 1 and chanel is 1.
S506, obtains the system component information added by adding interface, and system component information includes system component, system
Whether component Name, system component need log-on message, log on command information and system component using protocol name, system component
Control command information.
Specifically, system component information include system component, system component title, system component using protocol name, be
Whether system component needs log-on message, log on command information and system component control command information.Acquisition is added by adding interface
The system component information added.Wherein, when whether addition interface add-on system component needs log-on message, if desired log in, then
Login interface is generated, obtains and logs in the command information information such as including username and password in login interface addition.Wherein system
Component control command information is the corresponding order of the exclusive function point of the system and command parameter information, is exactly to be controlled in document of agreement
The corresponding order of unexistent function point and command parameter information in command information processed.Such as:In monitoring system, operationally
Need to log in, obtain the information such as the username and password that user is inputted by dialog boxes for login.
S508, system component file is generated according to system component information.
Specifically, generating the system component file of JSON forms according to system component information, system component file is put into
In the system library of control platform.For example, when adding the system component information of monitoring system, the system component file of generation can be with
Example is as follows:{"SystemType":"camera","Protocal":"Visca",“IsNeedLogin”:false,"
Info":{"address":1},"cmds":[{"action":" subscribeAll " }, { " action ":”login”
“paramlist”:{“userName”:”admin”,“passwd”:”admin”}}]}.Wherein " SystemType ":"
Camera " represents that system component name is camera, " Protocal ":" Visca " represents protocol name used in system component
Referred to as Visca.“IsNeedLogin”:False represents that the system component need not log in."Info":{"address":1 } table
The state and control relevant parameter of the corresponding system offer of the system component are provided."cmds":[{"action":"
SubscribeAll " }, { " action ":”login”“paramlist”:{“userName”:”admin”,“passwd”:”
Admin " } }] } represent the corresponding system of the system component independently of the control command information outside agreement.
In the above-described embodiments, by obtaining system addition order, generation addition interface, is added user on addition interface
System component information, ultimately produces system component file.User is carried out the addition of system according to the demand of oneself, can control
Oneself required system, it is flexible to use comparison.
In one embodiment, after procedure 506, i.e., obtain by add interface add system component information it
Afterwards, step is further included:
Obtain protocol name and use the identical default association of protocol name with the system component in the system component information of addition
File is discussed, the preset protocol file of acquisition is associated with the system component information added.
Specifically, the pre-configured document of agreement of the system to be added of user, will control multiple systems, association is preset
View file just has multiple.System component file and corresponding preset protocol file are associated, get system component text
System component is associated using the protocol name preset protocol file identical with protocol name in part.Such as monitoring system is
System component file will be associated with preset protocol file, and get system component in system component file is using protocol name
Protocol name is that the document of agreement of Visca is associated in the system component file and preset protocol file of Visca so that system
System component file and preset protocol file can be more easily used when in use.
As shown in fig. 7, in one embodiment, there is provided a kind of flow diagram for generating control interface configuration file,
After step 508 step is further included after system component file is generated according to system component information:
S702, the control command information life in the system component information and preset protocol file in system component file
Into editing interface, control is shown on editing interface.
Specifically, the system component information in system component file includes system component title, system component control
Control command information in command information etc. and preset protocol file generates an editable control interface.With life on the interface
Corresponding system component control, the control command information life in system component information are generated into good grounds system component title
Into functionality controls and in preset protocol file control command information generation functionality controls.
S704, the display information of the control updated by editing interface acquisition, title of the display information including control,
The positional information of control, the display style information of control.
Specifically, by editing interface user can be to the control on interface display information into edlin, such as control
Title, the position of control, the Show Styles of control etc., control platform obtains the display information of the control updated.Example
Such as, we can replace the Background of control etc..
S706, obtains the control related information for the control for updating display information, is associated according to display information with control
Information generates control interface configuration file.
Specifically, the control related information of control refers to one section of special routing information, closed for distinguishing different controls
The difference in functionality of connection, the function point of control and system on interface correspond.The control of display information is updated in acquisition
Related information is controlled, according to display information and control related information generation control interface configuration file, wherein the display letter of control
Breath is described in the form of the key and value of JSON.Such as:Wherein, it can be /SystemId/Cmd/ to control related information
Up, up are exactly specific order.That generate is the positional information JSON of the control interface configuration file, wherein control of monitoring system
Example is as follows:{“Type”:”Button”,“Width”:100,“Height”:100,“LocationX”:30,
“LocationY”:30 }, wherein, " Type ":" Button " represents that the type of this control is button, " Width ":100,
“Height”:100 represent the comfort 100 of the button, a height of 100, " LocationX ":30,“LocationY”:30 represent button
Position coordinates X in control interface is 30, Y 30.
In one embodiment, user can realize control by changing the JSON data in control interface configuration file
The adjustment of effect is presented in interface, realizes the flexible configuration at interface.
In the above-described embodiments, by the system component information in system component file and preset protocol file
Control command information generates editing interface, and the display information of the control updated is obtained by editing interface, and acquisition is compiled again
The control related information of the control of display information is collected, control interface configuration text is generated according to display information and control related information
Part so that user can remove editing interface according to the demand of oneself.Data can also be changed in control interface configuration file to come in fact
The flexible variation in current bound face, can meet the different demands of different user, easy to use.
As shown in figure 8, in one embodiment, there is provided the flow diagram of interaction between the functionality controls in a kind of system,
After step S108, i.e., step is further included after Trigger Function control under system running state:
S802, obtains the script file being inserted into the trigger event of functionality controls.
Specifically, obtaining the script file being inserted into the trigger event of functionality controls, being written with the script file will
The associated functionality controls information and corresponding control command information of control.The script file be by other controls something
Part triggering performs.The associated functionality controls are hidden in control interface.Such as:Script file can be placed in button
In click event, click on the script file and carry out.
S804, obtains the associated functionality controls of functionality controls with triggering according to script file, shows associated function control
Part.
Specifically, when triggering functionality controls, it is associated according to associated functionality controls acquisition of information in script file
Functionality controls, show associated functionality controls, hide the functionality controls of triggering.Many functions may be had in a system,
Then the corresponding functionality controls of function point may not have position to place in control interface, then carry out the control under placing not hidden
Hide.By triggering the functionality controls of display, perform script file shows hiding functionality controls.
In the above-described embodiments, by being inserted into script file in the trigger event in functionality controls, when the triggering function
During control, perform script file so that hiding associated functionality controls are shown.Realize the friendship between control in control interface
Mutually, the control realized to system can be operated more easily on interface.
As shown in figure 9, in one embodiment, there is provided the flow diagram between a kind of multisystem, after step silo,
After the control command information in sending script file to system, step is further included:
S902, obtains control feedback information.
Specifically, system receives control command information, perform control command and be controlled.After the completion of control, system meeting
Control feedback information is sent to control platform.The control feedback information that acquisition system is sent.For example, in lamp light control system,
Lamp into lamp light control system sends the bright control command information of control lamp, light lamp, and after lamp is bright, it is bright to send lamp
State of a control feedback information is to control platform.
S904, according to the functionality controls in control feedback information triggering control interface.
Specifically, the control feedback information received can trigger the functionality controls in control interface.Such as:Control is flat
Platform gets the bright information of lamp of lamp light control system transmission, the status display function control in control interface is brightened.
S906, obtains the script file being inserted into the trigger event of functionality controls, and script file includes system component
Title and corresponding control command information.
Specifically, obtaining the script file being inserted into the trigger event of functionality controls, script file includes system group
The title of part and corresponding control command information.Insertion script file is supported in the trigger event of each functionality controls.Such as:
In lamp light control system, status display function control brightens, and script file is inserted in the event, is write in the script file
The system component title of curtain Controller and corresponding control command information are entered, script file are just got when lamp has brightened
The content of middle write-in.
S908, according to the name acquiring of system component in script file and the associated system of functionality controls.
Specifically, the system associated with the functionality controls is got, such as:With the system component according to curtain Controller
Name acquiring to curtain Controller, the curtain Controller be associated with status display function control.
S910, the control command information in script file is sent to system associated with functionality controls.
Specifically, the control command information in script file, which can be controlled in correspondence system, realizes that control command information corresponds to
Function point.Such as:The control command information in script file is sent to curtain Controller, such as:SendCmd
(SystemId, up, param), wherein SystemId determine the equipment in the system to be controlled, and up represents actual function point pair
The order answered, param are the command parameter realized needed for order.Control lamp bright in lamp light control system, then curtain control
System processed receives control command information and just controls curtain to be closed.
In above-described embodiment, by being inserted into script file in the trigger event of functionality controls, when the functionality controls trigger
When, the script file being inserted into the trigger event of the functionality controls is obtained, is obtained according to the title of system component in script file
Take and believe with the associated system of the functionality controls, the control command then sent to system associated with functionality controls in script file
Breath, so that equipment of the associated system in control command information control system is acted accordingly, realizes multisystem
Between interaction, it is convenient for users to use.
As shown in Figure 10, in one embodiment, there is provided a kind of multi-systematic control device 1000, including:Order obtains mould
Block 1002, interface generation module 1004, Order receiver module 1006, operation control module 1008,1010 and of script acquisition module
Send information module 1012.Wherein:
Order acquisition module 1002, enters order for obtaining control platform.
Interface generation module 1004, control in control interface configuration file is read for entering order according to control platform
Attribute information, generates control interface, control includes system component control and corresponding functionality controls according to the attribute information of control.
Order receiver module 1006, is transported for receiving the system initiated by the system component control shown in control interface
Line command.
Operation control module 1008, for reading the system component information in system component file according to system operation order
With with the control command information in the associated preset protocol file of system component information, according to system component information and control command
Management information system enters operating status.
Script acquisition module 1010, for the Trigger Function control under system running state, obtains touching in functionality controls
The script file being inserted into hair event, script file include the corresponding control command information of functionality controls.
Information module 1012 is sent, for sending the control command information in script file to system.
In above-described embodiment, the order for being controlled platform is obtained by order acquisition module 1002, mould is generated at interface
Block 1004 generates control interface, is ordered by receiving the system operation sent by system component control in Order receiver module 1006
Order, makes system enter operating status in operation control module 1008, is inserted in by being got in script acquisition module 1010
Script file in trigger event, then believes in the control command in sending information module 1012 into system transmission script file
Breath.The control of multisystem is realized, meets user while using the needs of covering system more, it is convenient for users to use.
In one embodiment, order acquisition module 1002, further includes:
Agreement acquisition module, for obtaining the corresponding system protocol of system.
Division module, for system protocol to be repartitioned as desired.
Writing module, has corresponding agreement for the system protocol repartitioned to be write in the form of control command information
In the file of title, preset protocol file is obtained.
In the above-described embodiments, system protocol has been repartitioned according to the demand of user in advance, has obtained preset protocol file,
Oneself required function is selected when facilitating user's control system.
In one embodiment, interface generation module 1004, further include:
Order acquisition module is added, for obtaining system addition order.
Interface generation module is added, for generating addition interface according to add-on system order.
Data obtaining module is added, for obtaining the system component information added by adding interface, system component information
Comprising system component title, system component using protocol name, system component whether need log-on message, log on command information and
System component control command information.
System file generation module, for generating system component file according to system component information.
In one embodiment, data obtaining module is added, is further included:
Relating module, protocol name is used for obtaining protocol name with the system component in the system component information of addition
Identical preset protocol file, the preset protocol file of acquisition is associated with the system component information added.
In one embodiment, system file generation module, further includes:
Editing interface generation module, in the system component information in system component file and preset protocol file
Control command information generation editing interface, show control on editing interface.
Data obtaining module is shown, for obtaining the display information of the control updated, display letter by editing interface
Breath includes the title, the positional information of control, the display style information of control of control.
Interface file generation module, the control related information for the control for updating display information, root are obtained for generating
According to display information and control related information generation control interface configuration file.
In the above-described embodiments, system component file is generated by system file generation module, by document of agreement and system
Component file associates so that and user can get document of agreement and system component file in control system, it is achieved thereby that
The operation of system.Also pass through interface file generation module and generate control interface configuration file so that user when in use can be by
The data of modification control interface configuration file are gone according to the demand of oneself, generate the control interface of oneself needs, it is easy to use.
In one embodiment, script acquisition module 1010, further includes:
Script acquisition module, for obtaining the script file being inserted into the trigger event of functionality controls.
Control display module, for obtaining the associated functionality controls of functionality controls with triggering, display according to script file
Associated functionality controls.
In the above-described embodiments, by between functionality controls in script acquisition module and the system of control display module realization
Interaction, it is user-friendly.
In one embodiment, information module 1012 is sent, is further included:
Feedback information acquisition module, feedback information is controlled for obtaining.
Trigger module, for according to the functionality controls in control feedback information triggering control interface.
Script acquisition module, for obtaining the script file that is inserted into the trigger event of functionality controls, in script file
Title and corresponding control command information including system component.
System acquisition module, for the name acquiring according to system component in script file and the associated system of functionality controls
System.
Command information sending module, the control command for being sent to system associated with functionality controls in script file are believed
Breath.
In above-described embodiment, feedack is got by feedback information acquisition module, triggers and feeds back in trigger module
The corresponding functionality controls of information, script file is obtained by script acquisition module, script got by system acquisition module
The title of the system to be controlled in file, is then believed the control command in script file by command information sending module
Breath is sent in the system to be controlled.The interaction of multisystem is realized, the fusion for meeting multisystem uses, and facilitates user
Use.
In one embodiment, as shown in figure 11, there is provided a kind of computer equipment, the computer equipment are including passing through
Processor, built-in storage, storage medium, the network interface of bus of uniting connection, input unit.The storage medium of the computer equipment
In be stored with operating system and a kind of computer program of multi-systematic control device, the computer program of the multi-systematic control device
It is used for realization a kind of multi-systematic control method.The processor of the computer equipment is used to provide calculating and control ability, is configured
To perform a kind of multi-systematic control method.Built-in storage is that the operation of the computer program in storage medium carries in computer equipment
For environment.Network interface carries out data transmission with other hardware in computer equipment, for example, obtaining what the system to be controlled was sent
Control feedback information.Input unit is used to obtain user's input, for example, for obtaining addition interface information input by user, or
Person's log on command information input by user.It will be understood by those skilled in the art that the structure shown in Figure 10, only with this hair
The block diagram of the bright relevant part-structure of scheme, does not form the limit for the computer equipment being applied thereon to the present invention program
Fixed, specific computer equipment can include, than more or fewer components shown in figure, either combining some components or tool
There is different component arrangements.
A kind of computer-readable recording medium, is stored thereon with computer program, which realizes when being executed by processor
The step of following multi-systematic control method:Obtain control platform and enter order;Order is entered according to control platform and reads control circle
The attribute information of control in the configuration file of face, generates control interface, control includes system component control according to the attribute information of control
Part and corresponding functionality controls;Receive the system operation order initiated by the system component control shown in control interface;Root
According to system operation order read system component file in system component information and with the associated preset protocol of system component information
Control command information in file, enters operating status according to system component information and control command information control system;It is being
Trigger Function control under operating status of uniting, obtains the script file being inserted into the trigger event of functionality controls, script file bag
Include the corresponding control command information of functionality controls;The control command information in script file is sent to system.
In one embodiment, before obtaining control platform and entering order, further include:
The corresponding system protocol of acquisition system;
System protocol is repartitioned as desired;
The system protocol repartitioned is write in the file with corresponding protocol name in the form of control command information,
Obtain preset protocol file.
In one embodiment, the attribute of control in control interface configuration file is being read into order according to control platform
Information, before generating control interface according to the attribute information of control, further includes:
The addition order of acquisition system;
Addition interface is generated according to add-on system order;
The system component information added by adding interface is obtained, system component information includes system component title, system
Whether component needs log-on message, log on command information and system component control command information using protocol name, system component;
System component file is generated according to system component information.
In one embodiment, after the system component information added by adding interface is obtained, further include:
Obtain protocol name and use the identical default association of protocol name with the system component in the system component information of addition
File is discussed, the preset protocol file of acquisition is associated with the system component information added.
In one embodiment, after system component file is generated according to system component information, further include:
Control command information generation in system component information and preset protocol file in system component file is compiled
Editing interface, shows control on editing interface;
The display information of the control updated is obtained by editing interface, display information includes the title of control, control
Positional information, the display style information of control;
The control related information for the control for updating display information is obtained, according to display information and control related information life
Into control interface configuration file.
In one embodiment, further included under system running state after Trigger Function control:
Obtain the script file being inserted into the trigger event of functionality controls;
The associated functionality controls of functionality controls with triggering are obtained according to script file, show associated functionality controls.
In one embodiment, after the control command information in sending script file to system, further include:
Obtain control feedback information;
According to the functionality controls in control feedback information triggering control interface;
The script file being inserted into the trigger event of functionality controls is obtained, script file includes the title of system component
With corresponding control command information;
According to the name acquiring of system component in script file and the associated system of functionality controls;
The control command information in script file is sent to system associated with functionality controls.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in non-volatile computer-readable
In storage medium, in the embodiment of the present invention, which can be stored in the non-volatile memory medium of computer system, and by
At least one processor in the computer system performs, to realize the flow for including the embodiment such as above-mentioned each method.Wherein,
The storage medium can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM) or random storage note
Recall body (Random Access Memory, RAM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality
Apply all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, the scope that this specification is recorded all is considered to be.
Embodiment described above only expresses the several embodiments of the present invention, its description is more specific and detailed, but simultaneously
Cannot therefore it be construed as limiting the scope of the patent.It should be pointed out that come for those of ordinary skill in the art
Say, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention
Scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.
Claims (10)
- A kind of 1. multi-systematic control method, it is characterised in that including:Obtain control platform and enter order;Enter the attribute information of control in order reading control interface configuration file according to the control platform, according to the control Attribute information generation control interface, the control includes system component control and corresponding functionality controls;Receive the system operation order initiated by the system component control shown in the control interface;According to the system operation order read system component file in system component information and with the system component information Control command information in associated preset protocol file, controls according to the system component information and the control command information System enters operating status;The Trigger Function control under system running state, obtains the script text being inserted into the trigger event of the functionality controls Part, the script file include the corresponding control command information of the functionality controls;The control command information in the script file is sent to system.
- 2. according to the method described in claim 1, it is characterized in that, before obtaining control platform and entering order, further include:The corresponding system protocol of acquisition system;The system protocol is repartitioned as desired;The system protocol repartitioned is write in the file with corresponding protocol name in the form of control command information, is obtained Preset protocol file.
- 3. according to the method described in claim 1, it is characterized in that, read control circle entering order according to the control platform The attribute information of control in the configuration file of face, before generating control interface according to the attribute information of the control, further includes:The addition order of acquisition system;Addition interface is generated according to the add-on system order;The system component information added by the addition interface is obtained, the system component information includes system component, system Whether component Name, system component need log-on message, log on command information and system component using protocol name, system component Control command information;System component file is generated according to the system component information.
- 4. according to the method described in claim 2, it is characterized in that, obtaining the system component by addition interface addition After information, further include:It is literary using the identical preset protocol of protocol name with the system component in the system component information added to obtain protocol name Part, the preset protocol file of acquisition is associated with the system component information added.
- 5. according to the method described in claim 2, it is characterized in that, system component text is being generated according to the system component information After part, further include:Control command information generation in system component information and preset protocol file in the system component file is compiled Editing interface, shows control on the editing interface;The display information of the control updated is obtained by the editing interface, the display information includes the name of the control Title, the positional information of the control, the display style information of the control;The control related information for the control for updating display information is obtained, letter is associated with the control according to the display information Breath generation control interface configuration file.
- 6. according to the method described in claim 1, it is characterized in that, under system running state after Trigger Function control, go back Including:Obtain the script file being inserted into the trigger event of the functionality controls;The associated functionality controls of functionality controls with triggering are obtained according to the script file, show the associated function control Part.
- 7. according to the method described in claim 1, it is characterized in that, in the control into the system transmission script file After command information, further include:Obtain control feedback information;The functionality controls in the control interface are triggered according to the control feedback information;The script file being inserted into the trigger event of the functionality controls is obtained, the script file includes system component Title and corresponding control command information;According to the name acquiring of system component in the script file and the associated system of the functionality controls;The control command information in the script file is sent to system associated with the functionality controls.
- A kind of 8. multi-systematic control device, it is characterised in that including:Order acquisition module, enters order for obtaining control platform;Interface generation module, for entering the attribute of control in order reading control interface configuration file according to the control platform Information, generates control interface, the control includes system component control and corresponding function according to the attribute information of the control Control;Order receiver module, is ordered for receiving the system operation initiated by the system component control shown in the control interface Order;Operation control module, for according to the system operation order read system component file in system component information and with Control command information in the associated preset protocol file of system component information, according to the system component information and described Control command information control system enters operating status;Script acquisition module, for the Trigger Function control under system running state, obtains the triggering thing in the functionality controls The script file being inserted into part, the script file include the corresponding control command information of the functionality controls;Information module is sent, for sending the control command information in the script file to system.
- 9. a kind of computer equipment, including memory, processor and storage are on a memory and the meter that can run on a processor Calculation machine program, it is characterised in that the processor realizes any one of the claim 1-7 multisystem controls when performing described program Step in method processed.
- 10. a kind of computer-readable storage medium, is stored thereon with computer program, it is characterised in that the program is executed by processor Step in any one of the Shi Shixian claims 1-7 multi-systematic control methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711214599.9A CN107991895B (en) | 2017-11-28 | 2017-11-28 | Multi-system control method and device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711214599.9A CN107991895B (en) | 2017-11-28 | 2017-11-28 | Multi-system control method and device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107991895A true CN107991895A (en) | 2018-05-04 |
CN107991895B CN107991895B (en) | 2021-09-07 |
Family
ID=62033629
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711214599.9A Active CN107991895B (en) | 2017-11-28 | 2017-11-28 | Multi-system control method and device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107991895B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109271157A (en) * | 2018-09-07 | 2019-01-25 | 深圳市东微智能科技股份有限公司 | Software development methodology, equipment and computer readable storage medium |
CN109656729A (en) * | 2018-12-17 | 2019-04-19 | 浩云科技股份有限公司 | The more widget interaction method, apparatus and terminal device of Webpage |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101097443A (en) * | 2007-07-17 | 2008-01-02 | 当代天启技术(北京)有限公司 | User equipment control method, system and control device |
CN101162393A (en) * | 2007-11-13 | 2008-04-16 | 南京邮电大学 | Self-adapting universal control point system structure based on universal plug and play and control method thereof |
CN101483563A (en) * | 2008-01-07 | 2009-07-15 | 海尔集团公司 | Control method and system for home network |
CN105739460A (en) * | 2014-12-12 | 2016-07-06 | 青岛海尔智能家电科技有限公司 | Method and device for automatically generating control interface of Internet-of-Things household appliances |
CN106371324A (en) * | 2016-08-31 | 2017-02-01 | 海信集团有限公司 | Method and device for displaying operation interface |
CN106597860A (en) * | 2015-10-19 | 2017-04-26 | 上海澜腾智能科技有限公司 | Household electrical appliance control system, and control device, construction method and control method thereof |
CN106814629A (en) * | 2015-11-27 | 2017-06-09 | 大唐移动通信设备有限公司 | A kind of method and device of control smart home |
US20170293408A1 (en) * | 2004-09-08 | 2017-10-12 | Universal Electronics Inc. | System and method for flexible configuration of a controlling device |
CN107368042A (en) * | 2016-05-13 | 2017-11-21 | 上海澜腾智能科技有限公司 | Intelligent home control system and its control device and control method |
-
2017
- 2017-11-28 CN CN201711214599.9A patent/CN107991895B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170293408A1 (en) * | 2004-09-08 | 2017-10-12 | Universal Electronics Inc. | System and method for flexible configuration of a controlling device |
CN101097443A (en) * | 2007-07-17 | 2008-01-02 | 当代天启技术(北京)有限公司 | User equipment control method, system and control device |
CN101162393A (en) * | 2007-11-13 | 2008-04-16 | 南京邮电大学 | Self-adapting universal control point system structure based on universal plug and play and control method thereof |
CN101483563A (en) * | 2008-01-07 | 2009-07-15 | 海尔集团公司 | Control method and system for home network |
CN105739460A (en) * | 2014-12-12 | 2016-07-06 | 青岛海尔智能家电科技有限公司 | Method and device for automatically generating control interface of Internet-of-Things household appliances |
CN106597860A (en) * | 2015-10-19 | 2017-04-26 | 上海澜腾智能科技有限公司 | Household electrical appliance control system, and control device, construction method and control method thereof |
CN106814629A (en) * | 2015-11-27 | 2017-06-09 | 大唐移动通信设备有限公司 | A kind of method and device of control smart home |
CN107368042A (en) * | 2016-05-13 | 2017-11-21 | 上海澜腾智能科技有限公司 | Intelligent home control system and its control device and control method |
CN106371324A (en) * | 2016-08-31 | 2017-02-01 | 海信集团有限公司 | Method and device for displaying operation interface |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109271157A (en) * | 2018-09-07 | 2019-01-25 | 深圳市东微智能科技股份有限公司 | Software development methodology, equipment and computer readable storage medium |
CN109271157B (en) * | 2018-09-07 | 2021-09-07 | 深圳市东微智能科技股份有限公司 | Software development method, device and computer readable storage medium |
CN109656729A (en) * | 2018-12-17 | 2019-04-19 | 浩云科技股份有限公司 | The more widget interaction method, apparatus and terminal device of Webpage |
CN109656729B (en) * | 2018-12-17 | 2022-12-13 | 浩云科技股份有限公司 | Multi-control interaction method and device for webpage and terminal equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107991895B (en) | 2021-09-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12114094B2 (en) | Video processing method, apparatus, and device and storage medium | |
US9164664B2 (en) | System and method for avatar cloning | |
US9524491B2 (en) | Master navigation controller for a web-based conference collaboration tool | |
CN103135969B (en) | Operation, generation, the method started and its device of application program | |
CN112558824B (en) | Page display method and device and computer storage medium | |
Nguyen et al. | Privacy mirrors: understanding and shaping socio-technical ubiquitous computing systems | |
CN111966779B (en) | Knowledge base management method and system for robot, electronic equipment and storage medium | |
CN109725541A (en) | Generation method, device, electronic equipment and the storage medium of automation | |
US20150074825A1 (en) | System and method for controlling privacy settings of user interface with internet applications | |
CN107831974A (en) | information sharing method, device and storage medium | |
CN102918484A (en) | Web application pinning including task bar pinning | |
CN108352004A (en) | To editor individual of shared file | |
CN110297631A (en) | Client development approach, device, computer equipment and storage medium | |
CN105635063A (en) | IOT (Internet of Things) communication protocol configuration method and device | |
CN108140174A (en) | Dialogue and Version Control for object in communication | |
CN112969097A (en) | Content playing method and device, and content commenting method and device | |
CN103425483A (en) | User customization of menus | |
CN112752132A (en) | Cartoon picture bullet screen display method and device, medium and electronic equipment | |
CN109063504A (en) | Access method, mobile terminal and the storage medium of secret file | |
US9355227B2 (en) | Dynamic document display personalization implemented in a digital rights management system | |
CN107991895A (en) | Multi-systematic control method, apparatus, computer equipment and storage medium | |
WO2023206845A1 (en) | Method and apparatus for creating page menu, and storage medium and electronic apparatus | |
CN110100281A (en) | Method, program and information processing unit | |
CN109857762A (en) | Subscriber data processing method shares message treatment method and computer equipment | |
CN110309401B (en) | Information processing method and device |
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 | ||
CP02 | Change in the address of a patent holder |
Address after: 518000 R & D building 1601, block a, building 7, Vanke Cloud City Phase I, Xingke 1st Street, Xili community, Xili street, Nanshan District, Shenzhen City, Guangdong Province (16 / F, block a, building 1, international innovation Valley) Patentee after: SHENZHEN TENDZONE INTELLIGENT TECHNOLOGY Co.,Ltd. Address before: 518051 floor 2, block C, office building, Hanchuang new garden, 16 Langshan Road, Nanshan District, Shenzhen, Guangdong, 2 Patentee before: SHENZHEN TENDZONE INTELLIGENT TECHNOLOGY Co.,Ltd. |
|
CP02 | Change in the address of a patent holder |