CN116150100A - Data processing method, device, system and computer equipment - Google Patents

Data processing method, device, system and computer equipment Download PDF

Info

Publication number
CN116150100A
CN116150100A CN202211692470.XA CN202211692470A CN116150100A CN 116150100 A CN116150100 A CN 116150100A CN 202211692470 A CN202211692470 A CN 202211692470A CN 116150100 A CN116150100 A CN 116150100A
Authority
CN
China
Prior art keywords
target
file
slice file
slice
rendering
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
CN202211692470.XA
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 Power Supply Bureau Co Ltd
Original Assignee
Shenzhen Power Supply Bureau 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 Shenzhen Power Supply Bureau Co Ltd filed Critical Shenzhen Power Supply Bureau Co Ltd
Priority to CN202211692470.XA priority Critical patent/CN116150100A/en
Publication of CN116150100A publication Critical patent/CN116150100A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/156Query results presentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/174Redundancy elimination performed by the file system
    • G06F16/1744Redundancy elimination performed by the file system using compression, e.g. sparse files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Human Computer Interaction (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Library & Information Science (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Image Generation (AREA)

Abstract

The application relates to a data processing method, a data processing device, a data processing system and computer equipment. The method comprises the following steps: receiving a target slice file sent by a server, wherein the target slice file is obtained by slicing a power grid BIM model file by the server; decompressing the target slice file to obtain a target decompressed slice file; and rendering the target decompression slice file to obtain a target rendering slice file, wherein the target rendering slice file is used for jointly displaying other rendering slice files corresponding to the power grid BIM model file so as to display a power grid BIM model corresponding to the power grid BIM model file. The method can improve the model display efficiency of the power grid BIM model.

Description

Data processing method, device, system and computer equipment
Technical Field
The present disclosure relates to the field of power grid technologies, and in particular, to a data processing method, apparatus, system, and computer device.
Background
BIM (Building Information Modeling, building information model) is a multidimensional building model information integrated management technology developed on the basis of computer aided design and other technologies, and is used in the traditional building field of architecture, engineering and the like. Along with the continuous expansion of the construction scale of the domestic power grid, BIM technology has also advanced well in the aspect of power grid application.
At present, a complete electric network BIM model is often composed of a great number of module components, and the size of the electric network BIM model can reach several G, tens of G or even tens of G, so that in the subsequent model use process, for example, when project feasibility research is carried out, the electric network BIM model needs to be opened for analysis and comparison of drawings, and huge electric network BIM model can cause low model display efficiency.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a data processing method, apparatus, system, and computer device that can improve model display efficiency.
In a first aspect, the present application provides a data processing method. The method comprises the following steps:
receiving a target slice file sent by a server, wherein the target slice file is obtained by slicing a power grid BIM model file by the server; decompressing the target slice file to obtain a target decompressed slice file; rendering the target decompression slice file to obtain a target rendering slice file, wherein the target rendering slice file is used for jointly displaying other rendering slice files corresponding to the power grid BIM model file so as to display a power grid BIM model corresponding to the power grid BIM model file.
In one embodiment, the decompressing process is performed on the target slice file to obtain the target decompressed slice file, including: and obtaining a decompression priority sequence corresponding to the target slice file, and performing decompression processing on the target slice file according to the decompression priority sequence to obtain the target decompressed slice file.
In one embodiment, rendering the target decompressed slice file to obtain a target rendered slice file includes: the target decompression slice file is sent to the server, and is used for rendering the target decompression slice file by the server according to a preset rendering rule to obtain target rendering
Slice files, and presetting rendering rules to be related to the distance of scenes corresponding to the slice files; the target rendering slice file sent by the server 5 is received.
In one embodiment, the method further comprises: performing scene restoration processing on each rendering slice file to obtain a power grid BIM model file, wherein each rendering slice file comprises a target rendering slice file; and displaying the power grid BIM model file.
In a second aspect, the present application provides a data processing method. The method comprises the following steps: acquiring a power grid BIM0 model file, and slicing the power grid BIM model file to obtain each slice file; each slice file is respectively used as a target slice file to be sent to a target terminal; the target slice file is used for the target terminal to decompress the target slice file to obtain a target decompressed slice file, and render the target decompressed slice file to obtain a target rendering slice file, wherein the target rendering slice file is used for the target terminal
And carrying out joint exhibition 5 on the target rendering slice file and other rendering slice files corresponding to the power grid BIM model file so as to exhibit a power grid BIM model corresponding to the power grid BIM model file.
In one embodiment, the method further comprises: receiving a target decompression slice file sent by a target terminal; performing rendering treatment on the target decompressed slice files according to preset rendering rules to obtain target rendering slice files, wherein the preset rendering rules are related to the distance of scenes corresponding to the slice files; and sending the target rendering slice file to the target terminal.
0 in a third aspect, the present application further provides a data processing apparatus. The device comprises:
the receiving module is used for receiving a target slice file sent by the server, wherein the target slice file is obtained by slicing the power grid BIM model file by the server.
And the decompression module is used for performing decompression processing on the target slice file to obtain the target decompressed slice file.
The rendering module is used for rendering the target decompression slice file to obtain a target rendering slice file 5, and the target rendering slice file is used for jointly displaying other rendering slice files corresponding to the power grid BIM model file so as to display a power grid BIM model corresponding to the power grid BIM model file.
In a fourth aspect, the present application further provides a data processing apparatus. The device comprises:
the processing module is used for acquiring the power grid BIM model file, and slicing the power grid BIM model file to obtain each slice file.
And the sending module is used for respectively sending each slice file to the target terminal as a target slice file.
The target slice file is used for the target terminal to decompress the target slice file to obtain a target decompressed slice file, render the target decompressed slice file to obtain a target rendered slice file, and the target rendered slice file is used for the target terminal to jointly display the target rendered slice file and other rendered slice files corresponding to the power grid BIM model file so as to display a power grid BIM model corresponding to the power grid BIM model file.
In a fifth aspect, the present application also provides a data processing system. The system comprises a target terminal and a server, wherein:
a target terminal for performing the steps of the method of any of the above first aspects;
a server for performing the steps of the method of any of the second aspects above.
In a sixth aspect, embodiments of the present application provide a computer device having a computer program stored thereon, which when executed by a processor, implements the steps of the method of any of the first or second aspects described above.
In a seventh aspect, embodiments of the present application provide a storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method of any of the first or second aspects described above.
In an eighth aspect, embodiments of the present application provide a program product having a computer program stored thereon, which when executed by a processor, implements the steps of the method of any of the first or second aspects described above.
The data processing method, the device, the system and the computer equipment are used for receiving the target slice file sent by the server, wherein the target slice file is obtained by slicing the BIM model file of the power grid by the server; then, performing decompression processing on the target slice file to obtain a target decompressed slice file, performing rendering processing on the target decompressed slice file to obtain a target rendered slice file, wherein the target rendered slice file is used for combined display of other rendered slice files corresponding to the power grid BIM model file so as to display a power grid BIM model corresponding to the power grid BIM model file, so that the embodiment of the application does not need to wait for the whole power grid BIM model file to be downloaded and then rendered, but receives part of the power grid BIM model files, namely, the rendering processing is started after the target slice file is received, so that the rendering efficiency is improved, and the aim of improving the model display efficiency of the power grid BIM model is fulfilled.
Drawings
FIG. 1 is a diagram of an application environment for a data processing method in one embodiment;
FIG. 2 is a flow chart of a data processing method of a target terminal in one embodiment;
FIG. 3 is a flow chart of a rendering processing method of a target terminal in one embodiment;
FIG. 4 is a flowchart of a data processing method of a target terminal according to another embodiment;
FIG. 5 is a flow chart of a data processing method of a server in one embodiment;
FIG. 6 is a flowchart of a data processing method of a server according to another embodiment;
FIG. 7 is a flow diagram of a method of data processing in one embodiment;
FIG. 8 is a flow chart of a data processing method according to another embodiment;
FIG. 9 is a block diagram showing a structure of a target terminal side data processing apparatus in one embodiment;
FIG. 10 is a block diagram of a server-side data processing apparatus in one embodiment;
FIG. 11 is an internal block diagram of a computer device as a server in one embodiment;
fig. 12 is an internal structural diagram of a computer device as a terminal in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
In order to better understand the data processing method provided by the embodiment of the present application, the technical scheme related to the embodiment of the present application is described below with reference to the scenario applied by the embodiment of the present application.
Fig. 1 is a schematic diagram of an implementation environment related to a data processing method according to an embodiment of the present application, and as shown in fig. 1, the implementation environment may include a target terminal 101 and a server 102, where communication between the target terminal 101 and the server 102 may be performed through a wired network or a wireless network. The terminal 101 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices, etc., and the specific target terminal is not limited herein. The server 102 may be implemented as a stand-alone server or as a server cluster of multiple servers.
In the implementation environment shown in fig. 1, the server 102 may obtain a power grid BIM model file, perform slicing processing on the power grid BIM model file to obtain each slice file, send each slice file to the target terminal 101 as a target slice file, the target terminal 101 may receive the target slice file sent by the server 102, obtain a decompression priority order corresponding to the target slice file, perform decompression processing on the target slice file according to the decompression priority order to obtain a target decompressed slice file, send the target decompressed slice file to the server 102, the server 102 may receive the target decompressed slice file sent by the target terminal, perform rendering processing on the target decompressed slice file according to a preset rendering rule to obtain a target rendered slice file, send the target rendered slice file to the target terminal 101, the target terminal 101 may receive the target rendered slice file, perform scene reduction processing on each rendered slice file including the target rendered slice file to obtain the power grid BIM model file, and finally display the power grid BIM model file.
In one embodiment of the present application, as shown in fig. 2, a method for processing data is provided, and the method is applied to the target terminal 101 in fig. 1 for illustration, and includes the following steps:
step 201, receiving a target slice file sent by a server.
The target slice file is obtained by slicing the power grid BIM model file by the server, and the size of the target slice file is convenient for network transmission and analysis.
In one possible implementation, the server performs slicing processing on the grid BIM model file, for example: slicing 8M-sized power grid BIM model files into 8 1M-sized power grid BIM model files, and sending the 8 1M-sized power grid BIM model files serving as target slice files to a target terminal, wherein the target terminal receives the target slice files sent by a server through network communication.
Optionally, the slicing mode of the target slice file may be determined by default, may be determined by a user, or may be determined randomly by a program, and the specific slicing mode is not limited herein.
In the embodiment of the application, in order to further increase the model processing speed, after the target terminal receives the target slice files sent by the server, preliminary rendering processing can be performed on the target slice files one by one.
And 202, decompressing the target slice file to obtain the target decompressed slice file.
Optionally, the mode of performing decompression processing on the target slice file may be sequentially decompressing according to the file transmission time, may be decompressing according to a preset decompression priority, or may be decompressing according to the size sequence of the file, and in this embodiment of the present application, may be decompressing according to the preset decompression priority.
And 203, performing rendering treatment on the target decompressed slice file to obtain a target rendered slice file.
The target terminal can send the target decompression slice file to the server through network communication, the server carries out cloud rendering processing on the target decompression slice file to obtain the target rendering slice file, the target rendering slice file is sent to the target terminal, the target terminal receives the target rendering slice file, in the process, the server mainly carries out rendering processing, and the target terminal synchronously decompresses and displays the model after rendering is completed, so that efficient transmission and rendering are achieved.
The target rendering slice file is used for carrying out joint display on other rendering slice files corresponding to the power grid BIM model file so as to display a power grid BIM model corresponding to the power grid BIM model file.
In the data processing method, the target slice file sent by the server is received, and the target slice file is obtained by slicing the power grid BIM model file by the server; then, performing decompression processing on the target slice file to obtain a target decompressed slice file, performing rendering processing on the target decompressed slice file to obtain a target rendered slice file, wherein the target rendered slice file is used for combined display of other rendered slice files corresponding to the power grid BIM model file so as to display a power grid BIM model corresponding to the power grid BIM model file, so that the embodiment of the application does not need to wait for the whole power grid BIM model file to be downloaded and then rendered, but receives part of the power grid BIM model files, namely, the rendering processing is started after the target slice file is received, so that the rendering efficiency is improved, and the aim of improving the model display efficiency of the power grid BIM model is fulfilled.
As described above, after receiving the target slice file sent by the server, the target terminal needs to decompress the target slice file, and in one embodiment of the present application, a method for decompressing is provided, where the method includes: and obtaining a decompression priority sequence corresponding to the target slice file, and performing decompression processing on the target slice file according to the decompression priority sequence to obtain the target decompressed slice file.
The decompression priority order can be different decompression priority orders set by an operator according to actual use conditions of different applications, or can be application decompression priority orders defaulted by a system so as to improve the efficiency of the different applications on file decompression.
Further, after obtaining the target decompressed slice file, the target terminal needs to render the target decompressed slice file, and in one embodiment of the present application, as shown in fig. 3, a rendering method is provided, which includes the following steps:
step 301, the target decompressed slice file is sent to a server.
The target decompression slice file is used for rendering the target decompression slice file by the server according to a preset rendering rule to obtain the target rendering slice file.
Optionally, the preset rendering rule may be related to a file size corresponding to each slice file, may be related to a distance of a corresponding scene, may be related to a density of corresponding content, and in this embodiment, may be related to a distance of a corresponding scene.
The near-far of the scene can be a model which is preferentially rendered at a near-far position, and then the model is sequentially rendered to the model at the near-far position, and the model at the near-far position is rich in rendering, so that the model at the far-far position is simple in rendering.
In addition, in the process of the server rendering, the video distance and LOD balance strategy can be adopted for rendering as required, so that the FPS can be effectively improved, the memory occupancy rate of the browser can be reduced, and the smoothness in the rendering operation is further ensured.
The LOD balancing strategy is to support that when the model is far away from the observer, or the importance degree, the position, the speed or the viewing angle related parameters of the model are different, the rendering complexity is reduced correspondingly.
Step 302, receiving a target rendering slice file sent by a server.
The target terminal receives the target rendering slice file sent by the server through network communication.
In this embodiment, the target terminal sends the target decompressed slice file to the server through network communication, the server renders the target decompressed slice file to obtain the target rendered slice file, and the target terminal receives the target rendered slice file returned by the server, so that the purpose of cloud rendering processing can be achieved, decompression of the target terminal and rendering of the server are synchronously performed, and rendering efficiency is improved.
In addition, in one embodiment of the present application, as shown in fig. 4, the target terminal provides another data processing method, which includes the following steps:
And 401, performing scene restoration processing on each rendering slice file to obtain a power grid BIM model file.
Each rendering slice file comprises a target rendering slice file and data files such as a spatial position, an inclination angle, a structural attribute, a structural material and the like of the model member.
The scene restoration process may restore the model components in the rendering slice files according to the rendering slice files, and refine the model components.
Optionally, the refinement process may include: firstly, the number of the top points of each model component is obtained, and the top points are screened and combined by combining the space coordinate information of each model component, for example: screening coincident vertexes or vertexes which are too close to each other in space, merging, determining triangular surfaces according to the number of the final vertexes, sequentially arranging model components from small to large according to the number of the triangular surfaces of the model components, and performing borderline adding operation according to preset requirements, for example: and taking the first 25% of the model components to carry out borderline operation, and not bordering the rest model components.
The refining process may further include: and identifying the characteristics of the model members through a preset program, screening out large-area structural bodies such as walls, plate beams and columns and the like, and carrying out borderline adding operation on the structural bodies.
The refining process may further include: displaying three-dimensional component information of the model component, and performing borderline operation on the model component higher than a preset pixel threshold, for example: model members above 4*4 pixels are bordered.
The refining process may further include: the operator presets an edge policy according to actual conditions, and executes edge adding operation according to the edge policy, wherein the edge policy comprises: the sum of the vertex numbers of all the model components is smaller than a preset minimum threshold value (for example, 10 ten thousand), and then the borderline operation is carried out on all the model components; the sum of the top points of all the model components is larger than a preset maximum threshold value (100 ten thousand for example), and no borderline operation is carried out on all the model components; and if the sum of the number of the top points of all the model components reaches a preset number of top point intervals (30 ten thousand to 50 ten thousand, for example), performing edge line adding operation on the model with the triangular surface number of the first 25 percent.
Step 402, a power grid BIM model file is displayed.
It can be understood that the target terminal finally displays the power grid BIM model file for the user so that the user can perform the next operation.
In one embodiment of the present application, as shown in fig. 5, a method for processing data is provided, and the method is applied to the server 102 in fig. 1 for illustration, and includes the following steps:
Step 501, acquiring a power grid BIM model file, and slicing the power grid BIM model file to obtain each slice file.
When the server performs slicing processing, the server further performs compression processing on each slice file, and firstly performs digital-to-analog separation on the sliced power grid BIM model file, and optionally, the slice file can be divided into: model files, map data files, other attribute data files and the like, and then compressing the classified files to finally obtain each slice file.
And step 502, respectively sending each slice file to the target terminal as a target slice file.
The target slice file is used for the target terminal to decompress the target slice file to obtain a target decompressed slice file, render the target decompressed slice file to obtain a target rendered slice file, and the target rendered slice file is used for the target terminal to jointly display the target rendered slice file and other rendered slice files corresponding to the power grid BIM model file so as to display a power grid BIM model corresponding to the power grid BIM model file.
In addition, in one embodiment of the present application, as shown in fig. 6, the server provides another method of data processing, the method comprising the steps of:
And step 601, receiving a target decompression slice file sent by a target terminal.
And the server receives the target decompressed slice file sent by the target terminal through network communication.
And 602, performing rendering treatment on the target decompressed slice file according to a preset rendering rule to obtain the target rendering slice file.
The preset rendering rules are related to the distance between the scenes corresponding to the slice files.
And 603, sending the target rendering slice file to a target terminal.
The server sends the target rendering slice file to the target terminal through network communication.
According to the embodiment, the purpose of cloud rendering is achieved, and the rendering efficiency is improved.
In one embodiment of the present application, as shown in fig. 7, another method of data processing is provided, the method comprising the steps of:
step 701, a server acquires a power grid BIM model file, and performs slicing processing on the power grid BIM model file to obtain each slice file.
Step 702, the server sends each slice file to the target terminal as a target slice file.
Step 703, the target terminal receives the target slice file sent by the server.
Step 704, the target terminal obtains the decompression priority sequence corresponding to the target slice file, and performs decompression processing on the target slice file according to the decompression priority sequence to obtain the target decompressed slice file.
Step 705, the target terminal sends the target decompressed slice file to the server.
And step 706, the server receives the target decompressed slice file sent by the target terminal.
And step 707, the server performs rendering processing on the target decompressed slice file according to a preset rendering rule to obtain the target rendering slice file.
Step 708, the server sends the target rendering slice file to the target terminal.
Step 709, the target terminal receives the target rendering slice file sent by the server.
And 710, the target terminal performs rendering processing on the target decompressed slice file to obtain a target rendering slice file.
And 711, the target terminal performs scene restoration processing on each rendering slice file to obtain a power grid BIM model file.
Each rendering slice file comprises a target rendering slice file.
And step 712, the target terminal displays the power grid BIM model file.
In addition, in an embodiment of the present application, as shown in fig. 8, a flow chart of another data processing method is provided, so that an exemplary description is made on the data processing method related to the embodiment of the present application, firstly, a server performs slicing processing on an obtained power grid BIM model file, then performs algorithm compression to separate digital modules, so as to obtain a final target slice file, the server transmits the target slice file to a target terminal through a network, the target terminal receives a download file, decompresses according to a priority order, then transmits the decompressed target decompression slice file to the server, the server receives the target decompression slice file, renders according to a scene distance principle, and then returns the rendered target rendering slice file to the target terminal, the target terminal receives the file, completes scene restoration, and finally displays the power grid BIM model.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, embodiments of the present application also provide a data processing apparatus for implementing the above-mentioned related data processing method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation of one or more embodiments of the data processing device provided below may refer to the limitation of the data processing method hereinabove, and will not be repeated herein.
In one embodiment of the present application, as shown in fig. 9, there is provided a data processing apparatus 900 on a target terminal side, including: a receiving module 901, a decompressing module 902, and a rendering module 903, wherein:
the receiving module 901 is configured to receive a target slice file sent by a server, where the target slice file is obtained by slicing a power grid BIM model file by the server.
The decompression module 902 is configured to decompress the target slice file to obtain the target decompressed slice file.
The rendering module 903 is configured to perform rendering processing on the target decompressed slice file to obtain a target rendered slice file, where the target rendered slice file is used to perform joint display with other rendered slice files corresponding to the power grid BIM model file, so as to display a power grid BIM model corresponding to the power grid BIM model file.
In one embodiment of the present application, as shown in fig. 10, there is provided a server-side data processing apparatus 1000 including: a processing module 1001 and a transmitting module 1002, wherein:
the processing module 1001 is configured to obtain a power grid BIM model file, and perform slicing processing on the power grid BIM model file to obtain each slice file.
And a sending module 1002, configured to send each slice file to the target terminal as a target slice file.
The target slice file is used for the target terminal to decompress the target slice file to obtain a target decompressed slice file, render the target decompressed slice file to obtain a target rendered slice file, and the target rendered slice file is used for the target terminal to jointly display the target rendered slice file and other rendered slice files corresponding to the power grid BIM model file so as to display a power grid BIM model corresponding to the power grid BIM model file.
Each of the modules in the above-described data processing apparatus may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, and the internal structure of which may be as shown in fig. 11. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is for storing data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a data processing method.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure thereof may be as shown in fig. 12. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a data processing method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structures shown in fig. 11 or 12 are merely block diagrams of portions of structures related to the aspects of the present application and are not intended to limit the computer devices to which the aspects of the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or may have different arrangements of components.
Based on the same inventive concept, the embodiments of the present application further provide a data processing system for implementing the above-mentioned related data processing method, where the system includes a target terminal and a server, and where:
a target terminal for executing the steps of the data processing method for a target terminal as referred to above.
A server for executing the steps of the data processing method for a server as referred to above.
In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of:
receiving a target slice file sent by a server, wherein the target slice file is obtained by slicing a power grid BIM model file by the server; decompressing the target slice file to obtain a target decompressed slice file; rendering the target decompression slice file to obtain a target rendering slice file, wherein the target rendering slice file is used for jointly displaying other rendering slice files corresponding to the power grid BIM model file so as to display a power grid BIM model corresponding to the power grid BIM model file.
In one embodiment, the processor, when executing the computer program, performs the steps of: and obtaining a decompression priority sequence corresponding to the target slice file, and performing decompression processing on the target slice file according to the decompression priority sequence to obtain the target decompressed slice file.
In one embodiment, the processor, when executing the computer program, performs the steps of: the method comprises the steps that a target decompression slice file is sent to a server, and is used for rendering the target decompression slice file by the server according to preset rendering rules, so that a target rendering slice file is obtained, and the preset rendering rules are related to the distance between scenes corresponding to the slice files; and receiving the target rendering slice file sent by the server.
In one embodiment, the processor, when executing the computer program, performs the steps of: performing scene restoration processing on each rendering slice file to obtain a power grid BIM model file, wherein each rendering slice file comprises a target rendering slice file; and displaying the power grid BIM model file.
In one embodiment, the processor, when executing the computer program, performs the steps of: acquiring a power grid BIM model file, and slicing the power grid BIM model file to obtain each slice file; each slice file is respectively used as a target slice file to be sent to a target terminal; the target slice file is used for the target terminal to decompress the target slice file to obtain a target decompressed slice file, render the target decompressed slice file to obtain a target rendered slice file, and the target rendered slice file is used for the target terminal to jointly display the target rendered slice file and other rendered slice files corresponding to the power grid BIM model file so as to display a power grid BIM model corresponding to the power grid BIM model file.
In one embodiment, the processor, when executing the computer program, performs the steps of: receiving a target decompression slice file sent by a target terminal; performing rendering treatment on the target decompressed slice files according to preset rendering rules to obtain target rendering slice files, wherein the preset rendering rules are related to the distance of scenes corresponding to the slice files; and sending the target rendering slice file to the target terminal.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
receiving a target slice file sent by a server, wherein the target slice file is obtained by slicing a power grid BIM model file by the server; decompressing the target slice file to obtain a target decompressed slice file; rendering the target decompression slice file to obtain a target rendering slice file, wherein the target rendering slice file is used for jointly displaying other rendering slice files corresponding to the power grid BIM model file so as to display a power grid BIM model corresponding to the power grid BIM model file.
In one embodiment, the computer program when executed by a processor performs the steps of: and obtaining a decompression priority sequence corresponding to the target slice file, and performing decompression processing on the target slice file according to the decompression priority sequence to obtain the target decompressed slice file.
In one embodiment, the computer program when executed by a processor performs the steps of: the method comprises the steps that a target decompression slice file is sent to a server, and is used for rendering the target decompression slice file by the server according to preset rendering rules, so that a target rendering slice file is obtained, and the preset rendering rules are related to the distance between scenes corresponding to the slice files; and receiving the target rendering slice file sent by the server.
In one embodiment, the computer program when executed by a processor performs the steps of: performing scene restoration processing on each rendering slice file to obtain a power grid BIM model file, wherein each rendering slice file comprises a target rendering slice file; and displaying the power grid BIM model file.
In one embodiment, the computer program when executed by a processor performs the steps of: acquiring a power grid BIM model file, and slicing the power grid BIM model file to obtain each slice file; each slice file is respectively used as a target slice file to be sent to a target terminal; the target slice file is used for the target terminal to decompress the target slice file to obtain a target decompressed slice file, render the target decompressed slice file to obtain a target rendered slice file, and the target rendered slice file is used for the target terminal to jointly display the target rendered slice file and other rendered slice files corresponding to the power grid BIM model file so as to display a power grid BIM model corresponding to the power grid BIM model file.
In one embodiment, the computer program when executed by a processor performs the steps of: receiving a target decompression slice file sent by a target terminal; performing rendering treatment on the target decompressed slice files according to preset rendering rules to obtain target rendering slice files, wherein the preset rendering rules are related to the distance of scenes corresponding to the slice files; and sending the target rendering slice file to the target terminal.
In one embodiment, a computer program product is provided comprising a computer program which, when executed by a processor, performs the steps of:
receiving a target slice file sent by a server, wherein the target slice file is obtained by slicing a power grid BIM model file by the server; decompressing the target slice file to obtain a target decompressed slice file; rendering the target decompression slice file to obtain a target rendering slice file, wherein the target rendering slice file is used for jointly displaying other rendering slice files corresponding to the power grid BIM model file so as to display a power grid BIM model corresponding to the power grid BIM model file.
In one embodiment, the computer program when executed by a processor performs the steps of: and obtaining a decompression priority sequence corresponding to the target slice file, and performing decompression processing on the target slice file according to the decompression priority sequence to obtain the target decompressed slice file.
In one embodiment, the computer program when executed by a processor performs the steps of: the method comprises the steps that a target decompression slice file is sent to a server, and is used for rendering the target decompression slice file by the server according to preset rendering rules, so that a target rendering slice file is obtained, and the preset rendering rules are related to the distance between scenes corresponding to the slice files; and receiving the target rendering slice file sent by the server.
In one embodiment, the computer program when executed by a processor performs the steps of: performing scene restoration processing on each rendering slice file to obtain a power grid BIM model file, wherein each rendering slice file comprises a target rendering slice file; and displaying the power grid BIM model file.
In one embodiment, the computer program when executed by a processor performs the steps of: acquiring a power grid BIM model file, and slicing the power grid BIM model file to obtain each slice file; each slice file is respectively used as a target slice file to be sent to a target terminal; the target slice file is used for the target terminal to decompress the target slice file to obtain a target decompressed slice file, render the target decompressed slice file to obtain a target rendered slice file, and the target rendered slice file is used for the target terminal to jointly display the target rendered slice file and other rendered slice files corresponding to the power grid BIM model file so as to display a power grid BIM model corresponding to the power grid BIM model file.
In one embodiment, the computer program when executed by a processor performs the steps of: receiving a target decompression slice file sent by a target terminal; performing rendering treatment on the target decompressed slice files according to preset rendering rules to obtain target rendering slice files, wherein the preset rendering rules are related to the distance of scenes corresponding to the slice files; and sending the target rendering slice file to the target terminal.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the various embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the various embodiments provided herein may include at least one of relational databases and non-relational databases. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic units, quantum computing-based data processing logic units, etc., without being limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.

Claims (10)

1. A method of data processing, the method comprising:
receiving a target slice file sent by a server, wherein the target slice file is obtained by slicing a power grid BIM model file by the server;
decompressing the target slice file to obtain a target decompressed slice file;
and rendering the target decompression slice file to obtain a target rendering slice file, wherein the target rendering slice file is used for jointly displaying other rendering slice files corresponding to the power grid BIM model file so as to display a power grid BIM model corresponding to the power grid BIM model file.
2. The method of claim 1, wherein decompressing the target slice file to obtain a target decompressed slice file comprises:
and acquiring a decompression priority sequence corresponding to the target slice file, and performing decompression processing on the target slice file according to the decompression priority sequence to obtain the target decompression slice file.
3. The method of claim 1, wherein rendering the target decompressed slice file to obtain a target rendered slice file comprises:
the target decompression slice file is sent to the server, and is used for the server to render the target decompression slice file according to a preset rendering rule, so that the target rendering slice file is obtained, and the preset rendering rule is related to the distance of scenes corresponding to the slice files;
and receiving the target rendering slice file sent by the server.
4. The method according to claim 1, wherein the method further comprises:
performing scene restoration processing on each rendering slice file to obtain the power grid BIM model file, wherein each rendering slice file comprises the target rendering slice file;
And displaying the power grid BIM model file.
5. A method of data processing, the method comprising:
acquiring a power grid BIM model file, and slicing the power grid BIM model file to obtain each slice file;
each slice file is respectively used as a target slice file to be sent to a target terminal;
the target slice file is used for the target terminal to decompress the target slice file to obtain a target decompressed slice file, and render the target decompressed slice file to obtain a target rendering slice file, and the target rendering slice file is used for the target terminal to jointly display the target rendering slice file and other rendering slice files corresponding to the power grid BIM model file so as to display a power grid BIM model corresponding to the power grid BIM model file.
6. The method of claim 5, wherein the method further comprises:
receiving the target decompression slice file sent by the target terminal;
performing rendering treatment on the target decompressed slice file according to a preset rendering rule to obtain the target rendered slice file, wherein the preset rendering rule is related to the distance between scenes corresponding to the slice files;
And sending the target rendering slice file to the target terminal.
7. A data processing apparatus, the apparatus comprising:
the receiving module is used for receiving a target slice file sent by a server, wherein the target slice file is obtained by slicing a power grid BIM model file by the server;
the decompression module is used for performing decompression processing on the target slice file to obtain a target decompressed slice file;
the rendering module is used for rendering the target decompression slice file to obtain a target rendering slice file, and the target rendering slice file is used for jointly displaying other rendering slice files corresponding to the power grid BIM model file so as to display a power grid BIM model corresponding to the power grid BIM model file.
8. A data processing apparatus, the apparatus comprising:
the processing module is used for acquiring a power grid BIM model file, and slicing the power grid BIM model file to obtain each slice file;
the sending module is used for respectively sending each slice file to the target terminal as a target slice file;
the target slice file is used for the target terminal to decompress the target slice file to obtain a target decompressed slice file, and render the target decompressed slice file to obtain a target rendering slice file, and the target rendering slice file is used for the target terminal to jointly display the target rendering slice file and other rendering slice files corresponding to the power grid BIM model file so as to display a power grid BIM model corresponding to the power grid BIM model file.
9. A data processing system, the system comprising a target terminal and a server, wherein:
the target terminal being adapted to perform the steps of the method according to any of claims 1-4;
the server being adapted to perform the steps of the method according to any of claims 5-6.
10. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 6 when the computer program is executed.
CN202211692470.XA 2022-12-28 2022-12-28 Data processing method, device, system and computer equipment Pending CN116150100A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211692470.XA CN116150100A (en) 2022-12-28 2022-12-28 Data processing method, device, system and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211692470.XA CN116150100A (en) 2022-12-28 2022-12-28 Data processing method, device, system and computer equipment

Publications (1)

Publication Number Publication Date
CN116150100A true CN116150100A (en) 2023-05-23

Family

ID=86351818

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211692470.XA Pending CN116150100A (en) 2022-12-28 2022-12-28 Data processing method, device, system and computer equipment

Country Status (1)

Country Link
CN (1) CN116150100A (en)

Similar Documents

Publication Publication Date Title
CN111862292B (en) Data rendering method and device for transmission line corridor and computer equipment
CN106575158B (en) Environment mapping virtualization mechanism
CN110990516A (en) Map data processing method and device and server
EP2678848A1 (en) Methods and systems for browsing heterogeneous map data
US20170228894A1 (en) System, method and computer program product for automatic optimization of 3d textured models for network transfer and real-time rendering
CN114546206B (en) Special-shaped screen display method and device, computer equipment and storage medium
US12008227B2 (en) Performant configuration user interface
Guo et al. A spatially adaptive decomposition approach for parallel vector data visualization of polylines and polygons
CN115344183A (en) Page sliding method, live broadcast page sliding method, device, equipment and medium
CN113470092B (en) Terrain rendering method and device, electronic equipment and storage medium
CN112843700B (en) Terrain image generation method and device, computer equipment and storage medium
CN109615668B (en) Component-based digital image synchronization
US20220189069A1 (en) Content-adaptive tiling solution via image similarity for efficient image compression
CN116150100A (en) Data processing method, device, system and computer equipment
CN115858659A (en) Vector track display method and device, computer equipment and storage medium
CN116051345A (en) Image data processing method, device, computer equipment and readable storage medium
CN114820988A (en) Three-dimensional modeling method, device, equipment and storage medium
JP2014099848A (en) Image division system and image division method
CN114969409A (en) Image display method and device and readable medium
US10713795B2 (en) Method and electronic device for generating an index of segments of polygons
CN117744186B (en) CAD rasterization method, CAD rasterization device, computer equipment and storage medium
CN116029026A (en) Model file processing method, device, equipment, storage medium and program product
CN116883575B (en) Building group rendering method, device, computer equipment and storage medium
CN116883563B (en) Method, device, computer equipment and storage medium for rendering annotation points
US20240212282A1 (en) Image rendering method and apparatus, device, and 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