CN117171395A - Data processing method, device, equipment, storage medium and product - Google Patents

Data processing method, device, equipment, storage medium and product Download PDF

Info

Publication number
CN117171395A
CN117171395A CN202310996487.2A CN202310996487A CN117171395A CN 117171395 A CN117171395 A CN 117171395A CN 202310996487 A CN202310996487 A CN 202310996487A CN 117171395 A CN117171395 A CN 117171395A
Authority
CN
China
Prior art keywords
data
target
mechanism object
information
preset map
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
CN202310996487.2A
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.)
China Construction Bank Corp
CCB Finetech Co Ltd
Original Assignee
China Construction Bank Corp
CCB Finetech 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 China Construction Bank Corp, CCB Finetech Co Ltd filed Critical China Construction Bank Corp
Priority to CN202310996487.2A priority Critical patent/CN117171395A/en
Publication of CN117171395A publication Critical patent/CN117171395A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a data processing method, a device, equipment, a storage medium and a product. The invention relates to the technical field of computers. The method comprises the following steps: the method comprises the steps that a server side obtains service data of mechanism objects in a target relation graph, space data corresponding to the target relation graph is obtained through a preset map service, the space data comprise coordinate information and layer style information of the mechanism objects and connecting line information among the mechanism objects, the service data and the space data are combined to obtain the relation graph data, the relation graph data are sent to a preset map engine in a service page of a client side, and the preset map engine is indicated to conduct visual rendering on the target relation graph in the service page by means of the relation graph data. By adopting the technical scheme, the rendering display of the mechanism relation diagram can be realized by using the map service related technology, and the flexibility of the mechanism relation diagram in rendering display is enhanced.

Description

