WO2020087230A1 - Method for displaying game page and related product - Google Patents

Method for displaying game page and related product Download PDF

Info

Publication number
WO2020087230A1
WO2020087230A1 PCT/CN2018/112501 CN2018112501W WO2020087230A1 WO 2020087230 A1 WO2020087230 A1 WO 2020087230A1 CN 2018112501 W CN2018112501 W CN 2018112501W WO 2020087230 A1 WO2020087230 A1 WO 2020087230A1
Authority
WO
WIPO (PCT)
Prior art keywords
game
target
loading
electronic device
information display
Prior art date
Application number
PCT/CN2018/112501
Other languages
French (fr)
Chinese (zh)
Inventor
魏濛
Original Assignee
深圳市欢太科技有限公司
Oppo广东移动通信有限公司
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 深圳市欢太科技有限公司, Oppo广东移动通信有限公司 filed Critical 深圳市欢太科技有限公司
Priority to PCT/CN2018/112501 priority Critical patent/WO2020087230A1/en
Priority to CN201880097411.3A priority patent/CN112672794A/en
Publication of WO2020087230A1 publication Critical patent/WO2020087230A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/04Arrangements for program control, e.g. control units using record carriers containing only program instructions

Definitions

  • This application relates to the field of electronic technology, and in particular to a game page display method and related products.
  • H5 games and mini-games are games that can be experienced without downloading game applications.
  • some applications can be implemented directly through the application interface.
  • the application icon in opens other applications without downloading or installing the other application, for example, WeChat applet, through WeChat application, you can directly click other applets or mini-games without downloading applets or mini-games, generally speaking, H5 games He and mini games are loaded and run through the game engine, but the loading process takes a long time, and users need to wait for a long time. Therefore, how to improve the bad experience of users waiting for a long time during the loading process of H5 games and mini games needs to be resolved.
  • the invention provides a game page display method and related products, so that during the process of loading an H5 game or a mini-game in an electronic device, the unified game information page is displayed on the display screen to block the white screen or the game reading page to avoid Too long game loading time affects the user's gaming experience.
  • an embodiment of the present invention provides a method for displaying a game page, which is applied to an electronic device.
  • the method includes:
  • a display device for a game page which is applied to an electronic device.
  • the device includes:
  • a loading unit configured to receive an opening instruction of a target game, and load game resources of the target game according to the opening instruction
  • An obtaining unit configured to obtain a game information display page of the target game
  • a display unit configured to display the game information display page on the display screen of the electronic device during the loading of the game resource
  • the execution unit is configured to obtain the loading progress of the target game. If the loading progress is in the loading completion state, stop displaying the game information display page and enter the game page of the target game.
  • an electronic device in a third aspect, includes a processor, a memory, a communication interface, and one or more programs, the one or more programs are stored in the memory, and configured to be executed by the processor,
  • the program includes instructions for performing the steps in the method as provided in the first aspect.
  • a computer-readable storage medium that stores a computer program for electronic data exchange, wherein the computer program causes a computer to perform the method provided in the first aspect.
  • a computer program product comprising a non-transitory computer-readable storage medium storing a computer program, the computer program being operable to cause a computer to perform the method provided in the first aspect.
  • the game page display method and related products described in the embodiments of the present application receive the start instruction of the target game, load the game resource of the target game according to the start instruction, and obtain the game information display page of the target game.
  • the game information display page is displayed on the display of the electronic device to obtain the loading progress of the target game. If the loading progress is in the loading completed state, the game information display page is stopped and the target game page is entered.
  • the unified game information page is displayed on the display screen to block the white screen or the game reading page to avoid affecting the user's game experience due to the long game loading time.
  • FIG. 1A is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 1B is a schematic flowchart of a game page display method disclosed in an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of another game page display method disclosed in an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of another game page display method disclosed in an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of another electronic device disclosed in an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a game page display device disclosed in an embodiment of the present application.
  • the electronic devices involved in the embodiments of the present application may include various handheld devices with wireless communication functions, in-vehicle devices, wearable devices, computing devices, or other processing devices connected to a wireless modem, and various forms of user equipment (user equipment, UE), mobile station (MS), terminal device, etc.
  • UE user equipment
  • MS mobile station
  • terminal device etc.
  • the devices mentioned above are collectively referred to as electronic devices.
  • FIG. 1A is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application.
  • the electronic device 100 may include a control circuit, and the control circuit may include a storage and processing circuit 110.
  • the storage and processing circuit 110 may be a memory, such as a hard disk drive memory, a non-volatile memory (such as flash memory or other electronic programmable read-only memory used to form a solid-state drive, etc.), a volatile memory (such as static or dynamic random memory Take the memory, etc.), etc., the embodiments of the present application are not limited.
  • the processing circuit in the storage and processing circuit 110 may be used to control the operation of the electronic device 100.
  • the processing circuit can be implemented based on one or more microprocessors, microcontrollers, digital master-slave headphone switching controllers, baseband processors, power management units, audio codec chips, dedicated integrated circuits, display driver integrated circuits, etc. .
  • the storage and processing circuit 110 can be used to run software in the electronic device 100, such as Internet browsing applications, voice over Internet (VOIP) phone call applications, email applications, media playback applications, operating system functions Wait. These software can be used to perform some control operations, such as camera-based image acquisition, ambient light sensor-based ambient light measurement, proximity sensor-based proximity sensor measurement, and information based on status indicators such as light-emitting diode status indicators Display functions, touch event detection based on touch sensors, functions associated with displaying information on multiple (e.g., layered) displays, operations associated with performing wireless communication functions, operations associated with collecting and generating audio signals
  • the control operations associated with collecting and processing button press event data and other functions in the electronic device 100 are not limited in the embodiments of the present application.
  • the electronic device 100 may also include an input-output circuit 150.
  • the input-output circuit 150 may be used to enable the electronic device 100 to input and output data, that is, to allow the electronic device 100 to receive data from an external device and also to allow the electronic device 100 to output data from the electronic device 100 to an external device.
  • the input-output circuit 150 may further include a sensor 170.
  • the sensor 170 may include an ambient light sensor, a proximity sensor based on light and capacitance, and a touch sensor (for example, a light-based touch sensor and / or a capacitive touch sensor, where the touch sensor may be part of a touch display screen or may be used as a The touch sensor structure is used independently), acceleration sensor, gravity sensor, and other sensors.
  • the input-output circuit 150 may also include one or more displays, such as the display 130.
  • the display 130 may include a liquid crystal display, an organic light emitting diode display, an electronic ink display, a plasma display, or a display using other display technologies or a combination of several.
  • the display 130 may include a touch sensor array (ie, the display 130 may be a touch display screen).
  • the touch sensor may be a capacitive touch sensor formed by an array of transparent touch sensor electrodes (such as indium tin oxide (ITO) electrodes), or may be a touch sensor formed using other touch technologies, such as sonic touch, pressure sensitive touch, resistance Touch, optical touch, etc. are not limited in the embodiments of the present application.
  • the audio component 140 may be used to provide audio input and output functions for the electronic device 100.
  • the audio component 140 in the electronic device 100 may include a speaker, a microphone, a buzzer, a tone generator, and other components for generating and detecting sound.
  • the communication circuit 120 may be used to provide the electronic device 100 with the ability to communicate with external devices.
  • the communication circuit 120 may include analog and digital input-output interface circuits, and wireless communication circuits based on radio frequency signals and / or optical signals.
  • the wireless communication circuit in the communication circuit 120 may include a radio frequency transceiver circuit, a power amplifier circuit, a low noise amplifier, a switch, a filter, and an antenna.
  • the wireless communication circuit in the communication circuit 120 may include a circuit for supporting near field communication (NFC) by transmitting and receiving near-field coupled electromagnetic signals.
  • the communication circuit 120 may include a near field communication antenna and a near field communication transceiver.
  • the communication circuit 120 may also include a cellular phone transceiver and antenna, a wireless local area network transceiver circuit and antenna, and so on.
  • the electronic device 100 may further include a battery, a power management circuit, and other input-output units 160.
  • the input-output unit 160 may include buttons, joysticks, click wheels, scroll wheels, touch pads, keypads, keyboards, cameras, light emitting diodes, other status indicators, and the like.
  • the user can input commands through the input-output circuit 150 to control the operation of the electronic device 100, and can use the output data of the input-output circuit 150 to realize receiving status information and other outputs from the electronic device 100.
  • FIG. 1B is a schematic flowchart of a game page display method provided by an embodiment of the present application.
  • the game page display method described in this embodiment is applied to an electronic device as shown in FIG. 1A.
  • the game page The display methods include:
  • the target game may include H5 games and mini-games, where H5 refers to a web page of an electronic device, and H5 games refers to a web game in an electronic device.
  • H5 games can be experienced without downloading a game application.
  • a game refers to a game that can be directly entered into a game application through a specific application, for example, a small game entered as a small program in a chat application or a payment application. Such games do not need to be downloaded, and can be directly opened through the icon entrance of the small game.
  • a game directly accessed through the game ’s advertising page in the browser, or another example, a game directly accessed through a webpage link, etc. It can be understood that the game opened by the above-mentioned various methods can be directly opened without downloading and installing. .
  • receiving the start instruction of the target game may include receiving a user's trigger instruction to the target game's game icon, or receiving a user's trigger instruction to the target game's game link, etc., which is not limited herein.
  • loading the game resource of the target game according to the start instruction may specifically include the following steps:
  • the first preset type of game is an H5 game
  • the first game engine is an H5 game game engine.
  • the H5 game is loaded, and after receiving the opening instruction of the target game, it can jump according to the opening instruction Go to the game lobby, and determine whether the local storage space of the electronic device contains game resources. If the local resources do not contain game resources, you can download the game resources through the game lobby, and pull up the web page view according to the game resources.
  • the resource initializes the first game engine installed in the electronic device, and then loads the game resource through the first game engine.
  • the local resources include game resources, it can be determined whether the version of the target game is the latest version, and if it is not the latest version, the latest version of the game resources can be downloaded.
  • loading game resources of the target game according to the start instruction may specifically include the following steps:
  • the second preset type of game is a mini-game
  • the second game engine is a game engine of a mini-game.
  • the mini-game is loaded, and after receiving the start instruction of the target game, it can jump according to the start instruction Go to the game lobby, initialize the second game engine installed on the electronic device, and obtain the version number of the target game. If the version number is not the latest version, update the game resources of the target game.
  • the second game engine The game resources of the mini game are updated to obtain the updated game resources, and the game resources of the target game are loaded through the second game engine.
  • A1. Determine the current network status of the electronic device
  • If the current network state is a wireless network state, perform the operation of updating the game resources corresponding to the target game;
  • the version number of the target game and the latest version number of the target game may be obtained, and then the version number of the target game Match with the latest version number. If the match is successful, it indicates that the target game is the latest version. No update is required. If the match fails, the game version of the target game can be updated to the latest version to obtain the latest version of game resources.
  • the game information display page includes at least one of: avatar information of the target game, loading progress of the target game, game strategy of the target game, and so on.
  • the avatar information of the target game includes the first avatar information corresponding to the user's first game account
  • the loading progress of the target game can be displayed in the form of a progress bar
  • the game strategy of the target game can be pre
  • the game strategy with a fixed number of words can be displayed on the display screen while loading the game resources of the target game, so that the user can understand the game strategy and improve the user while waiting for the game to load
  • the correspondence between the game level and the game strategy can be preset, so that the user Each time the target game is opened, the game strategy corresponding to the game level where the user is at the time can be set, or the correspondence between the game characters and the game strategy can be preset, so that each time the user starts the target game, the user can The game strategy corresponding to the game character where
  • the avatar information of the target game includes first avatar information of the first game account, and second avatar information of the second game account of the game opponent.
  • the first game account of the user can be matched with the game opponent, and the avatar information of the second game account corresponding to the game opponent can be obtained.
  • the game information display page of the target game may be obtained, and the game information display page of the target game may be obtained through the game lobby.
  • the game information display page of the target game may be obtained, and the game information display page of the target game may be obtained through the second game engine.
  • the H5 game can obtain the game information display page of the target game through the game lobby, and the mini-game can obtain the game information display page of the target game through the second game engine.
  • the electronic device takes into consideration that the loading and loading process takes a long time, and the user's experience of waiting for loading is not good. Therefore, the game information display page can be displayed on the display screen, and the game information display page can be blocked During the loading process, such as a white screen or a progress bar for game loading, the user experience of waiting for the game to load is improved.
  • step 103 if the target game is a game of the first preset type, during the loading of the game resource, the game information display page is displayed on the display screen of the electronic device,
  • the game information display page may be displayed on the display screen of the electronic device by downloading the game resource in the game lobby to loading the game resource through the first game engine.
  • step 103 if the target game is a game of the first preset type, during the loading of the game resource, the game information display page is displayed on the display screen of the electronic device,
  • the game information display page may be displayed on the display screen of the electronic device during the process of initializing the second game engine installed on the electronic device to load the game resource through the second game engine.
  • H5 games may include The process of downloading data resources, pulling up webview webview, initializing the first game engine, loading game resources, etc.
  • the game needs to be displayed in several stages of downloading data resources, pulling up webview webview, initializing the first game engine, and loading game resources.
  • Information display page; mini-games can include the process of receiving mini-game start commands, initializing the second game engine, updating game resources, loading game resources, etc.
  • the second engine needs to be initialized, updating game resources and loading game resources.
  • the stage displays the game information display page.
  • the target game is a competition game
  • the following steps may be further included:
  • step 103 during the process of loading the game resource, displaying the game information display page on the display screen of the electronic device further includes:
  • the game information display page is displayed on the display screen of the electronic device.
  • the target game is a battle game
  • it may also include an operation to match the opponent, and after the game is loaded, it may also include a stage of waiting for the game opponent to prepare.
  • Download data resources pull up webview webview, initialize the first game engine, load game resources, wait for opponents to prepare the game information display page in several stages,
  • the target game is a battle game
  • the second game engine before the second game engine is initialized, it can also include the operation of matching opponents. After the game is loaded, it can also include a stage of waiting for the game opponent to prepare, where the second engine needs to be initialized , Update game resources, load game resources, and wait for game opponents to prepare to display the game information display page in several stages.
  • the loading progress of the target game can be obtained in real time. If the loading of the target game is completed, there is no need to block the progress bar information of the display screen.
  • the game information display page can be stopped and the game page of the target game can be entered. So that the user can start the game.
  • the game advertisement pushing method described in the embodiment of the present application receives the start instruction of the target game, loads the game resource of the target game according to the start instruction, obtains the game information display page of the target game, and loads the game resource During the process, the game information display page is displayed on the display of the electronic device to obtain the loading progress of the target game. If the loading progress is in the loading completed state, the game information display page is stopped and the game page of the target game is entered. During the loading of H5 games or mini-games, the unified game information page is displayed on the display screen to block the white screen or the game reading page to avoid affecting the user's game experience due to the long loading time of the game.
  • FIG. 2 is a schematic flowchart of a game page display method provided by an embodiment of the present application.
  • the game page display method described in this embodiment is applied to an electronic device as shown in FIG. 1A.
  • the game page The display methods include:
  • 201 Receive an opening instruction of a target game. If the target game is a game of the first preset type, jump to the game lobby according to the opening instruction, and determine whether the local resource of the electronic device includes the game resource.
  • the game advertisement pushing method described in the embodiment of the present application by receiving the opening instruction of the target game, if the target game is an H5 game, jump to the game lobby according to the opening instruction to determine whether the local resource of the electronic device is Contains game resources, if not, download game resources through the game lobby, initialize the first game engine installed on the electronic device according to the game resources, load game resources through the first game engine, and obtain the game information display page of the target game through the game lobby, In the process of downloading game resources from the game lobby to loading game resources through the first game engine, the game information display page is displayed on the display of the electronic device to obtain the loading progress of the target game, if the loading progress is in the loading completion state, stop displaying the game information Display the page and enter the game page of the target game. In this way, during the process of loading the H5 game on the electronic device, the unified game information page can be displayed on the display screen to block the white screen or the game reading page to avoid the influence of the game loading time. User's gaming experience .
  • FIG. 3 is a schematic flowchart of a game page display method provided by an embodiment of the present application.
  • the game page display method described in this embodiment is applied to an electronic device as shown in FIG. 1A.
  • the game page The display methods include:
  • 301 Receive an opening instruction of a target game. If the target game is a game of a second preset type, jump to the game hall according to the opening instruction, and initialize a second game engine installed in the electronic device.
  • the game advertisement pushing method described in the embodiment of the present application by receiving the opening instruction of the target game, if the target game is a small game, jump to the game hall according to the opening instruction, and install the second
  • the game engine initializes and obtains the version number of the target game.
  • the game resource corresponding to the target game is updated to obtain the updated game resource, and the game resource of the target game is loaded through the second game engine.
  • the game information display page is displayed on the display screen of the electronic device To obtain the loading progress of the target game.
  • the loading progress is in the loading completion state, stop displaying the game information display page and enter the game page of the target game.
  • the unified game can be displayed on the display screen during the loading of the mini game on the electronic device.
  • the information page blocks the white screen or the game Read the article page, avoid long is too long when the game loads affect the user's gaming experience.
  • FIG. 4 is an electronic device provided by an embodiment of the present application, including: a processor and a memory; and one or more programs, the one or more programs are stored in the In the memory, and configured to be executed by the processor, the program includes instructions for performing the following steps:
  • the program includes instructions for performing the following steps :
  • the program includes instructions for performing the following steps:
  • the program includes instructions for performing the following steps:
  • the game information display page is displayed on the display screen of the electronic device.
  • the program includes instructions for performing the following steps :
  • the program includes instructions for performing the following steps:
  • the program includes instructions for performing the following steps:
  • the game information display page is displayed on the display screen of the electronic device.
  • the program before the game resource corresponding to the target game is updated, the program further includes instructions for performing the following steps:
  • the current network state is the wireless network state, perform the operation of updating the game resources corresponding to the target game
  • the operation of updating the game resources corresponding to the target game is performed.
  • the program after receiving the opening instruction of the target game, the program further includes instructions for performing the following steps:
  • displaying the game information display page on the display screen of the electronic device further includes:
  • the game information display page is displayed on the display screen of the electronic device.
  • the game information display page includes at least one of: the avatar information of the target game, the loading progress of the target game, and the game strategy of the target game.
  • the avatar information of the target game includes first avatar information of a first game account, and second avatar information of a second game account of the game opponent .
  • FIG. 5 is a schematic structural diagram of a game page display device provided by this embodiment.
  • the game page display device is applied to an electronic device as shown in FIG. 1A.
  • the game page display device includes a loading unit 501, an acquisition unit 502, a display unit 503, and an execution unit 504, where,
  • the loading unit 501 is configured to receive an opening instruction of a target game, and load game resources of the target game according to the opening instruction;
  • the acquiring unit 502 is configured to acquire a game information display page of the target game
  • the display unit 503 is configured to display the game information display page on the display screen of the electronic device during the loading of the game resource;
  • the execution unit 504 is configured to obtain the loading progress of the target game. If the loading progress is in the loading completion state, stop displaying the game information display page and enter the game page of the target game.
  • the loading unit is specifically configured to:
  • the obtaining unit is specifically used to:
  • the display unit is specifically used for:
  • the game information display page is displayed on the display screen of the electronic device.
  • the loading unit is specifically configured to:
  • the obtaining unit is specifically used to:
  • the display unit is specifically used for:
  • the game information display page is displayed on the display screen of the electronic device.
  • the loading unit is further used to:
  • the current network state is a wireless network state, perform the operation of updating the game resources corresponding to the target game
  • the operation of updating the game resources corresponding to the target game is performed.
  • the execution unit is further configured to:
  • the display unit is also used for:
  • the game information display page is displayed on the display screen of the electronic device.
  • the game information display page includes at least one of: avatar information of the target game, loading progress of the target game, and game strategy of the target game.
  • the avatar information of the target game includes first avatar information of a first game account, and second avatar information of a second game account of the game opponent.
  • the game advertisement pushing apparatus described in the embodiments of the present application displays the first game advertisement of the first game on the first display position of the application interface of the first application through the electronic device, and receives the advertisement for the first game Triggering instruction, enter the first game, count the triggering frequency of the triggering instruction for the first game advertisement, send the first display position and the triggering frequency to the server, the server according to the first
  • the display position and the trigger frequency adjust the delivery method of the first game advertisement.
  • the delivery method of the first game advertisement can be adjusted according to the trigger frequency of triggering the first game advertisement by the user to make the placement of game advertisements more personalise.
  • An embodiment of the present application further provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes the computer to execute any one of the game page display methods described in the above method embodiments Part or all of the steps.
  • An embodiment of the present application further provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, the computer program is operable to cause the computer to execute as described in the above method embodiments Some or all steps of any game page display method.
  • the disclosed device may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or may Integration into another system, or some features can be ignored, or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or software program modules.
  • the integrated unit is implemented in the form of a software program module and sold or used as an independent product, it may be stored in a computer-readable memory.
  • the technical solution of the present application essentially or part of the contribution to the existing technology or all or part of the technical solution can be embodied in the form of a software product, the computer software product is stored in a memory, Several instructions are included to enable a computer device (which may be a personal computer, server, network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application.
  • the foregoing memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, magnetic disk, or optical disk, which can store various program codes.
  • the program may be stored in a computer-readable memory, and the memory may include: a flash disk , ROM, RAM, magnetic disk or optical disk, etc.

Abstract

A method for displaying a game page and a related product. The method comprises: receiving an enable instruction of a target game, and loading a game resource of the target game according to the enable instruction; obtaining a game information display page of the target game; displaying the game information display page in a display screen of an electronic device in the process of loading the game resource; and obtaining the loading progress of the target game, and if the loading progress is the load complete state, stopping displaying the game information display page and entering the game page of the target game. In the process of loading an H5 game or mini-game in the electronic device, the white screen or game reading page is blocked by displaying a unified game information page in the display screen, avoiding affecting the game experience of users due to too long game loading time.

Description

游戏页面的显示方法及相关产品Game page display method and related products 技术领域Technical field
本申请涉及电子技术领域,尤其涉及一种游戏页面的显示方法及相关产品。This application relates to the field of electronic technology, and in particular to a game page display method and related products.
背景技术Background technique
随着电子设备(如:手机、平板电脑等)的大量普及应用,电子设备能够支持的应用越来越多,功能越来越强大,电子设备向着多样化、个性化的方向发展,成为用户生活中不可缺少的电子用品。With the widespread application of electronic devices (such as mobile phones, tablet computers, etc.), more and more applications can be supported by electronic devices, and their functions are becoming more and more powerful. Indispensable electronic supplies.
电子设备中可以运行的游戏类型越来越多,例如,H5游戏和小游戏,H5游戏和小游戏都是无需下载游戏应用即可体验的游戏,其中,在一些应用中可实现直接通过应用界面中的应用图标打开其他应用,无需下载或安装该其他应用,例如,微信小程序,通过微信应用,可直接点击其他小程序或者小游戏,无需下载小程序或者小游戏,一般来说,H5游戏和小游戏通过游戏引擎进行加载运行,但加载流程时间较长,用户需要等待较长时间,因此,如何改善因H5游戏和小游戏加载过程中用户等待时长较长的不良体验的问题亟待解决。There are more and more types of games that can be run on electronic devices. For example, H5 games and mini-games are games that can be experienced without downloading game applications. Among them, some applications can be implemented directly through the application interface. The application icon in opens other applications without downloading or installing the other application, for example, WeChat applet, through WeChat application, you can directly click other applets or mini-games without downloading applets or mini-games, generally speaking, H5 games He and mini games are loaded and run through the game engine, but the loading process takes a long time, and users need to wait for a long time. Therefore, how to improve the bad experience of users waiting for a long time during the loading process of H5 games and mini games needs to be resolved.
发明内容Summary of the invention
本发明提供一种游戏页面的显示方法及相关产品,以实现在电子设备加载H5游戏或者小游戏的过程中,通过显示屏显示统一的游戏信息页面遮挡住白屏或者游戏读条页面,避免因游戏加载时长过长影响用户的游戏体验。The invention provides a game page display method and related products, so that during the process of loading an H5 game or a mini-game in an electronic device, the unified game information page is displayed on the display screen to block the white screen or the game reading page to avoid Too long game loading time affects the user's gaming experience.
第一方面,本发明实施例提供了一种游戏页面的显示方法,应用于电子设备,所述方法包括:In a first aspect, an embodiment of the present invention provides a method for displaying a game page, which is applied to an electronic device. The method includes:
接收目标游戏的开启指令,根据所述开启指令加载所述目标游戏的游戏资源;Receiving an opening instruction of the target game, and loading game resources of the target game according to the opening instruction;
获取所述目标游戏的游戏信息显示页面;Acquiring the game information display page of the target game;
在所述加载所述游戏资源过程中,在所述电子设备的显示屏显示所述游戏信息显示页面;During the loading of the game resource, displaying the game information display page on the display screen of the electronic device;
获取所述目标游戏的加载进度,若所述加载进度为加载完成状态,停止显示所述游戏信息显示页面,进入所述目标游戏的游戏页面。Obtain the loading progress of the target game, if the loading progress is in the loading completion state, stop displaying the game information display page, and enter the game page of the target game.
第二方面,提供一种游戏页面的显示装置,应用于电子设备,所述装置包括:In a second aspect, a display device for a game page is provided, which is applied to an electronic device. The device includes:
加载单元,用于接收目标游戏的开启指令,根据所述开启指令加载所述目标游戏的游戏资源;A loading unit, configured to receive an opening instruction of a target game, and load game resources of the target game according to the opening instruction;
获取单元,用于获取所述目标游戏的游戏信息显示页面;An obtaining unit, configured to obtain a game information display page of the target game;
显示单元,用于在所述加载所述游戏资源过程中,在所述电子设备的显示屏显示所述游戏信息显示页面;A display unit, configured to display the game information display page on the display screen of the electronic device during the loading of the game resource;
执行单元,用于获取所述目标游戏的加载进度,若所述加载进度为加载完成状态,停止显示所述游戏信息显示页面,进入所述目标游戏的游戏页面。The execution unit is configured to obtain the loading progress of the target game. If the loading progress is in the loading completion state, stop displaying the game information display page and enter the game page of the target game.
第三方面,一种电子设备,包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行如第一方面提供的方法中的步骤的指令。In a third aspect, an electronic device includes a processor, a memory, a communication interface, and one or more programs, the one or more programs are stored in the memory, and configured to be executed by the processor, The program includes instructions for performing the steps in the method as provided in the first aspect.
第四方面,提供一种计算机可读存储介质,其存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行第一方面提供的方法。According to a fourth aspect, there is provided a computer-readable storage medium that stores a computer program for electronic data exchange, wherein the computer program causes a computer to perform the method provided in the first aspect.
第五方面,提供一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行第一方面提供的方法。In a fifth aspect, a computer program product is provided, the computer program product comprising a non-transitory computer-readable storage medium storing a computer program, the computer program being operable to cause a computer to perform the method provided in the first aspect.
可以看出,本申请实施例中所描述的游戏页面的显示方法及相关产品,通过接收目标游戏的开启指令,根据开启指令加载目标游戏的游戏资源,获取目标游戏的游戏信息显示页面,在加载游戏资源过程中,在电子设备的显示屏显示游戏信息显示页面,获取目标游戏的加载进度,若加载进度为加载完成状态,停止显示游戏信息显示页面,进入目标游戏的游戏页面,如此,可在电子设备加载H5游戏或者小游戏的过程中,通过显示屏显示统一的游戏信息页面遮挡住白屏或者游戏读条页面,避免因游戏加载时长过长影响用户的游戏体验。It can be seen that the game page display method and related products described in the embodiments of the present application receive the start instruction of the target game, load the game resource of the target game according to the start instruction, and obtain the game information display page of the target game. During the game resource process, the game information display page is displayed on the display of the electronic device to obtain the loading progress of the target game. If the loading progress is in the loading completed state, the game information display page is stopped and the target game page is entered. During the process of loading H5 games or mini-games on electronic devices, the unified game information page is displayed on the display screen to block the white screen or the game reading page to avoid affecting the user's game experience due to the long game loading time.
附图说明BRIEF DESCRIPTION
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the technical solutions in the embodiments of the present invention, the drawings required in the embodiments will be briefly introduced below. Obviously, the drawings in the following description are some embodiments of the present invention. Those of ordinary skill in the art can obtain other drawings based on these drawings without creative work.
图1A是本申请实施例提供的一种电子设备的结构示意图;1A is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图1B是本申请实施例公开的一种游戏页面的显示方法的流程示意图;1B is a schematic flowchart of a game page display method disclosed in an embodiment of the present application;
图2是本申请实施例公开的另一种游戏页面的显示方法的流程示意图;2 is a schematic flowchart of another game page display method disclosed in an embodiment of the present application;
图3是本申请实施例公开的另一种游戏页面的显示方法的流程示意图;3 is a schematic flowchart of another game page display method disclosed in an embodiment of the present application;
图4是本申请实施例公开的另一种电子设备的结构示意图;4 is a schematic structural diagram of another electronic device disclosed in an embodiment of the present application;
图5是本申请实施例公开的一种游戏页面的显示装置的结构示意图。5 is a schematic structural diagram of a game page display device disclosed in an embodiment of the present application.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only It is a part of the embodiments of this application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms “first” and “second” in the description and claims of the present application and the above drawings are used to distinguish different objects, not to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally also includes Other steps or units inherent to these processes, methods, products, or equipment.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to "embodiments" means that specific features, structures, or characteristics described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art understand explicitly and implicitly that the embodiments described herein can be combined with other embodiments.
本申请实施例所涉及到的电子设备可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(user equipment,UE),移动台(mobile station,MS),终端设备(terminal device)等等。为方便描述,上面提到的设备统称为电子设备。The electronic devices involved in the embodiments of the present application may include various handheld devices with wireless communication functions, in-vehicle devices, wearable devices, computing devices, or other processing devices connected to a wireless modem, and various forms of user equipment (user equipment, UE), mobile station (MS), terminal device, etc. For convenience of description, the devices mentioned above are collectively referred to as electronic devices.
下面对本申请实施例进行详细介绍。The following describes the embodiments of the present application in detail.
请参阅图1A,图1A是本申请实施例公开的一种电子设备的结构示意图,电子设备100可以包括控制电路,该控制电路可以包括存储和处理电路110。该存储和处理电路110可以存储器,例如硬盘驱动存储器,非易失性存储器(例如闪存或用于形成固态驱动器的其它电子可编程只读存储器等),易失性存储器(例如静态或动态随机存取存储器等)等,本申请实施例不作限制。存储和处理电路110中的处理电路可以用于控制电子设备100的运转。该处理电路可以基于一个或多个微处理器,微控制器,数字主从耳机切换控制器,基带处理器,功率管理单元,音频编解码器芯片,专用集成电路,显示驱动器集成电路等来实现。Please refer to FIG. 1A. FIG. 1A is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application. The electronic device 100 may include a control circuit, and the control circuit may include a storage and processing circuit 110. The storage and processing circuit 110 may be a memory, such as a hard disk drive memory, a non-volatile memory (such as flash memory or other electronic programmable read-only memory used to form a solid-state drive, etc.), a volatile memory (such as static or dynamic random memory Take the memory, etc.), etc., the embodiments of the present application are not limited. The processing circuit in the storage and processing circuit 110 may be used to control the operation of the electronic device 100. The processing circuit can be implemented based on one or more microprocessors, microcontrollers, digital master-slave headphone switching controllers, baseband processors, power management units, audio codec chips, dedicated integrated circuits, display driver integrated circuits, etc. .
存储和处理电路110可用于运行电子设备100中的软件,例如互联网浏览应用程序,互联网协议语音(voice over internet protocol,VOIP)电话呼叫应用程序,电子邮件应用程序,媒体播放应用程序,操作系统功能等。这些软件可以用于执行一些控制操作,例如,基于照相机的图像采集,基于环境光传感器的环境光测量,基于接近传感器的接近传感器测量,基于诸如发光二极管的状态指示灯等状态指示器实现的信息显示功能,基于触摸传感器的触摸事件检测,与在多个(例如分层的)显示器上显示信息相关联的功能,与执行无线通信功能相关联的操作,与收集和产生音频信号相关联的操作,与收集和处理按钮按压事件数据相关联的控制操作,以及电子设备100中的其它功能等,本申请实施例不作限制。The storage and processing circuit 110 can be used to run software in the electronic device 100, such as Internet browsing applications, voice over Internet (VOIP) phone call applications, email applications, media playback applications, operating system functions Wait. These software can be used to perform some control operations, such as camera-based image acquisition, ambient light sensor-based ambient light measurement, proximity sensor-based proximity sensor measurement, and information based on status indicators such as light-emitting diode status indicators Display functions, touch event detection based on touch sensors, functions associated with displaying information on multiple (e.g., layered) displays, operations associated with performing wireless communication functions, operations associated with collecting and generating audio signals The control operations associated with collecting and processing button press event data and other functions in the electronic device 100 are not limited in the embodiments of the present application.
电子设备100还可以包括输入-输出电路150。输入-输出电路150可用于使电子设备100实现数据的输入和输出,即允许电子设备100从外部设备接收数据和也允许电子设备100将数据从电子设备100输出至外部设备。输入-输出电路150可以进一步包括传感器170。传感器170可以包括环境光传感器,基于光和电容的接近传感器,触摸传感器(例如,基于光触摸传感器和/或电容式触摸传感器,其中,触摸传感器可以是触控显示屏的一部分,也可以作为一个触摸传感器结构独立使用),加速度传感器,重力传感器,和其它传感器等。The electronic device 100 may also include an input-output circuit 150. The input-output circuit 150 may be used to enable the electronic device 100 to input and output data, that is, to allow the electronic device 100 to receive data from an external device and also to allow the electronic device 100 to output data from the electronic device 100 to an external device. The input-output circuit 150 may further include a sensor 170. The sensor 170 may include an ambient light sensor, a proximity sensor based on light and capacitance, and a touch sensor (for example, a light-based touch sensor and / or a capacitive touch sensor, where the touch sensor may be part of a touch display screen or may be used as a The touch sensor structure is used independently), acceleration sensor, gravity sensor, and other sensors.
输入-输出电路150还可以包括一个或多个显示器,例如显示器130。显示器130可以包括液晶显示器,有机发光二极管显示器,电子墨水显示器,等离子显示器,使用其它显示技术的显示器中一种或者几种的组合。显示器130可以包括触摸传感器阵列(即,显示器130可以是触控显示屏)。触摸传感器可以是由透明的触摸传感器电极(例如氧化铟锡(ITO)电极)阵列形成的电容式触摸传感器,或者可以是使用其它触摸技术形成的触摸传感器,例如音波触控,压敏触摸,电阻触摸,光学触摸等,本申请实施例不作限制。The input-output circuit 150 may also include one or more displays, such as the display 130. The display 130 may include a liquid crystal display, an organic light emitting diode display, an electronic ink display, a plasma display, or a display using other display technologies or a combination of several. The display 130 may include a touch sensor array (ie, the display 130 may be a touch display screen). The touch sensor may be a capacitive touch sensor formed by an array of transparent touch sensor electrodes (such as indium tin oxide (ITO) electrodes), or may be a touch sensor formed using other touch technologies, such as sonic touch, pressure sensitive touch, resistance Touch, optical touch, etc. are not limited in the embodiments of the present application.
音频组件140可以用于为电子设备100提供音频输入和输出功能。电子设备100中的音频组件140可以包括扬声器,麦克风,蜂鸣器,音调发生器以及其它用于产生和检测声音的组件。The audio component 140 may be used to provide audio input and output functions for the electronic device 100. The audio component 140 in the electronic device 100 may include a speaker, a microphone, a buzzer, a tone generator, and other components for generating and detecting sound.
通信电路120可以用于为电子设备100提供与外部设备通信的能力。通信电路120可以包括模拟和数字输入-输出接口电路,和基于射频信号和/或光信号的无线通信电路。通信电路120中的无线通信电路可以包括射频收发器电路、功率放大器电路、低噪声放大器、开关、滤波器和天线。举例来说,通信电路120中的无线通信电路可以包括用于通过发射和接收近场耦合电磁信号来支持近场通信(near field communication,NFC)的电路。例如,通信电路120可以包括近场通信天线和近场通信收发器。通信电路120还可以包括蜂窝电话收发器和天线,无线局域网收发器电路和天线等。The communication circuit 120 may be used to provide the electronic device 100 with the ability to communicate with external devices. The communication circuit 120 may include analog and digital input-output interface circuits, and wireless communication circuits based on radio frequency signals and / or optical signals. The wireless communication circuit in the communication circuit 120 may include a radio frequency transceiver circuit, a power amplifier circuit, a low noise amplifier, a switch, a filter, and an antenna. For example, the wireless communication circuit in the communication circuit 120 may include a circuit for supporting near field communication (NFC) by transmitting and receiving near-field coupled electromagnetic signals. For example, the communication circuit 120 may include a near field communication antenna and a near field communication transceiver. The communication circuit 120 may also include a cellular phone transceiver and antenna, a wireless local area network transceiver circuit and antenna, and so on.
电子设备100还可以进一步包括电池,电力管理电路和其它输入-输出单元160。输入-输出单元160可以包括按钮,操纵杆,点击轮,滚动轮,触摸板,小键盘,键盘,照相机,发光二极管和其它状态指示器等。The electronic device 100 may further include a battery, a power management circuit, and other input-output units 160. The input-output unit 160 may include buttons, joysticks, click wheels, scroll wheels, touch pads, keypads, keyboards, cameras, light emitting diodes, other status indicators, and the like.
用户可以通过输入-输出电路150输入命令来控制电子设备100的操作,并且可以使用输入-输出电路150的输出数据以实现接收来自电子设备100的状态信息和其它输出。The user can input commands through the input-output circuit 150 to control the operation of the electronic device 100, and can use the output data of the input-output circuit 150 to realize receiving status information and other outputs from the electronic device 100.
请参阅图1B,图1B是本申请实施例提供的一种游戏页面的显示方法的流程示意图,本实施例中所描述的游戏页面的显示方法,应用于如图1A的电子设备,该游戏页面的显示方法包括:Please refer to FIG. 1B. FIG. 1B is a schematic flowchart of a game page display method provided by an embodiment of the present application. The game page display method described in this embodiment is applied to an electronic device as shown in FIG. 1A. The game page The display methods include:
101、接收目标游戏的开启指令,根据所述开启指令加载所述目标游戏的游戏资源。101. Receive an opening instruction of a target game, and load game resources of the target game according to the opening instruction.
本申请实施例中,上述目标游戏可包括H5游戏和小游戏,其中,H5是指电子设备的网络页面,H5游戏是指电子设备中的网页游戏,H5游戏无需下载游戏应用即可体验,小游戏是指可通过特定应用直接进入游戏应用的游戏,例如,聊天应用或支付应用中以小程序的方式进入的小游戏,此类游戏无需下载,可直接通过小游戏的图标入口开启的游戏,又例如,浏览器中通过游戏的广告页面直接进入的游戏,又例如,通过网页链接直接进入的游戏等等,可以理解,通过上述各种方式开启的游戏,无需进行下载安装,可直接开启游戏。In the embodiment of the present application, the target game may include H5 games and mini-games, where H5 refers to a web page of an electronic device, and H5 games refers to a web game in an electronic device. H5 games can be experienced without downloading a game application. A game refers to a game that can be directly entered into a game application through a specific application, for example, a small game entered as a small program in a chat application or a payment application. Such games do not need to be downloaded, and can be directly opened through the icon entrance of the small game. For another example, a game directly accessed through the game ’s advertising page in the browser, or another example, a game directly accessed through a webpage link, etc. It can be understood that the game opened by the above-mentioned various methods can be directly opened without downloading and installing. .
其中,接收目标游戏的开启指令,可包括接收用户对目标游戏的游戏图标的触发指令,或者,接收用户对目标游戏的游戏链接的触发指令等等,此处不作限制。Wherein, receiving the start instruction of the target game may include receiving a user's trigger instruction to the target game's game icon, or receiving a user's trigger instruction to the target game's game link, etc., which is not limited herein.
可选地,若所述目标游戏为第一预设类型的游戏,上述步骤101中,根据所述开启指令加载所述目标游戏的游戏资源,具体可包括以下步骤:Optionally, if the target game is a first preset type of game, in step 101 above, loading the game resource of the target game according to the start instruction may specifically include the following steps:
11、根据所述开启指令跳转到游戏大厅,判断所述电子设备的本地资源是否包含所述游戏资源;11. Jump to the game lobby according to the start instruction to determine whether the local resources of the electronic device include the game resources;
12、若否,通过所述游戏大厅下载所述游戏资源,依据所述游戏资源对电子设备安装的第一游戏引擎进行初始化;12. If not, download the game resources through the game lobby, and initialize the first game engine installed on the electronic device according to the game resources;
13、通过所述第一游戏引擎加载所述游戏资源。13. Load the game resource through the first game engine.
其中,第一预设类型的游戏为H5游戏,第一游戏引擎为H5游戏的游戏引擎,本申请实施例中,针对H5游戏进行加载,可在接收目标游戏的开启指令后,根据开启指令跳转到游戏大厅,判断电子设备本地存储空间中是否包含游戏资源,若本地资源中不包含游戏资源,可通过所述游戏大厅下载该游戏资源,根据游戏资源拉起网页视图,然后,可依据游戏资源对电子设备安装的第一游戏引擎进行初始化,然后通过第一游戏引擎加载游戏资源。Among them, the first preset type of game is an H5 game, and the first game engine is an H5 game game engine. In the embodiment of the present application, the H5 game is loaded, and after receiving the opening instruction of the target game, it can jump according to the opening instruction Go to the game lobby, and determine whether the local storage space of the electronic device contains game resources. If the local resources do not contain game resources, you can download the game resources through the game lobby, and pull up the web page view according to the game resources. The resource initializes the first game engine installed in the electronic device, and then loads the game resource through the first game engine.
可选地,若本地资源中包含游戏资源,可判断目标游戏的版本是否为最新版本,若不为最新版本,可下载最新版本的游戏资源。Optionally, if the local resources include game resources, it can be determined whether the version of the target game is the latest version, and if it is not the latest version, the latest version of the game resources can be downloaded.
可选地,若所述目标游戏为第二预设类型的游戏,上述步骤101中,根据所述开启指令加载所述目标游戏的游戏资源,具体可包括以下步骤:Optionally, if the target game is a second preset type game, in step 101 above, loading game resources of the target game according to the start instruction may specifically include the following steps:
14、根据所述开启指令跳转到游戏大厅,对所述电子设备安装的第二游戏引擎进行初始化;14. Jump to the game hall according to the start instruction, and initialize the second game engine installed in the electronic device;
15、获取所述目标游戏的版本号;15. Obtain the version number of the target game;
16、在所述版本号不为最新版本时,将所述目标游戏对应的游戏资源进行更新,得到更新后的游戏资源;16. When the version number is not the latest version, update the game resources corresponding to the target game to obtain the updated game resources;
17、通过所述第二游戏引擎加载所述目标游戏的游戏资源。17. Load the game resources of the target game through the second game engine.
其中,第二预设类型的游戏为小游戏,第二游戏引擎为小游戏的游戏引擎,本申请实施例中,针对小游戏进行加载,可在接收目标游戏的开启指令后,根据开启指令跳转到游戏大厅,对电子设备安装的第二游戏引擎进行初始化,获取目标游戏的版本号,若版本号不是最新版本,则对目标游戏的游戏资源进行更新,其中,可通过第二游戏引擎对小游戏的游戏资源进行更新,得到更新后的游戏资源,并通过第二游戏引擎加载目标游戏的游戏资源。Among them, the second preset type of game is a mini-game, and the second game engine is a game engine of a mini-game. In this embodiment of the present application, the mini-game is loaded, and after receiving the start instruction of the target game, it can jump according to the start instruction Go to the game lobby, initialize the second game engine installed on the electronic device, and obtain the version number of the target game. If the version number is not the latest version, update the game resources of the target game. Among them, the second game engine The game resources of the mini game are updated to obtain the updated game resources, and the game resources of the target game are loaded through the second game engine.
可选地,本申请实施例中,所述将所述目标游戏对应的游戏资源进行更新之前,还可包括以下步骤:Optionally, in the embodiment of the present application, before updating the game resources corresponding to the target game, the following steps may be further included:
A1、确定所述电子设备当前网络状态;A1. Determine the current network status of the electronic device;
A2、若所述当前网络状态为无线网络状态,执行所述将所述目标游戏对应的游戏资源进行更新的操作;A2. If the current network state is a wireless network state, perform the operation of updating the game resources corresponding to the target game;
A3、若所述当前网络状态为数据网络状态,确定用户当前网络账户的剩余流量;A3. If the current network state is the data network state, determine the remaining traffic of the user's current network account;
A4、若所述剩余流量大于或等于预设数值,执行所述将所述目标游戏对应的游戏资源进行更新的操作。A4. If the remaining traffic is greater than or equal to a preset value, perform the operation of updating the game resources corresponding to the target game.
本申请实施例中,为保证用户开启的目标游戏为最新版本,可在获取到目标游戏的目标游戏资源之前,获取目标游戏的版本号以及目标游戏的最新版本号,然后将目标游戏的版本号与最新版本号进行匹配,若匹配成功,则表明目标游戏为最新版本,无需更新,若匹配失败,可将该目标游戏的游戏版本更新至最新版本,得到最新版本的游戏资源。In the embodiment of the present application, in order to ensure that the target game opened by the user is the latest version, before obtaining the target game resource of the target game, the version number of the target game and the latest version number of the target game may be obtained, and then the version number of the target game Match with the latest version number. If the match is successful, it indicates that the target game is the latest version. No update is required. If the match fails, the game version of the target game can be updated to the latest version to obtain the latest version of game resources.
102、获取所述目标游戏的游戏信息显示页面。102. Obtain the game information display page of the target game.
本申请实施例中,所述游戏信息显示页面包括以至少一种:所述目标游戏的头像信息、所述目标游戏的加载进度、所述目标游戏的游戏策略等等。In the embodiment of the present application, the game information display page includes at least one of: avatar information of the target game, loading progress of the target game, game strategy of the target game, and so on.
其中,若目标游戏为非对战游戏,目标游戏的头像信息包括用户的第一游戏账号对应的第一头像信息,目标游戏的加载进度可以进度条的形式进行展示,目标游戏的游戏策略可以为预先设定的字数固定的游戏策略,在加载所述目标游戏的游戏资源过程中,可在显示屏循环展示目标游戏的游戏策略,使用户在等待游戏加载的过程中,可以了解游戏策略,改善用户体验,具体实施中,根据用户的第一游戏账号对应的游戏进度,例如用户玩到特定关卡,用户游戏账号对应的游戏角色等,可预先设定游戏关卡与游戏策略的对应关系,从而,用户每次开启目标游戏时,可根据用户当时所在的游戏关卡对应的游戏策略,或者,还可预先设定游戏角色与游戏策略之间的对应关系,从而,用户每次开启目标游戏时,可根据用户当时所在的游戏角色对应的游戏策略。Among them, if the target game is a non-competition game, the avatar information of the target game includes the first avatar information corresponding to the user's first game account, the loading progress of the target game can be displayed in the form of a progress bar, and the game strategy of the target game can be pre The game strategy with a fixed number of words can be displayed on the display screen while loading the game resources of the target game, so that the user can understand the game strategy and improve the user while waiting for the game to load Experience, in the specific implementation, according to the game progress corresponding to the user's first game account, such as the user playing a specific level, the game character corresponding to the user's game account, etc., the correspondence between the game level and the game strategy can be preset, so that the user Each time the target game is opened, the game strategy corresponding to the game level where the user is at the time can be set, or the correspondence between the game characters and the game strategy can be preset, so that each time the user starts the target game, the user can The game strategy corresponding to the game character where the user is at the time.
可选地,若所述目标游戏为对战游戏,所述目标游戏的头像信息包括第一游戏账号的第一头像信息,所述游戏对手的第二游戏账号的第二头像信息。Optionally, if the target game is a battle game, the avatar information of the target game includes first avatar information of the first game account, and second avatar information of the second game account of the game opponent.
其中,在确定目标游戏为对战游戏后,可为用户的第一游戏账号匹配游戏对手,并获取游戏对手对应的第二游戏账号的头像信息。After determining that the target game is a competition game, the first game account of the user can be matched with the game opponent, and the avatar information of the second game account corresponding to the game opponent can be obtained.
可选地,若所述目标游戏为第一预设类型的游戏,获取所述目标游戏的游戏信息显示页面,可通过所述游戏大厅获取所述目标游戏的游戏信息显示页面。Optionally, if the target game is a game of the first preset type, the game information display page of the target game may be obtained, and the game information display page of the target game may be obtained through the game lobby.
可选地,若所述目标游戏为第二预设类型的游戏,获取所述目标游戏的游戏信息显示页面,可通过所述第二游戏引擎获取所述目标游戏的游戏信息显示页面。Optionally, if the target game is a game of a second preset type, the game information display page of the target game may be obtained, and the game information display page of the target game may be obtained through the second game engine.
其中,考虑到H5游戏和小游戏的游戏加载流程和运行机制不同,H5游戏可通过游戏大厅获取目标游戏的游戏信息显示页面,小游戏可通过第二游戏引擎获取目标游戏的游戏信息显示页面。Among them, considering that the game loading process and operating mechanism of the H5 game and the mini-game are different, the H5 game can obtain the game information display page of the target game through the game lobby, and the mini-game can obtain the game information display page of the target game through the second game engine.
103、在所述加载所述游戏资源过程中,在所述电子设备的显示屏显示所述游戏信息显示页面。103. During the loading of the game resource, display the game information display page on the display screen of the electronic device.
其中,电子设备在加载目标游戏的过程中,考虑到加载加载过程需要的时间较长,用户等待加载的体验不佳,因此,可通过在显示屏显示游戏信息显示页面,通过游戏信息显示页面遮挡加载过程中的白屏画面或者游戏加载进度条等内容,改善用户等待游戏加载的用户体验。Among them, in the process of loading the target game, the electronic device takes into consideration that the loading and loading process takes a long time, and the user's experience of waiting for loading is not good. Therefore, the game information display page can be displayed on the display screen, and the game information display page can be blocked During the loading process, such as a white screen or a progress bar for game loading, the user experience of waiting for the game to load is improved.
可选地,上述步骤103中,若所述目标游戏为第一预设类型的游戏,在所述加载所述游戏资源过程中,在所述电子设备的显示屏显示所述游戏信息显示页面,可通过在所述游戏大厅下载所述游戏资源到通过所述第一游戏引擎加载所述游戏资源的过程中,在所述电子设备的显示屏显示所述游戏信息显示页面。Optionally, in step 103 above, if the target game is a game of the first preset type, during the loading of the game resource, the game information display page is displayed on the display screen of the electronic device, The game information display page may be displayed on the display screen of the electronic device by downloading the game resource in the game lobby to loading the game resource through the first game engine.
可选地,上述步骤103中,若所述目标游戏为第一预设类型的游戏,在所述加载所述 游戏资源过程中,在所述电子设备的显示屏显示所述游戏信息显示页面,可通过在对所述电子设备安装的第二游戏引擎进行初始化到通过所述第二游戏引擎加载所述游戏资源的过程中,在所述电子设备的显示屏显示所述游戏信息显示页面。Optionally, in step 103 above, if the target game is a game of the first preset type, during the loading of the game resource, the game information display page is displayed on the display screen of the electronic device, The game information display page may be displayed on the display screen of the electronic device during the process of initializing the second game engine installed on the electronic device to load the game resource through the second game engine.
其中,考虑到H5游戏和小游戏的游戏加载流程不同,在H5游戏和小游戏的过程中,需要在不同的运行阶段对显示屏的进度条内容进行遮挡,具体地,H5游戏中,可包括下载数据资源、拉起网页视图webview、第一游戏引擎初始化、游戏资源加载等过程,其中,需要在下载数据资源、拉起网页视图webview、第一游戏引擎初始化以及游戏资源加载几个阶段显示游戏信息显示页面;小游戏中,可包括接收小游戏开启指令,第二游戏引擎初始化、更新游戏资源、加载游戏资源等过程,其中,需要在第二引擎初始化、更新游戏资源以及加载游戏资源几个阶段显示游戏信息显示页面。Among them, considering the different game loading processes of H5 games and mini-games, during the process of H5 games and mini-games, the progress bar content of the display screen needs to be blocked at different stages of operation. Specifically, H5 games may include The process of downloading data resources, pulling up webview webview, initializing the first game engine, loading game resources, etc. Among them, the game needs to be displayed in several stages of downloading data resources, pulling up webview webview, initializing the first game engine, and loading game resources. Information display page; mini-games can include the process of receiving mini-game start commands, initializing the second game engine, updating game resources, loading game resources, etc. Among them, the second engine needs to be initialized, updating game resources and loading game resources. The stage displays the game information display page.
可选地,本申请实施例中,若所述目标游戏为对战游戏,接收目标游戏的开启指令之后,还可包括以下步骤:Optionally, in the embodiment of the present application, if the target game is a competition game, after receiving the opening instruction of the target game, the following steps may be further included:
为用户的第一游戏账号匹配游戏对手;Match the game opponent for the user's first game account;
上述步骤103中,在所述加载所述游戏资源过程中,在所述电子设备的显示屏显示所述游戏信息显示页面,还包括:In the above step 103, during the process of loading the game resource, displaying the game information display page on the display screen of the electronic device further includes:
在所述游戏资源加载完成后,等待所述游戏对手准备的过程中,在所述电子设备的显示屏显示所述游戏信息显示页面。After the game resource is loaded, while waiting for the game opponent to prepare, the game information display page is displayed on the display screen of the electronic device.
本申请实施例中,针对H5游戏,若目标游戏为对战游戏,在下载数据资源之前,还可包括匹配对手的操作,在游戏加载之后,还可包括等待游戏对手准备的阶段,其中,需要在下载数据资源、拉起网页视图webview、第一游戏引擎初始化、游戏资源加载、等待对手准备几个阶段显示游戏信息显示页面,In the embodiment of the present application, for the H5 game, if the target game is a battle game, before downloading the data resource, it may also include an operation to match the opponent, and after the game is loaded, it may also include a stage of waiting for the game opponent to prepare. Download data resources, pull up webview webview, initialize the first game engine, load game resources, wait for opponents to prepare the game information display page in several stages,
针对小游戏,若目标游戏为对战游戏,在第二游戏引擎初始化之前,还可包括匹配对手的操作,在游戏加载之后,还可包括等待游戏对手准备的阶段,其中,需要在第二引擎初始化、更新游戏资源、加载游戏资源和等待游戏对手准备几个阶段显示游戏信息显示页面。For small games, if the target game is a battle game, before the second game engine is initialized, it can also include the operation of matching opponents. After the game is loaded, it can also include a stage of waiting for the game opponent to prepare, where the second engine needs to be initialized , Update game resources, load game resources, and wait for game opponents to prepare to display the game information display page in several stages.
104、获取所述目标游戏的加载进度,若所述加载进度为加载完成状态,停止显示所述游戏信息显示页面,进入所述目标游戏的游戏页面。104. Obtain the loading progress of the target game. If the loading progress is in the loading completion state, stop displaying the game information display page and enter the game page of the target game.
本申请实施例中,可实时获取目标游戏的加载进度,若目标游戏加载完成,则无需在对显示屏的进度条信息进行遮挡,可停止显示游戏信息显示页面,进入所述目标游戏的游戏页面,从而用户可开始游戏。In the embodiment of the present application, the loading progress of the target game can be obtained in real time. If the loading of the target game is completed, there is no need to block the progress bar information of the display screen. The game information display page can be stopped and the game page of the target game can be entered. So that the user can start the game.
可以看出,本申请实施例中所描述的游戏广告推送方法,通过接收目标游戏的开启指 令,根据开启指令加载所述目标游戏的游戏资源,获取目标游戏的游戏信息显示页面,在加载游戏资源过程中,在电子设备的显示屏显示游戏信息显示页面,获取目标游戏的加载进度,若加载进度为加载完成状态,停止显示游戏信息显示页面,进入目标游戏的游戏页面,如此,可在电子设备加载H5游戏或者小游戏的过程中,通过显示屏显示统一的游戏信息页面遮挡住白屏或者游戏读条页面,避免因游戏加载时长过长影响用户的游戏体验。It can be seen that the game advertisement pushing method described in the embodiment of the present application receives the start instruction of the target game, loads the game resource of the target game according to the start instruction, obtains the game information display page of the target game, and loads the game resource During the process, the game information display page is displayed on the display of the electronic device to obtain the loading progress of the target game. If the loading progress is in the loading completed state, the game information display page is stopped and the game page of the target game is entered. During the loading of H5 games or mini-games, the unified game information page is displayed on the display screen to block the white screen or the game reading page to avoid affecting the user's game experience due to the long loading time of the game.
请参阅图2,图2是本申请实施例提供的一种游戏页面的显示方法的流程示意图,本实施例中所描述的游戏页面的显示方法,应用于如图1A的电子设备,该游戏页面的显示方法包括:Please refer to FIG. 2. FIG. 2 is a schematic flowchart of a game page display method provided by an embodiment of the present application. The game page display method described in this embodiment is applied to an electronic device as shown in FIG. 1A. The game page The display methods include:
201、接收目标游戏的开启指令,若所述目标游戏为第一预设类型的游戏,根据所述开启指令跳转到游戏大厅,判断所述电子设备的本地资源是否包含所述游戏资源。201. Receive an opening instruction of a target game. If the target game is a game of the first preset type, jump to the game lobby according to the opening instruction, and determine whether the local resource of the electronic device includes the game resource.
202、若否,通过所述游戏大厅下载所述游戏资源,依据所述游戏资源对电子设备安装的第一游戏引擎进行初始化。202. If not, download the game resources through the game lobby, and initialize the first game engine installed in the electronic device according to the game resources.
203、通过所述第一游戏引擎加载所述游戏资源。203. Load the game resource through the first game engine.
204、通过所述游戏大厅获取所述目标游戏的游戏信息显示页面。204. Obtain the game information display page of the target game through the game lobby.
205、在所述游戏大厅下载所述游戏资源到通过所述第一游戏引擎加载所述游戏资源的过程中,在所述电子设备的显示屏显示所述游戏信息显示页面。205. During the process of downloading the game resource from the game lobby to loading the game resource through the first game engine, display the game information display page on the display screen of the electronic device.
206、获取所述目标游戏的加载进度,若所述加载进度为加载完成状态,停止显示所述游戏信息显示页面,进入所述目标游戏的游戏页面。206. Obtain the loading progress of the target game. If the loading progress is in the loading completion state, stop displaying the game information display page and enter the game page of the target game.
可以看出,本申请实施例中所描述的游戏广告推送方法,通过接收目标游戏的开启指令,若所述目标游戏为H5游戏,根据开启指令跳转到游戏大厅,判断电子设备的本地资源是否包含游戏资源,若否,通过游戏大厅下载游戏资源,依据游戏资源对电子设备安装的第一游戏引擎进行初始化,通过第一游戏引擎加载游戏资源,通过游戏大厅获取目标游戏的游戏信息显示页面,在游戏大厅下载游戏资源到通过第一游戏引擎加载游戏资源的过程中,在电子设备的显示屏显示游戏信息显示页面,获取目标游戏的加载进度,若加载进度为加载完成状态,停止显示游戏信息显示页面,进入目标游戏的游戏页面,如此,可在电子设备加载H5游戏的过程中,通过显示屏显示统一的游戏信息页面遮挡住白屏或者游戏读条页面,避免因游戏加载时长过长影响用户的游戏体验。It can be seen that the game advertisement pushing method described in the embodiment of the present application, by receiving the opening instruction of the target game, if the target game is an H5 game, jump to the game lobby according to the opening instruction to determine whether the local resource of the electronic device is Contains game resources, if not, download game resources through the game lobby, initialize the first game engine installed on the electronic device according to the game resources, load game resources through the first game engine, and obtain the game information display page of the target game through the game lobby, In the process of downloading game resources from the game lobby to loading game resources through the first game engine, the game information display page is displayed on the display of the electronic device to obtain the loading progress of the target game, if the loading progress is in the loading completion state, stop displaying the game information Display the page and enter the game page of the target game. In this way, during the process of loading the H5 game on the electronic device, the unified game information page can be displayed on the display screen to block the white screen or the game reading page to avoid the influence of the game loading time. User's gaming experience .
请参阅图3,图3是本申请实施例提供的一种游戏页面的显示方法的流程示意图,本实施例中所描述的游戏页面的显示方法,应用于如图1A的电子设备,该游戏页面的显示方法包括:Please refer to FIG. 3. FIG. 3 is a schematic flowchart of a game page display method provided by an embodiment of the present application. The game page display method described in this embodiment is applied to an electronic device as shown in FIG. 1A. The game page The display methods include:
301、接收目标游戏的开启指令,若所述目标游戏为第二预设类型的游戏,根据所述开启指令跳转到游戏大厅,对所述电子设备安装的第二游戏引擎进行初始化。301. Receive an opening instruction of a target game. If the target game is a game of a second preset type, jump to the game hall according to the opening instruction, and initialize a second game engine installed in the electronic device.
302、获取所述目标游戏的版本号,在所述版本号不为最新版本时,将所述目标游戏对应的游戏资源进行更新,得到更新后的游戏资源。302. Obtain the version number of the target game. When the version number is not the latest version, update the game resource corresponding to the target game to obtain the updated game resource.
303、通过所述第二游戏引擎加载所述目标游戏的游戏资源。303. Load the game resources of the target game through the second game engine.
304、通过所述第二游戏引擎获取所述目标游戏的游戏信息显示页面。304. Obtain the game information display page of the target game through the second game engine.
305、在对所述电子设备安装的第二游戏引擎进行初始化到通过所述第二游戏引擎加载所述游戏资源的过程中,在所述电子设备的显示屏显示所述游戏信息显示页面。305. During the process of initializing the second game engine installed on the electronic device to load the game resource through the second game engine, display the game information display page on the display screen of the electronic device.
306、获取所述目标游戏的加载进度,若所述加载进度为加载完成状态,停止显示所述游戏信息显示页面,进入所述目标游戏的游戏页面。306. Obtain the loading progress of the target game. If the loading progress is in the loading completion state, stop displaying the game information display page and enter the game page of the target game.
可以看出,本申请实施例中所描述的游戏广告推送方法,通过接收目标游戏的开启指令,若所述目标游戏为小游戏,根据开启指令跳转到游戏大厅,对电子设备安装的第二游戏引擎进行初始化,获取目标游戏的版本号,在版本号不为最新版本时,将目标游戏对应的游戏资源进行更新,得到更新后的游戏资源,通过第二游戏引擎加载目标游戏的游戏资源,通过第二游戏引擎获取目标游戏的游戏信息显示页面,在对电子设备安装的第二游戏引擎进行初始化到通过第二游戏引擎加载游戏资源的过程中,在电子设备的显示屏显示游戏信息显示页面,获取目标游戏的加载进度,若加载进度为加载完成状态,停止显示游戏信息显示页面,进入目标游戏的游戏页面,如此,可在电子设备加载小游戏的过程中,通过显示屏显示统一的游戏信息页面遮挡住白屏或者游戏读条页面,避免因游戏加载时长过长影响用户的游戏体验。It can be seen that the game advertisement pushing method described in the embodiment of the present application, by receiving the opening instruction of the target game, if the target game is a small game, jump to the game hall according to the opening instruction, and install the second The game engine initializes and obtains the version number of the target game. When the version number is not the latest version, the game resource corresponding to the target game is updated to obtain the updated game resource, and the game resource of the target game is loaded through the second game engine. Obtain the game information display page of the target game through the second game engine. During the process of initializing the second game engine installed on the electronic device to load game resources through the second game engine, the game information display page is displayed on the display screen of the electronic device To obtain the loading progress of the target game. If the loading progress is in the loading completion state, stop displaying the game information display page and enter the game page of the target game. In this way, the unified game can be displayed on the display screen during the loading of the mini game on the electronic device The information page blocks the white screen or the game Read the article page, avoid long is too long when the game loads affect the user's gaming experience.
以下是实施上述游戏页面的显示方法的装置,具体如下:The following is a device implementing the above game page display method, as follows:
与上述一致地,请参阅图4,图4是本申请实施例提供的一种电子设备,包括:处理器和存储器;以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置成由所述处理器执行,所述程序包括用于执行以下步骤的指令:Consistent with the above, please refer to FIG. 4, which is an electronic device provided by an embodiment of the present application, including: a processor and a memory; and one or more programs, the one or more programs are stored in the In the memory, and configured to be executed by the processor, the program includes instructions for performing the following steps:
接收目标游戏的开启指令,根据所述开启指令加载所述目标游戏的游戏资源;Receiving an opening instruction of the target game, and loading game resources of the target game according to the opening instruction;
获取所述目标游戏的游戏信息显示页面;Acquiring the game information display page of the target game;
在所述加载所述游戏资源过程中,在所述电子设备的显示屏显示所述游戏信息显示页面;During the loading of the game resource, displaying the game information display page on the display screen of the electronic device;
获取所述目标游戏的加载进度,若所述加载进度为加载完成状态,停止显示所述游戏信息显示页面,进入所述目标游戏的游戏页面。Obtain the loading progress of the target game, if the loading progress is in the loading completion state, stop displaying the game information display page, and enter the game page of the target game.
在一个可能的示例中,若所述目标游戏为第一预设类型的游戏,在所述根据所述开启 指令加载所述目标游戏的游戏资源方面,所述程序包括用于执行以下步骤的指令:In a possible example, if the target game is a first preset type of game, in terms of the loading of game resources of the target game according to the start instruction, the program includes instructions for performing the following steps :
根据所述开启指令跳转到游戏大厅,判断所述电子设备的本地资源是否包含所述游戏资源;Jump to the game lobby according to the start instruction, and determine whether the local resource of the electronic device includes the game resource;
若否,通过所述游戏大厅下载所述游戏资源,依据所述游戏资源对电子设备安装的第一游戏引擎进行初始化;If not, download the game resources through the game lobby, and initialize the first game engine installed on the electronic device according to the game resources;
通过所述第一游戏引擎加载所述游戏资源。Loading the game resource through the first game engine.
在一个可能的示例中,在所述获取所述目标游戏的游戏信息显示页面,方面,所述程序包括用于执行以下步骤的指令:In a possible example, in terms of obtaining the game information display page of the target game, the program includes instructions for performing the following steps:
通过所述游戏大厅获取所述目标游戏的游戏信息显示页面;Obtaining the game information display page of the target game through the game lobby;
在所述加载所述游戏资源过程中,在所述电子设备的显示屏显示所述游戏信息显示页面方面,所述程序包括用于执行以下步骤的指令:In the process of loading the game resource, in terms of displaying the game information display page on the display screen of the electronic device, the program includes instructions for performing the following steps:
在所述游戏大厅下载所述游戏资源到通过所述第一游戏引擎加载所述游戏资源的过程中,在所述电子设备的显示屏显示所述游戏信息显示页面。During the process of downloading the game resource from the game lobby to loading the game resource through the first game engine, the game information display page is displayed on the display screen of the electronic device.
在一个可能的示例中,若所述目标游戏为第二预设类型的游戏,在所述根据所述开启指令加载所述目标游戏的游戏资源方面,所述程序包括用于执行以下步骤的指令:In a possible example, if the target game is a second preset type game, in terms of loading the game resource of the target game according to the start instruction, the program includes instructions for performing the following steps :
根据所述开启指令跳转到游戏大厅,对所述电子设备安装的第二游戏引擎进行初始化;Jump to the game hall according to the start instruction, and initialize the second game engine installed in the electronic device;
获取所述目标游戏的版本号;Obtain the version number of the target game;
在所述版本号不为最新版本时,将所述目标游戏对应的游戏资源进行更新,得到更新后的游戏资源;When the version number is not the latest version, update the game resources corresponding to the target game to obtain the updated game resources;
通过所述第二游戏引擎加载所述目标游戏的游戏资源。Loading the game resources of the target game through the second game engine.
在一个可能的示例中,在所述获取所述目标游戏的游戏信息显示页面,方面,所述程序包括用于执行以下步骤的指令:In a possible example, in terms of obtaining the game information display page of the target game, the program includes instructions for performing the following steps:
通过所述第二游戏引擎获取所述目标游戏的游戏信息显示页面;Acquiring the game information display page of the target game through the second game engine;
在所述加载所述游戏资源过程中,在所述电子设备的显示屏显示所述游戏信息显示页面方面,所述程序包括用于执行以下步骤的指令:In the process of loading the game resource, in terms of displaying the game information display page on the display screen of the electronic device, the program includes instructions for performing the following steps:
在对所述电子设备安装的第二游戏引擎进行初始化到通过所述第二游戏引擎加载所述游戏资源的过程中,在所述电子设备的显示屏显示所述游戏信息显示页面。During the process of initializing the second game engine installed on the electronic device to load the game resource through the second game engine, the game information display page is displayed on the display screen of the electronic device.
在一个可能的示例中,在所述将所述目标游戏对应的游戏资源进行更新之前,所述程序还包括用于执行以下步骤的指令:In a possible example, before the game resource corresponding to the target game is updated, the program further includes instructions for performing the following steps:
确定所述电子设备当前网络状态;Determine the current network status of the electronic device;
若所述当前网络状态为无线网络状态,执行所述将所述目标游戏对应的游戏资源进行 更新的操作;If the current network state is the wireless network state, perform the operation of updating the game resources corresponding to the target game;
若所述当前网络状态为数据网络状态,确定用户当前网络账户的剩余流量;If the current network state is the data network state, determine the remaining traffic of the user's current network account;
若所述剩余流量大于或等于预设数值,执行所述将所述目标游戏对应的游戏资源进行更新的操作。If the remaining traffic is greater than or equal to a preset value, the operation of updating the game resources corresponding to the target game is performed.
在一个可能的示例中,若所述目标游戏为对战游戏,所述接收目标游戏的开启指令之后,所述程序还包括用于执行以下步骤的指令:In a possible example, if the target game is a competition game, after receiving the opening instruction of the target game, the program further includes instructions for performing the following steps:
为用户的第一游戏账号匹配游戏对手;Match the game opponent for the user's first game account;
所述在所述加载所述游戏资源过程中,在所述电子设备的显示屏显示所述游戏信息显示页面,还包括:In the process of loading the game resource, displaying the game information display page on the display screen of the electronic device further includes:
在所述游戏资源加载完成后,等待所述游戏对手准备的过程中,在所述电子设备的显示屏显示所述游戏信息显示页面。After the game resource is loaded, while waiting for the game opponent to prepare, the game information display page is displayed on the display screen of the electronic device.
在一个可能的示例中,所述游戏信息显示页面包括以至少一种:所述目标游戏的头像信息、所述目标游戏的加载进度、所述目标游戏的游戏策略。In a possible example, the game information display page includes at least one of: the avatar information of the target game, the loading progress of the target game, and the game strategy of the target game.
在一个可能的示例中,若所述目标游戏为对战游戏,所述所述目标游戏的头像信息包括第一游戏账号的第一头像信息,所述游戏对手的第二游戏账号的第二头像信息。In a possible example, if the target game is a battle game, the avatar information of the target game includes first avatar information of a first game account, and second avatar information of a second game account of the game opponent .
请参阅图5,图5是本实施例提供的一种游戏页面的显示装置的结构示意图。该游戏页面的显示装置应用于如图1A所示的电子设备,所述游戏页面的显示装置包括加载单元501、获取单元502、显示单元503和执行单元504,其中,Please refer to FIG. 5, which is a schematic structural diagram of a game page display device provided by this embodiment. The game page display device is applied to an electronic device as shown in FIG. 1A. The game page display device includes a loading unit 501, an acquisition unit 502, a display unit 503, and an execution unit 504, where,
所述加载单元501,用于接收目标游戏的开启指令,根据所述开启指令加载所述目标游戏的游戏资源;The loading unit 501 is configured to receive an opening instruction of a target game, and load game resources of the target game according to the opening instruction;
所述获取单元502,用于获取所述目标游戏的游戏信息显示页面;The acquiring unit 502 is configured to acquire a game information display page of the target game;
所述显示单元503,用于在所述加载所述游戏资源过程中,在所述电子设备的显示屏显示所述游戏信息显示页面;The display unit 503 is configured to display the game information display page on the display screen of the electronic device during the loading of the game resource;
所述执行单元504,用于获取所述目标游戏的加载进度,若所述加载进度为加载完成状态,停止显示所述游戏信息显示页面,进入所述目标游戏的游戏页面。The execution unit 504 is configured to obtain the loading progress of the target game. If the loading progress is in the loading completion state, stop displaying the game information display page and enter the game page of the target game.
可选的,若所述目标游戏为第一预设类型的游戏,在所述根据所述开启指令加载所述目标游戏的游戏资源方面,所述加载单元具体用于:Optionally, if the target game is a first preset type of game, in terms of loading the game resource of the target game according to the start instruction, the loading unit is specifically configured to:
根据所述开启指令跳转到游戏大厅,判断所述电子设备的本地资源是否包含所述游戏资源;Jump to the game lobby according to the start instruction, and determine whether the local resource of the electronic device includes the game resource;
若否,通过所述游戏大厅下载所述游戏资源,依据所述游戏资源对电子设备安装的第 一游戏引擎进行初始化;If not, download the game resources through the game lobby, and initialize the first game engine installed on the electronic device according to the game resources;
通过所述第一游戏引擎加载所述游戏资源。Loading the game resource through the first game engine.
可选的,所述获取单元具体用于:Optionally, the obtaining unit is specifically used to:
通过所述游戏大厅获取所述目标游戏的游戏信息显示页面;Obtaining the game information display page of the target game through the game lobby;
所述显示单元具体用于:The display unit is specifically used for:
在所述游戏大厅下载所述游戏资源到通过所述第一游戏引擎加载所述游戏资源的过程中,在所述电子设备的显示屏显示所述游戏信息显示页面。During the process of downloading the game resource from the game lobby to loading the game resource through the first game engine, the game information display page is displayed on the display screen of the electronic device.
可选的,若所述目标游戏为第二预设类型的游戏,在所述根据所述开启指令加载所述目标游戏的游戏资源方面,所述加载单元具体用于:Optionally, if the target game is a game of a second preset type, in terms of loading game resources of the target game according to the start instruction, the loading unit is specifically configured to:
根据所述开启指令跳转到游戏大厅,对所述电子设备安装的第二游戏引擎进行初始化;Jump to the game hall according to the start instruction, and initialize the second game engine installed in the electronic device;
获取所述目标游戏的版本号;Obtain the version number of the target game;
在所述版本号不为最新版本时,将所述目标游戏对应的游戏资源进行更新,得到更新后的游戏资源;When the version number is not the latest version, update the game resources corresponding to the target game to obtain the updated game resources;
通过所述第二游戏引擎加载所述目标游戏的游戏资源。Loading the game resources of the target game through the second game engine.
可选的,所述获取单元具体用于:Optionally, the obtaining unit is specifically used to:
通过所述第二游戏引擎获取所述目标游戏的游戏信息显示页面;Acquiring the game information display page of the target game through the second game engine;
所述显示单元具体用于:The display unit is specifically used for:
在对所述电子设备安装的第二游戏引擎进行初始化到通过所述第二游戏引擎加载所述游戏资源的过程中,在所述电子设备的显示屏显示所述游戏信息显示页面。During the process of initializing the second game engine installed on the electronic device to load the game resource through the second game engine, the game information display page is displayed on the display screen of the electronic device.
可选的,所述所述将所述目标游戏对应的游戏资源进行更新之前,所述加载单元还用于:Optionally, before updating the game resources corresponding to the target game, the loading unit is further used to:
确定所述电子设备当前网络状态;Determine the current network status of the electronic device;
若所述当前网络状态为无线网络状态,执行所述将所述目标游戏对应的游戏资源进行更新的操作;If the current network state is a wireless network state, perform the operation of updating the game resources corresponding to the target game;
若所述当前网络状态为数据网络状态,确定用户当前网络账户的剩余流量;If the current network state is the data network state, determine the remaining traffic of the user's current network account;
若所述剩余流量大于或等于预设数值,执行所述将所述目标游戏对应的游戏资源进行更新的操作。If the remaining traffic is greater than or equal to a preset value, the operation of updating the game resources corresponding to the target game is performed.
可选的,若所述目标游戏为对战游戏,所述接收目标游戏的开启指令之后,所述执行单元还用于:Optionally, if the target game is a competition game, after receiving the start instruction of the target game, the execution unit is further configured to:
为用户的第一游戏账号匹配游戏对手;Match the game opponent for the user's first game account;
所述显示单元还用于:The display unit is also used for:
在所述游戏资源加载完成后,等待所述游戏对手准备的过程中,在所述电子设备的显示屏显示所述游戏信息显示页面。After the game resource is loaded, while waiting for the game opponent to prepare, the game information display page is displayed on the display screen of the electronic device.
可选的,所述游戏信息显示页面包括以至少一种:所述目标游戏的头像信息、所述目标游戏的加载进度、所述目标游戏的游戏策略。Optionally, the game information display page includes at least one of: avatar information of the target game, loading progress of the target game, and game strategy of the target game.
可选的,若所述目标游戏为对战游戏,所述所述目标游戏的头像信息包括第一游戏账号的第一头像信息,所述游戏对手的第二游戏账号的第二头像信息。Optionally, if the target game is a battle game, the avatar information of the target game includes first avatar information of a first game account, and second avatar information of a second game account of the game opponent.
可以看出,本申请实施例中所描述的游戏广告推送装置,通过电子设备在第一应用的应用界面的第一显示位置展示第一游戏的第一游戏广告,接收针对所述第一游戏广告的触发指令,进入所述第一游戏,统计针对所述第一游戏广告的触发指令的触发频次,向服务器发送所述第一显示位置和所述触发频次,由所述服务器根据所述第一显示位置和所述触发频次调整所述第一游戏广告的投放方式,如此,可通过可根据用户触发第一游戏广告的触发频次调整所述第一游戏广告的投放方式,使游戏广告的投放更加个性化。It can be seen that the game advertisement pushing apparatus described in the embodiments of the present application displays the first game advertisement of the first game on the first display position of the application interface of the first application through the electronic device, and receives the advertisement for the first game Triggering instruction, enter the first game, count the triggering frequency of the triggering instruction for the first game advertisement, send the first display position and the triggering frequency to the server, the server according to the first The display position and the trigger frequency adjust the delivery method of the first game advertisement. In this way, the delivery method of the first game advertisement can be adjusted according to the trigger frequency of triggering the first game advertisement by the user to make the placement of game advertisements more personalise.
可以理解的是,本实施例的游戏页面的显示装置的各程序模块的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。It can be understood that the functions of each program module of the display device of the game page in this embodiment may be specifically implemented according to the method in the above method embodiment, and the specific implementation process may refer to the related description of the above method embodiment, which is not repeated here Repeat.
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任何一种游戏页面的显示方法的部分或全部步骤。An embodiment of the present application further provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes the computer to execute any one of the game page display methods described in the above method embodiments Part or all of the steps.
本申请实施例还提供一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如上述方法实施例中记载的任何一种游戏页面的显示方法的部分或全部步骤。An embodiment of the present application further provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, the computer program is operable to cause the computer to execute as described in the above method embodiments Some or all steps of any game page display method.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that, for the sake of simple description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that this application is not limited by the described action sequence, Because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the involved actions and modules are not necessarily required by this application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the description of each embodiment has its own emphasis. For a part that is not detailed in an embodiment, you can refer to related descriptions in other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可 以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device may be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or may Integration into another system, or some features can be ignored, or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件程序模块的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or software program modules.
所述集成的单元如果以软件程序模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software program module and sold or used as an independent product, it may be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application essentially or part of the contribution to the existing technology or all or part of the technical solution can be embodied in the form of a software product, the computer software product is stored in a memory, Several instructions are included to enable a computer device (which may be a personal computer, server, network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. The foregoing memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, magnetic disk, or optical disk, which can store various program codes.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、ROM、RAM、磁盘或光盘等。A person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by a program instructing relevant hardware. The program may be stored in a computer-readable memory, and the memory may include: a flash disk , ROM, RAM, magnetic disk or optical disk, etc.
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The embodiments of the present application are described in detail above, and specific examples are used to explain the principle and implementation of the present application. The descriptions of the above embodiments are only used to help understand the method and core idea of the present application; at the same time, Those of ordinary skill in the art, according to the ideas of the present application, may have changes in specific implementations and application scopes. In summary, the content of this specification should not be construed as limiting the present application.

Claims (20)

  1. 一种游戏页面的显示方法,其特征在于,应用于电子设备,所述方法包括:A method for displaying a game page, characterized in that it is applied to an electronic device, the method includes:
    接收目标游戏的开启指令,根据所述开启指令加载所述目标游戏的游戏资源;Receiving an opening instruction of the target game, and loading game resources of the target game according to the opening instruction;
    获取所述目标游戏的游戏信息显示页面;Acquiring the game information display page of the target game;
    在所述加载所述游戏资源过程中,在所述电子设备的显示屏显示所述游戏信息显示页面;During the loading of the game resource, displaying the game information display page on the display screen of the electronic device;
    获取所述目标游戏的加载进度,若所述加载进度为加载完成状态,停止显示所述游戏信息显示页面,进入所述目标游戏的游戏页面。Obtain the loading progress of the target game, if the loading progress is in the loading completion state, stop displaying the game information display page, and enter the game page of the target game.
  2. 根据权利要求1所述的方法,其特征在于,若所述目标游戏为第一预设类型的游戏,所述根据所述开启指令加载所述目标游戏的游戏资源,包括:The method according to claim 1, wherein if the target game is a first preset type of game, the loading of game resources of the target game according to the start instruction includes:
    根据所述开启指令跳转到游戏大厅,判断所述电子设备的本地资源是否包含所述游戏资源;Jump to the game lobby according to the start instruction, and determine whether the local resource of the electronic device includes the game resource;
    若否,通过所述游戏大厅下载所述游戏资源,依据所述游戏资源对电子设备安装的第一游戏引擎进行初始化;If not, download the game resources through the game lobby, and initialize the first game engine installed on the electronic device according to the game resources;
    通过所述第一游戏引擎加载所述游戏资源。Loading the game resource through the first game engine.
  3. 根据权利要求2所述的方法,其特征在于,所述获取所述目标游戏的游戏信息显示页面,包括:The method according to claim 2, wherein the acquiring the game information display page of the target game comprises:
    通过所述游戏大厅获取所述目标游戏的游戏信息显示页面;Obtaining the game information display page of the target game through the game lobby;
    所述在所述加载所述游戏资源过程中,在所述电子设备的显示屏显示所述游戏信息显示页面,包括:In the process of loading the game resource, displaying the game information display page on the display screen of the electronic device includes:
    在所述游戏大厅下载所述游戏资源到通过所述第一游戏引擎加载所述游戏资源的过程中,在所述电子设备的显示屏显示所述游戏信息显示页面。During the process of downloading the game resource from the game lobby to loading the game resource through the first game engine, the game information display page is displayed on the display screen of the electronic device.
  4. 根据权利要求1所述的方法,其特征在于,若所述目标游戏为第二预设类型的游戏,所述根据所述开启指令加载所述目标游戏的游戏资源,包括:The method according to claim 1, wherein if the target game is a game of a second preset type, the loading of game resources of the target game according to the start instruction includes:
    根据所述开启指令跳转到游戏大厅,对所述电子设备安装的第二游戏引擎进行初始化;Jump to the game hall according to the start instruction, and initialize the second game engine installed in the electronic device;
    获取所述目标游戏的版本号;Obtain the version number of the target game;
    在所述版本号不为最新版本时,将所述目标游戏对应的游戏资源进行更新,得到更新后的游戏资源;When the version number is not the latest version, update the game resources corresponding to the target game to obtain the updated game resources;
    通过所述第二游戏引擎加载所述目标游戏的游戏资源。Loading the game resources of the target game through the second game engine.
  5. 根据权利要求4所述的方法,其特征在于,所述获取所述目标游戏的游戏信息显示页面,包括:The method according to claim 4, wherein the acquiring the game information display page of the target game comprises:
    通过所述第二游戏引擎获取所述目标游戏的游戏信息显示页面;Acquiring the game information display page of the target game through the second game engine;
    所述在所述加载所述游戏资源过程中,在所述电子设备的显示屏显示所述游戏信息显示页面,包括:In the process of loading the game resource, displaying the game information display page on the display screen of the electronic device includes:
    在对所述电子设备安装的第二游戏引擎进行初始化到通过所述第二游戏引擎加载所述游戏资源的过程中,在所述电子设备的显示屏显示所述游戏信息显示页面。During the process of initializing the second game engine installed on the electronic device to load the game resource through the second game engine, the game information display page is displayed on the display screen of the electronic device.
  6. 根据权利要求4或5所述的方法,其特征在于,所述将所述目标游戏对应的游戏资源进行更新之前,所述方法还包括:The method according to claim 4 or 5, wherein before updating the game resources corresponding to the target game, the method further comprises:
    确定所述电子设备当前网络状态;Determine the current network status of the electronic device;
    若所述当前网络状态为无线网络状态,执行所述将所述目标游戏对应的游戏资源进行更新的操作;If the current network state is a wireless network state, perform the operation of updating the game resources corresponding to the target game;
    若所述当前网络状态为数据网络状态,确定用户当前网络账户的剩余流量;If the current network state is the data network state, determine the remaining traffic of the user's current network account;
    若所述剩余流量大于或等于预设数值,执行所述将所述目标游戏对应的游戏资源进行更新的操作。If the remaining traffic is greater than or equal to a preset value, the operation of updating the game resources corresponding to the target game is performed.
  7. 根据权利要求3或5所述的方法,其特征在于,若所述目标游戏为对战游戏,所述接收目标游戏的开启指令之后,所述方法还包括:The method according to claim 3 or 5, characterized in that, if the target game is a competition game, after the receiving the opening instruction of the target game, the method further comprises:
    为用户的第一游戏账号匹配游戏对手;Match the game opponent for the user's first game account;
    所述在所述加载所述游戏资源过程中,在所述电子设备的显示屏显示所述游戏信息显示页面,还包括:In the process of loading the game resource, displaying the game information display page on the display screen of the electronic device further includes:
    在所述游戏资源加载完成后,等待所述游戏对手准备的过程中,在所述电子设备的显示屏显示所述游戏信息显示页面。After the game resource is loaded, while waiting for the game opponent to prepare, the game information display page is displayed on the display screen of the electronic device.
  8. 根据权利要求1-7任一项所述的方法,其特征在于,所述游戏信息显示页面包括以至少一种:所述目标游戏的头像信息、所述目标游戏的加载进度、所述目标游戏的游戏策略。The method according to any one of claims 1-7, wherein the game information display page includes at least one of: avatar information of the target game, loading progress of the target game, and the target game Game strategy.
  9. 根据权利要求8所述的方法,其特征在于,若所述目标游戏为对战游戏,所述所述目标游戏的头像信息包括第一游戏账号的第一头像信息,所述游戏对手的第二游戏账号的第二头像信息。The method according to claim 8, wherein if the target game is a competition game, the avatar information of the target game includes the first avatar information of the first game account, and the second game of the game opponent Account second avatar information.
  10. 一种游戏页面的显示装置,其特征在于,应用于电子设备,所述装置包括:A device for displaying a game page is characterized by being applied to electronic equipment. The device includes:
    加载单元,用于接收目标游戏的开启指令,根据所述开启指令加载所述目标游戏的游戏资源;A loading unit, configured to receive an opening instruction of a target game, and load game resources of the target game according to the opening instruction;
    获取单元,用于获取所述目标游戏的游戏信息显示页面;An obtaining unit, configured to obtain a game information display page of the target game;
    显示单元,用于在所述加载所述游戏资源过程中,在所述电子设备的显示屏显示所述 游戏信息显示页面;A display unit, configured to display the game information display page on the display screen of the electronic device during the loading of the game resource;
    执行单元,用于获取所述目标游戏的加载进度,若所述加载进度为加载完成状态,停止显示所述游戏信息显示页面,进入所述目标游戏的游戏页面。The execution unit is configured to obtain the loading progress of the target game. If the loading progress is in the loading completion state, stop displaying the game information display page and enter the game page of the target game.
  11. 根据权利要求10所述的装置,其特征在于,若所述目标游戏为第一预设类型的游戏,在所述根据所述开启指令加载所述目标游戏的游戏资源方面,所述加载单元具体用于:The device according to claim 10, characterized in that, if the target game is a game of the first preset type, in terms of loading the game resources of the target game according to the start instruction, the loading unit is specific Used for:
    根据所述开启指令跳转到游戏大厅,判断所述电子设备的本地资源是否包含所述游戏资源;Jump to the game lobby according to the start instruction, and determine whether the local resource of the electronic device includes the game resource;
    若否,通过所述游戏大厅下载所述游戏资源,依据所述游戏资源对电子设备安装的第一游戏引擎进行初始化;If not, download the game resources through the game lobby, and initialize the first game engine installed on the electronic device according to the game resources;
    通过所述第一游戏引擎加载所述游戏资源。Loading the game resource through the first game engine.
  12. 根据权利要求11所述的装置,其特征在于,所述获取单元具体用于:The apparatus according to claim 11, wherein the acquiring unit is specifically configured to:
    通过所述游戏大厅获取所述目标游戏的游戏信息显示页面;Obtaining the game information display page of the target game through the game lobby;
    所述显示单元具体用于:The display unit is specifically used for:
    在所述游戏大厅下载所述游戏资源到通过所述第一游戏引擎加载所述游戏资源的过程中,在所述电子设备的显示屏显示所述游戏信息显示页面。During the process of downloading the game resource from the game lobby to loading the game resource through the first game engine, the game information display page is displayed on the display screen of the electronic device.
  13. 根据权利要求10所述的装置,其特征在于,若所述目标游戏为第二预设类型的游戏,在所述根据所述开启指令加载所述目标游戏的游戏资源方面,所述加载单元具体用于:The device according to claim 10, characterized in that, if the target game is a game of the second preset type, in terms of the loading of game resources of the target game according to the start instruction, the loading unit Used for:
    根据所述开启指令跳转到游戏大厅,对所述电子设备安装的第二游戏引擎进行初始化;Jump to the game hall according to the start instruction, and initialize the second game engine installed in the electronic device;
    获取所述目标游戏的版本号;Obtain the version number of the target game;
    在所述版本号不为最新版本时,将所述目标游戏对应的游戏资源进行更新,得到更新后的游戏资源;When the version number is not the latest version, update the game resources corresponding to the target game to obtain the updated game resources;
    通过所述第二游戏引擎加载所述目标游戏的游戏资源。Loading the game resources of the target game through the second game engine.
  14. 根据权利要求13所述的装置,其特征在于,所述获取单元具体用于:The apparatus according to claim 13, wherein the acquiring unit is specifically configured to:
    通过所述第二游戏引擎获取所述目标游戏的游戏信息显示页面;Acquiring the game information display page of the target game through the second game engine;
    所述显示单元具体用于:The display unit is specifically used for:
    在对所述电子设备安装的第二游戏引擎进行初始化到通过所述第二游戏引擎加载所述游戏资源的过程中,在所述电子设备的显示屏显示所述游戏信息显示页面。During the process of initializing the second game engine installed on the electronic device to load the game resource through the second game engine, the game information display page is displayed on the display screen of the electronic device.
  15. 根据权利要求13或14所述的装置,其特征在于,所述所述将所述目标游戏对应的游戏资源进行更新之前,所述加载单元还用于:The device according to claim 13 or 14, wherein before the updating the game resources corresponding to the target game, the loading unit is further configured to:
    确定所述电子设备当前网络状态;Determine the current network status of the electronic device;
    若所述当前网络状态为无线网络状态,执行所述将所述目标游戏对应的游戏资源进行更新的操作;If the current network state is a wireless network state, perform the operation of updating the game resources corresponding to the target game;
    若所述当前网络状态为数据网络状态,确定用户当前网络账户的剩余流量;If the current network state is the data network state, determine the remaining traffic of the user's current network account;
    若所述剩余流量大于或等于预设数值,执行所述将所述目标游戏对应的游戏资源进行更新的操作。If the remaining traffic is greater than or equal to a preset value, the operation of updating the game resources corresponding to the target game is performed.
  16. 根据权利要求10所述的装置,其特征在于,若所述目标游戏为对战游戏,所述接收目标游戏的开启指令之后,所述执行单元还用于:The apparatus according to claim 10, characterized in that, if the target game is a competition game, after the receiving the opening instruction of the target game, the execution unit is further configured to:
    为用户的第一游戏账号匹配游戏对手;Match the game opponent for the user's first game account;
    所述显示单元还用于:The display unit is also used for:
    在所述游戏资源加载完成后,等待所述游戏对手准备的过程中,在所述电子设备的显示屏显示所述游戏信息显示页面。After the game resource is loaded, while waiting for the game opponent to prepare, the game information display page is displayed on the display screen of the electronic device.
  17. 根据权利要求11所述的装置,其特征在于,所述游戏信息显示页面包括以至少一种:所述目标游戏的头像信息、所述目标游戏的加载进度、所述目标游戏的游戏策略。The apparatus according to claim 11, wherein the game information display page includes at least one of: avatar information of the target game, loading progress of the target game, and game strategy of the target game.
  18. 一种电子设备,其特征在于,包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行如权利要求1-9任一项所述的方法中的步骤的指令。An electronic device, characterized in that it includes a processor, a memory, a communication interface, and one or more programs, the one or more programs are stored in the memory, and are configured to be executed by the processor, The program includes instructions for performing the steps in the method of any one of claims 1-9.
  19. 一种计算机可读存储介质,其特征在于,其存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-9任一项所述的方法。A computer-readable storage medium, characterized in that it stores a computer program for electronic data exchange, wherein the computer program causes a computer to execute the method according to any one of claims 1-9.
  20. 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如权利要求1-9任一项所述的方法。A computer program product, characterized in that the computer program product includes a non-transitory computer-readable storage medium storing a computer program, the computer program being operable to cause a computer to execute the Described method.
PCT/CN2018/112501 2018-10-29 2018-10-29 Method for displaying game page and related product WO2020087230A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2018/112501 WO2020087230A1 (en) 2018-10-29 2018-10-29 Method for displaying game page and related product
CN201880097411.3A CN112672794A (en) 2018-10-29 2018-10-29 Game page display method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/112501 WO2020087230A1 (en) 2018-10-29 2018-10-29 Method for displaying game page and related product

Publications (1)

Publication Number Publication Date
WO2020087230A1 true WO2020087230A1 (en) 2020-05-07

Family

ID=70462298

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/112501 WO2020087230A1 (en) 2018-10-29 2018-10-29 Method for displaying game page and related product

Country Status (2)

Country Link
CN (1) CN112672794A (en)
WO (1) WO2020087230A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112015450A (en) * 2020-08-25 2020-12-01 深圳Tcl新技术有限公司 Method and device for loading control page of intelligent device and storage medium
CN112882733A (en) * 2021-02-04 2021-06-01 网易(杭州)网络有限公司 Application updating method and device, electronic equipment and storage medium
CN113117340A (en) * 2021-04-29 2021-07-16 北京大米科技有限公司 Game running method and device, storage medium and electronic equipment
CN113900609A (en) * 2021-09-24 2022-01-07 当趣网络科技(杭州)有限公司 Large-screen terminal interaction method, large-screen terminal and computer readable storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114327675B (en) * 2021-12-23 2023-08-01 广东明创软件科技有限公司 Method and related device for starting mini-game application

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080040490A1 (en) * 2006-08-10 2008-02-14 Johan Karlberg System and method for installing and configuring software applications on a mobile networked terminal
CN102780722A (en) * 2011-05-11 2012-11-14 北京磊友信息科技有限公司 Method and server for providing application programs for mobile terminals
CN103294881A (en) * 2012-02-28 2013-09-11 腾讯科技(深圳)有限公司 Method and device for acquiring game page and mobile terminal
CN105354062A (en) * 2015-11-06 2016-02-24 深圳市金立通信设备有限公司 Method for displaying loaded page and mobile terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101957716A (en) * 2010-05-31 2011-01-26 宇龙计算机通信科技(深圳)有限公司 Method and system for starting program in mobile terminal and mobile terminal
CN105988841A (en) * 2015-02-12 2016-10-05 广东欧珀移动通信有限公司 Update method of application program, and mobile terminal
CN105893074A (en) * 2015-12-14 2016-08-24 乐视移动智能信息技术(北京)有限公司 Progress bar optimization method and device
CN108228766B (en) * 2017-12-27 2021-04-13 咪咕互动娱乐有限公司 Page generation method and device and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080040490A1 (en) * 2006-08-10 2008-02-14 Johan Karlberg System and method for installing and configuring software applications on a mobile networked terminal
CN102780722A (en) * 2011-05-11 2012-11-14 北京磊友信息科技有限公司 Method and server for providing application programs for mobile terminals
CN103294881A (en) * 2012-02-28 2013-09-11 腾讯科技(深圳)有限公司 Method and device for acquiring game page and mobile terminal
CN105354062A (en) * 2015-11-06 2016-02-24 深圳市金立通信设备有限公司 Method for displaying loaded page and mobile terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112015450A (en) * 2020-08-25 2020-12-01 深圳Tcl新技术有限公司 Method and device for loading control page of intelligent device and storage medium
CN112015450B (en) * 2020-08-25 2024-01-19 深圳Tcl新技术有限公司 Method, device and storage medium for loading intelligent device control page
CN112882733A (en) * 2021-02-04 2021-06-01 网易(杭州)网络有限公司 Application updating method and device, electronic equipment and storage medium
CN112882733B (en) * 2021-02-04 2023-09-08 网易(杭州)网络有限公司 Application updating method and device, electronic equipment and storage medium
CN113117340A (en) * 2021-04-29 2021-07-16 北京大米科技有限公司 Game running method and device, storage medium and electronic equipment
CN113900609A (en) * 2021-09-24 2022-01-07 当趣网络科技(杭州)有限公司 Large-screen terminal interaction method, large-screen terminal and computer readable storage medium
CN113900609B (en) * 2021-09-24 2023-09-29 当趣网络科技(杭州)有限公司 Large-screen terminal interaction method, large-screen terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN112672794A (en) 2021-04-16

Similar Documents

Publication Publication Date Title
WO2020087230A1 (en) Method for displaying game page and related product
CN111294638B (en) Method, device, terminal and storage medium for realizing video interaction
WO2015172704A1 (en) To-be-shared interface processing method, and terminal
WO2018161811A1 (en) H5-based page displaying method and terminal
US20220004357A1 (en) Audio signal outputting method and terminal device
US10506292B2 (en) Video player calling method, apparatus, and storage medium
CN107707768A (en) The processing method and Related product of running game application
CN110109759B (en) Catton optimization method, server, electronic device and computer-readable storage medium
CN107276984B (en) Game live broadcast method and device and mobile terminal
CN107870790A (en) PUSH message processing method and Related product based on game application
WO2020057257A1 (en) Application interface switching method and mobile terminal
WO2020052307A1 (en) Permission configuration method and related product
TW201515682A (en) Methods and terminal for data acquisition
CN108320148A (en) A kind of resource transfers method and relevant device
CN110362185B (en) Control method for screen brightness adjustment, terminal and computer readable storage medium
CN110569078A (en) Method and device for preloading webpage-level program
CN107967153B (en) Application program management method and mobile terminal
CN111273955B (en) Thermal restoration plug-in optimization method and device, storage medium and electronic equipment
WO2018090909A1 (en) Mobile terminal-based object scanning method and mobile terminal
CN107391126A (en) A kind of method, terminal and computer-readable recording medium for lifting starting up speed
CN108762639A (en) A kind of control method of physical button, mobile terminal and storage medium
WO2015018277A1 (en) Methods and apparatus for implementing sound events
CN111325597A (en) Application program recommendation method and electronic equipment
CN112739432B (en) Game control method and related product
WO2015184959A2 (en) Method and apparatus for playing behavior event

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18938822

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 08.09.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18938822

Country of ref document: EP

Kind code of ref document: A1