Client moving target rendering method, device and equipment and storage medium

By using a method that searches for and interpolates moving objects in the client's moving target layer based on a unique identifier, the problem of inconsistent motion of moving targets is solved, resulting in more efficient rendering, a better user experience, and reduced hardware costs.

CN120997367APending Publication Date: 2025-11-21BEIJING SUPERMAP SOFTWARE CO LTD +5
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511161415.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-19
Publication Date
2025-11-21

AI Technical Summary

Technical Problem

On the client side, due to the limited frequency of the server sending moving target data, it is difficult to continuously restore the movement trajectory of the moving target object, resulting in jumps and discontinuities, which affects the user's visual experience.

Method used

The client obtains moving target data, finds the corresponding moving target object in the moving target layer based on the unique identifier, performs interpolation calculation to generate an interpolation point sequence, updates motion state information for rendering, shares 3D model resources, and optimizes the display of moving target signs.

Benefits of technology

It improves the continuity and smoothness of motion of moving objects, enhances the user's visual experience, reduces the need for hardware upgrades, and reduces redundant processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120997367A_ABST
    Figure CN120997367A_ABST
Patent Text Reader

Abstract

The invention discloses a client moving target rendering method, device and equipment and a storage medium, a client comprises a moving target layer constructed based on a scene rendering component and used for bearing a moving target object, and the method comprises the steps that moving target data is acquired, and the moving target data comprises a unique identifier, motion state information and attribute information of the moving target object; based on the unique identifier of the moving target object, searching the moving target object corresponding to the unique identifier in the moving target layer, and taking the moving target object as a to-be-rendered moving target object under the condition that the moving target object corresponding to the unique identifier exists in the moving target layer; performing interpolation calculation on the motion state information of the moving target object to be rendered to generate an interpolation point sequence; and based on the interpolation point sequence, updating the motion state information of the to-be-rendered moving target object, and rendering the to-be-rendered moving target object based on the updated motion state information and attribute information. Therefore, the continuity of the moving target object in the moving process can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of computers, and particularly relates to a client moving target rendering method and device, equipment and a storage medium. BACKGROUND

[0002] With the continuous development of information technology and Internet technology, three-dimensional visualization technology based on the client has been widely applied to many fields such as city management, intelligent transportation, emergency command, and logistics scheduling. In these application scenarios, the moving target objects are usually large in number and change frequently in state, so efficient and real-time updating and rendering of the moving target objects on the client has become one of the key technologies for improving the visualization effect and interactive experience of the system.

[0003] However, due to the limited frequency of sending moving target data by the server, when the client updates and renders the state after receiving the moving target data, it is difficult to accurately restore the continuous motion trajectory of the moving target, and thus phenomena such as jumping and incoherence are generated, which seriously affects the visual experience of the user. SUMMARY

[0004] Embodiments of the present application provide a client moving target rendering method, device, equipment and storage medium, aiming to improve the continuity of the motion state of the moving target object and effectively improve the visualization effect and user experience.

[0005] In a first aspect, the embodiments of the present application provide a client moving target rendering method, the client comprising a moving target layer constructed based on a scene rendering component, the moving target layer being used to carry a moving target object, and the method comprising:

[0006] obtaining moving target data, the moving target data comprising a unique identifier, motion state information and attribute information of the moving target object;

[0007] based on the unique identifier of the moving target object, searching for the moving target object corresponding to the unique identifier in the moving target layer, and in the case that the moving target object corresponding to the unique identifier exists in the moving target layer, taking the moving target object as a to-be-rendered moving target object;

[0008] performing interpolation calculation on the motion state information of the to-be-rendered moving target object to generate an interpolation point sequence, the interpolation point sequence being used to describe the motion state information of each frame of the to-be-rendered moving target object;

[0009] based on the interpolation point sequence, updating the motion state information of the to-be-rendered moving target object, and rendering the to-be-rendered moving target object based on the updated motion state information and the attribute information.

[0010] Optionally, the motion state information comprises current position information and target position information of the dynamic target object, the interpolation calculation on the motion state information of the dynamic target object to be rendered comprises:

[0011] interpolation calculation on the current position information and the target position information of the dynamic target object to be rendered to generate an interpolation point sequence.