Data processing method, device, equipment, storage medium and product
Technical Field
Embodiments of the present invention relate to the field of computer technologies, and in particular, to a data processing method, apparatus, device, storage medium, and product.
Background
At present, as the enterprise scale is continuously enlarged and the business is continuously complicated, the association relationship (such as the equity relationship) among the institutions is more and more complicated. The traditional mechanism relation diagram only comprises characters and linear structures, solidification storage is carried out in a database or a file system, and flexibility is poor when the mechanism relation diagram is rendered and displayed in a page.
Disclosure of Invention
The embodiment of the invention provides a data processing method, a device, equipment, a storage medium and a product, which can solve the problem of poor flexibility when a mechanism relation diagram is rendered and displayed.
In a first aspect, an embodiment of the present invention provides a data processing method, which is applied to a server, and includes:
acquiring business data of mechanism objects in a target relationship graph, wherein the target relationship graph is a tree graph, the tree graph is used for representing association relations of preset dimensions among a plurality of mechanism objects, and the mechanism objects correspond to nodes in the tree graph;
acquiring space data corresponding to the target relation graph through a preset map service, wherein the space data comprises coordinate information and layer style information of the mechanism objects and connecting line information among the mechanism objects;
Combining the service data and the space data to obtain relationship diagram data;
and sending the relation diagram data to a preset map engine in a business page of the client so as to instruct the preset map engine to carry out visual rendering on the target relation diagram in the business page by utilizing the relation diagram data.
In a second aspect, an embodiment of the present invention further provides a data processing apparatus configured at a server, including:
the business data acquisition module is used for acquiring business data of the mechanism objects in a target relation graph, wherein the target relation graph is a tree graph, the tree graph is used for representing association relations of preset dimensions among a plurality of mechanism objects, and the mechanism objects correspond to nodes in the tree graph;
the space data acquisition module is used for acquiring space data corresponding to the target relation graph through a preset map service, wherein the space data comprises coordinate information and layer style information of the mechanism objects and connecting line information among the mechanism objects;
the data combination module is used for carrying out combination processing on the service data and the space data to obtain relationship diagram data;
The data sending module is used for sending the relation diagram data to a preset map engine in a business page of the client so as to instruct the preset map engine to carry out visual rendering on the target relation diagram in the business page by utilizing the relation diagram data.
In a third aspect, an embodiment of the present invention further provides a data processing apparatus, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the data processing method according to any one of the embodiments of the present invention when the processor executes the program.
In a fourth aspect, embodiments of the present invention further provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a data processing method according to any of the embodiments of the present invention.
In a fifth aspect, embodiments of the present invention also provide a computer program product comprising a computer program which, when executed by a processor, implements a data processing method according to any of the embodiments of the present invention.
According to the data processing scheme provided by the embodiment of the invention, a server acquires service data of mechanism objects in a target relationship graph, wherein the target relationship graph is a tree graph, represents association relations of preset dimensions among a plurality of mechanism objects, acquires space data corresponding to the target relationship graph through a preset map service, and comprises coordinate information and layer style information of the mechanism objects and connecting line information among the mechanism objects. By adopting the technical scheme, the rendering and displaying of the mechanism relation diagram can be realized by using the map service related technology, the service data and the space data are stored separately, are respectively acquired and combined when the rendering is needed, and are visually rendered by using the combined data by the map engine, so that the flexibility of the mechanism relation diagram in rendering and displaying is enhanced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a data processing method according to an embodiment of the present invention;
FIG. 2 is a diagram of a relationship diagram in the related art;
FIG. 3 is a schematic representation of a relationship provided by an embodiment of the present invention;
FIG. 4 is a diagram illustrating a relationship after performing an enlargement operation in accordance with one of the related art;
FIG. 5 is a schematic diagram of a relationship after performing an amplifying operation according to an embodiment of the present invention;
FIG. 6 is a diagram illustrating a relationship after performing a hover operation provided by an embodiment of the present invention;
FIG. 7 is a flowchart of another data processing method according to an embodiment of the present invention;
FIG. 8 is a flowchart of another data processing method according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of a data processing apparatus according to an embodiment of the present invention;
Fig. 10 is a schematic diagram of a data processing apparatus implementing a data processing method of an embodiment of the present application.
Detailed Description
The application is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present application are shown in the drawings.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance. The technical scheme of the application obtains, stores, uses, processes and the like the data, which all meet the relevant regulations of national laws and regulations.
Fig. 1 is a flowchart of a data processing method provided in an embodiment of the present application, where the embodiment of the present disclosure is applicable to a situation where a relationship diagram of an organization object is rendered and displayed, the method may be performed by a data processing apparatus, where the apparatus may be implemented in a form of software and/or hardware, and optionally, implemented by a data processing device, where the data processing device is configured as a server, and may specifically be a device such as a server. The Server may be an application Server (AP Server).
Step 101, obtaining service data of mechanism objects in a target relation graph, wherein the target relation graph is a tree graph, the tree graph is used for representing association relations of preset dimensions among a plurality of mechanism objects, and the mechanism objects correspond to nodes in the tree graph.
The association relationship of the preset dimension includes, for example, a share right relationship or an organization upper-lower relationship, and the corresponding target relationship graph may include, for example, a share right relationship graph or an organization structure graph. The organization object may include an enterprise, company, or organization, etc. The target relation graph is a tree graph, namely, a tree structure is adopted to represent the association relation of preset dimensionality among mechanism objects, and each mechanism object corresponds to one node in the tree graph, namely, the mechanism objects and the tree nodes are in one-to-one correspondence.
By way of example, the business data of the organization object may include an object identification (such as a name, code number, etc.) of the organization object, details of an association relationship (such as a share right relationship, for example, a share holding ratio, a share holding manner, a share holding time, etc.), or details of the organization object (such as an organization type, an industry to which the organization belongs, a credit code, a registration address, a hold time, an operation status, etc.). The service data can be stored in a service database, and the service end obtains the service data by accessing the service database.
Step 102, acquiring spatial data corresponding to the target relation diagram through a preset map service, wherein the spatial data comprises coordinate information and layer style information of the mechanism objects and connecting line information among the mechanism objects.
For example, after the service data is obtained, the spatial database may be queried through a preset map service in a multi-data source manner to obtain the spatial data.
In the embodiment of the invention, the rendering and displaying of the mechanism relation diagram are realized by adopting the map service related technology. For example, geographic information system (Geographic Information System, GIS) technology may be employed, GIS being geospatially based, and geographic model analysis methods being employed to provide various spatial and dynamic geographic information in real time. The preset map service can be, for example, J2EE implementation of GeoServer, geoServer which is an OpenGIS Web server specification, map data can be conveniently released by using a GeoServer, the user is allowed to update, delete and insert feature data, and space geographic information can be easily and rapidly shared among the users by using the GeoServer.
In the related art, the general steps of conventionally implementing an organization tree include: 1. designing a mechanism tree structure: defining attributes and relations of the mechanism nodes, and determining root nodes; 2. data source preparation: collecting organization data, including organization numbers, organization names, organization types and other information, and processing the organization data into a format suitable for code processing; 3. building a tree structure: constructing a tree diagram by adopting characters and a linear structure by using a recursive or iterative algorithm according to the mechanism data and the tree structure design; 4. storing the mechanism tree data: the mechanism tree diagram is stored in a database or a file system, so that the mechanism tree diagram is convenient to acquire in the subsequent rendering and displaying process. It can be seen that the conventional mechanism relation diagram only comprises text and linear structures, and is stored in a database or a file system in a solidifying way, so that the flexibility is poor when the mechanism relation diagram is rendered and displayed in a page. In addition, as the relationship between the mechanisms is more and more complex, the distribution of the mechanism tree nodes is very unbalanced, and the association relationship cannot be clearly and effectively presented. Fig. 2 is a schematic diagram of a relationship in the related art, and fig. 2 shows part of the content in the relationship, as shown in fig. 2, since there are many nodes under the mechanism 2, the nodes are arranged in a single horizontal arrangement, and it is difficult to view all child nodes in the current page.
In the embodiment of the invention, by utilizing the characteristic of GIS space topology, a tree diagram with more complex arrangement modes, such as horizontal and vertical mixed rows, can be drawn, so that the distribution of each node is more uniform. Fig. 3 is a schematic diagram of a relationship provided by the embodiment of the present invention, as shown in fig. 3, peer nodes of the mechanism 1 adopt a horizontal arrangement mode, peer nodes of the mechanism 2 adopt a horizontal arrangement mode, peer nodes of the mechanism 3 adopt a vertical arrangement mode, and connection lines between the nodes can adopt a multi-section broken line. Illustratively, a tree-shaped map file (e.g., shp file) may be drawn by GIS software (e.g., arcgis or supermap, etc.), and the tree-shaped map file may be imported as spatial data into a spatial database, and spatial data may be obtained from the spatial database by calling a related interface of a preset map service, for example, the tree-shaped map file may be obtained by a preset map tool, for example, geoTools, geoTools, which is an open source Java code library for operating and displaying a map, and a series of methods or functions for operating geographic spatial data conforming to specifications are provided. For example, a new data layer is created in the GIS software, a basic pattern or title is drawn, the basic pattern or title is used as a base map of a relation map (may include a pattern template of a single node, such as fonts, colors, thickening, etc.), elements such as points, lines, planes, etc. are drawn according to different levels of each mechanism to construct each unit (node), the nodes are processed in a horizontal row and a vertical row form, the attractive appearance is achieved, and finally the completed pattern (i.e., a tree map file) is saved in a spatial database.
And 103, carrying out combination processing on the service data and the space data to obtain relationship diagram data.
The processing and combining of the service data and the space data by using GeoTools may specifically be to establish a corresponding relationship between the service data and the space data of each organization object, so that the subsequent preset map engine fills the service data to the corresponding node according to the corresponding relationship and renders and displays the service data.
Step 104, the relation diagram data is sent to a preset map engine in a business page of the client to instruct the preset map engine to conduct visual rendering on the target relation diagram in the business page by utilizing the relation diagram data.
The preset map engine is introduced into the service page of the client presentation layer, and the preset map engine can be OpenLayers, openLayers, for example, a JavaScript library package specially provided for Web GIS client development, and is used for realizing map data access issued in a standard format. The OpenLayers can render the layers in div corresponding to the service page by calling the ajax interface, so that the visual rendering of the target relation graph is realized.
According to the data processing method provided by the embodiment of the invention, a server side acquires service data of mechanism objects in a target relationship graph, wherein the target relationship graph is a tree graph, represents association relations of preset dimensions among a plurality of mechanism objects, acquires space data corresponding to the target relationship graph through a preset map service, and comprises coordinate information and layer style information of the mechanism objects and connecting line information among the mechanism objects. By adopting the technical scheme, the rendering and displaying of the mechanism relation diagram can be realized by using the map service related technology, the service data and the space data are stored separately, are respectively acquired and combined when the rendering is needed, and are visually rendered by using the combined data by the map engine, so that the flexibility of the mechanism relation diagram in rendering and displaying is enhanced, and the data processing and decision making efficiency can be improved.
In some embodiments, the target relationship graph corresponds to a plurality of layers, different layers corresponding to different granularities of business data of the organization object; the obtaining the business data of the organization object in the target relation graph comprises the following steps: determining a target layer to be displayed of a target relation graph; and acquiring business data of the mechanism object corresponding to the target layer in the target relation diagram. Therefore, the target relation diagrams of different layers can be displayed according to actual display requirements, the different layers correspond to different business data detail degrees, the layering and multidimensional display of the relation diagrams are realized, and the readability and analysis efficiency of the data are improved.
For example, the target layer may be selected by the user, such as selecting a particular layer number; or selecting a business data detail level to be checked, and determining a corresponding target layer according to the business data detail level; or determining the corresponding target layer according to the zoom operation of the user, etc.
In some embodiments, the determining the target layer to be displayed of the target relationship graph includes: and receiving a target display request sent by a client, and determining a target layer to be displayed of a target relation diagram according to the target display request, wherein the target display request is determined according to preset operation input by a user based on the service page, and the preset operation comprises at least one of eagle eye operation, zoom-in operation and zoom-out operation. Therefore, the user can view the business data and the association relation of the mechanism in different layers through convenient operation.
Illustratively, the eagle eye operation may correspond to a layer of the most detailed business data, the zoom-in operation may view a layer of the more detailed business data, and the zoom-out operation may view a layer of the more rough business data.
In some embodiments, the service data with different granularities at least comprises service data with a first granularity and service data with a second granularity, wherein the service data with the first granularity comprises an object identifier of the organization object, the service data with the second granularity comprises full-scale information of the organization object, and the full-scale information comprises the object identifier, and the detailed information of the association relationship and/or the detailed information of the organization object. Therefore, the service data can be displayed more flexibly, and the user can conveniently compare, analyze, make a decision and the like.
By way of example, taking the stock right relationship as an example, multiple layers can be divided, and the granularity can be respectively from large to small: a mechanism name; the name of the mechanism and the share holding ratio; name of mechanism, proportion of holding strand and mode of holding strand; the name of the mechanism, the proportion of the holding strand, the mode of holding the strand and the type of the mechanism; the name of the organization, the proportion of the holding strands, the mode of holding strands, the type of the organization, the registration address and the establishment time; the establishment name, the share-holding proportion, the share-holding mode, the establishment type, the registration address, the establishment time, the operation condition and the like.
Fig. 4 is a schematic diagram of a relationship after performing an amplifying operation in the related art, and fig. 5 is a schematic diagram of a relationship after performing an amplifying operation according to an embodiment of the present invention. As can be seen from comparing fig. 2 and fig. 4, after the enlarging operation is performed, only the equal scale of the relationship graph is enlarged, for example, the node box of the mechanism object is enlarged, and the name and the word size of the mechanism object are enlarged; as can be seen from comparing fig. 3 and fig. 5, after the enlargement operation is performed, the service data displayed in the node box of the organization object is more detailed, and the display of the share holding ratio is further increased based on the organization name.
In some embodiments, after sending the relationship graph data to a preset map engine in a service page of a client to instruct the preset map engine to visually render the target relationship graph in the service page using the relationship graph data, the method further includes: receiving an information display request for a first mechanism object sent by a client, wherein the information display request is determined according to a hovering operation for the first mechanism object input by a user based on the service page; acquiring target total information of the first mechanism object according to the information display request; and sending the target total information to the preset map engine to instruct the preset map engine to display a target floating frame in an associated area of the first mechanism object in the service page by using the target total information, wherein the display content in the target floating frame comprises the target total information. Therefore, the user can more conveniently view the related information of the mechanism object.
In the related art, when more information of a certain mechanism object needs to be checked, a node in a tree diagram needs to be triggered in a clicking mode or the like, and then a detail page corresponding to the mechanism object is jumped. Fig. 6 is a schematic diagram of a relationship after performing a hover operation, where when a user performs a hover operation for an organization 3, as shown in fig. 6, a hover frame may be displayed on the right side (association area) of the organization 3 in a service page, and the full amount of information of the organization 3 may be displayed in the hover frame.
Alternatively, the association region may be determined by a preset map tool, and a blank region nearest to the first organization object is determined by a space analysis function of the preset map tool, and the nearest blank region is determined as the association region.
FIG. 7 is a flowchart of another data processing method according to an embodiment of the present invention, where the optimization is performed based on the above-mentioned alternative embodiments, and as shown in FIG. 7, the method may include:
step 701, obtaining business data of the organization object in the target relation diagram.
Step 702, obtaining spatial data corresponding to the target relation diagram through a preset map service.
And 703, carrying out combination processing on the service data and the space data to obtain the relationship diagram data.
Step 704, the relationship diagram data is sent to a preset map engine in a service page of the client, so as to instruct the preset map engine to perform visual rendering on the target relationship diagram in the service page by using the relationship diagram data.
Step 705, receiving a query request for the second organization object sent by the client, where the query request is determined according to a query operation for the second organization object input by the user based on the service page.
For example, after displaying the target relationship graph in the business page, if the user wants to query a certain mechanism object, a query operation for the mechanism object may be input based on the business page, for example, a name of the mechanism object is input.
Step 706, obtaining target service data corresponding to a target display range, where the target display range includes a second mechanism object and an association mechanism object of the second mechanism object, and the association mechanism object of the second mechanism object includes a mechanism object corresponding to a parent node and/or a child node corresponding to the second mechanism object.
Illustratively, as shown in FIG. 3, if the user wants to view organization 8, then the parent node of organization 8 comprises organization 2 and the child node of organization 8 comprises organization 10.
Step 707, acquiring target space data corresponding to the target display range through a preset map service.
Illustratively, the target space data corresponding to the target display range includes at least coordinate information and layer pattern information corresponding to the mechanism 2, the mechanism 8 and the mechanism 10, respectively, and connection line information between the mechanism 2 and the mechanism 8 and between the mechanism 8 and the mechanism 10. Optionally, whether the target spatial data corresponding to the target display range includes spatial data of a peer node of the second organization object (e.g., the peer node of the organization 8 includes the organizations 3, 4, 5, 6, 7, and 9) may be determined according to a selection operation of the user. For example, when the user selects the spatial data which does not include the peer node, the related information of the query target can be more clearly checked, and interference caused by display of the peer node is avoided; when the user selects the spatial data which does not comprise the peer node, the mechanism related information of the query target can be more comprehensively checked.
Step 708, combining the target business data and the target space data to obtain target relationship diagram data.
Step 709, the target relationship diagram data is sent to a preset map engine, so as to instruct the preset map engine to perform visual rendering on a part of the relationship diagram corresponding to the target display range in the service page by using the target relationship diagram data.
According to the data processing method provided by the embodiment of the invention, when a user wants to inquire a certain mechanism object, the user can quickly locate the mechanism object and display the father node mechanism object and the son node mechanism object of the mechanism object together, so that the user can conveniently and quickly check the association relation between the certain mechanism object and other mechanism objects.
In some embodiments, after rendering and displaying the target relationship graph, a user may be allowed to input editing operations for the target relationship graph, such as adding a mechanism object, deleting a mechanism object, updating a mechanism object, and the like, through a service page, and editing of the target relationship graph may be automatically implemented through a preset map tool, so as to ensure rationality of layout of the target relationship graph, and reduce labor drawing cost.
FIG. 8 is a flowchart of yet another data processing method according to an embodiment of the present invention, where the optimization is performed based on the above-mentioned alternative embodiments, and as shown in FIG. 8, the method may include:
step 801, obtaining business data of the organization object in the target relation diagram.
Step 802, acquiring spatial data corresponding to the target relation diagram through a preset map service.
And 803, combining the service data and the space data to obtain the relationship diagram data.
Step 804, the relationship diagram data is sent to a preset map engine in the service page of the client, so as to instruct the preset map engine to perform visual rendering on the target relationship diagram in the service page by using the relationship diagram data.
And step 805, receiving an object adding request for the target relationship graph sent by the client, where the object adding request is used to indicate a third mechanism object to be added.
The object addition request is illustratively determined according to an object addition operation input by a user based on a service page.
For example, when a mechanism object increases the stock of a new mechanism object, the new mechanism object may be marked as a third mechanism object and automatically added to the target relationship graph. As shown in fig. 3, if the mechanism 3 increases the holding of the mechanism 12, it is necessary to add the mechanism 12 to the target relationship diagram, that is, the third mechanism object is the mechanism 12.
Step 806, determining a fourth mechanism object corresponding to the third mechanism object according to the object addition request by using a preset map tool, wherein the node corresponding to the fourth mechanism object is a parent node corresponding to the third mechanism object.
As described above, the parent node (also referred to as a suspension node) of the newly added organization 12 is the organization 3, that is, the organization 3 is the fourth organization object at this time.
Step 807, determining a first blank area closest to the fourth mechanism object in the target relationship diagram by using a spatial analysis function of the preset map tool.
For example, geoTools have functions that implement topology decisions, and can obtain information such as intersections between patterns, inclusion, coverage, and external rectangles. The occupied areas of all the mechanism objects in the target relation diagram can be calculated, the space analysis function of GeoTools is utilized to calculate each blank area, and the first blank area closest to the fourth mechanism object is found.
Step 808, determining whether the first blank area is larger than the occupied area required by the third mechanism object by using a preset map tool, if yes, executing step 809; otherwise, step 810 is performed.
Step 809, determining coordinate information of the third mechanism object according to the first blank area, and writing the coordinate information of the third mechanism object, the preset layer pattern information, and connection line information between the third mechanism object and the fourth mechanism object into the space data.
For example, if the first blank area closest to the fourth mechanism object can accommodate the newly added mechanism object, automatic addition can be directly performed, so that modification of the original space data is reduced, and the newly added efficiency of the mechanism object is improved.
As shown in fig. 3, a node may be accommodated above the closest blank area to the mechanism 2, such as mechanism 3, and thus, mechanism 12 may be added to the blank area.
Illustratively, in addition to updating the spatial data, business data corresponding to different layers of the third organization object may also be added to the business database.
And 810, determining an circumscribed matrix area corresponding to the fourth mechanism object according to the space data by using a preset map tool.
The circumscribed matrix area comprises all child nodes under the node corresponding to the fourth mechanism object. As shown in fig. 3, the child nodes included under the mechanism 2 include the mechanisms 3 to 11, and the circumscribed matrix area may be a smallest polygon including the mechanisms 3 to 11 and the lines between the mechanisms 3 to 11 and the mechanism 2 (as shown by the dotted lines in fig. 3).
Step 811, determining a second blank area in the target relation graph by using a space analysis function of the preset map tool, wherein the second blank area is larger than the sum of the circumscribed matrix area and the occupied area required by the third mechanism object.
For example, if the first blank area closest to the fourth mechanism object cannot accommodate the newly added mechanism object, the circumscribed matrix area of the fourth mechanism object may be moved as a whole, so as to ensure that the newly added third mechanism object may be automatically added to the vicinity of the fourth mechanism object, so as to avoid that the viewing efficiency of the user is affected due to too far distance, and the rationality of the page layout is improved.
For example, when determining the second blank area, the circumscribed matrix area may be deleted first, that is, the area where the circumscribed matrix area is located is considered to be unoccupied.
Step 812, moving the circumscribed matrix area to the second blank area by using a preset map tool, determining coordinate information of the third mechanism object according to the remaining blank area in the second blank area, and writing the coordinate information of the third mechanism object, the preset layer pattern information and the connecting line information between the third mechanism object and the fourth mechanism object into the space data.
According to the data processing method provided by the embodiment of the disclosure, when a user needs to newly add the mechanism object in the target relation diagram, automatic addition can be realized by using the preset map tool, and the utilization rate of the page space is fully considered in the automatic addition process, so that the coordinate position of the newly added mechanism object is more reasonable, and the uniformity of the layout is ensured.
In some embodiments, further comprising: receiving an object deleting request aiming at a fifth mechanism object and sent by a client; determining a sixth mechanism object corresponding to the fifth mechanism object by using a preset map tool according to the object deletion request, wherein a node corresponding to the sixth mechanism object is a father node corresponding to the fifth mechanism object; and deleting the coordinate information, the layer style information and the connecting line information between the fifth mechanism object and the sixth mechanism object from the space data by using the preset map tool, and updating the coordinate information of a seventh mechanism object and the connecting line information between the seventh mechanism object and the sixth mechanism object, wherein a node corresponding to the seventh mechanism object is a child node corresponding to the sixth mechanism object. Therefore, after a user deletes a certain mechanism object, the preset map tool can adaptively adjust the positions of peer nodes and connecting lines, and the rationality of page layout is ensured.
Illustratively, the object deletion request is determined based on an object deletion operation entered by the user based on the service page. Updating the coordinate information of at least one seventh mechanism object and the connection line information between the seventh mechanism object and the sixth mechanism object is performed according to the relative direction (transverse direction and/or longitudinal direction) between the seventh mechanism object and the sixth mechanism object. As shown in fig. 3, assuming that the mechanism 5 is deleted, the mechanisms 6 to 9 can be automatically moved upward in the longitudinal direction.
In some embodiments, further comprising: receiving an object update request for an eighth mechanism object sent by a client; deleting an original eighth mechanism object by using a preset map tool under the condition that the object updating request influences the hierarchical structure of the tree diagram, and adding a new eighth mechanism object; and under the condition that the object updating request does not affect the hierarchical structure of the tree graph, updating the business data of the eighth organization object according to the object updating request. Therefore, different updating modes can be automatically adopted according to whether the object updating request affects the hierarchical structure of the tree graph, and the processing efficiency of the updating request is improved.
The object update request is illustratively determined based on an object update operation entered by the user based on the business page. When the business data of a certain organization object needs to be updated, such as updating organization names, stock holding proportions and the like, the hierarchical structure of the tree diagram is not influenced, and therefore, the space data does not need to be modified. When the father node corresponding to a certain organization is modified, the association relationship changes, which affects the hierarchical organization, so that the organization object can be deleted first, and then the organization object can be added according to the updated association relationship. The deletion process may refer to the foregoing process of the object deletion request, and the addition process may refer to the foregoing process of the object addition request, which is not described herein.
Alternatively, the user may be supported to manually make adjustments to the position of the mechanism object. For example, an adjustment request for the ninth mechanism object sent by the client is received, and the spatial data corresponding to the ninth mechanism object is modified according to the adjustment request. The adjustment request is determined according to adjustment operation input by a user based on the service page. Therefore, the user can freely modify the position of the mechanism object, the connecting line and the like through manual operation, and the corresponding space data is automatically modified by the server according to the adjustment operation of the user.
Optionally, the method further comprises: re-determining the relation diagram data according to the changed space data and/or business data; and sending the redetermined relation diagram data to the preset map engine to instruct the preset map engine to update and display the target relation diagram in the service page by utilizing the redetermined relation diagram data. Thus, after the editing operation, the target relationship graph can be updated so that the user views the editing result from the business page faster.
Fig. 9 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present invention, as shown in fig. 9, where the apparatus is configured at a server, and includes:
the service data acquisition module 901 is configured to acquire service data of a mechanism object in a target relationship graph, where the target relationship graph is a tree graph, the tree graph is used to represent association relationships of preset dimensions between a plurality of mechanism objects, and the mechanism objects correspond to nodes in the tree graph;
a spatial data obtaining module 902, configured to obtain spatial data corresponding to the target relationship graph through a preset map service, where the spatial data includes coordinate information and layer style information of the mechanism objects, and connection line information between the mechanism objects;
The data combination module 903 is configured to perform a combination process on the service data and the spatial data to obtain relationship diagram data;
the data sending module 904 is configured to send the relationship diagram data to a preset map engine in a service page of the client, so as to instruct the preset map engine to perform visual rendering on the target relationship diagram in the service page by using the relationship diagram data.
The data processing device provided by the embodiment of the invention can realize the rendering and display of the mechanism relation graph by using the map service related technology, store the business data and the space data separately, acquire and combine the business data and the space data respectively when the rendering is needed, and perform visual rendering by using the combined data by using the map engine, thereby enhancing the flexibility of the mechanism relation graph when the rendering and displaying are performed.
Optionally, the target relation graph corresponds to a plurality of layers, and different layers correspond to service data with different granularities of the mechanism object;
wherein, the service data acquisition module includes:
the target layer determining unit is used for determining a target layer to be displayed of the target relation graph;
and the service data acquisition unit is used for acquiring the service data of the mechanism object corresponding to the target layer in the target relation diagram.
Optionally, the service data with different granularities at least comprise service data with a first granularity and service data with a second granularity, wherein the service data with the first granularity comprises an object identifier of the mechanism object, the service data with the second granularity comprises full information of the mechanism object, and the full information comprises the object identifier, the detail information of the association relationship and/or the detail information of the mechanism object.
Optionally, the target layer determining unit is specifically configured to: and receiving a target display request sent by a client, and determining a target layer to be displayed of a target relation diagram according to the target display request, wherein the target display request is determined according to preset operation input by a user based on the service page, and the preset operation comprises at least one of eagle eye operation, zoom-in operation and zoom-out operation.
Optionally, the apparatus further comprises:
the information display request receiving module is used for receiving an information display request sent by the client for a first mechanism object after the relation diagram data are sent to a preset map engine in a business page of the client so as to instruct the preset map engine to visually render the target relation diagram in the business page by utilizing the relation diagram data, wherein the information display request is determined according to a hovering operation input by a user based on the business page for the first mechanism object;
The full-quantity information acquisition module is used for acquiring target full-quantity information of the first mechanism object according to the information display request;
the full-quantity information sending module is used for sending the target full-quantity information to the preset map engine so as to instruct the preset map engine to display a target floating frame in an associated area of the first mechanism object in the service page by utilizing the target full-quantity information, wherein display content in the target floating frame comprises the target full-quantity information.
Optionally, the apparatus further comprises:
the query request receiving module is used for receiving a query request aiming at a second mechanism object sent by a client, wherein the query request is determined according to a query operation aiming at the second mechanism object, which is input by a user based on the service page;
the target service data acquisition module is used for acquiring target service data corresponding to a target display range, wherein the target display range comprises the second mechanism object and an associated mechanism object of the second mechanism object, and the associated mechanism object of the second mechanism object comprises a parent node and/or a mechanism object corresponding to a child node corresponding to the second mechanism object;
The target space data acquisition module is used for acquiring target space data corresponding to the target display range through the preset map service;
the combination processing module is used for carrying out combination processing on the target business data and the target space data to obtain target relation diagram data;
and the target data sending module is used for sending the target relation diagram data to the preset map engine so as to instruct the preset map engine to perform visual rendering on the partial relation diagram corresponding to the target display range in the service page by utilizing the target relation diagram data.
Optionally, the apparatus further comprises:
the new request receiving module is used for receiving an object new request aiming at the target relation graph, which is sent by the client, wherein the object new request is used for indicating a third mechanism object to be added;
the first object determining module is used for determining a fourth mechanism object corresponding to the third mechanism object according to the object newly-added request by using a preset map tool, wherein a node corresponding to the fourth mechanism object is a father node corresponding to the third mechanism object;
the first area determining module is used for determining a first blank area closest to the fourth mechanism object in the target relation diagram by utilizing the space analysis function of the preset map tool;
The area judging module is used for determining whether the first blank area is larger than an occupied area required by the third mechanism object by utilizing the preset map tool;
and the first data writing module is used for determining the coordinate information of the third mechanism object according to the first blank area and writing the coordinate information of the third mechanism object, the preset layer pattern information and the connecting line information between the third mechanism object and the fourth mechanism object into the space data under the condition that the first blank area is larger than the occupied area required by the third mechanism object.
Optionally, the apparatus further comprises:
the first data writing module is used for determining an external matrix area corresponding to the fourth mechanism object according to the space data by using the preset map tool when the first blank area is smaller than or equal to the occupied area required by the third mechanism object, wherein the external matrix area comprises all sub-nodes under the node corresponding to the fourth mechanism object;
a second region determining module, configured to determine a second blank region in the target relationship graph by using a spatial analysis function of the preset map tool, where the second blank region is greater than a sum of the circumscribed matrix region and an occupied region required by the third mechanism object;
And the second data writing module is used for moving the circumscribed matrix area to the second blank area by using the preset map tool, determining the coordinate information of the third mechanism object according to the residual blank area in the second blank area, and writing the coordinate information of the third mechanism object, the preset layer pattern information and the connecting line information between the third mechanism object and the fourth mechanism object into the space data.
Optionally, the apparatus further comprises:
the deletion request receiving module is used for receiving an object deletion request aiming at a fifth mechanism object and sent by the client;
a second object determining module, configured to determine a sixth mechanism object corresponding to the fifth mechanism object according to the object deletion request by using a preset map tool, where a node corresponding to the sixth mechanism object is a parent node corresponding to the fifth mechanism object;
and the first spatial data processing module is used for deleting the coordinate information, the layer style information and the connecting line information between the fifth mechanism object and the sixth mechanism object from the spatial data by utilizing the preset map tool, and updating the coordinate information of a seventh mechanism object and the connecting line information between the seventh mechanism object and the sixth mechanism object, wherein a node corresponding to the seventh mechanism object is a child node corresponding to the sixth mechanism object.
Optionally, the apparatus further comprises:
the update request receiving module is used for receiving an object update request for the eighth mechanism object sent by the client;
the object processing module is used for deleting the original eighth mechanism object by using a preset map tool and adding a new eighth mechanism object under the condition that the object updating request is determined to influence the hierarchical structure of the tree diagram;
and the second spatial data processing module is used for updating the business data of the eighth organization object according to the object update request under the condition that the object update request does not affect the hierarchical structure of the tree graph.
Optionally, the association relationship of the preset dimension includes a share right relationship.
The data processing device provided by the embodiment of the invention can execute the data processing method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Fig. 10 shows a schematic diagram of a data processing apparatus 10 that may be used to implement an embodiment of the invention. Data processing devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The data processing device may also represent various forms of mobile apparatus, such as personal digital processing, cellular telephones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 10, the data processing apparatus 10 includes at least one processor 11, and a memory such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the data processing apparatus 10 can also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
A number of components in the data processing apparatus 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the data processing device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as data processing methods.
In some embodiments, the data processing method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the data processing device 10 via the ROM 12 and/or the communication unit 19. One or more of the steps of the data processing method described above may be performed when the computer program is loaded into RAM 13 and executed by processor 11. Alternatively, in other embodiments, the processor 11 may be configured to perform the data processing method in any other suitable way (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a data processing device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or a trackball) by which a user can provide input to the data processing apparatus. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
Embodiments of the present application also provide a computer program product comprising a computer program which, when executed by a processor, implements a data processing method as provided by any of the embodiments of the present application.
Computer program product in the implementation, the computer program code for carrying out operations of the present application may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The data processing device, the storage medium and the product provided in the foregoing embodiments may execute the data processing method provided in any embodiment of the present application, and have the corresponding functional modules and beneficial effects of executing the method. Technical details not described in detail in the above embodiments may be found in the data processing method provided in any of the embodiments of the present application.
Note that the above is only a preferred embodiment of the present application and the technical principle applied. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, while the application has been described in connection with the above embodiments, the application is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the application, which is set forth in the following claims.

