CN111400145B - Configuration method and device of flow chart monitoring page and terminal equipment - Google Patents

Configuration method and device of flow chart monitoring page and terminal equipment Download PDF

Info

Publication number
CN111400145B
CN111400145B CN202010246431.1A CN202010246431A CN111400145B CN 111400145 B CN111400145 B CN 111400145B CN 202010246431 A CN202010246431 A CN 202010246431A CN 111400145 B CN111400145 B CN 111400145B
Authority
CN
China
Prior art keywords
target
template
flow chart
sub
equipment
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
CN202010246431.1A
Other languages
Chinese (zh)
Other versions
CN111400145A (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
Xiamen Kehua Hengsheng Co Ltd
Original Assignee
Xiamen Kecan Information Technology Co ltd
Xiamen Kehua Hengsheng 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, Xiamen Kehua Hengsheng Co Ltd filed Critical Xiamen Kecan Information Technology Co ltd
Priority to CN202010246431.1A priority Critical patent/CN111400145B/en
Publication of CN111400145A publication Critical patent/CN111400145A/en
Application granted granted Critical
Publication of CN111400145B publication Critical patent/CN111400145B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention is suitable for the technical field of page configuration, and provides a configuration method, a device and terminal equipment for a pipeline diagram monitoring page, wherein the method comprises the following steps: acquiring equipment parameters sent by target monitoring equipment; determining a configuration file of the target monitoring equipment according to the equipment parameters of the target monitoring equipment; according to the method, when a newly added template exists, only the corresponding template storage unit and the configuration file need to be updated, codes do not need to be written again to generate the monitoring page, and the generation efficiency and the flexibility of the flow chart monitoring page can be improved.

Description

Configuration method and device of flow chart monitoring page and terminal equipment
Technical Field
The invention belongs to the technical field of page configuration, and particularly relates to a configuration method and device of a pipeline diagram monitoring page and terminal equipment.
Background
In the monitoring page, the flow chart is a monitoring picture capable of visually and dynamically displaying the current flow direction.
In the prior art, the pipeline diagram monitoring page is usually completed by a developer writing code to form a monitoring program. Even the flow diagrams of different protocols of the same device can be different because the flow diagrams of different devices are basically different. Therefore, when the pipeline diagrams of different devices or the pipeline diagrams of different protocols are displayed, developers are required to modify program codes or rewrite writing programs, the monitoring page generation method greatly increases the complexity of development work and codes, and has low work efficiency and poor flexibility.
Disclosure of Invention
In view of this, embodiments of the present invention provide a configuration method and an apparatus for a flow chart monitoring page, and a terminal device, so as to solve the problems in the prior art that a monitoring page development process is complex and work efficiency is low.
A first aspect of an embodiment of the present invention provides a method for configuring a pipeline diagram monitoring page, including:
acquiring equipment parameters sent by target monitoring equipment;
determining a configuration file of the target monitoring equipment according to the equipment parameters of the target monitoring equipment;
and searching a target template storage unit corresponding to the target monitoring equipment according to the configuration file of the target monitoring equipment, and displaying a target flow chart template in the target template storage unit to form a flow chart monitoring page of the target monitoring equipment.
A second aspect of the present invention provides a device for configuring a pipeline diagram monitoring page, including:
the device parameter acquisition module is used for acquiring device parameters sent by the target monitoring device;
the configuration file determining module is used for determining a configuration file of the target monitoring equipment according to the equipment parameters of the target monitoring equipment;
and the flow chart page generation module is used for searching a target template storage unit corresponding to the target monitoring equipment according to the configuration file of the target monitoring equipment, displaying the target flow chart template in the target template storage unit and forming the flow chart monitoring page of the target monitoring equipment.
A third aspect of the embodiments of the present invention provides 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 configuration method of the pipeline monitoring page when executing the computer program.
A fourth aspect of the embodiments of the present invention provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the configuration method of the pipeline monitoring page as described above.
The method comprises the steps of firstly, obtaining equipment parameters sent by target monitoring equipment; determining a configuration file of the target monitoring equipment according to the equipment parameters of the target monitoring equipment; according to the method, when a newly added template exists, only the corresponding template storage unit and the configuration file need to be updated, codes do not need to be written again to generate the monitoring page, and the generation efficiency and the flexibility of the flow chart monitoring page can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flowchart of a configuration method of a flow chart monitoring page according to an embodiment of the present invention;
fig. 2 is another schematic flow chart diagram of a configuration method of a flowchart monitoring page according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of an implementation of S102 in fig. 1 according to an embodiment of the present invention;
fig. 4 is a schematic flow chart of the implementation of S303 in fig. 3 according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a configuration apparatus of a flow chart monitoring page according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
The terms "comprises" and "comprising," and any variations thereof in the description and claims of this invention and the above-described drawings, are intended to cover a non-exclusive inclusion. For example, a process, method, or system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. Furthermore, the terms "first", "second", and "third", etc. are used to distinguish different objects, and are not used to describe a particular order.
In order to illustrate the technical means of the present invention, the following description is given by way of specific examples.
Example 1:
fig. 1 shows a flowchart of an implementation of a method for configuring a pipeline monitoring page according to an embodiment of the present invention, and for convenience of description, only a part related to the embodiment of the present invention is shown, which is detailed as follows:
s101: acquiring equipment parameters sent by target monitoring equipment;
s102: determining a configuration file of the target monitoring equipment according to the equipment parameters of the target monitoring equipment;
s103: and searching a target template storage unit corresponding to the target monitoring equipment according to the configuration file of the target monitoring equipment, and displaying a target flow chart template in the target template storage unit to form a flow chart monitoring page of the target monitoring equipment.
In this embodiment, an execution main body of the configuration method of the flowchart monitoring page provided in this embodiment is a terminal device, and the target monitoring device may include an UPS (Uninterruptible Power System), a Power generation device, and the like.
In this embodiment, the target monitoring device is connected to the terminal device, and sends device parameters to the terminal device, where the device parameters may include device operating parameters and a device identifier. And the terminal equipment loads a corresponding configuration file according to the equipment parameters, and the configuration file records the configuration information of the flow chart template corresponding to the target monitoring equipment.
In this embodiment, all the pipeline diagram templates are stored in the template storage module, and the template storage module may be disposed in the terminal device, and directly extract the pipeline diagram templates in the template storage module when necessary; the template storage module can also be arranged in the server, and sends template request information to the server when needed, wherein the template request information comprises the target unit identification in the configuration information, and the server sends the corresponding template storage unit to the terminal device according to the target unit identification. When the template storage module is arranged in the server, the connection between a plurality of terminal devices and the server can be realized, so that the configuration of monitoring pages of different terminal devices is realized.
Specifically, the server may be a local server or a cloud server, which is not limited herein.
In this embodiment, the template storage module includes at least one template storage unit, each template storage unit corresponds to one configuration file, and the terminal device extracts and displays the flow chart template in the target template storage unit according to the configuration file, so as to form a flow chart monitoring page of the target monitoring device.
As can be seen from the foregoing embodiments, in the embodiments of the present invention, the device parameters sent by the target monitoring device are obtained; determining a configuration file of the target monitoring equipment according to the equipment parameters of the target monitoring equipment; and then according to the configuration file of the target monitoring equipment, determining a target template storage unit to which the target monitoring equipment belongs, forming a flow chart monitoring page of the target monitoring equipment only by extracting and displaying a target flow chart template in the target template storage unit, and generating the monitoring page without writing codes for new flow chart equipment.
In one embodiment, fig. 2 shows another implementation flow of the configuration method of the pipeline monitoring page, which includes:
s201: creating a flow chart template of at least one monitoring device, and dividing the flow chart template into a plurality of template storage units for storage according to a preset division rule;
s202: and creating a configuration file corresponding to each template storage unit.
In this embodiment, the preset partition rule may include: and dividing according to the equipment identifier of the monitoring equipment or dividing according to the equipment type of the monitoring equipment.
In this embodiment, when there is a new model or type of monitoring device, a corresponding pipeline diagram template is created, then a template storage unit is newly created to store the pipeline diagram template, and a configuration file of the template storage unit is correspondingly created. And when a certain flow chart sub-template is updated according to the actual equipment running state, adding the created flow chart sub-template to the corresponding template storage unit, and correspondingly updating the configuration file of the template storage unit.
After the flow chart template and the corresponding configuration file are created, the terminal device can determine the corresponding configuration file according to the device parameters of the new target monitoring device after being connected with the new target monitoring device, and display the flow chart template according to the corresponding configuration file, so that the generation process of the flow chart monitoring page is simplified, and the page generation efficiency is improved.
It can be known from the foregoing embodiment that, when a new pipeline diagram monitoring page of a monitoring device needs to be added, only the new pipeline diagram template and the corresponding configuration file need to be added, and a code generation page does not need to be written for the new monitoring device, so that the generation efficiency of the pipeline diagram monitoring page is improved.
In one embodiment, the pipeline diagram template comprises at least one pipeline diagram sub-template, and the device parameters comprise device identification and device operation parameters; the configuration file of the target monitoring equipment comprises a target unit identifier, basic state information and target sub-template information; fig. 3 shows a specific implementation flow of S102 in fig. 1, and the process thereof is detailed as follows:
s301: determining a target unit identifier of the target template storage unit according to the equipment identifier;
s302: determining basic state information of the target monitoring equipment according to the equipment operation parameters;
s303: and determining target sub-template information of the flow chart sub-template corresponding to the target monitoring equipment according to the basic state information of the target monitoring equipment.
In one embodiment, the target sub-template information comprises a target sub-template identification and a target signal flow direction; fig. 4 shows a specific implementation flow of S303 in fig. 3, which includes:
s401: determining a target sub-template identifier of a flow chart sub-template corresponding to the target monitoring equipment according to the basic state information of the target monitoring equipment;
s402: and determining the target signal flow direction of the flow chart sub-template corresponding to the target monitoring equipment according to the target sub-template identification of the flow chart sub-template corresponding to the target monitoring equipment and the pre-stored logic relationship.
TABLE 1
Figure BDA0002434088580000061
Taking a specific example as an example, assuming that the target monitoring device is a UPS power supply, as shown in table 1, table 1 is a logical relationship table of configuration files corresponding to the UPS power supply.
Specifically, the target unit identifier is an overall template ID of the UPS template; the target sub-template is identified as the template ID of the pipeline map sub-template, i.e., the map number in table 1. The basic state information includes: [ { "p1": commercial power abnormality "}, {" p2":" battery abnormality "}, {" p3":" bypass abnormality "}, {" p4":" general failure "}, {" p5":" battery test "}, {" p6":" UPS shutdown "}. Each basic status information may be represented by a value of 0, 1, and 255, such as "P1: 0' represents the inversion of the commercial power; "P2: 0 "indicates battery charging. According to the basic state information, the figure number of the current pipeline figure sub-template of the target monitoring device can be determined from the target template storage unit.
Further, according to the basic state information, the current flow direction of the UPS power source may be determined, the flow chart sub-templates shown in fig. 1, 4, 7, 9, and 11 in table 1 may determine that the target signal flow direction is the battery energy inflow, and the flow chart sub-templates shown in fig. 13, 14, and 19 may determine that the target signal flow direction is the battery energy outflow.
In this embodiment, according to the preset logic relationship, the battery self-test state of the UPS power supply is first determined, corresponding to the drawing number 19, and the non-test state corresponds to the other flow chart templates corresponding to the 18 drawing numbers.
In one embodiment, the specific implementation process of S103 in fig. 1 includes:
acquiring a flow chart sub-template corresponding to the target monitoring equipment according to the target sub-template identification;
and adjusting the template display state of the corresponding flow chart sub-template of the target monitoring equipment according to the flow direction of the target signal, and displaying the adjusted flow chart sub-template of the target monitoring equipment to form a flow chart monitoring page of the target monitoring equipment.
In this embodiment, according to the basic state information of the target monitoring device, a graph number of the pipeline image sub-template of the target monitoring device at the current time in the target template storage unit may be determined, and the corresponding pipeline image sub-template may be extracted according to the graph number. After the corresponding flow chart sub-template is acquired, the template display state of the flow chart sub-template is determined according to the flow direction of the target signal, for example, when the value of the flow direction of the target signal is 0, the flow direction is indicated in the forward direction, when the value of the flow direction of the target signal is 1, the flow direction is indicated in the reverse direction, and when the value of the flow direction of the target signal is 2, the flow direction information is not displayed.
In this embodiment, the value of the target signal flow direction may also be-1, and when the value of the target signal flow direction of a certain flow chart sub-template is-1, the flow chart sub-template is not displayed.
And after the template display state of each flow chart sub-template is determined, displaying the adjusted flow chart sub-template at the corresponding position of the page according to the configuration information, thereby obtaining the flow chart monitoring page of the target monitoring equipment.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
As shown in fig. 5, a configuration apparatus 100 of an flowchart monitoring page provided in an embodiment of the present invention is configured to execute the method steps in the embodiment corresponding to fig. 1, and includes:
an equipment parameter obtaining module 110, configured to obtain an equipment parameter sent by a target monitoring device;
a configuration file determining module 120, configured to determine a configuration file of the target monitoring device according to the device parameter of the target monitoring device;
the flow chart page generating module 130 is configured to search a target template storage unit corresponding to the target monitoring device according to the configuration file of the target monitoring device, and display a target flow chart template in the target template storage unit to form a flow chart monitoring page of the target monitoring device.
As can be seen from the foregoing embodiments, in the embodiments of the present invention, the device parameters sent by the target monitoring device are obtained; determining a configuration file of the target monitoring equipment according to the equipment parameters of the target monitoring equipment; and then according to the configuration file of the target monitoring equipment, determining a target template storage unit to which the target monitoring equipment belongs, forming a flow chart monitoring page of the target monitoring equipment only by extracting and displaying a target flow chart template in the target template storage unit, and generating the monitoring page without writing codes for new flow chart equipment.
In an embodiment of the present invention, the configuration apparatus 100 for a pipeline monitoring page provided in this embodiment further includes:
the flow chart template creating module is used for creating at least one flow chart template of the monitoring equipment and dividing the flow chart template into a plurality of template storage units for storage according to a preset dividing rule;
and the configuration file creating module is used for creating the configuration files corresponding to the template storage units.
In one embodiment of the invention, the pipeline diagram template comprises at least one pipeline diagram sub-template, and the device parameters comprise device identification and device operation parameters; the configuration file of the target monitoring equipment comprises a target unit identifier, basic state information and target sub-template information; the profile determination module 120 in fig. 5 further includes:
a target unit identifier obtaining unit, configured to determine a target unit identifier of the target template storage unit according to the device identifier;
the state information acquisition unit is used for determining basic state information of the target monitoring equipment according to the equipment operation parameters;
and the sub-template information acquisition unit is used for determining target sub-template information of the flow chart sub-template corresponding to the target monitoring equipment according to the basic state information of the target monitoring equipment.
In one embodiment of the present invention, the target sub-template information includes a target sub-template identifier and a target signal flow direction; the sub-template information obtaining unit further includes:
a sub-template identifier obtaining sub-unit, configured to determine, according to the basic state information of the target monitoring device, a target sub-template identifier of a flow chart sub-template corresponding to the target monitoring device;
and the signal flow direction determining subunit is used for determining the target signal flow direction of the flow chart sub-template corresponding to the target monitoring equipment according to the target sub-template identifier of the flow chart sub-template corresponding to the target monitoring equipment and the pre-stored logic relationship.
In an embodiment of the present invention, the flowchart page generating module 130 provided in this embodiment further includes:
the flow chart sub-template obtaining unit is used for obtaining a flow chart sub-template corresponding to the target monitoring equipment according to the target sub-template identification;
and the monitoring page generating unit is used for adjusting the template display state of the flow chart sub-template corresponding to the target monitoring equipment according to the flow direction of the target signal, displaying the adjusted flow chart sub-template of the target monitoring equipment and forming the flow chart monitoring page of the target monitoring equipment.
In one embodiment, the configuration apparatus 100 of the pipeline monitoring page further includes other functional modules/units for implementing the method steps in the embodiments in embodiment 1.
Fig. 6 is a schematic diagram of a terminal device according to an embodiment of the present invention. As shown in fig. 6, the terminal device 600 of this embodiment includes: a processor 60, a memory 61 and a computer program 62 stored in said memory 61 and executable on said processor 60. The processor 60 executes the computer program 62 to implement the steps in the above-mentioned embodiments of the method for configuring the pipeline monitoring page, such as S101 to S103 shown in fig. 1. Alternatively, the processor 60, when executing the computer program 62, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the modules 110 to 130 shown in fig. 5.
The computer program 62 may be divided into one or more modules/units that are stored in the memory 61 and executed by the processor 60 to accomplish the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 62 in the terminal device 600.
The terminal device 600 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 60, a memory 61. Those skilled in the art will appreciate that fig. 6 is merely an example of a terminal device 600 and does not constitute a limitation of terminal device 600 and may include more or fewer components than shown, or some components may be combined, or different components, e.g., the terminal device may also include input-output devices, network access devices, buses, etc.
The Processor 60 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 61 may be an internal storage unit of the terminal device 600, such as a hard disk or a memory of the terminal device 600. The memory 61 may also be an external storage device of the terminal device 600, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 600. Further, the memory 61 may also include both an internal storage unit and an external storage device of the terminal device 600. The memory 61 is used for storing the computer program and other programs and data required by the terminal device. The memory 61 may also be used to temporarily store data that has been output or is to be output.
It should be clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional units and modules is only used for illustration, and in practical applications, the above function distribution may be performed by different functional units and modules as needed, that is, the internal structure of the apparatus may be divided into different functional units or modules to perform all or part of the above described functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only used for distinguishing one functional unit from another, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. 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.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. . Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U.S. disk, removable hard disk, magnetic diskette, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signal, telecommunications signal, and software distribution medium, etc. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (8)

1. The configuration method of the water flow chart monitoring page is characterized by comprising the following steps:
acquiring equipment parameters sent by target monitoring equipment;
determining a configuration file of the target monitoring equipment according to the equipment parameters of the target monitoring equipment;
searching a target template storage unit corresponding to the target monitoring equipment according to the configuration file of the target monitoring equipment, and displaying a target flow chart template in the target template storage unit to form a flow chart monitoring page of the target monitoring equipment;
the flow chart template comprises at least one flow chart sub-template, and the equipment parameters comprise equipment identification and equipment operation parameters; the configuration file of the target monitoring equipment comprises a target unit identifier, basic state information and target sub-template information;
determining a configuration file of the target monitoring device according to the device parameter of the target monitoring device includes:
determining a target unit identifier of the target template storage unit according to the equipment identifier;
determining basic state information of the target monitoring equipment according to the equipment operation parameters;
and determining target sub-template information of the flow chart sub-template corresponding to the target monitoring equipment according to the basic state information of the target monitoring equipment.
2. The method for configuring a flow chart monitoring page according to claim 1, wherein before the obtaining of the device parameter sent by the target monitoring device, the method further comprises:
creating a flow chart template of at least one monitoring device, and dividing the flow chart template into a plurality of template storage units for storage according to a preset division rule;
and creating a configuration file corresponding to each template storage unit.
3. The method for configuring a flow chart monitoring page as claimed in claim 1, wherein the target sub-template information comprises a target sub-template identifier and a target signal flow direction;
the determining, according to the basic state information of the target monitoring device, target sub-template information of the flow chart sub-template corresponding to the target monitoring device includes:
determining a target sub-template identifier of a flow chart sub-template corresponding to the target monitoring equipment according to the basic state information of the target monitoring equipment;
and determining the target signal flow direction of the flow chart sub-template corresponding to the target monitoring equipment according to the target sub-template identification of the flow chart sub-template corresponding to the target monitoring equipment and the pre-stored logic relationship.
4. The method for configuring a flowchart monitoring page according to claim 1, wherein the displaying the target flowchart template in the target template storage unit according to the configuration file of the target monitoring device to form the flowchart monitoring page of the target monitoring device includes:
acquiring a flow chart sub-template corresponding to the target monitoring equipment according to the target sub-template identification;
and adjusting the template display state of the corresponding flow chart sub-template of the target monitoring equipment according to the flow direction of the target signal, and displaying the adjusted flow chart sub-template of the target monitoring equipment to form a flow chart monitoring page of the target monitoring equipment.
5. Configuration device of water-flow chart monitoring page, characterized by includes:
the device parameter acquisition module is used for acquiring device parameters sent by the target monitoring device;
the configuration file determining module is used for determining a configuration file of the target monitoring equipment according to the equipment parameters of the target monitoring equipment;
a flow chart page generation module, configured to search a target template storage unit corresponding to the target monitoring device according to the configuration file of the target monitoring device, and display a target flow chart template in the target template storage unit, so as to form a flow chart monitoring page of the target monitoring device;
the flow chart template comprises at least one flow chart sub-template, and the equipment parameters comprise equipment identification and equipment operation parameters; the configuration file of the target monitoring equipment comprises a target unit identifier, basic state information and target sub-template information;
the profile determination module comprises:
a target unit identifier obtaining unit, configured to determine a target unit identifier of the target template storage unit according to the device identifier;
the state information acquisition unit is used for determining basic state information of the target monitoring equipment according to the equipment operation parameters;
and the sub-template information acquisition unit is used for determining target sub-template information of the flow chart sub-template corresponding to the target monitoring equipment according to the basic state information of the target monitoring equipment.
6. The apparatus for configuring a pipeline monitor page of claim 5, further comprising:
the flow chart template creating module is used for creating at least one flow chart template of the monitoring equipment and dividing the flow chart template into a plurality of template storage units for storage according to a preset dividing rule;
and the configuration file creating module is used for creating the configuration files corresponding to the template storage units.
7. 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 realizes the steps of the method according to any of claims 1 to 4 when executing the computer program.
8. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
CN202010246431.1A 2020-03-31 2020-03-31 Configuration method and device of flow chart monitoring page and terminal equipment Active CN111400145B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010246431.1A CN111400145B (en) 2020-03-31 2020-03-31 Configuration method and device of flow chart monitoring page and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010246431.1A CN111400145B (en) 2020-03-31 2020-03-31 Configuration method and device of flow chart monitoring page and terminal equipment

Publications (2)

Publication Number Publication Date
CN111400145A CN111400145A (en) 2020-07-10
CN111400145B true CN111400145B (en) 2022-09-09

Family

ID=71432984

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010246431.1A Active CN111400145B (en) 2020-03-31 2020-03-31 Configuration method and device of flow chart monitoring page and terminal equipment

Country Status (1)

Country Link
CN (1) CN111400145B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100211A (en) * 2015-06-26 2015-11-25 北京奇虎科技有限公司 Configuration file obtaining method and device
CN107506193A (en) * 2017-08-18 2017-12-22 平安科技(深圳)有限公司 A kind of development approach of subsystem page, storage medium and server
CN108228305A (en) * 2018-02-02 2018-06-29 广东欧珀移动通信有限公司 Display methods, device, storage medium and the electronic equipment of five application page
CN109388397A (en) * 2018-09-26 2019-02-26 中国平安财产保险股份有限公司 Product page generation method, system, computer equipment and storage medium
CN110806866A (en) * 2019-11-05 2020-02-18 连连银通电子支付有限公司 Generation method and device of front-end management system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100211A (en) * 2015-06-26 2015-11-25 北京奇虎科技有限公司 Configuration file obtaining method and device
CN107506193A (en) * 2017-08-18 2017-12-22 平安科技(深圳)有限公司 A kind of development approach of subsystem page, storage medium and server
CN108228305A (en) * 2018-02-02 2018-06-29 广东欧珀移动通信有限公司 Display methods, device, storage medium and the electronic equipment of five application page
CN109388397A (en) * 2018-09-26 2019-02-26 中国平安财产保险股份有限公司 Product page generation method, system, computer equipment and storage medium
CN110806866A (en) * 2019-11-05 2020-02-18 连连银通电子支付有限公司 Generation method and device of front-end management system

Also Published As

Publication number Publication date
CN111400145A (en) 2020-07-10

Similar Documents

Publication Publication Date Title
CN111221726A (en) Test data generation method and device, storage medium and intelligent equipment
CN108449313B (en) Electronic device, Internet service system risk early warning method and storage medium
CN108923957B (en) Distribution network terminal DTU fault elimination method and device and terminal equipment
CN111143446A (en) Data structure conversion processing method and device of data object and electronic equipment
CN108170425B (en) Program code modification method and device and terminal equipment
CN110134596A (en) The generation method and terminal device of test document
CN112256670A (en) Data migration method, terminal device and readable storage medium
CN112948233A (en) Interface testing method, device, terminal equipment and medium
CN109542398B (en) Business system generation method and device and computer readable storage medium
CN109828759B (en) Code compiling method, device, computer device and storage medium
CN111400145B (en) Configuration method and device of flow chart monitoring page and terminal equipment
CN111291443A (en) Automatic generation method, device, equipment and storage medium for I/O module model of vehicle control unit software
CN113272785B (en) Method for mounting file system, terminal equipment and storage medium
CN111143240B (en) Image storage method, system and terminal equipment
CN111985194A (en) Data storage method and device, electronic equipment and storage medium
CN112541841A (en) Method and device for simulating past and future data and terminal equipment
CN116009889A (en) Deep learning model deployment method and device, electronic equipment and storage medium
CN111049717A (en) Variable acquisition method and equipment
EP4318211A1 (en) Method for inspecting code under weak memory order architecture, and corresponding device
CN111859985B (en) AI customer service model test method and device, electronic equipment and storage medium
CN111078449B (en) Information processing method, information processing device and terminal equipment
CN107071553A (en) A kind of method, device and computer-readable recording medium for changing video speech
CN105893170A (en) Method and system for providing resource access
CN112256574A (en) Vehicle diagnosis method and system and related equipment
CN112948480B (en) Data extraction method, device, electronic 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