[0012] Optionally, the updating of the motion state information of the dynamic target object to be rendered based on the interpolation point sequence comprises:

[0013] storing the interpolation point sequence into a target motion state pool corresponding to the dynamic target object to be rendered, the target motion state pool being a queue array used for caching the interpolation point sequence;

[0014] calculating an interpolation point index based on an interpolation point interval and a time difference between a current timestamp and a last update timestamp;

[0015] extracting a target interpolation point from the target motion state pool based on the interpolation point index;

[0016] updating the motion state information of the dynamic target object to be rendered based on the target interpolation point.

[0017] Optionally, the method further comprises:

[0018] in a case where the dynamic target object corresponding to the unique identifier does not exist in the dynamic target layer, creating the dynamic target object corresponding to the unique identifier in the dynamic target layer based on the dynamic target data.

[0019] Optionally, the dynamic target layer comprises a plurality of instantiation layers, and the method further comprises:

[0020] adding the dynamic target object to the corresponding instantiation layer based on a three-dimensional model used by the dynamic target object.

[0021] Optionally, the adding of the dynamic target object to the corresponding instantiation layer based on a three-dimensional model used by the dynamic target object comprises:

[0022] adding the dynamic target objects using the same three-dimensional model to the same instantiation layer;

[0023] the dynamic target objects in the instantiation layer share a vertex array, a material and a texture of the three-dimensional model.

[0024] Optionally, the method further comprises:

[0025] create a moving target tag for the moving target object in the moving target layer based on the attribute information;

[0026] The moving target tag searches for a position meeting a display condition in a plurality of preset directions and a pulling length range around the moving target object, and displays the moving target tag at the position.

[0027] In a second aspect, an embodiment of the present application provides a client moving target rendering device, the client including a moving target layer constructed based on a scene rendering component, the moving target layer being used to carry a moving target object, and including:

[0028] a data acquisition module configured to acquire moving target data, the moving target data including a unique identifier, motion state information, and attribute information of the moving target object;

[0029] a rendering object confirmation module configured to search for the moving target object corresponding to the unique identifier in the moving target layer based on the unique identifier of the moving target object, and take the moving target object as a to-be-rendered moving target object in a case where the moving target object corresponding to the unique identifier exists in the moving target layer.

[0030] an interpolation calculation module configured to perform interpolation calculation on the motion state information of the to-be-rendered moving target object to generate an interpolation point sequence, the interpolation point sequence being used to describe the motion state information of each frame of the to-be-rendered moving target object.

[0031] an update rendering module configured to update the motion state information of the to-be-rendered moving target object based on the interpolation point sequence, and render the to-be-rendered moving target object based on the updated motion state information and the attribute information.

[0032] In a third aspect, an embodiment of the present application provides an electronic device, the device including a processor, a memory, and a system bus;

[0033] the processor and the memory being connected through the system bus;

[0034] the memory being used to store a program, the program including instructions, the instructions causing the processor to execute steps of the client moving target rendering method introduced in any implementation manner of the first aspect when executed by the processor.

[0035] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, the computer readable storage medium being used to store a computer program, the computer program being executed by a terminal device to implement steps of the client moving target rendering method introduced in any implementation manner of the first aspect.

[0036] From the above technical solution, the embodiments of the application have the following advantages:

[0037] The embodiment of the application provides a client moving target rendering method, the client includes a moving target layer constructed based on a scene rendering component, and the moving target layer is used for carrying a moving target object, and the moving target data is obtained, wherein the moving target data includes a unique identifier, motion state information and attribute information of the moving target object. Then, based on the unique identifier of the moving target object, the moving target object corresponding to the unique identifier is searched in the moving target layer, and when the moving target object corresponding to the unique identifier exists in the moving target layer, the moving target object can be used as a to-be-rendered moving target object. Subsequently, the motion state information of the to-be-rendered moving target object is interpolated to generate an interpolation point sequence, and the interpolation point sequence is mainly used to describe the motion state information of each frame of the to-be-rendered moving target object. Finally, based on the obtained interpolation point sequence, the motion state information of the to-be-rendered moving target object is updated, and the to-be-rendered moving target object is rendered based on the updated motion state information and attribute information. It can be seen that in the present scheme, the client searches and identifies the moving target layer based on the unique identifier of the moving target object, so that the rendering operation is only performed on the existing moving target object in the moving target layer, avoiding redundant processing and effectively improving the processing efficiency. On this basis, the motion state information of the to-be-rendered moving target object is interpolated to generate an interpolation point sequence for describing the motion state information of each frame of the to-be-rendered moving target object, effectively making up for the jumping and incoherence caused by the limited frequency of sending moving target data in the prior art, significantly improving the continuity and smoothness of the moving target object in the motion process, and improving the user's visual experience. BRIEF DESCRIPTION OF DRAWINGS

[0038] Figure 1 A flowchart of a client moving target rendering method provided by the embodiment of the application is provided.

[0039] Figure 2 A schematic diagram of an instantiation layer provided by the embodiment of the application is provided.

[0040] Figure 3 A schematic diagram of the overall framework of a client moving target rendering method provided by the embodiment of the application is provided.

[0041] Figure 4 A structural schematic diagram of a client moving target rendering device provided by the embodiment of the application is provided. DETAILED DESCRIPTION

[0042] Before the embodiment of the application is introduced, in order to facilitate understanding of the technical scheme of the application, first, the professional terms related to the embodiment of the application are introduced.

[0043] Moving target: refers to a target object in a moving state, the position, rotation and appearance and disappearance and other states of which change through real-time receiving of motion state information sent by the server. In a three-dimensional scene, the moving target is usually visualized as a three-dimensional model.

[0044] As described above, due to the sending frequency of the server-side moving target data and the delay that may occur in the network transmission process, it is difficult for the client to continuously restore the real motion trajectory of the moving target when updating and rendering the state after receiving the moving target data, resulting in jumps and discontinuity in the rendering result, which seriously affects the visualization effect and the user's visual experience.

[0045] Specifically, taking an example of the server sending moving target data to the client every 2 seconds, if the client does not process the moving target data, the moving target appears to jump in position every 2 seconds in the user's vision, lacking the visual effect of continuous motion, thus causing obvious jumping and discontinuity, which seriously affects the visual experience. Even if the server increases the sending frequency of the moving target data to a higher level to approach the standard frame rate required by the client rendering, i.e. 24 frames per second, due to network fluctuations and transmission delays, the client may still be unable to stably and timely receive all the moving target data, resulting in jumps in the rendering result.

[0046] Based on this, in order to solve the above problems, the embodiment of the application provides a client moving target rendering method. The client includes a moving target layer constructed based on a scene rendering component, and the moving target layer is used to carry a moving target object. The moving target data is obtained, wherein the moving target data includes a unique identifier of the moving target object, motion state information and attribute information. Then, based on the unique identifier of the moving target object, the moving target object corresponding to the unique identifier is searched in the moving target layer. When the moving target object corresponding to the unique identifier exists in the moving target layer, the moving target object can be taken as a to-be-rendered moving target object. Subsequently, the motion state information of the to-be-rendered moving target object is interpolated to generate an interpolation point sequence, and the interpolation point sequence is mainly used to describe the motion state information of each frame of the to-be-rendered moving target object. Finally, the motion state information of the to-be-rendered moving target object is updated based on the obtained interpolation point sequence, and the to-be-rendered moving target object is rendered based on the updated motion state information and attribute information.

[0047] It can be seen that, in the scheme, the client performs fast searching and identifying in the moving target layer based on the unique identifier of the moving target object, so that the rendering operation is only performed on the existing moving target object in the moving target layer, redundant processing is avoided, and the processing efficiency is effectively improved. On this basis, the motion state information of the to-be-rendered moving target object is interpolated to generate a sequence of interpolation points for describing the motion state information of each frame of the to-be-rendered moving target object, effectively making up for the jumping and incoherence caused by the limited frequency of sending moving target data in the prior art, significantly improving the continuity and smoothness of the moving target object in the motion process, and improving the user's visual experience.

[0048] It should be noted that the execution subject of the embodiments of the present application is a client, and the client moving target rendering method of the embodiments of the present application can be applied to terminal devices and other information processing devices. The terminal device can be a smart phone, a computer, a personal digital assistant (PDA), a tablet computer, or other electronic devices.

[0049] To make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative labor fall within the scope of protection of the present application.

[0050] Figure 1 A flowchart of a client moving target rendering method according to an embodiment of the present application is shown in FIG. 1. As shown in FIG. 1, the client moving target rendering method can include the following steps S101-S104. Figure 1

[0051] S101: Obtain moving target data, the moving target data including a unique identifier, motion state information and attribute information of a moving target object.

[0052] In the embodiments of the present application, the server periodically sends moving target data to the client, so the rendering process of the moving target object is completed on the client. The client constructs a moving target layer based on a scene rendering component, to carry and render the moving target object.

[0053] In a massive moving target rendering scenario, because of the high consumption of graphics processor resources, the traditional scheme usually suggests that the user upgrades the hardware to improve the performance, for example, replaces the graphics processor with better performance. However, a high-performance graphics processor usually needs to be matched with a stronger processor, a larger-capacity memory and a higher-speed hard disk. Such batch hardware upgrades will significantly increase the project cost of the user. ​

[0054] To reduce hardware performance stress, Figure 2 This is a schematic diagram of an instantiated layer provided in an embodiment of this application. The moving target layer includes multiple instantiated layers. Based on the 3D model used by the moving target object, the moving target object can be added to the corresponding instantiated layer, that is, by constructing a model instantiation, data redundancy and resource utilization can be reduced.

[0055] Combination Figure 2 As shown, moving objects using the same 3D model are added to the same instanced layer, such as instanced layer 1 and instanced layer 2. Each instanced layer corresponds to a 3D model path used to load the 3D model resources required by the instanced layer; for example, instanced layer 1 corresponds to 3D model path 1, and instanced layer 2 corresponds to 3D model path 2. Simultaneously, after loading the 3D model resources, each instanced layer generates a corresponding instanced model object; for example, instanced layer 1 generates instanced model object 1, and instanced layer 2 generates instanced model object 2. Within the same instanced layer, all moving objects share the same vertex array, materials, and textures to reduce data redundancy and lower graphics processor resource consumption. This allows for the rendering needs of more moving objects to be supported under the same hardware conditions, reducing reliance on large-scale hardware upgrades, thereby effectively reducing project costs and improving overall rendering efficiency.

[0056] It should be noted that the moving target data includes the unique identifier of the moving target object, motion state information, and attribute information. Specifically, the unique identifier is used to distinguish different moving target objects, and it corresponds one-to-one with each moving target object. In this embodiment, the moving target object can be quickly identified in the moving target layer based on the unique identifier. The motion state information includes the current position information and target position information of the moving target object. The current position information of the moving target object is used to indicate the position state of the moving target object when the moving target data is received, and the target position information is used to indicate the position state that the moving target object should reach at the next time point. The attribute information of the moving target object can be used to describe the business attributes of the moving target object, such as characteristic information such as type, style, color, and size.

[0057] Furthermore, as moving entities with attribute descriptions, moving target objects typically display their attribute information in the form of moving target signs. However, when a large number of moving target signs are rendered simultaneously in the same scene, overlapping and overlaying of moving target signs will inevitably occur, severely affecting the user's accurate identification and intuitive differentiation of the attribute information of each moving target sign.

[0058] To solve the above problems, the embodiment of the present application creates a moving target label for a moving target object in a moving target layer based on attribute information in moving target data, and finds whether there is a suitable display position of the moving target label in a preset direction and a pulling length range with each moving target object as the center, to avoid the situation that the moving target labels overlap each other, so as to realize automatic avoidance of the moving target labels.

[0059] Specifically, in the automatic avoidance mechanism of the embodiment of the present application, the preset direction can be specified by a user, including eight directions of up, left, down, right, top-left, top-right, middle-left, middle-right, bottom-left and bottom-right with the moving target object as the center; the pulling length range is determined according to the maximum length of the pulling line and the unit increment in the finding process, and the positions meeting the display conditions are found in turn according to the preset direction in the order from inside to outside. The position meeting the display condition refers to a position that can avoid the overlap or occlusion of the moving target labels. If a position meeting the condition cannot be found finally, the corresponding moving target label will be hidden.

[0060] At present, for the problem of moving target label overlap, the prior art usually pops up the corresponding moving target label when the user selects a moving target object, and realizes the preview of the moving target label by switching the selected moving target object. However, this scheme has the following disadvantages: first, since the moving target object is continuously in motion, it is difficult for the user to accurately select the moving target object by scene magnification; second, this scheme cannot realize the simultaneous display and intuitive comparison of multiple moving target labels.

[0061] To overcome the above disadvantages, the embodiment of the present application further introduces two extension principles to enhance the display controllability and interactive flexibility of the moving target label. The selected moving target label priority display principle is used to promote the display priority of a selected moving target label to the highest when the user selects the moving target label, so that the user can adjust the display order of the moving target label. The drag moving target label non-avoidance principle is used to make the moving target label no longer participate in the automatic avoidance mechanism when the user manually drags the moving target label to adjust its display position, so as to keep the position set by the user unchanged, so that the user can compare and view the attribute information of multiple moving target labels at the same time, that is, even in the scene where a large number of moving targets move simultaneously, the user can clearly and intuitively view the attribute information of each moving target label.

[0062] S102: Based on the unique identifier of the moving target object, find the moving target object corresponding to the unique identifier in the moving target layer, and if the moving target object corresponding to the unique identifier exists in the moving target layer, take the moving target object as the to-be-rendered moving target object.

[0063] In the embodiment of the present application, since the dynamic target object and the unique identifier in the dynamic target data are one-to-one corresponding, the dynamic target object corresponding to the unique identifier can be found in the dynamic target layer based on the unique identifier. If the dynamic target object corresponding to the unique identifier does not exist in the dynamic target layer, a new dynamic target object corresponding to the unique identifier needs to be created in the dynamic target layer based on the unique identifier in the dynamic target data; if the dynamic target object corresponding to the unique identifier exists in the dynamic target layer, the dynamic target object is directly taken as the dynamic target object to be rendered.

[0064] It should be noted that when the server first sends the dynamic target data to the client, the dynamic target object corresponding to the unique identifier usually does not exist in the dynamic target layer, and therefore, the dynamic target object needs to be created in the dynamic target layer based on the unique identifier. In contrast, when the server does not first send the dynamic target data to the client, the dynamic target object corresponding to the unique identifier already exists in the dynamic target layer, and therefore, the received dynamic target data is mainly used for updating and rendering the dynamic target object.

[0065] S103: Interpolation calculation is performed on the motion state information of the dynamic target object to be rendered to generate a sequence of interpolation points, and the sequence of interpolation points is used to describe the motion state information of each frame of the dynamic target object to be rendered.

[0066] In the embodiment of the present application, the interpolation calculation is performed on the motion state information of the dynamic target object to be rendered, that is, the interpolation calculation is performed on the current position information and the target position information of the dynamic target object to be rendered, so as to generate the sequence of interpolation points. It should be noted that the sequence of interpolation points is used to describe the motion state information of each frame of the dynamic target object to be rendered.

[0067] S104: The motion state information of the dynamic target object to be rendered is updated based on the sequence of interpolation points, and the dynamic target object to be rendered is rendered based on the updated motion state information and the attribute information.

[0068] In the embodiment of the present application, the sequence of interpolation points obtained through the interpolation calculation is first stored in the target motion state pool corresponding to the dynamic target object to be rendered, wherein the target motion state pool is a queue array used to cache the sequence of interpolation points. Subsequently, the interpolation index point is calculated based on the interpolation point interval and the time difference between the current timestamp and the last update timestamp of the dynamic target object. The interpolation point interval is used to identify the interval time of adjacent two interpolation points in the time dimension, and the time difference reflects the time span between two times of updating the motion state information of the dynamic target object. The interpolation index point can be calculated by dividing the time difference by the interpolation point interval.

[0069] Then, a target interpolation point corresponding to the calculated interpolation index point is extracted from the target motion state pool, and the motion state information of the to-be-rendered dynamic target object is updated using the target interpolation point. Further, the to-be-rendered dynamic target object can be rendered based on the updated motion state information and attribute information, thereby effectively reducing the jumping and incoherence of the dynamic target object in the motion process, and effectively improving the user's viewing experience.

[0070] It should be noted that the update and rendering time interval of the dynamic target layer needs to be consistent with the time interval at which the server periodically sends dynamic target data to the client, so as to ensure that the client can obtain the latest dynamic target data in time, realize continuous update of the motion state, and thus guarantee the real-time and accuracy of the rendering effect.

[0071] Based on the related content of the above steps S101-S104, in the embodiment of the present application, the client includes a dynamic target layer constructed based on a scene rendering component, and the dynamic target layer is used to carry a dynamic target object, by obtaining dynamic target data, wherein the dynamic target data includes a unique identifier of the dynamic target object, motion state information and attribute information. Then, based on the unique identifier of the dynamic target object, the dynamic target object corresponding to the unique identifier is searched in the dynamic target layer, and when the dynamic target object corresponding to the unique identifier exists in the dynamic target layer, the dynamic target object is taken as a to-be-rendered dynamic target object. Subsequently, the motion state information of the to-be-rendered dynamic target object is interpolated to generate an interpolation point sequence, and the interpolation point sequence is mainly used to describe the motion state information of each frame of the to-be-rendered dynamic target object. Finally, the motion state information of the to-be-rendered dynamic target object is updated based on the obtained interpolation point sequence, and the to-be-rendered dynamic target object is rendered based on the updated motion state information and attribute information.

[0072] It can be seen that the client in the present scheme quickly searches and identifies in the dynamic target layer based on the unique identifier of the dynamic target object, so that the rendering operation is only performed on the existing dynamic target object in the dynamic target layer, avoiding redundant processing and effectively improving the processing efficiency. On this basis, the interpolation point sequence for describing the motion state information of each frame of the to-be-rendered dynamic target object is generated by interpolating the motion state information of the to-be-rendered dynamic target object, effectively making up for the jumping and incoherence caused by the limited frequency of sending dynamic target data in the prior art, significantly improving the continuity and smoothness of the dynamic target object in the motion process, and improving the user's visual experience.

[0073] Further, for the convenience of understanding, the client dynamic target rendering method can also be introduced from the overall framework in conjunction with the accompanying drawings.

[0074] Figure 3A schematic diagram of the overall framework of a client moving target rendering method provided by an embodiment of the present application is shown in FIG. 1. As shown in FIG. 1, the server periodically sends moving target data to the client, and the client performs interpolation calculation on the motion state information contained in the moving target data after receiving the moving target data. Figure 3

[0075] It should be noted that, in the traditional scheme, the main thread needs to complete interpolation calculation before performing rendering operation. For a large number of moving target objects, the time consumption of interpolation calculation accumulates and causes scene lag, which seriously affects user experience. The embodiment of the present application can use multi-thread calculation to perform interpolation calculation on the to-be-rendered moving target object determined based on the moving target data in a sub-thread, generate an interpolation point sequence and store it in a state pool (i.e., the target motion state pool in the above embodiment); the main thread extracts the corresponding target interpolation point from the state pool at regular intervals, updates and renders the moving target object, so as to realize smooth transition display of the moving target object and significantly improve the visual experience of rendering a large number of moving target objects.

[0076] Further, based on the client moving target rendering method provided by the above embodiment, the embodiment of the present application can also provide a client moving target rendering device. The client moving target rendering device will be described below in combination with embodiments and drawings.

[0077] Figure 4 A structural schematic diagram of a client moving target rendering device provided by an embodiment of the present application is shown in FIG. 2. As shown in FIG. 2, the client moving target rendering device 400 provided by the embodiment of the present application includes a moving target layer constructed based on a scene rendering component, and the moving target layer is used to carry moving target objects and can include: Figure 4

[0078] A data acquisition module 401 is configured to acquire moving target data, and the moving target data includes a unique identifier, motion state information and attribute information of the moving target object.

[0079] A rendering object confirmation module 402 is configured to find the moving target object corresponding to the unique identifier in the moving target layer based on the unique identifier of the moving target object, and in the case that the moving target object corresponding to the unique identifier exists in the moving target layer, the moving target object is taken as a to-be-rendered moving target object.

[0080] An interpolation calculation module 403 is configured to perform interpolation calculation on the motion state information of the to-be-rendered moving target object, and generate an interpolation point sequence, which is used to describe the motion state information of each frame of the to-be-rendered moving target object.

[0081] ​​The updating and rendering module 404 is configured to update the motion state information of the dynamic target object to be rendered based on the sequence of interpolation points, and render the dynamic target object to be rendered based on the updated motion state information and the attribute information.

[0082] Optionally, the motion state information includes current position information and target position information of the dynamic target object, and the interpolation calculation module 403 is specifically configured to:

[0083] interpolate the current position information and the target position information of the dynamic target object to be rendered to generate a sequence of interpolation points.

[0084] Optionally, the updating and rendering module 404 is specifically configured to:

[0085] store the sequence of interpolation points in a target motion state pool corresponding to the dynamic target object to be rendered, the target motion state pool being a queue array used to cache the sequence of interpolation points.

[0086] calculate an interpolation point index based on an interpolation point interval and a time difference between a current timestamp and a last update timestamp.

[0087] extract a target interpolation point from the target motion state pool based on the interpolation point index.

[0088] update the motion state information of the dynamic target object to be rendered based on the target interpolation point.

[0089] Optionally, the client-side dynamic target rendering apparatus 400 can include:

[0090] an object creation module configured to, in a case where the dynamic target object corresponding to the unique identifier does not exist in the dynamic target layer, create the dynamic target object corresponding to the unique identifier in the dynamic target layer based on the dynamic target data.

[0091] Optionally, the dynamic target layer includes a plurality of instantiation layers, and the client-side dynamic target rendering apparatus 400 can include:

[0092] a layer creation module configured to add the dynamic target object to a corresponding instantiation layer based on a three-dimensional model used by the dynamic target object.

[0093] Optionally, the layer creation module is specifically configured to:

[0094] add the dynamic target objects using the same three-dimensional model to the same instantiation layer.

[0095] The moving target object in the instantiation layer shares a vertex array, a material, and a texture of the three-dimensional model.

[0096] Optionally, the client moving target rendering apparatus 400 can comprise:

[0097] A sign creation module configured to create a moving target sign for the moving target object in the moving target layer based on the attribute information.

[0098] A sign display module configured to search for a position meeting a display condition in a plurality of preset directions and a preset length range around the moving target object, and display the moving target sign at the position.

[0099] Further, an electronic device is provided, comprising a processor, a memory, and a system bus;

[0100] The processor and the memory are connected through the system bus;

[0101] The memory is configured to store one or more programs, the one or more programs comprising instructions that, when executed by the processor, cause the processor to perform any implementation step of the above client moving target rendering method.

[0102] Further, a computer readable storage medium is provided, the computer readable storage medium storing instructions, when the instructions are run on an electronic device, causing any implementation step of the above client moving target rendering method.

[0103] From the above description of the embodiments, those skilled in the art can clearly understand that all or part of the steps of the above-mentioned embodiment methods can be implemented by means of software plus necessary universal hardware platforms. Based on such an understanding, the technical solutions of the present application can be embodied in the form of a software product, which can be stored in a storage medium, such as a ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions to make a computer device (which can be a personal computer, a server, or a network communication device such as a media gateway, etc.) execute the methods described in the various embodiments or some parts of the embodiments. It should be noted that the various embodiments in the present specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be mutually referred to.

[0104] For the system disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple, and the relevant parts are described in the method part.

[0105] It is also important to note that the use of relational terms such as first and second, and the like, are used solely to distinguish one from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises", "comprising", or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises... a" does not, without more constraints, exclude the existence of additional identical elements in the process, method, article, or apparatus that comprises the element.