Claims (15)

1. The data processing method is characterized by being applied to a server and comprising the following steps:
acquiring business data of mechanism objects in a target relationship graph, wherein the target relationship graph is a tree graph, the tree graph is used for representing association relations of preset dimensions among a plurality of mechanism objects, and the mechanism objects correspond to nodes in the tree graph;
Acquiring space data corresponding to the target relation graph through a preset map service, wherein the space data comprises coordinate information and layer style information of the mechanism objects and connecting line information among the mechanism objects;
combining the service data and the space data to obtain relationship diagram data;
and sending the relation diagram data to a preset map engine in a business page of the client so as to instruct the preset map engine to carry out visual rendering on the target relation diagram in the business page by utilizing the relation diagram data.
2. The method of claim 1, wherein the target relationship graph corresponds to a plurality of layers, different layers corresponding to different granularities of business data of the organization object;
the obtaining the business data of the organization object in the target relation graph comprises the following steps:
determining a target layer to be displayed of a target relation graph;
and acquiring business data of the mechanism object corresponding to the target layer in the target relation diagram.
3. The method according to claim 2, wherein the service data with different granularities comprises at least service data with a first granularity and service data with a second granularity, wherein the service data with the first granularity comprises an object identifier of the organization object, and the service data with the second granularity comprises full-size information of the organization object, wherein the full-size information comprises the object identifier, and detailed information of the association relationship and/or detailed information of the organization object.
4. The method of claim 2, wherein determining a target layer of the target relationship graph to be displayed comprises:
and receiving a target display request sent by a client, and determining a target layer to be displayed of a target relation diagram according to the target display request, wherein the target display request is determined according to preset operation input by a user based on the service page, and the preset operation comprises at least one of eagle eye operation, zoom-in operation and zoom-out operation.
5. The method of claim 1, further comprising, after sending the relationship graph data to a preset map engine in a business page of a client to instruct the preset map engine to visually render the target relationship graph in the business page using the relationship graph data:
receiving an information display request for a first mechanism object sent by a client, wherein the information display request is determined according to a hovering operation for the first mechanism object input by a user based on the service page;
acquiring target total information of the first mechanism object according to the information display request;
And sending the target total information to the preset map engine to instruct the preset map engine to display a target floating frame in an associated area of the first mechanism object in the service page by using the target total information, wherein the display content in the target floating frame comprises the target total information.
6. The method as recited in claim 1, further comprising:
receiving a query request for a second mechanism object sent by a client, wherein the query request is determined according to a query operation for the second mechanism object input by a user based on the service page;
obtaining target business data corresponding to a target display range, wherein the target display range comprises the second mechanism object and an associated mechanism object of the second mechanism object, and the associated mechanism object of the second mechanism object comprises a mechanism object corresponding to a father node and/or a child node corresponding to the second mechanism object;
acquiring target space data corresponding to the target display range through the preset map service;
combining the target business data and the target space data to obtain target relation diagram data;
And sending the target relation diagram data to the preset map engine to instruct the preset map engine to perform visual rendering on a part of relation diagrams corresponding to the target display range in the service page by using the target relation diagram data.
7. The method as recited in claim 1, further comprising:
receiving an object adding request aiming at the target relation graph, which is sent by a client, wherein the object adding request is used for indicating a third mechanism object to be added;
determining a fourth mechanism object corresponding to the third mechanism object by using a preset map tool according to the object addition request, wherein a node corresponding to the fourth mechanism object is a father node corresponding to the third mechanism object;
determining a first blank area closest to the fourth mechanism object in the target relation diagram by utilizing a space analysis function of the preset map tool;
and determining whether the first blank area is larger than the occupied area required by the third mechanism object by using the preset map tool, if so, determining the coordinate information of the third mechanism object according to the first blank area, and writing the coordinate information of the third mechanism object, the preset layer style information and the connecting line information between the third mechanism object and the fourth mechanism object into the space data.
8. The method of claim 7, further comprising, after determining, with the preset map tool, whether the first empty region is greater than an occupied region required by the third organization object:
if not, determining an external matrix area corresponding to the fourth mechanism object by using the preset map tool according to the space data, wherein the external matrix area comprises all sub-nodes under the node corresponding to the fourth mechanism object;
determining a second blank area in the target relation graph by utilizing a space analysis function of the preset map tool, wherein the second blank area is larger than the sum of the circumscribed matrix area and the occupied area required by the third mechanism object;
and moving the circumscribed matrix area to the second blank area by using the preset map tool, determining coordinate information of the third mechanism object according to the remaining blank area in the second blank area, and writing the coordinate information of the third mechanism object, preset layer pattern information and connecting line information between the third mechanism object and the fourth mechanism object into the space data.
9. The method as recited in claim 1, further comprising:
receiving an object deleting request aiming at a fifth mechanism object and sent by a client;
determining a sixth mechanism object corresponding to the fifth mechanism object by using a preset map tool according to the object deletion request, wherein a node corresponding to the sixth mechanism object is a father node corresponding to the fifth mechanism object;
and deleting the coordinate information, the layer style information and the connecting line information between the fifth mechanism object and the sixth mechanism object from the space data by using the preset map tool, and updating the coordinate information of a seventh mechanism object and the connecting line information between the seventh mechanism object and the sixth mechanism object, wherein a node corresponding to the seventh mechanism object is a child node corresponding to the sixth mechanism object.
10. The method as recited in claim 1, further comprising:
receiving an object update request for an eighth mechanism object sent by a client;
deleting an original eighth mechanism object by using a preset map tool under the condition that the object updating request influences the hierarchical structure of the tree diagram, and adding a new eighth mechanism object;
And under the condition that the object updating request does not affect the hierarchical structure of the tree graph, updating the business data of the eighth organization object according to the object updating request.
11. The method according to any one of claims 1-10, wherein the association of the preset dimension includes a equity relationship.
12. A data processing apparatus, configured at a server, comprising:
the business data acquisition module is used for acquiring business data of the mechanism objects in a target relation graph, wherein the target relation graph is a tree graph, the tree graph is used for representing association relations of preset dimensions among a plurality of mechanism objects, and the mechanism objects correspond to nodes in the tree graph;
the space data acquisition module is used for acquiring space data corresponding to the target relation graph through a preset map service, wherein the space data comprises coordinate information and layer style information of the mechanism objects and connecting line information among the mechanism objects;
the data combination module is used for carrying out combination processing on the service data and the space data to obtain relationship diagram data;
The data sending module is used for sending the relation diagram data to a preset map engine in a business page of the client so as to instruct the preset map engine to carry out visual rendering on the target relation diagram in the business page by utilizing the relation diagram data.
13. A data processing device comprising a memory, a processor and a computer program stored on the memory and executable by the processor, wherein the processor implements the method according to any one of claims 1-11 when executing the computer program.
14. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any one of claims 1-11.
15. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any of claims 1-11.
CN202310996487.2A 2023-08-08 2023-08-08 Data processing method, device, equipment, storage medium and product Pending CN117171395A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310996487.2A CN117171395A (en) 2023-08-08 2023-08-08 Data processing method, device, equipment, storage medium and product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310996487.2A CN117171395A (en) 2023-08-08 2023-08-08 Data processing method, device, equipment, storage medium and product

