CN113157268B - Equipment state processing system combining flow engine and Internet of things - Google Patents
Equipment state processing system combining flow engine and Internet of things Download PDFInfo
- Publication number
- CN113157268B CN113157268B CN202110453307.7A CN202110453307A CN113157268B CN 113157268 B CN113157268 B CN 113157268B CN 202110453307 A CN202110453307 A CN 202110453307A CN 113157268 B CN113157268 B CN 113157268B
- Authority
- CN
- China
- Prior art keywords
- processing
- model
- equipment
- state
- 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.)
- Active
Links
- 238000012545 processing Methods 0.000 title claims abstract description 111
- 238000000034 method Methods 0.000 claims abstract description 33
- 230000008569 process Effects 0.000 claims abstract description 29
- 238000012937 correction Methods 0.000 claims description 12
- 238000004364 calculation method Methods 0.000 claims description 10
- 230000003993 interaction Effects 0.000 claims description 7
- 238000010276 construction Methods 0.000 claims description 3
- 238000013500 data storage Methods 0.000 claims description 3
- 238000013461 design Methods 0.000 abstract description 18
- 238000011161 development Methods 0.000 abstract description 10
- 238000010586 diagram Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 3
- 238000007726 management method Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000005111 flow chemistry technique Methods 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/36—Software reuse
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/35—Creation or generation of source code model driven
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a device state processing system combining a flow engine and the Internet of things, and relates to the field of the Internet of things, wherein the device state processing system comprises a device state processing model building module, a device state arranging processing module and a device state driving processing module; the method comprises the steps of combining a design concept of a flow engine with the Internet of things, building a unified processing model, arranging a processing flow of equipment states by using the flow engine by an equipment state arranging processing module and a driving equipment state processing module, and uniformly driving processing of equipment data accessed in the Internet of things. Through the design mode, the uncertain processing process is converted into a unified directional process, the process engine can be reused as a part of service, the development quantity is reduced, a unified access template of the Internet of things equipment is formed, the access and state processing of the Internet of things equipment are quickened, and the development and maintainability are very good.
Description
Technical Field
The invention relates to the field of Internet of things, in particular to a device state processing system combining a flow engine and the Internet of things.
Background
The flow engine can design form patterns without developing and newly adding codes, create business flows, save 70% of development workload of programmers compared with program development, has relatively simple post maintenance and convenient management, and solves the problems of program handover faults and the like caused by personnel flow. The flow engine is a design concept, extracts general business rules from complicated business, standardizes the programmed business flow and visualizes the business flow. It combines with different industries to produce different automation effects. At present, the number of open-source flow engines is relatively large, for example: activity, JBPM, werkflow, etc., are all related to OA, CRM, TMS, financial management, etc., and a workflow engine with a user oriented object is formed by adding a dynamic form design to the flow engine and injecting the dynamic form design into the user (more than 90% of the flow engines with open sources are the same in the market).
If the flow engine is combined with the internet of things, the flow engine is used for flow processing of equipment states (the flow is not carried out by artificial objects, but the processing flow is dynamically driven by the attribute of the objects, the configuration is added), and therefore access processing of different equipment types can be quickened. Because of the relatively large relevance of this block to the service, there is currently no unified open-source solution on the market.
Disclosure of Invention
Object of the invention
In order to solve the technical problems in the background technology, the invention provides a device state processing system combining a flow engine and the Internet of things. Through the design mode, the uncertain processing process is converted into a unified directional process, the process engine can be reused as a part of service, the development quantity is reduced, a unified access template of the Internet of things equipment is formed, the access and state processing of the Internet of things equipment are quickened, and the development and maintainability are very good.
(II) technical scheme
In order to solve the problems, the invention provides a device state processing system combining a flow engine and the Internet of things, which comprises a device state processing model building module, an arranging device state processing module and a driving device state processing module; the equipment state processing model construction module is used for customizing a configurable processing model in a process according to specific business rules, wherein the constructed model comprises a calculation model, a storage model, an alarm model and a virtual state model; the equipment state arranging processing module is applied to arranging equipment state processing flows, arranging equipment processing models into the equipment state processing flows, storing the equipment processing models into a database, and independently modifying or deleting equipment state processing nodes; the driving equipment state processing module is applied to driving equipment state processing flow, equipment state processing flow configuration is loaded from a database, jar packages are realized from a plug-in library loading model, and an equipment state receiving adapter is loaded, and after equipment state data is received, the driving equipment state processing module reads the processing flow of the current equipment state from the configuration, and related processing interfaces are called to automatically process the equipment state.
Preferably, the model defining step includes: defining a specific model and parameters, and storing a model library; and realizing service logic of the current model, performing jar package hot deployment, and dynamically adding a processing model.
Preferably, the algorithm formula of the calculation model is sequential multi-rule mixed calculation, and the value in the algorithm is fixed, or other values of equipment, or the value built in the system; by configuring the computing model, unified correction is implemented for all devices requiring state correction.
Preferably, the correction procedure is as follows: loading device correction configuration (json format) from a database, analyzing the configuration, selecting a proper flow according to the current state of the device, and executing operation.
Preferably, the storage model is the core of the flow engine of the internet of things, and the storage model service realizes that all clients (sharing the same sub-configuration) needing to integrate the current storage service store data, the data storage service reads the data, and the rules for reading need to be set while the storage is set.
Preferably, an alarm knowledge base is arranged in the alarm model to assist in decision processing of related alarms.
Preferably, the alarm processing mode of the alarm model comprises the steps of storing the alarm information into a unified alarm library, pushing the alarm information to a server (pushing the alarm information to a business owner), message middleware and an alarm process, and the alarm model service implementation is also the core of the current process engine, and needs an extensible integrated multiparty open source application component so as to achieve the aim of adaptively processing different types of alarms.
Preferably, the virtual state model is used for virtualizing a state which can be related to a real state, triggering automatic interaction with equipment, and the equipment interaction instruction is sent to a database by the equipment acquisition adapter to provide selection.
Preferably, the interaction instruction defines the entering and exiting of the equipment; the defined parameters need to be associated with existing device states or virtual states.
The technical scheme of the invention has the following beneficial technical effects:
the invention combines the design concept of the flow engine with the Internet of things, builds a unified processing model (such as a storage model, an alarm model, a virtual state model and the like), and arranges the processing flow of the equipment state by using the flow engine by arranging the equipment state processing module and driving the equipment state processing module to uniformly drive the processing of the equipment data accessed in the Internet of things. Through the design mode, the uncertain processing process is converted into a unified directional process, the process engine can be reused as a part of service, the development quantity is reduced, a unified access template of the Internet of things equipment is formed, the access and state processing of the Internet of things equipment are quickened, and the development and maintainability are very good.
Drawings
Fig. 1 is a design diagram of a computing model in a device state processing system combining a flow engine and the internet of things.
Fig. 2 is a design diagram of a storage model in a device state processing system combining a flow engine and the internet of things.
Fig. 3 is a design diagram of an alarm model in a device state processing system combining a flow engine and the internet of things.
Fig. 4 is a design diagram of a virtual model in a device state processing system combining a flow engine and the internet of things.
Fig. 5 is a design diagram of an arranging device state processing module in a device state processing system combining a flow engine and the internet of things.
Fig. 6 is a design diagram of a driving device state processing module in a device state processing system combining a flow engine and the internet of things.
Detailed Description
The objects, technical solutions and advantages of the present invention will become more apparent by the following detailed description of the present invention with reference to the accompanying drawings. It should be understood that the description is only illustrative and is not intended to limit the scope of the invention. In addition, in the following description, descriptions of well-known structures and techniques are omitted so as not to unnecessarily obscure the present invention.
1-6, the equipment state processing system combining the flow engine and the Internet of things comprises an equipment state processing model building module, an equipment state arranging processing module and a driving equipment state processing module; the equipment state processing model construction module is used for customizing a configurable processing model in a process according to specific business rules, wherein the constructed model comprises a calculation model, a storage model, an alarm model and a virtual state model; the equipment state arranging processing module is applied to arranging equipment state processing flows, arranging equipment processing models into the equipment state processing flows, storing the equipment processing models into a database, and independently modifying or deleting equipment state processing nodes; the driving equipment state processing module is applied to driving equipment state processing flow, equipment state processing flow configuration is loaded from a database, jar packages are realized from a plug-in library loading model, and an equipment state receiving adapter is loaded, and after equipment state data is received, the driving equipment state processing module reads the processing flow of the current equipment state from the configuration, and related processing interfaces are called to automatically process the equipment state.
In an alternative embodiment, the model defining step comprises: defining a specific model and parameters, and storing a model library; and realizing service logic of the current model, performing jar package hot deployment, and dynamically adding a processing model.
In an alternative embodiment, the algorithm formula of the calculation model is sequential multi-rule mixed calculation, and the value in the algorithm is fixed, or other values of the device, or values built in the system; by configuring the computing model, unified correction is implemented for all devices requiring state correction.
In an alternative embodiment, the correction procedure is: loading device correction configuration (json format) from a database, analyzing the configuration, selecting a proper flow according to the current state of the device, and executing operation.
In an optional embodiment, the storage model is the core of the flow engine of the internet of things, the storage mode of the state of the equipment of the internet of things is generally divided into a memory, a relational database, a non-relational database, a file, a message middleware, an uploading third party application and the like, the storage model service realizes that all clients (sharing the same sub-configuration) needing to integrate the current storage service store data, the data storage service is used for data reading, and the rules for reading need to be set while the storage setting is performed. In order to accelerate storage setting, the state of the equipment can be selected singly, or can be selected in batches, and the like, a default storage template is stored in the system, the storage setting can be finely adjusted by a single case, and the setting of the template is used as a pre-playing department of project development. The storage of the equipment state can be divided into different frequencies according to the service and the scene, and the storage frequency record is needed for the storage model service realization.
In an alternative embodiment, the device runtime state can feed back the health of the device operation. Some states of the device are also related to other external factors, so that other external related attributes must be added to facilitate recalculation when the alarm threshold design is considered. An alarm knowledge base is arranged in the alarm model to assist in decision processing of related alarms.
In an alternative embodiment, the alarm processing mode of the alarm model includes storing in a unified alarm library, pushing to a server (pushing to a business owner), message middleware, alarm processes (and service related alarm processes, if other service related alarm processes can be expanded according to the service), and the implementation of the alarm model service is also the core of the current process engine, and needs an expandable integrated multi-party open source application component to achieve the purpose of adapting to process different types of alarms.
In an alternative embodiment, the virtual state model is used to virtualize an automatic interaction between a state that can be associated with a real state, trigger and device, and the device interaction instructions are uploaded to the database by the device acquisition adapter to provide the selection.
In an alternative embodiment, the interactive instructions define the entry and exit of the device; the defined parameters need to be associated with existing device states or virtual states.
The invention combines the design concept of the flow engine with the Internet of things, builds a unified processing model (such as a storage model, an alarm model, a virtual state model and the like), and arranges the processing flow of the equipment state by using the flow engine by arranging the equipment state processing module and driving the equipment state processing module to uniformly drive the processing of the equipment data accessed in the Internet of things. Through the design mode, the uncertain processing process is converted into a unified directional process, the process engine can be reused as a part of service, the development quantity is reduced, a unified access template of the Internet of things equipment is formed, the access and state processing of the Internet of things equipment are quickened, and the development and maintainability are very good.
It is to be understood that the above-described embodiments of the present invention are merely illustrative of or explanation of the principles of the present invention and are in no way limiting of the invention. Accordingly, any modification, equivalent replacement, improvement, etc. made without departing from the spirit and scope of the present invention should be included in the scope of the present invention. Furthermore, the appended claims are intended to cover all such changes and modifications that fall within the scope and boundary of the appended claims, or equivalents of such scope and boundary.
Claims (6)
1. The equipment state processing system combining the flow engine and the Internet of things is characterized by comprising an equipment state processing model building module, an equipment state arranging processing module and a driving equipment state processing module;
the equipment state processing model construction module is used for customizing a configurable processing model in a process according to specific business rules, wherein the constructed model comprises a calculation model, a storage model, an alarm model and a virtual state model; the model defining step comprises the following steps: defining a specific model and parameters, and storing a model library; realizing service logic of the current model, performing jar package hot deployment, and dynamically adding a processing model; the algorithm formula of the calculation model is sequential multi-rule mixed calculation, and the value in the algorithm is fixed, or other values of equipment, or the value built in the system; through configuration of the calculation model, unified correction is implemented on all equipment needing state correction; the virtual state model is used for virtualizing a state which can be associated with the real state, triggering automatic interaction with equipment, and sending an equipment interaction instruction to a database by the equipment acquisition adapter to provide selection;
the equipment state arranging processing module is applied to arranging equipment state processing flows, arranging equipment processing models into the equipment state processing flows, storing the equipment processing models into a database, and independently modifying or deleting equipment state processing nodes;
the driving equipment state processing module is applied to driving equipment state processing flow, equipment state processing flow configuration is loaded from a database, jar packages are realized from a plug-in library loading model, and an equipment state receiving adapter is loaded, and after equipment state data is received, the driving equipment state processing module reads the processing flow of the current equipment state from the configuration, and related processing interfaces are called to automatically process the equipment state.
2. The system for processing a device state of a process engine and internet of things according to claim 1, wherein the correction process is: and loading the device correction configuration from the database, analyzing the configuration, selecting a proper flow according to the current state of the device, and executing operation.
3. The system for processing equipment states by combining a flow engine with the internet of things according to claim 1, wherein the storage model is a core of the flow engine of the internet of things, and the storage model service realizes that all clients needing to integrate current storage services store data, the data storage service is used for data reading, and rules for reading need to be set while setting is stored.
4. The system for processing equipment state by combining a flow engine and the internet of things according to claim 1, wherein an alarm knowledge base is set in an alarm model to assist in decision processing of related alarms.
5. The system for processing equipment states by combining a flow engine and the internet of things according to claim 1, wherein the alarm processing mode of the alarm model comprises the steps of storing into a unified alarm library, pushing to a server, message middleware and alarm flow, and the alarm model service implementation is also the core of the current flow engine and needs an extensible integrated multi-party open source application component so as to achieve the purpose of adapting to process alarms of different types.
6. The system for processing the state of a device by combining a process engine and the internet of things according to claim 1, wherein the interaction instruction defines the entering and exiting of the device; the defined parameters need to be associated with existing device states or virtual states.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110453307.7A CN113157268B (en) | 2021-04-26 | 2021-04-26 | Equipment state processing system combining flow engine and Internet of things |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110453307.7A CN113157268B (en) | 2021-04-26 | 2021-04-26 | Equipment state processing system combining flow engine and Internet of things |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113157268A CN113157268A (en) | 2021-07-23 |
CN113157268B true CN113157268B (en) | 2024-03-22 |
Family
ID=76870856
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110453307.7A Active CN113157268B (en) | 2021-04-26 | 2021-04-26 | Equipment state processing system combining flow engine and Internet of things |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113157268B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114926143B (en) * | 2022-05-16 | 2022-11-08 | 三峡高科信息技术有限责任公司 | Method and platform for configuring enterprise workflow based on business components and process engine |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6954797B1 (en) * | 1999-02-26 | 2005-10-11 | Nec Corporation | Data Communication method, terminal equipment, interconnecting installation, data communication system and recording medium |
CN101714273A (en) * | 2009-05-26 | 2010-05-26 | 北京银丰新融科技开发有限公司 | Rule engine-based method and system for monitoring exceptional service of bank |
CN103593752A (en) * | 2013-11-29 | 2014-02-19 | 武汉大学 | Business process adaptability configuring method and system based on situation constraint |
CN110286892A (en) * | 2019-06-26 | 2019-09-27 | 成都九洲电子信息系统股份有限公司 | A kind of quick exploitation automotive engine system based on business Process Design |
CN111142867A (en) * | 2019-12-31 | 2020-05-12 | 谷云科技(广州)有限责任公司 | Service visual arrangement system and method under micro-service architecture |
-
2021
- 2021-04-26 CN CN202110453307.7A patent/CN113157268B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6954797B1 (en) * | 1999-02-26 | 2005-10-11 | Nec Corporation | Data Communication method, terminal equipment, interconnecting installation, data communication system and recording medium |
CN101714273A (en) * | 2009-05-26 | 2010-05-26 | 北京银丰新融科技开发有限公司 | Rule engine-based method and system for monitoring exceptional service of bank |
CN103593752A (en) * | 2013-11-29 | 2014-02-19 | 武汉大学 | Business process adaptability configuring method and system based on situation constraint |
CN110286892A (en) * | 2019-06-26 | 2019-09-27 | 成都九洲电子信息系统股份有限公司 | A kind of quick exploitation automotive engine system based on business Process Design |
CN111142867A (en) * | 2019-12-31 | 2020-05-12 | 谷云科技(广州)有限责任公司 | Service visual arrangement system and method under micro-service architecture |
Also Published As
Publication number | Publication date |
---|---|
CN113157268A (en) | 2021-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107273286B (en) | Scene automatic test platform and method for task application | |
CN102096631B (en) | Interface testing method and device | |
US20160239011A1 (en) | Extending a Programmable Logic Controller with Apps | |
CN106126215A (en) | Business rule scenario generation method and device | |
JP2009532758A (en) | A framework for modeling continuations in a workflow | |
US20070083551A1 (en) | Extensible mechanism for object composition | |
JP2009532754A (en) | Abstract execution model for continuation-based meta-runtime | |
CN109445323B (en) | WEB-based distributed intelligent measurement and control software platform design method | |
CN112148278A (en) | Visual block chain intelligent contract framework and intelligent contract development and deployment method | |
US20120109708A1 (en) | Evaluating pattern-based constraints on business process models | |
CN113157268B (en) | Equipment state processing system combining flow engine and Internet of things | |
CN109675317A (en) | Detection method, server and the terminal of plug-in program | |
US20230318904A1 (en) | Cross-platform programmable network communication | |
CN111813814A (en) | Universal model management method and device supporting multiple machine learning frameworks | |
CN108255735A (en) | Associated environment test method, electronic device and computer readable storage medium | |
WO2020062277A1 (en) | Management method and apparatus for computing resources in data pre-processing phase of neural network | |
CN112256355B (en) | Data-driven system function loading method, equipment and storage medium | |
CN114240382A (en) | Flow instance generation method and device based on structured flow template | |
CN112604273B (en) | Data-driven game system function loading method, device and storage medium | |
US20140310070A1 (en) | Coordinated business rules management and mixed integer programming | |
CN115098082A (en) | Production line script generation method, system, equipment and medium based on Jenkins plug-in | |
CN114416305A (en) | Robot engine implementation method and system and electronic equipment | |
CN103164257B (en) | Multi-platform picture dynamic call method and system in industrial configuration application | |
CN113535157A (en) | Heterogeneous big data resource encapsulation integration system and method capable of being plugged and unplugged during operation | |
CN116882278B (en) | Think simulation experiment system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |