CN113313804A - Image rendering method and device, electronic equipment and storage medium - Google Patents

Image rendering method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113313804A
CN113313804A CN202110697319.4A CN202110697319A CN113313804A CN 113313804 A CN113313804 A CN 113313804A CN 202110697319 A CN202110697319 A CN 202110697319A CN 113313804 A CN113313804 A CN 113313804A
Authority
CN
China
Prior art keywords
rendering
image
information
target image
calculation function
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.)
Granted
Application number
CN202110697319.4A
Other languages
Chinese (zh)
Other versions
CN113313804B (en
Inventor
陈衡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202110697319.4A priority Critical patent/CN113313804B/en
Publication of CN113313804A publication Critical patent/CN113313804A/en
Application granted granted Critical
Publication of CN113313804B publication Critical patent/CN113313804B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/20Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2219/00Indexing scheme for manipulating 3D models or images for computer graphics
    • G06T2219/20Indexing scheme for editing of 3D models
    • G06T2219/2012Colour editing, changing, or manipulating; Use of colour codes
    • 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)
  • Architecture (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The embodiment of the invention discloses an image rendering method, an image rendering device, electronic equipment and a storage medium; the embodiment of the invention can obtain a rendering code file corresponding to a target image effect, analyze the rendering code file to obtain rendering information and a rendering parameter calculation function corresponding to the target image effect, call the rendering parameter calculation function, calculate an image rendering parameter corresponding to the target image effect based on the rendering information, and perform image rendering based on the image rendering parameter to obtain an image with the target image effect; therefore, the requirements on storage resources, transmission resources and computing resources can be reduced, the image rendering cost is saved, and the image rendering speed is increased.

Description

Image rendering method and device, electronic equipment and storage medium
Technical Field
The invention relates to the field of image processing, in particular to an image rendering method, an image rendering device, electronic equipment and a storage medium.
Background
With the rapid development of science and technology, the hardware capability of electronic equipment is more and more powerful, the size of a display screen is larger, users need better visual experience, and images such as static pictures, high-definition large pictures and dynamic pictures are more and more common on rendering electronic equipment.
Currently, when an image is rendered on an electronic device, the image is generally stored in a network server or locally, and then the image is loaded and rendered according to an image rendering request of the electronic device. The method for obtaining the image data stream and then decoding and rendering the image data stream puts requirements on image storage resources, data transmission resources, computing resources when the data are converted into images and the like, and increases the use cost of the resources.
Disclosure of Invention
The embodiment of the invention provides an image rendering method, an image rendering device, electronic equipment and a storage medium, which can reduce the requirements on storage resources, transmission resources and computing resources, save the image rendering cost and improve the image rendering speed.
The embodiment of the invention provides an image rendering method, which comprises the following steps:
acquiring a rendering code file corresponding to a target image effect;
analyzing the rendering code file to obtain rendering information and a rendering parameter calculation function corresponding to the target image effect;
calling the rendering parameter calculation function, and calculating the image rendering parameters corresponding to the target image effect based on the rendering information;
and rendering the image based on the image rendering parameters to obtain the image with the target image effect.
Accordingly, an embodiment of the present invention provides an image rendering apparatus, including:
the file acquisition unit is used for acquiring a rendering code file corresponding to the target image effect;
the file analysis unit is used for analyzing the rendering code file to obtain rendering information and a rendering parameter calculation function corresponding to the target image effect;
the parameter calculation unit is used for calling the rendering parameter calculation function and calculating the image rendering parameters corresponding to the target image effect based on the rendering information;
and the image rendering unit is used for rendering the image based on the image rendering parameters to obtain the image with the target image effect.
Optionally, the file analyzing unit is configured to analyze the rendering code file to obtain a character string in a preset format;
and analyzing the character string to obtain rendering information and a rendering parameter calculation function corresponding to the target image effect.
Optionally, the rendering information includes rendering position information, rendering size information, and rendering color information, the rendering parameter calculation function includes a position calculation function, a size calculation function, and a color calculation function, and the parameter calculation unit is configured to call the position calculation function and calculate, based on the rendering position information, a rendering position parameter corresponding to the target image effect;
calling the size calculation function, and calculating rendering size parameters corresponding to the target image effect based on the rendering size information;
calling the color calculation function, and calculating rendering color parameters corresponding to the target image effect based on the rendering color information;
and obtaining an image rendering parameter corresponding to the target image effect based on the rendering position parameter, the rendering size parameter and the rendering color parameter.
Optionally, the image rendering unit is configured to determine an image rendering boundary with the target image effect based on the rendering position parameter and the rendering size parameter;
determining an image display range based on the image rendering boundary;
and rendering the image in the image display range based on the rendering color parameter to obtain the image with the target image effect.
Optionally, the file parsing unit is configured to parse the rendering code file to obtain rendering time information, rendering information, and a rendering parameter calculation function corresponding to the target image effect;
correspondingly, the parameter calculating unit is configured to invoke the rendering parameter calculating function, and calculate the image rendering parameter corresponding to the target image effect based on the rendering time information and the rendering information.
Optionally, the file obtaining unit further includes a target image effect determining unit, configured to obtain an image rendering request, where the image rendering request includes a target image effect identifier;
and determining a target image effect corresponding to the target image effect identifier based on the corresponding relation between the preset image effect identifier and the image effect.
Optionally, the image rendering apparatus further includes an operation information generating unit, configured to generate operation information in response to a trigger operation input by a user;
correspondingly, the parameter calculating unit is configured to call the rendering parameter calculating function, and calculate the image rendering parameter corresponding to the target image effect according to the rendering information and the operation information.
Correspondingly, the embodiment of the invention also provides the electronic equipment, which comprises a memory and a processor; the memory stores an application program, and the processor is used for running the application program in the memory to execute the steps in any image rendering method provided by the embodiment of the invention.
In addition, the embodiment of the present invention further provides a storage medium, where the storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to perform the steps in any one of the image rendering methods provided by the embodiments of the present invention.
By adopting the scheme of the embodiment of the invention, the rendering code file corresponding to the target image effect can be obtained, the rendering code file is analyzed to obtain the rendering information and the rendering parameter calculation function corresponding to the target image effect, the rendering parameter calculation function is called, the image rendering parameter corresponding to the target image effect is calculated based on the rendering information, and the image rendering is carried out based on the image rendering parameter to obtain the image with the target image effect; according to the embodiment of the invention, the rendering information and the rendering parameter calculation function required by image rendering are stored in the rendering code file, when the image is required to be rendered, the image file is not required to be obtained for rendering, and only the rendering code file occupying less storage resources, transmission resources and the like is required to be obtained, so that the requirements on the storage resources, the transmission resources and the calculation resources can be reduced, the image rendering cost is saved, and the image rendering speed is increased.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a scene schematic diagram of an image rendering method according to an embodiment of the present invention;
FIG. 2 is a flowchart of an image rendering method according to an embodiment of the present invention;
FIG. 3 is another flowchart illustrating an image rendering method according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an image rendering apparatus according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of an image rendering apparatus according to an embodiment of the present invention;
FIG. 6 is a diagram illustrating an image rendering module in a terminal according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides an image rendering method, an image rendering device, electronic equipment and a storage medium. Specifically, the embodiment of the present invention provides an image rendering method suitable for an image rendering apparatus, which may be integrated in an electronic device.
The electronic device may be a terminal or other devices, including but not limited to a mobile terminal and a fixed terminal, for example, the mobile terminal includes but is not limited to a smart phone, a smart watch, a tablet computer, a notebook computer, a smart car, and the like, wherein the fixed terminal includes but is not limited to a desktop computer, a smart appliance such as a smart television, and the like.
The electronic device may also be a device such as a server, and the server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a network service, cloud communication, middleware service, a domain name service, a security service, a CDN, and a big data and artificial intelligence platform, but is not limited thereto.
The image rendering method of the embodiment of the invention can be realized by a terminal, and can also be realized by the terminal and a server together.
The method is described below by taking an example in which the terminal and the server implement the image rendering method together.
As shown in fig. 1, an image rendering system provided by the embodiment of the present invention includes a terminal 10, a server 20, and the like; the terminal 10 and the server 20 are connected via a network, for example, a wired or wireless network connection, wherein the terminal 10 may exist as a terminal for sending an image rendering request to the server 20.
Among them, the terminal 10 may be a terminal generating an image rendering request for transmitting the image rendering request to the server 20.
The server 20 may be configured to store a rendering code file, and after receiving the image rendering request sent by the terminal 10, may send the rendering code file corresponding to the image rendering request to the terminal 10 according to the image rendering request.
The terminal 10 may be configured to obtain a rendering code file corresponding to a target image effect, parse the rendering code file to obtain rendering information and a rendering parameter calculation function corresponding to the target image effect, call the rendering parameter calculation function, calculate an image rendering parameter corresponding to the target image effect based on the rendering information, and perform image rendering based on the image rendering parameter to obtain an image with the target image effect.
After obtaining the image having the target effect, the terminal 10 may display the image having the target image effect.
The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
The embodiment of the present invention will be described from the perspective of an image rendering apparatus, which may be specifically integrated in a terminal.
As shown in fig. 2, a specific flow of the image rendering method of the present embodiment may be as follows:
201. and acquiring a rendering code file corresponding to the target image effect.
The target image effect may be an image that the user specifies to be displayed on the terminal and/or a rendering effect that the image has, for example, image a in image A, B, C may be specified by the user to be displayed on the terminal while setting a special effect of adding a lighting effect to an edge of the image for image a, an image a whose edge has a lighting effect, and so on.
Alternatively, the target image effect may be an image displayed on the image and/or a rendering effect that the image has set by the technician, for example, the technician may set that after the terminal does not receive any trigger operation for 3 minutes, the dynamic image a is displayed in a preset image display area of the terminal, the target image effect is the dynamic image a is displayed in the preset image display area, and so on.
In some examples of the embodiment of the present invention, the rendering code file may be a code file written by a technician according to an image rendering requirement, and it may be understood that the rendering code file may include not only program codes that can be executed, but also rendering information that is required when an image is rendered, and the like.
In the actual use process, a corresponding rendering code file can be set for each image effect, and after a target image effect is determined from multiple image effects, the rendering code file corresponding to the target image effect can be acquired. That is, before the step "obtaining the rendering code file corresponding to the target image effect", the image rendering method provided in the embodiment of the present invention further includes:
acquiring an image rendering request, wherein the image rendering request comprises a target image effect identifier;
and determining the target image effect corresponding to the target image effect identifier based on the corresponding relation between the preset image effect identifier and the image effect.
The image rendering request can be triggered by the operation of a user or generated by the terminal. For example, the image rendering request may be generated by operation triggering such as clicking and sliding by a user, or the image rendering request may be automatically generated by the terminal at set time intervals when a technician sets a certain target image effect to be displayed at fixed time, and so on.
In some alternative embodiments, the image effect identifier may be a mark that serves as an identifier for the image effect, for example, the image effect identifier may be a name corresponding to a different image effect, for example, the image identifier may be "image B with a luminous effect at an image edge", or the image effect identifier may be a preset label corresponding to a different image effect, for example, the image effect of "image B with a luminous effect at an image edge" may be preset to be effect 1, "image C with a luminous effect at an image edge" may be preset to be effect 2, and then the image identifier may be 1, 2, and so on.
For example, the technician may preset the correspondence between the image effect identifier and the image effect to be: the image effect of the "image B with a light-emitting effect at an image edge" is effect 1, the image effect of the "image C with a light-emitting effect at an image edge" is effect 2, the image effect of displaying the moving image a in the preset image display area is effect 3, the target image effect identifier in the image rendering request is 3, the target image effect may be determined to be displaying the moving image a in the preset image display area according to 3, and so on.
It is understood that the rendering code file corresponding to the target image effect may be one file, for example, the image effect of the image B with the light-emitting effect at the edge of the image corresponds to only one rendering code file, or the rendering code file corresponding to the target image effect may also be two or more files, for example, the image effect of the image B with the light-emitting effect at the edge of the image may correspond to the rendering code file of one image B and the rendering code file with the light-emitting effect at the edge of the image, respectively, and so on.
That is, the image effect may be split, and when the rendering code file is determined, at least two corresponding code files may be determined according to the target image effect, so as to further save storage resources of the rendering code file. For example, a first rendering code file corresponding to an image and a second rendering code file corresponding to other effects may be set. Step 201 may include: and acquiring a first rendering code file and a second rendering code file corresponding to the target image effect.
For example, image a corresponds to a first rendering code file a, image B corresponds to a first rendering code file B, image edges having a lighting effect correspond to a second rendering code file 1, and image edges having a blinking effect correspond to a second rendering code file 2. When it is determined that the target image effect is an image B whose image edge has a lighting effect, the first rendering code file B and the second rendering code file 1 are acquired, and so on. By combining the rendering code files, each target image effect does not need to correspond to one rendering code file, the requirements on storage resources, transmission resources and computing resources are further reduced, and the image rendering cost is saved.
202. And analyzing the rendering code file to obtain rendering information and a rendering parameter calculation function corresponding to the target image effect.
The rendering information may be information required in the image rendering process, such as which range, which position, what time point and/or what color is displayed in the display area of the terminal, and the like.
The rendering parameter calculation function may be a function that calculates an image rendering parameter required in an image rendering process based on the rendering information. For example, the rendering information may be information of which range, which position, what time point, and/or what color is displayed in a display area of the terminal, and the rendering information may be converted into specific rendering parameters through calculation of a rendering parameter calculation function, and the terminal may implement image rendering according to the obtained rendering parameters.
Specifically, the process of analyzing the rendering code file may be a process of performing operations such as file stream reading and storing on the obtained rendering code file by the terminal. For example, the terminal may download a rendering code file corresponding to the target image effect from the server, and the process of parsing the rendering code file may include: and reading the content in the rendering code file stored in the terminal disk after downloading through a byte input stream technology, such as an inputstream technology in Java, storing the read content in a memory of the terminal, and the like.
In some optional examples, the rendering information and the rendering parameter calculation function may be subfiles of the rendering code file, respectively, and the rendering information and the rendering parameter calculation function corresponding to the target image effect may be obtained by parsing the subfiles of the rendering code file.
In other optional examples, the rendering information and the rendering parameter calculation function may be stored in the same code file, and at this time, the character string parsed from the code file needs to be further parsed to obtain the rendering information and the rendering parameter calculation function corresponding to the target image effect. That is, step 202, may include:
analyzing the rendering code file to obtain a character string in a preset format;
and analyzing the character string to obtain rendering information and a rendering parameter calculation function corresponding to the target image effect.
The process of parsing the character string may be a process of dividing the character string according to a marker in the character string, for example, identification information or a keyword may be set for the rendering information and the rendering parameter calculation function, and when the character string is read, the read content may be determined as the rendering information or the rendering parameter calculation function according to the read identification information and/or the read keyword.
For example, in the actual use process, the codes of the functions may be calculated in advance for different rendering parameters, different program class names may be set according to different calculation functions, the functions may be calculated according to different class names and different rendering parameters at the parsing position when the character string is parsed, and the like.
It can be understood that the character string may be a character string obtained by reading a character in a rendering code file, and because a code in the rendering code file is written after a developer selects an image rendering interface and a program language for image rendering according to an image rendering requirement, the code in the rendering code file should be in a code form required by a review language specification, an interface specification, and the like, a format of the character string may be understood as a format in which the character in the character string also meets a preset requirement.
For example, a technician may use an OpenGL (Open Graphics Library) interface and a GLSL (OpenGL rendering Language), the format of the string should be a format that satisfies the OpenGL and GLSL specifications, and so on.
203. And calling a rendering parameter calculation function, and calculating an image rendering parameter corresponding to the target image effect based on the rendering information.
In some optional examples, the rendering information may include rendering position information, rendering size information, and rendering color information, and the rendering parameter calculation function may include a position calculation function, a size calculation function, and a color calculation function.
Correspondingly, the step of invoking a rendering parameter calculation function and calculating an image rendering parameter corresponding to the target image effect based on the rendering information may specifically include:
calling a position calculation function, and calculating rendering position parameters corresponding to the target image effect based on the rendering position information;
calling a size calculation function, and calculating rendering size parameters corresponding to the target image effect based on the rendering size information;
calling a color calculation function, and calculating rendering color parameters corresponding to the target image effect based on the rendering color information;
and obtaining an image rendering parameter corresponding to the target image effect based on the rendering position parameter, the rendering size parameter and the rendering color parameter.
The rendering position information is information for determining an image rendering position in an image rendering process, and may be, for example, which position of a center point of an image is in a display area of the terminal, and the like. The position calculation function may be a function that calculates a rendering position parameter indicating a rendering position of the image during the image rendering process based on the rendering position information.
The rendering size information is information for determining a rendering size of the image during the image rendering process, and may be, for example, determining a size of the image, or the like. The size calculation function may be a function that calculates a rendering size parameter indicating a rendering size of the image during the image rendering process based on the rendering position information.
For example, the rendering size information may be determined according to the model of the terminal (e.g., mobile phone, smart tv, etc.), such as the same moving picture, the display size on the mobile phone may be 300 × 500 pixels, and the display size on the smart tv may be 1080 × 2000 pixels, and so on.
The rendering color information is information for determining an image rendering position during image rendering, and may be, for example, which position of a center point of an image is in a display area of the terminal. The color calculation function may be a function of calculating a rendering color parameter indicating a rendering color of the image during the image rendering process based on the rendering position information.
For example, the rendering color information may indicate which color a certain pixel in the image is, or indicate which regions in the image are, and so on.
In some specific embodiments, the rendering position parameter, the rendering size parameter, and the rendering color parameter may be directly used as the image rendering parameter, or the image rendering parameter may be generated after determining the corresponding relationship among the position, size, and color of the image according to the rendering position parameter, the rendering size parameter, and the rendering color parameter, and so on. For example, the correspondence between the position, size, and color of the image may be that the center point of the image is the center of the circle, a circle of radius 10 pixels is red, and so on.
In the practical application process, a dynamic image can be displayed on the terminal, or the image is refreshed at regular time, or the image displayed on the terminal is replaced at regular time, and the like, so that time-related information can be further included in the rendering code file. That is, the step of "analyzing the rendering code file to obtain the rendering information and the rendering parameter calculation function corresponding to the target image effect" may include:
analyzing the rendering code file to obtain rendering time information, rendering information and a rendering parameter calculation function corresponding to the target image effect;
correspondingly, the step of invoking the rendering parameter calculation function and calculating the image rendering parameter corresponding to the target image effect based on the rendering information may include:
and calling a rendering parameter calculation function, and calculating the image rendering parameters corresponding to the target image effect based on the rendering time information and the rendering information.
Wherein the rendering time information is time information related to image rendering. For example, the rendering time information may be how often the rendering parameter calculation function is called again at specific intervals, and the image rendering parameters are calculated to re-render the image, or the rendering time information may be how often the image is re-rendered based on the obtained image rendering parameters, or the rendering time information may be the total time of displaying the rendered image by the terminal, or the rendering time information may be a time parameter related to a variable in the rendering parameter calculation function, and the rendering parameter calculation function needs to calculate the rendering parameter corresponding to the rendering time information according to the rendering time information, and so on.
For example, the technician may read the following code statement "uniform float iTime; "define time parameter, in the rendering parameter calculation function, may include the following code statement" float time ═ iTime ═ 25; "," from + ═ vec3(time 2, time-2.); "and the like, and establishes an association relationship between the rendering parameters and the rendering time information.
In an actual use process, an image with a target image effect may be rendered according to an operation behavior of a user on a terminal, that is, the image rendering method provided in the embodiment of the present invention may further include:
generating operation information in response to a trigger operation input by a user;
correspondingly, the step of invoking the rendering parameter calculation function and calculating the image rendering parameter corresponding to the target image effect based on the rendering information may include:
and calling a rendering parameter calculation function, and calculating the image rendering parameters corresponding to the target image effect according to the rendering information and the operation information.
The operation information may be a click, a slide, a long press, and the like of the user, for example, the click position of the user may be used as the rendering position of the image, or a new image rendering position may be determined according to the click position of the user and a preset image rendering position, and the like.
For another example, different frames of the moving image may be displayed according to the sliding operation of the user, for example, the moving image is a flickering star, and a star at different positions in the moving image may be displayed according to the sliding operation of the user.
204. And performing image rendering based on the image rendering parameters to obtain an image with a target image effect.
As shown in fig. 6, an image rendering module specially implementing an image rendering function may be disposed in the terminal, and the image rendering module may include a parsing module and a rendering module, where the parsing module may perform step 202 and step 203, and the rendering module may perform step 204.
In some alternative embodiments, step 204 may include:
determining an image rendering boundary with a target image effect based on the rendering position parameter and the rendering size parameter;
determining an image display range based on the image rendering boundary;
and performing image rendering in the image display range based on the rendering color parameters to obtain an image with a target image effect.
The image rendering boundary may be an image rendering boundary point, an image rendering boundary line, or the like. If the image rendering boundary is an image rendering boundary point, the step "determining an image display range based on the image rendering boundary" may include:
and connecting the image rendering boundary points, and determining the range determined by the connected image rendering boundary points as an image display range.
It can be understood that a skilled person may generate rendering code files corresponding to different image effects in advance according to the different image effects. Therefore, before the step "obtaining the rendering code file corresponding to the target image effect", the image rendering method provided in the embodiment of the present invention may further include:
acquiring a target image corresponding to a target image effect;
performing color analysis on display colors of the target image, and generating rendering color information based on a result of the color analysis;
acquiring preset rendering size information and rendering position information;
generating rendering information according to the rendering size information, the rendering position information and the rendering color information;
and generating a rendering code file according to the rendering information.
For example, the target image effect to be rendered may be a straight line, which may be represented by y ═ kx + b, and different colors of points on the line may all be represented by rendering color information. Meanwhile, the complicated picture mathematics field has a noise function and a fuzzy function to further process the target image effect.
As can be seen from the above, the embodiment of the present invention may obtain a rendering code file corresponding to a target image effect, analyze the rendering code file to obtain rendering information and a rendering parameter calculation function corresponding to the target image effect, call the rendering parameter calculation function, calculate an image rendering parameter corresponding to the target image effect based on the rendering information, perform image rendering based on the image rendering parameter, and obtain an image with the target image effect; according to the embodiment of the invention, the rendering information and the rendering parameter calculation function required by image rendering are stored in the rendering code file, when the image is required to be rendered, the image file is not required to be obtained for rendering, and only the rendering code file occupying less storage resources, transmission resources and the like is required to be obtained, so that the requirements on the storage resources, the transmission resources and the calculation resources can be reduced, the image rendering cost is saved, and the image rendering speed is increased.
The method according to the preceding embodiment is illustrated in further detail below by way of example.
In this embodiment, the system of fig. 1 will be explained.
As shown in fig. 3, a specific flow of the image rendering method of the present embodiment may be as follows:
301. and the terminal generates an image rendering request and sends the image rendering request to the server.
The image rendering request can be triggered by the operation of a user or generated by the terminal. For example, the image rendering request may be generated by operation triggering such as clicking and sliding by a user, or the image rendering request may be automatically generated by the terminal at set time intervals when a technician sets a certain target image effect to be displayed at fixed time, and so on.
The server may be a physical server disposed outside the terminal, a cloud server that can communicate with the terminal, or the server may be disposed inside the terminal, and so on. The invention is not limited in this regard.
302. And the server receives an image rendering request sent by the terminal and sends a rendering code file corresponding to the target image effect to the terminal according to the image rendering request.
Specifically, the image rendering request may include a target image effect identifier, and after receiving the image rendering request, the server may determine, based on a preset correspondence between the image effect identifier and the image effect, a target image effect corresponding to the target image effect identifier, and then determine a rendering code file corresponding to the target image effect.
303. And the terminal acquires a rendering code file corresponding to the target image effect.
It is understood that the rendering code file corresponding to the target image effect may be one file, or when determining the rendering code file, at least two corresponding code files may be determined according to the target image effect. For example, a first rendering code file corresponding to an image and a second rendering code file corresponding to other effects may be set.
For example, an image a corresponds to a first rendering code file a, a dynamic image B corresponds to a first rendering code file B, an image edge having a flicker effect corresponds to a second rendering code file 1, and an image having a timing display effect corresponds to a second rendering code file 2. When it is determined that the target image effect is the image a having a flicker effect at the edge of the image, the first rendering code file a and the second rendering code file 1 are acquired, and so on.
304. And the terminal analyzes the rendering code file to obtain a character string in a preset format.
The process of analyzing the rendering code file may be a process of performing operations such as file stream reading and storing on the obtained rendering code file by the terminal.
For example, the process of the terminal parsing the rendering code file may include: and reading the content in the rendering code File stored in the terminal disk after downloading through a byte input stream technology, such as a File inputstream technology in Java, to obtain a character string in a preset format, and storing the read character string in a memory of the terminal, and the like.
305. And analyzing the character string by the terminal to obtain rendering information, rendering time information and a rendering parameter calculation function corresponding to the target image effect.
The process of parsing the character string may be a process of dividing the character string according to a marker in the character string, for example, identification information or a keyword may be set for the rendering information, the rendering time information, and the rendering parameter calculation function, and when the character string is read, the read content may be determined to be the rendering information, the rendering time information, or the rendering parameter calculation function according to the read identification information and/or the keyword.
For example, in the actual use process, the codes of the functions may be calculated in advance for different rendering parameters, different program class names may be set according to different calculation functions, the functions may be calculated according to different class names and different rendering parameters at the parsing position when the character string is parsed, and the like.
306. And the terminal calls a rendering parameter calculation function and calculates the image rendering parameters corresponding to the target image effect based on the rendering information and the rendering time information.
For example, the target image effect may be rendering a pair of dynamic starry sky images, and then the dynamic starry sky images may be decomposed into different frames at different times for display. A rendering parameter calculation function may be invoked to determine the refresh time per frame of the dynamic image, as well as the specific image rendering parameters at each refresh.
307. And the terminal carries out image rendering based on the image rendering parameters to obtain an image with a target image effect.
Specifically, step 307 may include determining an image rendering boundary having the target image effect based on the rendering position parameter and the rendering size parameter;
determining an image display range based on the image rendering boundary;
and performing image rendering in the image display range based on the rendering color parameters to obtain an image with a target image effect.
In some embodiments, the terminal may display the image while rendering the image, and in other embodiments, the terminal may display the rendered image with the target image effect after all the images are rendered, which is not limited in the present invention.
Therefore, the embodiment of the invention can reduce the requirements on storage resources, transmission resources and computing resources, save the image rendering cost and improve the image rendering speed.
In order to better implement the method, correspondingly, the embodiment of the invention also provides an image rendering device.
Referring to fig. 4, an image rendering apparatus according to an embodiment of the present invention includes:
a file obtaining unit 401, configured to obtain a rendering code file corresponding to a target image effect;
a file parsing unit 402, configured to parse the rendering code file to obtain rendering information and a rendering parameter calculation function corresponding to the target image effect;
a parameter calculating unit 403, configured to invoke a rendering parameter calculating function, and calculate an image rendering parameter corresponding to a target image effect based on rendering information;
and an image rendering unit 404, configured to perform image rendering based on the image rendering parameters, so as to obtain an image with a target image effect.
Optionally, the file parsing unit 402 is configured to parse the rendering code file to obtain a character string in a preset format;
and analyzing the character string to obtain rendering information and a rendering parameter calculation function corresponding to the target image effect.
Optionally, the rendering information includes rendering position information, rendering size information, and rendering color information, the rendering parameter calculation function includes a position calculation function, a size calculation function, and a color calculation function, and the parameter calculation unit 403 is configured to call the position calculation function, and calculate a rendering position parameter corresponding to the target image effect based on the rendering position information;
calling a size calculation function, and calculating rendering size parameters corresponding to the target image effect based on the rendering size information;
calling a color calculation function, and calculating rendering color parameters corresponding to the target image effect based on the rendering color information;
and obtaining an image rendering parameter corresponding to the target image effect based on the rendering position parameter, the rendering size parameter and the rendering color parameter.
Optionally, the image rendering unit 404 is configured to determine an image rendering boundary with a target image effect based on the rendering position parameter and the rendering size parameter;
determining an image display range based on the image rendering boundary;
and performing image rendering in the image display range based on the rendering color parameters to obtain an image with a target image effect.
Optionally, the file parsing unit 402 is configured to parse the rendering code file to obtain rendering time information, rendering information, and a rendering parameter calculation function corresponding to the target image effect;
correspondingly, the parameter calculating unit 403 is configured to invoke a rendering parameter calculating function, and calculate an image rendering parameter corresponding to the target image effect based on the rendering time information and the rendering information.
Optionally, as shown in fig. 5, the file obtaining unit 401 further includes a target image effect determining unit 405, configured to obtain an image rendering request, where the image rendering request includes a target image effect identifier;
and determining the target image effect corresponding to the target image effect identifier based on the corresponding relation between the preset image effect identifier and the image effect.
Optionally, the image rendering apparatus further includes an operation information generating unit 406, configured to generate operation information in response to a trigger operation input by a user;
correspondingly, the parameter calculating unit 403 is configured to invoke a rendering parameter calculating function, and calculate an image rendering parameter corresponding to the target image effect according to the rendering information and the operation information.
Therefore, the requirements on storage resources, transmission resources and computing resources can be reduced through the image rendering device, the image rendering cost is saved, and the image rendering speed is improved.
In addition, an embodiment of the present invention further provides an electronic device, where the electronic device may be a terminal or a server, and as shown in fig. 7, a schematic structural diagram of the electronic device according to the embodiment of the present invention is shown, specifically:
the electronic device may include Radio Frequency (RF) circuitry 901, memory 902 including one or more computer-readable storage media, input unit 903, display unit 904, sensor 905, audio circuitry 906, Wireless Fidelity (WiFi) module 907, processor 908 including one or more processing cores, and power supply 909. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 7 does not constitute a limitation of the electronic device and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. Wherein:
RF circuit 901 may be used for receiving and transmitting signals during a message transmission or communication process, and in particular, for receiving downlink information from a base station and then processing the received downlink information by one or more processors 908; in addition, data relating to uplink is transmitted to the base station. In general, the RF circuit 901 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 901 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), and the like.
The memory 902 may be used to store software programs and modules, and the processor 908 executes various functional applications and data processing by operating the software programs and modules stored in the memory 902. The memory 902 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the electronic device, and the like. Further, the memory 902 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 902 may also include a memory controller to provide access to the memory 902 by the processor 908 and the input unit 903.
The input unit 903 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, the input unit 903 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 908, and receives and executes commands from the processor 908. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 903 may include other input devices in addition to a touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 904 may be used to display information input by or provided to a user and various graphical user interfaces of the electronic device, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 904 may include a Display panel, and may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is communicated to the processor 908 to determine the type of touch event, and the processor 908 provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 7 the touch-sensitive surface and the display panel are two separate components to implement input and output functions, in some embodiments the touch-sensitive surface may be integrated with the display panel to implement input and output functions.
The electronic device may also include at least one sensor 905, such as light sensors, motion sensors, and other sensors. In particular, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or the backlight when the electronic device is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured to the electronic device, detailed descriptions thereof are omitted.
Audio circuitry 906, a speaker, and a microphone may provide an audio interface between a user and the electronic device. The audio circuit 906 may transmit the electrical signal converted from the received audio data to a speaker, and the electrical signal is converted into a sound signal by the speaker and output; on the other hand, the microphone converts the collected sound signal into an electric signal, which is received by the audio circuit 906 and converted into audio data, which is then processed by the audio data output processor 908, and then transmitted to, for example, another electronic device via the RF circuit 901, or the audio data is output to the memory 902 for further processing. The audio circuitry 906 may also include an earbud jack to provide communication of a peripheral headset with the electronic device.
WiFi belongs to short-distance wireless transmission technology, and the electronic equipment can help a user to send and receive e-mails, browse webpages, access streaming media and the like through the WiFi module 907, and provides wireless broadband internet access for the user. Although fig. 7 shows the WiFi module 907, it is understood that it does not belong to the essential constitution of the electronic device, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 908 is a control center of the electronic device, connects various parts of the entire cellular phone using various interfaces and lines, and performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 902 and calling data stored in the memory 902, thereby performing overall monitoring of the cellular phone. Optionally, processor 908 may include one or more processing cores; preferably, the processor 908 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 908.
The electronic device also includes a power supply 909 (e.g., a battery) that provides power to the various components, which may preferably be logically coupled to the processor 908 via a power management system, such that the functions of managing charging, discharging, and power consumption are performed via the power management system. The power supply 909 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the electronic device may further include a camera, a bluetooth module, and the like, which are not described in detail herein. Specifically, in this embodiment, the processor 908 in the electronic device loads an executable file corresponding to a process of one or more application programs into the memory 902 according to the following instructions, and the processor 908 runs the application programs stored in the memory 902, thereby implementing various functions as follows:
acquiring a rendering code file corresponding to a target image effect;
analyzing the rendering code file to obtain rendering information and a rendering parameter calculation function corresponding to the target image effect;
calling a rendering parameter calculation function, and calculating an image rendering parameter corresponding to the target image effect based on rendering information;
and performing image rendering based on the image rendering parameters to obtain an image with a target image effect.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the present invention provides a storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any one of the image rendering methods provided by the embodiments of the present invention. For example, the instructions may perform the steps of:
acquiring a rendering code file corresponding to a target image effect;
analyzing the rendering code file to obtain rendering information and a rendering parameter calculation function corresponding to the target image effect;
calling a rendering parameter calculation function, and calculating an image rendering parameter corresponding to the target image effect based on rendering information;
and performing image rendering based on the image rendering parameters to obtain an image with a target image effect.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any image rendering method provided in the embodiment of the present invention, the beneficial effects that can be achieved by any image rendering method provided in the embodiment of the present invention can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
According to an aspect of the application, there is also provided a computer program product or a computer program comprising computer instructions stored in a computer readable storage medium. The processor of the electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the method provided in the various alternative implementations in the above embodiments.
The image rendering method, the image rendering device, the electronic device, and the storage medium according to the embodiments of the present invention are described in detail above, and a specific example is applied in the description to explain the principles and the embodiments of the present invention, and the description of the embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. An image rendering method, comprising:
acquiring a rendering code file corresponding to a target image effect;
analyzing the rendering code file to obtain rendering information and a rendering parameter calculation function corresponding to the target image effect;
calling the rendering parameter calculation function, and calculating the image rendering parameters corresponding to the target image effect based on the rendering information;
and rendering the image based on the image rendering parameters to obtain the image with the target image effect.
2. The image rendering method of claim 1, wherein the parsing the rendering code file to obtain rendering information and a rendering parameter calculation function corresponding to the target image effect comprises:
analyzing the rendering code file to obtain a character string in a preset format;
and analyzing the character string to obtain rendering information and a rendering parameter calculation function corresponding to the target image effect.
3. The image rendering method according to claim 1, wherein the rendering information includes rendering position information, rendering size information, and rendering color information, and the rendering parameter calculation function includes a position calculation function, a size calculation function, and a color calculation function;
the calling the rendering parameter calculation function, and calculating the image rendering parameter corresponding to the target image effect based on the rendering information includes:
calling the position calculation function, and calculating rendering position parameters corresponding to the target image effect based on the rendering position information;
calling the size calculation function, and calculating rendering size parameters corresponding to the target image effect based on the rendering size information;
calling the color calculation function, and calculating rendering color parameters corresponding to the target image effect based on the rendering color information;
and obtaining an image rendering parameter corresponding to the target image effect based on the rendering position parameter, the rendering size parameter and the rendering color parameter.
4. The image rendering method according to claim 3, wherein the image rendering based on the image rendering parameters to obtain the image with the target image effect comprises:
determining an image rendering boundary having the target image effect based on the rendering position parameter and the rendering size parameter;
determining an image display range based on the image rendering boundary;
and rendering the image in the image display range based on the rendering color parameter to obtain the image with the target image effect.
5. The image rendering method of claim 1, wherein the parsing the rendering code file to obtain rendering information and a rendering parameter calculation function corresponding to the target image effect comprises:
analyzing the rendering code file to obtain rendering time information, rendering information and a rendering parameter calculation function corresponding to the target image effect;
the calling the rendering parameter calculation function, and calculating the image rendering parameter corresponding to the target image effect based on the rendering information includes:
and calling the rendering parameter calculation function, and calculating the image rendering parameters corresponding to the target image effect based on the rendering time information and the rendering information.
6. The image rendering method of claim 1, wherein before the obtaining of the rendering code file corresponding to the target image effect, the method further comprises:
acquiring an image rendering request, wherein the image rendering request comprises a target image effect identifier;
and determining a target image effect corresponding to the target image effect identifier based on the corresponding relation between the preset image effect identifier and the image effect.
7. The image rendering method of claim 1, further comprising:
generating operation information in response to a trigger operation input by a user;
the calling the rendering parameter calculation function, and calculating the image rendering parameter corresponding to the target image effect based on the rendering information includes:
and calling the rendering parameter calculation function, and calculating the image rendering parameters corresponding to the target image effect according to the rendering information and the operation information.
8. An image rendering apparatus, comprising:
the file acquisition unit is used for acquiring a rendering code file corresponding to the target image effect;
the file analysis unit is used for analyzing the rendering code file to obtain rendering information and a rendering parameter calculation function corresponding to the target image effect;
the parameter calculation unit is used for calling the rendering parameter calculation function and calculating the image rendering parameters corresponding to the target image effect based on the rendering information;
and the image rendering unit is used for rendering the image based on the image rendering parameters to obtain the image with the target image effect.
9. An electronic device comprising a memory and a processor; the memory stores an application program, and the processor is configured to execute the application program in the memory to perform the steps of the image rendering method according to any one of claims 1 to 7.
10. A storage medium storing instructions adapted to be loaded by a processor to perform the steps of the image rendering method according to any one of claims 1 to 7.
CN202110697319.4A 2021-06-23 2021-06-23 Image rendering method and device, electronic equipment and storage medium Active CN113313804B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110697319.4A CN113313804B (en) 2021-06-23 2021-06-23 Image rendering method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110697319.4A CN113313804B (en) 2021-06-23 2021-06-23 Image rendering method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113313804A true CN113313804A (en) 2021-08-27
CN113313804B CN113313804B (en) 2024-03-12

