CN116310033A - Rendering method and device, readable storage medium and electronic equipment - Google Patents

Rendering method and device, readable storage medium and electronic equipment Download PDF

Info

Publication number
CN116310033A
CN116310033A CN202310311048.3A CN202310311048A CN116310033A CN 116310033 A CN116310033 A CN 116310033A CN 202310311048 A CN202310311048 A CN 202310311048A CN 116310033 A CN116310033 A CN 116310033A
Authority
CN
China
Prior art keywords
data
rendered
rendering
period
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310311048.3A
Other languages
Chinese (zh)
Inventor
谢超
吴郯
高秋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Lab
Original Assignee
Zhejiang Lab
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Lab filed Critical Zhejiang Lab
Priority to CN202310311048.3A priority Critical patent/CN116310033A/en
Publication of CN116310033A publication Critical patent/CN116310033A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/005General purpose rendering architectures
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Graphics (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Generation (AREA)

Abstract

The specification discloses a rendering method, a device, a readable storage medium and an electronic device, wherein after receiving data to be rendered, target rendering data which is not rendered in the data to be rendered is determined based on the data to be rendered and rendered data in a terminal, and then only the target rendering data is rendered. The requirement on computing resources is reduced, and the rendering efficiency is improved.

Description

Rendering method and device, readable storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of data processing, and in particular, to a rendering method, a rendering device, a readable storage medium, and an electronic apparatus.
Background
With the development of computer technology and the deep integration of services, a terminal renders received data in real time and displays rendering results to a user in real time, so that the terminal has become one of more common terminal application scenes.
At present, when rendering data, a terminal generally needs to receive data to be rendered sent by a server according to a preset time interval, and render the data to be rendered in real time so as to display rendering results to a user in real time.
However, taking the data to be rendered as simulation data as an example, the data to be rendered received by the terminal is generally all data generated by simulation in a period from the moment when the server starts to simulate to the current moment, the corresponding data amount is large, the calculation resources required by rendering are also more, and the rendering efficiency is lower.
Based on this, the present specification provides a rendering method.
Disclosure of Invention
The present disclosure provides a rendering method, apparatus, readable storage medium, and electronic device, so as to partially solve the foregoing problems in the prior art.
The technical scheme adopted in the specification is as follows:
the present specification provides a rendering method, which is applied to a terminal, including:
determining data to be rendered and a first period corresponding to the data to be rendered, wherein the first period is a period between the starting time of the terminal to execute a rendering task and the time of receiving the data to be rendered;
determining rendered data and a second period corresponding to the rendered data, wherein the second period is a period between the starting time of the terminal to execute the rendering task and the time of receiving the rendered data;
determining target rendering data according to the first period and the second period;
and rendering the target rendering data.
Optionally, the method further comprises:
compressing the rendering result of the rendered data, and determining a target area for displaying the rendering result of the target rendering data according to the compression result;
and displaying the rendering result of the target rendering data in the target area.
Optionally, compressing the rendering result of the rendered data, and determining a target area for displaying the rendering result of the target rendering data according to the compression result, which specifically includes:
determining a compression size corresponding to the rendered data according to the ratio of the second period to the first period;
compressing a designated area for displaying the rendering result of the rendered data according to the compression size;
and determining a target area for displaying the rendering result of the target rendering data according to the display area for displaying the rendering result of the data to be rendered and the compressed designated area.
Optionally, the specified region includes a first coordinate system, and the first coordinate system is used for characterizing the time size;
compressing a designated area for displaying a rendering result of the rendered data according to the compression size, wherein the method specifically comprises the following steps:
and compressing a designated area for displaying the rendered data according to the compression size along the direction opposite to the extending direction of the first coordinate system.
Optionally, the data to be rendered has a reference attribute, the reference attribute is a value corresponding to each data in the data to be rendered, and the terminal is configured to display a rendering result of the data to be rendered in a display area according to the reference attribute of the data to be rendered and the first period of the data to be rendered.
Optionally, the display area includes a first coordinate system for characterizing a time of day size and a second coordinate system for characterizing a numerical size of the reference attribute;
the method further comprises the steps of:
determining a first compressed size of the rendered data along the first coordinate system according to a ratio of the second period to the first period;
determining a second compression size of the rendered data along the second coordinate system according to the ratio of the maximum value of the reference attribute of the rendered data to the maximum value of the reference attribute of the data to be rendered;
compressing a designated area for displaying the rendering result of the rendered data according to the first compression size and the second compression size, and determining a target area for displaying the rendering result of the target rendering data according to the display area and the compression result;
and displaying the rendering result of the target rendering data in the target area.
Optionally, the method specifically includes:
and acquiring data to be rendered according to a preset time interval.
The present specification provides a rendering apparatus, which is applied to a terminal, including:
the receiving module is used for determining data to be rendered and a first period corresponding to the data to be rendered, wherein the first period is a period between the starting time of the terminal to execute a rendering task and the time of receiving the data to be rendered;
a first determining module, configured to determine rendered data and a second period corresponding to the rendered data, where the second period is a period between a starting time of the terminal to execute the rendering task and a time of receiving the rendered data;
a second determining module, configured to determine target rendering data according to the first period and the second period;
and the rendering module is used for rendering the target rendering data.
The present specification provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the above-described rendering method.
The present specification provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the above-described rendering method when executing the program.
The above-mentioned at least one technical scheme that this specification adopted can reach following beneficial effect:
after receiving the data to be rendered, determining target rendering data which is not rendered in the data to be rendered based on the data to be rendered and the rendered data in the terminal, and further rendering only the target rendering data. The requirement on computing resources is reduced, and the rendering efficiency is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the specification, illustrate and explain the exemplary embodiments of the present specification and their description, are not intended to limit the specification unduly. In the drawings:
fig. 1 is a schematic flow chart of a rendering method provided in the present specification;
FIG. 2 is a schematic flow chart of determining a target area provided in the present specification;
FIG. 3 is a schematic flow chart of determining a target area provided in the present specification;
fig. 4 is a schematic structural diagram of a rendering device provided in the present specification;
fig. 5 is a schematic view of the electronic device corresponding to fig. 1 provided in the present specification.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the present specification more apparent, the technical solutions of the present specification will be clearly and completely described below with reference to specific embodiments of the present specification and corresponding drawings. It will be apparent that the described embodiments are only some, but not all, of the embodiments of the present specification. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are intended to be within the scope of the present disclosure.
The following describes in detail the technical solutions provided by the embodiments of the present specification with reference to the accompanying drawings.
Generally, in the field of data processing, rendering is generally a process in which a terminal visually displays data to be rendered in real time by using icon types such as a line graph, a scatter graph, and the like after receiving the data to be rendered. The data to be rendered received by the terminal is usually data which is increased continuously with time. The data to be rendered can be a simulation result of modeling simulation software, and can also be flow data received by a terminal.
One common rendering method is that a terminal receives data to be rendered according to a preset time interval, renders the received data to be rendered, and displays rendering results. Wherein for each time interval a corresponding time period is generated, the time interval typically has its corresponding data generated. The data to be rendered received by the terminal is full-volume segment data containing corresponding data volume generated in the time segment corresponding to the last time interval. Taking a preset time interval of 1s as an example, if the terminal receives data to be rendered corresponding to a time period of 0s-1s at 1s, the terminal may receive data to be rendered corresponding to a time period of 0s-2s at 2s.
Obviously, if the time difference between the execution of the rendering task by the terminal and the current time is large, the data amount of the data to be rendered received by the terminal is large, and the computing resources required for rendering are large. And the data to be rendered contains more data which are already rendered by the terminal, so that the terminal consumes more unnecessary computing resources when rendering the data to be rendered, and the rendering efficiency is reduced.
Fig. 1 is a schematic flow chart of a rendering method provided in the present specification, specifically including the following steps:
s100: receiving data to be rendered and a first period corresponding to the data to be rendered, wherein the first period is a period between the starting time of the terminal to execute the rendering task and the time of receiving the data to be rendered.
The embodiment of the specification provides a rendering method, and the execution process of the rendering method can be executed by electronic equipment such as a terminal for rendering and displaying data.
The method is different from the fact that the current terminal directly renders the data to be rendered after receiving the data to be rendered, more calculation resources are needed, the data to be rendered contains the data which the terminal has rendered, the calculation resources are further wasted, and the current rendering efficiency is low.
The present disclosure provides a new rendering method, after receiving data to be rendered, determining target rendering data which is not yet rendered in the data to be rendered based on the data to be rendered and the rendered data in the terminal, and then rendering only the target rendering data. The requirement on computing resources is reduced, and the rendering efficiency is improved.
Based on the above brief description of the rendering method, it can be seen that the rendering method needs to determine target rendering data based on the data to be rendered and the rendered data. Thus, the terminal may determine the data to be rendered.
Specifically, as described above, the server for generating the data to be rendered may transmit the generated data to be rendered to the terminal.
The terminal may then receive the data to be rendered. Wherein, for each data in the data to be rendered, the data carries a time stamp.
Therefore, after receiving the data to be rendered, the server may determine the first period corresponding to the data to be rendered according to the timestamp corresponding to each data included in the data to be rendered. The first period is a period between a starting time of the terminal to execute the rendering task and a time of receiving the data to be rendered. That is, the data to be rendered includes data corresponding to each time between the starting time of the terminal to execute the rendering task and the time of receiving the data to be rendered.
S102: and determining rendered data and a second period corresponding to the rendered data, wherein the second period is a period between the starting time of the terminal to execute the rendering task and the time of receiving the rendered data.
In one or more embodiments provided in the present specification, as mentioned above, the data to be rendered generally includes rendered data, so, in order to avoid that the terminal repeatedly renders the rendered data, there is more wasted computing resources. The terminal can determine target rendering data to render based on the rendered data and the data to be rendered. Based on this, the terminal may determine rendered data.
Specifically, the terminal may determine rendered data from data stored in itself. The rendered data is the data to be rendered received at the last moment before the data to be rendered corresponding to the current moment is received after the terminal executes the rendering task corresponding to the data to be rendered. Taking the example that the first time period corresponding to the data to be rendered at the current moment is 0s-2s, if the preset time interval is 1s, the data to be rendered corresponding to the time period of 0s-1s received by the terminal at the 1 st s is the rendered data of the data to be rendered corresponding to the 0s-2s.
Also, for each of the rendered data, a timestamp may be carried in the data. The server may determine a second period corresponding to the rendered data according to the time stamps corresponding to the data in the rendered data, respectively. Wherein the second period is a period between a start time of the terminal performing a rendering task and a time of receiving the rendered data. That is, the rendered data includes data corresponding to each time from the start time of the terminal performing the rendering task to the time of receiving the rendered data.
S104: and determining target rendering data according to the first time period and the second time period.
In one or more embodiments provided herein, after determining the data to be rendered and the rendered data, the terminal may determine the target rendering data to render according to the data to be rendered and the rendered data. The target rendering data is data which is not yet rendered in the data to be rendered.
Specifically, the terminal may determine, according to the first period corresponding to the data to be rendered and the second period corresponding to the rendered data, data newly added in a period from a time point when the rendered data is received to a time point when the data to be rendered is received. That is, the data included in the first period and outside the second period is data that the terminal has not yet rendered.
The terminal can then use the determined data that has not been rendered by itself as target rendering data.
S106: and rendering the target rendering data.
In one or more embodiments provided herein, after determining the target rendering data, the terminal may render the target rendering data.
Specifically, a rendering component can be arranged in the terminal and used for visualizing and displaying the target rendering data in real time by using icon types such as a line graph, a scatter graph and the like. Then, the terminal can input the target rendering data into a rendering component, and the rendering component renders the target rendering data to obtain a rendering result corresponding to the target rendering data output by the rendering component.
Therefore, the terminal can display the rendering result corresponding to the obtained target rendering data.
Further, the terminal may be provided with a target area for displaying a rendering result corresponding to the target rendering data. Therefore, the terminal can display the rendering result corresponding to the target rendering data in the target area.
It should be noted that, since rendering the data and displaying the data by using the rendering mode is already a mature technology at present, detailed description about what rendering mode is specifically adopted for the terminal and how to render the target rendering data is omitted in the present description.
Based on the rendering method shown in fig. 1, after receiving the data to be rendered, determining target rendering data which is not rendered in the data to be rendered based on the data to be rendered and the rendered data in the terminal, and then rendering only the target rendering data. The requirement on computing resources is reduced, and the rendering efficiency is improved.
In addition, in general, an area for displaying a rendering result may be provided on the terminal. If the terminal is provided with the corresponding display area for each period, as time increases, if the rendering task executed by the terminal in a longer time is the same rendering task, the situation that the rendering result corresponding to the newly increased target rendering data is not displayed in space may occur in the terminal. Therefore, in order to avoid the occurrence of the above situation, the terminal may set a display area for displaying the rendering result corresponding to the data to be rendered.
Specifically, the data to be rendered received by the terminal includes target rendering data and rendered data, and when the terminal renders the rendering data and displays the rendering result of the rendered data, a display area for displaying the data to be rendered is usually paved. The terminal compresses the rendering result of the rendered data to free a target area for displaying the target rendering data.
Then, after determining the target rendering data, the terminal may compress the rendering result of the rendered data. Wherein the terminal can directly compress the rendering result of the rendered data to half of the display area
The terminal may determine a target area for displaying the rendering result of the target rendering data according to the compression result after compressing the rendering result of the rendered data.
Finally, the terminal may display rendering results of the target rendering data in the target area. As shown in fig. 2.
Fig. 2 is a schematic flow chart of determining a target area provided in the present specification. Assuming that the first time period corresponding to the data to be rendered is 0s-2s, and the second time period corresponding to the rendered data is 0s-1s. Thus, the terminal can directly compress the designated area for displaying the rendering result of the rendered data. The terminal may determine the target area based on the presentation area and the compressed designated area. In the figure, the upper image is an original designated area, and the lower image includes a target area, specifically, a shadow area in the lower image, and a compressed designated area.
Further, since the data amount of the target rendering data determined by the terminal is not fixed, if the rendering result of the rendered data is directly compressed to be half of the display area, a situation may occur in which the ratio of the rendering result of the target rendering data to the rendering result of the rendered data is different. For example, in one half of the display area, the rendering results corresponding to the rendered data of 0s-2s are displayed, and in the other half of the display area, the rendering results corresponding to the target rendering data of 3s-8s are displayed.
Accordingly, when compressing the rendering result of the rendered data according to the first period and the second period, the server may compress the rendering result of the rendered data based on the ratio of the first period and the second period.
Specifically, the terminal may determine a ratio of the second period to the first period.
The terminal may then determine a compressed size corresponding to the rendered data based on the ratio.
Finally, the terminal may compress a designated area for displaying a rendering result of the rendered data according to the compression size.
That is, the designated area is the entire presentation area before receiving the data to be rendered.
After the data to be rendered is received and the first time period and the second time period are determined, the ratio of the designated area to the display area is the ratio of the second time period to the first time period.
Then, the terminal may determine a target area for displaying a rendering result of the target rendering data according to the display area and the designated area after determining the designated area. As shown in fig. 3.
Fig. 3 is a schematic flow chart of determining a target area provided in the present specification. Assuming that the first time period corresponding to the data to be rendered is 0s-3s, and the second time period corresponding to the rendered data is 0s-2s. Accordingly, the terminal may compress a designated area for displaying a rendering result of the rendered data according to a ratio of the second period to the first period. The terminal may determine the target area based on the presentation area and the compressed designated area. In the figure, the upper image is an original designated area, and the lower image includes a target area, specifically, a shadow area in the lower image, and a compressed designated area.
Further, in general, the display area for displaying the rendering result set in the terminal is generally a two-dimensional area. This means that at least a first coordinate system for characterizing the time of day can be provided in the display area. Therefore, the server can compress the display area along the direction of the first coordinate system when compressing the designated area based on the first period and the second period.
Specifically, the server may determine the direction of the first coordinate system, and compress the designated area along the direction opposite to the extending direction of the first coordinate system according to the determined compression size.
In addition, the data to be rendered received by the terminal can be a simulation result. The simulation result may be a specific functional image. For the simulation result, besides the characteristic that the simulation results corresponding to the time periods are not identical, the specific numerical value corresponding to the simulation result can be used for representing the trend of the simulation result or the image formed by the simulation result. Therefore, the data to be rendered may further have a reference attribute, where the reference attribute is a specific value corresponding to each data in the data to be rendered, and the reference attribute corresponding to each data in the data to be rendered may be used to execute other services.
The server may then present the data to be rendered within a presentation area according to the first period of time and the reference attribute of the data to be rendered.
Further, if the value of the reference attribute of the data to be rendered is too high, there may be a case that the data to be rendered cannot be displayed in the display area. In order to avoid this, a second coordinate system for characterizing the numerical value of the reference attribute may also be provided in the designated area.
Then, after determining the target rendering data, the server may determine a first compressed size corresponding to the rendered data according to a ratio of the second period to the first period in a direction of the first coordinate system.
Meanwhile, in the direction of a second coordinate system, the server can determine a second compression size corresponding to the rendered data according to the ratio of the maximum value of the reference attribute of the rendered data to the maximum value of the reference attribute of the data to be rendered;
thus, the server can compress the designated area according to the first compression size and the second compression size.
Furthermore, in order to avoid that the terminal needs to render more target rendering data at one time, the terminal is down due to too high computing resources, the terminal can acquire the data to be rendered from a server for generating the data to be rendered according to a preset time interval, and determine a first period corresponding to the data to be rendered according to time stamps corresponding to each data in the data to be rendered.
Based on the same thought, the present specification also provides a rendering device, as shown in fig. 4.
Fig. 4 is a rendering device provided in the present specification, where the device is applied to a terminal, and the method includes:
the receiving module 200 is configured to determine data to be rendered and a first period corresponding to the data to be rendered, where the first period is a period between a time when the terminal starts to perform a rendering task and a time when the data to be rendered is received.
A first determining module 202, configured to determine rendered data and a second period corresponding to the rendered data, where the second period is a period between a starting time of the terminal to execute the rendering task and a time of receiving the rendered data.
A second determining module 204, configured to determine target rendering data according to the first period and the second period.
And a rendering module 208, configured to render the target rendering data.
Optionally, the second determining module 204 is configured to compress the rendering result of the rendered data, determine a target area for displaying the rendering result of the target rendering data according to the compression result, and display the rendering result of the target rendering data in the target area.
Optionally, the second determining module 204 is configured to determine a compression size corresponding to the rendered data according to a ratio of the second period to the first period, compress a designated area for displaying a rendering result of the rendered data according to the compression size, and determine a target area for displaying a rendering result of the target rendering data according to a display area for displaying a rendering result of the data to be rendered and the compressed designated area.
Optionally, the specified area includes a first coordinate system, where the first coordinate system is used to characterize a time of day size, and the second determining module 204 is configured to compress, according to the compression size, the specified area for displaying the rendered data along a direction opposite to the extension direction of the first coordinate system.
Optionally, the data to be rendered has a reference attribute, the reference attribute is a value corresponding to each data in the data to be rendered, and the terminal is configured to display a rendering result of the data to be rendered in a display area according to the reference attribute of the data to be rendered and the first period of the data to be rendered.
Optionally, the display area includes a first coordinate system for characterizing a time of day size and a second coordinate system for characterizing a numerical size of the reference attribute; a second determining module 204, configured to determine a first compression size of the rendered data along the first coordinate system according to a ratio of the second period to the first period, determine a second compression size of the rendered data along the second coordinate system according to a ratio of a maximum value of a reference attribute of the rendered data to a maximum value of a reference attribute of the data to be rendered, compress a designated area for displaying a rendering result of the rendered data according to the first compression size and the second compression size, and determine a target area for displaying the rendering result of the target rendering data according to the display area and the compression result, and display the rendering result of the target rendering data in the target area.
Optionally, the receiving module is configured to obtain the data to be rendered according to a preset time interval.
The present specification also provides a computer-readable storage medium storing a computer program operable to perform the rendering method provided in fig. 1 described above.
The present specification also provides a schematic structural diagram of the electronic device shown in fig. 5. At the hardware level, the electronic device includes a processor, an internal bus, a network interface, a memory, and a non-volatile storage, as illustrated in fig. 5, although other hardware required by other services may be included. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs to implement the rendering method described above with respect to fig. 1. Of course, other implementations, such as logic devices or combinations of hardware and software, are not excluded from the present description, that is, the execution subject of the following processing flows is not limited to each logic unit, but may be hardware or logic devices.
In the 90 s of the 20 th century, improvements to one technology could clearly be distinguished as improvements in hardware (e.g., improvements to circuit structures such as diodes, transistors, switches, etc.) or software (improvements to the process flow). However, with the development of technology, many improvements of the current method flows can be regarded as direct improvements of hardware circuit structures. Designers almost always obtain corresponding hardware circuit structures by programming improved method flows into hardware circuits. Therefore, an improvement of a method flow cannot be said to be realized by a hardware entity module. For example, a programmable logic device (Programmable Logic Device, PLD) (e.g., field programmable gate array (Field Programmable Gate Array, FPGA)) is an integrated circuit whose logic function is determined by the programming of the device by a user. A designer programs to "integrate" a digital system onto a PLD without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Moreover, nowadays, instead of manually manufacturing integrated circuit chips, such programming is mostly implemented by using "logic compiler" software, which is similar to the software compiler used in program development and writing, and the original code before the compiling is also written in a specific programming language, which is called hardware description language (Hardware Description Language, HDL), but not just one of the hdds, but a plurality of kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), lava, lola, myHDL, PALASM, RHDL (Ruby Hardware Description Language), etc., VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog are currently most commonly used. It will also be apparent to those skilled in the art that a hardware circuit implementing the logic method flow can be readily obtained by merely slightly programming the method flow into an integrated circuit using several of the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer readable medium storing computer readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable logic controllers, and embedded microcontrollers, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, atmel AT91SAM, microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic of the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller in a pure computer readable program code, it is well possible to implement the same functionality by logically programming the method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers, etc. Such a controller may thus be regarded as a kind of hardware component, and means for performing various functions included therein may also be regarded as structures within the hardware component. Or even means for achieving the various functions may be regarded as either software modules implementing the methods or structures within hardware components.
The system, apparatus, module or unit set forth in the above embodiments may be implemented in particular by a computer chip or entity, or by a product having a certain function. One typical implementation is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being functionally divided into various units, respectively. Of course, the functions of each element may be implemented in one or more software and/or hardware elements when implemented in the present specification.
It will be appreciated by those skilled in the art that embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, the present specification may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present description can take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present description is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the specification. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable lesion detection device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable lesion detection device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable lesion detection device to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that 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 may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
It will be appreciated by those skilled in the art that embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, the present specification may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present description can take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments.
The foregoing is merely exemplary of the present disclosure and is not intended to limit the disclosure. Various modifications and alterations to this specification will become apparent to those skilled in the art. Any modifications, equivalent substitutions, improvements, or the like, which are within the spirit and principles of the present description, are intended to be included within the scope of the claims of the present description.

