CN112398953A - Cloud configuration method based on Internet of things middleware - Google Patents

Cloud configuration method based on Internet of things middleware Download PDF

Info

Publication number
CN112398953A
CN112398953A CN202110057682.XA CN202110057682A CN112398953A CN 112398953 A CN112398953 A CN 112398953A CN 202110057682 A CN202110057682 A CN 202110057682A CN 112398953 A CN112398953 A CN 112398953A
Authority
CN
China
Prior art keywords
control
configuration
cloud
data
internet
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
Application number
CN202110057682.XA
Other languages
Chinese (zh)
Other versions
CN112398953B (en
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.)
Hewo Wulian Technology Nanjing Co ltd
Original Assignee
Hewo Wulian Technology Nanjing 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 Hewo Wulian Technology Nanjing Co ltd filed Critical Hewo Wulian Technology Nanjing Co ltd
Priority to CN202110057682.XA priority Critical patent/CN112398953B/en
Publication of CN112398953A publication Critical patent/CN112398953A/en
Application granted granted Critical
Publication of CN112398953B publication Critical patent/CN112398953B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/562Brokering proxy services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a cloud configuration method based on an Internet of things middleware, wherein dynamic data sources of field devices acquired by the Internet of things are subjected to format unification by the middleware and then uploaded to a cloud, so that real-time updating of cloud data is realized; the cloud provides configuration application service, data storage service and data analysis service; the configuration application service provides a configuration editing interface for a user through a cloud end, the user lays out the configuration interface in the configuration editing interface through remote access, a dynamic data source matched with the field device is configured for the configuration interface, and the configuration interface is linked with the dynamic data source to form a data-driven scene configuration; event binding is carried out on element controls in scene configuration on a configuration editing interface, and a request is generated; the cloud converts the request into a control instruction to control the field device. The invention shields the problem of device communication differentiation based on the powerful device access capability of the middleware, uniformly uploads device data to the cloud, and provides a standard data interface for a configuration interface.

Description

