CN111813865B - Method, system, equipment and medium for visual component data interaction - Google Patents

Method, system, equipment and medium for visual component data interaction Download PDF

Info

Publication number
CN111813865B
CN111813865B CN202010749216.3A CN202010749216A CN111813865B CN 111813865 B CN111813865 B CN 111813865B CN 202010749216 A CN202010749216 A CN 202010749216A CN 111813865 B CN111813865 B CN 111813865B
Authority
CN
China
Prior art keywords
data
component
connection
visual component
visualization
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010749216.3A
Other languages
Chinese (zh)
Other versions
CN111813865A (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.)
Inspur General Software Co Ltd
Original Assignee
Inspur General Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur General Software Co Ltd filed Critical Inspur General Software Co Ltd
Priority to CN202010749216.3A priority Critical patent/CN111813865B/en
Publication of CN111813865A publication Critical patent/CN111813865A/en
Application granted granted Critical
Publication of CN111813865B publication Critical patent/CN111813865B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • G06F16/275Synchronous replication
    • 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
    • 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • 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
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention discloses a method, a system, equipment and a storage medium for visual component data interaction, wherein the method comprises the following steps: storing data of the plurality of visualization components in a common area; responding to the first visual component to send a request for acquiring or modifying data to the second visual component, cloning the data of the second visual component in the public area, and returning the cloned data to the first visual component; in response to modifying the cloned data, synchronizing the modified data to the common region; and responsive to the data of the common region being different from the data of the second visualization component, synchronizing the data of the common region into the second visualization component. According to the scheme provided by the invention, the shared data is stored in the public area, so that global inquiry and operation can be carried out on the data, the utilization rate of the data is greatly improved, and the data redundancy caused by data hierarchy transmission is avoided.

Description

