CN112416489A - Engineering drawing display method and related device - Google Patents

Engineering drawing display method and related device Download PDF

Info

Publication number
CN112416489A
CN112416489A CN202011230230.9A CN202011230230A CN112416489A CN 112416489 A CN112416489 A CN 112416489A CN 202011230230 A CN202011230230 A CN 202011230230A CN 112416489 A CN112416489 A CN 112416489A
Authority
CN
China
Prior art keywords
target
coordinate point
point data
data
engineering drawing
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
CN202011230230.9A
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.)
Shenzhen Wanyi Digital Technology Co ltd
Original Assignee
Wanyi 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 Wanyi Technology Co Ltd filed Critical Wanyi Technology Co Ltd
Priority to CN202011230230.9A priority Critical patent/CN112416489A/en
Publication of CN112416489A publication Critical patent/CN112416489A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • 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/547Remote procedure calls [RPC]; Web services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/545Gui

Abstract

The application provides an engineering drawing display method and a related device, and firstly, a server acquires definition parameter data of a graph in a target engineering drawing; then, generating coordinate point data according to the definition parameter data; then, executing first preset processing on the coordinate point data to obtain target coordinate point data; and finally, sending the target coordinate point data to the user equipment according to the display requirement of the user equipment, wherein the target coordinate point data is used for enabling the user equipment to display the target engineering drawing by rendering the target coordinate point data. Target coordinate point data of the target engineering drawing can be pre-calculated at the rear end, the front end can directly call the target coordinate point data for rendering, a large amount of calculation is not needed, rendering efficiency is greatly improved, and display performance is improved.

Description

