CN113760238A - Method, device, medium and equipment for generating 3D application wall based on JSON data - Google Patents

Method, device, medium and equipment for generating 3D application wall based on JSON data Download PDF

Info

Publication number
CN113760238A
CN113760238A CN202111311741.8A CN202111311741A CN113760238A CN 113760238 A CN113760238 A CN 113760238A CN 202111311741 A CN202111311741 A CN 202111311741A CN 113760238 A CN113760238 A CN 113760238A
Authority
CN
China
Prior art keywords
application
generating
json data
data
different
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111311741.8A
Other languages
Chinese (zh)
Inventor
陈傲寒
王维成
吴娜
白靖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Younuo Technology Co ltd
Original Assignee
Beijing Younuo Technology 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 Beijing Younuo Technology Co ltd filed Critical Beijing Younuo Technology Co ltd
Priority to CN202111311741.8A priority Critical patent/CN113760238A/en
Publication of CN113760238A publication Critical patent/CN113760238A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/24Object-oriented

Landscapes

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

Abstract

The invention relates to a method for generating a 3D application wall based on JSON data, which comprises the following steps: setting different application classifications and acquiring configuration files of the different application classifications; analyzing JSON data in different configuration files to generate application cards; creating a card object based on THEEJS; a 3D application wall is generated based on the card object. The invention can know the full application, and control the application overall appearance based on the multi-layer architecture information and the multi-dimensional holographic data of the full application. The invention also relates to a device, a storage medium and equipment for generating the 3D application wall based on the JSON data.

Description