Publications (1)

Publication Number Publication Date
CN117171395A true CN117171395A (en) 2023-12-05

Family

ID=88930871

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310996487.2A Pending CN117171395A (en) 2023-08-08 2023-08-08 Data processing method, device, equipment, storage medium and product

Country Status (1)

Country Link
CN (1) CN117171395A (en)

Similar Documents

Publication Publication Date Title
US11460996B2 (en) Modifying style layer properties of a digital map
US10338896B2 (en) Systems and methods for developing and using real-time data applications
KR101794373B1 (en) Temporary formatting and charting of selected data
JP4879566B2 (en) System and method for interactively linking data with shapes in a diagram
CN110442965A (en) Railway customer service information machine room implementation management system and method based on BIM
US20190121826A1 (en) Quantified euler analysis
US10565560B2 (en) Alternative people charting for organizational charts
US20230147594A1 (en) Method for integratedly updating map data, device and storage medium
CN110309239B (en) Visual map editing method and device
CN110609927B (en) Visual family tree layout method, terminal device and storage medium
CN117171395A (en) Data processing method, device, equipment, storage medium and product
CN115905322A (en) Service processing method and device, electronic equipment and storage medium
CN113126866B (en) Object determination method, device, electronic equipment and storage medium
KR20230142799A (en) Diagram of child nodes with multiple parent nodes
CN115471582A (en) Map generation method and device, computer equipment and storage medium
CN115249303A (en) Layout drawing method, device, equipment and storage medium based on drawing segmentation
CN114564268A (en) Equipment management method and device, electronic equipment and storage medium
US11593410B1 (en) User-defined groups of graphical objects
CN113763497B (en) Link relation management method, device, computer equipment and storage medium
US20230325049A1 (en) Legend of graphical objects
US20230418846A1 (en) User-defined graphical hierarchies
CN115858891A (en) Visual display method and device of data, electronic equipment and storage medium
CN116738953A (en) Report generation method, report generation device, computer equipment and computer readable storage medium
CN113723062A (en) Report label editing method and device, storage medium and terminal equipment
CN114491192A (en) Data visualization method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination