CN114579123A - Display frame, page display method, electronic device and storage medium - Google Patents

Display frame, page display method, electronic device and storage medium Download PDF

Info

Publication number
CN114579123A
CN114579123A CN202210217442.6A CN202210217442A CN114579123A CN 114579123 A CN114579123 A CN 114579123A CN 202210217442 A CN202210217442 A CN 202210217442A CN 114579123 A CN114579123 A CN 114579123A
Authority
CN
China
Prior art keywords
data
page
layer
displayed
subscription information
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
CN202210217442.6A
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.)
6th Research Institute of China Electronics Corp
Original Assignee
6th Research Institute of China Electronics Corp
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 6th Research Institute of China Electronics Corp filed Critical 6th Research Institute of China Electronics Corp
Priority to CN202210217442.6A priority Critical patent/CN114579123A/en
Publication of CN114579123A publication Critical patent/CN114579123A/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/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • G06F8/315Object-oriented languages
    • 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
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/76Adapting program code to run in a different environment; Porting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

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

Abstract

The application provides a display frame, a page display method, an electronic device and a storage medium, which belong to the technical field of computers, wherein the display frame comprises: a design layer, an application layer, a platform layer and a data layer; the design layer is used for responding to the operation of a user on editing the page based on a preset display component library, editing the page to be displayed and responding to the configuration operation of the user to configure the subscription information of the page to be displayed; the platform layer is used for acquiring and sending subscription information of the page to be displayed to the data layer after receiving a control instruction for representing and displaying the page to be displayed; the data layer is used for acquiring target data corresponding to the subscription information and sending the target data to the platform layer; the platform layer is also used for sending the target data to the application layer; and the application layer is used for displaying the updated page to be displayed after updating the page to be displayed based on the preset rule and the target data. The command display system aims to solve the problem that the existing command display system is difficult to meet the requirements of high real-time performance and large information quantity.

Description

