CN113688586B - Dynamic logic flow diagram generation method and device of equipment system and terminal equipment - Google Patents

Dynamic logic flow diagram generation method and device of equipment system and terminal equipment Download PDF

Info

Publication number
CN113688586B
CN113688586B CN202110791314.8A CN202110791314A CN113688586B CN 113688586 B CN113688586 B CN 113688586B CN 202110791314 A CN202110791314 A CN 202110791314A CN 113688586 B CN113688586 B CN 113688586B
Authority
CN
China
Prior art keywords
connecting line
target
equipment system
component
logic
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
Application number
CN202110791314.8A
Other languages
Chinese (zh)
Other versions
CN113688586A (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.)
Xiamen Kecan Information Technology Co ltd
Kehua Data Co Ltd
Original Assignee
Xiamen Kecan Information Technology Co ltd
Kehua Data 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 Xiamen Kecan Information Technology Co ltd, Kehua Data Co Ltd filed Critical Xiamen Kecan Information Technology Co ltd
Priority to CN202110791314.8A priority Critical patent/CN113688586B/en
Publication of CN113688586A publication Critical patent/CN113688586A/en
Application granted granted Critical
Publication of CN113688586B publication Critical patent/CN113688586B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/31Design entry, e.g. editors specifically adapted for circuit design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/39Circuit design at the physical level
    • G06F30/394Routing

Abstract

The invention provides a method, a device and a terminal device for generating a dynamic logic flow diagram of a device system, wherein the method comprises the following steps: acquiring working state information of each component in a target equipment system in real time; determining the signal flow direction of each connecting line on a preset flow chart template corresponding to the target equipment system according to the working state information of each component and the preset mapping relation; and generating a dynamic logic flow diagram of the target equipment system based on the signal flow direction of each connection line. The method and the device for generating the dynamic logic flow diagram of the equipment system and the terminal equipment improve the generation efficiency of the dynamic logic flow diagram of the equipment system.

Description

