WO2020143584A1 - 人机界面生成方法、装置、存储介质及计算机设备 - Google Patents

人机界面生成方法、装置、存储介质及计算机设备 Download PDF

Info

Publication number
WO2020143584A1
WO2020143584A1 PCT/CN2020/070516 CN2020070516W WO2020143584A1 WO 2020143584 A1 WO2020143584 A1 WO 2020143584A1 CN 2020070516 W CN2020070516 W CN 2020070516W WO 2020143584 A1 WO2020143584 A1 WO 2020143584A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
graphic
machine interface
human
basic
Prior art date
Application number
PCT/CN2020/070516
Other languages
English (en)
French (fr)
Inventor
刘加乐
Original Assignee
比亚迪股份有限公司
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 比亚迪股份有限公司 filed Critical 比亚迪股份有限公司
Publication of WO2020143584A1 publication Critical patent/WO2020143584A1/zh

Links

Images

Classifications

    • 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
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Definitions

  • the present application relates to the field of rail transit technology, and in particular, to a method, device, storage medium, and computer equipment for generating a human-machine interface.
  • ISCS Integrated Supervisory Control System
  • rail transit is a powerful, open, modular, and scalable distributed control system. It is an integrated system that integrates and interconnects multiple subsystems. It adopts a systematic method to connect the distributed automation systems into an organic whole, realize the information exchange and resource sharing between the monitoring equipment of rail transit, improve the coordination and coordination ability of each monitoring equipment, realize the efficient linkage between the systems, improve The overall automation level of the entire rail transit line.
  • the integrated monitoring system collects and processes the status and performance data of the monitored objects in real time, and displays them in the form of graphics, images, tables, and text through the Human Machine Interface (HMI) for the control and monitoring of dispatchers.
  • HMI Human Machine Interface
  • This application aims to solve one of the technical problems in the related art at least to a certain extent.
  • the purpose of this application is to propose a method, device, storage medium, and computer equipment for generating a human-machine interface, which can improve the design and generation method of the human-machine interface, make the human-machine interface easy to maintain and modify, and effectively improve flexibility and Scalability.
  • the method for generating a human-machine interface proposed in the embodiment of the first aspect of the present application includes: determining a graphic required for the human-machine interface to be generated; determining a graphic configuration module corresponding to the graphic and serving as a target graphic group State module; read the target graphical control provided by the target graphical configuration module and the target graphical interface file corresponding to the target graphical control; load the target graphical control in the initial man-machine interface, and load Generates a human-machine interface to be generated; wherein, the target graphical interface file records an application programming interface that implements the target business function corresponding to the target graphical control, and the target graphical control is triggered when the user At this time, the target business function is realized by calling the application programming interface.
  • the method for generating a human-machine interface determines the graphics configuration module corresponding to the graphics by determining the graphics required for the human-machine interface to be generated and serving as the target graphics configuration module to read the target graphics group
  • the target graphical control provided by the status module, and the target graphical interface file corresponding to the target graphical control, and loading the target graphical control in the initial man-machine interface, and generating the man-machine interface to be generated according to the loaded man-machine interface, in which ,
  • the target graphical interface file records the application programming interface that realizes the target business function corresponding to the target graphical control.
  • the target business function is realized by calling the application programming interface.
  • the graphic interface files required for the operation of the machine interface only loads the graphic controls provided by the graphic configuration module, which improves the design and generation method of the man-machine interface, makes the man-machine interface easy to maintain and modify, and effectively improves flexibility and flexibility. Expandability.
  • the human-machine interface generation device proposed in the embodiment of the second aspect of the present application includes: a first determination module for determining graphics required for the human-machine interface to be generated; and a second determination module for determining and The graphic configuration module corresponding to the graphic is used as the target graphic configuration module; the reading module is used to read the target graphic control provided by the target graphic configuration module and the target graphic corresponding to the target graphic control Interface file; a loading module, used to load the target graphical control in the initial human-machine interface, and generate the human-machine interface to be generated according to the loaded human-machine interface; wherein, the target graphical interface file records An application programming interface that implements a target business function corresponding to the target graphical control, and when the user triggers the target graphical control, the target business function is implemented by calling the application programming interface.
  • the device for generating a human-machine interface determines the graphics configuration module corresponding to the graphics by determining the graphics required for the human-machine interface to be generated and serving as the target graphics configuration module to read the target graphics group
  • the target graphical control provided by the status module, and the target graphical interface file corresponding to the target graphical control, and loading the target graphical control in the initial man-machine interface, and generating the man-machine interface to be generated according to the loaded man-machine interface, in which ,
  • the target graphical interface file records the application programming interface that realizes the target business function corresponding to the target graphical control.
  • the target business function is realized by calling the application programming interface.
  • the graphic interface files required for the operation of the machine interface only loads the graphic controls provided by the graphic configuration module, which improves the design and generation method of the man-machine interface, makes the man-machine interface easy to maintain and modify, and effectively improves flexibility and flexibility. Expandability.
  • the computer-readable storage medium provided by the embodiment of the third aspect of the present application, when the instructions in the storage medium are executed by the processor of the mobile terminal, enable the mobile terminal to execute a method for generating a human-machine interface
  • the method includes: the method for generating a human-machine interface proposed in the embodiment of the first aspect of the present application.
  • the computer-readable storage medium proposed in the embodiment of the third aspect of the present application determines the graphic configuration module corresponding to the graphic by determining the graphic required by the human-machine interface to be generated and serving as the target graphic configuration module to read the target graphic group
  • the target graphical interface file records the application programming interface that realizes the target business function corresponding to the target graphical control.
  • the target business function is realized by calling the application programming interface.
  • the man-machine interface only loads the graphic controls provided by the graphic configuration module, which improves the design and generation method of the man-machine interface, makes the man-machine interface easy to maintain and modify, and effectively improves flexibility and flexibility. Expandability.
  • the fourth aspect of the present application also provides a computer device, which includes a housing, a processor, a memory, a circuit board, and a power circuit, wherein the circuit board is placed on the housing Inside the space, the processor and the memory are provided on the circuit board; the power circuit is used to power each circuit or device of the computer device; the memory is used to store executable program code;
  • the processor runs the program corresponding to the executable program code by reading the executable program code stored in the memory for execution: determining graphics required by the human-machine interface to be generated;
  • the graphic configuration module corresponding to the graphic is used as the target graphic configuration module; read the target graphic control provided by the target graphic configuration module, and the target graphic interface file corresponding to the target graphic control; at the initial human-machine interface Loading the target graphical control in, and generating the to-be-generated human-machine interface according to the loaded human-machine interface; wherein, the target graphical interface file records an application that implements the target business function corresponding to the target
  • the computer equipment proposed in the embodiment of the fourth aspect of the present application determines the graphic configuration module corresponding to the graphic and determines it as the target graphic configuration module by reading the graphic required by the human-machine interface to be generated, and reading the target graphic configuration module.
  • the interface file records the application programming interface that realizes the target business function corresponding to the target graphical control.
  • the target business function is realized by calling the application programming interface.
  • the human-machine interface only loads the graphical controls provided by the graphical configuration module, which improves the design and generation method of the human-machine interface, makes the human-machine interface easy to maintain and modify, and effectively improves flexibility and scalability.
  • FIG. 1 is a schematic flowchart of a method for generating a man-machine interface according to an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a method for generating a man-machine interface according to another embodiment of the present application
  • FIG. 3 is a structural diagram of a human-machine interface in an embodiment of the present application.
  • FIG. 4 is a schematic diagram of the relationship between a human-machine interface and an implementation service in an embodiment of this application;
  • FIG. 6 is a schematic diagram of a layout of a human-machine interface in an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of an apparatus for generating a man-machine interface according to an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a device for generating a man-machine interface according to another embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a computer device according to an embodiment of the present application.
  • FIG. 1 is a schematic flowchart of a method for generating a man-machine interface according to an embodiment of the present application.
  • This embodiment is exemplified by a method in which a human-machine interface generation method is configured as a human-machine interface generation device.
  • the human-machine interface generation method in this embodiment may be configured in a human-machine interface generation device, and the human-machine interface generation device may be set in a server, or may also be set in an electronic device, which is not limited in this embodiment of the present application.
  • the human-machine interface generating method is configured in an electronic device as an example.
  • the execution subject of the embodiment of the present application may be, for example, a central processing unit (CPU) in a server or an electronic device on hardware, and may be a relevant server or electronic device in a software There are no restrictions on background services.
  • CPU central processing unit
  • the method includes:
  • S101 Determine the graphics required for the human-machine interface to be generated.
  • the application requirements of the generated human-machine interface can be analyzed to obtain the graphics required to generate the human-machine interface to be generated, and the graphics configuration module corresponding to the graphics can be determined and targeted Graphic configuration module.
  • the application requirements may be the requirements described in the requirements document of the man-machine interface to be generated, for example, the requirements of the text category, the requirements of the picture category, the schematic diagram of the interface effect, etc., which are not limited.
  • the application requirements of the generated human-machine interface can be analyzed in advance to obtain the graphics required for generating the human-machine interface to be generated, wherein the graphics can be specifically some sub-graphics obtained by decomposing the above-mentioned schematic diagram of the interface effect, or can also be Some sub-graphics in other landing interfaces that can be jumped via the human-machine interface to be generated are not limited to this.
  • the graphic configuration module is pre-generated, and multiple graphic configuration modules can be generated in advance.
  • the graphic configuration module corresponding to the graphic can be called a target graphic configuration module.
  • a graphic configuration module corresponds to a basic graphic control, and the developer of the man-machine interface can intuitively judge the basic graphic control corresponding to the graphic, and configure the graphic configuration to which the corresponding basic graphic control belongs
  • the module serves as the target graphic configuration module, which is not limited.
  • the method before determining the graphics required for generating the human-machine interface, the method further includes:
  • S201 Analyze the business functions provided by the rail transit integrated monitoring system in advance, and obtain a plurality of basic graphical control identifiers required to realize the business functions.
  • multiple basic graphic controls can be pre-packaged, and the attributes of each basic graphic control can be associated with the attributes of the model object provided by the preset script to generate a graphic configuration module, that is, comprehensive monitoring of the rail transit in advance Analyze the business functions provided by the system, and obtain the multiple basic graphical control logos needed to realize the business functions. Since it is a comprehensive analysis of the business functions provided by the rail transit integrated monitoring system, it can obtain what the implementation system can provide. Multiple basic graphic control logos required for the function of the function, and related technologies do not pre-analyze the business functions provided by the rail transit integrated monitoring system to obtain the corresponding graphic control logos.
  • the graphic configuration module encapsulated in the control label can fully cover the business functions provided by the rail transit integrated monitoring system, which is convenient for subsequent development and application.
  • the man-machine interface is only responsible for loading the graphic group
  • the state-of-the-art module provides basic graphical controls, and the man-machine interface in the related technology, at the completion of the development of the integrated monitoring system, is to solidify graphics, images, tables and text, so as to display the status and performance data of the monitored objects based on the man-machine interface Therefore, in this application, by configuring only the man-machine interface, it is only responsible for loading the graphic configuration module to provide basic graphic controls, which is convenient for the maintenance and expansion of the man-machine interface, and because the graphic configuration module has a comprehensive coverage of the rail transit comprehensive monitoring system
  • the basic graphics of the business functions that can be provided, and can be edited and modified, so as to ensure the flexibility and scalability of the man-machine interface.
  • S203 A preset computer programming language is used to encapsulate each basic control and the corresponding basic graphic control identification, where the basic graphic control identification is used to uniquely mark the corresponding basic control.
  • S204 Combine each encapsulated basic control with a corresponding basic graphic control identifier as a basic graphic control, where the target graphic control includes one or more of the multiple basic graphic controls.
  • S205 Use the target mechanism in the preset development framework to associate each basic graphical control with the attributes of the model object provided by the preset script.
  • the default development framework is the Qt development framework (an object-oriented framework is a cross-platform graphical user interface application development framework developed by Qt), the target mechanism is the signal slot mechanism, and the default script is QML script (a kind of Descriptive scripting language), the default computer programming language is C++ programming language (a computer programming language).
  • Qt development framework an object-oriented framework is a cross-platform graphical user interface application development framework developed by Qt
  • the target mechanism is the signal slot mechanism
  • the default script is QML script (a kind of Descriptive scripting language)
  • the default computer programming language is C++ programming language (a computer programming language).
  • the Qt3D module (3Dimensions module in the Qt development framework) and Qtquick (a kind of Advanced user interface technology), combined with C++ programming language (a computer programming language) to generate multiple basic graphical controls that comprehensively cover the business functions provided by the integrated rail transit monitoring system.
  • the basic graphical controls have 3D effect, that is, the basic graphic control in the graphic configuration module.
  • the basic graphic controls encapsulated in the graphic configuration module are associated with the attributes of the 3D model object provided in the QML script, thereby ensuring that the C++ object and the 3D model in its script
  • the communication and response of objects can help to improve the response efficiency of the generated human-machine interface as a whole and improve the performance of the rail transit system.
  • S208 generate a graphic configuration module according to each basic graphic control and a corresponding graphic interface file, and the target graphic configuration module is one of multiple graphic configuration modules.
  • the human-machine interface is designed based on the Qt3D module and Qtquick in the Qt development framework, which can realize the 3D effect of the human-machine interface, but the human-machine interface in the related art cannot achieve the 3D effect. It can display the current status of each subsystem in a more intuitive and three-dimensional manner.
  • the QML script can create a 3D model object of a basic graphical control in the script, and supports Various graphic special effects, and state machines, etc., can also be easily interacted with the C++ programming language in the Qt development framework, which is very convenient to use; the embodiments of this application can also make the human-machine interface realized cross-platform and support A variety of operating systems, therefore, it is convenient for later maintenance.
  • the graphics effects are basically implemented in QML scripts. Modifying the relevant attributes of basic graphic controls such as color and shape can only be modified in the corresponding QML scripts.
  • an object-oriented method can also be used for design, which has good readability, maintainability and scalability, high aggregation and low coupling between modules, and a clear hierarchy to facilitate implementation and reuse.
  • the target graphical interface file is generated by using the signal slot mechanism in the Qt development framework to associate the target graphical control with the attributes of the model object provided by the QML script.
  • S104 Load the target graphical control in the initial human-machine interface, and generate a human-machine interface to be generated according to the loaded human-machine interface.
  • the man-machine interface loaded with the target graphical control may be referred to as a loaded man-machine interface.
  • the loaded man-machine interface only loads the target graphical control, and is not capable of responding to user operations.
  • the machine interface is a final man-machine interface loaded with target graphical controls and loaded with processing logic in response to user operations.
  • the man-machine interface to be generated can respond to user operations. Therefore, in the embodiments of the present application, the After the man-machine interface generates the man-machine interface to be generated, the man-machine interface to be generated becomes a system window capable of providing various functions of the rail transit system to the user, so that the rail transit system responds to the user via the man-machine interface to be generated Operate to provide system functionality.
  • the target graphical interface file records an application programming interface that implements the target business function corresponding to the target graphical control.
  • the target business function is realized by calling the application programming interface.
  • the target business function is a sub-function of the business function that can be provided by the rail transit integrated monitoring system.
  • the target business function is a function that can be realized based on the above-mentioned target graphical control.
  • the application programming interface corresponding to the target business function can be It is written in the target graphical interface file in advance. Therefore, when loading the target graphical control in the initial man-machine interface and generating the man-machine interface to be generated according to the loaded man-machine interface, you can directly call the above pre-written The application programming interface realizes the target business function, so as to obtain a better efficiency of human-machine interface generation.
  • the human-machine interface in the embodiment of the present application is based on the 3D module in the Qt development framework, QtCanvas3D (3Dimensions Canvas in the Qt development framework, three-dimensional canvas) and other Qt (a cross-platform graphical user interface application development framework developed by Qt)
  • the interface library and C++ programming language are used for development.
  • the development environment uses 3D Max+Visual Studio2015+Qt plug-in (a set of component-based software development tools).
  • 3D Studio Max referred to as 3d Max or 3ds MAX
  • 3d Max is a personal computer-based 3D animation rendering and production software developed by Discreet.
  • 3d Max is used to provide the 3D models required in the Qt development framework
  • Visual Studio 2015 + Qt plug-in Provides a compilation environment for the Qt development framework.
  • Visual Studio 2015 is a set of component-based software development tools that can be used to build powerful, high-performance applications that are easy to manage and debug.
  • MVC Model, View and Controller
  • It is a model of software design and uses a business logic. , Data, interface display separation method to organize code, gather business logic into a component, while improving and personalizing the interface and user interaction, there is no need to rewrite business logic.
  • the embodiments of the present application are developed based on the Qt development framework, so they have cross-platform features and can run on operating systems such as Windows and Linux.
  • the embodiments of the present application integrate and interconnect the power monitoring system, environment and equipment monitoring system, automatic fire alarm system, signal system, automatic ticket inspection system, passenger information system, and closed-circuit television monitoring system that can be monitored by the rail transit integrated monitoring system. Broadcasting systems, clock systems, access control systems, platform door systems, etc., based on the 3D module in the Qt development framework, can more intuitively display the relevant data models, trends and related information involved in the above listed systems, see Figure 3, Figure 3 for this The architecture diagram of the man-machine interface in the application example.
  • the data available to the human-machine interface in the embodiment of the present application, and the data-related information come from the real-time database, see FIG. 4, which is a schematic diagram of the relationship between the human-machine interface and the implementation service in the embodiment of the present application.
  • the real-time library, history library, event service, alarm service, permission service, report service of the service interact with each other to obtain data or call its interface.
  • the main data flow is the data interaction with the real-time service framework.
  • FIG. 5 is a schematic diagram of data flow in an embodiment of the present application.
  • Data flow 1 represents a real-time data flow.
  • the client corresponding to the man-machine interface can access real-time library data through the man-machine interface data service, or can directly access the real-time library.
  • data stream 2 represents the control command data stream, and the client corresponding to the man-machine interface sends commands to the implementation service to control the terminal device
  • data stream 3 represents the alarm data stream, and the client corresponding to the man-machine interface sends the alarm service Send alarm information
  • data stream 4 represents the event data stream, and the client corresponding to the man-machine interface sends event information to the event service
  • data stream 5 represents the authority data stream, and the client corresponding to the man-machine interface authenticates the user authority and authority service to the authority service Provide relevant login permission information.
  • the man-machine interface in the embodiment of the present application is provided by a graphic configuration module, and the man-machine interface is responsible for loading, which makes the man-machine interface design more flexible and easy to maintain.
  • the graphic configuration module is encapsulated by the C++ programming language with basic graphic controls.
  • the basic graphic controls in the embodiments of the present application are mainly 3D graphics.
  • the basic graphic controls are implemented based on Qt3D and Qtquick modules.
  • Qt3D Open Graphics Library
  • GLSL OpenGL Shading Language
  • Qt3D also provides a fully configurable renderer, developers can quickly render through the renderer, and also provides a general framework for near real-time simulation.
  • Qt3D is composed of a core module and additional modules.
  • the additional modules provide specific functions, such as a physical model module, an audio module, a collision module, an artificial intelligence module, and a path search module.
  • the Qt3D module is combined with Qt canvas3D to realize the 3D effect of the human-machine interface.
  • Qt canvas3D is similar to the HyperText Markup Language (HyperText Markup Language, HTML) architecture.
  • the 2D part uses QML scripts with its own controls, and the 3D part uses Qt canvas3D drawing.
  • Qt canvas3D can be integrated with QML scripts and other components in a tacit understanding, and displayed in the same window.
  • Qt canvas3D as the basic 3D drawing application programming interface library is more flexible.
  • FIG. 6 is a schematic diagram of the layout of the human-machine interface in the embodiment of the present application.
  • the interface can be divided into a general interface and a functional interface.
  • the functional interface includes screens of various subsystems.
  • the general interface mainly serves all logged-in users, and provides common operations and basic information of the client-side human-machine interface. , Such as login, logout, alarm and other basic operation interfaces, the functional interface mainly faces specific users with the system permissions of the sub-function, and monitors the status of the subsystem through a dedicated interface. You can use Qt3D and QtCanvas3D combined with the basic graphics library of the Qt development framework to design each sub-screen to present a 3D display effect, making the entire human-machine interface more intuitive and vivid.
  • Qt3D is based on QML scripts and can be established by importing 3DMax A good model to achieve part of the 3D display effect, and then the Qt development framework loads QML scripts and model obj (3D model file format) files in the form of loading resources, or, in the embodiment of this application, pictures and sounds can also be resources
  • the file is loaded into the background program code corresponding to the display unit.
  • the graphic configuration module corresponding to the graphic is determined and used as the target graphic configuration module, the target graphic control provided by the target graphic configuration module is read, and A target graphical interface file corresponding to the target graphical control, and loading the target graphical control in the initial human-machine interface, and generating a human-machine interface to be generated according to the loaded human-machine interface, wherein the target graphical interface file records the achievement of the goal
  • the application programming interface of the target business function corresponding to the graphical control When the user triggers the target graphical control, the target business function is realized by calling the application programming interface.
  • the man-machine interface Since the graphical configuration module is used to provide the graphical interface file required for the operation of the man-machine interface, The man-machine interface only loads the graphic controls provided by the graphic configuration module. In the related technology, the man-machine interface is solidified with graphics, images, tables and texts at the completion of the development of the integrated monitoring system to adopt the man-machine interface to monitor objects.
  • the status and performance data are displayed, and the human-machine interface generated in this application is only responsible for loading the basic graphic controls provided by the graphic configuration module, which is convenient for the maintenance and expansion of the human-machine interface, and, because the basic graphic controls have corresponding Graphical interface file, the target graphical interface file records the application programming interface that realizes the target business function corresponding to the target graphical control, so that when the user triggers the target graphical control, the target business function can be achieved by calling the application programming interface, Therefore, the generated man-machine interface is easier to expand, modify and maintain, thereby improving the design and generation method of the man-machine interface, making the man-machine interface easy to maintain and modify, and effectively improving flexibility and scalability.
  • FIG. 7 is a schematic structural diagram of a device for generating a man-machine interface according to an embodiment of the present application.
  • the device 700 includes:
  • the first determining module 701 is used to determine the graphics required by the human-machine interface to be generated.
  • the second determination module 702 is used to determine a graphic configuration module corresponding to the graphic and serve as a target graphic configuration module.
  • the reading module 703 is used to read the target graphic control provided by the target graphic configuration module and the target graphic interface file corresponding to the target graphic control.
  • the loading module 704 is used to load the target graphical control in the initial human-machine interface, and generate a human-machine interface to be generated according to the loaded human-machine interface; wherein, the target graphical interface file records the target business corresponding to the target graphical control Functional application programming interface, when the user triggers the target graphical control, the target business function is realized by calling the application programming interface.
  • the method further includes:
  • the analysis module 705 is used to analyze in advance the business functions provided by the rail transit integrated monitoring system, and obtain a plurality of basic graphical control identifiers required to realize the business functions.
  • the third determination module 706 is configured to determine a corresponding basic graphic control identifier for each of the multiple basic controls provided in the preset development framework.
  • the encapsulation module 707 is used to encapsulate each basic control and the corresponding basic graphic control identification in a preset computer programming language, wherein the basic graphic control identification is used to uniquely mark the corresponding basic control, combining the encapsulated basic controls
  • the basic graphic control is identified as a basic graphic control, where the target graphic control contains one or more of the multiple basic graphic controls.
  • the method further includes:
  • the association module 708 is used to use the target mechanism in the preset development framework to associate each basic graphic control with the attributes of the model object provided by the preset script;
  • the first generating module 709 is configured to generate a graphical interface file corresponding to each basic graphical control according to the result obtained by the association, and the target graphical interface file is one of a plurality of graphical interface files.
  • the writing module 710 is used to write the application programming interface that realizes the business function of the basic graphical control into the graphical interface file.
  • the second generation module 711 is used to generate a graphic configuration module according to each basic graphic control and a corresponding graphic interface file, and the target graphic configuration module is one of a plurality of graphic configuration modules.
  • the first determining module 701 is specifically used to:
  • the application requirements of the human-machine interface to be generated are analyzed to obtain the graphics required to generate the human-machine interface to be generated.
  • the preset development framework is a Qt development framework
  • the target mechanism is a signal slot mechanism
  • the preset script is a QML script.
  • the graphics configuration module corresponding to the graphics is determined and used as the target graphics configuration module, the target graphics control provided by the target graphics configuration module is read, and A target graphical interface file corresponding to the target graphical control, and loading the target graphical control in the initial human-machine interface, and generating a human-machine interface to be generated according to the loaded human-machine interface, wherein the target graphical interface file records the achievement of the goal
  • the application programming interface of the target business function corresponding to the graphical control When the user triggers the target graphical control, the target business function is realized by calling the application programming interface.
  • the man-machine interface Since the graphical configuration module is used to provide the graphical interface file required for the operation of the man-machine interface, The man-machine interface only loads the graphic controls provided by the graphic configuration module. In the related technology, the man-machine interface is solidified with graphics, images, tables and texts at the completion of the development of the integrated monitoring system to adopt the man-machine interface to monitor objects.
  • the status and performance data are displayed, and the human-machine interface generated in this application is only responsible for loading the basic graphic controls provided by the graphic configuration module, which is convenient for the maintenance and expansion of the human-machine interface, and, because the basic graphic controls have corresponding Graphical interface file, the target graphical interface file records the application programming interface that realizes the target business function corresponding to the target graphical control, so that when the user triggers the target graphical control, the target business function can be achieved by calling the application programming interface, Therefore, the generated man-machine interface is easier to expand, modify, and maintain, thereby improving the design and generation method of the man-machine interface, making the man-machine interface easy to maintain and modify, and effectively improving flexibility and scalability.
  • the present application also proposes a computer-readable storage medium.
  • the terminal can execute a method for generating a human-machine interface.
  • the method includes:
  • the target graphical interface file records an application programming interface that implements the target business function corresponding to the target graphical control.
  • the target business function is realized by calling the application programming interface.
  • the computer-readable storage medium in this embodiment determines the graphic configuration module corresponding to the graphic by determining the graphic required by the human-machine interface to be generated and serving as the target graphic configuration module, and reading the target graphic configuration module provides The target graphical control, and the target graphical interface file corresponding to the target graphical control, and loading the target graphical control in the initial man-machine interface, and generating the man-machine interface to be generated according to the loaded man-machine interface, wherein, the target graphical interface
  • the file records the application programming interface that realizes the target business function corresponding to the target graphical control. When the user triggers the target graphical control, the target business function is realized by calling the application programming interface.
  • the human-machine interface Since the graphical configuration module is used to provide the man-machine interface For the required graphic interface files, the human-machine interface only loads the graphic controls provided by the graphic configuration module.
  • the human-machine interface is solidified with graphics, images, tables and texts in the stage of development of the integrated monitoring system to adopt human
  • the machine interface displays the status and performance data of the monitored objects, and the man-machine interface generated in this application is only responsible for loading the basic graphical controls provided by the graphics configuration module, which is convenient for the maintenance and expansion of the man-machine interface.
  • the basic graphical control corresponds to the corresponding graphical interface file
  • the target graphical interface file records the application programming interface that realizes the target business function corresponding to the target graphical control, so that when the user triggers the target graphical control, it can be programmed by calling the application
  • the interface realizes the target business function, so that the generated human-machine interface is easier to expand, modify and maintain, thereby improving the design and generation method of the human-machine interface, making the human-machine interface easy to maintain and modify, and effectively improving flexibility and scalability .
  • FIG. 9 is a schematic structural diagram of a computer device according to an embodiment of the present application.
  • the computer device 90 may be a mobile phone, a tablet computer, or the like.
  • the computer device 90 of this embodiment includes: a housing 901, a processor 902, a memory 903, a circuit board 904, a power supply circuit 905, the circuit board 904 is placed in the space enclosed by the housing 901, the processor 902,
  • the memory 903 is provided on the circuit board 904; the power circuit 905 is used to supply power to each circuit or device of the computer device 90; the memory 903 is used to store executable program code; wherein, the processor 902 reads the executable stored in the memory 903 Program code to run the program corresponding to the executable program code for execution:
  • the target graphical interface file records an application programming interface that implements the target business function corresponding to the target graphical control, and when the user triggers the target graphical control, the target is achieved by calling the application programming interface Business functions.
  • the processor is also used to:
  • Each encapsulated basic control is combined with the corresponding basic graphic control identifier as a basic graphic control, wherein the target graphic control includes one or more of a plurality of basic graphic controls.
  • the processor is also used to:
  • a graphic configuration module is generated corresponding to the corresponding graphic interface file, and the target graphic configuration module is one of a plurality of graphic configuration modules.
  • the processor is also used to:
  • the application requirements of the human-machine interface to be generated are analyzed to obtain graphics required for generating the human-machine interface to be generated.
  • the computer device in this embodiment determines the graphic configuration module corresponding to the graphic and determines it as the target graphic configuration module by determining the graphic required for the human-machine interface to be generated, and reads the target graphic provided by the target graphic configuration module Control, and the target graphical interface file corresponding to the target graphical control, and loading the target graphical control in the initial man-machine interface, and generating the man-machine interface to be generated according to the loaded man-machine interface, in which the target graphical interface file is recorded
  • the graphic configuration module is used to provide the graphics required for the operation of the man-machine interface
  • the interface file the man-machine interface only loads the graphic controls provided by the graphic configuration module, and the man-machine interface in the related technology is in the stage of completion of the development of the integrated monitoring system, that is, the graphics, images, tables and text are solidified to adopt the man-machine interface
  • the status and performance data of the monitored objects are displayed, and the man-machine interface generated in this application is only responsible for loading the basic graphic controls provided by the graphic configuration module, which is convenient for the maintenance and expansion of the man-machine interface, and, because of the basic graphic controls
  • the target graphical interface file records the application programming interface that realizes the target business function corresponding to the target graphical control, so that when the user triggers the target graphical control, the target can be achieved by calling the application programming interface Business functions, therefore, make the generated man-machine interface easier to expand, modify, and maintain, thereby improving the design and generation method of the man-machine interface
  • Any process or method description in a flowchart or otherwise described herein may be understood as representing a module, segment, or portion of code that includes one or more executable instructions for implementing specific logical functions or steps of a process , And the scope of the preferred embodiments of the present application includes additional implementations, in which the functions shown may not be in the order shown or discussed, including performing the functions in a substantially simultaneous manner or in reverse order according to the functions involved, which shall It is understood by those skilled in the art to which the embodiments of the present application belong.
  • each part of the present application may be implemented by hardware, software, firmware, or a combination thereof.
  • multiple steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system.
  • a logic gate circuit for implementing a logic function on a data signal
  • PGA programmable gate arrays
  • FPGA field programmable gate arrays
  • a person of ordinary skill in the art may understand that all or part of the steps carried by the method in the above embodiments may be completed by instructing relevant hardware through a program.
  • the program may be stored in a computer-readable storage medium. When executed, it includes one of the steps of the method embodiment or a combination thereof.
  • the storage medium mentioned above may be a read-only memory, a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Stored Programmes (AREA)