Family

ID=77380206

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110697319.4A Active CN113313804B (en) 2021-06-23 2021-06-23 Image rendering method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113313804B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113808231A (en) * 2021-09-18 2021-12-17 北京百度网讯科技有限公司 Information processing method and device, image rendering method and device, and electronic device
CN113810738A (en) * 2021-11-17 2021-12-17 畅捷通信息技术股份有限公司 Method and device for rendering pseudo B terminal based on concentrator and storage medium
CN113986087A (en) * 2021-12-27 2022-01-28 深圳市大头兄弟科技有限公司 Video rendering method based on subscription

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060084753A (en) * 2005-01-20 2006-07-25 컬쳐콤. 테크놀로지(마카오) 리미티드 Graphics rendering system and method
CN102930592A (en) * 2012-11-16 2013-02-13 李金地 Cloud computation rendering method based on uniform resource locator analysis
CN103713891A (en) * 2012-10-09 2014-04-09 阿里巴巴集团控股有限公司 Method and device for graphic rendering on mobile device
KR20140109185A (en) * 2013-03-05 2014-09-15 삼성전자주식회사 Image processing apparatus and method
JP2016212874A (en) * 2015-05-08 2016-12-15 飛捜股▲ふん▼有限公司 Communication system and method between application program and virtual machine
CN106709856A (en) * 2016-11-11 2017-05-24 广州华多网络科技有限公司 Graphic rendering method and related equipment
CN106997610A (en) * 2016-01-26 2017-08-01 阿里巴巴集团控股有限公司 A kind of image rendering method, device and electronic equipment
CN112348929A (en) * 2020-11-26 2021-02-09 腾讯科技(深圳)有限公司 Rendering method and device of frame animation, computer equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060084753A (en) * 2005-01-20 2006-07-25 컬쳐콤. 테크놀로지(마카오) 리미티드 Graphics rendering system and method
CN103713891A (en) * 2012-10-09 2014-04-09 阿里巴巴集团控股有限公司 Method and device for graphic rendering on mobile device
CN102930592A (en) * 2012-11-16 2013-02-13 李金地 Cloud computation rendering method based on uniform resource locator analysis
KR20140109185A (en) * 2013-03-05 2014-09-15 삼성전자주식회사 Image processing apparatus and method
JP2016212874A (en) * 2015-05-08 2016-12-15 飛捜股▲ふん▼有限公司 Communication system and method between application program and virtual machine
CN106997610A (en) * 2016-01-26 2017-08-01 阿里巴巴集团控股有限公司 A kind of image rendering method, device and electronic equipment
CN106709856A (en) * 2016-11-11 2017-05-24 广州华多网络科技有限公司 Graphic rendering method and related equipment
CN112348929A (en) * 2020-11-26 2021-02-09 腾讯科技(深圳)有限公司 Rendering method and device of frame animation, computer equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
EL-SANA J: "Multi-user view-dependent rendering", 《IEEE VISUALIZATION CONFERENCE》, 8 October 2000 (2000-10-08), pages 335 - 342, XP031172709, DOI: 10.1109/VISUAL.2000.885713 *
孔素然等: "三维动画图像纹理实时渲染系统设计", 《现代电子技术》, vol. 41, no. 5, 1 March 2018 (2018-03-01), pages 102 - 105 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113808231A (en) * 2021-09-18 2021-12-17 北京百度网讯科技有限公司 Information processing method and device, image rendering method and device, and electronic device
EP4141797A1 (en) * 2021-09-18 2023-03-01 Beijing Baidu Netcom Science Technology Co., Ltd. Method and apparatus of processing information, method and apparatus of rendering image, and electronic device
CN113810738A (en) * 2021-11-17 2021-12-17 畅捷通信息技术股份有限公司 Method and device for rendering pseudo B terminal based on concentrator and storage medium
CN113810738B (en) * 2021-11-17 2022-02-18 畅捷通信息技术股份有限公司 Method and device for rendering pseudo B terminal based on concentrator and storage medium
CN113986087A (en) * 2021-12-27 2022-01-28 深圳市大头兄弟科技有限公司 Video rendering method based on subscription

