CN114895891A - Graphic software processing method and device, electronic equipment and storage medium - Google Patents

Graphic software processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114895891A
CN114895891A CN202210385636.7A CN202210385636A CN114895891A CN 114895891 A CN114895891 A CN 114895891A CN 202210385636 A CN202210385636 A CN 202210385636A CN 114895891 A CN114895891 A CN 114895891A
Authority
CN
China
Prior art keywords
graphic
software
graphics
library
configuration software
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.)
Pending
Application number
CN202210385636.7A
Other languages
Chinese (zh)
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.)
China Techenergy Co Ltd
Original Assignee
China Techenergy 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 China Techenergy Co Ltd filed Critical China Techenergy Co Ltd
Priority to CN202210385636.7A priority Critical patent/CN114895891A/en
Publication of CN114895891A publication Critical patent/CN114895891A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/53Querying
    • G06F16/532Query formulation, e.g. graphical querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/20Processor architectures; Processor configuration, e.g. pipelining
    • 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
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E30/00Energy generation of nuclear origin

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Mathematical Physics (AREA)
  • Digital Computer Display Output (AREA)

Abstract

The invention discloses a processing method and device of graphic software, electronic equipment and a storage medium, wherein the off-line configuration software of the graphic software is determined based on a browser technology, a browser interface is used as a man-machine interaction interface of the off-line configuration software of the graphic, the on-line operation software of the graphic is determined based on a QT technology, a graphic library is determined based on an OpenGLSC standard, and the off-line configuration software of the graphic and the on-line operation software of the graphic are used for drawing and rendering the graphic by the graphic library. Because the browser technology is a cross-platform technology taking the Web technology as a core, and the Web interface can run on various platforms, the graphic offline configuration software can have the cross-platform capability by applying the browser technology to the graphic offline configuration software. Meanwhile, the QT has cross-platform capacity, so that the online graphics running software determined based on the QT technology also has the cross-platform capacity.

Description

Graphic software processing method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of computers, in particular to a processing method and device of graphic software, electronic equipment and a storage medium.
Background
In a Distributed Control System (DCS) System of a nuclear power plant, graphic software is divided into graphic offline configuration software and graphic online operation software, and the graphic offline configuration software generally operates on an engineer station, so that an engineer can configure process pictures such as a flow chart, a state chart, a trend picture and an alarm picture of the nuclear power plant in a dragging manner, and generate a corresponding graphic picture file after configuration is completed. The graphic online operation software generally operates on an operator station and is mainly used for operating pictures generated by graphic offline configuration software and acquiring nuclear power real-time process data through network communication to display the pictures.
At present, configuration software at home and abroad mainly adopts a traditional C/S (client/server) mode, and most of the configuration software adopts traditional development technology. Although many graphics software systems are available on the market, these graphics software systems usually target a certain platform object, and can only adapt to one of the platforms, for example, only run on a Windows platform or only run on a Linus platform. In practical application, the offline configuration software and the online running software of the graphics software often have cross-platform requirements, so how to provide a processing method of the graphics software makes the offline configuration software and the online running software of the graphics software have cross-platform running capability at the same time becomes a technical problem that needs to be solved by the technical staff in the field.
Disclosure of Invention
In view of this, the present invention discloses a processing method and apparatus for graphics software, an electronic device, and a storage medium, so as to implement that both the graphics offline configuration software and the graphics online running software have cross-platform capability.
A processing method of graphic software comprises the following steps:
determining graph off-line configuration software based on a browser technology, and taking a browser interface as a human-computer interaction interface of the graph off-line configuration software;
determining online graph running software based on QT technology;
and determining a graphic library based on the OpenGL SC standard, wherein the graphic library is used for drawing and rendering graphics by the graphic offline configuration software and the graphic online operation software.
Optionally, the graphics offline configuration software based on the browser technology adopts a five-layer architecture, and the five-layer architecture sequentially includes:
the display layer is used as the human-computer interaction interface and is used for a user to carry out engineering picture configuration and modification and compilation of a graphic element object;
the business layer is used for processing the business logic of the graph off-line configuration software;
the application support layer is used for calling a related processing program to realize the operation of the database through the data processing request of the functional layer;
the tool chain layer is used for placing a common tool chain required by the graphic offline configuration software;
and the language layer is used for placing the development language required by the graphic offline configuration software.
Optionally, the graphic library is a firmGL graphic library;
the FirmGL graphic library is an abstracted graphic library based on OpenGL SCs meeting aviation standard DO-178B.
Optionally, the FirmGL graphics library performs graphics rendering based on a graphics processor GPU.
Optionally, the graphic offline configuration software is configured to convert a user configuration graphic picture into a graphic description file in a standard format;
and the graph online operation software is used for analyzing the standard format graph description file and calling the graph library to draw and render the graph obtained by analysis.
A processing device for graphics software, comprising:
the configuration software determining unit is used for determining the graphic off-line configuration software based on the browser technology and taking a browser interface as a human-computer interaction interface of the graphic off-line configuration software;
the operation software determining unit is used for determining the online operation software of the graph based on the QT technology;
and the graphics library determining unit is used for determining a graphics library based on the OpenGL SC standard, and the graphics library is used for drawing and rendering graphics by the graphics offline configuration software and the graphics online operation software.
Optionally, the graphics offline configuration software based on the browser technology adopts a five-layer architecture, and the five-layer architecture sequentially includes:
the display layer is used as the human-computer interaction interface and is used for a user to carry out engineering picture configuration and modification and compilation of a graphic element object;
the business layer is used for processing the business logic of the graph off-line configuration software;
the application support layer is used for calling a related processing program to realize the operation of the database through the data processing request of the functional layer;
the tool chain layer is used for placing a common tool chain required by the graphic offline configuration software;
and the language layer is used for placing the development language required by the graphic offline configuration software.
Optionally, the graph library is a firmGL graph library;
the FirmGL graphic library is an abstracted graphic library based on OpenGL SCs meeting aviation standard DO-178B.
An electronic device comprising a memory and a processor;
the memory is to store at least one instruction;
the processor is used for executing the at least one instruction to realize the processing method of the graphics software.
A computer-readable storage medium storing at least one instruction which, when executed by a processor, implements the processing method of the graphics software described above.
According to the technical scheme, the invention discloses a processing method and device of graphic software, electronic equipment and a storage medium, the graphic off-line configuration software is determined based on a browser technology, the browser interface is used as a human-computer interaction interface of the graphic off-line configuration software, the graphic on-line operation software is determined based on a QT technology, the graphic library is determined based on an OpenGL SC standard, and the graphic off-line configuration software and the graphic on-line operation software are used for drawing and rendering graphics by the graphic library. Because the browser technology is a cross-platform technology taking the Web technology as a core, and the Web interface can run on various platforms, the graphic offline configuration software can have the cross-platform capability by applying the browser technology to the graphic offline configuration software. Meanwhile, the QT has cross-platform capacity, so that the online graphics running software determined based on the QT technology also has the cross-platform capacity.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the disclosed drawings without creative efforts.
FIG. 1 is a flowchart of a processing method of graphics software according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating an overall architecture of a graphic offline configuration software according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating the overall architecture of an online graphical operating software determined based on QT technology according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a processing device of graphics software according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a processing method and device of graphic software, electronic equipment and a storage medium, wherein the graphic off-line configuration software is determined based on a browser technology, a browser interface is used as a man-machine interaction interface of the graphic off-line configuration software, the graphic on-line operation software is determined based on a QT technology, a graphic library is determined based on an OpenGL SC standard, and the graphic off-line configuration software and the graphic on-line operation software are used for drawing and rendering graphics by the graphic library. Because the browser technology is a cross-platform technology taking the Web technology as a core, and the Web interface can run on various platforms, the graphic offline configuration software can have the cross-platform capability by applying the browser technology to the graphic offline configuration software. Meanwhile, the QT has cross-platform capacity, so that the online graphics running software determined based on the QT technology also has the cross-platform capacity.
Referring to fig. 1, a flowchart of a processing method of graphics software disclosed in the embodiment of the present invention includes:
s101, determining graph offline configuration software based on a browser technology, and taking a browser interface as a human-computer interaction interface of the graph offline configuration software;
the graphic off-line configuration software mainly provides an integrated graphic configuration development environment, and a user can visualize a picture required by configuration in the graphic configuration development environment through a dragging mode according to business requirements. After the configuration is finished, the picture file is stored into a graphic description file with a standard format.
That is, the offline graphic configuration software is used to convert the user configuration graphic frame into the graphic description file with the standard format.
The standard format Graphics description file in this embodiment mainly refers to a Graphics description file in SVG (Scalable Vector Graphics) format.
With the development of Web technology, a browser interface becomes a basic platform of a computer desktop, and based on the basic platform, the browser technology is applied to the graphical offline configuration software, and the browser interface is used as a human-computer interaction interface of the graphical offline configuration software.
Because the browser technology refers to a cross-platform technology taking a Web technology as a core, and a Web interface can run on various platforms, the problem of cross-platform running of the off-line configuration software of the graph can be solved by applying the browser technology to the off-line configuration software of the graph, so that the off-line configuration software of the graph can run on a Windows platform and can also run on other platforms, such as a national bid-winning kylin platform, thereby not only meeting the cross-platform requirement, but also meeting the requirement of the localization.
S102, determining online graph running software based on QT technology;
the online graphic operation software is operated on the nuclear power plant operator station, and the software is used for describing a file by analyzing a graphic with a standard format and drawing and rendering the analyzed graphic by a graphic library.
Because the online graphic operation software needs to be operated online and in real time on a nuclear power site for a long time, a QT (application development framework) technology with high stability is selected for development.
Because the QT has cross-platform capacity, the online graph running software is determined based on the QT technology, so that the online graph running software also has the cross-platform capacity.
It should be noted that, in order to facilitate extension and maintenance of functions, the graphics online running software in this embodiment is developed based on a plug-in mode. The picture display function is realized by taking charge of drawing and rendering of the graph through the main plug-in, and other expansion functions are developed in a special plug-in mode. And drawing and rendering all the graphics are realized based on a graphics library.
Step S103, determining a graphics library based on the OpenGL SC standard, wherein the graphics library is used for drawing and rendering graphics by the graphics offline configuration software and the graphics online operation software.
In summary, the invention discloses a processing method of graphics software, which comprises the steps of determining graphics offline configuration software based on a browser technology, taking a browser interface as a human-computer interaction interface of the graphics offline configuration software, determining graphics online operation software based on a QT technology, determining a graphics library based on an OpenGL SC standard, and drawing and rendering graphics by the graphics library for the graphics offline configuration software and the graphics online operation software. Because the browser technology is a cross-platform technology taking the Web technology as a core, and the Web interface can run on various platforms, the graphic offline configuration software can have the cross-platform capability by applying the browser technology to the graphic offline configuration software. Meanwhile, the QT has cross-platform capacity, so that the online graphics running software determined based on the QT technology also has the cross-platform capacity.
In addition, because the offline configuration software and the online operation software of the graphs adopt the same graph library to draw and render the graphs, the invention can also ensure that the picture display under the offline configuration software of the graphs determined based on the browser technology is completely consistent with the picture display under the online operation software of the graphs determined based on the QT technology.
Preferably, the graphic library in the invention is a firmGL graphic library.
The FirmGL graphics library is a graphics library abstracted based on OpenGL SCs that satisfy aviation standard DO-178B.
The FirmGL graphic library is called by the graphic offline configuration software when the graphics are drawn and rendered, and meanwhile, the graphic online operation software also draws and renders the graphics based on the FirmGL graphic library when the graphics online operation software is in online operation, so that the strong consistency of graphic display can be ensured even if the graphic offline configuration software and the graphic online operation software are respectively under different operating system platforms.
Further, the FirmGL Graphics library in the present invention performs Graphics rendering based on a GPU (Graphics Processing Unit), so that the fluency of the screen display can be greatly improved.
It should be noted that, because QT has the advantage of high stability, the online graphics running software draws and renders graphics using a graphics library based on the OpenGL SC standard under the QT technology, so that the rendered screen can be displayed more safely and smoothly.
In the traditional scheme, a three-layer architecture is adopted to design the graphic off-line configuration software in a B/S (browser/server) mode, the graphic off-line configuration software cannot directly realize data communication with a controlled object, and therefore the graphic off-line configuration software based on the browser technology is designed by adopting a five-layer architecture.
Referring to fig. 2, in the overall architecture diagram of the offline configuration software of the present invention, five layers of the offline configuration software of the graph sequentially include:
(1) and the display layer is a user interface part of the graphic offline configuration software and is a window for information interaction between a user and the graphic offline configuration software, so that the display layer is used as a human-computer interaction interface for the user to perform engineering picture configuration and modification and compilation of the primitive object.
Specifically, referring to fig. 2, a browser (Web style), an electronic (executable application style), an Integrated Development Environment IDE (Integrated Development Environment) page and a read (Web Development framework) virtual DOM (Document Object Model) are disposed at the presentation layer, where the Integrated Development Environment IDE page includes: HTML (hypertext markup language), JavaScript, and CSS (Cascading Style Sheets).
(2) The business layer is mainly used for processing the business logic of the graphic off-line configuration software and comprises the following components: graphic objects, layer rendering, coordinate transformation, script editor, icon management, and basic IDE framework, UI (User Interface) component library.
Specifically, referring to fig. 2, a graphic configuration development environment IDE (plug-in), a UI component library and an IDE framework are disposed in the business layer.
Wherein, the graphic configuration development environment IDE comprises: the device comprises a graph drawing module, a configuration service API call module, a primitive grouping management module, a script editor, an offline configuration preview module, a configuration file export and analysis module and an icon and control module.
The graph drawing module includes: graphical object model, graph-level tree, off-screen rendering, multi-level Canvas management, graphical transformations, and cursor interaction.
The IDE framework includes: menus, property panels, toolbars, dialog boxes, event buses, and windows.
(3) And the application support layer mainly comprises exception handling, a communication interface and a framework. The application support layer is mainly used for calling related processing programs to realize operations on the database, such as query, addition, deletion and the like, through the data processing request of the functional layer.
Specifically, referring to fig. 2, the application support layer is provided with: REST API call encapsulation (Axios), exception capture, Web Sosket encapsulation, React Core, React-Redox, and React-DOM.
(4) And the tool chain layer is used for placing the common tool chain required by the graphic off-line configuration software.
Specifically, referring to fig. 2, the tool chain layer includes: saas (Software as service) compilation, Babel translation, TypeScript translation, and Webpack packaging compression.
(5) And the language layer is used for placing the development language TypeScript required by the graph off-line configuration software.
For easy understanding, referring to fig. 3, an overall architecture diagram of a graph online running software determined based on the QT technology disclosed in the embodiment of the present invention includes in sequence: special function plug-ins, basic function plug-ins, public library plug-ins, graphics libraries, and operating systems.
Wherein, the special function plug-in is used for: dynamic features, interactive features, script engine, dedicated Keyboard, KVM (Keyboard Video Mouse), rights management, one-screen, and printing.
And a basic function plug-in for displaying images (main plug-in).
And the public library plug-in is used for executing public services, the event center and the data access center.
The graphics library is specifically a FirmGL graphics library in this embodiment, and the FirmGL graphics library is developed based on OpenGL SC.
The operating system, which can be applied by the graphic offline configuration software and the graphic online running software in this embodiment, includes but is not limited to: linus, Windows, vxWorks, and QNX.
Corresponding to the embodiment of the method, the invention also discloses a processing device of the graphic software.
Referring to fig. 4, a schematic structural diagram of a processing device of graphics software according to an embodiment of the present invention is disclosed, where the device includes:
a configuration software determining unit 201, configured to determine a graphical offline configuration software based on a browser technology, and use a browser interface as a human-computer interaction interface of the graphical offline configuration software;
the graphic off-line configuration software mainly provides an integrated graphic configuration development environment, and a user can visualize a picture required by configuration in the graphic configuration development environment through a dragging mode according to business requirements. After the configuration is finished, the picture file is stored into a graphic description file with a standard format.
That is, the offline graphic configuration software is used to convert the user configuration graphic frame into the graphic description file with the standard format.
The standard format Graphics description file in this embodiment mainly refers to a Graphics description file in SVG (Scalable Vector Graphics) format.
With the development of Web technology, a browser interface becomes a basic platform of a computer desktop, and based on the basic platform, the browser technology is applied to the graphical offline configuration software, and the browser interface is used as a human-computer interaction interface of the graphical offline configuration software.
Because the browser technology refers to a cross-platform technology taking the Web technology as a core, and the Web interface can run on various platforms, the problem of cross-platform running of the graph off-line configuration software can be solved by applying the browser technology to the graph off-line configuration software, so that the graph off-line configuration software can run on a Windows platform and can also run on other platforms, such as a national bid-winning kylin platform, thereby not only meeting the cross-platform requirement, but also meeting the requirement of the localization.
An operating software determining unit 202 for determining the graphic online operating software based on the QT technique;
the online graphic operation software is operated on the nuclear power plant operator station, and the software is used for describing a file by analyzing a graphic with a standard format and drawing and rendering the analyzed graphic by a graphic library.
Because the online graphic operation software needs to be operated online and in real time on a nuclear power site for a long time, a QT (application development framework) technology with high stability is selected for development.
Because the QT has the cross-platform capacity, the online graph running software is determined based on the QT technology, so that the online graph running software also has the cross-platform capacity.
It should be noted that, in order to facilitate extension and maintenance of functions, the graphics online running software in this embodiment is developed based on a plug-in mode. The picture display function is realized by taking charge of drawing and rendering of the graph through the main plug-in, and other expansion functions are developed in a special plug-in mode. And drawing and rendering all the graphics are realized based on a graphics library.
A graphics library determining unit 203, configured to determine a graphics library based on the OpenGL SC standard, where the graphics library is used by the graphics offline configuration software and the graphics online running software to perform graphics drawing and rendering.
In summary, the invention discloses a processing device of graphics software, which determines graphics offline configuration software based on a browser technology, takes a browser interface as a human-computer interaction interface of the graphics offline configuration software, determines graphics online operation software based on a QT technology, determines a graphics library based on an OpenGL SC standard, and draws and renders graphics by the graphics library for the graphics offline configuration software and the graphics online operation software. Because the browser technology is a cross-platform technology taking the Web technology as a core, and the Web interface can run on various platforms, the graphic offline configuration software can have the cross-platform capability by applying the browser technology to the graphic offline configuration software. Meanwhile, the QT has cross-platform capacity, so the online graph running software determined based on the QT technology also has the cross-platform capacity.
In addition, because the offline configuration software and the online operation software of the graphs adopt the same graph library to draw and render the graphs, the invention can also ensure that the picture display under the offline configuration software of the graphs determined based on the browser technology is completely consistent with the picture display under the online operation software of the graphs determined based on the QT technology.
Preferably, the graphic library in the invention is a firmGL graphic library.
The FirmGL graphics library is a graphics library abstracted based on OpenGL SCs that satisfy aviation standard DO-178B.
The FirmGL graphic library is called by the graphic offline configuration software when the graphics are drawn and rendered, and meanwhile, the graphic online operation software also draws and renders the graphics based on the FirmGL graphic library when the graphics online operation software is in online operation, so that the strong consistency of graphic display can be ensured even if the graphic offline configuration software and the graphic online operation software are respectively under different operating system platforms.
Further, the FirmGL Graphics library in the present invention performs Graphics rendering based on a GPU (Graphics Processing Unit), so that the fluency of the screen display can be greatly improved.
It should be noted that, because QT has the advantage of high stability, the graphics online running software draws and renders graphics using a graphics library based on the OpenGL SC standard under the QT technology, so that the rendered image can be displayed more safely and smoothly.
In the traditional scheme, a three-layer architecture is adopted to design the graphic off-line configuration software in a B/S (browser/server) mode, the graphic off-line configuration software cannot directly realize data communication with a controlled object, and therefore the graphic off-line configuration software based on the browser technology is designed by adopting a five-layer architecture.
The five-layer structure of the graph off-line configuration software is as follows in sequence:
the display layer is used as the human-computer interaction interface and is used for a user to carry out engineering picture configuration and modification and compilation of a graphic element object;
the business layer is used for processing the business logic of the graph off-line configuration software;
the application support layer is used for calling a related processing program to realize the operation of the database through the data processing request of the functional layer;
the tool chain layer is used for placing a common tool chain required by the graphic offline configuration software;
and the language layer is used for placing the development language required by the graphic offline configuration software.
It should be noted that, for the specific working principle of each component in the device embodiment, please refer to the corresponding part of the method embodiment, which is not described herein again.
Corresponding to the above embodiment, as shown in fig. 5, the present invention further provides an electronic device, which may include: a processor 1 and a memory 2;
wherein, the processor 1 and the memory 2 complete the communication with each other through the communication bus 3;
a processor 1 for executing at least one instruction;
a memory 2 for storing at least one instruction;
the processor 1 may be a central processing unit CPU or an application Specific Integrated circuit asic or one or more Integrated circuits configured to implement embodiments of the present invention.
The memory 2 may comprise high-speed RAM memory, and may also include non-volatile memory, such as at least one disk memory.
Wherein, the processor executes at least one instruction to realize the following functions:
determining graph off-line configuration software based on a browser technology, and taking a browser interface as a human-computer interaction interface of the graph off-line configuration software;
determining online graph running software based on QT technology;
and determining a graphic library based on the OpenGL SC standard, wherein the graphic library is used for drawing and rendering graphics by the graphic offline configuration software and the graphic online operation software.
The invention also discloses a computer readable storage medium, which stores at least one instruction, and the at least one instruction realizes the following functions when being executed by a processor:
determining graph offline configuration software based on a browser technology, and taking a browser interface as a human-computer interaction interface of the graph offline configuration software;
determining online graph running software based on QT technology;
and determining a graphic library based on the OpenGL SC standard, wherein the graphic library is used for drawing and rendering graphics by the graphic offline configuration software and the graphic online operation software.
In summary, the invention discloses an electronic device and a computer readable storage medium, which determine a graphic offline configuration software based on a browser technology, take a browser interface as a human-computer interaction interface of the graphic offline configuration software, determine a graphic online operation software based on a QT technology, determine a graphic library based on an OpenGL SC standard, and allow the graphic offline configuration software and the graphic online operation software to draw and render graphics by the graphic library. Because the browser technology is a cross-platform technology taking the Web technology as a core, and the Web interface can run on various platforms, the graphic offline configuration software can have the cross-platform capability by applying the browser technology to the graphic offline configuration software. Meanwhile, the QT has cross-platform capacity, so that the online graphics running software determined based on the QT technology also has the cross-platform capacity.
In addition, because the offline configuration software and the online operation software of the graphs adopt the same graph library to draw and render the graphs, the invention can also ensure that the picture display under the offline configuration software of the graphs determined based on the browser technology is completely consistent with the picture display under the online operation software of the graphs determined based on the QT technology.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A processing method of graphic software is characterized by comprising the following steps:
determining graph off-line configuration software based on a browser technology, and taking a browser interface as a human-computer interaction interface of the graph off-line configuration software;
determining online graph running software based on QT technology;
and determining a graphic library based on the OpenGL SC standard, wherein the graphic library is used for drawing and rendering graphics by the graphic offline configuration software and the graphic online operation software.
2. The processing method according to claim 1, wherein the offline configuration software for graphics based on browser technology employs a five-layer architecture, and the five-layer architecture comprises in sequence:
the display layer is used as the human-computer interaction interface and is used for carrying out engineering picture configuration and modification and compilation on the graphic element object by a user;
the business layer is used for processing the business logic of the graph off-line configuration software;
the application support layer is used for calling a related processing program to realize the operation of the database through the data processing request of the functional layer;
the tool chain layer is used for placing a common tool chain required by the graphic offline configuration software;
and the language layer is used for placing the development language required by the graphic offline configuration software.
3. The process of claim 1, wherein the graphics library is a FirmGL graphics library;
the FirmGL graphic library is an abstracted graphic library based on OpenGL SCs meeting aviation standard DO-178B.
4. The processing method of claim 3, wherein the FirmGL graphics library is based on a Graphics Processor (GPU) for graphics rendering.
5. The process of claim 1, wherein the offline graphics configuration software is configured to convert a user-configured graphics screen into a standard-format graphics description file;
and the graphic online operation software is used for analyzing the standard format graphic description file and calling the graphic library to draw and render the analyzed graphic.
6. A graphics software processing apparatus, comprising:
the configuration software determining unit is used for determining the graphic off-line configuration software based on the browser technology and taking a browser interface as a human-computer interaction interface of the graphic off-line configuration software;
the operation software determining unit is used for determining the online operation software of the graph based on the QT technology;
and the graphics library determining unit is used for determining a graphics library based on the OpenGL SC standard, and the graphics library is used for drawing and rendering graphics by the graphics offline configuration software and the graphics online operation software.
7. The processing apparatus according to claim 6, wherein the offline configuration software for graphics based on browser technology employs a five-layer architecture, which in turn is:
the display layer is used as the human-computer interaction interface and is used for a user to carry out engineering picture configuration and modification and compilation of a graphic element object;
the business layer is used for processing the business logic of the graph off-line configuration software;
the application support layer is used for calling a related processing program to realize the operation of the database through the data processing request of the functional layer;
the tool chain layer is used for placing a common tool chain required by the graphic offline configuration software;
and the language layer is used for placing the development language required by the graphic offline configuration software.
8. The processing apparatus according to claim 6, wherein the graphics library is a firmGL graphics library;
the FirmGL graphic library is an abstracted graphic library based on OpenGL SCs meeting aviation standard DO-178B.
9. An electronic device, comprising a memory and a processor;
the memory is to store at least one instruction;
the processor is used for executing the at least one instruction to realize the processing method of the graphic software according to any one of claims 1 to 5.
10. A computer-readable storage medium storing at least one instruction which, when executed by a processor, implements a method of processing graphics software according to any one of claims 1 to 5.
CN202210385636.7A 2022-04-13 2022-04-13 Graphic software processing method and device, electronic equipment and storage medium Pending CN114895891A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210385636.7A CN114895891A (en) 2022-04-13 2022-04-13 Graphic software processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210385636.7A CN114895891A (en) 2022-04-13 2022-04-13 Graphic software processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114895891A true CN114895891A (en) 2022-08-12