Dynamic logic flow diagram generation method and device of equipment system and terminal equipment
Technical Field
The invention belongs to the technical field of data processing, and particularly relates to a method and a device for generating a dynamic logic flow diagram of a device system and terminal equipment.
Background
To enable monitoring of a device system, a logic flow diagram of the device system is typically created to dynamically and intuitively expose the signal flow direction of the device system.
In the prior art, the generation of logic flow diagrams is typically performed by a developer by writing code to form a program. However, based on existing approaches, device systems do not need to re-write code to generate a logic flow graph at the same time, even when the same device uses different configuration protocols. That is, the logic flow diagram generating method in the prior art greatly increases the development workload and affects the generating efficiency of the logic flow diagram.
Therefore, a new logic flow diagram generation scheme is needed to solve the above-mentioned efficiency problem.
Disclosure of Invention
The invention aims to provide a method and a device for generating a dynamic logic flow diagram of an equipment system and terminal equipment, so as to improve the generation efficiency of the dynamic logic flow diagram of the equipment system.
In a first aspect of an embodiment of the present invention, a method for generating a dynamic logic flow diagram of an equipment system is provided, including:
acquiring working state information of each component in a target equipment system in real time;
determining the signal flow direction of each connecting line on a preset flow chart template corresponding to the target equipment system according to the working state information of each component and the preset mapping relation;
the preset flow chart template corresponding to the target equipment system comprises component models corresponding to the target equipment system and connecting lines among the component models; the preset mapping relation is a mapping relation between a pre-established configuration protocol and signal flow directions of all the connecting lines, and the protocol content of the configuration protocol comprises the working state information of all the components;
and generating a dynamic logic flow diagram of the target equipment system based on the signal flow direction of each connection line.
In one possible implementation manner, before determining the signal flow direction of each connection line on the preset flow chart template corresponding to the target device system according to the working state information of each component and the preset mapping relation, the method further includes:
constructing a flow chart template of the target equipment system;
the building of the flowsheet template of the target equipment system comprises the following steps:
and generating corresponding component models based on each component in the target equipment system, and determining connection lines among the component models according to the connection relation of each component in the target equipment system.
In one possible implementation manner, the process of establishing the preset mapping relationship includes:
screening out components influencing the signal flow direction of each connecting line from a target equipment system to obtain target components corresponding to each connecting line;
generating a logic expression between the signal flow direction of each connecting line and the working state information of the corresponding target component to obtain a logic relation corresponding to each connecting line;
and taking the logic relations corresponding to all the connecting lines as the preset mapping relation.
In one possible implementation manner, the process for establishing the preset mapping relationship includes:
classifying each connecting line based on the signal flow direction of each connecting line corresponding to the target equipment system under different working conditions to obtain a plurality of data classes;
the following steps are performed for each dataclass:
selecting one connecting line from the target data class, and screening out a component affecting the signal flow direction of the connecting line from the target equipment system to obtain a target component corresponding to the connecting line; generating a logic expression between the signal flow direction of the connecting line and the working state information of the corresponding target component to obtain a logic relation corresponding to the connecting line, and taking the logic relation corresponding to the connecting line as the logic relation corresponding to all the connecting lines in the target data class;
and taking the logic relationship corresponding to the connection lines in all the data classes as the preset mapping relationship.
In one possible implementation manner, the generating the dynamic logic flow diagram of the target device system based on the signal flow direction of each connection line includes:
a dynamic logic flow graph of the target device system is generated based on the signal flow direction of each connection line and a display control pre-associated with each connection line.
In one possible implementation manner, the logic flow diagram generating method of the device system further includes:
and sending the dynamic logic flow diagram of the target equipment system to target display equipment for display.
In a second aspect of the embodiment of the present invention, there is provided a dynamic logic flow diagram generating apparatus for an equipment system, including:
the data acquisition module is used for acquiring the working state information of each component in the target equipment system in real time;
the signal flow direction determining module is used for determining the signal flow direction of each connecting line on a preset flow chart template corresponding to the target equipment system according to the working state information of each component and the preset mapping relation;
the preset flow chart template corresponding to the target equipment system comprises component models corresponding to the target equipment system and connecting lines among the component models; the preset mapping relation is a mapping relation between a pre-established configuration protocol and signal flow directions of all the connecting lines, and the protocol content of the configuration protocol is the working state information of all the components;
and the flow diagram generating module is used for generating a dynamic logic flow diagram of the target equipment system based on the signal flow directions of the connecting lines.
In one possible implementation manner, the dynamic logic flow diagram generating apparatus of the device system further includes:
a mapping relation establishing module for establishing a preset mapping relation;
the mapping relation establishing module is specifically used for:
screening out components influencing the signal flow direction of each connecting line from a target equipment system to obtain target components corresponding to each connecting line; generating a logic expression between the signal flow direction of each connecting line and the working state information of the corresponding target component to obtain a logic relation corresponding to each connecting line; taking the logic relations corresponding to all the connecting lines as the preset mapping relation;
alternatively, the mapping relation establishment module is specifically configured to:
classifying each connecting line based on the signal flow direction of each connecting line corresponding to the target equipment system under different working conditions to obtain a plurality of data classes;
the following steps are performed for each dataclass:
selecting one connecting line from the target data class, and screening out a component affecting the signal flow direction of the connecting line from the target equipment system to obtain a target component corresponding to the connecting line; generating a logic expression between the signal flow direction of the connecting line and the working state information of the corresponding target component to obtain a logic relation corresponding to the connecting line, and taking the logic expression corresponding to the connecting line as the logic relation corresponding to all the connecting lines in the target data class;
and taking the logic relationship corresponding to the connection lines in all the data classes as the preset mapping relationship.
In a third aspect of the embodiment of the present invention, there is provided a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method for generating a dynamic logic flow diagram of a device system described above when the processor executes the computer program.
In a fourth aspect of the embodiments of the present invention, there is provided a computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of the dynamic logic flow diagram generation method of a device system described above.
The method and the device for generating the dynamic logic flow diagram of the equipment system, and the terminal equipment have the beneficial effects that:
in the invention, the flow chart template is divided into the point and the line, and the reusability of the flow chart template is effectively improved by dividing the flow chart template into the component model and the connecting line. For example, for different equipment systems, if the connection lines of the signal flows are consistent, the flow chart template of the new system can be obtained after the adaptive replacement of the component model and the adaptive update of the preset mapping relation are carried out on the flow chart template of the old system; for different equipment systems, if the component models of the two equipment systems are consistent, the connection line of the flowsheet template of the old system is updated, and after a preset mapping relation corresponding to the new system is added, the flowsheet template of the new system can be obtained, and the two processes only involve configuration change without re-writing codes.
On the basis, for different protocols of the same equipment, the invention only needs to rebind the configuration protocol containing the working state information of the component and the signal flow direction of the connecting line by updating the mapping relation.
That is, the invention does not need to repeatedly write codes or repeatedly add templates and related configuration files when equipment protocol changes, thereby greatly reducing development workload and improving the generation efficiency of logic flow diagrams.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments or the description of the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a method for generating a dynamic logic flow diagram of an equipment system according to an embodiment of the present invention;
FIG. 2 is a block diagram of a dynamic logic flow diagram generating apparatus of an equipment system according to an embodiment of the present invention;
fig. 3 is a schematic block diagram of a terminal device according to an embodiment of the present invention;
FIG. 4 is a logic flow diagram corresponding to a target device system according to an embodiment of the present invention;
FIG. 5 is a configuration result page of a preset mapping relationship according to an embodiment of the present invention;
fig. 6 is a configuration page of a preset mapping relationship according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical schemes and beneficial effects to be solved more clear, the invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, fig. 1 is a flowchart of a dynamic logic flow diagram generating method of an equipment system according to an embodiment of the present invention, where the method includes:
s101: and acquiring the working state information of each component in the target equipment system in real time.
In the present embodiment, the target device system includes, but is not limited to, a UPS (Uninterruptible Power System, uninterruptible power supply) system, a power generation system, and the like.
In the present embodiment, the operation state information of each component includes, but is not limited to, an operation state description, an operation state identification, and the like of each component.
S102: and determining the signal flow direction of each connecting line on a preset flow chart template corresponding to the target equipment system according to the working state information of each component and the preset mapping relation.
In this embodiment, the preset flowsheet template corresponding to the target device system includes a component model corresponding to the target device system and a connection line between the component models. The preset mapping relation is a mapping relation between a pre-established configuration protocol and signal flow directions of all the connecting lines, and the protocol content of the configuration protocol comprises the working state information of all the components.
In this embodiment, a flowsheet template corresponding to the target device system may be pre-constructed, and the pre-stored flowsheet template may be directly acquired when needed.
In one possible implementation manner, reference may be made to fig. 4, and fig. 4 is a logic flow diagram corresponding to a target device system according to an embodiment of the present invention. Each line segment in fig. 4 represents a connection line, and each box corresponds to a component model. A process for constructing a flowsheet template for a target device system, comprising:
and generating corresponding component models based on each component in the target equipment system, and determining connection lines among the component models according to the connection relation of each component in the target equipment system.
In this embodiment, the process of constructing the flowsheet template of the target device system is that of generating the corresponding display template according to the system structure of the target device system.
S103: a dynamic logic flow graph of the target device system is generated based on the signal flow direction of each connection line.
In one possible implementation, generating a dynamic logic flow graph for a target device system based on signal flow for each connection line includes:
a dynamic logic flow graph of the target device system is generated based on the signal flow direction of each connection line and a display control pre-associated with each connection line.
In one possible implementation manner, the method for generating the dynamic logic flow diagram of the device system further includes:
and sending the dynamic logic flow diagram of the target equipment system to the target display equipment for display.
It can be obtained from the above that, unlike the scheme of generating a logic flow graph by repeatedly writing codes in the prior art, the embodiment of the invention divides the flow graph template into points and lines, and effectively improves reusability of the flow graph template by dividing the flow graph template into a component model and a connecting line. For example, for different equipment systems, if the connection lines of the signal flows are consistent, the flow chart template of the new system can be obtained after the adaptive replacement of the component model and the adaptive update of the preset mapping relation are performed on the flow chart template of the old system. Similarly, for different equipment systems, if the component models of the two equipment systems are consistent, the connection line of the flowsheet template of the old system is updated, and after the preset mapping relation corresponding to the new system is added, the flowsheet template of the new system can be obtained, and the two processes only involve the change of the configuration and do not need to re-write codes.
On the basis, for different protocols of the same equipment, the embodiment of the invention only needs to rebind the configuration protocol containing the working state information of the component and the signal flow direction of the connecting line by updating the mapping relation.
That is, the embodiment of the invention does not need to repeatedly write codes or repeatedly add templates and related configuration files when equipment protocol changes, thereby greatly reducing development workload and improving the generation efficiency of logic flow diagrams.
In one possible implementation manner, the process of establishing the preset mapping relationship includes:
and screening the components influencing the signal flow direction of each connecting line from the target equipment system to obtain the target components corresponding to each connecting line.
Generating a logic expression between the signal flow direction of each connecting line and the working state information of the corresponding target component, and obtaining a logic relation corresponding to each connecting line.
And taking the logic relations corresponding to all the connecting lines as preset mapping relations.
In this embodiment, reference may be made to fig. 5 and fig. 6 together, where fig. 5 is a configuration result page of a preset mapping relationship provided in an embodiment of the present invention, that is, a logical correspondence result page between working state information of each target component under its current configuration protocol and a signal flow direction of a corresponding connection line, and fig. 6 is a configuration page of a preset mapping relationship provided in an embodiment of the present invention. The pipeline point in fig. 5 is any point on the connecting line in the present invention, and the subsequent logic expression is the logic relationship in the present invention.
In this embodiment, the target component, i.e., the working state, corresponding to each connection line affects the component to which the signal of the connection line flows. For example, the components in fig. 6 that affect the signal flow direction of the connection line include a rectifier, a battery, and the like.
In this embodiment, the configuration protocol mentioned by the preset mapping relationship includes a communication address and a communication content, that is, in order to be compatible with different configuration protocols, the configuration protocol in the logic expression is expressed by working state information (corresponding to the communication content) carried by the corresponding communication address (or register address), and the execution subject of the embodiment of the present invention obtains the working state information by reading the content of the register address, so that when the protocol is replaced, only the register address is changed in the logic expression, and the compatibility of multiple protocols can be completed with a small amount of workload. For example, in fig. 5 and 6 "(WRWF-1201-04_3l1o-1, rectifier status) = 1", the "WRWF-1201-04_3l1o-1" corresponds to a "protocol name of a configuration protocol", the "rectifier status" is a chinese field mapped by a "register address", and the "1" corresponds to a "rectifier status identifier (i.e., status information of a rectifier)", and the like. In one possible implementation, the register address may also be directly represented by the original address code, and the embodiment maps the register address to a chinese field for easy identification for easy configuration.
According to fig. 5 and fig. 6, it can be seen that the preset mapping relationship is implemented by a logic expression, and when the configuration protocol of a certain device in the target device system changes, a new logic flow diagram template is not required to be added, a new configuration file is not required to be added, and only the logic expression needs to be changed on a configuration page. Based on the point, the embodiment of the invention effectively reduces the working cost of the developer and improves the generation efficiency of the logic flow diagram.
In one possible implementation manner, the process of establishing the preset mapping relationship includes:
and classifying each connecting line based on the signal flow direction of each connecting line corresponding to the target equipment system under different working conditions to obtain a plurality of data classes.
The following steps are performed for each dataclass:
and selecting one connecting line from the target data class, and screening out a component influencing the signal flow direction of the connecting line from the target equipment system to obtain a target component corresponding to the connecting line. Generating a logic expression between the signal flow direction of the connecting line and the working state information of the corresponding target component, obtaining a logic relation corresponding to the connecting line, and taking the logic relation corresponding to the connecting line as the logic relation corresponding to all the connecting lines in the target data class.
And taking the logic relationship corresponding to the connecting lines in all the data classes as a preset mapping relationship.
In this embodiment, the signal flow directions of the corresponding connection lines of the target device system under different working conditions are based on to classify the connection lines, so as to obtain a plurality of data classes, which can be described in detail as follows:
if the signal flow directions of a plurality of connecting lines under all working conditions are consistent, adding the plurality of lines into the same data class.
That is, in this embodiment, the connection lines are classified according to the consistency of the signal flow directions, so as to obtain a plurality of data classes, where the signal flow directions of the connection lines in each data class are consistent under various working conditions. On the basis, the same data class can share the logic relationship, so that the embodiment of the invention can also reduce the configuration quantity, further reduce the workload and improve the generation efficiency of the logic flow diagram.
Fig. 2 is a block diagram of a dynamic logic flow diagram generating apparatus of an equipment system according to an embodiment of the present invention, corresponding to the method for generating a dynamic logic flow diagram of an equipment system according to the above embodiment. For convenience of explanation, only portions relevant to the embodiments of the present invention are shown. Referring to fig. 2, the dynamic logic flow diagram generating apparatus 20 of the device system includes: a data acquisition module 21, a signal flow direction determination module 22, a flow diagram generation module 23.
The data acquisition module 21 is configured to acquire, in real time, operation state information of each component in the target device system.
The signal flow direction determining module 22 is configured to determine a signal flow direction of each connection line on a preset flow chart template corresponding to the target device system according to the working state information of each component and the preset mapping relationship.
The preset flow chart template corresponding to the target equipment system comprises component models corresponding to the target equipment system and connecting lines among the component models. The preset mapping relation is a mapping relation between a pre-established configuration protocol and signal flow directions of all the connecting lines, and the protocol content of the configuration protocol is the working state information of all the components.
The flow graph generating module 23 is configured to generate a dynamic logic flow graph of the target device system based on the signal flow directions of the connection lines.
In one possible implementation, the dynamic logic flow diagram generating apparatus 20 of the device system further includes:
the mapping relation establishing module 24 is used for establishing a preset mapping relation.
The mapping relationship establishment module 24 specifically is configured to:
and screening the components influencing the signal flow direction of each connecting line from the target equipment system to obtain the target components corresponding to each connecting line. Generating a logic expression between the signal flow direction of each connecting line and the working state information of the corresponding target component, and obtaining a logic relation corresponding to each connecting line. And taking the logic relations corresponding to all the connecting lines as preset mapping relations.
Alternatively, the mapping relationship establishment module 24 is specifically configured to:
and classifying each connecting line based on the signal flow direction of each connecting line corresponding to the target equipment system under different working conditions to obtain a plurality of data classes.
The following steps are performed for each dataclass:
and selecting one connecting line from the target data class, and screening out a component influencing the signal flow direction of the connecting line from the target equipment system to obtain a target component corresponding to the connecting line. Generating a logic expression between the signal flow direction of the connecting line and the working state information of the corresponding target component, obtaining a logic relation corresponding to the connecting line, and taking the logic expression corresponding to the connecting line as the logic relation corresponding to all the connecting lines in the target data class.
And taking the logic relationship corresponding to the connecting lines in all the data classes as a preset mapping relationship.
In a possible implementation manner, the signal flow direction determining module 22 is further configured to construct a flow chart template of the target device system before determining, according to the working state information of each component and the preset mapping relationship, the signal flow direction of each connection line on the preset flow chart template corresponding to the target device system.
Constructing a flowsheet template for a target device system, comprising:
and generating corresponding component models based on each component in the target equipment system, and determining connection lines among the component models according to the connection relation of each component in the target equipment system.
In one possible implementation, the flow graph generating module 23 is specifically configured to:
a dynamic logic flow graph of the target device system is generated based on the signal flow direction of each connection line and a display control pre-associated with each connection line.
In one possible implementation, the flow graph generation module 23 is further configured to:
and sending the dynamic logic flow diagram of the target equipment system to the target display equipment for display.
Referring to fig. 3, fig. 3 is a schematic block diagram of a terminal device according to an embodiment of the present invention. The terminal 300 in the present embodiment as shown in fig. 3 may include: one or more processors 301, one or more input devices 302, one or more output devices 303, and one or more memories 304. The processor 301, the input device 302, the output device 303, and the memory 304 communicate with each other via a communication bus 305. The memory 304 is used to store a computer program comprising program instructions. The processor 301 is configured to execute program instructions stored in the memory 304. Wherein the processor 301 is configured to invoke program instructions to perform the following functions of the modules/units in the above described device embodiments, such as the functions of the modules 21 to 24 shown in fig. 2.
It should be appreciated that in embodiments of the present invention, the processor 301 may be a central processing unit (Central Processing Unit, CPU), which may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSPs), application specific integrated circuits (Application Specific Integrated Circuit, ASICs), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 302 may include a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of a fingerprint), a microphone, etc., and the output device 303 may include a display (LCD, etc.), a speaker, etc.
The memory 304 may include read only memory and random access memory and provides instructions and data to the processor 301. A portion of memory 304 may also include non-volatile random access memory. For example, the memory 304 may also store information of device type.
In a specific implementation, the processor 301, the input device 302, and the output device 303 described in the embodiments of the present invention may execute the implementation manners described in the first embodiment and the second embodiment of the dynamic logic flow diagram generating method of the device system provided in the embodiments of the present invention, and may also execute the implementation manner of the terminal described in the embodiments of the present invention, which is not described herein again.
In another embodiment of the present invention, a computer readable storage medium is provided, where the computer readable storage medium stores a computer program, where the computer program includes program instructions, where the program instructions, when executed by a processor, implement all or part of the procedures in the method embodiments described above, or may be implemented by instructing related hardware by the computer program, where the computer program may be stored in a computer readable storage medium, where the computer program, when executed by the processor, implements the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, executable files or in some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the content of the computer readable medium can be appropriately increased or decreased according to the requirements of the jurisdiction's jurisdiction and the patent practice, for example, in some jurisdictions, the computer readable medium does not include electrical carrier signals and telecommunication signals according to the jurisdiction and the patent practice.
The computer readable storage medium may be an internal storage unit of the terminal of any of the foregoing embodiments, such as a hard disk or a memory of the terminal. The computer readable storage medium may also be an external storage device of the terminal, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the terminal. Further, the computer-readable storage medium may also include both an internal storage unit of the terminal and an external storage device. The computer-readable storage medium is used to store a computer program and other programs and data required for the terminal. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working procedures of the terminal and the unit described above may refer to the corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In several embodiments provided in the present application, it should be understood that the disclosed terminal and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of elements is merely a logical functional division, and there may be additional divisions of actual implementation, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not performed. In addition, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via some interfaces or units, or may be an electrical, mechanical, or other form of connection.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment of the present invention.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The present invention is not limited to the above embodiments, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the present invention, and these modifications and substitutions are intended to be included in the scope of the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (7)