Engineering drawing display method and related device
Technical Field
The present application relates to the field of image processing technologies, and in particular, to an engineering drawing display method and a related apparatus.
Background
With the development of technology, the drawing of engineering drawings plays an important role in various fields, and the current display mode of engineering drawings is generally defined by parameterizing graphs in the drawings by a rear end, for example, a circle is represented by a circle center coordinate plus a radius of the circle, and an arc is represented by a start point, a stop point, a convexity and the like. And during front-end rendering, calculating the corresponding coordinate point of the defined parameter in real time according to a mathematical formula, and then drawing. The scheme has the defects that when the number of graphs is extremely large or the content of the target engineering drawing is very complex, the calculation amount required before front-end rendering is huge, the rendering efficiency is low, and the display performance is influenced.
Disclosure of Invention
Based on the problems, the application provides an engineering drawing display method and a related device, target coordinate point data of a target engineering drawing can be calculated in advance at the rear end, the target coordinate point data can be directly called by the front end for rendering, a large amount of calculation is not needed, the rendering efficiency is greatly improved, and the display performance is improved.
In a first aspect, an embodiment of the present application provides an engineering drawing display method, which is applied to a server, and the method includes:
acquiring definition parameter data of a graph in a target engineering drawing;
generating coordinate point data according to the definition parameter data;
executing first preset processing on the coordinate point data to obtain target coordinate point data;
and sending the target coordinate point data to the user equipment according to the display requirement of the user equipment, wherein the target coordinate point data is used for enabling the user equipment to display the target engineering drawing by rendering the target coordinate point data.
In one application embodiment, the coordinate point data includes vertex coordinates; generating coordinate point data from the definition parameter data includes:
and generating N vertex coordinates according to the definition parameter data, wherein the N vertex coordinates are used for representing graphs in the target engineering drawing, and N is a positive integer.
In an embodiment of the application, the performing a first preset process on the coordinate point data to obtain target coordinate point data includes:
combining the N vertex coordinates into a target object to obtain target object data;
assembling the target object data in a vertex cache object format to obtain target cache data;
and compressing and storing the target cache data through stream storage to obtain the target coordinate point data.
In a second aspect, an embodiment of the present application provides an engineering drawing display method, which is applied to user equipment, and the method includes:
sending a display requirement to a server, wherein the display requirement is used for displaying a target engineering drawing;
receiving target coordinate point data sent by the server;
and rendering the target coordinate point data and displaying the target engineering drawing.
In an embodiment of the application, the receiving the target coordinate point data sent by the server includes:
decompressing the target coordinate point data through a stream-type storage decompression rule to obtain N vertex coordinates, wherein N is a positive integer;
in one application embodiment, the rendering the target coordinate point data and displaying the target engineering drawing includes:
and calling a web graphic library interface to render the N vertex coordinates, and displaying the target engineering drawing.
In a third aspect, an embodiment of the present application provides an engineering drawing display device, which is applied to a server, and the device includes:
the parameter acquisition unit is used for acquiring the definition parameter data of the graph in the target engineering drawing;
a coordinate generating unit for generating coordinate point data from the definition parameter data;
the target processing unit is used for executing first preset processing on the coordinate point data to obtain target coordinate point data;
and the data sending unit is used for sending the target coordinate point data to the user equipment according to the display requirement of the user equipment, and the target coordinate point data is used for enabling the user equipment to display the target engineering drawing by rendering the target coordinate point data.
In a fourth aspect, an embodiment of the present application provides an engineering drawing display device, which is applied to user equipment, and the device includes:
the system comprises a demand sending unit, a display unit and a processing unit, wherein the demand sending unit is used for sending a display demand to a server, and the display demand is used for displaying a target engineering drawing;
the data receiving unit is used for receiving the target coordinate point data sent by the server;
and the drawing rendering unit is used for rendering the target coordinate point data and displaying the target engineering drawing.
In a fifth aspect, an embodiment of the present application provides a server, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps in the first aspect of the embodiment of the present application.
In a sixth aspect, the present application provides a user equipment, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps in the second aspect of the present application.
In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program enables a computer to perform some or all of the steps described in the first aspect or the second aspect of the embodiment of the present application.
In an eighth aspect, embodiments of the present application provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps as described in the first or second aspects of embodiments of the present application. The computer program product may be a software installation package.
It can be seen that, according to the engineering drawing display method and the related device provided by the embodiment of the application, firstly, a server obtains definition parameter data of a graph in a target engineering drawing; then, generating coordinate point data according to the definition parameter data; then, executing first preset processing on the coordinate point data to obtain target coordinate point data; and finally, sending the target coordinate point data to the user equipment according to the display requirement of the user equipment, wherein the target coordinate point data is used for enabling the user equipment to display the target engineering drawing by rendering the target coordinate point data. Target coordinate point data of the target engineering drawing can be pre-calculated at the rear end, the front end can directly call the target coordinate point data for rendering, a large amount of calculation is not needed, rendering efficiency is greatly improved, and display performance is improved.
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 description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario of an engineering drawing display method according to an embodiment of the present application;
fig. 2 is a schematic flow chart diagram of an engineering drawing display method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another engineering drawing display method according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of another engineering drawing display method according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a server according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a user equipment according to an embodiment of the present application;
fig. 7 is a functional unit composition block diagram of an engineering drawing device according to an embodiment of the present application;
fig. 8 is a block diagram of functional units of another engineering drawing device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, 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 derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
An application scenario of the engineering drawing display method in the embodiment of the present application is introduced below, as shown in fig. 1, the application scenario includes a server 110 and a user equipment 120, where the user equipment 120 may include a smart Phone (such as an Android Phone, an iOS Phone, a Windows Phone, etc.), a tablet computer, a palmtop computer, a notebook computer, a video matrix, a monitoring platform, a Mobile Internet device (MID, Mobile Internet Devices), or a wearable device, and the foregoing are merely examples, and are not exhaustive, and include but not limited to the foregoing Devices. The server 110 is wirelessly connected to the user equipment 120, a drawing display client may be built in the user equipment 120, and the user equipment 120 performs data interaction with the server 110 through the drawing display client.
Specifically, the server 110 may obtain a parameterized definition of a graph in a target engineering drawing, that is, definition parameter data, directly generate coordinate points representing the graph in the target engineering drawing according to the definition parameter data, combine the generated coordinate points into an object, and store the object in a streaming manner, and the user equipment 120 may directly obtain data stored in a streaming manner from the server to decompress the data when the target engineering drawing needs to be displayed, and directly render the coordinate points, so as to obtain a target engineering drawing to be displayed finally. Therefore, the situation that the coordinate point of the defined parameter data is determined and then rendered by the front end, namely the user equipment, can be avoided, the calculated amount of the front end can be greatly reduced, the rendering efficiency is improved, and the display performance is improved.
Fig. 2 is a schematic flow chart diagram of the engineering drawing display method provided in the embodiment of the present application, and the method is applied to a server and specifically includes the following steps:
step 201, obtaining definition parameter data of a graph in a target engineering drawing.
The plurality of figures in the target engineering drawing may be referred to as a plurality of objects, different objects have different definition parameters, for example, a circle is represented by a circle center coordinate plus a radius of the circle, and a circular arc is represented by a start point, a stop point and a convexity, and the definition parameter data of all the figures in the target engineering drawing can be obtained by performing parameterization definition on each object. Will be applied to
By acquiring the definition parameter data of the graph in the target engineering drawing, reference can be provided for generating a coordinate point for the server subsequently, and the display accuracy of the target engineering drawing is improved.
Step 202, generating coordinate point data according to the definition parameter data.
The coordinate point data may include vertex coordinates. It can be understood that a graph theoretically has an infinite number of coordinate points, and when the graph is actually generated, the graph is a graph formed by a plurality of line segments, each line segment has two vertex coordinates, for example, a circle, and may be formed by a plurality of straight lines, as long as each straight line is short, the whole is also a circle in visual appearance, based on the graph generation manner, N vertex coordinates may be determined by defining parameter data, the graph in the target engineering drawing is represented by the N vertex coordinates, and N is a positive integer.
Therefore, coordinate point data is generated according to the definition parameter data, drawing work of the coordinate points can be completed by using the server, and due to the fact that the performance of the server is far superior to that of user equipment, the amount of calculation of the front end can be greatly reduced when the drawing of the coordinate points is completed at the rear end.
Step 203, executing a first preset process on the coordinate point data to obtain target coordinate point data.
The N vertex coordinates may be merged into a target object by primitive merging, so as to obtain target object data, where the target object data is merged coordinate point data; and then assembling the target object data in a vertex cache object format to obtain target cache data.
Specifically, the vertex cache object (VBO) permits vertex group data to be stored in the memory of the high-performance graphics card at the server, and provides efficient data transmission. The vertex cache object (VBO) creates "cache objects" for vertex attributes in server-side high performance memory and provides access functions that reference these arrays, which are the same as the functions used in the vertex arrays, such as glVertexPointer (), glNormalPointer (), glTexCoordPointer (), etc.
Memory management in the vertex cache objects places the cache objects in the most appropriate memory locations according to user prompts ("target" and "Usage" modes). Therefore, the memory management can optimize the cache in a mode of balancing three memories of a system memory, an AGP memory and a video card memory.
Unlike the display list, the data in the vertex cache object may be read and updated by mapping the cache to the memory space of the client.
Another important advantage of VBO is that cached data can be shared among multiple clients just like display lists and textures. Because the VBO is at the server side, multiple clients can access the same cache through corresponding identifiers.
The target object data are assembled into target cache data in a VBO format, so that the user equipment can conveniently and directly call the target cache data and render the target cache data.
And finally, compressing and storing the target cache data through stream storage to obtain the target coordinate point data.
Therefore, the size of data transmission and the data conversion process are reduced under the streaming storage. When the front end needs to be rendered, the data stored in a streaming mode are directly downloaded to the front end, the webgl interface can be directly called to be rendered, the workload of the front end which needs to dynamically calculate in real time is greatly reduced, the data are organized according to the optimized rendering mode, the workload of a data preparation stage before the webgl interface is called is saved, the rendering performance is further accelerated, and the light effect is achieved.
And step 204, sending the target coordinate point data to the user equipment according to the display requirement of the user equipment.
The target coordinate point data is used for enabling the user equipment to display the target engineering drawing by rendering the target coordinate point data. The display requirement can be sent by the user equipment through the drawing display client.
By the method, the target coordinate point data of the target engineering drawing can be pre-calculated at the back end, the front end can directly call the target coordinate point data for rendering, a large amount of calculation is not needed, the rendering efficiency is greatly improved, and the display performance is improved.
Next, another engineering drawing display method in the embodiment of the present application is described with reference to fig. 3, where fig. 3 is a schematic flowchart of another engineering drawing display method provided in the embodiment of the present application, and is applied to a user equipment, and specifically includes the following steps:
step 301, sending a display requirement to a server.
The display requirement is used for displaying a target engineering drawing; the user equipment can send the display requirement to the server through the drawing display client. The display requirement can carry a target engineering drawing identification so as to display the target engineering drawing.
Step 302, receiving the target coordinate point data sent by the server.
The target coordinate point data is data stored in a streaming manner, and the user equipment can download the target coordinate point data and then decompress the target coordinate point data according to a decompression rule stored in the streaming manner to obtain N vertex coordinates, wherein N is a positive integer.
The target coordinate point data is obtained through a decompression rule of streaming storage, the size of transmission data can be reduced, and the conversion process can be reduced by a server when the user equipment analyzes the data.
Step 303, rendering the target coordinate point data, and displaying the target engineering drawing.
And the WebGL (Web graphic library) is a JavaScript API and can render high-performance interactive 3D and 2D graphics in any compatible Web browser without using a plug-in. WebGL does this by introducing an API that is very consistent with OpenGL ES 2.0, which can be used in the HTML5< canvas > element. This consistency allows the API to take advantage of the hardware graphics acceleration provided by the user device.
By the method, the generation operation logic of the vertex coordinates is generated in advance in the background server, real-time dynamic calculation is not needed in front-end user equipment, the cpu occupation of the front end is reduced, and the loading time is reduced; because the merging and optimization processing of the vertex data of the graphic primitives is already realized in the background, the data can be directly submitted to the webgl processing when the front end is loaded and displayed through the webgl, and the rendering efficiency is improved. That is, the main work is pre-processed in the background, and what the front end needs to do is just to push the received data to the display card for rendering, so that the loading is fast, the display efficiency is high, and the operation is smooth.
Next, with reference to fig. 4, another engineering drawing display method in the embodiment of the present application is described in detail, where fig. 4 is another engineering drawing display method provided in the embodiment of the present application, and is applied to a server and a user equipment, and specifically includes the following steps:
step 401, a server acquires definition parameter data of a graph in a target engineering drawing;
step 402, the server generates coordinate point data according to the definition parameter data;
step 403, the server executes a first preset process on the coordinate point data to obtain target coordinate point data;
step 404, the server sends the target coordinate point data to the user equipment according to the display requirement of the user equipment.
The target coordinate point data is used for enabling the user equipment to display the target engineering drawing by rendering the target coordinate point data.
Step 405, the user equipment receives the target coordinate point data sent by the server;
and 406, rendering the target coordinate point data by the user equipment, and displaying the target engineering drawing.
The parts of the method not described in detail can refer to the descriptions of all or part of the method steps in fig. 2 and fig. 3, and are not described again here.
By the method, when the front end needs to be rendered, the stream-type stored data can be directly downloaded to the front end, namely the webgl interface can be directly called for rendering, so that the workload of the front end which needs to dynamically calculate in real time is greatly reduced, the data is well organized according to the optimized rendering mode, the workload of a data preparation stage before the webgl rendering is called is saved, the rendering performance is further accelerated, and the light effect is achieved.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. 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 application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing 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. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 5 is a schematic structural diagram of an electronic device 500 provided in the embodiment of the present application, and the electronic device 500 includes a processor 501, a communication interface 502, and a memory 503, where the processor 501, the communication interface 502, and the memory 503 are connected to each other through a bus 504, and the bus 504 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus 504 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 5, but this is not intended to represent only one bus or type of bus. Wherein the memory 503 is configured to store a computer program comprising program instructions, and the processor 501 is configured to call the program instructions to perform the method of:
acquiring definition parameter data of a graph in a target engineering drawing;
generating coordinate point data according to the definition parameter data;
executing first preset processing on the coordinate point data to obtain target coordinate point data;
and sending the target coordinate point data to the user equipment according to the display requirement of the user equipment, wherein the target coordinate point data is used for enabling the user equipment to display the target engineering drawing by rendering the target coordinate point data.
In one possible embodiment, the coordinate point data includes vertex coordinates; in the aspect of generating coordinate point data according to the defined parameter data, the instructions in the program are specifically configured to:
and generating N vertex coordinates according to the definition parameter data, wherein the N vertex coordinates are used for representing graphs in the target engineering drawing, and N is a positive integer.
In a possible embodiment, in the aspect that the target coordinate point data is obtained by performing the first preset process on the coordinate point data, the instructions in the program are specifically configured to:
combining the N vertex coordinates into a target object to obtain target object data;
assembling the target object data in a vertex cache object format to obtain target cache data;
and compressing and storing the target cache data through stream storage to obtain the target coordinate point data.
Fig. 6 is a schematic structural diagram of an electronic device 600 provided in the embodiment of the present application, and includes a processor 601, a communication interface 602, and a memory 603, where the processor 601, the communication interface 602, and the memory 603 are connected to each other through a bus 604, and the bus 604 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus 604 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 6, but this is not intended to represent only one bus or type of bus. Wherein the memory 603 is used for storing a computer program comprising program instructions, the processor 601 is configured for invoking the program instructions for performing the method of:
sending a display requirement to a server, wherein the display requirement is used for displaying a target engineering drawing;
receiving target coordinate point data sent by the server;
and rendering the target coordinate point data and displaying the target engineering drawing.
In a possible embodiment, in the aspect of receiving the target coordinate point data sent by the server, the instructions in the program are specifically configured to:
decompressing the target coordinate point data through a stream-type storage decompression rule to obtain N vertex coordinates, wherein N is a positive integer.
In a possible embodiment, in the aspect of rendering the target coordinate point data and displaying the target engineering drawing, the instructions in the program are specifically configured to:
and calling a web graphic library interface to render the N vertex coordinates, and displaying the target engineering drawing.
In the case of dividing each function module according to each function, an engineering drawing display device in the embodiment of the present application is described in detail below with reference to fig. 7, where fig. 7 is a block diagram of functional units of an engineering drawing display device 700 provided in the embodiment of the present application, and is applied to a server, where the device includes:
a parameter obtaining unit 710, configured to obtain definition parameter data of a graph in a target engineering drawing;
a coordinate generating unit 720 for generating coordinate point data from the definition parameter data;
the target processing unit 730 is configured to perform a first preset process on the coordinate point data to obtain target coordinate point data;
a data sending unit 740, configured to send the target coordinate point data to the user equipment according to a display requirement of the user equipment, where the target coordinate point data is used to enable the user equipment to display the target engineering drawing by rendering the target coordinate point data.
All relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
In the case of dividing each function module according to each function, another engineering drawing display device in the embodiment of the present application is described in detail below with reference to fig. 8, where fig. 8 is a block diagram of functional units of an engineering drawing display device 800 provided in the embodiment of the present application, and is applied to a user equipment, where the device includes:
a requirement sending unit 810, configured to send a display requirement to a server, where the display requirement is used to display a target engineering drawing;
a data receiving unit 820, configured to receive the target coordinate point data sent by the server;
and a drawing rendering unit 830, configured to render the target coordinate point data and display the target engineering drawing.
Embodiments of the present application also provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, the computer program enabling a computer to perform part or all of the steps of any one of the methods as described in the above method embodiments, and the computer includes a fish school detection device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, said computer comprising fish shoal detection means.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, 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 of some interfaces, devices or units, and may be an electric 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 application 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 unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. The engineering drawing display method is applied to a server, and comprises the following steps:
acquiring definition parameter data of a graph in a target engineering drawing;
generating coordinate point data according to the definition parameter data;
executing first preset processing on the coordinate point data to obtain target coordinate point data;
and sending the target coordinate point data to the user equipment according to the display requirement of the user equipment, wherein the target coordinate point data is used for enabling the user equipment to display the target engineering drawing by rendering the target coordinate point data.
2. The method of claim 1, wherein the coordinate point data comprises vertex coordinates; generating coordinate point data from the definition parameter data includes:
and generating N vertex coordinates according to the definition parameter data, wherein the N vertex coordinates are used for representing graphs in the target engineering drawing, and N is a positive integer.
3. The method according to claim 2, wherein said performing a first preset process on the coordinate point data to obtain target coordinate point data comprises:
combining the N vertex coordinates into a target object to obtain target object data;
assembling the target object data in a vertex cache object format to obtain target cache data;
and compressing and storing the target cache data through stream storage to obtain the target coordinate point data.
4. An engineering drawing display method is applied to user equipment, and comprises the following steps:
sending a display requirement to a server, wherein the display requirement is used for displaying a target engineering drawing;
receiving target coordinate point data sent by the server;
and rendering the target coordinate point data and displaying the target engineering drawing.
5. The method of claim 4, wherein receiving the target coordinate point data sent by the server comprises:
decompressing the target coordinate point data through a stream-type storage decompression rule to obtain N vertex coordinates, wherein N is a positive integer.
6. The method of claim 5, wherein the rendering the target coordinate point data, displaying the target engineering drawing, comprises:
and calling a web graphic library interface to render the N vertex coordinates, and displaying the target engineering drawing.
7. The engineering drawing display device is applied to a server and comprises:
the parameter acquisition unit is used for acquiring the definition parameter data of the graph in the target engineering drawing;
a coordinate generating unit for generating coordinate point data from the definition parameter data;
the target processing unit is used for executing first preset processing on the coordinate point data to obtain target coordinate point data;
and the data sending unit is used for sending the target coordinate point data to the user equipment according to the display requirement of the user equipment, and the target coordinate point data is used for enabling the user equipment to display the target engineering drawing by rendering the target coordinate point data.
8. An engineering drawing display device is applied to user equipment, and the device comprises:
the system comprises a demand sending unit, a display unit and a processing unit, wherein the demand sending unit is used for sending a display demand to a server, and the display demand is used for displaying a target engineering drawing;
the data receiving unit is used for receiving the target coordinate point data sent by the server;
and the drawing rendering unit is used for rendering the target coordinate point data and displaying the target engineering drawing.
9. A server comprising a processor, a memory, and one or more programs stored in the memory and configured for execution by the application processor, the programs including instructions for performing the steps in the method of any of claims 1-3.
10. A user device comprising a processor, a memory, and one or more programs stored in the memory and configured for execution by the application processor, the programs comprising instructions for performing the steps of the method of any of claims 4-6.
CN202011230230.9A 2020-11-06 2020-11-06 Engineering drawing display method and related device Pending CN112416489A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011230230.9A CN112416489A (en) 2020-11-06 2020-11-06 Engineering drawing display method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011230230.9A CN112416489A (en) 2020-11-06 2020-11-06 Engineering drawing display method and related device