Claims (10)

1. A rendering method, wherein the rendering method is applied to a terminal, the method comprising:
determining data to be rendered and a first period corresponding to the data to be rendered, wherein the first period is a period between the starting time of the terminal to execute a rendering task and the time of receiving the data to be rendered;
determining rendered data and a second period corresponding to the rendered data, wherein the second period is a period between the starting time of the terminal to execute the rendering task and the time of receiving the rendered data;
determining target rendering data according to the first period and the second period;
and rendering the target rendering data.
2. The method of claim 1, wherein the method further comprises:
compressing the rendering result of the rendered data, and determining a target area for displaying the rendering result of the target rendering data according to the compression result;
and displaying the rendering result of the target rendering data in the target area.
3. The method of claim 2, wherein compressing the rendering result of the rendered data and determining a target area for displaying the rendering result of the target rendering data according to the compression result, comprises:
determining a compression size corresponding to the rendered data according to the ratio of the second period to the first period;
compressing a designated area for displaying the rendering result of the rendered data according to the compression size;
and determining a target area for displaying the rendering result of the target rendering data according to the display area for displaying the rendering result of the data to be rendered and the compressed designated area.
4. A method as claimed in claim 3, wherein the designated area comprises a first coordinate system, the first coordinate system being used to characterize a time of day size;
compressing a designated area for displaying a rendering result of the rendered data according to the compression size, wherein the method specifically comprises the following steps:
and compressing a designated area for displaying the rendered data according to the compression size along the direction opposite to the extending direction of the first coordinate system.
5. The method of claim 1, wherein the data to be rendered has a reference attribute, the reference attribute is a value corresponding to each data in the data to be rendered, and the terminal is configured to display a rendering result of the data to be rendered in a display area according to the reference attribute of the data to be rendered and the first period of the data to be rendered.
6. The method of claim 5, wherein the presentation area comprises a first coordinate system for characterizing a time of day size and a second coordinate system for characterizing a numerical size of the reference attribute;
the method further comprises the steps of:
determining a first compressed size of the rendered data along the first coordinate system according to a ratio of the second period to the first period;
determining a second compression size of the rendered data along the second coordinate system according to the ratio of the maximum value of the reference attribute of the rendered data to the maximum value of the reference attribute of the data to be rendered;
compressing a designated area for displaying the rendering result of the rendered data according to the first compression size and the second compression size, and determining a target area for displaying the rendering result of the target rendering data according to the display area and the compression result;
and displaying the rendering result of the target rendering data in the target area.
7. The method according to claim 1, wherein determining data to be rendered, in particular comprises:
and acquiring data to be rendered according to a preset time interval.
8. A rendering apparatus, the apparatus being applied to a terminal, the apparatus comprising:
the receiving module is used for determining data to be rendered and a first period corresponding to the data to be rendered, wherein the first period is a period between the starting time of the terminal to execute a rendering task and the time of receiving the data to be rendered;
a first determining module, configured to determine rendered data and a second period corresponding to the rendered data, where the second period is a period between a starting time of the terminal to execute the rendering task and a time of receiving the rendered data;
a second determining module, configured to determine target rendering data according to the first period and the second period;
and the rendering module is used for rendering the target rendering data.
9. A computer readable storage medium storing a computer program, characterized in that the computer program, when executed by a processor, implements the method of any of the preceding claims 1-7.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any of the preceding claims 1-7 when executing the program.
CN202310311048.3A 2023-03-22 2023-03-22 Rendering method and device, readable storage medium and electronic equipment Pending CN116310033A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310311048.3A CN116310033A (en) 2023-03-22 2023-03-22 Rendering method and device, readable storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310311048.3A CN116310033A (en) 2023-03-22 2023-03-22 Rendering method and device, readable storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN116310033A true CN116310033A (en) 2023-06-23

Family

ID=86814881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310311048.3A Pending CN116310033A (en) 2023-03-22 2023-03-22 Rendering method and device, readable storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN116310033A (en)

Similar Documents

Publication Publication Date Title
CN110496395B (en) Component operation method, system and equipment for illusion engine
CN113672323A (en) Page display method and device
CN107766703B (en) Watermark adding processing method and device and client
CN116048977B (en) Test method and device based on data reduction
CN116302616A (en) Data processing method and device, storage medium and electronic equipment
CN112528614A (en) Table editing method and device and electronic equipment
CN116245051A (en) Simulation software rendering method and device, storage medium and electronic equipment
CN116310033A (en) Rendering method and device, readable storage medium and electronic equipment
CN116136952A (en) Simulation test method and device for components
CN115061618A (en) Method and device for displaying list data in sliding mode and electronic equipment
CN112000329B (en) Data display method, device, equipment and medium
CN111177609B (en) Processing method and device for displaying three-dimensional data table in page and electronic equipment
CN108734556A (en) Recommend the method and device of application
CN111967769B (en) Risk identification method, apparatus, device and medium
CN111209062B (en) Information acquisition method, information acquisition device, electronic equipment and computer storage medium
CN112698882A (en) Page component loading method and device
CN117455015B (en) Model optimization method and device, storage medium and electronic equipment
CN116975485A (en) Lazy loading method, lazy loading device, lazy loading storage medium and lazy loading equipment for page blocks
CN117173321B (en) Method and device for selecting three-dimensional reconstruction texture view
CN110018872A (en) A kind of PUSH message treating method and apparatus
CN110502551A (en) Data read-write method, system and infrastructure component
CN117152040B (en) Point cloud fusion method and device based on depth map
CN115827310B (en) Information verification method and device, storage medium and electronic equipment
CN116028697B (en) Page rendering method and device, storage medium and electronic equipment
CN116881724B (en) Sample labeling method, device and equipment

Legal Events

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