Display frame, page display method, electronic device and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a display frame, a page display method, an electronic device, and a storage medium.
Background
The space flight measurement and control information has the characteristics of strong real-time performance, large information amount, high reliability requirement and the like, and the command display system is used as an important component of a measurement and control center software system and is used for collecting various information in the execution process of space flight measurement and control tasks and carrying out centralized display in various modes, so that a universal platform for monitoring service is provided for various levels of commanders and various post personnel, and reference and basis are provided for command decision of the commanders.
The existing aerospace measurement and control command display system is generally developed by adopting C # or.Net on a Windows system. With the rapid development of the aerospace measurement and control field, the command display system developed on the Windows system is difficult to meet the requirements of high real-time performance and large amount of information, and cannot meet the requirements of the measurement and control center on the command display system.
Disclosure of Invention
The application provides a display frame, a page display method, electronic equipment and a storage medium, and aims to solve the problems that an existing command display system is difficult to meet the requirements of high real-time performance and large information quantity, and cannot meet the requirements of a measurement and control center on the command display system.
In a first aspect, the present application provides a display frame comprising: a design layer, an application layer, a platform layer and a data layer; the design layer is used for responding to the operation of a user for editing the page based on a preset display component library, editing the page to be displayed, and responding to the configuration operation of the user to configure the subscription information of the page to be displayed, wherein the subscription information represents all data required to be acquired by updating the page to be displayed; the platform layer is used for acquiring and sending the subscription information of the page to be displayed to the data layer after receiving a control instruction for representing and displaying the page to be displayed; the data layer is used for acquiring target data corresponding to the subscription information and sending the target data to the platform layer; the platform layer is also used for sending the target data to the application layer; and the application layer is used for updating the page to be displayed and displaying the updated page to be displayed based on a preset rule and the target data.
In the embodiment of the application, the design layer responds to the operation of the user based on the page edited by the preset display component library, the page to be displayed is edited, and the display component library is preset, so that the user can quickly complete page editing through a visual interface, and when the page to be displayed needs to be displayed, the quick update of the page to be displayed is completed through the cooperation of the platform layer, the data layer and the application layer, the latest data can be updated in real time on the page to be displayed, and further the display frame meets the real-time requirement of the measurement and control center on the command display system. And moreover, the subscription information and the target data are forwarded through the platform layer, the data layer and the application layer only need to be dedicated to the work of the data layer and the application layer, namely, the data layer and the application layer can process more data simultaneously, so that the working efficiency of the data layer and the application layer is improved, and the display framework of the scheme can meet the requirement of a measurement and control center on large information quantity of a command display system.
In combination with the technical solution provided by the first aspect, in some possible implementations, the display component library includes at least one type of component from a static information component, a table component, a curve component, and a two-dimensional map component.
In the embodiment of the application, the display component library comprises various types of components, so that the editing requirements of respective display pages can be met, the page editing efficiency of a user is further improved, and the user experience is improved.
With reference to the technical solution provided by the first aspect, in some possible implementations, the data layer is further configured to receive data from a third-party electronic device, process the received data into a preset format, and store the data processed into the preset format; the data layer is specifically configured to search the target data corresponding to the subscription information from stored data.
In the embodiment of the application, data are received from the third-party electronic device, and the received data are processed into the preset format, so that data format conversion is not needed when target data corresponding to subscription information are searched from the stored data subsequently, and the efficiency of sending the target data to the platform layer is improved.
With reference to the technical solution provided by the first aspect, in some possible implementations, the design layer is specifically configured to generate the subscription information based on a data type of each parameter that needs to be updated of the page to be displayed, in response to a configuration operation of a user.
In the embodiment of the application, the subscription information is generated based on the data type of each parameter needing to be updated of the page to be displayed, so that the data in the page to be displayed can be comprehensively updated, and the reliability of the data displayed in the finally displayed page to be displayed is improved.
With reference to the technical solution provided by the first aspect, in some possible implementations, the display frame is a client/server structure, the design layer, the application layer, and the platform layer are clients, the data layer includes a local data layer and a server data layer, the server data layer is the server, and the client and the server perform data interaction with an ethernet through the local data layer.
With reference to The technical solution provided by The first aspect, in some possible implementations, The display framework is developed based on a C + + (The C + + Programming Language/C plus plus, C + + Programming Language) Language and a Qt (application development framework) library.
In the embodiment of the application, the display framework is developed through the C + + language and the Qt library, so that the display framework can be applied to the target operating system after being recompiled in the target operating system, and the portability of the display framework is improved.
With reference to the technical solution provided by the first aspect, in some possible implementations, the data layer is further configured to implement at least one function of data source code display, data processing result display, data comparison, and data playback.
In some possible implementations, the design layer is further configured to implement at least one function of user permission initialization, page preview, task configuration initialization, page configuration saving, component library loading, component grouping management, component search, component layout, parameter binding, attribute editing, parameter verification, page layout adjustment, and parameter dictionary processing.
In some possible implementations, the platform layer is further configured to implement at least one function of user right management, interface integration framework, plug-in set management, page management, platform communication, data playback, large screen launch, and log management.
In a second aspect, the present application provides a page display method, including: responding to the operation of a user on editing pages of a preset display component library, editing pages to be displayed, responding to the configuration operation of the user, and configuring subscription information of the pages to be displayed, wherein the subscription information represents all data required to be acquired when the pages to be displayed are updated; responding to a control instruction representing the display of the page to be displayed, and acquiring the subscription information of the page to be displayed; searching corresponding target data according to the subscription information; and updating and displaying the page to be displayed based on a preset rule and the target data.
In combination with the technical solution provided by the second aspect, in some possible embodiments, the display component library includes at least one type of component from a static information component, a table component, a curve component, and a two-dimensional map component.
In combination with the technical solution provided by the second aspect, in some possible embodiments, the method further includes: receiving data from the third-party electronic equipment, processing the received data into a preset format, and storing the data processed into the preset format; the searching for the corresponding target data according to the subscription information includes: and acquiring the subscription information, and searching the target data corresponding to the subscription information from the stored data.
In a third aspect, an embodiment of the present application provides an electronic device, including: a memory and a processor, the memory and the processor connected; the memory is used for storing programs; the processor is configured to invoke a program stored in the memory to perform a method as described above in the second aspect of the embodiments and/or in conjunction with any one of the possible implementations of the embodiments of the second aspect.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a computer to perform the method according to the second aspect and/or any one of the possible implementation manners in combination with the second aspect.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
FIG. 1 is a schematic diagram illustrating data flow within a display frame according to an embodiment of the present disclosure;
FIG. 2 is a block diagram of a display frame according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a page display method according to an embodiment of the present application;
fig. 4 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, relational terms such as "first," "second," and the like may be used solely in the description herein 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.
Further, the term "and/or" in the present application is only one kind of association relationship describing the associated object, and means that three kinds of relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone.
The technical solution of the present application will be clearly and completely described below with reference to the accompanying drawings.
The display frame is used for responding to the operation of a user for editing a page based on a preset display component library, editing a page to be displayed, and responding to the configuration operation of the user to configure subscription information of the page to be displayed, wherein the subscription information represents all data required to be acquired when the page to be displayed is updated. And then, responding to a control instruction representing the display of the page to be displayed, acquiring the subscription information of the page to be displayed, searching corresponding target data according to the subscription information, and updating and displaying the page to be displayed based on a preset rule and the target data.
Optionally, in an embodiment, the display frame includes a design layer, an application layer, a platform layer, and a data layer, and a schematic diagram of the display frame is shown in fig. 1.
Optionally, the design layer is configured to edit the page to be displayed in response to a user operation of editing the page based on the preset display component library, and configure subscription information of the page to be displayed in response to a user configuration operation, where the subscription information represents all data that needs to be acquired when the page to be displayed is updated. And the platform layer is used for acquiring and sending subscription information of the page to be displayed to the data layer after receiving the control instruction for representing and displaying the page to be displayed. And the data layer is used for acquiring target data corresponding to the subscription information and sending the target data to the platform layer. And the platform layer is also used for sending the target data to the application layer. And the application layer is used for displaying the updated page to be displayed after updating the page to be displayed based on the preset rule and the target data.
Optionally, the design layer is configured to respond to a user operation of editing a page based on a preset display component library, and when editing a page to be displayed, the user may implement what you see is what you get page editing by dragging a component, and generate the page to be displayed based on at least one component. And the page to be displayed can be stored as a file in the ui format after the raw design is finished.
Optionally, the configuring, by the design layer, in response to the configuration operation of the user, specifically includes configuring, in response to the configuration operation of the user, the subscription information based on the data type of each parameter that needs to be updated of the page to be displayed, where for example, the subscription information may be generated by configuring a data source corresponding to each component that needs to be updated in the page to be displayed, where the data source represents the type of data, and then generating the subscription information based on all data sources configured in the page to be displayed. Correspondingly, at this time, the specific way for updating the page to be displayed by the application layer based on the preset rule and the target data is to update the data corresponding to the data source of the component, which needs to be subjected to data updating, in the target data to the component, so as to complete the data updating of the component.
Optionally, the data layer is further configured to receive data from the third-party electronic device, process the received data into a preset format, and store the data processed into the preset format; and then searching the target data corresponding to the subscription information from the stored data. The data layer receives data from the third-party electronic device, wherein the data comprises but is not limited to spacecraft flight data, weather data, cloud layer data, GPS positioning data, rocket telemetry processing results, satellite telemetry processing results and the like.
Optionally, in an implementation manner, after the platform layer obtains the target data, the platform layer may further obtain component information of the page to be displayed, that is, a data type that each component in the page to be displayed needs to be updated, forward data included in the target data to the corresponding component, so that the component in the page to be displayed completes data updating, and after all the components in the page to be displayed complete data updating, the application layer displays the page to be displayed.
In one embodiment, the page to be displayed may be any one of a table monitoring page, a curve monitoring page, a source code monitoring page, a two-dimensional display page, a three-dimensional display page, a logic block display page, and a web page display page.
In one embodiment, the design layer is further configured to implement at least one function of user permission initialization, page preview, task configuration initialization, page configuration saving, component library loading, component grouping management, component search, component layout, parameter binding, attribute editing, parameter verification, page layout adjustment, and parameter dictionary processing.
The page preview function is that after the user finishes editing the page, the user can preview the state of the edited page displayed in the application layer.
The page configuration saving function is that after the user finishes editing the page, the edited page can be saved.
The user authority initialization function is that after the page is edited, the authority configuration can be carried out on the page, and the authority control of the display opening of the page is completed.
The task configuration initialization function is that after a user opens a task, all relevant parameters and configuration files of the task are loaded to a preset position.
The component layout function is that when a user edits a page, if there are too many components in the page, layout (usually grid layout, horizontal layout, vertical layout, and grid layout) operation is required to complete the beautification of the page.
The parameter binding function is that when a user edits and operates a corresponding component, a corresponding data source needs to be set, namely, the component configuration data is obtained, and the parameter binding function is completed through the function.
The parameter verification function is that after the parameters are bound, the bound parameters are checked and processed to determine whether the bound parameters are wrong.
The parameter dictionary processing function is that after the task configuration is initialized, the parameters and the configuration files of the task can be modified.
The loading function of the component library is that the design layer can load different display component libraries according to the loading instruction of the user loading display component library.
The component grouping management function is that the design layer can group and manage the components in the component library according to the component grouping instruction of the user, for example, the components can be divided into components of types such as a static information component, a table component, a curve component and a two-dimensional map component according to the component types.
The component search function is to search for a component corresponding to the component search request from the loaded component library after obtaining a component search instruction of the user.
The property editing function is that after acquiring a component property modification instruction of a user, the design layer modifies the property of the component according to the modification instruction, where the properties of different types of components are different, for example, the property of the table component may include data such as the number of cells in each row of the table, the number of cells in each column of the table, the height of the cells, and the width of the cells, and the specific property type is not limited here.
The page layout adjusting function is that after receiving a page layout adjusting instruction of a user, the design layer loads a page to be modified which needs to be modified, displays the layout of the page components to be modified in a visual mode, can switch and display a page configuration file and the page layout, and realizes modification of the page layout of the page to be modified, such as modification of component attributes, page numbers, page headers and other information.
The parameter dictionary processing function comprises the operations of creating, editing, converting and inquiring the parameter dictionary, and the functions of fusing the parameter table in the document into the parameter dictionary, editing the field information of the parameter dictionary, modifying the unit content of the parameter dictionary, providing a means for converting the document and the parameter dictionary, inquiring the parameter dictionary and the like can be realized according to the operation instruction of a user.
In one embodiment, the data layer is further configured to implement at least one of data source code display, data processing result display, data comparison, and data playback.
The data processing result display function is to display the processed data after processing the received data.
The data playback function is that the data layer can play back the local storage file or play back the data stored in the server according to the operation instruction of the user, and the data layer can play back different types of data at the same time.
The data source code display function is that the received telemetering binary data is directly displayed on the corresponding page without being processed.
Optionally, the data layer may further receive multitask information, that is, multiple pieces of subscription information sent by the platform layer may be processed at the same time, and for each piece of subscription information, target data corresponding to the subscription information is sent to the platform layer.
Optionally, the data layer may further provide an access mode expansion capability in a plug-in mode, so that the data layer may receive data in different data access modes according to different plug-ins set by a user, where the plug-in mode is to expand functions of the data layer in a dynamic library mode.
Optionally, the data layer may also provide protocol expansion capability in a plug-in manner, and by setting different plug-ins in the data layer, the data layer may receive data of different protocols, such as UDF packet data, XML text data, and telemetry binary data.
Optionally, the data layer may manage a data access mode and a communication protocol of the data layer in the receiving configuration.
Optionally, the data layer may further send the channel information to the display software, query the sender container, and send data to the display software using the sender.
Optionally, the data layer may also implement data processing by using plug-in, and implement multi-format parsing and extension, that is, the data layer may convert the received data into different formats according to different plug-ins set by the user.
Optionally, the data layer may buffer a single received data frame according to the data type, may buffer only the last data frame of the currently received data, or may buffer all received data frames.
Optionally, the total frame number of the data frames cached by the data layer may be set, and after the number of the cached data frames reaches the total frame number, the caching of the data frames is stopped.
Optionally, for data cached in the data layer, the data cached in the data layer may be set to be cleared after the data layer is restarted, or the data cached in the data layer may be manually cleared by the user.
In one embodiment, the platform layer is further configured to implement at least one function of user rights management, an interface integration framework, plug-in set management, page management, platform communication, data playback, large screen delivery, and log management.
The user right management comprises two functions of user authentication and user following, wherein the user authentication function is used for authenticating a user login authentication request input by a user after receiving the user login authentication request, and the user is allowed to finish login when the user login authentication request passes the authentication.
The user following function is that after a user logs in the platform layer, the operation of the user is uploaded to the server, so that after the user logs in next time, the platform layer obtains the previous operation of the user from the server and updates the operation according to the operation of the user, for example, information of operations such as platform style setting, page opening, page collection and the like of the user can be recorded and uploaded to the server, and after the user logs in next time, the last operation attribute of the user can be automatically updated from the server.
The interface integration frame function comprises an interface plug-in identification capability, an interface plug-in control capability, an interface display capability, an interface style switching capability, a page saving and printing function, an automatic and manual mode and a task common information display function.
The interface plug-in recognition capability is that the corresponding component page can be loaded.
The interface plug-in control capability is that the operation of the components in the page can be realized through the platform layer.
The interface display capability is that the corresponding component interface can be displayed.
The interface style switching capability is that the style of the page can be controlled through the platform layer.
The page saving and printing functions are that the screenshot and printing of the page can be realized through the platform layer.
The automatic and manual mode functions are that the platform layer can set the page to be automatically opened according to a preset mode, and the page can also be manually opened by a user.
The task common information display function is that the platform layer displays information such as the flight time of the task after the task is opened.
The plug-in management function comprises the expansion of the function realized by the integration in a plug-in mode, the transmission of calling parameters to the integrated plug-in and log management, the platform layer can realize the expansion of the function by the integration in a plug-in mode, and the plug-in is a compiled dynamic library. The platform layer can transfer calling parameters such as rocket telemetry processing results, satellite telemetry processing results and the like to the integrated plug-in. The log management comprises four functions of log receiving (receiving logs sent by a data layer, an application layer and a design layer), log storage, log retrieval and alarming.
The page management functions comprise page dynamic loading and switching, page configuration initialization, page data resetting, page projection, page parameter timeliness prompting, page rapid aggregation, page collection, page screenshot export, page printing and previewing capabilities.
The dynamic loading and switching function is that the platform layer can open a switching page.
The page configuration initialization function is that a platform layer can open a page, initialize the page, for example, extract a component data source in the page, and register the component data source to an engine.
The page data reset function is that the platform layer can reset all page information (clear all data displayed in the page).
The page parameter timeliness prompt function is that the data displayed on the opened page can be distinguished from real-time data or playback data.
The page rapid aggregation function is that this can be deleted
The data playback function includes initiation of data playback, selection of playback type, seamless connection of playback data with real-time data, and the like. The playback types include two playback modes of single-page playback and whole-page playback.
The large screen projection can provide projection management support, display pages can be output to a user-defined layout, the number of rows and columns of the projection layout can be defined by user, and multiple pages can be projected simultaneously. After the user-defined projection layout is completed, a current open page list can be displayed, and when a user places a page at a specified layout position in a dragging mode, the dragged page is displayed at the specified layout position.
The log management can record the information of the start time, the close time, the important event of software operation, the important operation of man-machine interaction and the like of the local software in a log mode. The log can be classified according to attributes such as the transmission source (the object to which the log is transmitted), the log level, and the generation time. The user may also configure the size, time range of the log information store. In addition, the user can check the real-time monitoring log, search and query and open the historical log file when the platform layer runs.
In one embodiment, the platform layer receives real-time measurement and control data or playback data sent by the data layer, analyzes and processes the received data according to preset page configuration information, and then displays the analyzed real-time measurement and control data or playback data.
In one embodiment, the display component library includes at least one type of component from among a static information component (for editing static information, such as text boxes), a table component (for editing tables), a curve component (for editing curves), and a two-dimensional map component (for editing two-dimensional maps).
Optionally, a user may design a new component through the design layer, then encapsulate at least one newly designed component to generate an encapsulated display component library, package and compile the encapsulated display component library into a dynamic library and perform testing to obtain a new display component library, and may deploy the display component library on the design layer of the target node, that is, on the target node, and use the display component library to edit the page through the design layer. Wherein, the target node refers to the electronic device with the display frame.
In one embodiment, the display framework is a client/server structure, the design layer, the application layer, and the platform layer are clients, the data layer includes a local data layer and a server data layer, the server data layer is a server, and the clients and the server perform data interaction with the ethernet through the local data layer. The client and the server can be deployed on different electronic devices, and the client and the local data layer are deployed on the same electronic device. The local data layer is used for receiving and processing the received data, the client data layer is used for storing the data processed by the local data layer, the specific working principle and working content of the data layer are clear in the foregoing description, and no further description is given here for the sake of brief description.
In one embodiment, the display framework is developed based on the C + + language and the Qt library, so that the display framework can be applied to the target operating system after being recompiled in the target operating system.
One embodiment of a display framework is shown in fig. 2. the display framework shown in fig. 2 includes an application layer, a design layer, a platform layer, and a data layer. The specific functions of the application layer, the design layer, the platform layer, and the data layer are already described above for clarity, and are not repeated here for brevity.
Referring to fig. 3, fig. 3 is a page display method according to an embodiment of the present application, and the steps included in the page display method will be described with reference to fig. 3.
S100: and responding to the operation of a user on editing the page of the preset display component library, editing the page to be displayed, and responding to the configuration operation of the user, and configuring the subscription information of the page to be displayed.
The subscription information in S100 represents all data that needs to be acquired when the page to be displayed is updated. The display component library comprises at least one type of components from static information components, table components, curve components and two-dimensional map components.
Optionally, the specific process of configuring the subscription information of the page to be displayed may be that, in response to the configuration operation of the user, the subscription information is generated based on each parameter of the page to be displayed, which needs to be updated.
S200: and responding to a control instruction for representing and displaying the page to be displayed, and acquiring the subscription information of the page to be displayed.
S300: and searching corresponding target data according to the subscription information.
Optionally, before searching for corresponding target data according to the subscription information, data is received from the third-party electronic device, the received data is processed into a preset format, the data processed into the preset format is stored, then the subscription information is obtained, and the target data corresponding to the subscription information is searched for from the stored data.
S400: and updating and displaying the page to be displayed based on the preset rule and the target data.
The page display method provided by the embodiment of the application has the same implementation principle and technical effect as those of the display frame embodiment, and for brief description, no part of the method embodiment is mentioned, and reference may be made to corresponding contents in the display frame embodiment.
Please refer to fig. 4, which is an electronic device 200 according to an embodiment of the present disclosure. The electronic device 200 includes: a transceiver 210, a memory 220, a communication bus 230, and a processor 240.
The elements of the transceiver 210, the memory 220, and the processor 240 are electrically connected to each other directly or indirectly to achieve data transmission or interaction. For example, the components may be electrically coupled to each other via one or more communication buses 230 or signal lines. The transceiver 210 is used for transceiving data. The memory 220 is used to store a computer program, such as the software functional module shown in fig. 1, i.e., the display frame 100. The display device 100 includes at least one software function module, which may be stored in the memory 220 in the form of software or firmware (firmware) or solidified in an Operating System (OS) of the electronic device 200. The processor 240 is configured to execute an executable module stored in the memory 220, such as a software functional module or a computer program included in the display device 100. At this time, the processor 240 is configured to respond to a user operation of editing a page based on a preset display component library, edit a page to be displayed according to the preset display component library, and respond to a user configuration operation, configure subscription information of the page to be displayed, where the subscription information represents all data that needs to be acquired when the page to be displayed is updated; responding to a page display request control instruction representing to display the page to be displayed, and acquiring the subscription information of the page to be displayed; searching corresponding target data according to the subscription information; and updating and displaying the page to be displayed based on a preset rule and the target data.
The Memory 220 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like.
The processor 240 may be an integrated circuit chip having signal processing capabilities. The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor 240 may be any conventional processor or the like.
The electronic device 200 includes, but is not limited to, a personal computer, a server, and the like.
The embodiment of the present application further provides a non-volatile computer-readable storage medium (hereinafter, referred to as a storage medium), where a computer program is stored on the storage medium, and when the computer program is run by the electronic device 200 as described above, the above-described page display method is executed. The computer-readable storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A display frame, comprising: a design layer, an application layer, a platform layer and a data layer;
the design layer is used for responding to the operation of a user for editing the page based on a preset display component library, editing the page to be displayed, and responding to the configuration operation of the user to configure the subscription information of the page to be displayed, wherein the subscription information represents all data required to be acquired by updating the page to be displayed;
the platform layer is used for acquiring and sending the subscription information of the page to be displayed to the data layer after receiving a control instruction for representing and displaying the page to be displayed;
the data layer is used for acquiring target data corresponding to the subscription information and sending the target data to the platform layer;
the platform layer is also used for sending the target data to the application layer;
and the application layer is used for updating the page to be displayed and displaying the updated page to be displayed based on a preset rule and the target data.
2. The display frame of claim 1, wherein the data layer is further configured to receive data from a third-party electronic device, process the received data into a preset format, and store the data processed into the preset format;
the data layer is specifically configured to search the target data corresponding to the subscription information from stored data.
3. The display frame of claim 1, wherein the design layer is specifically configured to generate the subscription information based on a data category of each parameter of the page to be presented that needs to be updated in response to a configuration operation of a user.
4. The display framework of claim 1, wherein the display framework is a client/server architecture, the design layer, the application layer, and the platform layer are clients, the data layer comprises a local data layer and a server data layer, the server data layer is the server, and the clients and the server interact with ethernet via the local data layer.
5. The display frame of claim 1, wherein the data layer is further configured to implement at least one of data source display, data processing result display, data comparison, and data playback.
6. A page display method is characterized by comprising the following steps:
responding to the operation of a user on editing pages of a preset display component library, editing pages to be displayed, responding to the configuration operation of the user, and configuring subscription information of the pages to be displayed, wherein the subscription information represents all data required to be acquired when the pages to be displayed are updated;
responding to a control instruction representing the display of the page to be displayed, and acquiring the subscription information of the page to be displayed;
searching corresponding target data according to the subscription information;
and updating and displaying the page to be displayed based on a preset rule and the target data.
7. The method of claim 6, further comprising:
receiving data from the third-party electronic equipment, processing the received data into a preset format, and storing the data processed into the preset format;
the searching for the corresponding target data according to the subscription information includes:
and searching the target data corresponding to the subscription information from the stored data.
8. The method according to claim 6, wherein the configuring subscription information of the page to be displayed comprises:
and responding to the configuration operation of the user, and generating the subscription information based on each parameter needing to be updated of the page to be displayed.
9. An electronic device, comprising: a memory and a processor, the memory and the processor connected;
the memory is used for storing programs;
the processor to invoke a program stored in the memory to perform the method of any of claims 6-8.
10. A computer-readable storage medium, having stored thereon a computer program which, when executed by a computer, performs the method of any one of claims 6-8.
CN202210217442.6A 2022-03-07 2022-03-07 Display frame, page display method, electronic device and storage medium Pending CN114579123A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210217442.6A CN114579123A (en) 2022-03-07 2022-03-07 Display frame, page display method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210217442.6A CN114579123A (en) 2022-03-07 2022-03-07 Display frame, page display method, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN114579123A true CN114579123A (en) 2022-06-03