Cloud configuration method based on Internet of things middleware
Technical Field
The invention relates to a cloud configuration method based on an Internet of things middleware, and belongs to the Internet of things configuration technology.
Background
With the rapid popularization of the internet of things technology in the country in recent years, the production and manufacturing, environmental protection water service, electric power and other industries have stronger requirements on digitization, networking and intellectualization, and the establishment of an intelligent service system based on mass data acquisition, aggregation and analysis is the current important target of numerous enterprises. At present, the main configuration software in the market is used in the field of industrial automation control to realize human-computer interaction, and the method has the capabilities of real-time synchronization and picture overview, but has the following defects in the using process:
(1) the dependence is strong: most configuration hardware relies on human-machine interface devices (HMI), software systems rely on Windows and android systems, and configuration software needs to be installed.
(2) The implementation efficiency is low: most of the devices need to be programmed according to field working conditions, different programming means are needed to realize the devices according to different equipment and different configuration requirements, and the devices cannot be simply dragged to realize the programming.
(3) The universality is weak: because the number of popular configuration products in the current market is large, the difference between brands exists, if one application scene contains equipment with various models, one configuration software can not be implemented due to the fact that all data cannot be docked, and the configuration software can be used only by field modification; and the picture can only be viewed on the local human-computer interface equipment, and data cannot be monitored at a remote computer or a mobile terminal.
(4) The remote control capability is poor: most of the devices need local configuration or programming to form a configuration interface, after the devices are successfully issued, the devices need to be previewed on a local human-machine interaction interface (HMI) or a server side, and the devices cannot be remotely controlled.
(5) Limited data analysis capability: because the local storage of the human-computer interface equipment is limited and a large amount of data cannot be stored, the support degree of scenes needing long-term data storage and analysis is limited.
Disclosure of Invention
The purpose of the invention is as follows: in order to overcome the defects in the prior art, the invention provides a cloud configuration method based on an Internet of things middleware, and solves the problems of poor remote control capability, low implementation efficiency, weak universality, strong dependence and limited data analysis capability of the conventional configuration products in the market.
The technical scheme is as follows: in order to achieve the purpose, the invention adopts the technical scheme that:
a cloud configuration method based on an Internet of things middleware is characterized in that dynamic data sources of field devices acquired by the Internet of things are subjected to format unification (to shield the problem of device communication differentiation) through the middleware and then uploaded to a cloud, so that real-time updating of cloud data is realized; the cloud provides configuration application service, data storage service and data analysis service, and collects, stores and analyzes dynamic data sources provided by the Internet of things;
the configuration application service provides a configuration editing interface for a user through a cloud end, the user remotely accesses a configuration interface which is consistent with the scene of the Internet of things and is distributed in the configuration editing interface, a dynamic data source matched with field equipment is configured for the configuration interface, and the configuration interface is linked with the dynamic data source to form a data-driven scene configuration; event binding is carried out on element controls in scene configuration on a configuration editing interface, and a request instruction is generated; the cloud end converts the request instruction into a control instruction to control the field device;
the configuration editing interface comprises a configuration canvas, a tool panel, a shortcut tool panel, a control panel and an attribute/event panel, wherein a control library comprises an element control, a state and control, a chart control, a time and video control for simulating field equipment, the control in the control library is displayed on the control panel in an icon mode, the selected control on the control panel is added to the configuration canvas in a double-click or dragging mode, the attribute setting is carried out on the selected control on the configuration canvas through the attribute/event panel, and the event binding is carried out on the selected element control on the configuration canvas through the attribute/event panel.
Preferably, the dynamic data source received by the cloud is pushed to a configuration editing interface through a websocket technology; the configuration editing interface finishes state refreshing according to the field device matching ID matching element control, and a request instruction which is set and finished on the configuration editing interface and carries the field device matching ID is sent to the cloud end through an http protocol; and the cloud sends a control instruction to the middleware by using the MQTT protocol through the method of binding data by the control so as to control the field equipment.
Preferably, the function keys on the tool panel are constructed by adopting a Toolbar object and a menu object, the function keys comprise files, editing, viewing, adjusting graphs and other keys, the file keys package the function of importing and exporting the configuration file, the editing key package performs the functions of returning, copying, pasting, deleting, editing data styles and locking graphs on the graph file, the viewing key package performs the function of displaying the graph file and the configuration file, the adjusting graph key package performs the functions of rotating, aligning, arranging and combining the graph file, and the other key packages are used for connecting a function switch for copying and the function of operating an editing icon. The construction mode of the shortcut tool panel is the same as that of the tool panel, and the construction mode has the function that a common tool is directly displayed on the configuration editing interface and can be used without opening the tool panel and directly clicking the shortcut tool panel for picking.
Preferably, the control on the control panel is constructed by adopting a Sidebar object, and comprises a control model construction and a control model filling, wherein the control model construction is carried out by using a Sidebar.
Specifically, the control structure descriptions are all generated into document control objects by xml, and the attribute configuration of the generated control objects is all stored by the xml node objects; the control column loads a control to analyze the object configuration in the xml to draw a cell to initialize the control; binding events in the process of initialization; all drawn controls are loaded into the toolbar by the native build package.
The state and control controls comprise a switch control, a button control, a state indicator lamp control, a pipeline state control, a liquid level instrument control and a thermometer control. Besides the basic functions, the real-time dynamic control also has the data-bound control revival. Currently, data is accessed by using a webSocket real-time pushing mode, webSocket send ("{ linkStatus: 'subscription flag', topic: 'message subject', socket dt: 'link type', }") realizes opening a webSocket data channel link (which means that send () sends a subscription request), and then receives real-time data by socket open () (which means that after the subscription request is successful, an open message channel is used) through a data identity identification brush value in a cell attribute in a control. Close () (say: close the message channel with close on close exit) closes the data channel. In addition, the real-time control is also an event type control which can control the issued switch and button by the expansion control, and the description is as follows: event switches and buttons may be event bound; the switch realizes that the monitoring click triggers the ON/OFF switch, and the button realizes the event triggering of two states of button clicking and button releasing by monitoring the pointerdown pressing and pointerup lifting, thereby realizing the control issuing of numerical values.
The chart controls comprise a pie chart control, a line chart control, a bar chart control, an annular chart control, a statistical table control and an index card control; the chart control displays historical data, analysis of the historical data is drawn based on a graphic expert echarts, and a graphic object is initialized and instantiated through an echarts. init (). setOption ({ tooltip { }, legend { }, series [ ] }) function (for illustration, the graphic object is instantiated through init by setting main parameter configurations such as a tooltip title, legend suspension prompt, series point position and the like as parameters, and dynamic display of a statistical chart according to dynamic change of the data is supported).
When the historical data control needs to perform data interaction, the configuration interface requests the server for data after adding the historical data control configuration data query condition, and the server screens out the data through the query condition and returns the data to the configuration interface to finish data display.
The time and video control comprises a digital clock control, a nixie tube control, a video control and a real-time data control, and the real-time data control comprises a state control and a video time control; refreshing by using a setInterval () function, converting the current time by using a new Date (). Format () function, initializing a nixitube by using a new LedStyle (width, height, control object, font style and font style), initializing a video object by using a new EZuikit.
The basic control is used as a basic static control and can only make basic styles, typesetting and decoration. For example: and filling color values in the overall style of the control to realize style switching setting. Typesetting layout and alignment mode of the characters; the control is based on the position of the entire svg canvas, i.e., is a positioning setting. The styles are mainly set by style, color value, shadow layer, highlight, etc.
Preferably, the description of the control structure is generated by an xml file into a document file, and the document file comprises:
paintvertexshape () function (description: consider that the control is easy to instantiate in terms of presentation, size, and position on the configuration canvas): the method comprises the steps that a control is displayed on a configuration canvas, an SVG file is analyzed to the configuration canvas through a function, a paintVertexShape (c, x, y, w, h) function provides 5 input parameters to set basic display of the control on the configuration canvas, c is a control object, x and y are based on the x-axis position and the y-axis position of the configuration canvas, and w and h are the width and the height of the control in the configuration canvas; the drawing control can realize the control display in the configuration canvas and can also modify the control style and the presentation content;
dataformat panel. Modifying the style of the control on the configuration canvas, including modifying characters, a background, a frame and layout;
the control can set control style effect and use experience besides basic display, an addFont (container) function can provide such control object for modification, can provide settings such as style, size, font and alignment mode from the angle of characters, provides settings such as color filling, background illustration, control highlight, shadow layer and the like from the angle of background, and provides layout settings such as width, height, position and the like from the angle of overall configuration;
editorui. getfiledata () function: compressing the content on the current configuration canvas into an xml file, converting the xml file into a Base64 format, forming the xml file configured by xmlConfig through xmlConfig configuration, and storing the xml file configured by xmlConfig into a database, so that the configuration is convenient to store and load and operate more conveniently; a createFileData (node, graph, file, url, forceXml, forceSvg, forceHtml) function can realize the compression of a canvas into a configuration file of a node object, the node is a configured node object, the graph is a corresponding configuration diagram, the file is a generated file, the url is a storage position, forceXml indicates whether to compress into an xml file, forceSvg indicates whether to compress into an svg thumbnail, and forceHtml indicates whether to compress into an html file;
editorui. openlocalfile (xmlConfig) function: an xmlConfig configuration for parsing the xml file;
decoderuricoponent (xmlconfig) function: parsing the xml file into an xml node file based on the xmlConfig configuration; and loading the xml node file on a configuration canvas.
The invention also relates to the use of other commonly used functions, such as:
the control reference description mxutils. extended () (which illustrates that all controls are based on underlying model objects and extended by extension properties, where mxutils. extended is responsible for doing so) instantiates a control template assignment into the svg canvas.
Has the advantages that: compared with the prior art, the cloud configuration method based on the middleware of the Internet of things has the following advantages that: 1. dependence aspect: configuration can be completed by using a web browser, and only terminal equipment supporting the browser can be used; 2. the implementation efficiency is as follows: the configuration picture is generated by dragging the control without programming; 3. and in the aspect of universality: based on the powerful equipment access capacity of the middleware, the problem of equipment communication differentiation is shielded, equipment data are uploaded to the cloud end in a unified mode, and a standard data interface is provided for a configuration interface; 4. remote manipulation capability aspect: the characteristics of remote cloud deployment, remote configuration and remote data monitoring and control are supported, and field implementation is not required; 5. data analysis capability aspect: the cloud configuration data is infinite in storage amount based on a cloud time sequence database, the query of various analysis dimensions can be supported, and the richness of the display control can be supported by displaying various styles and rendering effects by using a browser; 6. the invention simultaneously supports the functions of importing and exporting the configuration picture and storing the template, can realize one-time configuration recycling, and can save a large amount of configuration time.
Drawings
FIG. 1 is a block diagram of a configuration interface according to the present invention;
FIG. 2 is a schematic view of the cross-sectional configuration operation of the present invention;
FIG. 3 is a schematic diagram of a data interaction process according to the present invention.
Detailed Description
The invention is described in detail below with reference to the figures and the embodiments.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like, indicate orientations or positional relationships based on those shown in the drawings, and are used only for convenience in describing the present invention and for simplicity in description, and do not indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and thus, are not to be construed as limiting the present invention. Furthermore, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
A cloud configuration method based on an Internet of things middleware is characterized in that dynamic data sources of field devices acquired by the Internet of things are unified in format by the middleware and then uploaded to a cloud, so that real-time updating of cloud data is realized; the cloud provides configuration application service, data storage service and data analysis service, and collects, stores and analyzes dynamic data sources provided by the Internet of things; the configuration application service provides a configuration editing interface for a user through a cloud end, the user remotely accesses a configuration interface which is consistent with the scene of the Internet of things and is distributed in the configuration editing interface, a dynamic data source matched with field equipment is configured for the configuration interface, and the configuration interface is linked with the dynamic data source to form a data-driven scene configuration; event binding is carried out on element controls in scene configuration on a configuration editing interface, and a request instruction is generated; the cloud end converts the request instruction into a control instruction to control the field device; the configuration editing interface comprises a configuration canvas, a tool panel, a control panel and an attribute/event panel, wherein the control library comprises element controls simulating field equipment, state and control controls, chart controls, time and video controls, the controls in the control library are displayed on the control panel in an icon mode, the controls selected on the control panel are added to the configuration canvas in a double-click or dragging mode, the properties of the controls selected on the configuration canvas are set through the attribute/event panel, and the event binding is carried out on the element controls selected on the configuration canvas through the attribute/event panel.
The method has the advantages that the user can realize zero programming, simple use and flexible assembly; the configuration picture realizes visual data monitoring; the method is suitable for scenes such as visual application, large-screen monitoring and the like. The method of the invention can be designed based on the following procedures:
and in the process 1, the control construction description is generated into a document control object by xml, and the attribute configuration of the generated control object is stored by the xml node object. The control column loads a control to analyze the object configuration in the xml to draw a cell to initialize the control; and binding events in the process of initialization. All drawn controls are loaded into the toolbar by the native build package.
The flow 2, the control reference description mxUtils.extend () instantiation control template assignment to the svg canvas, and the control template prototype.paintVertexShape () function drawing control realizes the control display in the canvas. The control style and presentation content may also be decorated by a control template. Description of the drawings: all controls are extended based on the underlying model object and the extended properties are extended, where mxutils.
The process 3 and the scheme can also customize and modify the control, and currently, the modification of the control by two dimensions is provided. The dataformat panel.prototype.addfont () function provides style modifiers (text, background, borders, layout, etc.); the dataformat panel.prototype.addfunction () function provides functional application bindings (e.g., data bindings, video bindings, etc.). editorui. editor. graph. refresh () function updates the active configuration redrawn control (decorated configurations all write the form of the configured property to the xml configuration file).
Flow 4, the present case is used as a configuration tool (svg canvas based presentation). And loading the configuration by running the analyzed configuration parameters. Description of the drawings: and analyzing the obtained encrypted file into an xml file, and loading the configuration to the canvas.
The scheme mainly comprises four types of controls:
(1) basic control (Chart, text, shape)
The basic control is used as a basic static control and can only be subjected to basic style, style and typesetting decoration. For example: and filling color values in the overall style of the control to realize style switching setting. Typesetting layout and alignment mode of the characters; the setting control is based on the position of the whole svg canvas, namely the setting of positioning. The styles are mainly set by style, color value, shadow layer, highlight, etc.
(2) State control (switch, button, state indicator, pipe state, liquid level meter, thermometer)
Besides the basic functions, the real-time dynamic control also has the data-bound control revival. Currently, data is accessed in a webSocket real-time pushing mode, websocket.send ("{ linkStatus: 'subscription flag', topic: 'message subject', socket dt: 'link type',. }") (which means that send () sends a subscription request) realizes opening a webSocket data channel link, and then socket.open () (which means that after a subscription request is successful, a message channel is opened through open) receives real-time data and passes through a data identity identification brush value in a cell attribute in a control. Close () (say: close the message channel with close on close exit) closes the data channel. In addition, the real-time control is also an event type control which can control the issued switch and button by the expansion control, and the description is as follows: event switches and buttons may be event bound; the switch realizes that the monitoring click triggers the ON/OFF switch, and the button realizes the event triggering of two states of button clicking and button releasing by monitoring the pointerdown pressing and pointerup lifting, thereby realizing the control issuing of numerical values.
(3) Analytical statistics (pie chart, line chart, bar chart, ring chart, statistical table, indicator card)
The analyzed dynamic control has the data binding control analysis besides the basic functions. The analysis graph is drawn based on the graphics expert echarts. The method comprises the steps of initializing and instantiating a graph object by using an init through setting main parameter configurations such as a tooltip title, a legend suspension prompt, a series point position and the like.
(4) Video time (digital clock, nixie tube, video)
The expansion control is special. The time control is refreshed by a setInterval () function, and the new Date (). Format () function converts the current time; new LedStyle (width, height, control object, font style) initializes the nixie tube, and its data binding is similar to the real-time dynamic control described above. Ezuiplayer ('myPlayer') initializes a video object, and initially configures a video address to be played into a player through a src attribute.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The foregoing illustrates and describes the principles, general features, and advantages of the present invention. It should be understood by those skilled in the art that the above embodiments do not limit the present invention in any way, and all technical solutions obtained by using equivalent alternatives or equivalent variations fall within the scope of the present invention.

