IP Library Granted Patent US 11,270,669
Granted Patent B2
US 11,270,669 · App. 16/877,122 · Granted Mar 8, 2022

Rendering method and apparatus, electronic device and storage medium

Inventors: Sheng Lv (Beijing, CN); Yuanhang Zhang (Beijing, CN); Yan Wang (Beijing, CN); Jie Wang (Beijing, CN); Hongwei Cao (Beijing, CN)
Assignee: Baidu Online Network Technology (Beijing) Co., Ltd
G09G5/36G06F16/953G09G2354/00
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,270,669
App. No.
16/877,122
Granted
Mar 8, 2022
Kind
B2
Abstract

A rendering method and apparatus, an electronic device and a storage medium are provided, which relate to the field of artificial intelligence. In a specific implementation, the rendering method includes: acquiring a content to be rendered, a category of the content to be rendered, information on a device on which a rendered content is to be displayed, and information on a server providing the content to be rendered; determining information on a first rendering template according to the category of the content to be rendered, the information on the device, and the information on the server; searching for the first rendering template according to the information on the first rendering template; and rendering the content to be rendered with the first rendering template, in a case that the first rendering template is searched out. In the embodiments of the application, rendering is implemented flexibly and efficiently.

Claims (39)

1. A rendering method, comprising:

acquiring a content to be rendered, a category of the content to be rendered, information on a device on which a rendered content is to be displayed, and information on a server providing the content to be rendered;

determining information on a first rendering template according to the category of the content to be rendered, the information on the device, and the information on the server; and

searching for the first rendering template according to a product line search path and the information on the first rendering template, wherein the product line search path is generated according to the information on the server, a template type, and a template version, and rendering the content to be rendered with the first rendering template.

2. The rendering method according to claim 1 , further comprising:

determining information on a second rendering template according to the information on the device and the information on the server, in a case that the first rendering template is not searched out; and

searching for the second rendering template according to the information on the second rendering template, and rendering the content to be rendered with the second rendering template.

3. The rendering method according to claim 2 , further comprising:

acquiring a third rendering template, and rendering the content to be rendered with the third rendering template, in a case that the second rendering template is not searched out.

4. The rendering method according to claim 3 , wherein the information on the device comprises a type of the device and a version of a rendering engine in the device.

5. The rendering method according to claim 2 , wherein the information on the device comprises a type of the device and a version of a rendering engine in the device.

6. The rendering method according to claim 1 , wherein the information on the device comprises a type of the device and a version of a rendering engine in the device.

7. A rendering apparatus, comprising:

one or more processors; and

a storage device configured to store one or more programs, wherein

the one or more programs, when executed by the one or more processors, cause the one or more processors to:

acquire a content to be rendered, a category of the content to be rendered, information on a device on which a rendered content is to be displayed, and information on a server providing the content to be rendered;

determine information on a first rendering template according to the category of the content to be rendered, the information on the device, and the information on the server; and

search for the first rendering template according to a product line search path and the information on the first rendering template, wherein the product line search path is generated according to the information on the server, a template type, and a template version, and render the content to be rendered with the first rendering template.

8. The rendering apparatus according to claim 7 , wherein the one or more programs, when executed by the one or more processors, cause the one or more processors further to:

determine information on a second rendering template according to the information on the device and the information on the server, in a case that the first rendering template is not searched out; and

search for the second rendering template according to the information on the second rendering template, and render the content to be rendered with the second rendering template.

9. The rendering apparatus according to claim 8 , wherein the one or more programs, when executed by the one or more processors, cause the one or more processors further to:

acquire a third rendering template, and render the content to be rendered with the third rendering template, in a case that the second rendering template is not searched out.

10. The rendering apparatus according to claim 9 , wherein the information on the device comprises a type of the device and a version of a rendering engine in the device.

11. The rendering apparatus according to claim 8 , wherein the information on the device comprises a type of the device and a version of a rendering engine in the device.

12. The rendering apparatus according to claim 7 , wherein the information on the device comprises a type of the device and a version of a rendering engine in the device.

13. A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions, when executed by a computer, cause the computer to:

acquire a content to be rendered, a category of the content to be rendered, information on a device on which a rendered content is to be displayed, and information on a server providing the content to be rendered;

determine information on a first rendering template according to the category of the content to be rendered, the information on the device, and the information on the server; and

search for the first rendering template according to a product line search path and the information on the first rendering template, wherein the product line search path is generated according to the information on the server, a template type, and a template version, and render the content to be rendered with the first rendering template.

14. The non-transitory computer-readable storage medium according to claim 13 , wherein the computer instructions, when executed by the computer, cause the computer further to:

determine information on a second rendering template according to the information on the device and the information on the server, in a case that the first rendering template is not searched out; and

search for the second rendering template according to the information on the second rendering template, and render the content to be rendered with the second rendering template.

15. The non-transitory computer-readable storage medium according to claim 14 , wherein the computer instructions, when executed by the computer, cause the computer further to:

acquire a third rendering template, and render the content to be rendered with the third rendering template, in a case that the second rendering template is not searched out.

16. The non-transitory computer-readable storage medium according to claim 15 , wherein the information on the device comprises a type of the device and a version of a rendering engine in the device.

17. The non-transitory computer-readable storage medium according to claim 14 , wherein the information on the device comprises a type of the device and a version of a rendering engine in the device.

18. The non-transitory computer-readable storage medium according to claim 13 , wherein the information on the device comprises a type of the device and a version of a rendering engine in the device.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 30, 2021
From: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.
To: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.; SHANGHAI XIAODU TECHNOLOGY CO. LTD.
Reel/Frame 056811/0772 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 20, 2020
From: LV, SHENG; ZHANG, YUANHANG; WANG, YAN; WANG, JIE; CAO, HONGWEI
To: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.
Reel/Frame 052707/0707 →
Priority Claims (1)
CN 201911002616.1 · Oct 21, 2019 · national
Continuity (1)
Related Publication 20210118409A1 · Apr 22, 2021