Method, device, medium and equipment for generating 3D application wall based on JSON data
Technical Field
The invention relates to the technical field of computers, in particular to a method, a device, a storage medium and equipment for generating a 3D application wall based on JSON data.
Background
The application is various, the associated data of each application is relatively dispersed, and a visualization mode for comprehensively mastering the overall appearance of all the applications is lacked. The traditional forms, lists and other modes are not convenient and intuitive for viewing data of a plurality of applications, and the comparison operation of the difference before each application is complex.
Therefore, there is a strong need in the art to develop a method suitable for intuitively understanding a plurality of application data.
Disclosure of Invention
The invention aims to solve the technical problems that in the prior art, a method, a device, a storage medium and equipment for generating a 3D application wall based on JSON data are provided, and the method, the device, the storage medium and the equipment are mainly used for solving the technical problems that the existing multi-application data control is not comprehensive enough and the relation check between applications is not visual enough.
The technical scheme for solving the technical problems is as follows:
a method of generating a 3D application wall based on JSON data, the method comprising:
setting different application classifications and acquiring configuration files of the different application classifications;
analyzing JSON data in different configuration files to generate application cards;
creating a card object based on THEEJS;
a 3D application wall is generated based on the card object.
On the basis of the technical scheme, the invention can be further improved as follows.
Further, the parsing JSON data in different configuration files to generate application cards includes:
analyzing JSON data in different configuration files to obtain basic application classification data;
and calling different basic application classification data to generate the application card.
Further, the creating the THREEJS-based card object includes:
calling different JSON data to display different application classifications, and generating an object of each card;
and filling the card into the geometric body and the material object of the THEEJS, and creating the card object based on the THEEJS.
Further, the generating of the 3D application wall based on the card object includes:
analyzing a field corresponding to a card object in JSON data in the configuration file;
calculating model information of the card object;
generating the 3D application wall based on the THREEJS.
Further, the configuration file and the data file of the application wall are deployed on a network server.
Further, the data format of the configuration file and the data format of the application wall are consistent.
Further, each card object is used for displaying basic configuration information, alarm information and performance information of different application classifications.
The invention has the beneficial effects that: the method for generating the 3D application wall based on the JSON data is provided, different application classifications are set, and configuration files of the different application classifications are obtained; analyzing JSON data in different configuration files to generate application cards; creating a card object based on THEEJS; a 3D application wall is generated based on the card object. The method and the device can quickly create application walls of different classifications, and reduce the cost of developing related 3D programs, deployment and implementation processes.
The invention also solves another technical scheme of the technical problems as follows:
an apparatus to generate a 3D application wall based on JSON data, the apparatus comprising:
the configuration module is used for setting different application classifications and acquiring configuration files of the different application classifications;
the analysis module is used for analyzing JSON data in different configuration files to generate application cards;
a creation module for creating a THREEJS based card object;
and the generating module is used for generating the 3D application wall based on the card object.
Furthermore, the present invention provides a computer readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps in the method for generating a 3D application wall based on JSON data according to any one of the above technical solutions.
The invention also provides a device for generating the 3D application wall based on the JSON data, which comprises the following steps: a processor and a memory; the memory has stored thereon a computer readable program executable by the processor; the processor, when executing the computer readable program, implements the steps in the method for generating a 3D application wall based on JSON data according to any one of the above technical solutions.
Advantages of additional aspects of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments of the present invention or in the description of the prior art will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for generating a 3D application wall based on JSON data according to an embodiment of the present invention;
fig. 2 is a schematic block diagram of an apparatus for generating a 3D application wall based on JSON data according to another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, shall fall within the scope of protection of the present invention.
As shown in fig. 1, a method for generating a 3D application wall based on JSON data includes the steps of:
110. setting different application classifications and acquiring configuration file JSON data of the different application classifications;
120. analyzing JSON data in different configuration files to generate application cards;
130. creating a card object based on THEEJS;
140. a 3D application wall is generated based on the card object.
Different application classifications can be set, and different application wall styles can be set. The display mode of the cards in the application wall can also be set in advance, for example, the cards are displayed in an element periodic table form, or displayed in a curved surface form, or displayed in a classified manner according to the application type according to the client requirements, or displayed in any other intuitive manner, the specific display mode is not limited, and a template can be set to perform a custom display mode.
The cards displayed or highlighted in the application wall can be screened out in a screening mode of the cards in the application wall, for example, the cards meeting the conditions are screened out by a computer application class and displayed through a display screen, or the information of the cards meeting the conditions is displayed according to a construction time sequence.
And, whether the top toolbar and/or the bottom toolbar are enabled may be set on the application wall. Information such as screening conditions, display modes or application classifications can be set in the top toolbar and/or the bottom toolbar, and different application classification options can be displayed in the toolbars.
The simulation classification data is taken as an example for illustration, an application wall is displayed in an element period table mode, an application name and English abbreviations are displayed in a card, an alarm data and card screening function is started, time and logo display of a top toolbar is started, and an alarm carousel function is started.
Taking the simulation classification data as an example for illustration, the latest alarm data, the basic configuration information of application classification and the performance data related to application are displayed in a 3-card mode.
The invention can know the full application through one wall based on the multi-layer architecture information and the multi-dimensional holographic data of the full application, thereby reducing the relation query cost between the related data of different applications and different applications.
Specifically, taking simulation application data as an example for illustration, analyzing JSON data of different classification applications and generating corresponding 3D application walls includes the following steps:
a) setting specific application wall data:
(1) setting specific application classification data;
(2) setting the display content of each card;
(3) setting the integral line number of the application wall;
(4) setting a display style of the application wall;
(5) setting the overall layout of the application wall;
(6) whether to enable top and bottom menu bars;
(7) whether a card dynamic screening effect is started or not;
(8) whether the filter by category card function is enabled.
b) And acquiring the set configuration file, analyzing the corresponding JSON data, generating an application card, displaying the corresponding application wall in a given style and layout mode, and adding the screening and warning functions on the wall.
The display styles of the application wall comprise a science fiction style, a classic style or a dazzling blue style and the like. The layout mode includes a curved surface, a plane or an element periodic table. Wherein the curvature of the curved surface can be set to 0-120 degrees. The top or the bottom can display the Chinese and English names, the Chinese and English abbreviation, logo identification, time and other information of the card. The English abbreviation of the card can be set to a self-defining mode or an attribute item, and the English abbreviation mode can be selected from the attribute item. The architecture diagram display of the application wall can select a large screen mode or a viewing mode and the like. Configuration panel information can be displayed on the application wall, the configuration panel information can be set and displayed by selecting the option, and the panel outline information displays information such as alarm, configuration or index information. Data refresh is updated every 3 or 2 seconds, especially for alarm information and performance indicator information. The alarm level is divided into a plurality of levels such as a general level and a serious level. The screening rules can be customized or screening modes can be added according to requirements.
Further, the parsing JSON data in different configuration files to generate application cards in step 120 includes:
analyzing JSON data in different configuration files to obtain basic application classification data;
and calling different basic application classification data to generate the application card.
Further, the creating the THREEJS-based card object in step 130 includes:
calling different JSON data to display different application classifications, and generating an object of each card;
and filling the card into the geometric body and the material object of the THEEJS, and creating the card object based on the THEEJS.
Further, the generating of the 3D application wall based on the card object in step 140 includes:
analyzing a field corresponding to a card object in JSON data in the configuration file;
calculating model information of the card object;
generating the 3D application wall based on the THREEJS.
The method and the device can quickly create application walls of different classifications, and reduce the cost, the deployment mode and the implementation flow of developing related 3D programs.
According to JSON data information in different configuration files, a 3D application wall is manufactured by software; or downloading the configured JSON format file from the network.
In the invention, the corresponding field in the JSON data is analyzed, and the card object is created according to the content in the field.
Further, the configuration file and the data file of the application wall are deployed on a network server, or the existing configuration file and the existing data file of the application wall are stored in the same directory.
Further, the data format of the configuration file and the data format of the application wall are consistent.
Each card in the application walls of different classifications inherits a base class, and the base class comprises basic configuration data, alarm data and performance data of the cards and relation data among different cards.
As shown in fig. 2, an apparatus for generating a 3D application wall based on JSON data includes:
the configuration module is used for setting different application classifications and acquiring configuration files of the different application classifications;
the analysis module is used for analyzing JSON data in different configuration files to generate application cards;
a creation module for creating a THREEJS based card object;
and the generating module is used for generating the 3D application wall based on the card object.
Furthermore, the present invention provides a computer readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps in the method for generating a 3D application wall based on JSON data according to any one of the above technical solutions.
The invention also provides a device for generating the 3D application wall based on the JSON data, which comprises the following steps: a processor and a memory; the memory has stored thereon a computer readable program executable by the processor; the processor, when executing the computer readable program, implements the steps in the method for generating a 3D application wall based on JSON data according to any one of the above technical solutions.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. 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 invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium.
Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer memory, Read-only memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, etc. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.
While the invention has been described with reference to specific embodiments, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for generating a 3D application wall based on JSON data is characterized by comprising the following steps:
setting different application classifications and acquiring configuration files of the different application classifications;
analyzing JSON data in different configuration files to generate application cards;
creating a card object based on THEEJS;
a 3D application wall is generated based on the card object.
2. The method of generating a 3D application wall based on JSON data of claim 1, wherein parsing JSON data in different configuration files to generate application cards comprises:
analyzing JSON data in different configuration files to obtain basic application classification data;
and calling different basic application classification data to generate the application card.
3. The method for generating a 3D application wall based on JSON data of claim 1, wherein the creating the THREEJS-based card object comprises:
calling different JSON data to display different application classifications, and generating an object of each card;
and filling the card into the geometric body and the material object of the THEEJS, and creating the card object based on the THEEJS.
4. The method for generating a 3D application wall based on JSON data according to claim 1, wherein the generating the 3D application wall based on the card object comprises:
analyzing a field corresponding to a card object in JSON data in the configuration file;
calculating model information of the card object;
generating the 3D application wall based on the THREEJS.
5. The method for generating a 3D application wall based on JSON data as claimed in claim 1, wherein the configuration file and the data file of the application wall are deployed on a network server.
6. The method for generating a 3D application wall based on JSON data as claimed in claim 5, wherein the data format of the configuration file and the data format of the application wall are consistent.
7. The method for generating a 3D application wall based on JSON data according to claim 1, wherein each card object is used for displaying basic configuration information, alarm information and performance information of different application classifications.
8. An apparatus for generating a 3D application wall based on JSON data, the apparatus comprising:
the configuration module is used for setting different application classifications and acquiring configuration files of the different application classifications;
the analysis module is used for analyzing JSON data in different configuration files to generate application cards;
a creation module for creating a THREEJS based card object;
and the generating module is used for generating the 3D application wall based on the card object.
9. A computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the steps in the method of generating a 3D application wall based on JSON data according to any one of claims 1 to 7.
10. An apparatus for generating a 3D application wall based on JSON data, comprising: a processor and a memory; the memory has stored thereon a computer readable program executable by the processor; the processor, when executing the computer readable program, implements the steps in the method of generating a 3D application wall based on JSON data of any of claims 1-7.
CN202111311741.8A 2021-11-08 2021-11-08 Method, device, medium and equipment for generating 3D application wall based on JSON data Pending CN113760238A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111311741.8A CN113760238A (en) 2021-11-08 2021-11-08 Method, device, medium and equipment for generating 3D application wall based on JSON data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111311741.8A CN113760238A (en) 2021-11-08 2021-11-08 Method, device, medium and equipment for generating 3D application wall based on JSON data