Abstract

本申请提出一种人机界面生成方法、装置、存储介质及计算机设备,该人机界面生成方法包括确定待生成的人机界面所需要的图形;确定与图形对应的图形组态模块并作为目标图形组态模块;读取目标图形组态模块所提供的目标图形控件,以及与目标图形控件对应的目标图形界面文件;在初始人机界面中加载目标图形控件,并根据加载后的人机界面生成待生成的人机界面;其中,目标图形界面文件中记录有实现目标图形控件对应的目标业务功能的应用程序编程接口,在用户触发目标图形控件时,经由调用应用程序编程接口实现目标业务功能。通过本申请能够改进人机界面的设计生成方法,使得人机界面便于维护和修改完善,有效提升灵活性和可扩展性。

Description

人机界面生成方法、装置、存储介质及计算机设备
相关申请的交叉引用
本申请要求比亚迪股份有限公司于2019年1月7日提交中国专利局、申请号为201910013263.9、发明名称为“人机界面生成方法、装置及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及轨道交通技术领域,尤其涉及一种人机界面生成方法、装置、存储介质及计算机设备。
背景技术
轨道交通中的综合监控系统(Integrated Supervisory Control System,ISCS)是一个功能强大的、开放的、模块化的、可扩展的分布式控制系统,是一个集成和互连了多个子系统的综合系统。其采用系统化方法将各分散的自动化系统联结为一个有机的整体,实现轨道交通各监控设备之间的信息互通、资源共享,提高各监控设备的协调配合能力,实现系统间的高效联动,提高轨道交通全线的整体自动化水平。
综合监控系统对监控对象的状态、性能数据进行实时收集和处理,通过人机界面(Human Machine Interface,HMI)以图形、图像、表格和文本的形式显示出来,供调度人员控制和监视,发明人发现,现有的人机界面不便于维护和修改完善,灵活性和可扩展性低,因此,有必要改进人机界面的设计生成方法,以辅助提高轨道交通的运营管理水平。
发明内容
本申请旨在至少在一定程度上解决相关技术中的技术问题之一。
为此,本申请的目的在于提出一种人机界面生成方法、装置、存储介质及计算机设备,能够改进人机界面的设计生成方法,使得人机界面便于维护和修改完善,有效提升灵活性和可扩展性。
为达到上述目的,本申请第一方面实施例提出的人机界面生成方法,包括:确定待生成的人机界面所需要的图形;确定与所述图形对应的图形组态模块并作为目标图形组态模块;读取所述目标图形组态模块所提供的目标图形控件,以及与所述目标图形控件对应的目标图形界面文件;在初始人机界面中加载所述目标图形控件,并根据加载后的人机界面生成所述 待生成的人机界面;其中,所述目标图形界面文件中记录有实现所述目标图形控件对应的目标业务功能的应用程序编程接口,在用户触发所述目标图形控件时,经由调用所述应用程序编程接口实现所述目标业务功能。
本申请第一方面实施例提出的人机界面生成方法,通过确定待生成的人机界面所需要的图形,确定与图形对应的图形组态模块并作为目标图形组态模块,读取目标图形组态模块所提供的目标图形控件,以及与目标图形控件对应的目标图形界面文件,以及在初始人机界面中加载目标图形控件,并根据加载后的人机界面生成待生成的人机界面,其中,目标图形界面文件中记录有实现目标图形控件对应的目标业务功能的应用程序编程接口,在用户触发目标图形控件时,经由调用应用程序编程接口实现目标业务功能,由于采用图形组态模块提供人机界面运行所需要的图形界面文件,人机界面仅仅加载图形组态模块提供的图形控件,改进了人机界面的设计生成方法,使得人机界面便于维护和修改完善,有效提升灵活性和可扩展性。
为达到上述目的,本申请第二方面实施例提出的人机界面生成装置,包括:第一确定模块,用于确定待生成的人机界面所需要的图形;第二确定模块,用于确定与所述图形对应的图形组态模块并作为目标图形组态模块;读取模块,用于读取所述目标图形组态模块所提供的目标图形控件,以及与所述目标图形控件对应的目标图形界面文件;加载模块,用于在初始人机界面中加载所述目标图形控件,并根据加载后的人机界面生成所述待生成的人机界面;其中,所述目标图形界面文件中记录有实现所述目标图形控件对应的目标业务功能的应用程序编程接口,在用户触发所述目标图形控件时,经由调用所述应用程序编程接口实现所述目标业务功能。
本申请第二方面实施例提出的人机界面生成装置,通过确定待生成的人机界面所需要的图形,确定与图形对应的图形组态模块并作为目标图形组态模块,读取目标图形组态模块所提供的目标图形控件,以及与目标图形控件对应的目标图形界面文件,以及在初始人机界面中加载目标图形控件,并根据加载后的人机界面生成待生成的人机界面,其中,目标图形界面文件中记录有实现目标图形控件对应的目标业务功能的应用程序编程接口,在用户触发目标图形控件时,经由调用应用程序编程接口实现目标业务功能,由于采用图形组态模块提供人机界面运行所需要的图形界面文件,人机界面仅仅加载图形组态模块提供的图形控件,改进了人机界面的设计生成方法,使得人机界面便于维护和修改完善,有效提升灵活性和可扩展性。
为达到上述目的,本申请第三方面实施例提出的计算机可读存储介质,当所述存储介质中的指令由移动终端的处理器被执行时,使得移动终端能够执行一种人机界面生成方法,所述方法包括:本申请第一方面实施例提出的人机界面生成方法。
本申请第三方面实施例提出的计算机可读存储介质,通过确定待生成的人机界面所需要的图形,确定与图形对应的图形组态模块并作为目标图形组态模块,读取目标图形组态模块所提供的目标图形控件,以及与目标图形控件对应的目标图形界面文件,以及在初始人机界面中加载目标图形控件,并根据加载后的人机界面生成待生成的人机界面,其中,目标图形界面文件中记录有实现目标图形控件对应的目标业务功能的应用程序编程接口,在用户触发目标图形控件时,经由调用应用程序编程接口实现目标业务功能,由于采用图形组态模块提供人机界面运行所需要的图形界面文件,人机界面仅仅加载图形组态模块提供的图形控件,改进了人机界面的设计生成方法,使得人机界面便于维护和修改完善,有效提升灵活性和可扩展性。
为达到上述目的,本申请第四方面还提出一种计算机设备,该计算机设备包括壳体、处理器、存储器、电路板和电源电路,其中,所述电路板安置在所述壳体围成的空间内部,所述处理器和所述存储器设置在所述电路板上;所述电源电路,用于为所述计算机设备的各个电路或器件供电;所述存储器用于存储可执行程序代码;所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行:确定待生成的人机界面所需要的图形;确定与所述图形对应的图形组态模块并作为目标图形组态模块;读取所述目标图形组态模块所提供的目标图形控件,以及与所述目标图形控件对应的目标图形界面文件;在初始人机界面中加载所述目标图形控件,并根据加载后的人机界面生成所述待生成的人机界面;其中,所述目标图形界面文件中记录有实现所述目标图形控件对应的目标业务功能的应用程序编程接口,在用户触发所述目标图形控件时,经由调用所述应用程序编程接口实现所述目标业务功能。
本申请第四方面实施例提出的计算机设备,通过确定待生成的人机界面所需要的图形,确定与图形对应的图形组态模块并作为目标图形组态模块,读取目标图形组态模块所提供的目标图形控件,以及与目标图形控件对应的目标图形界面文件,以及在初始人机界面中加载目标图形控件,并根据加载后的人机界面生成待生成的人机界面,其中,目标图形界面文件中记录有实现目标图形控件对应的目标业务功能的应用程序编程接口,在用户触发目标图形控件时,经由调用应用程序编程接口实现目标业务功能,由于采用图形组态模块提供人机界面运行所需要的图形界面文件,人机界面仅仅加载图形组态模块提供的图形控件,改进了人机界面的设计生成方法,使得人机界面便于维护和修改完善,有效提升灵活性和可扩展性。
本申请附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本申请的实践了解到。
附图说明
本申请上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:
图1是本申请一实施例提出的人机界面生成方法的流程示意图;
图2是本申请另一实施例提出的人机界面生成方法的流程示意图;
图3为本申请实施例中人机界面架构图;
图4为本申请实施例中人机界面与实施服务的关系示意图;
图5为本申请实施例中数据流示意图;
图6为本申请实施例中人机界面布局示意图;
图7是本申请一实施例提出的人机界面生成装置的结构示意图;
图8是本申请另一实施例提出的人机界面生成装置的结构示意图;
图9是本申请一实施例提出的计算机设备的结构示意图。
具体实施方式
下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本申请,而不能理解为对本申请的限制。相反,本申请的实施例包括落入所附加权利要求书的精神和内涵范围内的所有变化、修改和等同物。
图1是本申请一实施例提出的人机界面生成方法的流程示意图。
本实施例以人机界面生成方法被配置为人机界面生成装置中来举例说明。
本实施例中人机界面生成方法可以被配置在人机界面生成装置中,人机界面生成装置可以设置在服务器中,或者也可以设置在电子设备中,本申请实施例对此不作限制。
本实施例以人机界面生成方法被配置在电子设备中为例。
需要说明的是,本申请实施例的执行主体,在硬件上可以例如为服务器或者电子设备中的中央处理器(Central Processing Unit,CPU),在软件上可以例如为服务器或者电子设备中的相关的后台服务,对此不作限制。
参见图1,该方法包括:
S101:确定待生成的人机界面所需要的图形。
S102:确定与图形对应的图形组态模块并作为目标图形组态模块。
本申请实施例在具体执行的过程中,可以对待生成的人机界面的应用需求进行分析,得到生成待生成的人机界面所需要的图形,并确定与图形对应的图形组态模块并作为目标图形组态模块。
应用需求可以为待生成的人机界面的需求文档中所描述的需求,例如,文字类的需求, 图片类的需求,界面效果示意图等,对此不作限制。
可以预先对待生成的人机界面的应用需求进行分析得到生成待生成的人机界面所需要的图形,其中该图形可以具体为针对上述的界面效果示意图分解得到的一些子图形,或者,也可以为经由待生成的人机界面所能跳转的其它落地界面中的一些子图形,对此不作限制。
本申请实施例在具体执行的过程中,图形组态模块是预先生成的,可以预先生成多个图形组态模块,其中,与图形对应的图形组态模块可以被称为目标图形组态模块。
本申请实施例中,一个图形组态模块对应有一个基本图形控件,可以由人机界面的开发人员直观上判断与图形对应的基本图形控件,并将该对应的基本图形控件所属的图形组态模块作为目标图形组态模块,对此不作限制。
可选地,一些实施例中,参见图2,在确定生成人机界面所需要的图形之前,还包括:
S201:预先对轨道交通综合监控系统所提供的业务功能进行分析,得到实现业务功能所需要的多个基本图形控件标识。
本申请实施例中,可以预先封装多个基本图形控件,并将各基本图形控件的属性与预设脚本所提供的模型对象的属性相关联以生成图形组态模块,即预先对轨道交通综合监控系统所提供的业务功能进行分析,得到实现业务功能所需要的多个基本图形控件标识,由于是针对轨道交通综合监控系统所能够提供的业务功能进行了全面的分析,从而获得实现系统所能提供的功能所需要的多个基本图形控件标识,而相关技术中并不会预先分析轨道交通综合监控系统所提供的业务功能以得到相应的图形控件标识,由此本申请中能够使得基于各基本图形控件标识所封装的图形组态模块能够全面覆盖轨道交通综合监控系统所能提供的业务功能,便于后续的开发应用。
本申请实施例中由于预先封装多个基本图形控件,并将各基本图形控件的属性与预设脚本所提供的模型对象的属性相关联以生成图形组态模块,人机界面只负责加载图形组态模块提供基本图形控件,而相关技术中的人机界面,在综合监控系统开发完成阶段,即固化了图形、图像、表格和文本,从而基于人机界面对监控对象的状态、性能数据进行显示,由此,本申请中通过仅仅配置人机界面只负责加载图形组态模块提供基本图形控件,便于人机界面的维护和扩展,并且,由于图形组态模块中具有全面覆盖轨道交通综合监控系统所能提供的业务功能的基本图形,且能够编辑和修改,以此保证了人机界面的灵活性和可扩展性。
S202:针对预设开发框架中所提供的多个基础控件,分别确定一个对应的基本图形控件标识。
S203:采用预设计算机编程语言封装各基础控件以及对应的基本图形控件标识,其中,基本图形控件标识用于唯一标记所对应的基础控件。
S204:将所封装后的各基础控件结合对应的基本图形控件标识作为基本图形控件,其中, 目标图形控件包含多个基本图形控件中的一个或者多个。
S205:采用预设开发框架中的目标机制,将各基本图形控件与预设脚本所提供的模型对象的属性相关联。
其中,预设开发框架为Qt开发框架(一种面向对象的框架,是Qt公司开发的跨平台图形用户界面应用程序开发框架),目标机制为信号槽机制,预设脚本为QML脚本(一种描述性的脚本语言),预设计算机编程语言为C++编程语言(一种计算机程序设计语言)。
本申请实施例中,为了达到人机界面的3D(3Dimensions,三维)效果和运行时的动画效果,可以使用Qt开发框架中的Qt3D模块(Qt开发框架中的3Dimensions模块)和Qt quick(一种高级用户界面技术)相结合,并采用C++编程语言(一种计算机程序设计语言)进行封装,生成全面覆盖轨道交通综合监控系统所能提供的业务功能的多个基本图形控件,该基本图形控件具有3D效果,即,图形组态模块中的基本图形控件。
本申请实施例中,通过使用Qt开发框架的信号槽机制将图形组态模块中封装的基本图形控件与QML脚本中所提供的3D模型对象的属性相关联,保证了C++对象与其脚本中3D模型对象的互通和响应,从而从整体上辅助提升所生成的人机界面的响应效率,提升轨道交通系统的性能。
S206:根据关联得到的结果生成与各基本图形控件对应的图形界面文件,目标图形界面文件为多个图形界面文件中的一个。
S207:将实现基本图形控件的业务功能的应用程序编程接口写入图形界面文件中。
S208:根据各基本图形控件,与对应的图形界面文件生成图形组态模块,目标图形组态模块为多个图形组态模块中的一个。
本申请实施例中,基于Qt开发框架中的Qt3D模块和Qt quick设计人机界面,可以实现人机界面的3D效果,而相关技术中的人机界面并不能够实现3D效果,由此本申请中可以更直观,更立体的展示当前各个子系统的状态,并且,本申请实施例中,由于3D模型对象通过QML脚本实现,QML脚本可以在脚本里创建基本图形控件的3D模型对象,并且支持各种图形特效,以及状态机等,同时可与Qt开发框架中的C++编程语言进行方便交互,使用起来非常方便;本申请实施例中还能够使得所实现的人机界面具有跨平台性,支持多种操作系统,因此,便于后期维护,图形效果基本都在QML脚本中实现,修改基本图形控件的相关属性如颜色,形状等,仅仅在对应的QML脚本中修改即可。
本申请实施例中,还可以采用面向对象的方法进行设计,具有良好的可读性、可维护性和可扩展性,模块间高聚合低耦合,层次清楚,便于实现和复用。
S103:读取目标图形组态模块所提供的目标图形控件,以及与目标图形控件对应的目标图形界面文件。
其中的目标图形界面文件,是采用Qt开发框架中的信号槽机制,将目标图形控件与QML脚本所提供的模型对象的属性相关联生成的。
S104:在初始人机界面中加载目标图形控件,并根据加载后的人机界面生成待生成的人机界面。
其中,加载了目标图形控件的人机界面可以被称为加载后的人机界面,该加载后的人机界面仅仅加载了目标图形控件,而并不能够响应用户的操作,而待生成的人机界面为加载了目标图形控件并且加载了响应用户操作的处理逻辑的最终的人机界面,该待生成的人机界面能够响应用户的操作,由此,本申请实施例中在根据加载后的人机界面生成待生成的人机界面之后,使得待生成的人机界面成为了能够向用户提供各种轨道交通系统功能的系统窗口,使得轨道交通系统经由该待生成的人机界面响应的用户操作从而提供系统功能。
其中,目标图形界面文件中记录有实现目标图形控件对应的目标业务功能的应用程序编程接口,在用户触发目标图形控件时,经由调用应用程序编程接口实现目标业务功能。
其中的目标业务功能为轨道交通综合监控系统所能提供的业务功能的一个子功能,该目标业务功能为基于上述的目标图形控件所能实现的功能,该目标业务功能对应的应用程序编程接口可以是预先写入目标图形界面文件中的,因此,在初始人机界面中加载目标图形控件,并根据加载后的人机界面生成待生成的人机界面时,可以是直接调用上述已经预先写入的应用程序编程接口实现目标业务功能,从而能够获得较好的人机界面生成效率。
本申请实施例中的人机界面基于Qt开发框架中的3D模块、QtCanvas3D(Qt开发框架中的3Dimensions Canvas,三维画布)以及其它Qt(是Qt公司开发的跨平台图形用户界面应用程序开发框架)的界面库和C++编程语言进行开发,开发环境采用3D Max+Visual Studio2015+Qt插件(一套基于组件的软件开发工具)。
其中,3D Studio Max,简称为3d Max或3ds MAX,是Discreet公司开发的基于个人电脑的三维动画渲染和制作软件,3d Max用来提供Qt开发框架中所需要的3D模型,Visual Studio2015+Qt插件提供了Qt开发框架的编译环境,其中,Visual Studio 2015是一套基于组件的软件开发工具,可用于构建功能强大、性能出众的应用程序,易于工程的管理和调试。
基于上述的开发环境,能够方便开发和维护人机界面。
本申请实施例中采用的是MVC架构,MVC即,Model View Controller,是模型(model)-视图(view)-控制器(controller)的缩写,其是一种软件设计典范,用一种业务逻辑、数据、界面显示分离的方法组织代码,将业务逻辑聚集到一个部件里面,在改进和个性化定制界面及用户交互的同时,不需要重新编写业务逻辑。
本申请实施例中是基于Qt开发框架开发,所以具有跨平台的特性,可以在windows和 linux等操作系统上运行。
本申请实施例中集成和互联了轨道交通综合监控系统所能够监控的电力监控系统,环境与设备监控系统,火灾自动报警系统,信号系统,自动售检票系统,乘客信息系统,闭路电视监视系统,广播系统,时钟系统,门禁系统,站台门系统等,基于Qt开发框架中的3D模块可以更加直观的展示上述所列系统涉及的相关数据模型,趋势以及相关信息,参见图3,图3为本申请实施例中人机界面架构图。
本申请实施例中人机界面所可以的数据,以及与数据相关信息来自实时库,参见图4,图4为本申请实施例中人机界面与实施服务的关系示意图,人机界面可以与实施服务的实时库、历史库、事件服务、报警服务、权限服务、报表服务交互,获取数据或是调用其接口。在人机界面运行时,主要的数据流是和实时服务框架之间的数据交互。
参见图5,图5为本申请实施例中数据流示意图,数据流1代表实时数据流,人机界面对应的客户端可以通过人机界面数据服务来访问实时库数据,也可以直接访问实时库数据;数据流2代表控制命令数据流,人机界面对应的客户端向实施服务发送命令,来实现对终端设备的控制;数据流3代表报警数据流,人机界面对应的客户端向报警服务发送报警信息;数据流4代表事件数据流,人机界面对应的客户端向事件服务发送事件信息;数据流5代表权限数据流,人机界面对应的客户端向权限服务认证用户权限,权限服务提供相关登录权限信息。
本申请实施例中的人机界面则由图形组态模块来提供,人机界面负责加载即可,使得人机界面设计更为灵活和易维护。图形组态模块中由C++编程语言封装了基本图形控件,本申请实施例中的基本图形控件以3D图形为主,基本图形控件基于Qt3D和Qt quick模块实现,Qt3D除了具有Qt开发框架跨平台的优势之外,还能够定制开放图形库(Open Graphics Library,OpenGL)的具体实现方式,定制OpenGL着色语言(OpenGL Shading Language,GLSL),从而能够根据不同性能的人机界面的部署机器,调整适应的渲染效果。Qt3D还提供一个可充分配置的渲染器,开发人员可以通过渲染器快速实现渲染,还提供近实时仿真的通用框架。
Qt3D由一个核心模块和附加模块组成,附加模块提供特定方面的功能,例如包括物理模型模块、音频模块、碰撞模块、人工智能模块和路径搜索模块。
本申请实施例中使用Qt3D模块结合Qt canvas3D实现人机界面的3D效果,Qt canvas3D是类似于超级文本标记语言(HyperText Markup Language,HTML)的架构,2D部分采用QML脚本自带控件,3D部分采用Qt canvas3D绘制。
Qt canvas3D能够默契地与QML脚本及其它组件融为一体,在同一窗口显示,Qt canvas3D作为基础的3D绘图应用程序编程接口库,运用更加灵活。
上述说明了利用Qt3D模块结合Qt canvas3D实现人机界面的3D图形效果,具体的人机界面布局参见图6,图6为本申请实施例中人机界面布局示意图。
本申请实施例中,可以将界面分为通用界面和功能界面,功能界面中包含各个子系统的画面,通用界面主要为所有登录的用户服务,提供客户端人机界面的公共操作和基本的信息,如登录,注销,报警等基础操作的界面,功能界面主要面对具有该子功能系统权限的特定用户,通过专用的界面对子系统的状态进行监控。可以采用Qt3D和Qt Canvas 3D结合Qt开发框架的基本图形库来对各个子画面进行设计,以呈现3D显示效果,使整个人机界面更加直观,生动,Qt3D基于QML脚本实现,可以通过导入3DMax建立好的模型来实现部分3D显示效果,再由Qt开发框架以加载资源的形式加载QML脚本和模型的obj(3D模型文件格式)文件,或者,本申请实施例中,图片以及声音也可以以资源文件的形式加载至人机界面对应的后台程序代码中。
本实施例中,通过确定待生成的人机界面所需要的图形,确定与图形对应的图形组态模块并作为目标图形组态模块,读取目标图形组态模块所提供的目标图形控件,以及与目标图形控件对应的目标图形界面文件,以及在初始人机界面中加载目标图形控件,并根据加载后的人机界面生成待生成的人机界面,其中,目标图形界面文件中记录有实现目标图形控件对应的目标业务功能的应用程序编程接口,在用户触发目标图形控件时,经由调用应用程序编程接口实现目标业务功能,由于采用图形组态模块提供人机界面运行所需要的图形界面文件,人机界面仅仅加载图形组态模块提供的图形控件,相关技术中的人机界面,在综合监控系统开发完成阶段,即固化了图形、图像、表格和文本,以采用人机界面对监控对象的状态、性能数据进行显示,而本申请中所生成的人机界面仅负责加载图形组态模块提供的基本图形控件,便于人机界面的维护和扩展,并且,由于,该基本图形控件对应有相应的图形界面文件,目标图形界面文件中记录有实现目标图形控件对应的目标业务功能的应用程序编程接口,由此,当用户触发目标图形控件时,能够经由调用应用程序编程接口实现目标业务功能,因此,使得所生成的人机界面更容易扩展和修改维护,从而改进人机界面的设计生成方法,使得人机界面便于维护和修改完善,有效提升灵活性和可扩展性。
图7是本申请一实施例提出的人机界面生成装置的结构示意图。
参见图7,该装置700包括:
第一确定模块701,用于确定待生成的人机界面所需要的图形。
第二确定模块702,用于确定与图形对应的图形组态模块并作为目标图形组态模块。
读取模块703,用于读取目标图形组态模块所提供的目标图形控件,以及与目标图形控件对应的目标图形界面文件。
加载模块704,用于在初始人机界面中加载目标图形控件,并根据加载后的人机界面生 成待生成的人机界面;其中,目标图形界面文件中记录有实现目标图形控件对应的目标业务功能的应用程序编程接口,在用户触发目标图形控件时,经由调用应用程序编程接口实现目标业务功能。
可选地,一些实施例中,参见图8,还包括:
分析模块705,用于预先对轨道交通综合监控系统所提供的业务功能进行分析,得到实现业务功能所需要的多个基本图形控件标识。
第三确定模块706,用于针对预设开发框架中所提供的多个基础控件,分别确定一个对应的基本图形控件标识。
封装模块707,用于采用预设计算机编程语言封装各基础控件以及对应的基本图形控件标识,其中,基本图形控件标识用于唯一标记所对应的基础控件,将所封装后的各基础控件结合对应的基本图形控件标识作为基本图形控件,其中,目标图形控件包含多个基本图形控件中的一个或者多个。
可选地,一些实施例中,参见图8,还包括:
关联模块708,用于采用预设开发框架中的目标机制,将各基本图形控件与预设脚本所提供的模型对象的属性相关联;
第一生成模块709,用于根据关联得到的结果生成与各基本图形控件对应的图形界面文件,目标图形界面文件为多个图形界面文件中的一个。
写入模块710,用于将实现基本图形控件的业务功能的应用程序编程接口写入图形界面文件中。
第二生成模块711,用于根据各基本图形控件,与对应的图形界面文件生成图形组态模块,目标图形组态模块为多个图形组态模块中的一个。
可选地,一些实施例中,第一确定模块701,具体用于:
对待生成的人机界面的应用需求进行分析,得到生成待生成的人机界面所需要的图形。
可选地,一些实施例中,预设开发框架为Qt开发框架,目标机制为信号槽机制,预设脚本为QML脚本。
需要说明的是,前述图1-图6实施例中对人机界面生成方法实施例的解释说明也适用于该实施例的人机界面生成装置700,其实现原理类似,此处不再赘述。
本实施例中,通过确定待生成的人机界面所需要的图形,确定与图形对应的图形组态模块并作为目标图形组态模块,读取目标图形组态模块所提供的目标图形控件,以及与目标图形控件对应的目标图形界面文件,以及在初始人机界面中加载目标图形控件,并根据加载后的人机界面生成待生成的人机界面,其中,目标图形界面文件中记录有实现目标图形控件对应的目标业务功能的应用程序编程接口,在用户触发目标图形控件时,经由调用应用程序编 程接口实现目标业务功能,由于采用图形组态模块提供人机界面运行所需要的图形界面文件,人机界面仅仅加载图形组态模块提供的图形控件,相关技术中的人机界面,在综合监控系统开发完成阶段,即固化了图形、图像、表格和文本,以采用人机界面对监控对象的状态、性能数据进行显示,而本申请中所生成的人机界面仅负责加载图形组态模块提供的基本图形控件,便于人机界面的维护和扩展,并且,由于,该基本图形控件对应有相应的图形界面文件,目标图形界面文件中记录有实现目标图形控件对应的目标业务功能的应用程序编程接口,由此,当用户触发目标图形控件时,能够经由调用应用程序编程接口实现目标业务功能,因此,使得所生成的人机界面更容易扩展和修改维护,从而改进人机界面的设计生成方法,使得人机界面便于维护和修改完善,有效提升灵活性和可扩展性。
为了实现上述实施例,本申请还提出一种计算机可读存储介质,当存储介质中的指令由终端的处理器执行时,使得终端能够执行一种人机界面生成方法,方法包括:
确定待生成的人机界面所需要的图形;
确定与图形对应的图形组态模块并作为目标图形组态模块;
读取目标图形组态模块所提供的目标图形控件,以及与目标图形控件对应的目标图形界面文件;
在初始人机界面中加载目标图形控件,并根据加载后的人机界面生成待生成的人机界面;
其中,目标图形界面文件中记录有实现目标图形控件对应的目标业务功能的应用程序编程接口,在用户触发目标图形控件时,经由调用应用程序编程接口实现目标业务功能。
本实施例中的计算机可读存储介质,通过确定待生成的人机界面所需要的图形,确定与图形对应的图形组态模块并作为目标图形组态模块,读取目标图形组态模块所提供的目标图形控件,以及与目标图形控件对应的目标图形界面文件,以及在初始人机界面中加载目标图形控件,并根据加载后的人机界面生成待生成的人机界面,其中,目标图形界面文件中记录有实现目标图形控件对应的目标业务功能的应用程序编程接口,在用户触发目标图形控件时,经由调用应用程序编程接口实现目标业务功能,由于采用图形组态模块提供人机界面运行所需要的图形界面文件,人机界面仅仅加载图形组态模块提供的图形控件,相关技术中的人机界面,在综合监控系统开发完成阶段,即固化了图形、图像、表格和文本,以采用人机界面对监控对象的状态、性能数据进行显示,而本申请中所生成的人机界面仅负责加载图形组态模块提供的基本图形控件,便于人机界面的维护和扩展,并且,由于,该基本图形控件对应有相应的图形界面文件,目标图形界面文件中记录有实现目标图形控件对应的目标业务功能的应用程序编程接口,由此,当用户触发目标图形控件时,能够经由调用应用程序编程接口实现目标业务功能,因此,使得所生成的人机界面更容易扩展和修改维护,从而改进人 机界面的设计生成方法,使得人机界面便于维护和修改完善,有效提升灵活性和可扩展性。
图9是本申请一实施例提出的计算机设备的结构示意图。
该计算机设备90可以是手机、平板电脑等。
参见图9,本实施例的计算机设备90包括:壳体901、处理器902、存储器903、电路板904、电源电路905,电路板904安置在壳体901围成的空间内部,处理器902、存储器903设置在电路板904上;电源电路905,用于为计算机设备90各个电路或器件供电;存储器903用于存储可执行程序代码;其中,处理器902通过读取存储器903中存储的可执行程序代码来运行与可执行程序代码对应的程序,以用于执行:
确定待生成的人机界面所需要的图形;
确定与所述图形对应的图形组态模块并作为目标图形组态模块;
读取所述目标图形组态模块所提供的目标图形控件,以及与所述目标图形控件对应的目标图形界面文件;
在初始人机界面中加载所述目标图形控件,并根据加载后的人机界面生成所述待生成的人机界面;
其中,所述目标图形界面文件中记录有实现所述目标图形控件对应的目标业务功能的应用程序编程接口,在用户触发所述目标图形控件时,经由调用所述应用程序编程接口实现所述目标业务功能。
可选地,一些实施例中,所述处理器,还用于:
预先对轨道交通综合监控系统所提供的业务功能进行分析,得到实现所述业务功能所需要的多个基本图形控件标识;
针对预设开发框架中所提供的多个基础控件,分别确定一个对应的基本图形控件标识;
采用预设计算机编程语言封装各所述基础控件以及所述对应的基本图形控件标识,其中,所述基本图形控件标识用于唯一标记所对应的基础控件;
将所封装后的各所述基础控件结合所述对应的基本图形控件标识作为基本图形控件,其中,所述目标图形控件包含多个基本图形控件中的一个或者多个。
可选地,一些实施例中,所述处理器,还用于:
采用所述预设开发框架中的目标机制,将各所述基本图形控件与预设脚本所提供的模型对象的属性相关联;
根据关联得到的结果生成与各所述基本图形控件对应的图形界面文件,所述目标图形界面文件为多个图形界面文件中的一个;
将实现所述基本图形控件的业务功能的应用程序编程接口写入所述图形界面文件中;
根据各所述基本图形控件,与所述对应的图形界面文件生成图形组态模块,所述目标图 形组态模块为多个图形组态模块中的一个。
可选地,一些实施例中,所述处理器,还用于:
对所述待生成的人机界面的应用需求进行分析,得到生成所述待生成的人机界面所需要的图形。
可选地,一些实施例中,所述预设开发框架为Qt开发框架,所述目标机制为信号槽机制,所述预设脚本为QML脚本。
需要说明的是,前述图1-图6实施例中对人机界面生成方法实施例的解释说明也适用于该实施例的计算机设备90,其实现原理类似,此处不再赘述。
本实施例中的计算机设备,通过确定待生成的人机界面所需要的图形,确定与图形对应的图形组态模块并作为目标图形组态模块,读取目标图形组态模块所提供的目标图形控件,以及与目标图形控件对应的目标图形界面文件,以及在初始人机界面中加载目标图形控件,并根据加载后的人机界面生成待生成的人机界面,其中,目标图形界面文件中记录有实现目标图形控件对应的目标业务功能的应用程序编程接口,在用户触发目标图形控件时,经由调用应用程序编程接口实现目标业务功能,由于采用图形组态模块提供人机界面运行所需要的图形界面文件,人机界面仅仅加载图形组态模块提供的图形控件,相关技术中的人机界面,在综合监控系统开发完成阶段,即固化了图形、图像、表格和文本,以采用人机界面对监控对象的状态、性能数据进行显示,而本申请中所生成的人机界面仅负责加载图形组态模块提供的基本图形控件,便于人机界面的维护和扩展,并且,由于,该基本图形控件对应有相应的图形界面文件,目标图形界面文件中记录有实现目标图形控件对应的目标业务功能的应用程序编程接口,由此,当用户触发目标图形控件时,能够经由调用应用程序编程接口实现目标业务功能,因此,使得所生成的人机界面更容易扩展和修改维护,从而改进人机界面的设计生成方法,使得人机界面便于维护和修改完善,有效提升灵活性和可扩展性。
需要说明的是,在本申请的描述中,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。此外,在本申请的描述中,除非另有说明,“多个”的含义是两个或两个以上。
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件 来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。
此外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。
上述提到的存储介质可以是只读存储器,磁盘或光盘等。
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。
尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。

Claims (16)

  1. 一种人机界面生成方法,其特征在于,所述人机界面生成方法包括以下步骤:
    确定待生成的人机界面所需要的图形;
    确定与所述图形对应的图形组态模块并作为目标图形组态模块;
    读取所述目标图形组态模块所提供的目标图形控件,以及与所述目标图形控件对应的目标图形界面文件;
    在初始人机界面中加载所述目标图形控件,并根据加载后的人机界面生成所述待生成的人机界面;
    其中,所述目标图形界面文件中记录有实现所述目标图形控件对应的目标业务功能的应用程序编程接口,在用户触发所述目标图形控件时,经由调用所述应用程序编程接口实现所述目标业务功能。
  2. 如权利要求1所述的人机界面生成方法,其特征在于,在所述确定待生成的人机界面所需要的图形之前,还包括:
    预先对轨道交通综合监控系统所提供的业务功能进行分析,得到实现所述业务功能所需要的多个基本图形控件标识;
    针对预设开发框架中所提供的多个基础控件,分别确定一个对应的基本图形控件标识;
    采用预设计算机编程语言封装各所述基础控件以及所述对应的基本图形控件标识,其中,所述基本图形控件标识用于唯一标记所对应的基础控件;
    将所封装后的各所述基础控件结合所述对应的基本图形控件标识作为基本图形控件,其中,所述目标图形控件包含多个基本图形控件中的一个或者多个。
  3. 如权利要求2所述的人机界面生成方法,其特征在于,在所述将所封装后的各所述基础控件结合所述对应的基本图形控件标识作为基本图形控件之后,还包括:
    采用所述预设开发框架中的目标机制,将各所述基本图形控件与预设脚本所提供的模型对象的属性相关联;
    根据关联得到的结果生成与各所述基本图形控件对应的图形界面文件,所述目标图形界面文件为多个图形界面文件中的一个;
    将实现所述基本图形控件的业务功能的应用程序编程接口写入所述图形界面文件中;
    根据各所述基本图形控件,与所述对应的图形界面文件生成图形组态模块,所述目标图形组态模块为多个图形组态模块中的一个。
  4. 如权利要求2或3所述的人机界面生成方法,其特征在于,所述确定待生成的人机界面所需要的图形,包括:
    对所述待生成的人机界面的应用需求进行分析,得到生成所述待生成的人机界面所需要的图形。
  5. 如权利要求3或4所述的人机界面生成方法,其特征在于,所述预设开发框架为Qt开发框架,所述目标机制为信号槽机制,所述预设脚本为QML脚本。
  6. 一种人机界面生成装置,其特征在于,所述人机界面生成装置包括:
    第一确定模块,用于确定待生成的人机界面所需要的图形;
    第二确定模块,用于确定与所述图形对应的图形组态模块并作为目标图形组态模块;
    读取模块,用于读取所述目标图形组态模块所提供的目标图形控件,以及与所述目标图形控件对应的目标图形界面文件;
    加载模块,用于在初始人机界面中加载所述目标图形控件,并根据加载后的人机界面生成所述待生成的人机界面;其中,所述目标图形界面文件中记录有实现所述目标图形控件对应的目标业务功能的应用程序编程接口,在用户触发所述目标图形控件时,经由调用所述应用程序编程接口实现所述目标业务功能。
  7. 如权利要求6所述的人机界面生成装置,其特征在于,还包括:
    分析模块,用于预先对轨道交通综合监控系统所提供的业务功能进行分析,得到实现所述业务功能所需要的多个基本图形控件标识;
    第三确定模块,用于针对预设开发框架中所提供的多个基础控件,分别确定一个对应的基本图形控件标识;
    封装模块,用于采用预设计算机编程语言封装各所述基础控件以及所述对应的基本图形控件标识,其中,所述基本图形控件标识用于唯一标记所对应的基础控件,将所封装后的各所述基础控件结合所述对应的基本图形控件标识作为基本图形控件,其中,所述目标图形控件包含多个基本图形控件中的一个或者多个。
  8. 如权利要求7所述的人机界面生成装置,其特征在于,还包括:
    关联模块,用于采用所述预设开发框架中的目标机制,将各所述基本图形控件与预设脚本所提供的模型对象的属性相关联;
    第一生成模块,用于根据关联得到的结果生成与各所述基本图形控件对应的图形界面文件,所述目标图形界面文件为多个图形界面文件中的一个;
    写入模块,用于将实现所述基本图形控件的业务功能的应用程序编程接口写入所述图形界面文件中;
    第二生成模块,用于根据各所述基本图形控件,与所述对应的图形界面文件生成图形组态模块,所述目标图形组态模块为多个图形组态模块中的一个。
  9. 如权利要求7或8所述的人机界面生成装置,其特征在于,所述第一确定模块,具 体用于:
    对所述待生成的人机界面的应用需求进行分析,得到生成所述待生成的人机界面所需要的图形。
  10. 如权利要求8或9所述的人机界面生成装置,其特征在于,所述预设开发框架为Qt开发框架,所述目标机制为信号槽机制,所述预设脚本为QML脚本。
  11. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-5中任一项所述的人机界面生成方法。
  12. 一种计算机设备,包括壳体、处理器、存储器、电路板、和电源电路,其中,所述电路板安置在所述壳体围成的空间内部,所述处理器和所述存储器设置在所述电路板上;所述电源电路,用于为所述计算机设备的各个电路或器件供电;所述存储器用于存储可执行程序代码;所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行:
    确定待生成的人机界面所需要的图形;
    确定与所述图形对应的图形组态模块并作为目标图形组态模块;
    读取所述目标图形组态模块所提供的目标图形控件,以及与所述目标图形控件对应的目标图形界面文件;
    在初始人机界面中加载所述目标图形控件,并根据加载后的人机界面生成所述待生成的人机界面;
    其中,所述目标图形界面文件中记录有实现所述目标图形控件对应的目标业务功能的应用程序编程接口,在用户触发所述目标图形控件时,经由调用所述应用程序编程接口实现所述目标业务功能。
  13. 如权利要求12所述的计算机设备,其特征在于,所述处理器,还用于:
    预先对轨道交通综合监控系统所提供的业务功能进行分析,得到实现所述业务功能所需要的多个基本图形控件标识;
    针对预设开发框架中所提供的多个基础控件,分别确定一个对应的基本图形控件标识;
    采用预设计算机编程语言封装各所述基础控件以及所述对应的基本图形控件标识,其中,所述基本图形控件标识用于唯一标记所对应的基础控件;
    将所封装后的各所述基础控件结合所述对应的基本图形控件标识作为基本图形控件,其中,所述目标图形控件包含多个基本图形控件中的一个或者多个。
  14. 如权利要求13所述的计算机设备,其特征在于,所述处理器,还用于:
    采用所述预设开发框架中的目标机制,将各所述基本图形控件与预设脚本所提供的模型对象的属性相关联;
    根据关联得到的结果生成与各所述基本图形控件对应的图形界面文件,所述目标图形界面文件为多个图形界面文件中的一个;
    将实现所述基本图形控件的业务功能的应用程序编程接口写入所述图形界面文件中;
    根据各所述基本图形控件,与所述对应的图形界面文件生成图形组态模块,所述目标图形组态模块为多个图形组态模块中的一个。
  15. 如权利要求13或14所述的计算机设备,其特征在于,所述处理器,还用于:
    对所述待生成的人机界面的应用需求进行分析,得到生成所述待生成的人机界面所需要的图形。
  16. 如权利要求14或15所述的计算机设备,其特征在于,所述预设开发框架为Qt开发框架,所述目标机制为信号槽机制,所述预设脚本为QML脚本。
