H5 game display method and device based on mobile terminal APP and computer equipment

A display method and mobile terminal technology, applied in the Internet field, can solve problems such as low efficiency and time-consuming rendering, and achieve the effect of shortening time-consuming rendering and improving rendering efficiency

Pending Publication Date: 2021-11-26
SHANGHAI BILIBILI TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This application proposes a mobile APP-based H5 game display method, device and computer equipment, which can solve the problems of time-consuming rendering and low efficiency in the process of displaying H5 games in the mobile APP in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • H5 game display method and device based on mobile terminal APP and computer equipment
  • H5 game display method and device based on mobile terminal APP and computer equipment
  • H5 game display method and device based on mobile terminal APP and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0036] figure 2 It is a schematic flowchart of an embodiment of an H5 game display method based on a mobile terminal APP in this application. It can be understood that the flowchart in this method embodiment is not used to limit the sequence of execution steps. An exemplary description is given below taking the computer device 1 as the execution subject.

[0037] Such as figure 2 As shown, the H5 game display method based on the mobile terminal APP may include steps S200-S206.

[0038] In step S200, a virtual environment is constructed through a JS engine, and an H5 page template is established in the virtual environment.

[0039] Step S202, binding the H5 page template with the mobile APP page under the mobile OpenGL ES.

[0040] Specifically, the H5 page template includes all functional components corresponding to the H5 game; the computer device 1 binds the H5 page template to the mobile APP page under the mobile terminal OpenGL ES, including: binding the H5 page The...

Embodiment 2

[0068] Figure 9 Schematically shows a block diagram of the H5 game display device based on the mobile terminal APP according to Embodiment 2 of the present application, the H5 game display device based on the mobile terminal APP can be divided into one or more program modules, one or more program modules The modules are stored in a storage medium and executed by one or more processors to complete the embodiments of the present application. The program modules referred to in the embodiments of the present application refer to a series of computer program instruction segments capable of accomplishing specific functions. The following description will specifically introduce the functions of each program module in this embodiment.

[0069] Such as Figure 9 As shown, the H5 game display device 400 based on the mobile terminal APP may include an establishment module 410, a mapping module 420, an acquisition module 430 and a rendering module 440, wherein:

[0070] The building mo...

Embodiment 3

[0079] Figure 10 A schematic diagram of a hardware architecture of a computer device 1 suitable for implementing a mobile APP-based H5 game display method according to Embodiment 3 of the present application is schematically shown. In this embodiment, the computer device 1 is a device capable of automatically performing numerical calculation and / or information processing according to preset or stored instructions. For example, it may be a rack server with a gateway function, a blade server, a tower server, or a cabinet server (including an independent server, or a server cluster composed of multiple servers) and the like. Such as Figure 10 As shown, the computer device 1 at least includes but is not limited to: a memory 510 , a processor 520 , and a network interface 530 that can communicate with each other through a system bus. in:

[0080] The memory 510 includes at least one type of computer-readable storage medium, and the readable storage medium includes flash memory...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an H5 game display method and device based on a mobile terminal APP and computer equipment. The method comprises the steps: constructing a virtual environment through a JS engine, and building an H5 page template in the virtual environment; binding the H5 page template with the mobile terminal APP page under a mobile terminal OpenGL ES; obtaining resource data of a to-be-displayed target H5 game, and determining a resource rendering method on the H5 page template; and triggering the mobile terminal APP page to execute a rendering operation on the resource data of the target H5 game according to the resource rendering method, thereby updating a Native view corresponding to the mobile terminal APP page. The invention further provides a computer readable storage medium. According to the method and the device, the rendering operation executed by the H5 game data under the JS engine is bound with the rendering operation of the mobile terminal APP page under the mobile terminal OpenGL ES, and the rendering operation is synchronously executed, so that the rendering time consumption is shortened, and the rendering efficiency is improved.

Description

technical field [0001] The present application relates to the field of Internet technologies, and in particular to a mobile APP-based H5 game display method, device and computer equipment. Background technique [0002] With the development of network technology, the amount of information on websites is now increasing, and a webpage contains extremely rich information such as images, animations, layouts, navigations, etc., and the display effect of webpages is becoming more and more attractive. However, the amount of data that needs to be loaded during the display of a web page is also increasing. As for the loading of web pages, the corresponding web pages are generally loaded according to the user's access request. Therefore, the more data the web page contains, the longer the loading time is, and the longer the user waits. [0003] Generally speaking, page resources are usually displayed in the form of H5 (HTML5) pages, or can also be displayed directly on mobile APP page...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): A63F13/52A63F13/63
CPCA63F13/52A63F13/63A63F2300/308A63F2300/66
Inventor 吉小龙陆谦翁阳
Owner SHANGHAI BILIBILI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products