Family

ID=82716724

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210385636.7A Pending CN114895891A (en) 2022-04-13 2022-04-13 Graphic software processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114895891A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115712426A (en) * 2022-11-18 2023-02-24 上海船舶运输科学研究所有限公司 Method and system for modifying graphical interface of ship monitoring and alarming system in real time
CN116501301A (en) * 2023-06-25 2023-07-28 高伟达软件股份有限公司 Electron technology-based cross-platform image acquisition method and client

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060101404A1 (en) * 2004-10-22 2006-05-11 Microsoft Corporation Automated system for tresting a web application
WO2007095732A1 (en) * 2006-02-20 2007-08-30 Topeer Corporation System and method for controlling local computer applications using a web interface
CN107341197A (en) * 2017-06-16 2017-11-10 国电南瑞科技股份有限公司 A kind of power system multi version graphic difference visual presentation method
CN109445891A (en) * 2018-10-09 2019-03-08 北京国电智深控制技术有限公司 Picture configuration and methods of exhibiting, device, computer readable storage medium
CN109859326A (en) * 2019-01-28 2019-06-07 南京国电南自电网自动化有限公司 A kind of cross-platform two 3-D graphic linkage display systems of substation and method
CN110516303A (en) * 2019-07-24 2019-11-29 浙江兴土桥梁临时钢结构工程有限公司 Bridge construction management method for visualizing and device based on lightweight BIM
CN111414215A (en) * 2019-01-07 2020-07-14 比亚迪股份有限公司 Human-computer interface generation method and device and storage medium
CN111708599A (en) * 2020-08-18 2020-09-25 江苏神彩科技股份有限公司 Configuration diagram display method, device, equipment and storage medium
CN112464119A (en) * 2020-11-17 2021-03-09 浙江浙大中控信息技术有限公司 Web-end-based SCADA (supervisory control and data acquisition) online configuration editing method
CN112596658A (en) * 2021-01-08 2021-04-02 江苏徐工信息技术股份有限公司 Cloud rendering data visualization engine based on OpenGL
WO2021254246A1 (en) * 2020-06-15 2021-12-23 中冶南方都市环保工程技术股份有限公司 Svg technology-based method for real-time monitoring of industrial data

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060101404A1 (en) * 2004-10-22 2006-05-11 Microsoft Corporation Automated system for tresting a web application
WO2007095732A1 (en) * 2006-02-20 2007-08-30 Topeer Corporation System and method for controlling local computer applications using a web interface
CN107341197A (en) * 2017-06-16 2017-11-10 国电南瑞科技股份有限公司 A kind of power system multi version graphic difference visual presentation method
CN109445891A (en) * 2018-10-09 2019-03-08 北京国电智深控制技术有限公司 Picture configuration and methods of exhibiting, device, computer readable storage medium
CN111414215A (en) * 2019-01-07 2020-07-14 比亚迪股份有限公司 Human-computer interface generation method and device and storage medium
CN109859326A (en) * 2019-01-28 2019-06-07 南京国电南自电网自动化有限公司 A kind of cross-platform two 3-D graphic linkage display systems of substation and method
CN110516303A (en) * 2019-07-24 2019-11-29 浙江兴土桥梁临时钢结构工程有限公司 Bridge construction management method for visualizing and device based on lightweight BIM
WO2021254246A1 (en) * 2020-06-15 2021-12-23 中冶南方都市环保工程技术股份有限公司 Svg technology-based method for real-time monitoring of industrial data
CN111708599A (en) * 2020-08-18 2020-09-25 江苏神彩科技股份有限公司 Configuration diagram display method, device, equipment and storage medium
CN112464119A (en) * 2020-11-17 2021-03-09 浙江浙大中控信息技术有限公司 Web-end-based SCADA (supervisory control and data acquisition) online configuration editing method
CN112596658A (en) * 2021-01-08 2021-04-02 江苏徐工信息技术股份有限公司 Cloud rendering data visualization engine based on OpenGL

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
何强: "基于Qt的嵌入式智能家居组态软件设计", 自动化技术, no. 3, 15 March 2022 (2022-03-15), pages 2 *
张智慧,杨利,刘大鹏: "跨平台核安全级DCS图形组态软件设计与实现", 仪器仪表用户, vol. 29, no. 3, 5 March 2022 (2022-03-05), pages 31 - 34 *
杨振麒: "基于嵌入式WEB的组态软件关键技术开发", 计算机软件及计算机应用, no. 10, 15 October 2015 (2015-10-15) *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115712426A (en) * 2022-11-18 2023-02-24 上海船舶运输科学研究所有限公司 Method and system for modifying graphical interface of ship monitoring and alarming system in real time
CN115712426B (en) * 2022-11-18 2023-08-04 上海船舶运输科学研究所有限公司 Method and system for modifying graphical interface of ship monitoring alarm system in real time
CN116501301A (en) * 2023-06-25 2023-07-28 高伟达软件股份有限公司 Electron technology-based cross-platform image acquisition method and client