PCT/CN2020/070516 2019-01-07 2020-01-06 人机界面生成方法、装置、存储介质及计算机设备 WO2020143584A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910013263.9 2019-01-07
CN201910013263.9A CN111414215A (zh) 2019-01-07 2019-01-07 人机界面生成方法、装置及存储介质

Publications (1)

Publication Number Publication Date
WO2020143584A1 true WO2020143584A1 (zh) 2020-07-16

Family

ID=71490746

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/070516 WO2020143584A1 (zh) 2019-01-07 2020-01-06 人机界面生成方法、装置、存储介质及计算机设备

Country Status (2)

Country Link
CN (1) CN111414215A (zh)
WO (1) WO2020143584A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113760286A (zh) * 2021-08-19 2021-12-07 北京鲸鲮信息系统技术有限公司 一种文件生成方法及电子设备、存储介质
CN114416238B (zh) * 2021-12-28 2023-08-25 成都易达数安科技有限公司 一种基于动态布局技术的仪表盘智能配置方法
CN114398123A (zh) * 2021-12-29 2022-04-26 深圳市英维克信息技术有限公司 人机界面生成方法、装置、设备和存储介质
CN114895891A (zh) * 2022-04-13 2022-08-12 北京广利核系统工程有限公司 一种图形软件的处理方法、装置、电子设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6941520B1 (en) * 2000-05-09 2005-09-06 International Business Machines Corporation Method, system, and program for using a user interface program to generate a user interface for an application program
CN103914307A (zh) * 2014-04-22 2014-07-09 浪潮电子信息产业股份有限公司 一种基于可复用库的交互界面快速实现方法
CN103984548A (zh) * 2014-05-14 2014-08-13 陕西上讯信息技术有限公司 一种web应用前端框架及其构建方法、系统
CN106201458A (zh) * 2016-06-27 2016-12-07 上海波汇科技股份有限公司 一种灵活可配的界面生成方法和系统
CN106598556A (zh) * 2015-10-15 2017-04-26 阿里巴巴集团控股有限公司 用户界面生成方法及装置

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7146435B2 (en) * 2003-11-07 2006-12-05 Hewlett-Packard Development Company, L.P. Distribution of hardware device installation and configuration software
CN101510151A (zh) * 2009-03-23 2009-08-19 国电南瑞科技股份有限公司 综合监控跨平台组态人机界面系统
CN102999322A (zh) * 2011-09-16 2013-03-27 深圳市吉阳自动化科技有限公司 一种工业控制器软件界面设计方法
CN102854853A (zh) * 2012-08-13 2013-01-02 北京和利时系统工程有限公司 一种跨平台轻量级的分布式控制系统
CN104239044B (zh) * 2014-09-05 2017-07-28 北京航天自动控制研究所 一种图形用户界面动态生成方法
CN106815018A (zh) * 2016-12-27 2017-06-09 国电南瑞科技股份有限公司 有轨电车综合运营调度系统人机界面的集成设计方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6941520B1 (en) * 2000-05-09 2005-09-06 International Business Machines Corporation Method, system, and program for using a user interface program to generate a user interface for an application program
CN103914307A (zh) * 2014-04-22 2014-07-09 浪潮电子信息产业股份有限公司 一种基于可复用库的交互界面快速实现方法
CN103984548A (zh) * 2014-05-14 2014-08-13 陕西上讯信息技术有限公司 一种web应用前端框架及其构建方法、系统
CN106598556A (zh) * 2015-10-15 2017-04-26 阿里巴巴集团控股有限公司 用户界面生成方法及装置
CN106201458A (zh) * 2016-06-27 2016-12-07 上海波汇科技股份有限公司 一种灵活可配的界面生成方法和系统