1. A method for generating a dynamic logic flow diagram of a device system, comprising:
acquiring working state information of each component in a target equipment system in real time;
determining the signal flow direction of each connecting line on a preset flow chart template corresponding to the target equipment system according to the working state information of each component and the preset mapping relation;
the preset flow chart template corresponding to the target equipment system comprises component models corresponding to the target equipment system and connecting lines among the component models; the preset mapping relation is a mapping relation between a pre-established configuration protocol and signal flow directions of all the connecting lines, and the protocol content of the configuration protocol comprises the working state information of all the components;
generating a dynamic logic flow diagram of the target equipment system based on the signal flow direction of each connection line;
the process for establishing the preset mapping relation comprises the following steps:
screening out components influencing the signal flow direction of each connecting line from a target equipment system to obtain target components corresponding to each connecting line;
generating a logic expression between the signal flow direction of each connecting line and the working state information of the corresponding target component to obtain a logic relation corresponding to each connecting line;
taking the logic relations corresponding to all the connecting lines as the preset mapping relation;
or, the process for establishing the preset mapping relation comprises the following steps:
classifying each connecting line based on the signal flow direction of each connecting line corresponding to the target equipment system under different working conditions to obtain a plurality of data classes;
the following steps are performed for each dataclass:
selecting one connecting line from the target data class, and screening out a component affecting the signal flow direction of the connecting line from the target equipment system to obtain a target component corresponding to the connecting line; generating a logic expression between the signal flow direction of the connecting line and the working state information of the corresponding target component to obtain a logic relation corresponding to the connecting line, and taking the logic relation corresponding to the connecting line as the logic relation corresponding to all the connecting lines in the target data class;
and taking the logic relationship corresponding to the connection lines in all the data classes as the preset mapping relationship.
2. The method for generating a dynamic logic flow diagram of an equipment system according to claim 1, before determining a signal flow direction of each connection line on a preset flow diagram template corresponding to a target equipment system according to the working state information of each component and a preset mapping relationship, further comprising:
constructing a flow chart template of the target equipment system;
the building of the flowsheet template of the target equipment system comprises the following steps:
and generating corresponding component models based on each component in the target equipment system, and determining connection lines among the component models according to the connection relation of each component in the target equipment system.
3. The method for generating a dynamic logic flow diagram of a device system according to claim 1, wherein generating the dynamic logic flow diagram of the target device system based on the signal flow direction of each connection line comprises:
a dynamic logic flow graph of the target device system is generated based on the signal flow direction of each connection line and a display control pre-associated with each connection line.
4. A method of generating a dynamic logic flow diagram for a device system as claimed in any of claims 1 to 3, further comprising:
and sending the dynamic logic flow diagram of the target equipment system to target display equipment for display.
5. A dynamic logic flow diagram generation apparatus for a device system, comprising:
the data acquisition module is used for acquiring the working state information of each component in the target equipment system in real time;
the signal flow direction determining module is used for determining the signal flow direction of each connecting line on a preset flow chart template corresponding to the target equipment system according to the working state information of each component and the preset mapping relation;
the preset flow chart template corresponding to the target equipment system comprises component models corresponding to the target equipment system and connecting lines among the component models; the preset mapping relation is a mapping relation between a pre-established configuration protocol and signal flow directions of all the connecting lines, and the protocol content of the configuration protocol is the working state information of all the components;
the flow diagram generation module is used for generating a dynamic logic flow diagram of the target equipment system based on the signal flow directions of the connecting lines;
further comprises:
a mapping relation establishing module for establishing a preset mapping relation;
the mapping relation establishing module is specifically used for:
screening out components influencing the signal flow direction of each connecting line from a target equipment system to obtain target components corresponding to each connecting line; generating a logic expression between the signal flow direction of each connecting line and the working state information of the corresponding target component to obtain a logic relation corresponding to each connecting line; taking the logic relations corresponding to all the connecting lines as the preset mapping relation;
alternatively, the mapping relation establishment module is specifically configured to:
classifying each connecting line based on the signal flow direction of each connecting line corresponding to the target equipment system under different working conditions to obtain a plurality of data classes;
the following steps are performed for each dataclass:
selecting one connecting line from the target data class, and screening out a component affecting the signal flow direction of the connecting line from the target equipment system to obtain a target component corresponding to the connecting line; generating a logic expression between the signal flow direction of the connecting line and the working state information of the corresponding target component to obtain a logic relation corresponding to the connecting line, and taking the logic expression corresponding to the connecting line as the logic relation corresponding to all the connecting lines in the target data class;
and taking the logic relationship corresponding to the connection lines in all the data classes as the preset mapping relationship.
6. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 4 when the computer program is executed.
7. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any one of claims 1 to 4.
CN202110791314.8A 2021-07-13 2021-07-13 Dynamic logic flow diagram generation method and device of equipment system and terminal equipment Active CN113688586B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110791314.8A CN113688586B (en) 2021-07-13 2021-07-13 Dynamic logic flow diagram generation method and device of equipment system and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110791314.8A CN113688586B (en) 2021-07-13 2021-07-13 Dynamic logic flow diagram generation method and device of equipment system and terminal equipment

