Methods, devices, display terminals and storage media for dynamic data display
By acquiring and sorting coordinates on the display layer in a 3D Earth model, and controlling the rotation of the 3D rotating model and data updates, the problem of poor readability in data display for multiple countries has been solved, achieving efficient and readable data display.
Patent Information
- Application Number
- CN202310176127.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-28
- Publication Date
- 2025-11-14
- Estimated Expiration
- 2043-02-28
AI Technical Summary
When using 3D Earth models to display relevant data from multiple countries, there is a problem with poor readability.
By obtaining the first coordinates of the preset points on the display layer, the display order of each preset point is determined, and the data of each preset point is displayed in the display order. The rotation speed of the 3D rotating model is controlled, the display conditions and adjacent position array are set, and the data is updated using the cache module.
It improves the readability of data display, reduces information redundancy, enhances the user's observation experience, avoids data flickering, and improves update efficiency.
Smart Images

Figure CN116226266B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data display technology, and in particular to a method, apparatus, display terminal and storage medium for dynamic data display. Background Technology
[0002] With the development of data visualization technology, 3D visualization has emerged and presented a variety of styles to meet different scenario needs.
[0003] When it's necessary to use a 3D Earth model to display relevant data from multiple countries, such as power plant data, geographical data, or other data that needs to be displayed, showing all of it on the interface at once can lead to poor readability. Summary of the Invention
[0004] This application provides a method, apparatus, display terminal, and storage medium for dynamically displaying data, in order to solve the problem of poor readability when displaying relevant data from multiple countries using a 3D earth model.
[0005] Firstly, this application provides a method for dynamically displaying data, applied to a data display system, wherein the display layer of the data display system is loaded with a 3D rotating model of a globe, and the method may include:
[0006] Obtain the first coordinates of the preset point on the display layer. The preset point is the position of the 3D rotated model displayed on the display layer at the current moment.
[0007] The display order of each preset point is determined based on the first coordinate, and the data of each preset point is displayed in the display order.
[0008] In one possible implementation, the method further includes:
[0009] Control the 3D rotating model to rotate at a first rotational speed;
[0010] The display order of each preset point is determined based on the first coordinate, including:
[0011] During the rotation of the 3D rotating model, the order in which the first coordinates of each preset point satisfy the display conditions is determined as the display order of each preset point.
[0012] In one possible implementation, the display conditions may include: the distance between the first coordinate and the second coordinate is minimized, and the second coordinate is the coordinate of a preset reference position on the display layer.
[0013] In one possible implementation, the display conditions may include: the first coordinate is located in a pre-defined coordinate area on the display layer.
[0014] In one possible implementation, after obtaining the first coordinates of multiple preset points on the display layer, the method may further include:
[0015] Calculate the coordinate distance between each preset point, and determine the adjacent position array of each preset point based on the coordinate distance. The adjacent position array includes all preset points whose coordinate distance from the preset point is less than the preset distance.
[0016] When displaying the preset points in the order they are displayed, the method also includes:
[0017] If the currently displayed preset point includes an array of adjacent positions, the data of each preset point in the array of adjacent positions of the current preset point will be displayed in turn according to the preset order.
[0018] In one possible implementation, the data display system includes a caching module for caching updated data from various preset points externally. The method also includes:
[0019] Before displaying the data for the preset points in the display layer:
[0020] If the caching module does not cache the updated data of the preset points, the updated data of the preset points will be imported into the display layer from the outside.
[0021] If the cache module caches the updated data of the preset points, then the updated data of the preset points is imported from the cache module into the display layer.
[0022] In one possible implementation, the display order of each preset point is determined based on the first coordinate, including:
[0023] When the 3D rotating model is not rotating, the display order of each preset point is determined according to the magnitude of the coordinate value in the first coordinate system.
[0024] Secondly, this application provides a dynamic data display device applied to a data display system, wherein the display layer of the data display system is loaded with a 3D rotating model of a globe, and the device includes:
[0025] The coordinate acquisition module is used to acquire the first coordinates of the preset point on the display layer. The preset point is the point displayed on the display layer of the 3D rotating model at the current moment.
[0026] The data display module is used to determine the display order of each preset point based on the first coordinate, and to display the data of each preset point in the display order.
[0027] Thirdly, this application provides a display terminal, including a memory and a processor. The memory stores a computer program that can run on the processor. When the processor executes the computer program, it implements the steps of the dynamic display method for data as described in the first aspect or any possible implementation of the first aspect.
[0028] Fourthly, this application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the dynamic display method for data as described in the first aspect or any possible implementation of the first aspect.
[0029] This application provides a method, apparatus, display terminal, and storage medium for dynamically displaying data. It obtains the first coordinates of preset points on the display layer, determines the display order of each preset point based on the first coordinates, and displays the data of each preset point in that order. When displaying national data, it can dynamically display the data of each point in the display layer of the data display system according to the display order. Compared to displaying data for all countries, this reduces information redundancy, improves the readability of the data display, and enhances the user experience. Attached Figure Description
[0030] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0031] Figure 1 This is a flowchart illustrating the implementation of the dynamic data display method provided in the embodiments of this application;
[0032] Figure 2 This is a schematic diagram of a data display system provided in an embodiment of this application;
[0033] Figure 3 This is a schematic diagram of the structure of the dynamic data display device provided in the embodiments of this application;
[0034] Figure 4 This is a schematic diagram of the display terminal provided in an embodiment of this application. Detailed Implementation
[0035] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0036] To make the objectives, technical solutions, and advantages of this application clearer, the following description will be provided in conjunction with the accompanying drawings and specific embodiments.
[0037] This application provides a data display system capable of displaying 3D models. The display layer of the data display system is loaded with a 3D rotating model of a globe. This 3D rotating model can be rotated and displayed on the interface of the data display system, and users can observe the data of the 3D rotating model through the display layer of the data display system.
[0038] See Figure 1 This illustrates a flowchart of the implementation of the dynamic data display method provided in an embodiment of this application. For example... Figure 1 As shown, a dynamic data display method is applied to the aforementioned data display system, and the method may include steps S101 to S102.
[0039] S101, obtain the first coordinates of the preset point on the display layer. The preset point is the point displayed on the display layer of the 3D rotating model at the current moment.
[0040] The preset points can be one or more. After the 3D rotating model is loaded into the display layer of the data display system, the 3D rotating model will cover the interactive area on the display layer for display. That is, at the current moment, the 3D rotating model will display the preset points on the display layer. On the display layer, the 3D rotating model can be regarded as a sphere, with a first visible area and a second non-visualized area. As the 3D rotating model rotates, the first and second areas will continuously change, that is, the coverage area of the display layer and the 3D rotating model will continuously change.
[0041] The preset location is the designated position of the data to be displayed within the current coverage area, that is, the designated position of the data to be displayed in the current first area. The data to be displayed may include geographical information, cultural information, national information, power plant layout information, etc. of a certain location. The specific data to be displayed can be set according to the actual situation.
[0042] Optionally, the display layer in this embodiment can be a three-dimensional display layer, and the preset points on the display layer can be represented as three-dimensional coordinates.
[0043] Alternatively, the display layer can be a two-dimensional layer, with preset points on the 3D rotating model using fixed three-dimensional coordinates or latitude and longitude coordinates. The preset points on the display layer use two-dimensional coordinates, and as the 3D rotating model rotates, the initial coordinates of these preset points on the display layer also change. The specific coordinates can be set according to the actual situation.
[0044] For example, Figure 2 This is a schematic diagram of a data display system provided in an embodiment of this application. For example... Figure 2 As shown, the currently covered display area includes multiple preset points. The preset points can include 10 points such as A1-A4, B1-B3, and C1-C3. These 10 points are preset points, set on the 3D rotating model, and can rotate with the 3D rotating model.
[0045] The preset points can be the location of a country or the location of its capital city, and each preset point can correspond to information about a power plant in that country. The preset points are represented by three-dimensional coordinates on the 3D rotating model, and as the 3D rotating model rotates, they can be represented by dynamic two-dimensional coordinates on the display layer.
[0046] S102, determine the display order of each preset point according to the first coordinate, and display the data of each preset point in the display order.
[0047] After determining the first coordinates of each preset point, the data display order of the preset points can be determined based on the first coordinates of each preset point, without having to display all the data at the same time.
[0048] The display layer can be located in the first quadrant of a preset coordinate axis, with both the horizontal and vertical coordinate values being non-negative. Data from each preset point can be displayed sequentially in a set order, stopping display after a certain duration. The specific duration can be set according to actual needs.
[0049] Optionally, when the 3D rotating model is not rotating, the display order of each preset point is determined according to the magnitude of the coordinate value in the first coordinate system.
[0050] Specifically, the x-coordinate values in each first coordinate are sorted, and the order of x-coordinate values from largest to smallest is used as the data display order for each preset point. When multiple preset points have the same x-coordinate value, they can be sorted according to their y-coordinate values from largest to smallest. This allows the preset points to be displayed sequentially from right to left and from top to bottom.
[0051] Alternatively, the data display order of the preset points can be determined by ranking the x-coordinate values from smallest to largest. When multiple preset points have the same x-coordinate value, they can be sorted according to their y-coordinate values from smallest to largest. This allows the preset points to be displayed sequentially from left to right and from bottom to top.
[0052] Optionally, the display layer can also be equipped with guide lines. These guide lines indicate preset points on the 3D rotating model displayed on the interface, increasing readability and allowing users to intuitively observe the position of the currently displayed point. For example... Figure 2 As shown, when displaying A3, the guide line connects A3 and the display interface, making it easy for users to intuitively know that the current display interface shows the point A3.
[0053] For example, such as Figure 2 As shown, sorted by horizontal coordinate values from smallest to largest, the display order of the 10 preset points can be: B1-B2-B3-C2-C3-C1-A4-A1-A2-A3. The data for each preset point can be displayed sequentially in this order on the display layer's interface.
[0054] Optionally, during the rotation of the 3D rotating model, the display order can be determined based on the relative distance transformation between the first coordinate of the preset point in the current coverage area and the origin of the preset coordinate axis.
[0055] Specifically, the distance of each first coordinate relative to the origin is calculated in real time, and the calculation formula is as follows:
[0056]
[0057] Where, d i x represents the distance of the i-th preset point relative to the origin. i The x-coordinate of the i-th preset point is represented by y. i This represents the ordinate of the i-th preset point.
[0058] During the rotation, the position of the preset point will change in real time. For the preset point in the current coverage display area, you can choose the preset point with the largest distance from the origin to display data, or you can choose the preset point with the smallest distance from the origin to display data.
[0059] Specifically, as the 3D rotating model rotates from left to right, the distance between each preset point will gradually increase. The preset point with the largest distance from the origin in the current covered display area is A3, and the data of A3 will be displayed on the display interface.
[0060] As the 3D rotating model rotates, the preset point A3 will rotate to the back. At this time, the preset point with the largest distance from the origin in the display area covered by the 3D rotating model and the display layer will stop displaying the data of A3 and display the data of A2.
[0061] By continuously repeating the above process, the display interface will show in real time the preset point with the largest distance from the origin in the current coverage area.
[0062] Furthermore, after the 3D rotating model completes one revolution, the display order of each preset point is also determined. Starting from the second revolution, there is no need to calculate in real time the preset point with the largest distance from the origin on the current display interface. The display can be carried out according to the display order of the first revolution, which can reduce resource consumption.
[0063] The process of selecting the preset point with the smallest distance from the origin for data display is similar to that described above, and will not be repeated here in this embodiment.
[0064] Optional, such as Figure 2 As shown, a reference position M can be arbitrarily determined in the display layer, and the distances of each preset point relative to the reference position M can be calculated in real time. When the 3D rotating model is not rotating, the display order can be determined based on the magnitude of the distances of each preset point relative to the reference position M. When the 3D rotating model is rotating, the display order can be determined based on the relative magnitude of the change in the distances of each preset point relative to the reference position M. The specific settings can be adjusted according to the actual situation.
[0065] This application embodiment determines the first coordinates of each preset point, determines the data display order based on the first coordinates, and displays the data in the display order, which can greatly improve data readability. When displaying national data, it can be displayed sequentially, which reduces data redundancy and improves the user's observation experience compared to simultaneous display.
[0066] In some embodiments of this application, the method may further include: controlling the 3D rotating model to rotate at a first rotation speed.
[0067] The display cycle can be adjusted by controlling the rotation of the 3D rotating model. For example, with a first rotation speed of 2 degrees / second, the rotation cycle of the 3D rotating model is 180 seconds / revolution. With a first rotation speed of 1 degree / second, the rotation cycle of the 3D rotating model is 360 seconds / revolution. The first rotation speed can be set according to the actual situation.
[0068] By controlling the 3D rotating model to rotate at different speeds, the display duration of preset points on the display layer can be controlled. The faster the rotation speed, the shorter the display duration of the preset point; the slower the rotation speed, the longer the display duration of the preset point. The specific rotation speed can be set according to the actual situation.
[0069] The above-mentioned S102 may include: during the rotation of the 3D rotating model, determining the order in which the first coordinates of each preset point satisfy the display conditions as the display order of each preset point.
[0070] By using display criteria, preset points in the current coverage area can be filtered out and displayed. Compared to displaying all preset points at the same time, this can greatly reduce the information complexity of the display interface and improve the readability of the display.
[0071] Optionally, the display conditions may include at least one of the following:
[0072] (1) The distance between the first coordinate and the second coordinate is the smallest. The second coordinate is the coordinate of the preset reference position on the display layer.
[0073] Specifically, there can be one preset reference position, which is a point on the display layer. This preset reference position will not rotate with the rotation of the 3D rotating model. The preset reference position can be a point on the display layer within the display area covered by the 3D rotating model. Alternatively, the preset reference position can also be a point on the display layer within the display area covered by the 3D rotating model. For example... Figure 2 As shown, the preset reference position can be either reference position M or reference position N. The specific reference position can be set according to the actual situation.
[0074] For each preset point, the duration for which the preset point is displayed as a target point on the display interface depends on the duration for which the preset point is the target point. When the preset point is no longer the target point, the display interface stops displaying the data for that preset point.
[0075] For example, such as Figure 2 As shown, for the current coverage display area including A1-A4, C1-C3, and B1-B3, the coordinate distance between A3 and the preset reference position M is the smallest. At this time, the data of the preset point A3 will be displayed on the display interface. For example, the power plant data of the preset point A3 can be displayed.
[0076] D IM This indicates the distance between the preset point I and the preset reference position M. Currently, D... A3M The minimum value is A3, which is the target point. The display interface shows the data at A3. During the 3D rotating model's rotation from left to right, D... A2M <DA3M When the preset point A2 is used as the target point, the display interface will stop displaying the data of A3 and start displaying the data of A2.
[0077] Similarly, as the 3D rotating model rotates from left to right, the display interface will sequentially display data A3-A2-A1-A4-C3-C1-C2-B3-B2-B1. The display duration of each preset point on the display interface is the duration for which that preset point serves as the target point, or the duration for which the distance between that preset point and the preset reference position M is minimized. The case when the reference position is N is similar to the case when the reference position is M, and will not be described in detail here.
[0078] This application embodiment calculates the real-time distance between each preset point and a reference position, and selects to display the data of the preset point with the smallest distance, which enhances the readability of the data display. Furthermore, it enables dynamic display, further enhancing readability; as the 3D rotating model rotates, the data of each preset point will be automatically displayed sequentially on the display interface, providing a comprehensive and complete view.
[0079] (2) The sum of the distances between the first coordinate and multiple second coordinates is minimized.
[0080] For example, there can be multiple preset reference positions, such as... Figure 2 As shown, the preset reference positions include reference position M and reference position N. When D A3M +D A3N When it is at its smallest size, the data in A3 will be displayed on the screen.
[0081] (3) The distance difference between the first coordinate and multiple second coordinates is the smallest, and the second coordinate is the coordinate of the preset reference position on the display layer.
[0082] For example, there can be multiple preset reference positions, such as... Figure 2 As shown, the preset reference positions include reference position M and reference position N. When D A3M -D A3N When it is at its smallest size, the data in A3 will be displayed on the screen.
[0083] (4) The product of the distance between the first coordinate and multiple second coordinates is the smallest. The second coordinate is the coordinate of the preset reference position on the display layer.
[0084] For example, there can be multiple preset reference positions, such as... Figure 2 As shown, the preset reference positions include reference position M and reference position N. When D A3M *D A3N When it is at its smallest size, the data in A3 will be displayed on the screen.
[0085] (5) The first coordinate is located in the preset area, which is the coordinate area pre-set on the display layer.
[0086] The preset area is a pre-defined region on the display layer that does not rotate with the 3D rotating model. The preset area can be rectangular, with a length generally greater than the diameter of the 3D rotating model and a width generally smaller than the diameter. For example, the length of the preset area can be the length of the 3D rotating model, and the width can be the width of one time zone. Specific settings can be configured according to the actual situation.
[0087] In addition, the preset area generally intersects with the 3D rotating model to ensure that the preset points can fall into the preset area as the 3D rotating model rotates. The display interface will show the data of all preset points that have entered the preset area.
[0088] For example, such as Figure 2 As shown, during the rotation of the 3D rotating model from left to right, the preset point A3 will be the first to enter the preset area, and the display interface will show the data of A3. As the 3D rotating model rotates, A1 and A4 may enter the preset area simultaneously. At this time, the display interface will split into two, displaying the data of A1 and A4 respectively, and so on.
[0089] The display duration of each preset point is equal to its duration of existence in the preset area.
[0090] This application embodiment filters all preset points by setting display conditions, selecting the preset points that currently meet the display conditions for display. This allows for the rotation of data display, enhancing the readability of the data. The display conditions can be set according to actual conditions and can be customized according to user needs.
[0091] There is a certain probability that the preset points are densely distributed. When multiple preset points are too close together, if they are displayed according to display conditions (1)-(5), there may be a flickering problem. To solve this problem, this embodiment of the application can divide each preset point by distance to obtain an array of adjacent positions of the preset point. When the preset point is the target point, in addition to displaying the data of the preset point, the data in the array of adjacent positions of the preset point can also be displayed in a pre-set order. Fixing the display duration in the array of adjacent positions can avoid flickering.
[0092] Specifically, in some embodiments of this application, after obtaining the first coordinates of multiple preset points on the display layer, the display method may further include:
[0093] Calculate the coordinate distance between each preset point, and determine the adjacent position array of each preset point based on the coordinate distance. The adjacent position array includes all preset points whose coordinate distance from the preset point is less than the preset distance.
[0094] When displaying the preset points in the order of display, the method also includes:
[0095] If the currently displayed preset point includes an array of adjacent positions, the data of each preset point in the array of adjacent positions of the current preset point will be displayed in turn according to the preset order.
[0096] Optionally, the preset distance can be determined based on the rotation speed of the 3D rotating model. The faster the 3D rotating model rotates, the longer the preset distance; the slower the 3D rotating model rotates, the shorter the preset distance.
[0097] When a 3D rotating model rotates at a faster speed, the data display time for each preset point will be shorter. By setting the preset distance to be longer, as many preset points as possible can be divided into the adjacent position array of each preset point, reducing the probability of flickering.
[0098] When a 3D rotating model rotates at a slower speed, the data display time for each preset point will be longer. By setting the preset distance to be shorter, for each preset point, it is possible to avoid dividing as many preset points as possible into the adjacent position array of that preset point, thereby reducing the number of adjacent position arrays and improving display efficiency.
[0099] For example, D X→Y This represents the distance from preset point X to preset point Y, where K represents the preset distance. For example... Figure 2 As shown, for the preset point A1: D A2→A1 <K,D A4→A1 <K, therefore, A4 and A2 are both points in the adjacent position array of A1, represented as: A1(A2, A4).
[0100] For the preset point A2: D A3→A2 <K,D A1→A2 <K, therefore, A3 and A1 are both points in the adjacent position array of A2, represented as: A2(A1, A3).
[0101] For the preset point A3: D A2→A3 <K Therefore, A2 is a point in the adjacent position array of A3, represented as: A3(A2).
[0102] Optionally, when A1 is the target point, the display interface can be split into two. While one display interface shows the data for A1, the other display interface sequentially displays the data for A2 and A4. For example, if the display time for A1 is 3 seconds, the second interface can display the data for A2 for 1.5 seconds first, followed by the data for A4 for 1.5 seconds. The specific display duration can be adjusted according to the actual situation.
[0103] Alternatively, the display interface can show data for only one preset point at a time. When A1 is the target point, the display interface can show the data of A1, A2, and A4 in a preset order. Other cases are similar, and will not be described in detail here.
[0104] Furthermore, when the target point changes from A3 to A2, the display interface will stop showing the data of each preset point in the adjacent position array of A3 and directly switch to showing the data of each preset point in the adjacent position array of A2. That is, regardless of which preset point in the adjacent position array of A3 is currently being displayed, as soon as the target point changes, it will directly switch to displaying the data of the preset points in the adjacent position array of the target point. This setting ensures that the display interface follows the rotation of the 3D rotating model, improving the display tracking effect and enhancing the readability of the data.
[0105] This application embodiment, by setting an adjacent position array, can display data of dense preset points in turn according to a preset order, which can avoid display flickering caused by the 3D rotating model rotating too fast.
[0106] In some embodiments of this application, for preset points that have adjacent position arrays, when displaying the data of the preset point on the display interface, the data of each preset point in the adjacent position array can be displayed simultaneously.
[0107] Specifically, the display interface can be divided into multiple areas, which can respectively display the data of preset points and the data of preset points in the adjacent position array of the preset points.
[0108] This application embodiment improves data display efficiency and avoids display flickering by simultaneously displaying data from preset points and their adjacent position arrays.
[0109] In some embodiments of this application, the data display system may further include a caching module, which is used to cache updated data of various preset points from an external source. The method further includes:
[0110] Before displaying the data for the preset points in the display layer:
[0111] If the caching module does not cache the updated data of the preset points, the updated data of the preset points will be imported into the display layer from the outside.
[0112] If the cache module caches the updated data of the preset points, then the updated data of the preset points is imported from the cache module into the display layer.
[0113] The data for each preset point is stored in real time in the display layer of the data display system. The preset point data needs to be updated periodically to ensure the timeliness of the data.
[0114] The data of preset points can be updated in real time during the rotation of the 3D rotating model.
[0115] Specifically, for each preset point, if the caching module collects and caches the updated data of the preset point after displaying the data at that preset point and before the next data display, then the updated data of the preset point is imported from the caching module into the display layer.
[0116] If the caching module does not cache the updated data of the preset point after displaying the data, and before the next data display, the updated data of the preset point will be directly imported into the display layer from the outside.
[0117] For example, during the rotation of the 3D rotating model, the caching module will sequentially obtain the update data of all preset points from the outside at first preset time intervals.
[0118] like Figure 2 As shown, for the preset point A2, if the cache module does not currently cache the updated data of A2, the updated data of A2 can be directly imported into the display layer from the outside, so that A2 can display the latest data.
[0119] If the caching module has already cached the updated data of A2, the updated data of A2 can be imported from the caching model into the display layer, so that A2 can display the latest data.
[0120] This application embodiment achieves higher efficiency and faster update efficiency of preset point data by setting a cache module to periodically cache data at preset points compared to reading data entirely from external sources.
[0121] This application embodiment improves data readability by loading a 3D rotating globe model onto the display layer of the data display system, calculating the distance between each preset point and a preset reference position in real time, and displaying the data of the preset point with the smallest current distance on the display interface of the display layer. For example, it can display power plant information of the country corresponding to the preset point.
[0122] This application embodiment divides dense preset points into sections. When displaying data for the preset points, it also displays data from adjacent position arrays of the preset points in a preset order. This ensures comprehensive data display while avoiding data flickering.
[0123] This application embodiment improves the data update efficiency by setting a cache module to periodically collect and cache update data at various preset points.
[0124] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0125] The following are device embodiments of this application. For details not described in detail, please refer to the corresponding method embodiments described above.
[0126] Figure 3 A schematic diagram of the structure of the dynamic data display device provided in the embodiments of this application is shown. For ease of explanation, only the parts related to the embodiments of this application are shown, and are described in detail below:
[0127] like Figure 3 As shown, the data dynamic display device 20 has a display layer loaded with a 3D rotating model of a globe. This device 20 may include:
[0128] The coordinate acquisition module 201 is used to acquire the first coordinates of the preset point on the display layer. The preset point is the point displayed on the display layer of the 3D rotating model at the current moment.
[0129] The data display module 202 is used to determine the display order of each preset point according to the first coordinate, and to display the data of each preset point in the display order.
[0130] In some embodiments of this application, the data display module 202 may include:
[0131] The control unit is used to control the 3D rotating model to rotate at a first rotational speed.
[0132] The display unit is used to determine the display order of each preset point by the order in which the first coordinates of each preset point satisfy the display conditions during the rotation of the 3D rotating model.
[0133] In some embodiments of this application, the display conditions include: the distance between the first coordinate and the second coordinate is minimized, and the second coordinate is the coordinate of a preset reference position on the display layer.
[0134] In some embodiments of this application, the display conditions include: the first coordinate is located in a pre-defined coordinate area on the display layer.
[0135] In some embodiments of this application, the device 20 may further include:
[0136] The calculation module is used to calculate the coordinate distance between each preset point after obtaining the first coordinates of multiple preset points on the display layer, and determine the adjacent position array of each preset point based on the coordinate distance. The adjacent position array includes all preset points whose coordinate distance from the preset point is less than the preset distance.
[0137] The dense display module is used to, when displaying each preset point in the display order, if the currently displayed preset point includes an adjacent position array, then display the data of each preset point in the adjacent position array of the currently displayed preset point in the preset order.
[0138] In some embodiments of this application, the data display system includes a caching module for caching updated data from various preset points externally. The device 20 may further include:
[0139] When updating the judgment module and updating the data of the preset points in the display layer:
[0140] If the caching module does not cache the updated data of the preset points, the updated data of the preset points will be imported into the display layer from the outside.
[0141] If the cache module caches the updated data of the preset points, then the updated data of the preset points is imported from the cache module into the display layer.
[0142] In some embodiments of this application, the data includes power plant data, and the preset locations include preset national locations.
[0143] In some embodiments of this application, the data display module 202 is also used to determine the display order of each preset point based on the magnitude of the coordinate value in the first coordinate when the 3D rotating model is not rotating.
[0144] Figure 4 This is a schematic diagram of the display terminal provided in an embodiment of this application. Figure 4 As shown, the display terminal 30 of this embodiment includes a processor 300 and a memory 301. The memory 301 stores a computer program 302 that can run on the processor 300. When the processor 300 executes the computer program 302, it implements the steps in the above-described dynamic data display method embodiments, for example... Figure 1 S101 to S102 are shown. Alternatively, when the processor 300 executes the computer program 302, it implements the functions of each module / unit in the above-described device embodiments, for example... Figure 3 The functions of modules 201 to 202 are shown.
[0145] For example, computer program 302 can be divided into one or more modules / units, one or more of which are stored in memory 301 and executed by processor 300 to complete this application. One or more modules / units can be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of computer program 302 in display terminal 30. For example, computer program 302 can be divided into... Figure 3 Modules 201 to 202 are shown.
[0146] Display terminal 30 can be a computing device such as a desktop computer, laptop, handheld computer, or cloud server. Display terminal 30 may include, but is not limited to, a processor 300 and a memory 301. Those skilled in the art will understand that... Figure 4 This is merely an example of display terminal 30 and does not constitute a limitation on display terminal 30. It may include more or fewer components than shown, or combine certain components, or different components. For example, display terminal may also include input / output devices, network access devices, buses, etc.
[0147] The processor 300 may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.
[0148] The memory 301 can be an internal storage unit of the display terminal 30, such as a hard disk or RAM of the display terminal 30. The memory 301 can also be an external storage device of the display terminal 30, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the display terminal 30. Furthermore, the memory 301 can include both internal and external storage units of the display terminal 30. The memory 301 is used to store computer programs and other programs and data required by the display terminal. The memory 301 can also be used to temporarily store data that has been output or will be output.
[0149] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0150] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0151] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0152] In the embodiments provided in this application, it should be understood that the disclosed devices / display terminals and methods can be implemented in other ways. For example, the device / display terminal embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling or direct coupling or communication connection may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0153] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0154] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0155] If an integrated module / unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the above-described dynamic data display method embodiments. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc.
[0156] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A method for dynamically displaying data, characterized in that, Applied to a data display system, wherein the display layer of the data display system is loaded with a 3D rotating model of a globe, the method includes: Obtain the first coordinates of the preset point on the display layer, where the preset point is the position of the 3D rotating model displayed on the display layer at the current moment; The 3D rotating model is controlled to rotate at a first rotation speed; during the rotation of the 3D rotating model, the display order of each preset point is determined according to the first coordinate, and the data of each preset point is displayed according to the display order; After obtaining the first coordinates of multiple preset points on the display layer, the method further includes: Calculate the coordinate distance between each preset point, and determine the adjacent position array of each preset point based on the coordinate distance. The adjacent position array includes all preset points whose coordinate distance from the preset point is less than the preset distance. When displaying the preset points in the order described above, the method further includes: If the currently displayed preset point includes an array of adjacent points, the data of the current preset point and each preset point in its adjacent array will be displayed in turn according to the preset order.
2. The method for dynamically displaying data according to claim 1, characterized in that, The step of determining the display order of each preset point based on the first coordinate includes: The order in which the first coordinates of each preset point meet the display conditions is determined as the display order of each preset point.
3. The method for dynamically displaying data according to claim 2, characterized in that, The display conditions include: the distance between the first coordinate and the second coordinate is minimized, and the second coordinate is the coordinate of a preset reference position on the display layer.
4. The method for dynamically displaying data according to claim 2, characterized in that, The display conditions include: the first coordinate is located in a pre-defined coordinate area on the display layer.
5. The method for dynamically displaying data according to claim 1, characterized in that, The data display system includes a caching module, which is used to cache updated data from various preset points externally. The method further includes: Before the data of the preset points are displayed on the display layer: If the caching module does not cache the updated data of the preset point, then the updated data of the preset point is imported into the display layer from the outside; If the caching module caches the updated data of the preset point, then the updated data of the preset point is imported from the caching module into the display layer.
6. The method for dynamically displaying data according to any one of claims 1 to 5, characterized in that, The step of determining the display order of each preset point based on the first coordinate includes: When the 3D rotating model is not rotating, the display order of each preset point is determined according to the magnitude of the coordinate value in the first coordinate system.
7. A dynamic data display device, characterized in that, The device is applied to a data display system, wherein the display layer of the data display system is loaded with a 3D rotating model of a globe, and the device includes: The coordinate acquisition module is used to acquire the first coordinates of a preset point on the display layer, wherein the preset point is the point displayed by the 3D rotating model on the display layer at the current moment; The data display module is used to control the 3D rotating model to rotate at a first rotation speed; during the rotation of the 3D rotating model, the display order of each preset point is determined according to the first coordinate, and the data of each preset point is displayed according to the display order; The device may further include: The calculation module is used to calculate the coordinate distance between each preset point after obtaining the first coordinates of multiple preset points on the display layer, and determine the adjacent position array of each preset point based on the coordinate distance. The adjacent position array includes all preset points whose coordinate distance from the preset point is less than the preset distance. The dense display module is used to display the data of the current preset point and each preset point in its adjacent position array in turn according to the preset order when displaying each preset point in the display order.
8. A display terminal, comprising a memory and a processor, wherein the memory stores a computer program that runs on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the dynamic display method for data as described in any one of claims 1 to 6 above.
9. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the dynamic display method for data as described in any one of claims 1 to 6 above.
Citation Information
Patent Citations
Information displaying method and apparatus
CN104965847A