Also Published As

Publication number Publication date
CN111414215A (zh) 2020-07-14

Similar Documents

Publication Publication Date Title
WO2020143584A1 (zh) 人机界面生成方法、装置、存储介质及计算机设备
US10705942B1 (en) Simulated testing of API
JP2019215877A (ja) ビジュアルコンテンツ開発
US8478850B2 (en) Platform component architecture (PCA)-based system, method and application designer
CN108733334A (zh) 画质参数调节方法、装置、终端及存储介质
KR101530634B1 (ko) 체험형 학습 콘텐츠 저작 장치 및 방법
US20160070541A1 (en) Conversion of business suite solutions
CN102547231A (zh) 基于浏览器的智能网络视频监控系统及其工作方法
CN113656012B (zh) 一种轨道交通可视化界面的低代码开发系统
Xu et al. Uiwear: Easily adapting user interfaces for wearable devices
CN114064024A (zh) 微应用的开发方法、装置、设备、存储介质及程序产品
CN116302366B (zh) 面向终端开发的xr应用开发系统与方法、设备及介质
CN114912897A (zh) 工作流执行方法、工作流编排方法及电子设备
CN115964185A (zh) 面向技术资源共享的微服务管理系统
CN114130017A (zh) 基于游戏引擎的界面部署方法、装置、设备及存储介质
Dragoicea et al. Integrating HLA and service-oriented architecture in a simulation framework
CN114816430A (zh) 一种业务代码开发方法、系统及计算机可读存储介质
CN114860205A (zh) 低代码开发平台的应用扩展系统、方法和装置
CN114066398A (zh) 业务模型的管理方法、装置、存储介质和终端设备
CN114077437A (zh) 一种人工智能应用的集成管理方法、装置及系统
Ducreux et al. Rapid prototyping of complete systems, the case study of a smart parking
CN113805990B (zh) 展位页面处理方法、装置、设备及系统
CN115640044B (zh) 基于Unity的三维软件开发方法、装置、设备及介质
Acord et al. Cross-platform Mobile Application Development A Pattern-Based Approach
Ryabinin et al. Scientific Visualization System on a Chip with Tangible User Interface

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20738074

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20738074

Country of ref document: EP

Kind code of ref document: A1