CN112739432B - Game control method and related product - Google Patents

Game control method and related product Download PDF

Info

Publication number
CN112739432B
CN112739432B CN201880097903.2A CN201880097903A CN112739432B CN 112739432 B CN112739432 B CN 112739432B CN 201880097903 A CN201880097903 A CN 201880097903A CN 112739432 B CN112739432 B CN 112739432B
Authority
CN
China
Prior art keywords
game
target
running
information
target game
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201880097903.2A
Other languages
Chinese (zh)
Other versions
CN112739432A (en
Inventor
李森林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd, Shenzhen Huantai Technology Co Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of CN112739432A publication Critical patent/CN112739432A/en
Application granted granted Critical
Publication of CN112739432B publication Critical patent/CN112739432B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • A63F13/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • A63F13/35Details of game servers
    • A63F13/358Adapting the game course according to the network or server load, e.g. for reducing latency due to different connection speeds between clients

Abstract

A game control method, the method comprising: and receiving a trigger instruction aiming at the game advertisement, wherein the game advertisement is an advertisement displayed in an application interface of the target application, jumping to a game hall according to the trigger instruction, and running a target game corresponding to the game advertisement through the game hall to acquire game information of the target game, and suspending running the target application when the game information meets preset conditions. By the method, the target application can be suspended from running in the process of running the small game by the electronic equipment, and the running rate of the small game is improved.

Description

Game control method and related product
Technical Field
The application relates to the technical field of electronics, in particular to a game control method and related products.
Background
Along with the popularization and application of electronic equipment (such as mobile phones, tablet computers and the like), the electronic equipment can support more and more applications, has more and more functions, and develops towards diversification and individuation, so that the electronic equipment becomes an indispensable electronic product in the life of users.
The applet or the mini-game in the electronic device is an application which can be used without downloading and installing, for example, a user can directly click the mini-game through a game hall installed by the electronic device, enter an interface of the mini-game, and also can enter the game hall through game advertisements in application interfaces of other applications and start the mini-game, but if the running speed of the mini-game is too slow in the process of running the mini-game, the game experience of the user is affected, so the problem of how to improve the running speed of the mini-game is needed to be solved.
Disclosure of Invention
The embodiment of the application provides a game control method and a related product, which can improve the running rate of a small game in the process of running the small game by electronic equipment.
In a first aspect, an embodiment of the present application provides a game control method, including:
receiving a trigger instruction aiming at a game advertisement, wherein the game advertisement is an advertisement displayed in an application interface of a target application;
Jumping to a game hall according to the trigger instruction, and running a target game corresponding to the game advertisement through the game hall;
and acquiring game information of a target game, and suspending running the target application when the game information meets preset conditions.
In a second aspect, an embodiment of the present application provides a game control apparatus including:
The receiving unit is used for receiving a triggering instruction aiming at a game advertisement, wherein the game advertisement is an advertisement displayed in an application interface of a target application;
The processing unit is used for jumping to a game hall according to the trigger instruction and running a target game corresponding to the game advertisement through the game hall;
The processing unit is further used for obtaining game information of a target game, and suspending running of the target application when the game information meets preset conditions.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, the programs including instructions for performing the steps in the first aspect of the embodiment of the present application.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium storing a computer program for electronic data exchange, wherein the computer program causes a computer to perform part or all of the steps described in the first aspect of the embodiments of the present application.
In a fifth aspect, embodiments of the present application provide a computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps described in the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
It can be seen that, by receiving the trigger instruction for the game advertisement, the game advertisement is an advertisement displayed in the application interface of the target application, jumping to the game hall according to the trigger instruction, and running the target game corresponding to the game advertisement through the game hall to obtain the game information of the target game, and when the game information meets the preset condition, suspending running the target application, so that the running of the target application can be suspended in the process of running the small game by the electronic device, and the running rate of the small game can be improved.
Drawings
The drawings that accompany the embodiments or the prior art description can be briefly described as follows.
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1A is a schematic structural diagram of an electronic device according to an embodiment of the present application;
FIG. 1B is a flow chart of a game control method according to an embodiment of the present application;
FIG. 2 is a flow chart of another game control method according to an embodiment of the present application;
FIG. 3 is a flow chart of another game control method according to an embodiment of the present application;
FIG. 4 is a schematic diagram of another electronic device according to an embodiment of the present application;
FIG. 5A is a schematic diagram of a game control device according to an embodiment of the present application;
FIG. 5B is a modified configuration of a game control device shown in FIG. 5A provided in accordance with an embodiment of the present application;
FIG. 5C is a modified configuration of another game control device shown in FIG. 5A provided in accordance with an embodiment of the present application;
fig. 5D is a modified structure of another game control device shown in fig. 5A provided in the embodiment of the present application.
Detailed Description
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms first, second and the like in the description and in the claims and in the above-described figures are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
The electronic device according to the embodiment of the present application may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, and various forms of User Equipment (UE), mobile Stations (MS), terminal devices (TERMINAL DEVICE), etc. For convenience of description, the above-mentioned devices are collectively referred to as electronic devices.
Embodiments of the present application are described in detail below.
Referring to fig. 1A, fig. 1A is a schematic structural diagram of an electronic device according to an embodiment of the present application, and 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 drive memory, a non-volatile memory (e.g., flash memory or other electronically programmable read only memory used to form a solid state drive, etc.), a volatile memory (e.g., static or dynamic random access memory, etc.), etc., as embodiments of the application are not limited. Processing circuitry in the storage and processing circuitry 110 may be used to control the operation of the electronic device 100. The processing circuitry may be implemented based on one or more microprocessors, microcontrollers, digital master-slave headset switching controllers, baseband processors, power management units, audio codec chips, application specific integrated circuits, display driver integrated circuits, and the like.
The storage and processing circuitry 110 may be used to run software in the electronic device 100, such as internet browsing applications, voice over internet protocol (voice over internet protocol, VOIP) telephone call applications, email applications, media playback applications, operating system functions, and the like. Such software may be used to perform some control operations, such as image acquisition based on a camera, ambient light measurement based on an ambient light sensor, proximity sensor measurement based on a proximity sensor, information display functions implemented based on status indicators such as status indicators of light emitting diodes, touch event detection based on a touch sensor, 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, control operations associated with collecting and processing button press event data, and other functions in electronic device 100, to name a few.
The electronic device 100 may also include an input-output circuit 150. The input-output circuit 150 is operable to cause the electronic device 100 to effect input and output of data, i.e., 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, a touch sensor (e.g., based on an optical touch sensor and/or a capacitive touch sensor, where the touch sensor may be part of a touch display screen or may be used independently as a touch sensor structure), an acceleration sensor, a gravity sensor, and other sensors, etc.
The input-output circuit 150 may also include one or more displays, such as display 130. Display 130 may include one or a combination of several of a liquid crystal display, an organic light emitting diode display, an electronic ink display, a plasma display, and a display using other display technologies. Display 130 may include an array of touch sensors (i.e., display 130 may be a touch-sensitive display screen). The touch sensor may be a capacitive touch sensor formed of 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 acoustic wave touch, pressure sensitive touch, resistive touch, optical touch, etc., as embodiments of the application are not limited.
The audio component 140 may be used to provide audio input and output functionality for the electronic device 100. The audio components 140 in the electronic device 100 may include speakers, microphones, buzzers, tone generators, and other components for generating and detecting sound.
The communication circuitry 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 circuitry in the communication circuitry 120 may include radio frequency transceiver circuitry, power amplifier circuitry, low noise amplifiers, switches, filters, and antennas. For example, wireless communication circuitry in communication circuitry 120 may include circuitry to support 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 telephone transceiver and antenna, a wireless local area network transceiver circuit and antenna, and the like.
The electronic device 100 may further include a battery, power management circuitry, and other input-output units 160. The input-output unit 160 may include buttons, levers, click wheels, scroll wheels, touch pads, keypads, keyboards, cameras, light emitting diodes, and other status indicators, etc.
A user may control the operation of the electronic device 100 by inputting commands through the input-output circuit 150, and may use output data of the input-output circuit 150 to enable receiving status information and other outputs from the electronic device 100.
Referring to fig. 1B, fig. 1B is a schematic flow chart of a game control method according to an embodiment of the present application, where the game control method described in the embodiment is applied to an electronic device as shown in fig. 1A, and the game control method includes:
101. and receiving a trigger instruction aiming at the game advertisement, wherein the game advertisement is an advertisement displayed in an application interface of the target application.
The target application may include an application installed in the electronic device or a system application that is self-contained when the system leaves the factory, for example, a chat application, a payment application, a game application, a reading application, a video playing application, a music playing application, and the like, and the functional embodiment of the application is not limited.
In the embodiment of the application, the electronic device can display the game advertisement on the application interface of the target application, for example, the game advertisement can comprise at least one of the following: the method is characterized in that the method is natural and not easy to perceive, the motivation type advertisement is an interactive advertisement which is obtained by motivating an audience, for example, a user can click a control key or window in a game advertisement after seeing a game advertisement displayed in an application interface in the process of using the target application, if the game advertisement generates interest to a target game corresponding to the game advertisement, and the game advertisement is a target game corresponding to the game advertisement.
102. And jumping to a game hall according to the trigger instruction, and running a target game corresponding to the game advertisement through the game hall.
The game hall refers to a game platform application integrating a plurality of small games, the electronic equipment can enter a target game through the game hall, the target game can comprise a small game which enters the game hall through links in the target application and game advertisements, and is started through the game hall, the small game can be directly started without downloading and installing corresponding game applications, for example, after receiving a trigger instruction of clicking the game advertisements in the browser application by a user, the electronic equipment can jump to the game hall, if the electronic equipment is not provided with the game hall, a prompt page for installing the game hall can be popped up to prompt the user to install the application of the game hall, then the game hall is downloaded and installed, and after the electronic equipment enters the game hall, the target game corresponding to the game advertisements can be operated through the game hall.
Optionally, in the step 102, the target game corresponding to the game advertisement is run through the game hall, which specifically includes the following steps:
21. acquiring target game resources of the target game through the game hall;
22. And running the target game according to the target game resource.
In the embodiment of the present application, the target game resource may include a program for running the target game, and may further include setting information for assisting in running the target game, such as authority setting information, game props, game character information, and the like.
Optionally, before the target game corresponding to the game advertisement is played by the game hall, the method further includes the following steps:
a1, acquiring a version number of the target game;
And A2, under the condition that the version number is not matched with the latest version number, updating the game resource corresponding to the target game to obtain the target game resource.
In the embodiment of the application, in order to ensure that the target game started by the user is the latest version, the version number of the target game and the latest version number of the target game can be acquired before the target game resource of the target game is acquired, then the version number of the target game and the latest version number are matched, if the matching is successful, the target game is indicated to be the latest version, updating is not needed, and if the matching fails, the game version of the target game can be updated to the latest version, and the latest version of the target game resource is acquired.
Optionally, in the embodiment of the present application, before the updating of the game resource corresponding to the target game, the method further includes the following steps:
B1, determining the current network state of the electronic equipment;
b2, if the current network state is a wireless network, executing the operation of updating the game resources corresponding to the target game;
b3, if the current network state is the data network, determining the residual flow of the current network account of the user;
and B4, if the residual flow is greater than or equal to a preset value, executing the operation of updating the game resources corresponding to the target game.
Before updating the game resources corresponding to the target game, it may be further determined whether the current network of the electronic device belongs to a data network or a wireless network, if the current network is the data network, the remaining flow of the current network account of the user may be further determined, if the remaining flow is smaller than a preset value, the game resources corresponding to the target game are not updated, and if the current network of the electronic device belongs to the wireless network, or the remaining flow of the current network account of the user is greater than or equal to the preset value, the operation of updating the game resources corresponding to the target game is performed.
Optionally, in the embodiment of the present application, the method may further include the following steps:
c1, splitting the target game resource into a plurality of data packets, wherein the plurality of data packets comprise a first data packet, and the first data packet comprises configuration information of other data packets except the first data packet in the plurality of data packets;
in the step 22, the target game is executed according to the target game resource, which specifically includes the following steps:
C2, loading the first data packet;
c3, loading other data packets except the first data packet in the plurality of data packets according to the configuration information;
and C4, running the target game according to the data packets in sequence.
In the embodiment of the application, in order to improve the loading and running speed of the target game, the target game resource can be split into a plurality of data packets, then the data packets are loaded according to the preset sequence, after the first data packet is loaded, the target game can be run according to the first data packet, and other data packets are loaded according to the configuration information of other data packets carried in the first data packet, so that the target game is not required to be run after the content of all the target game resources is loaded, and the running speed of the target game is improved.
103. And acquiring game information of a target game, and suspending running the target application when the game information meets preset conditions.
Wherein, the game information may include at least one of the following: in the embodiment of the application, when the game information meets the preset condition, the target application can be suspended when the target game enters the game running state, wherein the game running state refers to the running state of a game scene, a game level and a game task, specifically, the target application can be run in the background, network resources, memory resources, CPU resources and the like distributed to the target application are reduced, and when the target game enters the waiting state, the running of the target application in the background can be resumed, for example, after the target game finishes the running of a certain level, or the running of the target application can be resumed after the target game enters the pause, or after the target game finishes the running of a certain game task, so, if the target application receives the message, the user can view the message in time.
Optionally, the game information includes target running state information of the target game, and in an embodiment of the present application, the method further includes the following steps:
31. determining a target game running rate corresponding to the target running state information according to a corresponding relation between the preset running state information and the game running rate, wherein the running state information comprises at least one of the following: network rate, game memory, CPU occupancy rate;
32. And if the target game running speed is smaller than a first preset threshold value, determining that the game information meets the preset condition.
In the embodiment of the application, the corresponding relation between the running state information and the game running speed, such as the corresponding relation between the network speed and the game running speed, the corresponding relation between the game memory and the game running speed, or the corresponding relation between the CPU occupancy rate and the game running speed, can be preset, after the target running state information of the target game is obtained, the target game running speed corresponding to the target running state information can be determined according to the corresponding relation, then whether the target running state information is smaller than a first preset threshold value is judged, if so, the situation that the target game running speed is slower is indicated, and the game information can be determined to meet the preset condition.
Optionally, in the embodiment of the present application, the battery temperature or the internal temperature of the casing of the electronic device may be further determined, and when the battery temperature or the internal temperature of the casing is greater than a preset temperature threshold, the operation target application may be slowed down.
Optionally, the game information includes user operation information for the target game, and in an embodiment of the present application, the method further includes the following steps:
33. Determining whether the target game is stuck or not according to user operation information in a preset time period;
34. and if the target game is stuck, determining that the game information meets the preset condition.
In the embodiment of the present application, the user may temporarily suspend the target application when the target game is stuck in order to increase the running rate of the target game, when the target game is stuck, for example, the user may set that the operating frequency of the improper user does not belong to a preset range or the operating duration exceeds a preset duration threshold, and determine that the target game is stuck if the target game is stuck, and determine that the game information meets the preset condition.
Optionally, if the target game is a combat game, the game information includes combat game information of other players received by the electronic device, and in an embodiment of the present application, the method further includes the following steps:
35. Acquiring a data analysis rate of the electronic equipment for analyzing the fight game information;
36. and if the data analysis rate is smaller than a second preset threshold value, determining that the game information meets the preset condition.
In the embodiment of the application, when the target game is a fight game, the electronic device acquires fight game information of other players and analyzes the fight game information, so that a user can determine the next game operation according to the game states of other players, and therefore, the data analysis rate of the fight game information can be acquired by the electronic device, and if the data analysis rate is smaller than a second preset threshold value, the data analysis rate is slower, the rate of the user game is influenced, and the game information can be determined to meet the preset condition.
Optionally, in the embodiment of the present application, the method may further include the following steps:
D1, acquiring application memory occupied resources of the target application;
And D2, stopping running the target application if the application memory occupied resource is larger than a third preset threshold value.
Optionally, in the embodiment of the present application, an application memory occupied resource of the target application may be further obtained, if the application memory occupied resource is greater than a third preset threshold, maintaining that the target application runs in the background may occupy the memory resource of the target game, and at this time, the running of the target application may be stopped, so that the running rate of the target game may be improved, and the target game is prevented from being blocked or dropped.
It can be seen that, in the game control method described in the embodiment of the present application, by receiving a trigger instruction for a game advertisement, the game advertisement is an advertisement displayed in an application interface of a target application, jumping to a game hall according to the trigger instruction, and running a target game corresponding to the game advertisement through the game hall to obtain game information of the target game, and when the game information meets a preset condition, suspending running the target application, so that in the process of running the small game by the electronic device, the running of the target application is suspended, the running rate of the small game is increased, and the target game is prevented from being blocked or dropped.
Referring to fig. 2, fig. 2 is a flow chart of another game control method according to an embodiment of the application, and the game control method described in the embodiment is applied to the electronic device shown in fig. 1A, and the method may include the following steps:
201. and receiving a trigger instruction aiming at the game advertisement, wherein the game advertisement is an advertisement displayed in an application interface of the target application.
202. And jumping to a game hall according to the trigger instruction, and acquiring target game resources of the target game through the game hall.
203. And running the target game according to the target game resource.
204. And acquiring game information of a target game, and suspending running the target application when the game information meets preset conditions.
The specific implementation process of the steps 201 to 204 may refer to the corresponding description in the method shown in fig. 1B, and will not be repeated here.
It can be seen that, in the game control method described in the embodiment of the present application, by receiving the trigger instruction for the game advertisement, the game advertisement is an advertisement displayed in the application interface of the target application, jumping to the game hall according to the trigger instruction, obtaining the target game resource of the target game through the game hall, running the target game according to the target game resource, obtaining the game information of the target game, and suspending running the target application when the game information meets the preset condition, so that the running of the target application can be suspended in the process of running the small game by the electronic device, the running rate of the small game is improved, and the target game is prevented from being blocked or dropped.
In accordance with the above, referring to fig. 3, a flowchart of another embodiment of a game control method according to the present application is shown, and the game control method described in the present embodiment is applied to the electronic device shown in fig. 1A, and the method may include the following steps:
301. And receiving a trigger instruction aiming at the game advertisement, wherein the game advertisement is an advertisement displayed in an application interface of the target application.
302. And jumping to a game hall according to the trigger instruction, and acquiring target game resources of the target game through the game hall.
303. And running the target game according to the target game resource.
304. And acquiring target running state information of the target game.
305. Determining a target game running rate corresponding to the target running state information according to a corresponding relation between the preset running state information and the game running rate, wherein the running state information comprises at least one of the following: network rate, game memory, CPU occupancy.
306. And if the target game running speed is smaller than a first preset threshold value, determining that the game information meets the preset condition, and suspending running the target application.
The specific implementation process of the steps 301 to 306 may refer to the corresponding description in the method shown in fig. 1B, and will not be repeated herein.
According to the game control method described in the embodiment of the application, by receiving a trigger instruction for a game advertisement, the game advertisement is an advertisement displayed in an application interface of a target application, jumping to a game hall according to the trigger instruction, acquiring target game resources of a target game through the game hall, and determining a target game running rate corresponding to target running state information according to a corresponding relation between preset running state information and the game running rate, wherein the running state information comprises at least one of the following: if the running speed of the target game is smaller than a first preset threshold value, determining that the game information meets the preset condition, and suspending running of the target application, so that the target application can be suspended in the process of running the small game by the electronic equipment, the running speed of the small game is improved, and the target game is prevented from being blocked or dropped.
The following is a device for implementing the above game control method, concretely as follows:
In accordance with the foregoing, referring to fig. 4, fig. 4 is an electronic device according to an embodiment of the present application, including: a processor and a memory; and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for:
receiving a trigger instruction aiming at a game advertisement, wherein the game advertisement is an advertisement displayed in an application interface of a target application;
Jumping to a game hall according to the trigger instruction, and running a target game corresponding to the game advertisement through the game hall;
and acquiring game information of a target game, and suspending running the target application when the game information meets preset conditions.
In one possible example, the game information includes target running state information of the target game, the program further including instructions for performing the steps of:
Determining a target game running rate corresponding to the target running state information according to a corresponding relation between the preset running state information and the game running rate, wherein the running state information comprises at least one of the following: network rate, game memory, CPU occupancy rate;
And if the target game running speed is smaller than a first preset threshold value, determining that the game information meets the preset condition.
In one possible example, the game information includes user operation information for the target game, the program further including instructions for:
Determining whether the target game is stuck or not according to user operation information in a preset time period;
and if the target game is stuck, determining that the game information meets the preset condition.
In one possible example, if the target game is a combat game, the game information includes combat game information of other players received by the electronic device, and the program further includes instructions for performing the steps of:
Acquiring a data analysis rate of the electronic equipment for analyzing the fight game information;
and if the data analysis rate is smaller than a second preset threshold value, determining that the game information meets the preset condition.
In one possible example, in the aspect of the running the target game corresponding to the game advertisement through the game lobby, the program includes instructions for:
Acquiring target game resources of the target game through the game hall;
and running the target game according to the target game resource.
In one possible example, before the running of the target game corresponding to the game advertisement through the game lobby, the program further includes instructions for:
Acquiring the version number of the target game;
and under the condition that the version number is not matched with the latest version number, updating the game resource corresponding to the target game to obtain the target game resource.
In one possible example, before the updating of the game resource corresponding to the target game, the program further includes instructions for:
determining the current network state of the electronic equipment;
if the current network state is a wireless network, executing the operation of updating the game resources corresponding to the target game;
if the current network state is the data network, determining the residual flow of the current network account of the user;
and if the residual flow is greater than or equal to a preset value, executing the operation of updating the game resources corresponding to the target game.
In one possible example, the program further comprises instructions for performing the steps of:
Splitting the target game resource into a plurality of data packets, wherein the plurality of data packets comprise a first data packet, and the first data packet comprises configuration information of other data packets except the first data packet in the plurality of data packets;
The running the target game according to the target game resource comprises the following steps:
loading the first data packet;
loading other data packets except the first data packet in the plurality of data packets according to the configuration information;
And running the target game according to the data packets in turn.
In one possible example, the program further comprises instructions for performing the steps of:
Acquiring application memory occupied resources of the target application;
and stopping running the target application if the application memory occupied resource is larger than a third preset threshold value.
Referring to fig. 5A, fig. 5A is a schematic structural diagram of a game control device according to the present embodiment. The game control device is applied to the electronic apparatus shown in fig. 1A, and includes a receiving unit 501, a processing unit 502, and an acquisition unit 503, wherein,
The receiving unit 501 is configured to receive a trigger instruction for a game advertisement, where the game advertisement is an advertisement displayed in an application interface of a target application;
The processing unit 502 is configured to jump to a game lobby according to the trigger instruction, and run a target game corresponding to the game advertisement through the game lobby;
the acquiring unit 503 is configured to acquire game information of a target game;
the processing unit 502 is further configured to suspend running the target application when the game information meets a preset condition.
Optionally, the game information includes target running state information of the target game, as shown in fig. 5B, fig. 5B is a modified structure of the game running device shown in fig. 5A, and compared with fig. 5A, it may further include: a first determining unit 504, where the first determining unit 504 is specifically configured to:
Determining a target game running rate corresponding to the target running state information according to a corresponding relation between the preset running state information and the game running rate, wherein the running state information comprises at least one of the following: network rate, game memory, CPU occupancy rate;
And if the target game running speed is smaller than a first preset threshold value, determining that the game information meets the preset condition.
Optionally, the game information includes user operation information for the target game, as shown in fig. 5C, fig. 5C is a modified structure of the game running device shown in fig. 5A, and compared with fig. 5A, it may further include: a second determining unit 505, where the second determining unit 505 is specifically configured to:
Determining whether the target game is stuck or not according to user operation information in a preset time period;
and if the target game is stuck, determining that the game information meets the preset condition.
Optionally, if the target game is a combat game, the game information includes combat game information of other players received by the electronic device, as shown in fig. 5D, fig. 5D is a modified structure of the game running device shown in fig. 5A, and compared with fig. 5A, the method may further include: a third determining unit 506, where the third determining unit 506 is specifically configured to:
Acquiring a data analysis rate of the electronic equipment for analyzing the fight game information;
and if the data analysis rate is smaller than a second preset threshold value, determining that the game information meets the preset condition.
Optionally, in the aspect that the target game corresponding to the game advertisement is executed through the game hall, the processing unit 502 is specifically configured to:
Acquiring target game resources of the target game through the game hall;
and running the target game according to the target game resource.
Optionally, before the target game corresponding to the game advertisement is executed by the game hall, the processing unit 502 is further configured to:
Acquiring the version number of the target game;
and under the condition that the version number is not matched with the latest version number, updating the game resource corresponding to the target game to obtain the target game resource.
Optionally, before the game resources corresponding to the target game are updated, the processing unit 502 is further configured to:
determining the current network state of the electronic equipment;
if the current network state is a wireless network, executing the operation of updating the game resources corresponding to the target game;
if the current network state is the data network, determining the residual flow of the current network account of the user;
and if the residual flow is greater than or equal to a preset value, executing the operation of updating the game resources corresponding to the target game.
Optionally, the processing unit 502 is further configured to:
Splitting the target game resource into a plurality of data packets, wherein the plurality of data packets comprise a first data packet, and the first data packet comprises configuration information of other data packets except the first data packet in the plurality of data packets;
In terms of the running the target game according to the target game resource, the processing unit 502 is specifically configured to:
loading the first data packet;
loading other data packets except the first data packet in the plurality of data packets according to the configuration information;
And running the target game according to the data packets in turn.
Optionally, the obtaining unit 503 is further configured to obtain an application memory occupied resource of the target application;
If the application memory occupied resource is greater than a third preset threshold, the processing unit 502 is further configured to stop running the target application.
It can be seen that, by receiving the trigger instruction for the game advertisement, the game advertisement is an advertisement displayed in the application interface of the target application, jumping to the game hall according to the trigger instruction, and running the target game corresponding to the game advertisement through the game hall to obtain the game information of the target game, and suspending running the target application when the game information meets the preset condition, so that the target application can be suspended and run in the process of running the small game by the electronic device, the running rate of the small game is improved, and the target game is prevented from being blocked or dropped.
It may be understood that the functions of each program module of the game control device of the present embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the relevant description of the foregoing method embodiment, which is not repeated herein.
The embodiment of the present application also provides a computer storage medium storing a computer program for electronic data exchange, the computer program causing a computer to execute part or all of the steps of any one of the game control methods described in the above method embodiments.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform part or all of the steps of any one of the game control methods described in the method embodiments above.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present application is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, such as the division of the units, merely a logical function division, and there may be additional manners of dividing the actual implementation, such as multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of 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 the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units described above may be implemented either in hardware or in software program modules.
The integrated units, if implemented in the form of software program modules, may be stored in a computer-readable memory for sale or use as a stand-alone product. Based on this understanding, the technical solution of the present application may be embodied essentially or partly in the form of a software product, or all or part of the technical solution, which is stored in a memory, and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned memory includes: a U-disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Those of ordinary skill in the art will appreciate that all or a portion of the steps in the various methods of the above embodiments may be implemented by a program that instructs associated hardware, and the program may be stored in a computer readable memory, which may include: flash disk, ROM, RAM, magnetic or optical disk, etc.
The foregoing has outlined rather broadly the more detailed description of embodiments of the application, wherein the principles and embodiments of the application are explained in detail using specific examples, the above examples being provided solely to facilitate the understanding of the method and core concepts of the application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (18)

1. A game control method, the method comprising:
receiving a trigger instruction aiming at a game advertisement, wherein the game advertisement is an advertisement displayed in an application interface of a target application;
Jumping to a game hall according to the trigger instruction, and running a target game corresponding to the game advertisement through the game hall;
Acquiring game information of the target game, suspending running the target application when the game information meets preset conditions and the game information indicates the target game to enter a game running state, running the target application in a background, reducing network resources, memory resources and CPU resources distributed to the target application, and recovering running the target application when the target game enters a waiting state;
If the game information comprises target running state information of the target game, determining that the game information meets the preset condition if the target running state information is smaller than a first preset threshold value; or alternatively
If the target game is a fight game, the game information comprises fight game information of other players received by the electronic equipment, and if the data analysis rate of the fight game information is smaller than a second preset threshold value, the game information is determined to meet the preset condition.
2. The method of claim 1, wherein the game information includes the target running state information of the target game, the method further comprising:
Determining a target game running rate corresponding to the target running state information according to a corresponding relation between the preset running state information and the game running rate, wherein the running state information comprises at least one of the following: network rate, game memory, CPU occupancy rate;
and if the target game running speed is smaller than the first preset threshold value, determining that the game information meets the preset condition.
3. The method of claim 1, wherein the game information includes user operation information for the target game, the method further comprising:
Determining whether the target game is stuck or not according to the user operation information in a preset time period;
and if the target game is stuck, determining that the game information meets the preset condition.
4. A method according to any one of claims 1-3, wherein said running a target game corresponding to said game advertisement through said game lobby comprises:
Acquiring target game resources of the target game through the game hall;
and running the target game according to the target game resource.
5. The method of claim 4, wherein prior to the running the target game corresponding to the game advertisement through the game lobby, the method further comprises:
Acquiring the version number of the target game;
and under the condition that the version number is not matched with the latest version number, updating the game resource corresponding to the target game to obtain the target game resource.
6. The method of claim 5, wherein prior to updating the game resource corresponding to the target game, the method further comprises:
Determining the current network state of the electronic equipment;
if the current network state is a wireless network, executing the operation of updating the game resources corresponding to the target game;
if the current network state is the data network, determining the residual flow of the current network account of the user;
and if the residual flow is greater than or equal to a preset value, executing the operation of updating the game resources corresponding to the target game.
7. The method according to any one of claims 4-6, further comprising:
Splitting the target game resource into a plurality of data packets, wherein the plurality of data packets comprise a first data packet, and the first data packet comprises configuration information of other data packets except the first data packet in the plurality of data packets;
The running the target game according to the target game resource comprises the following steps:
loading the first data packet;
loading other data packets except the first data packet in the plurality of data packets according to the configuration information;
And running the target game according to the data packets in turn.
8. The method according to any one of claims 1-7, further comprising:
Acquiring application memory occupied resources of the target application;
and stopping running the target application if the application memory occupied resource is larger than a third preset threshold value.
9. A game control device, characterized in that the game control device comprises:
The receiving unit is used for receiving a triggering instruction aiming at a game advertisement, wherein the game advertisement is an advertisement displayed in an application interface of a target application;
The processing unit is used for jumping to a game hall according to the trigger instruction and running a target game corresponding to the game advertisement through the game hall;
An acquisition unit configured to acquire game information of the target game;
The processing unit is further configured to suspend running the target application when the game information meets a preset condition and the game information indicates that the target game enters a game running state, and run the target application in the background, reduce network resources, memory resources and CPU resources allocated to the target application, and resume running the target application when the target game enters a waiting state;
If the game information comprises target running state information of the target game, and if the target running state information is smaller than a first preset threshold value, the processing unit is further used for determining that the game information meets the preset condition; or alternatively
And if the target game is a fight game, the game information comprises fight game information of other players received by the electronic equipment, and if the data analysis rate of the fight game information is smaller than a second preset threshold value, the processing unit is further used for determining that the game information meets the preset condition.
10. The apparatus according to claim 9, wherein the game information includes the target running state information of the target game, the apparatus further comprising a first determination unit, the first determination unit being specifically configured to:
Determining a target game running rate corresponding to the target running state information according to a corresponding relation between the preset running state information and the game running rate, wherein the running state information comprises at least one of the following: network rate, game memory, CPU occupancy rate;
and if the target game running speed is smaller than the first preset threshold value, determining that the game information meets the preset condition.
11. The apparatus according to claim 9, wherein the game information includes user operation information for the target game, the apparatus further comprising a second determination unit, the second determination unit being specifically configured to:
Determining whether the target game is stuck or not according to the user operation information in a preset time period;
and if the target game is stuck, determining that the game information meets the preset condition.
12. The apparatus according to any one of claims 9-11, wherein, in respect of said running of said target game corresponding to said game advertisement through said game lobby, said processing unit is specifically configured to:
Acquiring target game resources of the target game through the game hall;
and running the target game according to the target game resource.
13. The apparatus of claim 12, wherein the processing unit is further configured to, prior to the running, by the game lobby, a target game corresponding to the game advertisement:
Acquiring the version number of the target game;
and under the condition that the version number is not matched with the latest version number, updating the game resource corresponding to the target game to obtain the target game resource.
14. The apparatus of claim 13, wherein the processing unit is further configured to, prior to the updating of the game resource corresponding to the target game:
Determining the current network state of the electronic equipment;
if the current network state is a wireless network, executing the operation of updating the game resources corresponding to the target game;
if the current network state is the data network, determining the residual flow of the current network account of the user;
and if the residual flow is greater than or equal to a preset value, executing the operation of updating the game resources corresponding to the target game.
15. The apparatus according to any one of claims 12-14, wherein the processing unit is further configured to:
Splitting the target game resource into a plurality of data packets, wherein the plurality of data packets comprise a first data packet, and the first data packet comprises configuration information of other data packets except the first data packet in the plurality of data packets;
in the aspect of running the target game according to the target game resource, the processing unit is specifically configured to:
loading the first data packet;
loading other data packets except the first data packet in the plurality of data packets according to the configuration information;
And running the target game according to the data packets in turn.
16. The device according to claim 9-15, wherein,
The acquisition unit is further used for acquiring application memory occupied resources of the target application;
And if the application memory occupied resource is larger than a third preset threshold, the processing unit is further used for stopping running the target application.
17. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-8.
18. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-8.
CN201880097903.2A 2018-10-09 2018-10-09 Game control method and related product Active CN112739432B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/109535 WO2020073204A1 (en) 2018-10-09 2018-10-09 Game control method and related product

Publications (2)

Publication Number Publication Date
CN112739432A CN112739432A (en) 2021-04-30
CN112739432B true CN112739432B (en) 2024-04-19

Family

ID=70163766

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880097903.2A Active CN112739432B (en) 2018-10-09 2018-10-09 Game control method and related product

Country Status (2)

Country Link
CN (1) CN112739432B (en)
WO (1) WO2020073204A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113082705B (en) * 2021-05-08 2023-09-15 腾讯科技(上海)有限公司 Game scene switching method, game scene switching device, computer equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101193346A (en) * 2007-11-26 2008-06-04 北京中科奥科技有限公司 A new mobile phone network game platform system and method
CN102968559A (en) * 2012-11-14 2013-03-13 北京奇虎科技有限公司 Browser and method for reminding Webgame event on basis of same
CN103327109A (en) * 2013-06-27 2013-09-25 腾讯科技(深圳)有限公司 Method, terminals and system for accessing game and method and servers for processing game
CN103577229A (en) * 2013-10-28 2014-02-12 北京奇虎科技有限公司 Loading method of web games and web browser
CN104867031A (en) * 2015-05-05 2015-08-26 深圳市鱼丸互动科技有限公司 Application popularization method and system thereof
CN105404539A (en) * 2015-12-30 2016-03-16 网易(杭州)网络有限公司 Method for transplanting client game into webpage game, webpage game system and terminal
CN108536468A (en) * 2018-03-13 2018-09-14 Oppo广东移动通信有限公司 Profile acquisition method, providing method, device and equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5542330B2 (en) * 2005-04-05 2014-07-09 グーグル・インコーポレーテッド Method and system for supporting audited reporting of advertising display from video games
US20070072676A1 (en) * 2005-09-29 2007-03-29 Shumeet Baluja Using information from user-video game interactions to target advertisements, such as advertisements to be served in video games for example
US9071923B2 (en) * 2012-12-20 2015-06-30 Cellco Partnership Automatic archiving of an application on a mobile device
US9542172B2 (en) * 2013-02-05 2017-01-10 Apple Inc. Automatic updating of applications
CN106021419A (en) * 2016-05-12 2016-10-12 腾讯科技(深圳)有限公司 Web page operation method and device, and terminal
CN106127475A (en) * 2016-06-30 2016-11-16 北京奇虎科技有限公司 A kind of data processing method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101193346A (en) * 2007-11-26 2008-06-04 北京中科奥科技有限公司 A new mobile phone network game platform system and method
CN102968559A (en) * 2012-11-14 2013-03-13 北京奇虎科技有限公司 Browser and method for reminding Webgame event on basis of same
CN103327109A (en) * 2013-06-27 2013-09-25 腾讯科技(深圳)有限公司 Method, terminals and system for accessing game and method and servers for processing game
CN103577229A (en) * 2013-10-28 2014-02-12 北京奇虎科技有限公司 Loading method of web games and web browser
CN104867031A (en) * 2015-05-05 2015-08-26 深圳市鱼丸互动科技有限公司 Application popularization method and system thereof
CN105404539A (en) * 2015-12-30 2016-03-16 网易(杭州)网络有限公司 Method for transplanting client game into webpage game, webpage game system and terminal
CN108536468A (en) * 2018-03-13 2018-09-14 Oppo广东移动通信有限公司 Profile acquisition method, providing method, device and equipment

Also Published As

Publication number Publication date
CN112739432A (en) 2021-04-30
WO2020073204A1 (en) 2020-04-16

Similar Documents

Publication Publication Date Title
US10659844B2 (en) Interaction method and system based on recommended content
CN106993227B (en) Method and device for information display
US20180043261A1 (en) Method, apparatus and terminal for displaying prompt information
KR20110105625A (en) Odor shooting method and mobile device supporting the same
CN108549519B (en) Split screen processing method and device, storage medium and electronic equipment
CN106293901B (en) Process management method and device for terminal application
WO2020087230A1 (en) Method for displaying game page and related product
CN108334272B (en) Control method and mobile terminal
CN110109759B (en) Catton optimization method, server, electronic device and computer-readable storage medium
CN106254910B (en) Method and device for recording image
US10506292B2 (en) Video player calling method, apparatus, and storage medium
WO2020052307A1 (en) Permission configuration method and related product
CN109067984B (en) Data transmission method, electronic device and computer readable storage medium
CN108958629B (en) Split screen quitting method and device, storage medium and electronic equipment
CN110362185B (en) Control method for screen brightness adjustment, terminal and computer readable storage medium
CN107566909B (en) Barrage-based video content searching method and user terminal
WO2014206295A1 (en) Method, device and computer-readable storage medium for monitoring uninstallation event in operation platform
CN112739432B (en) Game control method and related product
US11150913B2 (en) Method, device, and terminal for accelerating startup of application
EP2869233A1 (en) Method, device and terminal for protecting application program
WO2017215663A1 (en) Sound effect processing method and terminal
CN109902232B (en) Display control method and terminal
WO2015018277A1 (en) Methods and apparatus for implementing sound events
CN106919458B (en) Method and device for Hook target kernel function
CN110851106A (en) Audio output method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant