EP3623938B1 - Game rendering method and apparatus, and non-transitory computer-readable storage medium - Google Patents

Game rendering method and apparatus, and non-transitory computer-readable storage medium Download PDF

Info

Publication number
EP3623938B1
EP3623938B1 EP19189588.7A EP19189588A EP3623938B1 EP 3623938 B1 EP3623938 B1 EP 3623938B1 EP 19189588 A EP19189588 A EP 19189588A EP 3623938 B1 EP3623938 B1 EP 3623938B1
Authority
EP
European Patent Office
Prior art keywords
layer
rendering
instruction
opengl
bridge
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.)
Active
Application number
EP19189588.7A
Other languages
German (de)
French (fr)
Other versions
EP3623938A1 (en
Inventor
Senlin Li
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of EP3623938A1 publication Critical patent/EP3623938A1/en
Application granted granted Critical
Publication of EP3623938B1 publication Critical patent/EP3623938B1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00—Arrangements for program control, e.g. control units
    • G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44—Arrangements for executing specific programs
    • G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45504—Abstract machines for program code execution, e.g. Java virtual machine [JVM], interpreters or emulators
    • G06F9/45529—Embedded in an application, e.g. JavaScript in a Web browser
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00—Arrangements for software engineering
    • G06F8/30—Creation or generation of source code
    • G06F8/31—Programming languages or programming paradigms
    • G06F8/315—Object-oriented languages
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00—Arrangements for software engineering
    • G06F8/30—Creation or generation of source code
    • G06F8/34—Graphical or visual programming
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00—Arrangements for software engineering
    • G06F8/40—Transformation of program code
    • G06F8/41—Compilation
    • G06F8/44—Encoding
    • G06F8/443—Optimisation
    • G06F8/4432—Reducing the energy consumption
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00—Arrangements for program control, e.g. control units
    • G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44—Arrangements for executing specific programs
    • G06F9/448—Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4488—Object-oriented
    • G06F9/449—Object-oriented method invocation or resolution
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00—Arrangements for program control, e.g. control units
    • G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44—Arrangements for executing specific programs
    • G06F9/451—Execution arrangements for user interfaces
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/00—Two-dimensional [2D] image generation
    • G06T11/40—Filling planar surfaces by adding surface attributes, e.g. adding colours or textures
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/00—Three-dimensional [3D] image rendering
    • G06T15/005—General purpose rendering architectures
    • G—PHYSICS
    • G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/02—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed
    • G09G5/026—Control of mixing and/or overlay of colours in general
    • G—PHYSICS
    • G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/39—Control of the bit-mapped memory
    • G09G5/395—Arrangements specially adapted for transferring the contents of the bit-mapped memory to the screen
    • G—PHYSICS
    • G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00—Aspects of the architecture of display systems
    • G09G2360/12—Frame memory handling
    • G09G2360/121—Frame memory handling using a cache memory
    • Y—GENERAL 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
    • Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02D—CLIMATE 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/00—Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • CN107911708A discloses a barrage display method, a live broadcasting method and related devices.
  • the barrage display method is applied to a game application in the barrage display device for game live broadcasting.
  • the barrage display method comprises the steps that a game is started in a live broadcasting application, and game pictures of the game application are broadcast in alive mode by means of the live broadcasting application; a private communication channel is built with the live broadcasting application; barrage data acquired by the live broadcasting application is acquired through the private communication channel, wherein the barrage data is comment data published for the game pictures which are broadcast in the live mode by users corresponding to various terminals; and the barrage data is rendered in a graph processing unit (GPU), and the rendered barrage data is superimposed in the current game picture to be displayed. Accordingly, the barrage can be displayed during game live broadcasting, and interaction among the users is enhanced.
  • GPU graph processing unit
  • a terminal device includes at least one processor and a computer readable storage coupled to the at least one processor.
  • the computer readable storage stores computer programs thereon, which when executed by the processor, cause the processor to: transmit drawing instructions cached in an instruction set to a bridge layer by a JS layer, when a number of the drawing instructions cached in the instruction set is greater than or equal to a first threshold; obtain a rendering result by the bridge layer using an OpenGL capability to process the drawing instructions; transmit the rendering result to a system framework layer by the bridge layer; and perform rendering based on the rendering result by the system framework layer.
  • the processor 101 is a control center of the terminal device 100, and connects various parts of the whole terminal device through various interfaces and lines, runs or executes software programs and/or modules stored in the memory, and invokes data stored in the memory to perform various functions of the terminal device and processes data, thereby monitoring the terminal device as a whole.
  • the JS layer transmits the drawing instructions cached in the instruction set to the bridge layer.
  • the storage areas of the instruction sets corresponding to different mini-games may be different (e.g., an instruction set “a” corresponding to a mini-game “A” is stored in a designated area “1”, an instruction set “b” corresponding to a mini-game “B” is stored in a designated area “2”, etc.) or the same (e.g., the instruction set "a” corresponding to the mini-game "A” and the instruction set "b” corresponding to the mini-game “B” are both stored in the designated area "1", etc.).
  • the first threshold may be defined by a user, or may be customized by the terminal device, which is not limited herein.
  • the first threshold is, for example, 10, 20, 23, 30, or other values.
  • the first thresholds corresponding to different mini-games are the same, to facilitate management of the terminal device.
  • the actions in the block 204 is specifically implemented as follow.
  • the system framework layer transmits the rendering result to a surface flinger, synthesizes screen contents through the surface flinger based on the rendering result, and displays the synthesized screen contents on a display screen of the terminal device.
  • the surface flinger is an independent service, which receives surfaces of all windows as an input, calculates positions of each surface in a final synthesized image according to parameters of each Surface, such as ZOrder, transparency, size, location, etc., and then the positions is transmitted to HWComposer or OpenGL to generates a final display Buffer, which is then displayed on a specific display device.
  • the JS layer receives a game service code.
  • the JS layer transmits the operation instruction to the bridge layer.
  • the bridge layer transmits the query result to the JS layer.
  • the action that the JS layer transmits the operation instruction to the bridge layer is specifically implemented as follow.
  • the JS layer obtains instruction information carried in the operation instruction by parsing the operation instruction, and then transmits the obtained instruction information to the bridge layer.
  • the instruction information carried in the operation instruction includes, but is not limited to, an instruction name and instruction parameters.
  • the method includes the follows.
  • JNI provides several APIs to achieve communication between Java and other languages (mainly C&C++), which allows Java codes to interact with codes written in other languages.
  • the JS layer determines whether a number of drawing instructions cached in a instruction set is greater than or equal to a first threshold.
  • the action at block 405 is performed.
  • the action at block 416 is performed.
  • the bridge layer uses the OpenGL capability to generate an OpenGL drawing command corresponding to the drawing instructions according to the instruction information.
  • Rendering is performed based on the rendering result by the system framework layer.
  • the integrated unit may be stored in a computer-readable memory when it is implemented in the form of a software functional unit and is sold or used as a separate product.
  • the technical solutions of the present disclosure essentially, or the part of the technical solutions that contributes to the related art, or all or part of the technical solutions, may be embodied in the form of a software product which is stored in a memory and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device and so on) to perform all or part of the steps described in the various implementations of the present disclosure.
  • the memory includes various medium capable of storing program codes, such as a USB (universal serial bus) flash disk, a read-only memory (ROM), a random-access memory (RAM), a removable hard disk, Disk, compact disc (CD), or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computer Graphics (AREA)
  • Human Computer Interaction (AREA)
  • Computing Systems (AREA)
  • User Interface Of Digital Computer (AREA)
  • Image Generation (AREA)

Description

    TECHNICAL FIELD
  • The present disclosure relates to the field of electronic technology, and more particularly to a game rendering method and apparatus, and a non-transitory computer-readable storage medium.
  • BACKGROUND
  • With popularization and widely use of electronic devices (such as mobile phones, tablets, etc.), more and more applications can be supported by the electronic devices, and functions of the electronic devices are becoming more and more powerful, which causes the electronic devices to develop towards diversification and individualization, and become indispensable electronic produces in users' lives.
  • In particular, games are widely used in electronic devices. For games, rendering effects directly affect the user's visual experience. Therefore, how to improve rendering performance needs to be solved urgently.
  • WO2018050003A1 discloses a 3D canvas web page element rendering method and apparatus and an electronic device, and a 2D canvas web page element rendering method and apparatus and an electronic device. The 3D canvas web page element rendering method includes: intercepting a WebGL drawing instruction with respect to a 3D canvas web page element (S101); transmitting instruction information carried by the WebGL drawing instruction to a system framework layer (S103); according to the instruction information, generating an OpenGL drawing instruction corresponding to the WebGL drawing instruction (S105); and drawing the OpenGL drawing instruction onto an OpenGL rendering window of the system, and forming a rendering result of the 3D canvas web page element (S107).
  • US2007192818A1 discloses a complete system to create, to deploy and to execute rich multimedia applications on various terminals and in particular embedded devices. A rich multimedia application is made of one or more media objects, being audio or visual, synthetic or natural, metadata, and their protection being composed and rendered on a display device over time in response to preprogrammed logic and user interaction. We describe the architecture of such a terminal, how to implement it on a variety of operating systems and devices, and how it executes downloaded rich, interactive, multi-media applications, and the architecture of such applications.
  • CN107911708A discloses a barrage display method, a live broadcasting method and related devices. The barrage display method is applied to a game application in the barrage display device for game live broadcasting. The barrage display method comprises the steps that a game is started in a live broadcasting application, and game pictures of the game application are broadcast in alive mode by means of the live broadcasting application; a private communication channel is built with the live broadcasting application; barrage data acquired by the live broadcasting application is acquired through the private communication channel, wherein the barrage data is comment data published for the game pictures which are broadcast in the live mode by users corresponding to various terminals; and the barrage data is rendered in a graph processing unit (GPU), and the rendered barrage data is superimposed in the current game picture to be displayed. Accordingly, the barrage can be displayed during game live broadcasting, and interaction among the users is enhanced.
  • CN106453852A discloses a screen color adjustment system and method for an Android terminal. The system comprises a plurality of scene setting modules, an application management module, a scene radix conversion module, a SurfaceFlinger server and a display screen; all the signal output ends of the plurality of scene setting modules are connected with the signal input end of the application management module; the signal input end of scene radix conversion module is connected with the signal output end of the application management module; the signal output end of the scene radix conversion module is connected with the signal input end of the SurfaceFlinger server; the signal output end of the SurfaceFlinger server is connected with the display screen; after receiving a scene switching instruction, the scene setting modules send scene radix information to the application management module; and the scene radix conversion module converts the radix information to a value of SurfaceFlinger, and asks the SurfaceFlinger to display a corresponding scene color on a screen. Under different modes, different experiences can be provided, and a user can choose an appropriate mode to use.
  • US2016162171A1 discloses a method, an apparatus and a storage medium for processing an HTML5 Canvas application, said method comprising: in the first thread: CPU executes codes of a graphic drawing application to draw each frame of canvas, when it is detected that rendering is needed, all canvas drawing commands of said frame of canvas are cached without executing the corresponding rendering, and when the drawing of said frame of canvas is completed, all the cached canvas drawing commands of said frame of canvas are sent to a second thread; in the second thread, CPU calls GPU to execute all canvas drawing commands of each frame of canvas sent by the first thread, and GPU performs rendering on each frame of canvas according to the canvas drawing commands. The present invention realizes concurrent thread processing by means of caching drawing commands such that JavaScript codes and rendering can be executed simultaneously. As a result, resources of different threads are fully used to greatly increase the response speed of the HTML5 Canvas application and improve the performance of the HTML5 Canvas application.
  • SUMMARY
  • Implementations of the present disclosure provide a game rendering method and apparatus, and a non-transitory computer-readable storage medium, which can improve rendering performance and reduce power consumption of the terminal device.
  • The present invention is defined according to the independent claims. Specific embodiments are defined in the dependent claims.
  • It can be seen that, in the implementations of the present disclosure, the JS layer directly invokes the OpenGL capability of the underlying layer of the system through the bridge layer, thereby improving the rendering performance. In addition, the processing of the drawing instructions is performed together only when the number of the drawing instructions cached in the instruction set exceeds a certain number, thereby reducing the number of times for invoking the OpenGL capability and reducing the power consumption of the terminal device.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • To describe technical solutions in the implementations of the present disclosure or of the related art more clearly, the following briefly introduces the accompanying drawings required for describing the implementations of the present disclosure or the related art. Apparently, the accompanying drawings in the following description only illustrate some implementations of the present disclosure. Those of ordinary skill in the art may also obtain other drawings based on these accompanying drawings without creative efforts.
    • FIG. 1 is a schematic structural diagram of a terminal device according to an implementation of the present disclosure.
    • FIG. 2 is a schematic flowchart of a game rendering method according to an implementation of the present disclosure.
    • FIG. 3 is a schematic diagram showing a distribution of a system framework layer, a bridge layer, and a JS layer according to an implementation of the present disclosure.
    • FIG. 4 is a schematic flowchart of another game rendering method according to an implementation of the present disclosure.
    • FIG. 5 is another schematic structural diagram of the terminal device according to an implementation of the present disclosure.
    • FIG. 6 is a schematic structural diagram of a game rendering apparatus according to an implementation of the present disclosure.
    • FIG. 7 is a schematic structural diagram of another game rendering apparatus according to an implementation of the present disclosure.
    DETAILED DESCRIPTION
  • In order to enable those skilled in the art to better understand technical solutions of the present disclosure, the technical solutions in implementations of the present disclosure will be described clearly and completely hereinafter with reference to the accompanying drawings in the implementations of the present disclosure. Apparently, the described implementations are merely some rather than all implementations of the present disclosure. All other implementations obtained by those of ordinary skill in the art based on the implementations of the present disclosure without creative efforts shall fall within the protection scope of the present disclosure.
  • The terms "first", "second", "third", "fourth", and the like used in the specification, the claims, and the accompany drawings of the present disclosure are used to distinguish different objects, rather than describe a particular order. The terms "include", "comprise", and "have" as well as variations thereof are intended to cover non-exclusive inclusion. For example, a process, a method, a system, a product, or an apparatus including a series of steps or units is not limited to the listed steps or units, on the contrary, it can optionally include other steps or units that are not listed; alternatively, other steps or units inherent to the process, method, product, or device can be included either.
  • The term "implementation" or "implementation" referred to herein means that a particular feature, structure, or characteristic described in conjunction with the implementation may be contained in at least one implementation of the present disclosure. The phrase appearing in various places in the specification does not necessarily refer to the same implementation, nor does it refer to an independent or alternative implementation that is mutually exclusive with other implementations. It is expressly and implicitly understood by those skilled in the art that an implementation described herein may be combined with other implementations.
  • According to an implementation of the present disclosure, a game rendering method is provided, which is applied to a terminal device. The terminal device includes a JavaScript (JS) layer, a bridge layer and a system framework layer. The method includes the follows. The JS layer transmits drawing instructions cached in an instruction set to the bridge layer, when a number of the drawing instructions cached in the instruction set is greater than or equal to a first threshold. The bridge layer obtains a rendering result by using an OpenGL capability to process the drawing instructions, and transmits the rendering result to the system framework layer. The system framework layer performs rendering based on the rendering result.
  • According to an implementation of the present disclosure, a game rendering apparatus is provided, which is applied to a terminal device. The terminal device includes a JS layer, a bridge layer and a system framework layer. The game rendering apparatus includes a transmitting unit, a processing unit, and a rendering unit. The transmitting unit is configured to transmit drawing instructions cached in an instruction set to the bridge layer, when a number of the drawing instructions cached in the instruction set is greater than or equal to a first threshold. The processing unit is configured to obtain a rendering result by using an OpenGL capability to process the drawing instructions. The transmitting unit is further configured to transmit the rendering result to the system framework layer. The rendering unit is configured to perform rendering based on the rendering result.
  • According to an implementation of the present disclosure, a terminal device is provided. The terminal device includes at least one processor and a computer readable storage coupled to the at least one processor. The computer readable storage stores computer programs thereon, which when executed by the processor, cause the processor to: transmit drawing instructions cached in an instruction set to a bridge layer by a JS layer, when a number of the drawing instructions cached in the instruction set is greater than or equal to a first threshold; obtain a rendering result by the bridge layer using an OpenGL capability to process the drawing instructions; transmit the rendering result to a system framework layer by the bridge layer; and perform rendering based on the rendering result by the system framework layer.
  • According to an implementation of the present disclosure, a non-transitory computer readable storage medium is provided. The non-transitory computer readable storage medium is configured to store computer programs which, when executed by a processor, cause the processor to: transmit drawing instructions cached in an instruction set to a bridge layer by a JS layer, when a number of the drawing instructions cached in the instruction set is greater than or equal to a first threshold; obtain a rendering result by the bridge layer using an OpenGL capability to process the drawing instructions; transmit the rendering result to a system framework layer by the bridge layer; and perform rendering based on the rendering result by the system framework layer.
  • According to an implementation of the present disclosure, a computer program product is provided. The computer program product includes a non-transitory computer-readable storage medium that stores computer programs which, when executed by a processor, cause the processor to: transmit drawing instructions cached in an instruction set to a bridge layer by a JS layer, when a number of the drawing instructions cached in the instruction set is greater than or equal to a first threshold; obtain a rendering result by the bridge layer using an OpenGL capability to process the drawing instructions; transmit the rendering result to a system framework layer by the bridge layer; and perform rendering based on the rendering result by the system framework layer.
  • The implementations of the present disclosure will be described in detail below with reference to the accompanying drawings.
  • Terminal devices, also known as user equipment (UE), are devices that provide voice and/or data communication function to a user, for example, hand-held devices or in-vehicle devices having a wireless connection function. Common terminals include, for example, mobile phones, tablets, notebook computers, PDAs, mobile internet devices (MIDs), wearable devices such as smart watches, smart bracelets, pedometers, etc.
  • FIG. 1 is a schematic structural diagram of a terminal device 100 according to an implementation of the present disclosure. The terminal device 100 includes a processor 101, a memory 102, a signal processor 103, a transceiver 104, a display screen 106, a speaker 107, a microphone 108, a random access memory (RAM) 109, a camera 105, a sensor 110, and the like. The memory 102, the signal processor 103, the display screen 106, the speaker 107, the microphone 108, the RAM 109, the camera 105, and the sensor 110 are connected to the processor 101, and the transceiver 104 is connected to the signal processor 103.
  • The display screen 106 may be a liquid crystal display (LCD), an organic light-emitting diode (OLED) panel, inorganic light-emitting diode panel, an active matrix organic light emitting diode (AMOLED) panel, and the like.
  • The camera 105 may be an ordinary camera or an infrared camera, which is not limited herein. The camera 105 may be a front camera or a rear camera, which is not limited herein.
  • The sensor 110 includes at least one of the following: a photosensitive sensor, a gyroscope, an infrared proximity sensor, a fingerprint sensor, a pressure sensor, and the like. The photosensitive sensor, also known as an ambient light sensor, is used to detect ambient light brightness. The photosensitive sensor can include a photosensitive element and an analog-to-digital converter. The photosensitive element is configured to convert a collected optical signal into an electrical signal, and the analog-to-digital converter is configured to convert the electrical signal into a digital signal. Optionally, the photosensitive sensor may further include a signal amplifier. The electrical signal converted by the photosensitive element can be amplified by the signal amplifier and be output to the analog-to-digital converter. The photosensitive element may include at least one of a photo-diode, a photo-transistor, a photo-resistor, and a silicon photocell.
  • The processor 101 is a control center of the terminal device 100, and connects various parts of the whole terminal device through various interfaces and lines, runs or executes software programs and/or modules stored in the memory, and invokes data stored in the memory to perform various functions of the terminal device and processes data, thereby monitoring the terminal device as a whole.
  • The processor 101 can integrate an application processor and a modem processor, where the application processor mainly processes an operating system, user interfaces, applications, and the like, and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor may also not be integrated into the processor.
  • The memory 102 is configured to store software programs 1021 and/or modules, and the processor 101 executes various functional applications and data processing of the terminal device by running the software programs and/or modules stored in the memory 102. The memory 102 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, software programs required for at least one function, and the like. The data storage area may store data created according to use of the terminal device or the like. In addition, the memory 102 may include a high-speed RAM, and may further include a non-volatile memory such as at least one disk storage device, flash memory device, or other volatile solid state storage device.
  • FIG. 2 is a schematic flowchart of a game rendering method according to an implementation of the present disclosure. The method is applied to the foregoing terminal device 100. The terminal device 100 includes a JS layer 21, a bridge layer 22, and a system framework layer 23. As illustrated in FIG. 3, the system framework layer 23 can be understood as an underlying layer, which is responsible for providing system capabilities related to the underlying layer of the terminal device 100, such as a capability to access the memory, a capability to make phone calls, etc. The JS layer 21 can be understood as an upper layer, which is responsible for running mini-games. Game codes of the mini-games can be run in the JS layer 21, and the JS layer 21 can also be called JavaScript layer. The bridge layer 22 can be understood as a middle layer, which is configured to connect the system framework layer 23 and the JS layer 21. The bridge layer 22 can encapsulate the capabilities of the system framework layer 23 into a unified application programming interface (API) that can be directly invoked by the JS layer 21. Each of the system framework layer 23, the bridge layer 22 and the JS layer 21 in the implementations of the present disclosure can be understood as a piece of codes. For example, the system framework layer 23 can be a piece of program codes written in assembly language. The bridge layer 22 can be a piece of program codes written in C++ language. The bridge layer 22 can also be called a C++ layer. The JS layer 21 can be a piece of program codes written in Java language. The game rendering method of the present disclosure can be applied to different types of systems, such as Android system and IOS system.
  • The game rendering method includes the follows.
  • At block 201, when a number of drawing instructions cached in an instruction set is greater than or equal to a first threshold, the JS layer transmits the drawing instructions cached in the instruction set to the bridge layer.
  • In the implementation, the game rendering method provided by the present disclosure is configured to render mini-games. The mini-game is a kind of game application that can be played without being downloaded and installed, which is similar to small programs in WeChat application.
  • The instruction set is configured to cache the drawing instructions, such as WebGL drawing instructions. The instruction set can be stored at a designated area of the terminal device, and can be invoked by the JS layer.
  • In the implementation, for the terminal device, different mini-games have different instruction sets, in order to avoid invocation errors made by the JS layer.
  • The storage areas of the instruction sets corresponding to different mini-games may be different (e.g., an instruction set "a" corresponding to a mini-game "A" is stored in a designated area "1", an instruction set "b" corresponding to a mini-game "B" is stored in a designated area "2", etc.) or the same (e.g., the instruction set "a" corresponding to the mini-game "A" and the instruction set "b" corresponding to the mini-game "B" are both stored in the designated area "1", etc.).
  • Web graphics library (WebGL) is a kind of 3D drawing protocol. The kind of drawing technology standard allows JavaScript to be combined with open graphics library (OpenGL) ES 2.0. By adding a JavaScript binding of OpenGL ES 2.0, WebGL can provide hardware 3D accelerated rendering.
  • In the implementation, the first threshold may be defined by a user, or may be customized by the terminal device, which is not limited herein.
  • The first threshold is, for example, 10, 20, 23, 30, or other values. In an implementation, for terminal devices, the first thresholds corresponding to different mini-games are the same, to facilitate management of the terminal device.
  • In another implementation, for the terminal device, the first thresholds corresponding to different mini-games are different (e.g., the mini-game "A" corresponds to a first threshold "1", the mini-game "B" corresponds to a first threshold "2", etc.), to enhance diversity. The first threshold corresponding to a mini-game with lower rendering level requirement is larger, while the first threshold corresponding to a mini-game with higher rendering level requirement is smaller.
  • In an implementation, the action in the block 201 is specifically implemented as follow. The JS layer acquires all of the drawing instructions cached in the instruction set, and transmits the acquired drawing instructions to a Java Script binding (JSB), and the JSB transmits the drawing instructions to the bridge layer. The JSB is a connection engine configured to establish communication between different platforms (such as the bridge layer, the system framework layer, etc.) and the JS layer.
  • At block 202, the bridge layer obtains a rendering result by using an OpenGL capability to process the drawing instructions.
  • In the implementation, the OpenGL refers to a professional graphical program interface that defines a cross-programming language and cross-platform programming interface specification. The OpenGL is a hardware-independent software interface. The software interface provides functions that are accessible by other software or hardware.
  • The OpenGL capability refers to providing some functions to enable other software or hardware to invoke these functions to implement some functions, such as instruction processing functions, rendering functions, and so on.
  • In an implementation, the actions in the block 202 is specifically implemented as follow. The bridge layer obtains instruction information by parsing the drawing instructions, uses the OpenGL capability to generate an OpenGL drawing command corresponding to the drawing instructions according to the instruction information, and forms a rendering result by drawing the OpenGL drawing command into an OpenGL rendering window.
  • In the implementation, the instruction information includes but is not limited to an instruction name and instruction parameters, for example, for a drawing instruction: drawCircle (200, 300, 5), the instruction name is: drawCircle, and the instruction parameters are: x coordinate is 200, y coordinate is 300, radius is 5.
  • Further, the action that the bridge layer uses the OpenGL capability to generate the OpenGL drawing command corresponding to the drawing instructions according to the instruction information is specifically implemented as follow. The bridge layer uses the OpenGL capability to generate the OpenGL drawing command according to a preset instruction conversion rule and the instruction information. For example, the OpenGL drawing command with a preset form (i.e., standardized expression form of the instruction information) is formed by presetting an instruction conversion rule to splice various instruction information.
  • At block 203, the bridge layer transmits the rendering result to the system framework layer.
  • The actions in the block 203 is specifically implemented as follow. The bridge layer caches the rendering result into a pixel buffer, and transmits the rendering result to the system framework layer by exchanging data with a screen buffer through the pixel buffer.
  • At block 204, the system framework layer performs rendering based on the rendering result.
  • The actions in the block 204 is specifically implemented as follow. The system framework layer transmits the rendering result to a surface flinger, synthesizes screen contents through the surface flinger based on the rendering result, and displays the synthesized screen contents on a display screen of the terminal device.
  • In the implementation, the surface flinger is an independent service, which receives surfaces of all windows as an input, calculates positions of each surface in a final synthesized image according to parameters of each Surface, such as ZOrder, transparency, size, location, etc., and then the positions is transmitted to HWComposer or OpenGL to generates a final display Buffer, which is then displayed on a specific display device.
  • It can be seen that, in the implementations of the present disclosure, the JS layer directly invokes the OpenGL capability of the underlying layer of the system through the bridge layer, thereby improving the rendering performance. In addition, the processing of the drawing instructions is performed together only when the number of the drawing instructions cached in the instruction set exceeds a certain number, thereby reducing the number of times for invoking the OpenGL capability and reducing the power consumption of the terminal device.
  • In an implementation of the present disclosure, the method further includes the follows.
  • The JS layer receives a game service code.
  • The JS layer invokes a WebGL capability by invoking a WebGL API.
  • The JS layer obtains an operation instruction by using the WebGL capability to parse the game service code.
  • When the operation instruction is not a query instruction, the JS layer determines whether the number of the drawing instructions cached in the instruction set is greater than or equal to the first threshold.
  • In the implementation, the WebGL capability refers to providing some functions to enable other software or hardware to invoke these functions to implement some functions, such as code parsing functions, instruction processing functions, and so on.
  • The game service code refers to a development code of a game developer, which can be understood as the code for executing the game logic. Since the game service code is the code for executing the game logic, the JS layer can obtain some operation instructions for executing the game logic by parsing the game service code.
  • In the implementation, game-related instructions include drawing instructions, query instructions, and the like.
  • Further, the method includes the follows.
  • When the operation instruction is a query instruction, the JS layer transmits the operation instruction to the bridge layer.
  • The bridge layer obtains a query result by using the OpenGL capability to process the operation instruction.
  • The bridge layer transmits the query result to the JS layer.
  • Specifically, the action that the JS layer transmits the operation instruction to the bridge layer is specifically implemented as follow. The JS layer obtains instruction information carried in the operation instruction by parsing the operation instruction, and then transmits the obtained instruction information to the bridge layer.
  • The instruction information carried in the operation instruction includes, but is not limited to, an instruction name and instruction parameters.
  • Further, the JS layer may transmit the instruction information carried by the operation instruction to the bridge layer by means of direct transmission, or by means of indirect transmission, such as generating a query command corresponding to the operation instruction according to the preset instruction conversion rule and the instruction information, and then transmits the query command to the bridge layer. The processing way can make the subsequent links easy to parse the command.
  • Further, the method includes the follows.
  • When the operation instruction is not a query instruction and the number of the drawing instructions cached in the instruction set is less than the first threshold, the JS layer caches the operation instruction into the instruction set.
  • It can be seen that, in the implementation of the present disclosure, the instructions include query instructions and non-query instructions. When the instruction is a query instruction, the OpenGL capability is directly invoked. When the instruction is a non-query instruction, the OpenGL capabilities is invoked only when the number of cached instructions reaches a certain value, which improves the rendering performance.
  • In an implementation of the present disclosure, the method further includes the follows.
  • The system framework layer performs screen refresh, and displays each refreshed frame image on the display screen of the terminal device through Ondrawframe.
  • The system framework layer invokes a native render, and monitors whether a tick event exists in the JS layer by using the native render to invoke a dispatch tick event function of the bridge layer through the java native interface (JNI).
  • When a tick event exists, the action of the JS layer transmitting the drawing instructions cached in the instruction set to the bridge layer is performed.
  • In the implementation, JNI provides several APIs to achieve communication between Java and other languages (mainly C&C++), which allows Java codes to interact with codes written in other languages.
  • Consistent with the implementation illustrated in FIG. 2, FIG. 4 is a schematic flowchart of another game rendering method according to an implementation of the present disclosure. The method is applied to the above-mentioned terminal device 100. The terminal device 100 includes the JS layer 21, the bridge layer 22, and the system framework layer 23. The distribution of the system framework layer 23, the bridge layer 22 and the JS layer 21 are illustrated in FIG. 3. The game rendering method includes the follows.
  • At block 401, the JS layer receives a game service code.
  • At block 402, the JS layer invokes a WebGL capability by invoking a WebGL API, and obtains an operation instruction by using the WebGL capability to parse the game service code.
  • At block 403, the JS layer determines whether the operation instruction is a query instruction.
  • If the operation instruction is not a query instruction, the action at block 404 is performed.
  • If the operation instruction is a query instruction, the action at block 413 is performed.
  • At block 404, the JS layer determines whether a number of drawing instructions cached in a instruction set is greater than or equal to a first threshold.
  • If the number is greater than or equal to the first threshold, the action at block 405 is performed.
  • If the number is not greater than or equal to the first threshold, the action at block 416 is performed.
  • At block 405, the JS layer transmits the drawing instructions cached in the instruction set to the bridge layer.
  • At block 406, the bridge layer obtains instruction information by parsing the drawing instructions.
  • At block 407, the bridge layer uses the OpenGL capability to generate an OpenGL drawing command corresponding to the drawing instructions according to the instruction information.
  • At block 408, the bridge layer forms a rendering result by drawing the OpenGL drawing command into an OpenGL rendering window.
  • At block 409, the bridge layer caches the rendering result into a pixel buffer.
  • At block 410, the bridge layer transmits the rendering result to the system framework layer by exchanging data with a screen buffer through the pixel buffer.
  • At block 411, the system framework layer transmits the rendering result to a surface flinger.
  • At block 412, the system framework layer synthesizes screen contents through the surface flinger based on the rendering result, and displays the synthesized screen contents on a display screen of the terminal device.
  • At block 413, the JS layer transmits the operation instruction to the bridge layer.
  • At block 414, the bridge layer obtains a query result by using the OpenGL capability to process the operation instruction.
  • At block 415, the bridge layer transmits the query result to the JS layer.
  • At block 416, the JS layer caches the operation instruction into the instruction set.
  • At block 417, the system framework layer performs screen refresh.
  • At block 418, the system framework layer displays each refreshed frame image on the display screen of the terminal device through Ondrawframe.
  • At block 419, the system framework layer invokes a native render.
  • At block 420, the system framework layer monitors whether a tick event exists in the JS layer by using the native render to invoke a dispatch tick event function of the bridge layer.
  • When a tick event is existed, the action at block 405 is performed.
  • It should be noted that the specific implementation process of the present implementation may be referred to the specific implementation process described in the above-mentioned method implementation, and is not described herein.
  • Consistent with the implementations illustrated in FIGs. 2 and 4, FIG. 5 is a schematic structural diagram of a terminal device 500 according to an implementation of the present disclosure. The terminal device 500 includes a JS layer, a bridge layer, and a system framework layer. As illustrated, the terminal device 500 further includes at least one processor 501, a memory 502, a communication interface 503, and one or more computer programs 504. The one or more computer programs 504 are stored in the memory 502 and configured to be executed by the processor 501. The processor 501 is configured to execute the computer programs 504 to implement the game rendering method described in the foregoing implementations of the present disclosure.
  • Specifically, the computer programs include computer executable instructions which when executed by the processor 501, cause the processor 501 to carry out the following actions.
  • When a number of drawing instructions cached in an instruction set is greater than or equal to a first threshold, the drawing instructions cached in the instruction set is transmitted to the bridge layer by the JS layer.
  • A rendering result is obtained by the bridge layer using an OpenGL capability to process the drawing instructions.
  • The rendering result is transmitted to the system framework layer by the bridge layer.
  • Rendering is performed based on the rendering result by the system framework layer.
  • In an implementation of the present disclosure, the computer executable instructions further cause the processor 501 to carry out the following actions.
  • A game service code is received by the JS layer.
  • A WebGL capability is invoked by the JS layer invoking a WebGL API.
  • An operation instruction is obtained by the JS layer using the WebGL capability to parse the game service code.
  • When the operation instruction is not a query instruction, whether the number of the drawing instructions cached in the instruction set is greater than or equal to the first threshold is determined by the JS layer.
  • In an implementation of the present disclosure, the computer executable instructions further cause the processor 501 to carry out the following actions.
  • When the operation instruction is a query instruction, the operation instruction is transmitted to the bridge layer by the JS layer.
  • A query result is obtained by the bridge layer using the OpenGL capability to process the operation instruction.
  • The query result is transmitted to the JS layer by the bridge layer.
  • In an implementation of the present disclosure, the computer executable instructions further cause the processor 501 to carry out the following actions.
  • When the operation instruction is not a query instruction and the number of the drawing instructions cached in the instruction set is less than the first threshold, the operation instruction is cached into the instruction set by the JS layer.
  • In an implementation of the present disclosure, the computer executable instructions that cause the processor 501 to carry out the action that a rendering result is obtained by the bridge layer using an OpenGL capability to process the drawing instructions, specifically cause the processor 501 to carry out the following actions.
  • Instruction information is obtained by the bridge layer parsing the drawing instructions.
  • An OpenGL drawing command corresponding to the drawing instructions is generated according to the instruction information by the bridge layer using the OpenGL capability.
  • A rendering result is formed by the bridge layer drawing the OpenGL drawing command into an OpenGL rendering window.
  • In an implementation of the present disclosure, the computer executable instructions that cause the processor 501 to carry out the action that the rendering result is transmitted to the system framework layer by the bridge layer, specifically cause the processor 501 to carry out the following actions.
  • The rendering result is cached into a pixel buffer by the bridge layer.
  • The rendering result is transmitted to the system framework layer by the bridge layer exchanging data with a screen buffer through the pixel buffer.
  • In an implementation of the present disclosure, the computer executable instructions that cause the processor 501 to carry out the action that rendering is performed based on the rendering result by the system framework layer, specifically cause the processor 501 to carry out the following actions.
  • The rendering result is transmitted to a surface flinger by the system framework layer.
  • Screen contents is synthesized based on the rendering result by the surface flinger, and the synthesized screen contents is displayed on a display screen of the terminal device.
  • In an implementation of the present disclosure, the computer executable instructions further cause the processor 501 to carry out the following actions.
  • Screen refresh is performed by the system framework layer, and each refreshed frame image is displayed on the display screen of the terminal device through Ondrawframe.
  • A native render is invoked by the system framework layer, and whether a tick event is existed in the JS layer is monitored by using the native render to invoke a dispatch tick event function of the bridge layer.
  • When a tick event is existed, the action that the drawing instructions cached in the instruction set is transmitted to the bridge layer by the JS layer is performed.
  • It should be noted that the specific implementation process of the present implementation may be referred to the specific implementation process described in the foregoing method implementation, and is not described herein.
  • The foregoing implementations mainly introduce the solution of the implementations of the present disclosure from the perspective of performing the process on the method side. It can be understood that in order to achieve the above functions, the terminal device includes corresponding hardware structures and/or software modules to perform each function. Those skilled in the art will readily appreciate that the present disclosure can be implemented in a form of hardware or a combination of hardware and computer software in combination with the elements and algorithm steps of the various examples described in the implementations disclosed herein. Whether a function is implemented in hardware or computer software-driven hardware depends on the specific application and design constraints of the technical solution. Professional technicians may use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of this disclosure.
  • The implementations of the present disclosure may perform functional units division on the terminal device according to the method implementations. For example, each functional unit may be divided according to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of the units in the implementations of the present disclosure is schematic, and is only a logical functional division. In actual implementation, there may be another division manner.
  • The following is an apparatus implementation of the present disclosure, which is used to implement the method implemented by the method implementation of the present disclosure. FIG. 6 is a schematic structural diagram of a game rendering apparatus 600 according to an implementation of the present disclosure, which is applied to a terminal device. The terminal device includes a JS layer, a bridge layer and a system framework layer. As illustrated in FIG. 6, the game rendering apparatus 600 includes a transmitting unit 601, a processing unit 602, and a rendering unit 603.
  • The transmitting unit 601 is configured to transmit drawing instructions cached in an instruction set to the bridge layer, when a number of the drawing instructions cached in the instruction set is greater than or equal to a first threshold.
  • The processing unit 602 is configured to obtain a rendering result by using an OpenGL capability to process the drawing instructions.
  • The transmitting unit 601 is further configured to transmit the rendering result to the system framework layer.
  • The rendering unit 603 is configured to perform rendering based on the rendering result.
  • In an implementation of the present disclosure, as illustrated in FIG. 7, the game rendering apparatus 600' further includes the follows.
  • A receiving unit 604 is configured to receive a game service code.
  • An invoking unit 605 is configured to invoke a WebGL capability by invoking a WebGL API.
  • The processing unit 602 is further configured to obtain an operation instruction by using the WebGL capability to parse the game service code.
  • The processing unit 602 is further configured to determine whether the number of the drawing instructions cached in the instruction set is greater than or equal to the first threshold, when the operation instruction is not a query instruction.
  • In an implementation of the present disclosure, the transmitting unit 601 is further configured to transmit the operation instruction to the bridge layer when the operation instruction is a query instruction.
  • The processing unit 602 is further configured to obtain a query result by using the OpenGL capability to process the operation instruction.
  • The transmitting unit 601 is further configured to transmit the query result to the JS layer.
  • In an implementation of the present disclosure, the game rendering apparatus 600' further includes the follows.
  • A caching unit 606 is configured to cache the operation instruction into the instruction set, when the operation instruction is not a query instruction and the number of drawing instructions cached in the instruction set is less than the first threshold.
  • In an implementation of the present disclosure, the processing unit 602 is specifically configured to obtain instruction information by parsing the drawing instructions, use the OpenGL capability to generate an OpenGL drawing command corresponding to the drawing instructions according to the instruction information, and form a rendering result by drawing the OpenGL drawing command into an OpenGL rendering window.
  • In an implementation of the present disclosure, the transmitting unit 601 is specifically configured to cache the rendering result into a pixel buffer, and transmit the rendering result to the system framework layer by exchanging data with a screen buffer through the pixel buffer.
  • In an implementation of the present disclosure, the rendering unit 603 is specifically configured to transmit the rendering result to a surface flinger, synthesizes screen contents through the surface flinger based on the rendering result, and display the synthesized screen contents on a display screen of the terminal device.
  • In an implementation of the present disclosure, the game rendering apparatus 600' further includes the follows.
  • A refresh unit 607 is configured to perform screen refresh.
  • A display unit 608 is configured to display each refreshed frame image on the display screen of the terminal device through Ondrawframe.
  • The invoking unit 605 is further configured to invoke a native render.
  • A monitor unit 609 is configured to monitor whether a tick event is existed in the JS layer by using the native render to invoke a dispatch tick event function of the bridge layer.
  • When a tick event is existed, the transmitting unit 601 transmits the drawing instructions cached in the instruction set to the bridge layer.
  • It is to be noted that, the functions of the transmitting unit 601, the processing unit 602, the rendering unit 603, the receiving unit 604, the invoking unit 605, the caching unit 606, the refresh unit 607, the display unit 608, and the monitor unit 609 may be implemented by a processor.
  • Implementations of the present disclosure further provide a non-transitory computer readable storage medium, on which computer programs for electronic data interchange are stored. The computer programs are executed by a processor to implement the game rendering method described in the foregoing implementations of the present disclosure.
  • Specifically, the computer programs are executed by the processor to carry out the following actions. A JS layer transmits drawing instructions cached in an instruction set to a bridge layer, when a number of the drawing instructions cached in the instruction set is greater than or equal to a first threshold. The bridge layer obtains a rendering result by using an OpenGL capability to process the drawing instructions, and transmits the rendering result to a system framework layer. The system framework layer performs rendering based on the rendering result.
  • Implementations of the present disclosure also provide a computer program product. The computer program product includes a non-transitory computer-readable storage medium that stores computer programs. The computer programs are executed by a processor to implement the game rendering method described in the foregoing implementations of the present disclosure. The computer program product can be a software installation package.
  • It is to be noted that, for the sake of simplicity, the foregoing method implementations are described as a series of action combinations, however, it will be appreciated by those skilled in the art that the present disclosure is not limited by the sequence of actions described. According to the present disclosure, certain steps may be performed in other order or simultaneously. Besides, it will be appreciated by those skilled in the art that the implementations described in the specification are exemplary implementations and the actions and modules involved are not necessarily essential to the present disclosure.
  • In the foregoing implementations, the description of each implementation has its own emphasis. For the parts not described in detail in one implementation, reference may be made to related descriptions of other implementations.
  • In the implementations of the disclosure, the apparatus disclosed in implementations provided herein may be implemented in other manners. For example, the device/apparatus implementations described above are merely illustrative. For instance, the division of the unit is only a logical function division and there can be other manners of division during actual implementations, for example, multiple units or components may be combined or may be integrated into another system, or some features may be ignored, omitted, or not performed. In addition, coupling or communication connection between each illustrated or discussed component may be direct coupling or communication connection, or may be indirect coupling or communication among devices or units via some interfaces, and may be electrical connection, mechanical connection, or other forms of connection.
  • The units described as separate components may or may not be physically separated, the components illustrated as units may or may not be physical units, that is, they may be in the same place or may be distributed to multiple network elements. Part or all of the units may be selected according to actual needs to achieve the purpose of the technical solutions of the implementations.
  • In addition, the functional units in various implementations of the present disclosure may be integrated into one processing unit, or each unit may be physically present, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or a software function unit.
  • The integrated unit may be stored in a computer-readable memory when it is implemented in the form of a software functional unit and is sold or used as a separate product. Based on such understanding, the technical solutions of the present disclosure essentially, or the part of the technical solutions that contributes to the related art, or all or part of the technical solutions, may be embodied in the form of a software product which is stored in a memory and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device and so on) to perform all or part of the steps described in the various implementations of the present disclosure. The memory includes various medium capable of storing program codes, such as a USB (universal serial bus) flash disk, a read-only memory (ROM), a random-access memory (RAM), a removable hard disk, Disk, compact disc (CD), or the like.
  • It will be understood by those of ordinary skill in the art that all or part of the operations of the various methods of the implementations described above may be accomplished by means of a program to instruct associated hardware, the program may be stored in a computer-readable memory, which may include a flash memory, a read-only memory (ROM), a random-access memory (RAM), Disk or compact disc (CD), and so on.
  • The implementations of the present disclosure are described in detail above, specific examples are used herein to describe the principle and implementation manners of the present disclosure. The description of the above implementations is merely used to help understand the method and the core idea of the present disclosure. Meanwhile, those skilled in the art may make modifications to the specific implementation manners and the application scope according to the idea of the present disclosure. In summary, the contents of the specification should not be construed as limiting the present disclosure.

Claims (15)

  1. A game rendering method performed by a terminal device (100, 500), the terminal device comprising a JavaScript (JS) layer (21), a bridge layer (22) and a system framework layer (23), the method comprising:
    the JS layer transmitting cached drawing instructions comprised in an instruction set to the bridge layer, when the number of the cached drawing instructions comprised in the instruction set is greater than or equal to a first threshold (201);
    the bridge layer obtaining a rendering result by using an OpenGL capability to process the drawing instructions (202);
    the bridge layer transmitting the rendering result to the system framework layer (203); and
    the system framework layer performing rendering based on the rendering result (204).
  2. The method of claim 1, further comprising:
    the JS layer receiving a game service code (401), wherein a plurality of game service codes are cached, and correspond to a plurality of game-related operation instructions, wherein the game-related operation instructions comprise drawing instructions and query instructions;
    the JS layer invoking a WebGL capability (402);
    the JS layer obtaining an operation instruction by using the WebGL capability to parse the game service code (402); and
    the JS layer determining whether the number of the cached drawing instructions comprised in the instruction set is greater than or equal to the first threshold (404), when the obtained operation instruction is not a query instruction.
  3. The method of claim 2, further comprising:
    the JS layer transmitting the obtained operation instruction to the bridge layer, when the obtained operation instruction is a query instruction (413);
    the bridge layer obtaining a query result by using the OpenGL capability to process the obtained operation instruction (414); and
    the bridge layer transmitting the query result to the JS layer (415).
  4. The method of claim 2 or 3, further comprising:
    the JS layer caching the obtained operation instruction to the instruction set, when the obtained operation instruction is not a query instruction and the number of the cached drawing instructions comprised in the instruction set is less than the first threshold (416).
  5. The method of any one of claims 1 to 4, wherein the bridge layer obtaining the rendering result by using the OpenGL capability to process the cached drawing instructions (202) comprises:
    the bridge layer obtaining instruction information by parsing the cached drawing instructions (406);
    the bridge layer using the OpenGL capability to generate an OpenGL drawing command corresponding to the drawing instructions according to the instruction information (407); and
    the bridge layer forming a rendering result by drawing the OpenGL drawing command into an OpenGL rendering window (408).
  6. The method of any one of claims 1 to 5, wherein the bridge layer transmitting the rendering result to the system framework layer (203) comprises:
    the bridging layer caching the rendering result into a pixel buffer (409); and
    the bridging layer transmitting the rendering result to the system framework layer by exchanging data with a screen buffer through the pixel buffer (410).
  7. The method of any one of claims 1 to 6, wherein the system framework layer performing rendering based on the rendering result (204) comprises:
    the system framework layer transmitting the rendering result to a surface flinger (411); and
    the system framework layer synthesizing screen contents through the surface flinger based on the rendering result, and displaying the synthesized screen contents on a display screen of the terminal device (412).
  8. A game rendering apparatus (600, 600') comprised by a terminal device (100, 500), the terminal device further comprising a JavaScript (JS) layer (21), a bridge layer (22) and a system framework layer (23), the apparatus (600) comprising:
    a transmitting unit (601), configured to transmit cached drawing instructions comprised in an instruction set to the bridge layer by the JS layer, when the number of the cached drawing instructions comprised in the instruction set is greater than or equal to a first threshold;
    a processing unit (602), configured to obtain a rendering result by the bridge layer using an OpenGL capability to process the drawing instructions;
    the transmitting unit (601) further configured to transmit the rendering result to a system framework layer by the bridge layer; and
    a rendering unit (603), configured to perform rendering based on the rendering result by the system framework layer.
  9. The game rendering apparatus (600') of claim 8, further comprising:
    a receiving unit (604), configured to receive a game service code by the JS layer, wherein a plurality of game service codes are cached and correspond to a plurality of game-related operation instructions, wherein the game-related operation instructions comprise drawing instructions and query instructions;
    an invoking unit (605), configured to invoke a WebGL capability by the JS layer;
    the processing unit (602) further configured to obtain an operation instruction by the JS layer using the WebGL capability to parse the game service code, and determine, by the JS layer, whether the number of the cached drawing instructions comprised in the instruction set is greater than or equal to the first threshold, when the obtained operation instruction is not a query instruction.
  10. The game rendering apparatus (600') of claim 9, wherein,
    the transmitting unit (601) is further configured to transmit the obtained operation instruction to the bridge layer by the JS layer, when the obtained operation instruction is a query instruction;
    the processing unit (602) is further configured to obtain a query result by the bridge layer using the OpenGL capability to process the obtained operation instruction; and
    the transmitting unit (601) is further configured to transmit the query result to the JS layer by the bridge layer.
  11. The apparatus (600') of claim 9, further comprising:
    a caching unit (606), configured to cache the obtained operation instruction to the instruction set by the JS layer, when the obtained operation instruction is not a query instruction and the number of the cached drawing instructions comprised in the instruction set is less than the first threshold.
  12. The apparatus (600, 600') of any one of claims 8 to 11, wherein the processing unit (602) is configured to:
    obtain instruction information by the bridge layer parsing the drawing instructions;
    use the OpenGL capability to generate an OpenGL drawing command corresponding to the drawing instructions according to the instruction information; and
    form a rendering result by the bridge layer drawing the OpenGL drawing command into an OpenGL rendering window.
  13. The apparatus (600, 600') of any one of claims 8 to 12, wherein the transmitting unit (601) is configured to:
    cache the rendering result into a pixel buffer by the bridging layer; and
    transmit the rendering result to the system framework layer by the bridging layer exchanging data with a screen buffer through the pixel buffer.
  14. The apparatus (600, 600') of any one of claims 8 to 13, wherein the rendering unit (603) is configured to:
    transmit the rendering result to a surface flinger by the system framework layer; and
    synthesize screen contents based on the rendering result by the surface flinger; and
    display the synthesized screen contents on a display screen of the terminal device.
  15. A non-transitory computer-readable storage medium storing computer programs which, when executed by a processor (101, 501), cause the processor to perform the method of any one of claims 1 to 7.
EP19189588.7A 2018-09-12 2019-08-01 Game rendering method and apparatus, and non-transitory computer-readable storage medium Active EP3623938B1 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811061909.2A CN109343837A (en) 2018-09-12 2018-09-12 Game rendering method and related equipment

Publications (2)

Publication Number Publication Date
EP3623938A1 EP3623938A1 (en) 2020-03-18
EP3623938B1 true EP3623938B1 (en) 2021-06-16

Family

ID=65304768

Family Applications (1)

Application Number Title Priority Date Filing Date
EP19189588.7A Active EP3623938B1 (en) 2018-09-12 2019-08-01 Game rendering method and apparatus, and non-transitory computer-readable storage medium

Country Status (5)

Country Link
US (1) US10866818B2 (en)
EP (1) EP3623938B1 (en)
CN (1) CN109343837A (en)
ES (1) ES2882642T3 (en)
WO (1) WO2020052376A2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109343837A (en) * 2018-09-12 2019-02-15 Oppo广东移动通信有限公司 Game rendering method and related equipment
CN110297623B (en) * 2019-07-03 2023-07-14 广州虎牙科技有限公司 Log display method and device
CN112330783A (en) * 2019-07-31 2021-02-05 广州虎牙科技有限公司 Cloud rendering method and device, terminal device and readable storage medium
CN111522520B (en) * 2020-04-03 2024-04-19 广东小天才科技有限公司 Method, device, equipment and storage medium for processing software imitation paper
CN111562962B (en) * 2020-04-29 2023-07-04 百度在线网络技术(北京)有限公司 Picture rendering method and device, electronic equipment and storage medium
CN113262466B (en) * 2021-05-11 2026-06-26 Oppo广东移动通信有限公司 Vibration control methods, devices, mobile terminals and storage media
CN115373746A (en) * 2022-08-11 2022-11-22 Oppo广东移动通信有限公司 Fetching method and device of rendering instruction, electronic equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018050003A1 (en) * 2016-09-14 2018-03-22 阿里巴巴集团控股有限公司 3d canvas web page element rendering method and apparatus, and electronic device

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070192818A1 (en) 2004-10-12 2007-08-16 Mikael Bourges-Sevenier System and method for creating, distributing, and executing rich multimedia applications
CN103399729B (en) 2013-06-28 2016-04-27 广州市动景计算机科技有限公司 HTML5 Canvas application processing method and device and processor
US9507649B2 (en) 2014-05-29 2016-11-29 Apple Inc. Web browser for spoofing supported features
CN104778082B (en) 2015-03-25 2018-04-24 小米科技有限责任公司 The treating method and apparatus of open GL operation
CN106453852A (en) 2016-09-20 2017-02-22 深圳鼎智通讯股份有限公司 Screen color adjustment system and method for Android terminal
CN106504185B (en) 2016-10-26 2020-04-07 腾讯科技(深圳)有限公司 Rendering optimization method and device
CN107436797A (en) * 2017-08-14 2017-12-05 深信服科技股份有限公司 A kind of director data processing method and processing device based on virtualized environment
CN107913519B (en) 2017-08-29 2022-11-04 深圳壹账通智能科技有限公司 2D game rendering method and mobile terminal
CN107911708B (en) 2017-11-09 2022-04-05 腾讯数码(天津)有限公司 Barrage display method, live broadcast method and related devices
CN109343837A (en) * 2018-09-12 2019-02-15 Oppo广东移动通信有限公司 Game rendering method and related equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018050003A1 (en) * 2016-09-14 2018-03-22 阿里巴巴集团控股有限公司 3d canvas web page element rendering method and apparatus, and electronic device

Also Published As

Publication number Publication date
WO2020052376A2 (en) 2020-03-19
CN109343837A (en) 2019-02-15
ES2882642T3 (en) 2021-12-02
WO2020052376A3 (en) 2020-05-14
US20200081722A1 (en) 2020-03-12
EP3623938A1 (en) 2020-03-18
US10866818B2 (en) 2020-12-15

Similar Documents

Publication Publication Date Title
US10866818B2 (en) Game rendering method, terminal device, and non-transitory computer-readable storage medium
CN112558825B (en) Information processing method and electronic device
CN106844066B (en) Application operation method, device and system
CN113282360B (en) Rendering method and device of 2D canvas webpage element and electronic equipment
CN112527174B (en) Information processing method and electronic equipment
US10207190B2 (en) Technologies for native game experience in web rendering engine
CN114647390B (en) Enhanced screen sharing method and system and electronic equipment
CN113613064B (en) Video processing method, device, storage medium and terminal
CN112527222A (en) Information processing method and electronic equipment
CN112307403B (en) Page rendering method and device, storage medium and terminal
CN110795097A (en) A page processing method, apparatus, computer equipment and storage medium
EP4024208B1 (en) Method for launching quick application, and related device
CN113225616A (en) Video playing method and device, computer equipment and readable storage medium
CN118071893A (en) A graphical interface processing method and device
CN111104183B (en) Application running method, device, electronic device and storage medium
WO2023169157A1 (en) Sub application running method and apparatus, electronic device, program product, and storage medium
CN115865908A (en) Remote desktop system startup control method and related equipment
CN111078325A (en) Application running method, device, electronic device and storage medium
CN111913711B (en) Video rendering method and device
WO2021052488A1 (en) Information processing method and electronic device
CN116719587B (en) Screen display method, electronic device and computer readable storage medium
CN115086888B (en) Message notification method and device, electronic equipment
CN112073356A (en) Data transmission method and display device
CN116467535A (en) Page display method, device, storage medium, computer equipment and program product
CN118379420B (en) Display switching method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION HAS BEEN PUBLISHED

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR

AX Request for extension of the european patent

Extension state: BA ME

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: REQUEST FOR EXAMINATION WAS MADE

17P Request for examination filed

Effective date: 20200702

RBV Designated contracting states (corrected)

Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR

GRAP Despatch of communication of intention to grant a patent

Free format text: ORIGINAL CODE: EPIDOSNIGR1

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: GRANT OF PATENT IS INTENDED

INTG Intention to grant announced

Effective date: 20210312

GRAS Grant fee paid

Free format text: ORIGINAL CODE: EPIDOSNIGR3

GRAA (expected) grant

Free format text: ORIGINAL CODE: 0009210

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE PATENT HAS BEEN GRANTED

AK Designated contracting states

Kind code of ref document: B1

Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR

REG Reference to a national code

Ref country code: GB

Ref legal event code: FG4D

REG Reference to a national code

Ref country code: CH

Ref legal event code: EP

REG Reference to a national code

Ref country code: DE

Ref legal event code: R096

Ref document number: 602019005359

Country of ref document: DE

REG Reference to a national code

Ref country code: AT

Ref legal event code: REF

Ref document number: 1402896

Country of ref document: AT

Kind code of ref document: T

Effective date: 20210715

REG Reference to a national code

Ref country code: IE

Ref legal event code: FG4D

REG Reference to a national code

Ref country code: NL

Ref legal event code: FP

REG Reference to a national code

Ref country code: LT

Ref legal event code: MG9D

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: LT

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20210616

Ref country code: HR

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20210616

Ref country code: FI

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20210616

Ref country code: BG

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20210916

REG Reference to a national code

Ref country code: AT

Ref legal event code: MK05

Ref document number: 1402896

Country of ref document: AT

Kind code of ref document: T

Effective date: 20210616

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: SE

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20210616

Ref country code: RS

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20210616

Ref country code: LV

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20210616

Ref country code: NO

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20210916

Ref country code: GR

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20210917

REG Reference to a national code

Ref country code: ES

Ref legal event code: FG2A

Ref document number: 2882642

Country of ref document: ES

Kind code of ref document: T3

Effective date: 20211202

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: SK

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20210616

Ref country code: EE

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20210616

Ref country code: CZ

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20210616

Ref country code: AT

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20210616

Ref country code: RO

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20210616

Ref country code: PT

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20211018

Ref country code: SM

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20210616

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: PL

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20210616

REG Reference to a national code

Ref country code: DE

Ref legal event code: R097

Ref document number: 602019005359

Country of ref document: DE

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: MC

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20210616

PLBE No opposition filed within time limit

Free format text: ORIGINAL CODE: 0009261

REG Reference to a national code

Ref country code: BE

Ref legal event code: MM

Effective date: 20210831

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: NO OPPOSITION FILED WITHIN TIME LIMIT

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: DK

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20210616

26N No opposition filed

Effective date: 20220317

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: LU

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20210801

Ref country code: AL

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20210616

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: IE

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20210801

Ref country code: BE

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20210831

REG Reference to a national code

Ref country code: CH

Ref legal event code: PL

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: LI

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20220831

Ref country code: CH

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20220831

P01 Opt-out of the competence of the unified patent court (upc) registered

Effective date: 20230412

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: CY

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20210616

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: HU

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT; INVALID AB INITIO

Effective date: 20190801

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: MK

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20210616

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: MT

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20210616

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: NL

Payment date: 20250821

Year of fee payment: 7

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: ES

Payment date: 20250917

Year of fee payment: 7

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: DE

Payment date: 20250819

Year of fee payment: 7

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: IT

Payment date: 20250829

Year of fee payment: 7

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: TR

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20210616

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: GB

Payment date: 20260622

Year of fee payment: 8

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: FR

Payment date: 20260629

Year of fee payment: 8