Claims (6)

1. A cloud configuration method based on an Internet of things middleware is characterized by comprising the following steps: the method comprises the following steps that dynamic data sources of field devices collected by the Internet of things are unified in format through a middleware and then uploaded to a cloud end, so that real-time updating of cloud end data is achieved; the cloud provides configuration application service, data storage service and data analysis service, and collects, stores and analyzes dynamic data sources provided by the Internet of things;
the configuration application service provides a configuration editing interface for a user through a cloud end, the user remotely accesses a configuration interface which is consistent with the scene of the Internet of things and is distributed in the configuration editing interface, a dynamic data source matched with field equipment is configured for the configuration interface, and the configuration interface is linked with the dynamic data source to form a data-driven scene configuration; event binding is carried out on element controls in scene configuration on a configuration editing interface, and a request instruction is generated; the cloud end converts the request instruction into a control instruction to control the field device;
the configuration editing interface comprises a configuration canvas, a tool panel, a control panel and an attribute/event panel, wherein the control library comprises element controls simulating field equipment, state and control controls, chart controls, time and video controls, the controls in the control library are displayed on the control panel in an icon mode, the controls selected on the control panel are added to the configuration canvas in a double-click or dragging mode, the properties of the controls selected on the configuration canvas are set through the attribute/event panel, and the event binding is carried out on the element controls selected on the configuration canvas through the attribute/event panel.
2. The internet of things middleware-based cloud configuration method of claim 1, wherein: the method comprises the following steps that a dynamic data source received by a cloud end is pushed to a configuration editing interface through a websocket technology; the configuration editing interface finishes state refreshing according to the field device matching ID matching element control, and a request instruction which is set and finished on the configuration editing interface and carries the field device matching ID is sent to the cloud end through an http protocol; and the cloud sends a control instruction to the middleware by using the MQTT protocol through the method of binding data by the control so as to control the field equipment.
3. The internet of things middleware-based cloud configuration method of claim 1, wherein: the function keys on the tool panel are constructed by adopting a Toolbar object and a menu object, the function keys comprise files, editing, checking and adjusting graph keys, the file key packages the import and export functions of the configuration files, the editing key packages perform the functions of returning, copying, pasting, deleting, editing data styles and locking graphs on the graph files, the checking key packages display the graph files and the configuration files, and the adjusting graph key packages perform the functions of rotating, aligning, arranging and combining the graph files.
4. The internet of things middleware-based cloud configuration method of claim 1, wherein: the method comprises the steps of constructing a control model and a filling control model by adopting a controller object, constructing the control model by using a controller.
5. The internet of things middleware-based cloud configuration method of claim 1, wherein: the state and control controls comprise a switch control, a button control, a state indicator lamp control, a pipeline state control, a liquid level instrument control and a thermometer control, the chart control comprises a pie chart control, a line chart control, a bar chart control, an annular chart control, a statistical table control and an index card control, the time and video control comprises a digital clock control, a nixie tube control, a video control and a real-time data control, and the real-time data control comprises a state control and a video time control.
6. The internet of things middleware-based cloud configuration method of claim 1, wherein: the description of the control structure is generated into a document file by an xml file, and the document file is used as follows:
prototype. paintvertexshape () function: displaying a control on the configuration canvas;
dataformat panel. Modifying the style of the control on the configuration canvas, including modifying characters, a background, a frame and layout;
editorui. getfiledata () function: compressing the content on the current configuration canvas into an xml file, converting the xml file into a Base64 format, forming the xml file configured by xmlConfig through xmlConfig configuration, and storing the xml file configured by xmlConfig into a database;
editorui. openlocalfile (xmlConfig) function: an xmlConfig configuration for parsing the xml file;
decoderuricoponent (xmlconfig) function: and analyzing the xml file into an xml node file based on the xmlConfig configuration, and loading the xml node file on a configuration canvas.
CN202110057682.XA 2021-01-16 2021-01-16 Cloud configuration method based on Internet of things middleware Active CN112398953B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110057682.XA CN112398953B (en) 2021-01-16 2021-01-16 Cloud configuration method based on Internet of things middleware

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110057682.XA CN112398953B (en) 2021-01-16 2021-01-16 Cloud configuration method based on Internet of things middleware