Also Published As

Publication number Publication date
CN113313804B (en) 2024-03-12

Similar Documents

Publication Publication Date Title
CN110795666B (en) Webpage generation method, device, terminal and storage medium
CN105867751B (en) Operation information processing method and device
CN113313804B (en) Image rendering method and device, electronic equipment and storage medium
US20150082231A1 (en) Method and terminal for displaying desktop
CN108549519B (en) Split screen processing method and device, storage medium and electronic equipment
CN106780684B (en) Animation effect realization method and device
CN110020293B (en) Multimedia data display method, device and storage medium
CN111178012A (en) Form rendering method, device and equipment and storage medium
CN104571979B (en) A kind of method and apparatus for realizing split view
CN107666406B (en) Intelligent card display method and device
CN108170723B (en) Webpage resource acquisition method, terminal equipment, server and system
CN108073647B (en) Webpage display method and device
WO2014173167A1 (en) Method, apparatus and system for filtering data of web page
US9582584B2 (en) Method, apparatus and system for filtering data of web page
CN108268232B (en) Picture display method, device, system and storage medium
CN108920086B (en) Split screen quitting method and device, storage medium and electronic equipment
CN116594616A (en) Component configuration method and device and computer readable storage medium
CN112732250A (en) Interface processing method, device and storage medium
CN105320532B (en) Method, device and terminal for displaying interactive interface
CN108269223B (en) Webpage graph drawing method and terminal
CN114510417A (en) Image rendering effect testing method and device, electronic equipment and storage medium
CN112818143B (en) Page display method and device, electronic equipment and storage medium
CN108563712B (en) Webpage picture viewing method and device and storage equipment
CN110309454B (en) Interface display method, device, equipment and storage medium
CN107346347B (en) Webpage table display method and device

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
GR01 Patent grant
GR01 Patent grant