Publications (2)

Publication Number Publication Date
CN113688586A CN113688586A (en) 2021-11-23
CN113688586B true CN113688586B (en) 2024-01-02

Family

ID=78577405

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110791314.8A Active CN113688586B (en) 2021-07-13 2021-07-13 Dynamic logic flow diagram generation method and device of equipment system and terminal equipment

Country Status (1)

Country Link
CN (1) CN113688586B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3343460A1 (en) * 2016-12-31 2018-07-04 INTEL Corporation Hardware accelerator template and design framework for implementing recurrent neural networks
CN108427778A (en) * 2017-02-14 2018-08-21 北京国基科技股份有限公司 The testable parameter method and device of electronics
CN111556836A (en) * 2018-06-22 2020-08-18 重庆金康新能源汽车有限公司 Secure firmware update for remote vehicles
CN112001026A (en) * 2020-10-28 2020-11-27 深圳大学 Method, terminal and storage medium for building information model construction
CN112799717A (en) * 2021-04-01 2021-05-14 北京航天驭星科技有限公司 Device information system management method, device, electronic device and medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3343460A1 (en) * 2016-12-31 2018-07-04 INTEL Corporation Hardware accelerator template and design framework for implementing recurrent neural networks
CN108427778A (en) * 2017-02-14 2018-08-21 北京国基科技股份有限公司 The testable parameter method and device of electronics
CN111556836A (en) * 2018-06-22 2020-08-18 重庆金康新能源汽车有限公司 Secure firmware update for remote vehicles
CN112001026A (en) * 2020-10-28 2020-11-27 深圳大学 Method, terminal and storage medium for building information model construction
CN112799717A (en) * 2021-04-01 2021-05-14 北京航天驭星科技有限公司 Device information system management method, device, electronic device and medium