Similar Documents

Publication Publication Date Title
US10008009B1 (en) Method for generating dynamic vector graphics
KR101507629B1 (en) Browser-based proxy server for customization and distribution of existing applications
US8549395B2 (en) Method and system for transforming an integrated webpage
US8091030B1 (en) Method and apparatus of graphical object selection in a web browser
RU2390834C2 (en) Method and device for browsing and interacting with electronic worksheet from web-browser
CN102221993B (en) The declarative definition of complex user interface Status Change
CN110968944B (en) Method for displaying and operating CAD drawing on Web front end
US8209598B1 (en) Exporting electronic documents from rich internet applications
CN114895891A (en) Graphic software processing method and device, electronic equipment and storage medium
US20130182003A1 (en) Method and System for Executing a Graphics Application
JPH0887495A (en) Cut amd paste method for table data and data processing system
CN113095995A (en) Webpage watermark adding method and device, electronic equipment and storage medium
CN114357345A (en) Picture processing method and device, electronic equipment and computer readable storage medium
CN111459501A (en) SVG-based Web configuration picture storage and display system, method and medium
CN111915705A (en) Picture visual editing method, device, equipment and medium
CN111813403A (en) Method and device for managing dragging component data in large-screen data visualization development
CN112364496A (en) Avionics simulation panel generation system based on HTML5 and VUE technology
CN113688341B (en) Dynamic picture decomposition method and device, electronic equipment and readable storage medium
CN114297700B (en) Dynamic and static combined mobile application privacy protocol extraction method and related equipment
CN112905944A (en) Page online dynamic generation method and device, electronic equipment and readable storage medium
CN116245052A (en) Drawing migration method, device, equipment and storage medium
CN115830184A (en) General file and picture annotation method, system and medium
CN113835835B (en) Method, device and computer readable storage medium for creating consistency group
CN115170695A (en) Method and device for generating chart picture, electronic equipment and storage medium
KR20100117156A (en) Method for printing a captured screen of web pages

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