CN110908745A - Data analysis display method and system, storage medium, server and client - Google Patents

Data analysis display method and system, storage medium, server and client Download PDF

Info

Publication number
CN110908745A
CN110908745A CN201811427312.5A CN201811427312A CN110908745A CN 110908745 A CN110908745 A CN 110908745A CN 201811427312 A CN201811427312 A CN 201811427312A CN 110908745 A CN110908745 A CN 110908745A
Authority
CN
China
Prior art keywords
window
scene
toolbar
information
client
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.)
Granted
Application number
CN201811427312.5A
Other languages
Chinese (zh)
Other versions
CN110908745B (en
Inventor
王茂华
顾倩荣
黄永健
戴橙
周智伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Advanced Research Institute of CAS
Original Assignee
Shanghai Advanced Research Institute of CAS
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 Shanghai Advanced Research Institute of CAS filed Critical Shanghai Advanced Research Institute of CAS
Publication of CN110908745A publication Critical patent/CN110908745A/en
Application granted granted Critical
Publication of CN110908745B publication Critical patent/CN110908745B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Abstract

The invention provides a data analysis display method and system, a storage medium, a server and a client, which comprises the following steps: receiving scene starting information sent by a client, wherein the scene starting information comprises scene identification information and a window list under a scene; creating a scene management module corresponding to the scene identification information; creating a window management module corresponding to the window under the scene; and broadcasting heartbeat information to the window under the scene based on a preset time interval, and updating the window state in the window management module based on window state information sent by the client window. The data analysis display method and system, the storage medium, the server and the client are based on a cross-platform distributed structure of a message mechanism, data analysis display scenes are customized according to requirements, and the number and display forms of windows are designed according to data characteristics and display contents, so that the operation display of the whole scene is completed.

Description

Data analysis display method and system, storage medium, server and client
Technical Field
The present invention relates to the technical field of data analysis and display, and in particular, to a data analysis and display method and system, a storage medium, a server, and a client.
Background
In recent years, with the development of large data, the application of data analysis has been in a high-speed development period. The process of scientific discovery is enriched by the aid of visual processing of data to assist analysis and reproduce objective effects, and the process becomes an essential data auxiliary processing part in many fields. Visualization technologies in the data display system mainly include chart display, three-dimensional model display, message mechanism, xml configuration files, map information, videos, pictures and the like.
The diagram display technology Echarts comprises various forms of data diagrams, is compatible with most of browsers IE8/9/10/11, Chrome, Firefox, Safari and the like, and can provide direct, vivid, interactive and highly personalized data display diagrams. The innovative features of dragging recalculation, data view, value range roaming and the like greatly enhance the user experience and endow the user with the capability of mining and integrating data.
The three-dimensional model display technology is used for intuitively displaying data or the full view of a tool for acquiring the data in a three-dimensional form, particularly a dynamic graph, backtracking or simulating the effects of data generation and data analysis in an animation mode, and assisting a user to deeply understand the meaning and the application of the data.
The Xml configuration file is an extensible markup language, is mainly used for transmitting and storing data, enables the data to be stored independently of software and hardware, can simplify storage and sharing of the data, and is commonly used for storing underlying configuration data.
The message mechanism is a set of procedures for transferring information by recording the message itself. When a user makes an input or the state of an application changes, the system sends a message to other applications or windows to determine its subsequent action.
The representation forms of map information, videos, pictures and the like are also commonly used in the display system, the characteristics of data regions are displayed through the map information, and other information contained in the data is displayed more visually through the videos and the pictures.
However, the data analysis and display schemes cannot achieve the cross-platform distributed, multi-scenario and multi-window linked data analysis and display effect, and cannot meet the requirements of practical application.
Disclosure of Invention
In view of the above drawbacks of the prior art, an object of the present invention is to provide a data analysis display method and system, a storage medium, a server, and a client, which customize a data analysis display scenario according to a requirement based on a cross-platform distributed structure of a message mechanism, and design the number and display form of windows according to data features and display contents, thereby completing the operation display of the entire scenario.
In order to achieve the above objects and other related objects, the present invention provides a data analysis display method applied to a server, including the following steps: receiving scene starting information sent by a client, wherein the scene starting information comprises scene identification information and a window list under a scene; creating a scene management module corresponding to the scene identification information; creating a window management module corresponding to the window under the scene; and broadcasting heartbeat information to the window under the scene based on a preset time interval, and updating the window state in the window management module based on window state information sent by the client window.
In an embodiment of the present invention, when receiving context switching information that includes target context identification information and is sent by a client, deleting a non-toolbar window in a window list under the context based on the window management module, and sending a context switching instruction that includes the target context identification information to the client based on the context management module, so that the client starts a corresponding window according to the target context identification information.
In an embodiment of the present invention, the method further includes receiving scenario exit information sent by a client, deleting all windows in the window list under the scenario based on the window management module, and logging out the window management module and the scenario management module.
Correspondingly, the invention provides a data analysis and display system which is applied to a server and comprises a receiving module, a first creating module, a second creating module and a broadcast updating module;
the receiving module is used for receiving scene starting information sent by a client, and the scene starting information comprises scene identification information and a window list under scenes;
the first creating module is used for creating a scene management module corresponding to the scene identification information;
the second creating module is used for creating a window management module corresponding to the window under the scene;
the broadcast updating module is used for broadcasting heartbeat information to the window under the scene based on a preset time interval and updating the window state in the window management module based on window state information sent by the client window.
The present invention provides a storage medium having stored thereon a computer program which, when executed by a processor, implements the data analysis presentation method described above.
The present invention provides a server, comprising: a processor and a memory;
the memory is used for storing a computer program;
the processor is used for executing the computer program stored in the memory so as to enable the server to execute the data analysis display method.
The invention provides a data analysis display method, which is applied to a client, wherein the client comprises a toolbar window and at least one non-toolbar window, and scene configuration information and corresponding window configuration information are preset, and the method comprises the following steps:
sending scene starting information to a server through a toolbar of the toolbar window based on preset scene configuration information, wherein the scene starting information comprises scene identification information and a window list under scenes;
after the server creates a scene management module and a window management module, starting the at least one non-toolbar window through the toolbar based on preset window configuration information corresponding to the scene identification information;
and receiving the broadcast heartbeat information sent by the server based on a preset time interval based on the toolbar window and the non-toolbar window, and respectively sending window state information of the server to the server.
In an embodiment of the present invention, when the non-toolbar window does not receive the broadcast heartbeat message for a predetermined number of consecutive times, the non-toolbar window is automatically closed, and the non-toolbar window is restarted based on the toolbar window.
In an embodiment of the present invention, the method further includes broadcasting context switching information including target context identification information based on the toolbar of the toolbar window, and closing all non-toolbar windows; and starting a corresponding window based on preset window configuration information corresponding to the target scene identification information according to a scene switching instruction which is sent by the server and contains the target scene identification information.
In an embodiment of the present invention, the method further includes closing the window in the window list under the scenario based on the toolbar broadcasting scenario exit information of the toolbar window.
Correspondingly, the invention provides a data analysis display system, which is applied to a client, wherein the client comprises a toolbar window and at least one non-toolbar window, and is preset with scene configuration information and corresponding window configuration information, and comprises a sending module, a starting module and a receiving and sending module;
the sending module is used for sending scene starting information to a server through a toolbar of the toolbar window based on preset scene configuration information, and the scene starting information comprises scene identification information and a window list under scenes;
the starting module is used for starting the at least one non-toolbar window through the toolbar based on preset window configuration information corresponding to the scene identification information after the scene management module and the window management module are created by the server;
the receiving and sending module is used for receiving the broadcast heartbeat information sent by the server based on the preset time interval based on the toolbar window and the non-toolbar window, and respectively sending window state information of the receiving and sending module to the server.
The present invention provides a storage medium having stored thereon a computer program which, when executed by a processor, implements the data analysis presentation method described above.
The invention provides a client, comprising: a processor and a memory;
the memory is used for storing a computer program;
the processor is used for executing the computer program stored in the memory so as to enable the client to execute the data analysis display method.
The invention provides a data analysis display system which comprises the server and at least one client, wherein scene configuration information and corresponding window configuration information are preset in the client.
In an embodiment of the present invention, the at least one client is deployed at an arbitrary location.
In an embodiment of the present invention, the context configuration information includes context identification information, a toolbar queue, a window number, a window path, a message type allowed to be received and sent, and context function settings; the window configuration information comprises window size, window position, linkage relation among windows, message types allowed to be received and sent by the windows and window function setting.
As described above, the data analysis display method and system, the storage medium, the server and the client of the present invention have the following advantages:
(1) the data analysis and display of cross-platform distribution, multiple scenes and multiple window linkage is realized based on a message mechanism, and key information and characteristics of data are intuitively transmitted by means of data visualization, so that deep insight of a large number of complex data sets is realized;
(2) based on a cross-platform distributed structure of a message mechanism, a user can customize data analysis display scenes according to requirements, design the number and display forms of windows according to data characteristics and display contents, configure linkage relations among the windows through xml, realize linkage among the windows through the message mechanism, and finish operation display of the whole scene; the expansibility and the applicability are good; deep information contained in the data can be intuitively and efficiently mined, and scientific research and popularization of data application are promoted;
(3) windows under the situation can be distributed and deployed on a plurality of computers at any positions in the same network, so that the flexibility of system installation is improved;
(4) the windows of various types can be freely and flexibly combined to meet different requirements of users.
Drawings
FIG. 1 is a flow chart of a data analysis display method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a context initiation message in accordance with the present invention;
FIG. 3 is a flow chart of context switching messages in the present invention;
FIG. 4 is a flow chart of a context switch message in the present invention;
FIG. 5 is a flow chart illustrating a scene state transition according to the present invention;
FIG. 6 is a schematic structural diagram of a data analysis display system according to an embodiment of the present invention;
FIG. 7 is a block diagram of a server according to an embodiment of the present invention;
FIG. 8 is a flow chart of a data analysis display method according to another embodiment of the present invention;
FIG. 9 is a schematic structural diagram of a data analysis display system according to another embodiment of the present invention;
FIG. 10 is a schematic structural diagram of a client according to an embodiment of the present invention;
FIG. 11 is a schematic structural diagram of a data analysis display system according to another embodiment of the present invention;
FIG. 12 illustrates a start-up flow of a data product analysis display scenario in one embodiment;
FIG. 13 is a flow chart illustrating a switching of data product analysis display scenarios in one embodiment;
FIG. 14 illustrates an exit flow of a data product analysis presentation scenario in one embodiment.
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention.
It should be noted that the drawings provided in the present embodiment are only for illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
According to the data analysis display method and system, the storage medium, the server and the client, a cross-platform distributed structure based on a message mechanism is adopted, the data analysis display scene is customized according to requirements, the window number and the display form are designed according to data characteristics and display contents, and accordingly multi-scene and multi-window linkage scene operation display is completed.
The data analysis display system comprises a server and at least one client. The server is mainly responsible for managing and maintaining scenes and window lists; the client comprises two parts, namely a toolbar and a data display window, and is mainly responsible for message delivery and response. The scene configuration file and the window configuration file are preset on the client. The scene configuration file stores scene identification information, toolbar queues, window quantity, window paths, message types allowed to be received and sent, scene function setting and other scene configuration data of each scene; the window configuration file stores window configuration data such as the type, size and position of each window, linkage relation among windows, message types allowed to be received and sent by the windows, window function setting and the like in the scene. Preferably, the scene configuration file and the window configuration file both adopt xml files. The scene identification information adopts a scene ID. The toolbar is used as a management tool of the data analysis display system, and is used for comprehensively managing the starting, switching and quitting of each scene in the system and the window setting in the scene. The invention realizes cross-platform distributed operation through the cooperation of a toolbar, a configuration file and a message mechanism. The toolbar manages creation, deletion and setting of scene windows, the configuration file stores configuration data of scenes and windows, and the message mechanism can realize information transmission among the windows across platforms, so that a plurality of windows in the display system can be deployed on computers at any positions.
As shown in fig. 1 and fig. 2, in an embodiment, the data analysis display method of the present invention is applied to a server, and includes the following steps:
step S11, receiving scenario start information sent by the client, where the scenario start information includes scenario identification information and a window list under a scenario.
Specifically, the client includes a toolbar window and at least one non-toolbar window, i.e., a contextual window. And the client sends scene starting information to the server through the toolbar of the toolbar window. The scene starting information includes scene identification information extracted from the scene configuration information and a window list under the scene.
And step S12, creating a scene management module corresponding to the scene identification information.
Specifically, after receiving the scenario start message, the server creates a scenario management module corresponding to the scenario identification information, and adds the scenario identification information to a scenario list. The scene management module is mainly responsible for registering and canceling each scene in the management system, and generates a window management module of the current scene according to the scene configuration file. Each scenario corresponds to a window management module.
And step S13, creating a window management module corresponding to the window under the scene.
Specifically, the server creates a window management module according to the windows under the situation, and adds the window list under the situation to the window management module. The window management module is mainly used for maintaining the state of each window under the scene through sending and receiving heartbeat messages broadcasted by the system. After the scene management module and the window management module are established, the server sends a scene starting ready message to a toolbar of the client side to inform the toolbar that the window can be started. And the toolbar of the client starts the contextual window according to the window configuration file, and sends a starting success message to the server after the contextual window is successfully started. The window management module of the server records the current state of the window, namely 'active', and the scene management module sets the current scene state to 'Normal'. And then, the receiving and responding actions of the service messages are executed among the windows according to the service requirements.
And step S14, broadcasting heartbeat information to the window under the scene based on a preset time interval, and updating the window state in the window management module based on the window state information sent by the client window.
Specifically, the server broadcasts heartbeat information to the windows under the scene based on a preset time interval to detect whether each window works normally. The windows under the situation comprise a toolbar window and a non-toolbar window, and responses are required after the heartbeat information is received. If the window is started successfully, the window returns an 'alive' state to the window management module; if the scene window does not receive the heartbeat message for two consecutive times, the window judges that the window is dead, and the window is automatically closed. And the toolbar window of the client executes a program to restart the window after receiving the dead window message. And after the restart is successful, the window management module of the server refreshes the window state according to the window state information.
In an embodiment of the present invention, when receiving context switching information including target context identification information sent by a client, the data analysis display method further includes deleting a non-toolbar window in a window list under the context based on the window management module, and sending a context switching instruction including the target context identification information to the client based on the context management module, so that the client starts a corresponding window according to the target context identification information. As shown in fig. 3, when scene switching is required, a toolbar in a client broadcasts scene switching information, where the scene switching information includes target scene identification information extracted from a scene configuration file, and after receiving a message, the scene management module sets a scene state to "switching" and stores the target scene identification information. And after receiving the scene switching information, the window management module deletes the current scene window in the window list under the scene and sends deletion completion information to the scene management module. And the scene management module sends scene switching information containing target scene identification information to a toolbar window of the client. And the toolbar window of the client reads the window configuration information corresponding to the target scene identification information so as to obtain the window number and the window path of the target scene, and sends starting information to the corresponding scene window. And starting the windows according to the window configuration file by each scene window, and returning starting success information to the server after the windows are started successfully. And the window management module of the server records the 'alive' state of the windows and sets the current scene state to 'Normal'. And then, the receiving and responding actions of the service messages are executed among the windows according to the service requirements of the new scene. It should be noted that, in the entire scene switching process, the toolbar window is not closed.
In an embodiment of the present invention, the data analysis display method further includes receiving scenario exit information sent by a client, deleting all windows in the window list under the scenario based on the window management module, and logging out the window management module and the scenario management module. As shown in fig. 4, when the profile exits, the toolbar of the client broadcasts profile exit information, and the server sets the profile status to "close" after receiving the profile exit information. And after the scene window of the client receives the scene exit information, closing the current scene window. After all windows (including toolbar windows) of the client are closed, sending closing success information to a server; the window management module of the server deletes all windows therebelow, logs out the whole window management module and informs the scene management module; and the scene management module executes a logout action until the quitting of the whole scene is finished.
As shown in fig. 5, the scenario includes three states, namely "Normal", "Closing", and "Changing", which correspond to three states, namely, scenario start, scenario switch, and scenario exit, respectively. Wherein, after the window is successfully started, the scene state is 'Normal'; when the scene is switched, the current scene state is 'Changing'; after the switching is completed, the scene state is 'Normal' after all new windows are started successfully; when the scene exits, the current scene state is set as 'cloning' until the whole scene finishes exiting action and closes the scene.
As shown in fig. 6, in an embodiment, the data analysis presentation system of the present invention is applied to a server, and includes a receiving module 61, a first creating module 62, a second creating module 63, and a broadcast updating module 64.
The receiving module 61 is configured to receive context start information sent by a client, where the context start information includes context identification information and a window list under a context.
The first creating module 62 is connected to the receiving module 61, and is configured to create a scenario management module corresponding to the scenario identification information.
The second creating module 63 is connected to the receiving module 61, and is configured to create a window management module corresponding to the window in the scenario.
The broadcast update module 64 is configured to broadcast heartbeat information to the windows under the scenario based on a preset time interval, and update the window state in the window management module based on the window state information sent by the client window.
It should be noted that the structures and principles of the receiving module 61, the first creating module 62, the second creating module 63, and the broadcast updating module 64 correspond to the steps in the data analysis and display method one to one, and therefore, the description is omitted here.
It should be noted that the division of the modules of the above apparatus is only a logical division, and the actual implementation may be wholly or partially integrated into one physical entity, or may be physically separated. And these modules can be realized in the form of software called by processing element; and part of the modules can be realized in the form of calling software by the processing element, and part of the modules can be realized in the form of hardware. For example, the x module may be a processing element that is set up separately, or may be implemented by being integrated in a chip of the apparatus, or may be stored in a memory of the apparatus in the form of program code, and the function of the x module may be called and executed by a processing element of the apparatus. Other modules are implemented similarly. In addition, all or part of the modules can be integrated together or can be independently realized. The processing element described herein may be an integrated circuit having signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.
For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
The storage medium of the present invention has stored thereon a computer program which, when executed by a processor, implements the data analysis presentation method described above. Preferably, the storage medium includes various media that can store program codes, such as ROM, RAM, a magnetic disk, a usb disk, a memory card, or an optical disk.
As shown in fig. 7, in an embodiment, the server of the present invention includes: a processor 71 and a memory 72.
The memory 72 is used for storing computer programs.
The memory 72 includes: various media that can store program codes, such as ROM, RAM, magnetic disk, U-disk, memory card, or optical disk.
The processor 71 is connected to the memory 72, and is configured to execute the computer program stored in the memory 72, so as to enable the server to execute the data analysis display method.
Preferably, the Processor 71 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; the integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components.
As shown in fig. 8 and fig. 2, in another embodiment, the data analysis display method of the present invention is applied to a client, where the client includes a toolbar window and at least one non-toolbar window, and context configuration information and corresponding window configuration information are preset. The toolbar window is mainly responsible for triggering actions of scene starting, scene switching and scene quitting of the whole system, receives information of the server and makes corresponding feedback actions. When a certain window of the computer is monitored to be dead under the situation in the system, the toolbar window can start a program to reload a failed window. The non-toolbar window is mainly used for receiving and forwarding control messages and service messages related to the functions of the window. The control messages mainly include heartbeat messages, start messages, exit messages, and the like.
The data analysis display method comprises the following steps:
step S81, sending scene starting information to a server through a toolbar of the toolbar window based on preset scene configuration information, wherein the scene starting information comprises scene identification information and a window list under scenes.
Specifically, the client sends scene starting information to the server through the toolbar of the toolbar window. The scene starting information includes scene identification information extracted from the scene configuration information and a window list under the scene. And after receiving the scene starting message, the server creates a scene management module corresponding to the scene identification information and adds the scene identification information into a scene list. The scene management module is mainly responsible for registering and canceling each scene in the management system, and generates a window management module of the current scene according to the scene configuration file. Each scenario corresponds to a window management module. And then, the server creates a window management module according to the windows under the scenes, and adds the window list under the scenes to the window management module. The window management module is mainly used for maintaining the state of each window under the scene through sending and receiving heartbeat messages broadcasted by the system. After the scene management module and the window management module are established, the server sends a scene starting ready message to a toolbar of the client side to inform the toolbar that the window can be started.
Step S82, after the server creates the scenario management module and the window management module, starting the at least one non-toolbar window through the toolbar based on the preset window configuration information corresponding to the scenario identification information.
Specifically, after receiving the start-up ready information sent by the server, the toolbar of the client starts the contextual window according to the window configuration file, and sends a start-up success message to the server after the contextual window is successfully started. The window management module of the server records the current state of the window, namely 'active', and the scene management module sets the current scene state to 'Normal'. And then, the receiving and responding actions of the service messages are executed among the windows according to the service requirements.
And step S83, receiving the broadcast heartbeat information sent by the server based on the preset time interval based on the toolbar window and the non-toolbar window, and respectively sending window state information of the server to the server.
Specifically, the server broadcasts heartbeat information to the windows under the scene based on a preset time interval to detect whether each window works normally. The windows under the situation comprise a toolbar window and a non-toolbar window, and responses are required after the heartbeat information is received. If the window is started successfully, the window returns an 'alive' state to the window management module.
In an embodiment of the present invention, when the non-toolbar window does not receive the broadcast heartbeat message for a predetermined number of consecutive times, the non-toolbar window is automatically closed, and the non-toolbar window is restarted based on the toolbar window. Specifically, if the scene window continues for a preset number of times, if the heartbeat message is not received twice, the window itself determines that the window is dead, and the window is automatically closed. And the toolbar window of the client executes a program to restart the window after receiving the dead window message. And after the restart is successful, the window management module of the server refreshes the window state according to the window state information.
In an embodiment of the present invention, the data analysis display method further includes broadcasting context switching information including target context identification information based on the toolbar of the toolbar window, and closing all non-toolbar windows; and starting a corresponding window based on preset window configuration information corresponding to the target scene identification information according to a scene switching instruction which is sent by the server and contains the target scene identification information. As shown in fig. 3, when scene switching is required, a toolbar in a client broadcasts scene switching information, where the scene switching information includes target scene identification information extracted from a scene configuration file, and after receiving a message, the scene management module sets a scene state to "switching" and stores the target scene identification information. And after receiving the scene switching information, the window management module deletes the current scene window in the window list under the scene and sends deletion completion information to the scene management module. And the scene management module sends scene switching information containing target scene identification information to a toolbar window of the client. And the toolbar window of the client reads the window configuration information corresponding to the target scene identification information so as to obtain the window number and the window path of the target scene, and sends starting information to the corresponding scene window. And starting the windows according to the window configuration file by each scene window, and returning starting success information to the server after the windows are started successfully. And the window management module of the server records the 'alive' state of the windows and sets the current scene state to 'Normal'. And then, the receiving and responding actions of the service messages are executed among the windows according to the service requirements of the new scene. It should be noted that, in the entire scene switching process, the toolbar window is not closed.
In an embodiment of the present invention, the data analysis display method further includes closing the window in the window list under the scenario based on the toolbar broadcasting scenario exit information of the toolbar window. As shown in fig. 4, when the profile exits, the toolbar of the client broadcasts profile exit information, and the server sets the profile status to "close" after receiving the profile exit information. And after the scene window of the client receives the scene exit information, closing the current scene window. After all windows (including toolbar windows) of the client are closed, sending closing success information to a server; the window management module of the server deletes all windows therebelow, logs out the whole window management module and informs the scene management module; and the scene management module executes a logout action until the quitting of the whole scene is finished.
As shown in fig. 9, in another embodiment, the data analysis presentation system of the present invention is applied to a client, where the client includes a toolbar window and at least one non-toolbar window, and context configuration information and corresponding window configuration information are preset. The data analysis and display system comprises a sending module 91, a starting module 92 and a receiving and sending module 93.
The sending module 91 is configured to send scenario start information to a server through a toolbar of the toolbar window based on preset scenario configuration information, where the scenario start information includes scenario identification information and a window list under a scenario.
The starting module 92 is connected to the sending module 91, and configured to start the at least one non-toolbar window through the toolbar based on the preset window configuration information corresponding to the context identification information after the server creates the context management module and the window management module.
The receiving and sending module 93 is configured to receive, based on the toolbar window and the non-toolbar window, broadcast heartbeat information sent by the server based on a preset time interval, and send window state information of the receiving and sending module to the server respectively.
It should be noted that the structures and principles of the sending module 91, the starting module 92 and the receiving and sending module 93 correspond to the steps in the data analysis and presentation method, and therefore are not described herein again.
It should be noted that the division of the modules of the above apparatus is only a logical division, and the actual implementation may be wholly or partially integrated into one physical entity, or may be physically separated. And these modules can be realized in the form of software called by processing element; and part of the modules can be realized in the form of calling software by the processing element, and part of the modules can be realized in the form of hardware. For example, the x module may be a processing element that is set up separately, or may be implemented by being integrated in a chip of the apparatus, or may be stored in a memory of the apparatus in the form of program code, and the function of the x module may be called and executed by a processing element of the apparatus. Other modules are implemented similarly. In addition, all or part of the modules can be integrated together or can be independently realized. The processing element described herein may be an integrated circuit having signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.
For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
The storage medium of the present invention stores thereon a computer program, which when executed by a processor implements the above-described data analysis presentation method. The storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic disk, U-disk, memory card, or optical disk.
As shown in fig. 10, in an embodiment, the client of the present invention includes: a processor 101 and a memory 102.
The memory 102 is used for storing computer programs.
The memory 102 includes: various media that can store program codes, such as ROM, RAM, magnetic disk, U-disk, memory card, or optical disk.
The processor 101 is connected to the memory 102, and is configured to execute the computer program stored in the memory 102, so that the client performs the data analysis and presentation method.
Preferably, the Processor 101 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component.
As shown in fig. 11, in another embodiment, the data analysis presentation system of the present invention includes the server 111 and at least one of the clients 112. The client 112 is preset with context configuration information and corresponding window configuration information. Wherein the at least one client 112 collaboratively displays the window under the scenario. Each client displays one or more of the windows under the scenario.
In an embodiment of the present invention, the at least one client 112 is deployed at any position, so that the client is deployed without being limited by a physical position, and different requirements of users are met.
In an embodiment of the present invention, the context configuration information includes context identification information, a toolbar queue, a window number, a window path, a message type allowed to be received and sent, and context function settings; the window configuration information comprises window size, window position, linkage relation among windows, message types allowed to be received and sent by the windows and window function setting. The window comprises one or more of an Echart chart window, a map window and a three-dimensional window.
The data analysis presentation method of the present invention is further illustrated by the following specific examples. The following describes the specific implementation process of the system in detail by taking the scenario of hyperspectral data product analysis and display as an example:
in the hyperspectral data product analysis scenario, the scenario xml profile is as follows:
Figure BDA0001881937810000131
Figure BDA0001881937810000141
where < groupID > is a scene ID, < ViewType > is a toolbar window type, < toolbar queue > is a message queue, < Mqonoff > is used to set whether a scene receive, send message function is available, < sendprogress > sets a type of send message, and < receiveprogress > sets a type of receive message. The < winParams > can set other business functions of the scene, the < index seqNo > of the scene configuration sets the paths of a plurality of scenes of the system, wherein the < default > sets the default scene when the system is started, and the < index seqNo > of the window configuration sets the paths of a plurality of windows under the scene.
The window configuration file is as follows:
Figure BDA0001881937810000142
Figure BDA0001881937810000151
wherein < ViewType > is a window type, < xCoordinate >, < ycordinate > is used to set position coordinates of the window, < width >, < height > is used to set a size of the window, < Mqonoff > is used to set whether a window receive, send message function is available, < sendpriority > is used to set a type of a send message, < receivepriority > is used to set a type of a receive message. The < winParams > is used for setting other business functions of the window, and the < index attribute > is used for setting the computer path where the current window is located.
The toolbar comprises a scene demonstration button, a scene setting button and an exit button, wherein the scene demonstration button comprises three options of 'entering demonstration mode', 'front end display window' and 'scene switching'. "enter presentation mode" means that the current scene is in the outward presentation mode; the "front end display window" may place all the presentation windows in the scene on the top layer of the screen; the "switching scenario" is a control button for system scenario switching. The scenario setting button includes two options of "enter setting mode" and "save window setting". The "enter setting mode" may set a window in a scene; the "save window settings" may save the settings for the window into the xml configuration file corresponding to the window. The exit button is used to perform an exit action of the scenario.
For a hyperspectral data product, a message flow for starting a data product analysis display scenario is shown in fig. 12. When a user starts a scene of a display system, a toolbar sends a starting message to a server, the message comprises a scene ID obtained from a scene xml configuration file, and after the server receives a scene starting request message, a scene management module is established and the scene ID is added into a scene list. And then establishing a window management module according to the window configuration in the window xml configuration file. And after receiving the message of completing the establishment of the server scene management module and the window management module, the toolbar reads the configuration information such as the window path, the window type, the window position, the window size and the like in the window xml configuration file to execute the program starting window. In the scene starting process, the server broadcasts heartbeat messages at regular time, and after all windows are started, the heartbeat messages are received and the 'alive' state of the current window is fed back. If the window does not receive the heartbeat message for 2 times, the window is considered to be failed to start, the window needs to be reloaded through the toolbar, and the server updates the window state in the window management module in real time after the window is restarted successfully.
For a hyperspectral data product, the switching flow of the data product display scenario is shown in fig. 13. The scene switching function is initiated by a "switch scene" button in the toolbar. When the 'switch scene' button is clicked, a scene which is desired to be switched is selected on a popup interface. The toolbar reads the scene id set in the scene xml and broadcasts it through a "scene change" message. The non-toolbar window of the current scene starts a window closing process after receiving the message. When the non-toolbar windows are closed, the server window management module deletes the windows in the queue according to closing messages fed back by the non-toolbar windows. And then sending a starting message to a toolbar, and starting the window of the new scene by the toolbar according to the configuration execution program of the window xml. The startup procedure is the same as the scenario startup procedure above.
For a hyperspectral data product, the data product display scenario exit flow is shown in fig. 14. And entering a scene exit process by clicking an exit button in the toolbar. The toolbar window sends a "scene exit" message to all windows under the scene. And respectively executing an exit action after the messages received by the windows are received, sending a closing message to the server after the exit is finished, and deleting the window queue by a window management module of the server, wherein the window queue comprises toolbar windows. And if all the scene windows and the tool bars are confirmed to be deleted, the window management module is cancelled, a deletion completion message is sent to the scene management module, and the scene management module executes cancellation action to realize scene exit.
Based on the setting of the xml configuration file and the scene message transmission mechanism, the hyperspectral data product display system realizes the receiving, sending and message processing interfaces of the business messages based on the message interaction framework. And each window realizes the display of the hyperspectral data product according to the type of the received and sent service message and the processed window program. The scene comprises 8 windows, including an Echart chart window, a map window and a picture display window. The data displayed in the system comprises data product information such as hyperspectral 0-level, 1-level and 2-level data products, data product related metadata, synthetic images of any spectral band of the data products, spectral curves, image quality and the like. The user can visually check any data product image and related auxiliary data information.
In another embodiment, the analysis scenario for satellite telemetry data is also based on the above message framework, and consists of 12 windows, including an Echart chart window, a map window, and a three-dimensional window. The scenario analyzes and displays satellite subsystem data such as satellite telemetry data, satellite execution tasks and the like in a traceable manner. And the satellite state is analyzed through an algorithm, and effective support is provided for daily operation maintenance and abnormal early warning of the satellite.
In summary, the data analysis display method and system, the storage medium, the server and the client realize cross-platform distributed, multi-scenario and multi-window linked data analysis display based on a message mechanism, and key information and characteristics of data are intuitively conveyed by means of data visualization, so that deep insight of a large number of complex data sets is realized; based on a cross-platform distributed structure of a message mechanism, a user can customize data analysis display scenes according to requirements, design the number and display forms of windows according to data characteristics and display contents, configure linkage relations among the windows through xml, realize linkage among the windows through the message mechanism, and finish operation display of the whole scene; the expansibility and the applicability are good; deep information contained in the data can be intuitively and efficiently mined, and scientific research and popularization of data application are promoted; windows under the situation can be distributed and deployed on a plurality of computers at any positions in the same network, so that the flexibility of system installation is improved; the windows of various types can be freely and flexibly combined to meet different requirements of users. Therefore, the invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (16)

1. A data analysis display method is applied to a server and is characterized in that: the method comprises the following steps:
receiving scene starting information sent by a client, wherein the scene starting information comprises scene identification information and a window list under a scene;
creating a scene management module corresponding to the scene identification information;
creating a window management module corresponding to the window under the scene;
and broadcasting heartbeat information to the window under the scene based on a preset time interval, and updating the window state in the window management module based on window state information sent by the client window.
2. The data analysis display method of claim 1, wherein: when scene switching information containing target scene identification information and sent by a client is received, deleting a non-toolbar window in a window list under the scene based on the window management module, and sending a scene switching instruction containing the target scene identification information to the client based on the scene management module so that the client starts a corresponding window according to the target scene identification information.
3. The data analysis display method of claim 1, wherein: the method also comprises the steps of receiving scene exit information sent by a client, deleting all windows in a window list under the scene based on the window management module, and logging out the window management module and the scene management module.
4. A data analysis display system is applied to a server and is characterized in that: the system comprises a receiving module, a first creating module, a second creating module and a broadcast updating module;
the receiving module is used for receiving scene starting information sent by a client, and the scene starting information comprises scene identification information and a window list under scenes;
the first creating module is used for creating a scene management module corresponding to the scene identification information;
the second creating module is used for creating a window management module corresponding to the window under the scene;
the broadcast updating module is used for broadcasting heartbeat information to the window under the scene based on a preset time interval and updating the window state in the window management module based on window state information sent by the client window.
5. A storage medium on which a computer program is stored, which program, when being executed by a processor, carries out the data analysis presentation method of any one of claims 1 to 3.
6. A server, comprising: a processor and a memory;
the memory is used for storing a computer program;
the processor is used for executing the computer program stored in the memory to enable the server to execute the data analysis display method of any one of claims 1 to 3.
7. A data analysis display method is applied to a client, the client comprises a toolbar window and at least one non-toolbar window, and scene configuration information and corresponding window configuration information are preset, and the method is characterized in that: the method comprises the following steps:
sending scene starting information to a server through a toolbar of the toolbar window based on preset scene configuration information, wherein the scene starting information comprises scene identification information and a window list under scenes;
after the server creates a scene management module and a window management module, starting the at least one non-toolbar window through the toolbar based on preset window configuration information corresponding to the scene identification information;
and receiving the broadcast heartbeat information sent by the server based on a preset time interval based on the toolbar window and the non-toolbar window, and respectively sending window state information of the server to the server.
8. The data analysis display method of claim 7, wherein: and when the non-toolbar window does not receive the broadcast heartbeat information for the continuous preset times, automatically closing the non-toolbar window, and restarting the non-toolbar window based on the toolbar window.
9. The data analysis display method of claim 7, wherein: broadcasting scene switching information containing target scene identification information based on the toolbar of the toolbar window, and closing all non-toolbar windows; and starting a corresponding window based on preset window configuration information corresponding to the target scene identification information according to a scene switching instruction which is sent by the server and contains the target scene identification information.
10. The data analysis display method of claim 7, wherein: and closing the window in the window list under the scene based on the toolbar broadcasting scene exit information of the toolbar window.
11. A data analysis display system is applied to a client, the client comprises a toolbar window and at least one non-toolbar window, and scene configuration information and corresponding window configuration information are preset, and the data analysis display system is characterized in that: the system comprises a sending module, a starting module and a receiving and sending module;
the sending module is used for sending scene starting information to a server through a toolbar of the toolbar window based on preset scene configuration information, and the scene starting information comprises scene identification information and a window list under scenes;
the starting module is used for starting the at least one non-toolbar window through the toolbar based on preset window configuration information corresponding to the scene identification information after the scene management module and the window management module are created by the server;
the receiving and sending module is used for receiving the broadcast heartbeat information sent by the server based on the preset time interval based on the toolbar window and the non-toolbar window, and respectively sending window state information of the receiving and sending module to the server.
12. A storage medium on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the data analysis presentation method of any one of claims 7 to 10.
13. A client, comprising: a processor and a memory;
the memory is used for storing a computer program;
the processor is configured to execute the computer program stored in the memory to cause the client to perform the data analysis presentation method of any one of claims 7 to 10.
14. A data analysis display system is characterized in that: comprising the server of claim 6 and at least one client of claim 13; the client is preset with scene configuration information and corresponding window configuration information.
15. The data analysis presentation system of claim 14, wherein: the at least one client is deployed in an arbitrary location.
16. The data analysis presentation system of claim 14, wherein: the scene configuration information comprises scene identification information, toolbar queues, window quantity, window paths, message types allowed to be received and sent, and scene function setting; the window configuration information comprises window size, window position, linkage relation among windows, message types allowed to be received and sent by the windows and window function setting.
CN201811427312.5A 2018-09-14 2018-11-27 Data analysis display method and system, storage medium, server and client Active CN110908745B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811071235 2018-09-14
CN2018110712354 2018-09-14

Publications (2)

Publication Number Publication Date
CN110908745A true CN110908745A (en) 2020-03-24
CN110908745B CN110908745B (en) 2023-06-09

Family

ID=69814354

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811427312.5A Active CN110908745B (en) 2018-09-14 2018-11-27 Data analysis display method and system, storage medium, server and client

Country Status (1)

Country Link
CN (1) CN110908745B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114356435A (en) * 2021-11-26 2022-04-15 中国航空无线电电子研究所 Qt interface integration method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012092667A1 (en) * 2011-01-08 2012-07-12 Jibestream Inc. Interactive information, wayfinding and message targeting devices, systems and methods
CN105892832A (en) * 2016-05-27 2016-08-24 北京小米移动软件有限公司 Show information displaying method and device
CN107797860A (en) * 2017-11-21 2018-03-13 上海望友信息科技有限公司 Task automatic processing method and system, client, server and storage medium
WO2018149365A1 (en) * 2017-02-17 2018-08-23 腾讯科技(深圳)有限公司 Data acquisition method, mobile terminal, and server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012092667A1 (en) * 2011-01-08 2012-07-12 Jibestream Inc. Interactive information, wayfinding and message targeting devices, systems and methods
CN105892832A (en) * 2016-05-27 2016-08-24 北京小米移动软件有限公司 Show information displaying method and device
WO2018149365A1 (en) * 2017-02-17 2018-08-23 腾讯科技(深圳)有限公司 Data acquisition method, mobile terminal, and server
CN107797860A (en) * 2017-11-21 2018-03-13 上海望友信息科技有限公司 Task automatic processing method and system, client, server and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
孔令发;徐纪康;贾森;: "CBTC综合维护管理***中基于Web的实时通信方法" *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114356435A (en) * 2021-11-26 2022-04-15 中国航空无线电电子研究所 Qt interface integration method and device

Also Published As

Publication number Publication date
CN110908745B (en) 2023-06-09

Similar Documents

Publication Publication Date Title
CN109844717B (en) System and method for real-time remote control of mobile applications
US11763076B2 (en) Document applet generation
US8762408B2 (en) Optimizing software applications
CN111814089B (en) Page rendering method and device, rendering server and storage medium
US20210019106A1 (en) Desktop Sharing Method and Mobile Terminal
KR20160019528A (en) Managing and using remote applications on a mobile device
CN113268226A (en) Page data generation method and device, storage medium and equipment
CN113253880B (en) Method and device for processing pages of interaction scene and storage medium
US20230043203A1 (en) Data processing method and apparatus for virtual scene, electronic device, and storage medium
CN114510170B (en) Component display method and display device
US20170134364A1 (en) Note update method and device
CN113190152A (en) Method and device for switching application program theme
CN113360211A (en) Loading display method based on control and related equipment
CN111078348A (en) Interface management method, device, equipment and storage medium
CN113596555B (en) Video playing method and device and electronic equipment
CN110908745A (en) Data analysis display method and system, storage medium, server and client
CN112558968A (en) Resource tree view generation method, device, equipment and storage medium
CN112055164A (en) Information interaction method, device, terminal and storage medium
CN116610394A (en) Template and module-based data visualization page configuration method, system and device
CN113872849B (en) Message interaction method and device and electronic equipment
CN114415993A (en) Screen splitting method and device for multi-system application, electronic equipment and storage medium
CN112947918A (en) Data display method and device
CN112817493A (en) Content sharing method and device, computer equipment and storage medium
US20240134831A1 (en) Automatically provisioning databases in a metaverse
CN115904572B (en) Template creation method, calling method, program product, system and device

Legal Events

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