CN110136251B - Cross-platform data visualization system - Google Patents

Cross-platform data visualization system Download PDF

Info

Publication number
CN110136251B
CN110136251B CN201910427237.0A CN201910427237A CN110136251B CN 110136251 B CN110136251 B CN 110136251B CN 201910427237 A CN201910427237 A CN 201910427237A CN 110136251 B CN110136251 B CN 110136251B
Authority
CN
China
Prior art keywords
model
module
data
chart
platform
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
CN201910427237.0A
Other languages
Chinese (zh)
Other versions
CN110136251A (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.)
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Cloud Computing Beijing 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 Tencent Cloud Computing Beijing Co Ltd filed Critical Tencent Cloud Computing Beijing Co Ltd
Priority to CN201910427237.0A priority Critical patent/CN110136251B/en
Publication of CN110136251A publication Critical patent/CN110136251A/en
Application granted granted Critical
Publication of CN110136251B publication Critical patent/CN110136251B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Graphics (AREA)
  • Geometry (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Stored Programmes (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the specification provides a cross-platform data visualization system. The system comprises: a model module for providing a model in a predetermined format; the chart module is used for configuring a chart which accords with the platform characteristics; the data module is used for maintaining data suitable for different platforms, and the data comprises a data format and a data structure; and the communication module is used for performing two-way communication on the data between different platforms through a preset transport layer protocol. Based on the scheme of the invention, the operation of data visualization under a cross-platform can be realized, and the range of production and application of visualized content is expanded.

Description

Cross-platform data visualization system
Technical Field
The specification relates to the technical field of data visualization, in particular to a cross-platform data visualization system.
Background
With the popularization of the concept of "big data", various products which take data research and data analysis as main services begin to emerge endlessly, and many products with business intelligence and efficiency gradually have the functions from data processing to information presentation. In real life, data exists in an abstract form in our life and work, and if the data is expressed by means of a visual form, the data can help us to more intuitively understand the meaning of the data to be conveyed, wherein the most common data visualization expression form is a chart.
In the prior art, a certain number of tools can help us to generate a two-dimensional chart, which can make data easier to understand, although some existing tools and products support cross-platform application, when the cross-platform visualization content is made by the tools, the range of the applicable platform is still small, the universality is poor, the implementation process of the cross-platform data visualization is tedious, the user experience is affected, and based on the prior art, a cross-platform data visualization system with a wide application range needs to be provided.
Disclosure of Invention
In view of this, the present invention provides a cross-platform data visualization system to solve the problems of small scope of production and application of visualized content and poor user experience in the prior art.
In order to solve the above technical problem, the embodiments of the present specification are implemented as follows:
an embodiment of the present specification provides a cross-platform data visualization system, where the system includes:
a model module for providing a model in a predetermined format;
the chart module is used for configuring a chart conforming to the platform characteristics;
the data module is used for setting the data format and the data structure of the data so as to enable the data to be suitable for different platforms;
the communication module is used for enabling the system to carry out bidirectional communication with different platforms based on a predetermined transport layer protocol;
receiving a model returned by the model module by initiating a model adding request to the model module, and receiving a chart returned by the chart module by initiating a chart adding request to the chart module; and acquiring data for visualization from the data module through the communication module, and performing analysis operation on the data so as to complete visualization of the analyzed data based on the model and the chart.
Optionally, the models have different accuracies, the model module further to:
and performing grouping operation on the models to obtain a plurality of model groups, and configuring attribute files corresponding to the model groups for each model group.
Optionally, the property file includes one or more of a name, a classification, a model support effect, and an administrative region division of the models in the model group.
Optionally, the graph module is specifically configured to:
configuring a chart adaptive to the platform according to different platforms, and packaging the chart in a chart library corresponding to the platform; the chart has the same function and style between different platforms.
Optionally, the data is written in json format.
Optionally, the method further comprises: storing the data in a database of a system server.
Optionally, the transport layer protocol adopts a full duplex communication channel, and the transport layer protocol is a WebSocket communication protocol.
Optionally, the model adding request includes platform parameters corresponding to the platform, and the receiving the model returned by the model module includes:
and receiving a model returned by the model module, wherein the model is a model with a specific format and precision determined by the model module according to the platform parameters, and the model comprises a 3D graph.
Optionally, the method further comprises:
the system comprises a scene module, a scene module and a display module, wherein the scene module is used for storing scene files, the scene corresponding to the scene files is a 3D scene, and each scene corresponds to a 3D space; a scene is retrieved from the scene module and created in a project.
Optionally, the method further comprises:
an element module to store visualization elements, the visualization elements including 3D effect elements; and acquiring a 3D effect element from the element module, and adding an effect to the model by using the 3D effect element.
The embodiment of the specification adopts at least one technical scheme which can achieve the following beneficial effects:
the invention combines a plurality of modules with specific functions to form a cross-platform data visualization system, and realizes the production and application of cross-platform data visualization contents, specifically, the system comprises: a model module for providing a model in a predetermined format; the chart module is used for configuring a chart conforming to the platform characteristics; the data module is used for setting the data format and the data structure of the data so as to enable the data to be suitable for different platforms; the communication module is used for enabling the system to carry out two-way communication with different platforms based on a predetermined transport layer protocol; receiving a model returned by the model module by initiating a model adding request to the model module, and receiving a chart returned by the chart module by initiating a chart adding request to the chart module; and acquiring data for visualization from the data module through the communication module, and performing analysis operation on the data so as to complete visualization of the analyzed data based on the model and the chart. Based on the scheme of the invention, the production and application range of the visualized content can be expanded, and the operation of cross-platform data visualization is realized.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic diagram of an overall architecture of a system involved in a practical application scenario according to the technical solution of the present specification;
fig. 2 is a schematic structural diagram of a cross-platform data visualization system provided in an embodiment of the present specification.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any inventive step based on the embodiments of the present disclosure, shall fall within the scope of protection of the present application.
The existing data visualization is mainly displayed through charts, and two-dimensional charts can be generated through some tools, but when the existing data visualization tools and products are used for cross-platform visualization content production and application, because the models and charts under different platforms can not be compatible, the data between different platforms can not be consistent and real-time transmission communication can not be realized, the range of the applicable platforms of the existing cross-platform data visualization system is still very small, the cross-platform data visualization can not be realized in a real sense, the implementation process of the existing cross-platform data visualization is complex, and the user experience is poor. Therefore, based on the problems existing in the prior art, a cross-platform data visualization system with a wide application range and high user experience degree needs to be provided.
Fig. 1 is a schematic diagram of an overall architecture of a system related to the technical solution of the present specification in an actual application scenario. The cross-platform data visualization system can support the production and application of data visualization of different platforms, and the platforms in the embodiments of the present description may refer to platforms having different operating systems, different hardware devices, or different operating systems and hardware devices, for example: a web client installed on the mobile terminal or a mobile client installed on the mobile terminal, etc. The hardware equipment comprises electronic equipment provided with an intelligent operating system, such as a smart phone, a tablet computer, a PC (personal computer), intelligent large-screen display equipment and the like; the operating system includes, but is not limited to, a terminal operating system such as Syber OS, iOS, android, symbian, windows Mobile, maemo, webOS, palm OS or Blackberry OS.
In the embodiment of the specification, through a data visualization system comprising a model module, a chart module, a data module and a communication module, models in a preset format can be provided for different platforms, the accuracy of the models provided corresponding to the different platforms is different, charts which accord with the characteristics of the platforms are configured for the different platforms, and all charts under the same platform are packaged in a chart library corresponding to the platform; the data format and the data structure of the data are further set so that the data are suitable for different platforms, and the system and the different platforms are in bidirectional communication based on a preset transport layer protocol; in the actual operation process, a model adding request is sent to a model module, a model returned by the model module is received, a chart adding request is sent to a chart module, and a chart returned by the chart module is received; and acquiring data for visualization from the data module through the communication module, and performing analysis operation on the data so as to complete visualization of the analyzed data based on the model and the chart. Through the method and the device, cross-platform data visualization production and application can be realized, and the platform range of applying the same set of visualization content is expanded.
Based on the above-described scenarios, the following describes the embodiments of the present specification in detail.
Fig. 2 is a schematic structural diagram of a cross-platform data visualization system according to an embodiment of the present invention. The system 200 generally includes:
a model module 201 for providing a model in a predetermined format.
In one or more embodiments of the present specification, since it is considered that rendering capabilities of a graphic engine are different between different platforms, a model format may be unified by presetting a model having a specific format, for example: the format of the model can be set to FBX format, or the format of the model can be set to OBJ format, etc.; in actual practice, models in a predetermined format may be placed in a model library, and one or more effects may be preset for each model.
Further, in one or more embodiments of the present specification, the accuracy of the model may also be preset, that is, each model is set to have an accuracy, where the accuracy may include a lower accuracy and a higher accuracy; in practical applications, the judgment criteria of lower accuracy and higher accuracy may be obtained by calculating the average accuracy of the model, and using the average accuracy of the model as a criterion for distinguishing the accuracy of the model, for example: and regarding the model with higher standard precision as the model with higher precision, and regarding the model with lower standard precision as the model with lower precision. Models of different accuracy can be provided according to different platforms, for example: a lower-precision model can be provided for a web client, and a higher-precision model can be provided for a mobile client; the web client and the mobile client can be determined through platform parameters in the model adding request, each platform corresponds to the platform parameter specific to the platform, and the type of the current platform can be judged according to the platform parameters.
According to the embodiment of the specification, the model with a specific format is preset, and the models with different precisions are provided for different platforms, so that the compatibility of models under different platforms is ensured.
Further, in one or more embodiments of the present disclosure, the model module may further be configured to: and performing grouping operation on the models to obtain a plurality of model groups, and configuring an attribute file corresponding to each model group.
Specifically, the models can be grouped according to the independence of the models, or can be grouped according to other standards of the models, that is, the models meeting the conditions are classified into one group or one class, the models in the same group (or the same class) can be classified into the same model file, and in practical application, the specific operation process of grouping the models can be realized based on modeling software; furthermore, after the grouping operation of the models is completed, a plurality of model groups can be obtained, and then each model group is described through the attribute file, so that the meaning of the model group is described, one model file can correspond to one attribute file, that is, one attribute file can describe all the models in the model file.
Preferably, in one or more embodiments of the present specification, the property file may include one or more of a name, a classification, a model support effect, and an administrative region division of the models in the model group; the name is the actual name of the model, and the classification is the self-defined classification of the model, wherein the name, the classification, the model support effect, the administrative region classification and the like of the model can be regarded as the attributes of the model.
According to the embodiment of the specification, the models are reasonably grouped, and the attribute file corresponding to each model group is configured for each model group, so that the reusability of the models is improved, and the models can be reused.
A charting module 202 for configuring a chart that conforms to the platform characteristics.
In one or more embodiments of the present specification, since differences of the graph libraries between different platforms are considered, the graphs corresponding to the platform characteristics are configured according to different platforms, and the configured graphs are packaged in the graph library of the corresponding platform; specifically, the charts meeting the same requirements can be developed for different platforms by using different programming languages according to the same requirements of the charts, wherein the same requirements of the charts can include the same functions and patterns, so that the charts having the same functions and patterns between different platforms are developed, and because the operating systems of different platforms may be different, the charts can be developed by using languages for different platforms. The configured charts under different platforms are consistent in style, animation, data and the like, namely the chart contents are consistent in each platform.
The chart can be regarded as a 2D visualization element, the chart can be of multiple types, each chart can contain one or more types, and when the chart meeting the same requirement is configured, the chart type meeting the actual scene requirement and the corresponding type can be configured according to application scenes of different industries, so that the chart suitable for a specific industry can be rapidly created when the chart is created in the later stage.
Further, in one or more embodiments of the present description, the graph module is specifically configured to: configuring a chart adaptive to the platform according to different platforms, and packaging the chart in a chart library corresponding to the platform; charts have the same function and style between different platforms. After the charts of each platform are configured, the charts under different platforms are packaged from the bottom layer to form chart libraries corresponding to each platform, the chart libraries of each platform are arranged in the background management system, and the background management system can open the chart libraries of each platform, so that different platforms can directly acquire the charts in the chart libraries corresponding to the respective platforms.
According to the embodiment of the specification, the chart conforming to the characteristics of each platform is configured in advance, so that the chart still has the same function and style among different platforms, and the charts under each platform are packaged in the chart libraries corresponding to the respective platform, so that the compatibility of the charts under different platforms is ensured.
And the data module 203 is used for setting the data format and the data structure of the data so that the data are suitable for different platforms.

Claims (10)

1. A cross-platform data visualization system, the system comprising:
the model module is used for providing models with preset formats for different platforms;
the chart module is used for configuring a chart conforming to the platform characteristics;
the data module is used for setting the data format and the data structure of the data so as to enable the data to be suitable for different platforms;
the communication module is used for enabling the system to carry out bidirectional communication with different platforms based on a predetermined transport layer protocol;
receiving a model returned by the model module by initiating a model adding request to the model module, and receiving a chart returned by the chart module by initiating a chart adding request to the chart module; and acquiring data for visualization from the data module through the communication module, and performing analysis operation on the data so as to complete visualization of the analyzed data based on the model and the chart.
2. The system of claim 1, wherein the model module is further to:
and performing grouping operation on the models to obtain a plurality of model groups, and configuring attribute files corresponding to the model groups for each model group.
3. The system of claim 2, wherein the property file includes one or more of a name, a classification, a model support effect, and a division of administrative regions of the models in the model group.
4. The system of claim 1, wherein the charting module is specifically configured to:
configuring a chart adaptive to the platform according to different platforms, and packaging the chart in a chart library corresponding to the platform; the chart has the same function and style between different platforms.
5. The system of claim 1, wherein the data is data written in json format.
6. The system of claim 1, further comprising: storing the data in a database of a system server.
7. The system of claim 1, wherein the transport layer protocol employs a full duplex communication channel, and wherein the transport layer protocol is a WebSocket communication protocol.
8. The system of claim 1, wherein the model addition request includes platform parameters corresponding to the platform, and wherein receiving the model returned by the model module comprises:
and receiving a model returned by the model module, wherein the model is a model with a specific format and precision determined by the model module according to the platform parameters, and the model comprises a 3D graph.
9. The system of claim 1, further comprising:
the system comprises a scene module, a scene module and a display module, wherein the scene module is used for storing scene files, the scene corresponding to the scene files is a 3D scene, and each scene corresponds to a 3D space; a scene is acquired from the scene module and created in a project.
10. The system of claim 1, further comprising:
an element module to store visualization elements, the visualization elements including 3D effect elements; and acquiring a 3D effect element from the element module, and adding an effect to the model by using the 3D effect element.
CN201910427237.0A 2019-05-21 2019-05-21 Cross-platform data visualization system Active CN110136251B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910427237.0A CN110136251B (en) 2019-05-21 2019-05-21 Cross-platform data visualization system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910427237.0A CN110136251B (en) 2019-05-21 2019-05-21 Cross-platform data visualization system

Publications (2)

Publication Number Publication Date
CN110136251A CN110136251A (en) 2019-08-16
CN110136251B true CN110136251B (en) 2023-04-14

Family

ID=67572270

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910427237.0A Active CN110136251B (en) 2019-05-21 2019-05-21 Cross-platform data visualization system

Country Status (1)

Country Link
CN (1) CN110136251B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014071242A2 (en) * 2012-11-02 2014-05-08 Microsoft Corporation Cross-platform data visualizations using common descriptions
CN105677875A (en) * 2016-01-11 2016-06-15 清华大学 Visual modeling platform based on unified constraint of normal data elements
CN109308224A (en) * 2017-07-27 2019-02-05 阿里巴巴集团控股有限公司 The method, apparatus and system of cross-platform data communication, cross-platform data processing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014071242A2 (en) * 2012-11-02 2014-05-08 Microsoft Corporation Cross-platform data visualizations using common descriptions
CN105677875A (en) * 2016-01-11 2016-06-15 清华大学 Visual modeling platform based on unified constraint of normal data elements
CN109308224A (en) * 2017-07-27 2019-02-05 阿里巴巴集团控股有限公司 The method, apparatus and system of cross-platform data communication, cross-platform data processing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于Ionic的移动跨平台试飞实时监控;郝明哲等;《中国科技信息》;20180329(第07期);全文 *

Also Published As

Publication number Publication date
CN110136251A (en) 2019-08-16

Similar Documents

Publication Publication Date Title
US9818179B2 (en) Method for manufacturing a wire harness
CN111259037A (en) Data query method and device based on rule configuration, storage medium and terminal
CN107273104B (en) Processing method and device for configuration data structure
CN109636301A (en) Workflow configuration method, system, terminal and the readable storage medium storing program for executing of financial business
CN109145238A (en) Card display method and device and mobile device
CN104102734B (en) Method for exhibiting data and system
CN111695840A (en) Method and device for realizing flow control
CN110955803A (en) Drawing method, device, equipment and medium of relational graph based on graph database
AU2022368364A1 (en) Control method, device, equipment and storage medium for interactive reproduction of target object
CN115712422A (en) Form page generation method and device, computer equipment and storage medium
CN110136251B (en) Cross-platform data visualization system
CN113779040A (en) Progressive online high-precision map service engine system
CN110019538A (en) A kind of tables of data switching method and device
CN113761293A (en) Graph data strong-connectivity component mining method, device, equipment and storage medium
CN111046472B (en) Method, device, computer equipment and storage medium for displaying model component information
US20140324918A1 (en) Database Generation System, Method For Generating A Database, Product Line Management System And Non-Transitory Data Carrier
CN115859431A (en) Linkage method, device and equipment of three-dimensional building model and two-dimensional drawing
CN114328686A (en) Data docking method and related equipment
US20190138921A1 (en) Interactive guidance system for selecting thermodynamics methods in process simulations
CN109144624B (en) Method, storage medium, device and system for displaying unequal height lists in IOS
CN115641397A (en) Method and system for synthesizing and displaying virtual image
CN114118045A (en) Report form access method, device, storage medium and computer equipment
CN114969031A (en) Visual data display method and related device
CN113010627A (en) City information model service method
CN108460839A (en) A kind of editing machine of AR applications

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
TA01 Transfer of patent application right

Effective date of registration: 20220706

Address after: 100190 Beijing Haidian District Zhichun Road 49 No. 3 West 309

Applicant after: TENCENT CLOUD COMPUTING (BEIJING) Co.,Ltd.

Address before: Room 201, building 1, No. 64, qianbanbi street, Xicheng District, Beijing 100035

Applicant before: Beijing Guangqiyuan Digital Technology Co.,Ltd.

TA01 Transfer of patent application right
CB03 Change of inventor or designer information

Inventor after: Wang Bo

Inventor after: Jiang Pin

Inventor before: Jiang Pin

Inventor before: Wang Bo

CB03 Change of inventor or designer information
GR01 Patent grant
GR01 Patent grant