Publications (2)

Publication Number Publication Date
CN112398953A true CN112398953A (en) 2021-02-23
CN112398953B CN112398953B (en) 2021-04-23

Family

ID=74624857

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110057682.XA Active CN112398953B (en) 2021-01-16 2021-01-16 Cloud configuration method based on Internet of things middleware

Country Status (1)

Country Link
CN (1) CN112398953B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113312076A (en) * 2021-06-25 2021-08-27 瀚云科技有限公司 Configuration information upgrading method, system, electronic equipment and storage medium
CN113515275A (en) * 2021-07-19 2021-10-19 上海繁易信息科技股份有限公司 WYSIWYG cloud industrial configuration software system and development method thereof
CN113703758A (en) * 2021-08-16 2021-11-26 深圳市顶控科技有限公司 Method for quickly cloning configuration self-defined control
CN114363366A (en) * 2021-11-09 2022-04-15 四川宏华电气有限责任公司 Remote automatic orientation system and method based on cloud platform
CN114385059A (en) * 2021-12-10 2022-04-22 广州晨控智能技术有限公司 Configuration editing system for ink screen electronic tag and ink screen electronic tag
CN116610320A (en) * 2023-07-21 2023-08-18 江苏橙智云信息技术有限公司 Configuration platform of configuration page of building automatic control system
CN117857653A (en) * 2023-12-21 2024-04-09 杭州指令集智能科技有限公司 Method for endowing video capability to internet of things (IoT) device based on Internet of things operating system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107220064A (en) * 2017-06-27 2017-09-29 华中科技大学 A kind of digital control system interface configuration development approach
US20170331900A1 (en) * 2016-05-13 2017-11-16 Sap Se Clustering Websocket Communications With Configurable Master-Slave Servers
CN109460232A (en) * 2018-09-27 2019-03-12 深圳新基点智能股份有限公司 A kind of production and monitoring method of the configuration page
CN109977335A (en) * 2019-03-29 2019-07-05 江苏极熵物联科技有限公司 A kind of Web configuration method towards industrial equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170331900A1 (en) * 2016-05-13 2017-11-16 Sap Se Clustering Websocket Communications With Configurable Master-Slave Servers
CN107220064A (en) * 2017-06-27 2017-09-29 华中科技大学 A kind of digital control system interface configuration development approach
CN109460232A (en) * 2018-09-27 2019-03-12 深圳新基点智能股份有限公司 A kind of production and monitoring method of the configuration page
CN109977335A (en) * 2019-03-29 2019-07-05 江苏极熵物联科技有限公司 A kind of Web configuration method towards industrial equipment

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113312076A (en) * 2021-06-25 2021-08-27 瀚云科技有限公司 Configuration information upgrading method, system, electronic equipment and storage medium
CN113515275A (en) * 2021-07-19 2021-10-19 上海繁易信息科技股份有限公司 WYSIWYG cloud industrial configuration software system and development method thereof
CN113703758A (en) * 2021-08-16 2021-11-26 深圳市顶控科技有限公司 Method for quickly cloning configuration self-defined control
CN113703758B (en) * 2021-08-16 2023-10-31 深圳市顶控科技有限公司 Method for quickly cloning configuration custom control
CN114363366A (en) * 2021-11-09 2022-04-15 四川宏华电气有限责任公司 Remote automatic orientation system and method based on cloud platform
CN114385059A (en) * 2021-12-10 2022-04-22 广州晨控智能技术有限公司 Configuration editing system for ink screen electronic tag and ink screen electronic tag
CN116610320A (en) * 2023-07-21 2023-08-18 江苏橙智云信息技术有限公司 Configuration platform of configuration page of building automatic control system
CN116610320B (en) * 2023-07-21 2023-10-17 江苏橙智云信息技术有限公司 Configuration system of configuration page of building automatic control system
CN117857653A (en) * 2023-12-21 2024-04-09 杭州指令集智能科技有限公司 Method for endowing video capability to internet of things (IoT) device based on Internet of things operating system