Also Published As

Publication number Publication date
CN113688586A (en) 2021-11-23

Similar Documents

Publication Publication Date Title
CN111428462B (en) Communication protocol template construction method and terminal equipment
CN111221726A (en) Test data generation method and device, storage medium and intelligent equipment
CN108255513B (en) Electronic device, springmvc-based data interface, automatic generation method of description of springmvc-based data interface, and storage medium
CN109447820B (en) Data processing method, device, computer equipment and storage medium
CN109324813A (en) Electronic control system writes with a brush dipped in Chinese ink method, apparatus and computer media
CN110472109B (en) Dynamic data quality analysis method and platform system
CN111262753A (en) Method, system, terminal and storage medium for automatically configuring number of NUMA nodes
CN113688586B (en) Dynamic logic flow diagram generation method and device of equipment system and terminal equipment
CN109783782A (en) Generation method, equipment, storage medium and the device of electronic contract template
CN113077142A (en) Intelligent student portrait drawing method and system and terminal equipment
CN105302556A (en) Calculation realization method and system and server apparatus
CN113625854B (en) Mainboard power-on control system, method and device and readable storage medium
CN114386853A (en) Data auditing processing method, device and equipment based on universal auditing model
CN114461223A (en) Code generation method and device and terminal equipment
CN110333870B (en) Simulink model variable distribution processing method, device and equipment
CN114006819A (en) Detection strategy generation and device, and data transmission method and device
CN113094048A (en) Data display rule determining method, display method, device, equipment and medium
CN112925523A (en) Object comparison method, device, equipment and computer readable medium
CN112597510A (en) Access control method and device
CN111429125A (en) Account management method and device, storage medium and electronic equipment
CN111400145B (en) Configuration method and device of flow chart monitoring page and terminal equipment
CN110290435A (en) Fiber optic network management method, device and terminal device
CN111506543A (en) M file generation method and device
CN112114931A (en) Deep learning program configuration method and device, electronic equipment and storage medium
CN117034900B (en) Automatic generation method of API (application program interface) code file, terminal equipment and storage medium

Legal Events

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