Family

ID=81778887

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210217442.6A Pending CN114579123A (en) 2022-03-07 2022-03-07 Display frame, page display method, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN114579123A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114895878A (en) * 2022-07-13 2022-08-12 天津中新智冠信息技术有限公司 Information system framework, development method and multilevel management system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114895878A (en) * 2022-07-13 2022-08-12 天津中新智冠信息技术有限公司 Information system framework, development method and multilevel management system

Similar Documents

Publication Publication Date Title
US11669503B2 (en) Building and managing data-processing attributes for modeled data sources
CN108304201B (en) Object updating method, device and equipment
US11763076B2 (en) Document applet generation
CN104133772A (en) Automatic test data generation method
CN111427561A (en) Service code generation method and device, computer equipment and storage medium
CN110955428A (en) Page display method and device, electronic equipment and medium
CN103645951A (en) Cross-platform mobile data management system and method
CN104123227A (en) Method for automatically generating testing cases
CN111666129B (en) Container mirror image processing method, electronic device, storage medium and system
CN108287894B (en) Data processing method, device, computing equipment and storage medium
JP2017076368A (en) Information processing system, information processing apparatus, information processing method, and information processing program
US11487595B2 (en) API adapter creation device, API adapter creation method, and API adapter creation program
CN111858727A (en) Multi-data-source data export system and method based on template configuration
CN115309648A (en) Robot automation process management method and system
WO2023040143A1 (en) Cloud service resource orchestration method and apparatus, and device and storage medium
US20060173755A1 (en) Catalog management apparatus, catalog generation method and catalog retrieval method
CN114594927A (en) Low code development method, device, system, server and storage medium
CN115857886A (en) Low code development platform for basic government affair application
CN116737127A (en) Low code development method, device, equipment and storage medium
CN114579123A (en) Display frame, page display method, electronic device and storage medium
JP2017084402A (en) Information processing system, information processing apparatus, information processing method, and program
CN113568614A (en) Task issuing method, electronic device and storage medium
CN113448569A (en) Site page processing system, method, equipment and storage medium
CN116719735A (en) Test case generation method and device
US20190121681A1 (en) Framework for integrating a user device and a mainframe system

Legal Events

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