CN112739432A - Game control method and related product - Google Patents

Game control method and related product Download PDF

Info

Publication number
CN112739432A
CN112739432A CN201880097903.2A CN201880097903A CN112739432A CN 112739432 A CN112739432 A CN 112739432A CN 201880097903 A CN201880097903 A CN 201880097903A CN 112739432 A CN112739432 A CN 112739432A
Authority
CN
China
Prior art keywords
game
target
running
target game
information
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.)
Granted
Application number
CN201880097903.2A
Other languages
Chinese (zh)
Other versions
CN112739432B (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

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
    • 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 method of game control, the method comprising: the method comprises the steps of receiving a trigger instruction aiming at game advertisements, jumping to a game hall according to the trigger instruction, running a target game corresponding to the game advertisements through the game hall, obtaining game information of the target game, and suspending running of the target application when the game information meets a preset condition. By the method, the target application can be suspended to run in the process of running the mini game by the electronic equipment, and the running speed of the mini 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 a related product.
Background
With the widespread use of electronic devices (such as mobile phones, tablet computers, etc.), the electronic devices have more and more applications and more powerful functions, and the electronic devices are developed towards diversification and personalization, and become indispensable electronic products in the life of users.
The applet or the mini-game in the electronic device is an application that can be used without being downloaded and installed, for example, through a game hall installed in the electronic device, a user can directly click the mini-game to 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 in the process of running the mini-game, if the running speed of the mini-game is too slow, the game experience of the user is affected, and therefore, the problem of how to increase the running speed of the mini-game needs to be solved urgently.
Disclosure of Invention
The embodiment of the application provides a game control method and a related product, which can improve the running speed of a mini game in the process of running the mini game by electronic equipment.
In a first aspect, an embodiment of the present application provides a game control method, where the method includes:
receiving a trigger instruction aiming at game advertisements, wherein the game advertisements are advertisements 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;
the method comprises the steps of obtaining game information of a target game, and suspending running of 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 game advertisement triggering device comprises a receiving unit, a triggering unit and a triggering unit, wherein the receiving unit is used for receiving a triggering instruction aiming at a game advertisement, and 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 configured to obtain game information of a target game, and suspend running the target application when the game information meets a preset condition.
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, and the program includes instructions for executing the steps in the first aspect of the embodiment of the present application.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program enables a computer to perform some or all of the steps described in the first aspect of the embodiment of the present application.
In a fifth aspect, embodiments of the present application provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps as 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, in the game control method and the related product described in the embodiments 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, the game advertisement jumps to a game lobby according to the trigger instruction, and a target game corresponding to the game advertisement is run through the game lobby to obtain game information of the target game, and when the game information meets a preset condition, the target application is temporarily run, so that the target application is temporarily run in a process of running a mini game by an electronic device, and a running rate of the mini game is increased.
Drawings
Reference will now be made in brief to the drawings that are needed in describing embodiments or prior art.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1A is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
FIG. 1B is a schematic flow chart illustrating a game control method according to an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart diagram of another game control method disclosed in the embodiments of the present application;
FIG. 3 is a flow chart illustrating another game control method disclosed in an embodiment of the present application;
fig. 4 is a schematic structural diagram of another electronic device disclosed in the embodiments of the present application;
FIG. 5A is a schematic structural diagram of a game control apparatus according to an embodiment of the present disclosure;
FIG. 5B is a modified structure of the game control device shown in FIG. 5A according to an embodiment of the present disclosure;
FIG. 5C is a modified configuration of the game control device shown in FIG. 5A according to an embodiment of the present application;
fig. 5D is a modified structure of another game control device shown in fig. 5A according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively 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 can be included in at least one embodiment of the application. The appearances of the phrase 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. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The electronic devices involved in the embodiments 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 with wireless communication functions, as well as various forms of User Equipment (UE), Mobile Stations (MS), terminal equipment (terminal device), and so on. For convenience of description, the above-mentioned devices are collectively referred to as electronic devices.
The following describes embodiments of the present application in detail.
Referring to fig. 1A, fig. 1A is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application, and the electronic device 100 may include a control circuit, which may include a storage and processing circuit 110. The storage and processing circuitry 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., and the embodiments of the present application are not limited thereto. Processing circuitry in storage and processing circuitry 110 may be used to control the operation of electronic device 100. The processing circuit may be implemented based on one or more microprocessors, microcontrollers, digital master-slave headphone switch 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 an internet browsing application, a Voice Over Internet Protocol (VOIP) telephone call application, an email application, a media playing application, operating system functions, and so forth. Such software may be used to perform control operations such as, for example, camera-based image capture, ambient light measurement based on an ambient light sensor, proximity sensor measurement based on a proximity sensor, information display functionality based on status indicators such as status indicator lights of light emitting diodes, touch event detection based on a touch sensor, functionality 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 the electronic device 100, and the like, without limitation of embodiments of the present application.
The electronic device 100 may also include input-output circuitry 150. The input-output circuit 150 may be used to enable the electronic device 100 to input and output 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 the external device. The input-output circuit 150 may further include a sensor 170. The sensors 170 may include ambient light sensors, proximity sensors based on light and capacitance, touch sensors (e.g., based on optical touch sensors and/or capacitive touch sensors, where the touch sensors may be part of a touch display screen or used independently as a touch sensor structure), acceleration sensors, gravity sensors, and other sensors, among others.
Input-output circuitry 150 may also include one or more displays, such as display 130. Display 130 may include one or a combination of liquid crystal displays, organic light emitting diode displays, electronic ink displays, plasma displays, displays using other display technologies. Display 130 may include an array of touch sensors (i.e., display 130 may be a touch display screen). The touch sensor may be a capacitive touch sensor formed by a transparent touch sensor electrode (e.g., an Indium Tin Oxide (ITO) electrode) array, or may be a touch sensor formed using other touch technologies, such as acoustic wave touch, pressure sensitive touch, resistive touch, optical touch, and the like, and the embodiments of the present application are not limited thereto.
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 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 capability 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 communication circuitry 120 may include radio-frequency transceiver circuitry, power amplifier circuitry, low noise amplifiers, switches, filters, and antennas. For example, the 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 communications circuitry 120 may also include a cellular telephone transceiver and antenna, a wireless local area network transceiver circuitry and antenna, and so forth.
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, joysticks, click wheels, scroll wheels, touch pads, keypads, keyboards, cameras, light emitting diodes and other status indicators, and the like.
A user may input commands through input-output circuitry 150 to control the operation of electronic device 100, and may use output data of input-output circuitry 150 to enable receipt of status information and other outputs from 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 the electronic device shown in fig. 1A, and the game control method includes:
101. receiving a trigger instruction for a game advertisement, wherein the game advertisement is an advertisement displayed in an application interface of a target application.
The target application may include an application installed in the electronic device or a system application carried by the system when the system leaves a 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 function of the application is not limited in this embodiment of the present application.
In an embodiment of the present application, the electronic device may display a game advertisement on an application interface of the target application, for example, the game advertisement may include at least one of the following: the method comprises the following steps of screen flashing advertisements, Banner advertisements, screen inserting advertisements, native advertisements, incentive advertisements and the like, wherein the screen flashing advertisements are in an advertisement form which is loaded when an application is started and automatically closed after the display is finished and enters an application main page, the Banner advertisements are in an advertisement form which is composed of pictures and texts, are displayed at the top, the middle or the bottom of an application interface and transversely penetrate through the whole or most of application pages, the screen inserting advertisements are in an advertisement form which is popped up in a half-screen or full-screen mode when the application is started, paused and quitted, the normal experience of a user on the application is ingeniously avoided at the display time, the native advertisements are advertisements which are deliberately modified after the platform characteristics, the user and visual experience and the content environment are combined, the characteristics are natural and not easy to perceive, the incentive advertisements refer to interactive advertisements which obtain lasting return in an incentive mode, for example, in the process of using the target application, after seeing the game advertisement displayed in the application interface, if interest is generated in the target game corresponding to the game advertisement, a user can click a control key or a window in the game advertisement, so that the user can enter the 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.
Wherein, the game hall refers to a game platform application integrating a plurality of mini games, the electronic device can enter a target game through the game hall, the target game can include mini games which enter the game hall through links and game advertisements in the target application and are started through the game hall, the mini games do not need to download and install corresponding game applications, and the game can be started directly, for example, after receiving a trigger instruction of clicking the game advertisements in the browser application by a user, the electronic device can jump to the game hall, if the electronic device 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 device enters the game hall, the target game corresponding to the game advertisements can be run through the game hall, in the embodiment of the application, the user can trigger the game advertisements of the target application, the method has the advantages that the mini game can be rapidly entered, the game starting mode is more convenient, and the game experience of the user is improved.
Optionally, in the step 102, running the target game corresponding to the game advertisement through the game lobby may specifically include 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 this embodiment, 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 permission setting information, game props, game role information, and the like.
Optionally, in this embodiment of the application, before the game hall runs the target game corresponding to the game advertisement, the method may further include the following steps:
a1, acquiring the version number of the target game;
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 obtained before the target game resource of the target game is obtained, then the version number of the target game is matched with the latest version number, if the matching is successful, the target game is the latest version, updating is not needed, and if the matching is failed, the game version of the target game can be updated to the latest version to obtain the latest version of the target game resource.
Optionally, in this embodiment of the application, before updating the game resource corresponding to the target game, the method may further include 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 resource corresponding to the target game;
b3, if the current network state is a data network, determining the residual flow of the current network account of the user;
b4, if the residual flow is larger than or equal to a preset value, executing the operation of updating the game resource 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 traffic of the current network account of the user may be further determined, if the remaining traffic 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 if the remaining traffic 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 executed.
Optionally, in this embodiment of the present application, the following steps may also be included:
c1, splitting the target game resource into a plurality of data packets, wherein the data packets include a first data packet containing configuration information of other data packets except the first data packet;
in the step 22, the running the target game according to the target game resource may specifically include 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, operating 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 the plurality of data packets, then the plurality of 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 does not need to be run after the contents of all the target game resources are loaded, and the running speed of the target game is improved.
103. The method comprises the steps of obtaining game information of a target game, and suspending running of 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 present application, when the game information satisfies a preset condition, the target application may be suspended to run when the target game enters the game running state, where the game running state refers to a state of entering a game scene, a game level, and a game task running state, specifically, the target application may be run in the background, and network resources, memory resources, CPU resources, and the like allocated to the target application are reduced, when the target game enters the waiting state, the running of the target application in the background may be resumed, for example, after the target game completes the running of a certain level, or the target game enters a pause, or after the target game completes the running of a certain game task, the running of the target application may be resumed, and thus, if the target application receives the message, the user can check the message in time.
Optionally, the game information includes target running state information of the target game, and in this embodiment, the method may further include the following steps:
31. determining a target game running speed corresponding to the target running state information according to a corresponding relation between preset running state information and game running speed, wherein the running state information comprises at least one of the following: network rate, game memory, CPU occupancy;
32. and if the target game running speed is less than a first preset threshold value, determining that the game information meets the preset condition.
In the embodiment of the application, a corresponding relationship between the running state information and the game running rate, for example, a corresponding relationship between a network rate and the game running rate, a corresponding relationship between a game memory and the game running rate, or a corresponding relationship between a CPU occupancy rate and the game running rate, may be preset, after obtaining the target running state information of the target game, determine the target game running rate corresponding to the target running state information according to the corresponding relationship, then determine whether the target running state information is smaller than a first preset threshold, and if so, indicate that the target game running rate is slower, determine that the game information satisfies a preset condition.
Optionally, in this embodiment of the application, a battery temperature or a case internal temperature of the electronic device may also be determined, and when the battery temperature or the case internal temperature is greater than a preset temperature threshold, the running of the target application may be slowed down.
Optionally, the game information includes user operation information for the target game, and in this embodiment, the method may further include the following steps:
33. determining whether the target game is stuck 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 disclosure, during the process of operating the target game, for different types of operation instructions, for example, a movement instruction in a shooting game, a shooting instruction prop selection instruction, and the like, and for example, a message sending instruction, a movement instruction, a skill starting instruction, and the like in a scene game, the user may set that the operation frequency of an inappropriate user does not belong to a preset range, or the operation duration exceeds a preset duration threshold, determine that the target game is stuck, and if the target game is stuck, determine that the game information satisfies the preset condition, so that when the target game is stuck, the target application is temporarily suspended to be run, thereby increasing the running rate of the target game.
Optionally, if the target game is a match-up game, and the game information includes match-up game information of other players received by the electronic device, in this embodiment of the application, the method may further include the following steps:
35. acquiring the data analysis rate of the electronic equipment for analyzing the battle 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 match-up game, the electronic device acquires the match-up game information of other players and analyzes the match-up game information, so that a user can determine the next game operation according to the game states of other game players, and therefore, the data analysis rate for analyzing the match-up game information by the electronic device can be acquired, if the data analysis rate is smaller than a second preset threshold value, it is indicated that the data analysis rate is slow, the speed of the game of the user is affected, and the game information can be determined to meet the preset condition.
Optionally, in this embodiment of the present application, the following steps may also be included:
d1, acquiring the application memory occupied resources of the target application;
and D2, if the resource occupied by the application memory is greater than a third preset threshold, stopping running the target application.
Optionally, in this embodiment of the application, an application memory occupied resource of the target application may also be obtained, and if the application memory occupied resource is greater than a third preset threshold, the target application is maintained to run in the background, and the memory resource of the target game is occupied, at this time, the running of the target application may be stopped, so that the running speed of the target game may be increased, and the target game may be prevented from being stuck or disconnected.
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, the game lobby is skipped to according to the trigger instruction, a target game corresponding to the game advertisement is run through the game lobby, game information of the target game is obtained, and when the game information meets a preset condition, the target application is temporarily run, so that the target application can be temporarily run in a process of running a mini game by an electronic device, the running speed of the mini game is increased, and the target game is prevented from being stuck or disconnected.
Referring to fig. 2, fig. 2 is a schematic flow chart of another game control method according to an embodiment of the present disclosure, where 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. receiving a trigger instruction for a game advertisement, wherein the game advertisement is an advertisement displayed in an application interface of a target application.
202. And jumping to a game hall according to the triggering 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. The method comprises the steps of obtaining game information of a target game, and suspending running of the target application when the game information meets preset conditions.
The specific implementation process of the steps 201-204 can refer to the corresponding description in the method shown in fig. 1B, and is not described herein again.
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, the game lobby is jumped to the game lobby according to the trigger instruction, a target game resource of the target game is acquired through the game lobby, the target game is executed according to the target game resource, game information of the target game is acquired, and when the game information meets a preset condition, the target application is temporarily executed, so that the target application can be temporarily executed in the process of executing a mini game by an electronic device, the execution rate of the mini game is increased, and the target game is prevented from being stuck or disconnected.
In accordance with the above, please refer to fig. 3, which is a schematic flow chart of another game control method according to an embodiment of the present application, where 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:
301. receiving a trigger instruction for a game advertisement, wherein the game advertisement is an advertisement displayed in an application interface of a target application.
302. And jumping to a game hall according to the triggering 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 speed corresponding to the target running state information according to a corresponding relation between preset running state information and game running speed, 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-306 can refer to the corresponding description in the method shown in fig. 1B, and will not be described herein again.
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, the game control method skips to a game lobby according to the trigger instruction, obtains a target game resource of a target game through the game lobby, and determines a target game running rate corresponding to target running state information according to a correspondence between preset running state information and a game running rate, where the running state information includes 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 the target application.
The following is a device for implementing the game control method, specifically as follows:
in accordance with the above, please refer to fig. 4, in which 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 including instructions for performing the steps of:
receiving a trigger instruction aiming at game advertisements, wherein the game advertisements are advertisements 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;
the method comprises the steps of obtaining game information of a target game, and suspending running of 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 includes instructions for performing the steps of:
determining a target game running speed corresponding to the target running state information according to a corresponding relation between preset running state information and game running speed, wherein the running state information comprises at least one of the following: network rate, game memory, CPU occupancy;
and if the target game running speed is less 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 performing the steps of:
determining whether the target game is stuck 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 match-up game, the game information includes match-up game information of other players received by the electronic device, the program further includes instructions for:
acquiring the data analysis rate of the electronic equipment for analyzing the battle 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 connection with the running of the game advertisement over the game lobby for the target game, 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 game advertisement corresponding to the target game is played through the game hall, 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 resources corresponding to the target game to obtain the target game resources.
In one possible example, before the updating of the game resource corresponding to the target game, the program further includes instructions for performing the following steps:
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 a data network, determining the residual flow of the current network account of the user;
and if the residual flow is larger than or equal to a preset numerical 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 containing 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:
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 operating the target game according to the plurality of data packets in sequence.
In one possible example, the program further comprises instructions for performing the steps of:
acquiring the application memory occupied resources of the target application;
and if the resource occupied by the application memory is greater than a third preset threshold value, stopping running the target application.
Referring to fig. 5A, fig. 5A is a schematic structural diagram of a game control device according to the present embodiment. The game control apparatus is applied to the electronic device 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, where fig. 5B is a modified structure of the game running apparatus shown in fig. 5A, and compared with fig. 5A, the game information may further include: a first determining unit 504, where the first determining unit 504 is specifically configured to:
determining a target game running speed corresponding to the target running state information according to a corresponding relation between preset running state information and game running speed, wherein the running state information comprises at least one of the following: network rate, game memory, CPU occupancy;
and if the target game running speed is less 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, where fig. 5C is a modified structure of the game execution apparatus shown in fig. 5A, and compared with fig. 5A, the game information 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 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.
Alternatively, if the target game is a match-up game, the game information includes match-up game information of other players received by the electronic device, as shown in fig. 5D, and fig. 5D is a modified structure of the game execution device shown in fig. 5A, which is 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 the data analysis rate of the electronic equipment for analyzing the battle 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 terms of running the target game corresponding to the game advertisement through the game lobby, 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 run through the game lobby, 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 resources corresponding to the target game to obtain the target game resources.
Optionally, before updating the game resource corresponding to the target game, 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 a data network, determining the residual flow of the current network account of the user;
and if the residual flow is larger than or equal to a preset numerical 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 containing 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 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 operating the target game according to the plurality of data packets in sequence.
Optionally, the obtaining unit 503 is further configured to obtain an application memory occupied resource of the target application;
if the resource occupied by the application memory 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, in the game control apparatus described in this 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, the game hall is skipped according to the trigger instruction, a target game corresponding to the game advertisement is run through the game hall, game information of the target game is obtained, and when the game information meets a preset condition, the target application is temporarily run, so that the target application is temporarily run in a process of running a mini game by an electronic device, a running rate of the mini game is increased, and the target game is prevented from being stuck or dropped.
It can be understood that the functions of each program module of the game control apparatus in this embodiment can be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process thereof can refer to the related description of the foregoing method embodiment, which is not described herein again.
Embodiments of the present application also provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes a computer to execute a part or all of the steps of any one of the game control methods as 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 some or all of the steps of any of the game control methods as recited in the above method embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed 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 can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may be implemented in the form of a software program module.
The integrated units, if implemented in the form of software program modules and sold or used as stand-alone products, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned memory comprises: various media capable of storing program codes, such as a usb disk, a read-only memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and the like.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash disk, ROM, RAM, magnetic or optical disk, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (20)

  1. A game control method, the method comprising:
    receiving a trigger instruction aiming at game advertisements, wherein the game advertisements are advertisements 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;
    the method comprises the steps of obtaining game information of a target game, and suspending running of the target application when the game information meets preset conditions.
  2. The method of claim 1, wherein the game information includes target running state information for the target game, the method further comprising:
    determining a target game running speed corresponding to the target running state information according to a corresponding relation between preset running state information and game running speed, wherein the running state information comprises at least one of the following: network rate, game memory, CPU occupancy;
    and if the target game running speed is less than a 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 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.
  4. The method of claim 1, wherein if the target game is a match-up game, the game information comprises match-up game information of other players received by the electronic device, the method further comprising:
    acquiring the data analysis rate of the electronic equipment for analyzing the battle 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.
  5. The method of any one of claims 1-4, wherein the running of the game advertisement corresponding to the target game through the 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.
  6. The method of claim 5, wherein prior to 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 resources corresponding to the target game to obtain the target game resources.
  7. The method of claim 6, wherein before the 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 a data network, determining the residual flow of the current network account of the user;
    and if the residual flow is larger than or equal to a preset numerical value, executing the operation of updating the game resources corresponding to the target game.
  8. The method according to any one of claims 5-7, further comprising:
    splitting the target game resource into a plurality of data packets, wherein the plurality of data packets comprise a first data packet containing 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:
    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 operating the target game according to the plurality of data packets in sequence.
  9. The method according to any one of claims 1-8, further comprising:
    acquiring the application memory occupied resources of the target application;
    and if the resource occupied by the application memory is greater than a third preset threshold value, stopping running the target application.
  10. A game control apparatus, characterized in that the game control apparatus comprises:
    the game advertisement triggering device comprises a receiving unit, a triggering unit and a triggering unit, wherein the receiving unit is used for receiving a triggering instruction aiming at a game advertisement, and 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 a target game;
    the processing unit is further configured to suspend running the target application when the game information meets a preset condition.
  11. The apparatus according to claim 10, wherein the game information includes target running state information of the target game, and the apparatus further includes a first determining unit, and the first determining unit is specifically configured to:
    determining a target game running speed corresponding to the target running state information according to a corresponding relation between preset running state information and game running speed, wherein the running state information comprises at least one of the following: network rate, game memory, CPU occupancy;
    and if the target game running speed is less than a first preset threshold value, determining that the game information meets the preset condition.
  12. The apparatus according to claim 10, wherein the game information includes user operation information for the target game, the apparatus further comprising a second determining unit, the second determining unit being specifically configured to:
    determining whether the target game is stuck 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.
  13. The apparatus according to any one of claims 10 to 12, wherein if the target game is a match-up game, the game information includes match-up game information of other players received by the electronic device, and the apparatus further includes a second determining unit, which is specifically configured to:
    acquiring the data analysis rate of the electronic equipment for analyzing the battle 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.
  14. The apparatus as claimed in any one of claims 10-13, wherein in connection with the running of the target game corresponding to the game advertisement through the game lobby, the 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.
  15. The apparatus as recited in claim 14, wherein prior to the running of the targeted game corresponding to the game advertisement by the game lobby, the processing unit 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 resources corresponding to the target game to obtain the target game resources.
  16. The apparatus of claim 15, wherein before the updating of the game resource corresponding to the target game, the processing unit 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 a data network, determining the residual flow of the current network account of the user;
    and if the residual flow is larger than or equal to a preset numerical value, executing the operation of updating the game resources corresponding to the target game.
  17. The apparatus according to any of claims 14-16, 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 containing 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 operating the target game according to the plurality of data packets in sequence.
  18. The apparatus of claims 10-17,
    the acquiring unit is further configured to acquire an application memory occupied resource of the target application;
    and if the resource occupied by the application memory is greater than a third preset threshold, the processing unit is further configured to stop running the target application.
  19. 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-9.
  20. 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-9.
CN201880097903.2A 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 true CN112739432A (en) 2021-04-30
CN112739432B CN112739432B (en) 2024-04-19

Family

ID=

Cited By (1)

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

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060224455A1 (en) * 2005-04-05 2006-10-05 Daniel Willis Method and system supporting audited reporting of advertising impressions 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
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

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060224455A1 (en) * 2005-04-05 2006-10-05 Daniel Willis Method and system supporting audited reporting of advertising impressions 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
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

Cited By (2)

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

Also Published As

Publication number Publication date
WO2020073204A1 (en) 2020-04-16

Similar Documents

Publication Publication Date Title
US10659844B2 (en) Interaction method and system based on recommended content
CN109213539B (en) Memory recovery method and device
CN109388453B (en) Application page display method and device, storage medium and electronic equipment
CN111294638B (en) Method, device, terminal and storage medium for realizing video interaction
CN106993227B (en) Method and device for information display
US10474507B2 (en) Terminal application process management method and apparatus
CN108549519B (en) Split screen processing method and device, storage medium and electronic equipment
CN108156508B (en) Barrage information processing method and device, mobile terminal, server and system
CN112672794A (en) Game page display method and related product
CN109067984B (en) Data transmission method, electronic device and computer readable storage medium
CN109254793B (en) Engine isolation method, related device and computer readable storage medium
CN108958629B (en) Split screen quitting method and device, storage medium and electronic equipment
CN110780940A (en) Application program loading method, electronic device and storage medium
CN109885323B (en) Application program upgrading method, mobile terminal and readable storage medium
CN107566909B (en) Barrage-based video content searching method and user terminal
CN110569078A (en) Method and device for preloading webpage-level program
WO2014206295A1 (en) Method, device and computer-readable storage medium for monitoring uninstallation event in operation platform
CN110908728B (en) Authority configuration method and related product
CN109126124B (en) Engine adaptation method, related device and computer readable storage medium
EP3447641A1 (en) Sound effect processing method and terminal
CN108900385B (en) Network connection method and related product
CN112740178B (en) Small game access method and related equipment
CN109902232B (en) Display control method and terminal
CN109316751B (en) Game adaptation method, related device and computer-readable storage medium
CN108920086B (en) Split screen quitting method and device, storage medium 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