Publications (1)

Publication Number Publication Date
CN112416489A true CN112416489A (en) 2021-02-26

Family

ID=74781665

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011230230.9A Pending CN112416489A (en) 2020-11-06 2020-11-06 Engineering drawing display method and related device

Country Status (1)

Country Link
CN (1) CN112416489A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113205580A (en) * 2021-05-10 2021-08-03 万翼科技有限公司 Primitive rendering method, device and equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6362825B1 (en) * 1999-01-19 2002-03-26 Hewlett-Packard Company Real-time combination of adjacent identical primitive data sets in a graphics call sequence
US20150332481A1 (en) * 2014-05-15 2015-11-19 Google Inc. Indexed uniform styles for stroke rendering
US20160307294A1 (en) * 2013-07-09 2016-10-20 Google Inc. Systems and Methods for Displaying Patterns of Recurring Graphics on Digital Maps
US20180005427A1 (en) * 2014-10-24 2018-01-04 Thomson Licensing Devices and methods for generating elementary geometries
US20180174349A1 (en) * 2014-06-30 2018-06-21 Intel Corporation Adaptive partition mechanism with arbitrary tile shape for tile based rendering gpu architecture
CN108256188A (en) * 2018-01-05 2018-07-06 广州杰赛科技股份有限公司 Communication line drawing generating method and system, terminal device, storage medium
CN109636887A (en) * 2018-11-29 2019-04-16 北京宇航系统工程研究所 A kind of conversion of Two-dimensional electron technical drawing format and vector quantization interactive system
CN110609677A (en) * 2018-06-15 2019-12-24 搜游网络科技(北京)有限公司 WebGL-based graph drawing method, device and system
CN111508041A (en) * 2019-01-31 2020-08-07 上海欧菲智能车联科技有限公司 HMI character compression and rendering method and device and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6362825B1 (en) * 1999-01-19 2002-03-26 Hewlett-Packard Company Real-time combination of adjacent identical primitive data sets in a graphics call sequence
US20160307294A1 (en) * 2013-07-09 2016-10-20 Google Inc. Systems and Methods for Displaying Patterns of Recurring Graphics on Digital Maps
US20150332481A1 (en) * 2014-05-15 2015-11-19 Google Inc. Indexed uniform styles for stroke rendering
US20180174349A1 (en) * 2014-06-30 2018-06-21 Intel Corporation Adaptive partition mechanism with arbitrary tile shape for tile based rendering gpu architecture
US20180005427A1 (en) * 2014-10-24 2018-01-04 Thomson Licensing Devices and methods for generating elementary geometries
CN108256188A (en) * 2018-01-05 2018-07-06 广州杰赛科技股份有限公司 Communication line drawing generating method and system, terminal device, storage medium
CN110609677A (en) * 2018-06-15 2019-12-24 搜游网络科技(北京)有限公司 WebGL-based graph drawing method, device and system
CN109636887A (en) * 2018-11-29 2019-04-16 北京宇航系统工程研究所 A kind of conversion of Two-dimensional electron technical drawing format and vector quantization interactive system
CN111508041A (en) * 2019-01-31 2020-08-07 上海欧菲智能车联科技有限公司 HMI character compression and rendering method and device and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113205580A (en) * 2021-05-10 2021-08-03 万翼科技有限公司 Primitive rendering method, device and equipment and storage medium