Publications (1)

Publication Number Publication Date
CN113760238A true CN113760238A (en) 2021-12-07

Family

ID=78784774

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111311741.8A Pending CN113760238A (en) 2021-11-08 2021-11-08 Method, device, medium and equipment for generating 3D application wall based on JSON data

Country Status (1)

Country Link
CN (1) CN113760238A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112381931A (en) * 2020-11-23 2021-02-19 北京优锘科技有限公司 Method for generating 3D scene based on JSON data

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112381931A (en) * 2020-11-23 2021-02-19 北京优锘科技有限公司 Method for generating 3D scene based on JSON data

Similar Documents

Publication Publication Date Title
US10558681B2 (en) Automated computer visualization and interaction with big data
US20080295038A1 (en) Automated treemap configuration
US20160132225A1 (en) Interactive data-driven presentations
EP3374855A1 (en) Generation of an application from data
CN105447098B (en) A kind of information query method and device
CN110837366A (en) Form generation method, electronic device and computer readable storage medium
CN111752594A (en) Data processing method based on business module and related equipment
CN113535165A (en) Interface generation method and device, electronic equipment and computer readable storage medium
CN114860699A (en) Data quality detection method, device, equipment and storage medium
CN114385940A (en) Data visualization method, device, equipment and medium
US11163725B1 (en) Personalized user interface systems and methods
CN113343109A (en) List recommendation method, computing device and computer storage medium
CN104951477B (en) Method and apparatus for crossing filter data
US9342577B2 (en) Preference-based data representation framework
CN113760238A (en) Method, device, medium and equipment for generating 3D application wall based on JSON data
CN114491113B (en) Method, apparatus, medium, and device for dynamically adjusting scene effect according to hierarchy
CN113254000B (en) Method, device, storage medium and equipment for generating 2D scene based on JSON data
CN113656126B (en) Menu display method and menu display device of information system and electronic equipment
CN113535162A (en) Front-end interface configuration method, display method and device
CN113742544A (en) Multi-object association display method and device and computer readable storage medium
CN112286785A (en) User interface abnormity detection method and device
CN110851568A (en) Commodity information processing method, terminal device and computer-readable storage medium
CN108710491B (en) Software management system and method based on C/S architecture
CN112084378A (en) Single graph display method and device for data
CN117234499A (en) Bubble generation method and device, electronic equipment and storage medium

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