Method, system, equipment and medium for visual component data interaction
Technical Field
The present invention relates to the field of visual components, and more particularly, to a method, a system, a computer device, and a readable medium for data interaction of a visual component.
Background
And analyzing industrial big data, namely displaying the industrial data processed by the server to the client in a chart form. In the traditional mode, only manual development can be adopted, a fixed chart can display fixed data, and once the chart display is changed in the period, a code can be modified or a data visualization analysis interface can be redeveloped, so that a great amount of waste is caused for developing resources;
in terms of visualization components, data transfer between conventional visualization components is through tips. When the level nesting of the components exceeds 3 levels and above, repeated transmission of data is caused, and in the aspect of data, some piece of data is not processed or is not transmitted in the past in the transmission process, so that error reporting is caused; in terms of code, a large amount of data transfer code can present a significant potential stability hazard for later maintenance or functional modification.
In terms of data transmission between the visual component and the server, the conventional method is an htttp request method, and if the data needs to be displayed in real time, only a polling method can be adopted. If a large number of polling requests exist in one visual interface, not only the client is blocked, but also some unnecessary data such as Cookies and the like are sent to the server, so that a large amount of bandwidth is wasted, and further the user experience is poor.
Disclosure of Invention
In view of this, an objective of the embodiments of the present invention is to provide a method, a system, a computer device, and a computer readable storage medium for data interaction of a visual component, which can perform global query and operation on data by storing shared data in a common area, so as to greatly improve the utilization rate of the data, and thereby avoid data redundancy caused by data hierarchy transfer.
Based on the above objects, an aspect of the embodiments of the present invention provides a method for visualizing component data interaction, including the following steps: storing data of the plurality of visualization components in a common area; responding to a request of acquiring or modifying data sent by a first visual component to a second visual component, cloning the data of the second visual component of the public area, and returning the cloned data to the first visual component; in response to the first visualization component modifying the cloned data, synchronizing the modified data to the common region; and responsive to the data of the common region being different from the data of the second visualization component, synchronizing the data of the common region into the second visualization component.
In some embodiments, further comprising: and performing first connection between the client side where the visual component is positioned and the server side by using a webpage socket, and judging whether the first connection is successful or not.
In some embodiments, further comprising: and responding to the success of the first connection, and performing a second connection to the server based on a data analysis component in the client.
In some embodiments, further comprising: and responding to the successful second connection, and actively pushing the received latest data to the client based on the server.
In another aspect of the embodiment of the present invention, there is also provided a visual component data interaction system, including: a storage module configured to store data of the plurality of visualization components to a common area; the cloning module is configured to respond to the request of acquiring or modifying data sent by the first visual component to the second visual component, clone the data of the second visual component of the public area and return the cloned data to the first visual component; a first synchronization module configured to synchronize the modified data to the common region in response to the first visualization component modifying the cloned data; and a second synchronization module configured to synchronize data of the common area into the second visualization component in response to the data of the common area being different from the data of the second visualization component.
In some embodiments, further comprising: and the connection module is configured to connect the client where the visual component is positioned with the server for the first time by using the webpage socket, and judge whether the first connection is successful or not.
In some embodiments, further comprising: and the second connection module is configured to respond to the success of the first connection and perform a second connection to the server based on the data analysis component in the client.
In some embodiments, further comprising: and the pushing module is configured to actively push the received latest data to the client based on the server in response to the successful second connection.
In yet another aspect of the embodiment of the present invention, there is also provided a computer apparatus, including: at least one processor; and a memory storing computer instructions executable on the processor, which when executed by the processor, perform the steps of the method as above.
In yet another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium storing a computer program which, when executed by a processor, implements the method steps as described above.
The invention has the following beneficial technical effects: by storing the shared data in the public area, global inquiry and operation can be carried out on the data, the utilization rate of the data is greatly improved, and data redundancy caused by data hierarchy transmission is avoided.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are necessary for the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention and that other embodiments may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of an embodiment of a method for visualizing component data interaction provided by the present invention;
fig. 2 is a schematic hardware structure of an embodiment of a computer device for visual component data interaction provided by the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention will be described in further detail with reference to the accompanying drawings.
It should be noted that, in the embodiments of the present invention, all the expressions "first" and "second" are used to distinguish two entities with the same name but different entities or different parameters, and it is noted that the "first" and "second" are only used for convenience of expression, and should not be construed as limiting the embodiments of the present invention, and the following embodiments are not described one by one.
Based on the above object, in a first aspect of the embodiments of the present invention, an embodiment of a method for visualizing component data interaction is provided. FIG. 1 is a schematic diagram illustrating an embodiment of a method for visualizing component data interaction provided by the present invention. As shown in fig. 1, the embodiment of the present invention includes the following steps:
s1, storing data of a plurality of visual components in a public area;
s2, responding to the first visual component to send a request for acquiring or modifying data to the second visual component, cloning the data of the second visual component in the public area, and returning the cloned data to the first visual component;
s3, responding to the first visual component to modify cloned data, and synchronizing the modified data to a public area; and
and S4, responding to the fact that the data of the public area are different from the data of the second visual assembly, and synchronizing the data of the public area into the second visual assembly.
The visual editing system is divided into four areas of an operation area, a component area, a canvas area and an editing area, the functions of each area are as follows, and the operation area is as follows: mainly comprises functions of importing, exporting, recording points, storing, previewing and the like of canvas, and different alignment operations of multiple components; component area: the menu is also called a visual component menu and is mainly used for distinguishing different types of visual components; canvas area: the carrier of the visual assembly, in this area, can carry on various arrangements, combination and delete, duplicate, cut, paste, group, lock a series of operations to the assembly; editing area: so long as style beautification and binding of presentation data are performed for the visualization component selected by the canvas area.
The visual editing system componentizes visual charts, including charts, tables, industrial graphics, materials, maps, and the like. The size and the position of the components can be adjusted by dragging the components into the canvas, and the currently selected visual components are beautified in style and bound with data through the editing area.
The data of the plurality of visualization components is stored in a common area. The canvas is initialized and data for the canvas is stored into a common area (store). The visual components are dragged onto the canvas while the default data for the components is initialized into the hierarchy information of the canvas and saved to the store. Selecting a visual component, selecting a style attribute, carrying out style beautification on the component, updating beautified configuration data into StyleConfig of the component, selecting a data attribute, associating the component with a data source, and storing association information into DataConfig of the component. And (3) storing canvas, namely organizing canvas configuration information and component configuration information in the store into json data and storing the json data into a database.
Acquiring json data of a data visualization analysis interface according to the canvas ID, acquiring canvas configuration information and component configuration information in the period, initializing the interface according to the canvas information, generating a visualization chart according to the component configuration information, reading DataConfig in the component information, establishing association between the component and a server, and displaying the data of the server on the analysis interface.
In response to the first visualization component sending a request to the second visualization component to acquire or modify data, cloning the data of the second visualization component of the common area and returning the cloned data to the first visualization component. For example, when the first visualization component a needs a certain piece of information of the second visualization component B, the component a may initiate a data acquisition behavior, transmit the id of the component B to a data processing layer for acquiring data, perform deep cloning by using the method to screen the data of the component B in store, and return the data to the component a.
In response to modifying the cloned data, the modified data is synchronized to the common region. When the component A needs to modify the data in the component B, after modifying the acquired data of the component B, calling a data modifying method of the data processing layer, and updating the modified data of the component B into a store.
And synchronizing the data of the common region into the second visualization component in response to the data of the common region being different from the data of the second visualization component. The component B may listen for data changes in the store, automatically updating the latest data into the component B. The flow does not allow the component A to directly process the data of the component B in the store, and the operation must be performed by a data processing layer method, so that the way of data variability is controlled, the safety of the data is effectively controlled, and the change information of the data is like a finger palm.
Under the current industrial big data form, the high-frequency data transmission and processing are faced, the demand cannot be met only by means of http requests, and the request cannot be initiated only by the client, so that the timeliness of the data is greatly reduced, websocket (web socket) is needed for data interaction, the client is connected with the server, and the server actively pushes the data to the client.
Judging whether the client supports websocket, if not, using http to request data, rendering the data to the component, if so, judging whether the current visual interface opens websocket, and if not, using http to request.
In some embodiments, further comprising: and performing first connection between the client side where the visual component is positioned and the server side by using a webpage socket, and judging whether the first connection is successful or not. The current visual interface opens websocket to attempt to establish a connection channel between the client and the server.
In some embodiments, further comprising: and responding to the success of the first connection, and performing a second connection to the server based on a data analysis component in the client.
In some embodiments, further comprising: and responding to the successful second connection, and actively pushing the received latest data to the client based on the server. The component receives the data transmitted by the server at any time and renders the data to a visual analysis interface
The embodiment of the invention can make the visual chart be modularized, thereby being convenient for free arrangement and combination. The method comprises the steps of componentizing various charts, tables, maps, industrial graphics, materials and the like, dragging the charts, tables, maps, industrial graphics, materials and the like to a canvas area, carrying out position adjustment, style beautifying and data binding, integrating canvas information and component information into json data, storing the json data into a database, and completing initialization of the canvas and configuration information of components by analyzing the json data during previewing, automatically generating html codes, establishing association with a server, and completing development of a data visualization analysis interface.
The data among the components in the embodiment of the invention can be shared, and hierarchical transmission is avoided. The method comprises the steps of initializing data information of a visual component into a store, when the data of the visual component is changed, calling a method of a data processing layer, processing the data and replacing the data with old data in the store, wherein the process can only modify the data of the store by the method of the data processing layer, and the visual component is not allowed to directly modify the data of the store, so that a data variability way is controlled, and the security of the data is also controlled.
The data transmission between the component and the server in the embodiment of the invention not only supports http, but also supports websocket, and has more stable guarantee for timely displaying data. And establishing a data transmission channel with the server through websocket in the data visualization interface, subscribing related display data through the visualization component, transmitting data to the client by the server, and rendering the data to the appointed visualization component by the visualization component according to the component id by the visualization component, so that the real-time data transmission between the client and the server is realized.
It should be noted that, in the embodiments of the method for data interaction of a visual component, the steps may be intersected, replaced, added and deleted, so that the method for data interaction of a visual component by using these reasonable permutation and combination transformations shall also belong to the protection scope of the present invention, and shall not limit the protection scope of the present invention to the embodiments.
Based on the above object, a second aspect of the embodiment of the present invention provides a visual component data interaction system, including: a storage module configured to store data of the plurality of visualization components to a common area; the cloning module is configured to respond to the request of acquiring or modifying data sent by the first visual component to the second visual component, clone the data of the second visual component of the public area and return the cloned data to the first visual component; a first synchronization module configured to synchronize the modified data to the common region in response to the first visualization component modifying the cloned data; and a second synchronization module configured to synchronize data of the common area into the second visualization component in response to the data of the common area being different from the data of the second visualization component.
In some embodiments, further comprising: and the connection module is configured to connect the client where the visual component is positioned with the server for the first time by using the webpage socket, and judge whether the first connection is successful or not.
In some embodiments, further comprising: and the second connection module is configured to respond to the success of the first connection and perform a second connection to the server based on the data analysis component in the client.
In some embodiments, further comprising: and the pushing module is configured to actively push the received latest data to the client based on the server in response to the successful second connection.
In view of the above object, a third aspect of the embodiments of the present invention provides a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions being executable by the processor to perform the steps of: s1, storing data of a plurality of visual components in a public area; s2, responding to the first visual component to send a request for acquiring or modifying data to the second visual component, cloning the data of the second visual component in the public area, and returning the cloned data to the first visual component; s3, responding to the first visual component to modify cloned data, and synchronizing the modified data to a public area; and S4, responding to the fact that the data of the public area is different from the data of the second visual component, and synchronizing the data of the public area into the second visual component.
In some embodiments, further comprising: and performing first connection between the client side where the visual component is positioned and the server side by using a webpage socket, and judging whether the first connection is successful or not.
In some embodiments, further comprising: and responding to the success of the first connection, and performing a second connection to the server based on a data analysis component in the client.
In some embodiments, further comprising: and responding to the successful second connection, and actively pushing the received latest data to the client based on the server.
As shown in fig. 2, a hardware structure diagram of an embodiment of the above-mentioned visual component data interaction computer device is provided in the present invention.
Taking the example of the apparatus shown in fig. 2, the apparatus includes a processor 301 and a memory 302, and may further include: an input device 303 and an output device 304.
The processor 301, memory 302, input device 303, and output device 304 may be connected by a bus or other means, for example in fig. 2.
The memory 302 is used as a non-volatile computer readable storage medium, and may be used to store non-volatile software programs, non-volatile computer executable programs, and modules, such as program instructions/modules corresponding to the method for visualizing component data interaction in the embodiments of the present application. The processor 301 executes various functional applications of the server and data processing, i.e., a method of implementing the visual component data interaction of the above-described method embodiments, by running non-volatile software programs, instructions and modules stored in the memory 302.
Memory 302 may include a storage program area that may store an operating system, at least one application program required for functionality, and a storage data area; the storage data area may store data created according to the use of the method of visualizing component data interactions, etc. In addition, memory 302 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, memory 302 may optionally include memory located remotely from processor 301, which may be connected to the local module via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 303 may receive input information such as a user name and a password. The output device 304 may include a display device such as a display screen.
Program instructions/modules corresponding to one or more methods of visualizing component data interaction are stored in the memory 302, which when executed by the processor 301, perform the method of visualizing component data interaction in any of the method embodiments described above.
Any one embodiment of a computer device that performs the above method for visualizing component data interaction may achieve the same or similar effects as any of the foregoing method embodiments corresponding thereto.
The invention also provides a computer readable storage medium storing a computer program which when executed by a processor performs the method as above.
Finally, it should be noted that, as will be appreciated by those skilled in the art, all or part of the procedures in the methods of the embodiments described above may be implemented by a computer program to instruct related hardware, and the program of the method for visualizing the component data interaction may be stored in a computer readable storage medium, and the program may include the procedures of the embodiments of the methods described above when executed. The storage medium of the program may be a magnetic disk, an optical disk, a read-only memory (ROM), a random-access memory (RAM), or the like. The computer program embodiments described above may achieve the same or similar effects as any of the method embodiments described above.
Furthermore, the method disclosed according to the embodiment of the present invention may also be implemented as a computer program executed by a processor, which may be stored in a computer-readable storage medium. The above-described functions defined in the methods disclosed in the embodiments of the present invention are performed when the computer program is executed by a processor.
Furthermore, the above-described method steps and system units may also be implemented using a controller and a computer-readable storage medium storing a computer program for causing the controller to implement the above-described steps or unit functions.
Further, it should be appreciated that the computer-readable storage medium (e.g., memory) herein can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. By way of example, and not limitation, nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of example, and not limitation, RAM may be available in a variety of forms such as synchronous RAM (DRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The storage devices of the disclosed aspects are intended to comprise, without being limited to, these and other suitable types of memory.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
The various illustrative logical blocks, modules, and circuits described in connection with the disclosure herein may be implemented or performed with the following components designed to perform the functions herein: a general purpose processor, 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, discrete hardware components, or any combination thereof. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP and/or any other such configuration.
The steps of a method or algorithm described in connection with the disclosure herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In the alternative, the processor and the storage medium may reside as discrete components in a user terminal.
In one or more exemplary designs, the functions may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a general purpose or special purpose computer or general purpose or special purpose processor. Further, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, digital Versatile Disc (DVD), floppy disk, blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that as used herein, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The foregoing embodiment of the present invention has been disclosed with reference to the number of embodiments for the purpose of description only, and does not represent the advantages or disadvantages of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, and the program may be stored in a computer readable storage medium, where the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will appreciate that: the above discussion of any embodiment is merely exemplary and is not intended to imply that the scope of the disclosure of embodiments of the invention, including the claims, is limited to such examples; combinations of features of the above embodiments or in different embodiments are also possible within the idea of an embodiment of the invention, and many other variations of the different aspects of the embodiments of the invention as described above exist, which are not provided in detail for the sake of brevity. Therefore, any omission, modification, equivalent replacement, improvement, etc. of the embodiments should be included in the protection scope of the embodiments of the present invention.

Claims (10)

1. A method of visualizing component data interactions, comprising the steps of:
storing data of the plurality of visualization components in a common area;
responding to a request of acquiring or modifying data sent by a first visual component to a second visual component, cloning the data of the second visual component of the public area, and returning the cloned data to the first visual component;
in response to the first visualization component modifying the cloned data, synchronizing the modified data to the common region; and
and responsive to the data of the common region being different from the data of the second visualization component, synchronizing the data of the common region into the second visualization component.
2. The method as recited in claim 1, further comprising:
and performing first connection between the client side where the visual component is positioned and the server side by using a webpage socket, and judging whether the first connection is successful or not.
3. The method as recited in claim 2, further comprising:
and responding to the success of the first connection, and performing a second connection to the server based on a data analysis component in the client.
4. A method according to claim 3, further comprising:
and responding to the successful second connection, and actively pushing the received latest data to the client based on the server.
5. A system for visualizing component data interactions, comprising:
a storage module configured to store data of the plurality of visualization components to a common area;
the cloning module is configured to respond to the request of acquiring or modifying data sent by the first visual component to the second visual component, clone the data of the second visual component of the public area and return the cloned data to the first visual component;
a first synchronization module configured to synchronize the modified data to the common region in response to the first visualization component modifying the cloned data; and
and a second synchronization module configured to synchronize the data of the common region into the second visualization component in response to the data of the common region being different from the data of the second visualization component.
6. The system of claim 5, further comprising:
and the connection module is configured to connect the client where the visual component is positioned with the server for the first time by using the webpage socket, and judge whether the first connection is successful or not.
7. The system of claim 6, further comprising:
and the second connection module is configured to respond to the success of the first connection and perform a second connection to the server based on the data analysis component in the client.
8. The system of claim 7, further comprising:
and the pushing module is configured to actively push the received latest data to the client based on the server in response to the successful second connection.
9. A computer device, comprising:
at least one processor; and
a memory storing computer instructions executable on the processor, which when executed by the processor, perform the steps of the method of any one of claims 1-4.
10. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method of any of claims 1-4.
CN202010749216.3A 2020-07-30 2020-07-30 Method, system, equipment and medium for visual component data interaction Active CN111813865B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010749216.3A CN111813865B (en) 2020-07-30 2020-07-30 Method, system, equipment and medium for visual component data interaction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010749216.3A CN111813865B (en) 2020-07-30 2020-07-30 Method, system, equipment and medium for visual component data interaction

Publications (2)

Publication Number Publication Date
CN111813865A CN111813865A (en) 2020-10-23
CN111813865B true CN111813865B (en) 2023-07-18

Family

ID=72863336

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010749216.3A Active CN111813865B (en) 2020-07-30 2020-07-30 Method, system, equipment and medium for visual component data interaction

Country Status (1)

Country Link
CN (1) CN111813865B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114047859B (en) * 2022-01-13 2022-03-18 北京网界科技有限公司 Data processing system and method thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101216846A (en) * 2008-01-04 2008-07-09 清华大学 Emulated data visualized and cooperated sharing method
CN107209773A (en) * 2015-02-20 2017-09-26 惠普发展公司,有限责任合伙企业 Automatically unified visualization interface is called
CN108415697A (en) * 2018-02-13 2018-08-17 北京安博通科技股份有限公司 A kind of configuration method and device of visualization component
CN109299422A (en) * 2018-09-20 2019-02-01 江苏满运软件科技有限公司 Visualize page authoring method, system, equipment and storage medium
CN109685899A (en) * 2018-12-25 2019-04-26 成都四方伟业软件股份有限公司 Three-dimensional visualization marks management system, method and computer storage medium
CN110543306A (en) * 2019-07-19 2019-12-06 石化盈科信息技术有限责任公司 interactive data visualization method, application system and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040168115A1 (en) * 2003-02-21 2004-08-26 Bauernschmidt Bill G. Method and system for visualizing data from multiple, cached data sources with user defined treemap reports

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101216846A (en) * 2008-01-04 2008-07-09 清华大学 Emulated data visualized and cooperated sharing method
CN107209773A (en) * 2015-02-20 2017-09-26 惠普发展公司,有限责任合伙企业 Automatically unified visualization interface is called
CN108415697A (en) * 2018-02-13 2018-08-17 北京安博通科技股份有限公司 A kind of configuration method and device of visualization component
CN109299422A (en) * 2018-09-20 2019-02-01 江苏满运软件科技有限公司 Visualize page authoring method, system, equipment and storage medium
CN109685899A (en) * 2018-12-25 2019-04-26 成都四方伟业软件股份有限公司 Three-dimensional visualization marks management system, method and computer storage medium
CN110543306A (en) * 2019-07-19 2019-12-06 石化盈科信息技术有限责任公司 interactive data visualization method, application system and storage medium

Also Published As

Publication number Publication date
CN111813865A (en) 2020-10-23

Similar Documents

Publication Publication Date Title
DE60317917T2 (en) METHOD AND DEVICE FOR FORWARDING SESSION INFORMATION FROM A PORTAL SERVER
JP4473128B2 (en) Method and apparatus that allows associated portlets of a web portal to collaborate for synchronized content display
JP4456485B2 (en) Method and apparatus for managing a collection of portlets in a portal server
CN106874389A (en) The moving method and device of data
CN110083650B (en) Metadata self-discovery-based automatic generation method for data query interface
US20120151329A1 (en) On-page manipulation and real-time replacement of content
US20230086387A1 (en) Method and system for processing information in social network system
CA2406565A1 (en) Method and apparatus for using business rules or user roles for selecting portlets in a web portal
CN102654885A (en) Mobile terminal webpage adaptation system and method
CN102882974A (en) Method for saving website access resource by website identification version number
CN104391868A (en) Staticizing device and method for dynamic page
CN105787091A (en) Content publishing system and method supporting multiple terminals
CN111831815B (en) Control method and device for questionnaire display, storage medium and electronic equipment
CN111651639B (en) Address space management method, device, equipment and medium
CN111813865B (en) Method, system, equipment and medium for visual component data interaction
CN109977310A (en) A kind of method and apparatus of user's friend circle multidate information Folding display
CN104063475A (en) User-defined list processing method and device
CN111651418A (en) Document content downloading method and device, computer equipment and storage medium
CN104021131A (en) Multi-dimensional page releasing method, device and system
CN113238997A (en) Cloud data operation method for terminal equipment, storage medium and terminal equipment
CN105677699A (en) Method and apparatus for generating news pages for user
CN110442334B (en) Multi-user collaborative graph configuration method, electronic equipment and server
CN114756228A (en) Page processing method, device, equipment and storage medium
CN108920561A (en) A kind of webpage setting method and device
CN111240933B (en) Method, system, device and medium for monitoring performance data of multiple data centers

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