[0106] The above description of disclosed embodiments provides enabling concepts for practicing or using the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and generic principles defined herein can be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A client-side moving target rendering method, characterized by, The client includes a dynamic target object layer constructed based on a scene rendering component, the dynamic target object layer is used to carry a dynamic target object, and the method includes the following steps: Obtaining dynamic target object data, the dynamic target object data includes a unique identifier, motion state information and attribute information of the dynamic target object; Based on the unique identifier of the dynamic target object, searching for the dynamic target object corresponding to the unique identifier in the dynamic target object layer, and in the case that the dynamic target object corresponding to the unique identifier exists in the dynamic target object layer, taking the dynamic target object as a to-be-rendered dynamic target object; Performing interpolation calculation on the motion state information of the to-be-rendered dynamic target object to generate an interpolation point sequence, the interpolation point sequence is used to describe the motion state information of each frame of the to-be-rendered dynamic target object; Based on the interpolation point sequence, updating the motion state information of the to-be-rendered dynamic target object, and rendering the to-be-rendered dynamic target object based on the updated motion state information and the attribute information.

2. The method of claim 1, wherein, The motion state information includes current position information and target position information of the dynamic target object, and the interpolation calculation on the motion state information of the to-be-rendered dynamic target object to generate an interpolation point sequence includes: Performing interpolation calculation on the current position information and the target position information of the to-be-rendered dynamic target object to generate an interpolation point sequence.

3. The method of claim 1, wherein, The updating of the motion state information of the to-be-rendered dynamic target object based on the interpolation point sequence includes: Storing the interpolation point sequence into a target motion state pool corresponding to the to-be-rendered dynamic target object, the target motion state pool being a queue array used to cache the interpolation point sequence; Based on an interpolation point interval and a time difference between a current timestamp and a last update timestamp, calculating an interpolation point index; Based on the interpolation point index, extracting a target interpolation point from the target motion state pool; Based on the target interpolation point, updating the motion state information of the to-be-rendered dynamic target object.

4. The method of claim 1, wherein, The method further includes: In the case that the dynamic target object corresponding to the unique identifier does not exist in the dynamic target object layer, creating the dynamic target object corresponding to the unique identifier in the dynamic target object layer based on the dynamic target object data.

5. The method of claim 1, wherein, The dynamic target object layer includes a plurality of instantiation layers, and the method further includes: Based on a three-dimensional model used by the dynamic target object, adding the dynamic target object into a corresponding instantiation layer.

6. The method of claim 5, wherein, The adding of the dynamic target object into the corresponding instantiation layer based on the three-dimensional model used by the dynamic target object includes: Adding the dynamic target objects using the same three-dimensional model into the same instantiation layer; The dynamic target objects in the instantiation layer share a vertex array, a material and a texture of the three-dimensional model.

7. The method of claim 1, wherein, The method further includes: Based on the attribute information, creating a dynamic target tag for the dynamic target object in the dynamic target object layer; The dynamic target marker surrounds the dynamic target object, and searches for a position meeting a display condition in a plurality of preset directions and a range of pulling lengths, and displays the dynamic target marker at the position.

8. A client moving object rendering apparatus, characterized by comprising: The client includes a dynamic target layer constructed based on a scene rendering component, and the dynamic target layer is used to carry a dynamic target object, and includes: A data acquisition module is configured to acquire dynamic target data, the dynamic target data including a unique identifier, motion state information, and attribute information of the dynamic target object; A rendering object confirmation module is configured to, based on the unique identifier of the dynamic target object, search for the dynamic target object corresponding to the unique identifier in the dynamic target layer, and in a case where the dynamic target object corresponding to the unique identifier exists in the dynamic target layer, take the dynamic target object as a to-be-rendered dynamic target object; An interpolation calculation module is configured to perform interpolation calculation on the motion state information of the to-be-rendered dynamic target object to generate an interpolation point sequence, the interpolation point sequence being used to describe the motion state information of each frame of the to-be-rendered dynamic target object; An update rendering module is configured to update the motion state information of the to-be-rendered dynamic target object based on the interpolation point sequence, and render the to-be-rendered dynamic target object based on the updated motion state information and the attribute information.

9. An electronic device, comprising: The device includes a processor, a memory, and a system bus; The processor and the memory are connected through the system bus; The memory is configured to store a program, the program including instructions that, when executed by the processor, cause the processor to perform the steps of the client dynamic target rendering method of any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer readable storage medium is configured to store a computer program, the computer program being executed by a terminal device to implement the steps of the client dynamic target rendering method of any one of claims 1 to 7.