Similar Documents

Publication Publication Date Title
RU2677584C1 (en) Exploiting frame to frame coherency in architecture of image construction with primitives sorting at intermediate stage
CN110211218B (en) Picture rendering method and device, storage medium and electronic device
CN112529995B (en) Image rendering calculation method and device, storage medium and terminal
US8988434B1 (en) Text rendering for browsers and mobile based applications
CN112489183A (en) Unity 3D-based skeletal animation rendering method and system
WO2023197762A1 (en) Image rendering method and apparatus, electronic device, computer-readable storage medium, and computer program product
EP4290464A1 (en) Image rendering method and apparatus, and electronic device and storage medium
RU2680355C1 (en) Method and system of removing invisible surfaces of a three-dimensional scene
CN111798553A (en) WebGL-based three-dimensional model rendering method, system and related device
CN112711729A (en) Rendering method and device based on page animation, electronic equipment and storage medium
CN112316433A (en) Game picture rendering method, device, server and storage medium
CN113470092B (en) Terrain rendering method and device, electronic equipment and storage medium
CN112614210B (en) Engineering drawing display method, system and related device
CN111798361A (en) Rendering method, rendering device, electronic equipment and computer-readable storage medium
CN112416489A (en) Engineering drawing display method and related device
CN114356868A (en) Three-dimensional model file processing method and related equipment thereof
CN111476858B (en) WebGL-based 2d engine rendering method, device and equipment
CN113032698A (en) 3D image display method and device, computer equipment and readable storage medium
CN111950057A (en) Loading method and device of Building Information Model (BIM)
CN114491352A (en) Model loading method and device, electronic equipment and computer readable storage medium
CN115861510A (en) Object rendering method, device, electronic equipment, storage medium and program product
CN115880416A (en) Three-dimensional model display method and device, server and storage medium
CN113835890A (en) Rendering data processing method, device, equipment and storage medium
CN114904274A (en) Picture rendering method and device of cloud game, electronic equipment and storage medium
CN110223367A (en) Cartoon display method, device, terminal 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20230705

Address after: A601, Zhongke Naneng Building, No. 06 Yuexing 6th Road, Gaoxin District Community, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province, 518051

Applicant after: Shenzhen Wanyi Digital Technology Co.,Ltd.

Address before: 519000 room 105-24914, No.6 Baohua Road, Hengqin New District, Zhuhai City, Guangdong Province (centralized office area)

Applicant before: WANYI TECHNOLOGY Co.,Ltd.