Also Published As

Publication number Publication date
CN112398953B (en) 2021-04-23

Similar Documents

Publication Publication Date Title
CN112398953B (en) Cloud configuration method based on Internet of things middleware
CN102664749B (en) Monitoring system capable of configuring telemetering data
CN103019682B (en) A kind of method being combined in display data in SVG by self-defined figure
CN109765793B (en) Equipment state display method and device, terminal and storage medium
JP6813634B2 (en) WEB reporting design system for programming event behavior based on graphic interface
CN111078169B (en) Front-end device of visual large-screen system and construction method thereof
CN101639973A (en) Management method for remote controller
CN112612864B (en) Data visualization display method and terminal
CN110442550B (en) Log screen-gathering real-time visualization method and device
CN109375914A (en) Information remote exchange method and system
WO2017000898A1 (en) Software icon display method and apparatus
CN114328672A (en) Digital farmland scene mapping synchronization device and method based on digital twins
CN110399583A (en) Page display method, device, electronic equipment and storage medium
CN110109423B (en) Water power plant real-time data monitoring system based on Html5 technology
CN102150133A (en) Systems and methods for providing a common time manipulation service to desktop applications
CN111061381A (en) Screen global input control system and method
CN106846431B (en) Unified Web graph drawing system supporting multiple expression forms
CN111596989B (en) Histogram display method, terminal and storage medium
CN102917007B (en) A kind of system and method based on flash animation real-time exhibition monitor equipment status
CN112579092A (en) Multifunctional small program multi-end updating and publishing system
CN114365084A (en) Responsive layout system and server
JPH06215095A (en) Object attribute expressing/changing system
US20230290095A1 (en) User-interface-framework based processing method, apparatus, device, and medium
CN113343409B (en) Visual configuration method and device based on virtual equipment
CN114385740A (en) Visualization display system and method based on uranium mine geological cloud platform

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