Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for generating frame diagram, computer device and readable storage medium

A frame diagram and computer program technology, applied in the field of distributed systems, can solve problems such as low efficiency, inability to modify the frame diagram, and increase the maintenance cost of the framework diagram of the distributed system, so as to improve work efficiency and realize the effect of version management

Active Publication Date: 2020-09-01
SHANGHAI BILIBILI TECH CO LTD
View PDF12 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the existing technology, system developers usually use sketchpad tools to manually draw the framework diagram of the distributed system, which is inefficient
In addition, the frame diagram drawn is usually stored in JPG (Joint Photographic Experts Group) or PNG (Portable Network Graphics, Portable Network Graphics) format, and the frame diagram in JPG or PNG format cannot be modified; therefore, When the distributed system is constantly evolving and updating, it is necessary to repeatedly draw the corresponding framework diagram, which increases the maintenance cost of the framework diagram of the distributed system

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for generating frame diagram, computer device and readable storage medium
  • Method for generating frame diagram, computer device and readable storage medium
  • Method for generating frame diagram, computer device and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0050] The method for generating a frame diagram provided by the present invention will be described below in conjunction with the accompanying drawings.

[0051] figure 1 An optional schematic flowchart of the method for generating a frame diagram of the present invention, such as figure 1 As shown, the method specifically includes the following steps:

[0052] Step S101: Obtain a first text file used to describe the distributed system.

[0053] Wherein, the first text file is written by the designer of the distributed system using a markup language; each designed distributed system has corresponding one or more text files; a text file of a distributed system Each node included in the distributed system and the association relationship between each node in the distributed system can be reflected.

[0054] It should be noted that the nodes in this embodiment are computer software units constituting the distributed system, and the association relationship in this embodiment is...

Embodiment 2

[0119] Based on the method for generating a frame diagram provided in the first embodiment above, this embodiment provides a device for generating a frame diagram, specifically, Figure 4 An optional structural block diagram of the device for generating a framework diagram is shown, the device for generating a framework diagram is divided into one or more program modules, one or more program modules are stored in a storage medium, and are controlled by one or more processors to complete the present invention. The program module referred to in the present invention refers to a series of computer program instruction segments capable of completing specific functions, which is more suitable than the program itself to describe the execution process of the device generating the frame diagram in the storage medium. The following description will specifically introduce the programs of this embodiment function of the module.

[0120] Such as Figure 4 As shown, the device for g...

Embodiment 3

[0142] This embodiment also provides a computer device, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server, or a cabinet server (including an independent server, or A server cluster composed of multiple servers), etc. Such as Figure 5 As shown, the computer device 50 in this embodiment at least includes but is not limited to: a memory 501 and a processor 502 that can be communicated with each other through a system bus. It should be pointed out that, Figure 5 Only computer device 50 is shown having components 501-502, but it is to be understood that implementing all of the illustrated components is not a requirement and that more or fewer components may instead be implemented.

[0143] In this embodiment, the memory 501 (that is, a readable storage medium) includes a flash memory, a hard disk, a multimedia card, a card-type memory (for example, SD or DX memory, etc.), random access memory (...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for generating a frame diagram, a computer device and a readable storage medium. The method comprises the steps of obtaining a first text file used for describing a distributed system; according to the first text file, determining each node in the distributed system, and determining an association relationship among the nodes; respectively drawing wireframes corresponding to the nodes in a display interface, and drawing connecting lines representing the incidence relation among the wireframes in the display interface to generate a first frame diagram corresponding to the first text file. According to the invention, the frame diagram of the distributed system can be automatically drawn, and version maintenance and version difference comparison can be carriedout.

Description

technical field [0001] The invention relates to the technical field of distributed systems, in particular to a method for generating a frame diagram, computer equipment and a readable storage medium. Background technique [0002] With the continuous development of Internet technology, in order to carry a large number of users, distributed solutions are often used in system construction; as a collection of independent computers, distributed systems have a high degree of cohesion and transparency. In order to better understand and design distributed systems, system developers usually draw a framework diagram to reflect the distributed system. In the prior art, system developers usually draw a framework diagram of a distributed system manually by using a sketchpad tool, which is inefficient. In addition, the frame diagram drawn is usually stored in JPG (Joint Photographic Experts Group) or PNG (Portable Network Graphics, Portable Network Graphics) format, and the frame diagram...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F3/0484G06T11/20G06T11/60G06F8/20
CPCG06F3/04845G06F8/20G06T11/206G06T11/60
Inventor 鲁昂曲涛谭晓栋
Owner SHANGHAI BILIBILI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products