CN109739630A - Game switching method, mobile terminal and computer readable storage medium - Google Patents

Game switching method, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN109739630A
CN109739630A CN201811654866.9A CN201811654866A CN109739630A CN 109739630 A CN109739630 A CN 109739630A CN 201811654866 A CN201811654866 A CN 201811654866A CN 109739630 A CN109739630 A CN 109739630A
Authority
CN
China
Prior art keywords
game
life
resurrection
role
user
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.)
Pending
Application number
CN201811654866.9A
Other languages
Chinese (zh)
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201811654866.9A priority Critical patent/CN109739630A/en
Publication of CN109739630A publication Critical patent/CN109739630A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a kind of game switching methods, this method comprises: whether the game role for detecting user's current operation, which enters, waits resurrection state when running of mobile terminal game application;If the game role of user's current operation, which enters, waits resurrection state, during the waiting is brought back to life, detect whether the game application is switched to running background;If the game application is switched to running background, detect whether the game role brings back to life;If the game role is brought back to life, the game application is switched back into front stage operation.The invention also discloses a kind of mobile terminals and a kind of computer readable storage medium.The present invention can be realized automatic switchback game after game role is brought back to life, to promote the game experiencing of user.

Description

Game switching method, mobile terminal and computer readable storage medium
Technical field
The present invention relates to technical field of mobile terminals more particularly to game switching methods, mobile terminal and computer-readable Storage medium.
Background technique
With the development of the mobile terminal technologies such as mobile phone, playing game using mobile phone has become people's life & amusement leisure One of mode.There is game a kind of so on the market at present after a period of time after game role death during battle It somewhere brings back to life, so that player continues playing game, and with the increase of whole office's game duration, the resurrection waiting time of game role Also it can increasingly grow, in order to wear down the uninteresting resurrection waiting time, player usually can cut out game circle after game role is dead Operation other application, such as brush brush microblogging or circle of friends are gone in face, so easily lead to player and miss the resurrection time, to make to play Family loses ground in gaming, influences game experiencing.
Summary of the invention
It is a primary object of the present invention to propose a kind of game switching method, mobile terminal and computer-readable storage medium Matter, it is intended to automatic switchback game after game role resurrection is realized, to promote the game experiencing of user.
To achieve the above object, the present invention provides a kind of game switching method, and the game switching method includes following step It is rapid:
When running of mobile terminal game application, whether the game role for detecting user's current operation, which enters to wait, brings back to life shape State;
If the game role of user's current operation, which enters, waits resurrection state, during the waiting is brought back to life, inspection Survey whether the game application is switched to running background;
If the game application is switched to running background, detect whether the game role brings back to life;
If the game role is brought back to life, the game application is switched back into front stage operation.
Optionally, described when running of mobile terminal game application, detect user's current operation game role whether into The step of entering to wait resurrection state include:
When running of mobile terminal game application, the game picture of the game application is intercepted;
Whether judge in the game picture comprising the preset identification information for waiting resurrection;
If waiting the identification information brought back to life comprising preset in the game picture, the game of user's current operation is determined Role, which enters, waits resurrection state.
Optionally, described to wait the identification information brought back to life to bring back to life countdown mark, the detection game role is The step of no resurrection includes:
Whether the countdown detected in the resurrection countdown mark terminates;
If the countdown brought back to life in countdown mark terminates, determine that the game role is brought back to life.
Optionally, described during the waiting is brought back to life, detect whether the game application is switched to backstage fortune Before capable step, further includes:
Obtain this dead resurrection waiting time of the game role;
Judge whether the resurrection waiting time is more than preset duration;
If the resurrection waiting time is more than preset duration, then follow the steps: during the waiting is brought back to life, detection Whether the game application is switched to running background.
Optionally, the step of resurrection waiting time of this death of the acquisition game role includes:
Current character grade of the game role in local exchange game is obtained, according to the current character rating calculation institute State this dead resurrection waiting time of game role;
Alternatively, obtaining dead number of the game role in local exchange game, calculated according to the dead number This dead resurrection waiting time of the game role;
Alternatively, obtain the duration of local exchange game, according to the duration calculate the game role this Dead resurrection waiting time.
Optionally, it is described judge the step of whether the resurrection waiting time is more than preset duration after, further includes:
If the resurrection waiting time is less than preset duration, when receive user triggering the game application is cut When shifting to the first switching command of running background, the first prompt information is exported, first prompt information is for prompting user The game application is switched to running background by no determination;
The game application is switched to by backstage based on the determination that first prompt information triggers when receiving user When the instruction of operation, the game application is switched into running background.
Optionally, before the described the step of game application is switched back into front stage operation, further includes:
The second prompt information is exported, second prompt information is for prompting the user whether to switch the game application Return front stage operation;
The game application is switched back into front stage operation based on what second prompt information triggered when receiving user When instruction, executes step: the game application is switched back into front stage operation.
Optionally, described when running of mobile terminal game application, detect user's current operation game role whether into Before the step of entering to wait resurrection state, further includes:
In game application starting, the functional switch of automatic switchback game after being brought back to life comprising game role of display one Set interface;
The setting instruction that user is triggered based on the set interface is received, is instructed according to the setting described in enabling or closing The function of the game role of game application automatic switchback game after bringing back to life.
In addition, to achieve the above object, the present invention also provides a kind of mobile terminal, the mobile terminal include: memory, Processor and it is stored in the game changeover program that can be run on the memory and on the processor, the game switches journey Sequence realizes the step of game switching method as described above when being executed by the processor.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium Game changeover program is stored on storage medium, the game changeover program realizes game as described above when being executed by processor The step of switching method.
When running of mobile terminal game application, whether the game role for detecting user's current operation enters waits the present invention Resurrection state;If the game role of user's current operation, which enters, waits resurrection state, during the waiting is brought back to life, inspection Survey whether the game application is switched to running background;If the game application is switched to running background, described in detection Whether game role brings back to life;If the game role is brought back to life, the game application is switched back into front stage operation.Pass through this side Formula, when user, which cuts out interface after game role death, goes operation other application, if detecting, game role is brought back to life, will Automatic switchback game is conducive to the game experiencing for promoting user so that user be made not miss the resurrection time of role.
Detailed description of the invention
A kind of hardware structural diagram of Fig. 1 mobile terminal of each embodiment to realize the present invention;
Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of game switching method first embodiment of the present invention;
Fig. 4 is the refinement step schematic diagram of step S10 in Fig. 3;
Fig. 5 is the display schematic diagram of the first prompt information in the embodiment of the present invention;
Fig. 6 is the display schematic diagram of the second prompt information in the embodiment of the present invention;
Fig. 7 is that mobile terminal shows a function comprising automatic switchback game after game role resurrection in the embodiment of the present invention The set interface schematic diagram of switch.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate Computer, laptop, palm PC, personal digital assistant (PersonalDigital Assistant, PDA), portable matchmaker Body player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. are mobile The fixed terminals such as terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Based on above-mentioned mobile terminal hardware configuration, each embodiment of mobile terminal of the present invention is proposed.
Fig. 1 is please referred to, in an embodiment of mobile terminal of the present invention, which includes: memory 109, processing Device 110 and it is stored in the game changeover program that can be run on the memory 109 and on the processor 110, the game Changeover program performs the steps of when being executed by the processor 110
When running of mobile terminal game application, whether the game role for detecting user's current operation, which enters to wait, brings back to life shape State;
If the game role of user's current operation, which enters, waits resurrection state, during the waiting is brought back to life, inspection Survey whether the game application is switched to running background;
If the game application is switched to running background, detect whether the game role brings back to life;
If the game role is brought back to life, the game application is switched back into front stage operation.
Further, it is also performed the steps of when the game changeover program is executed by the processor 110
When running of mobile terminal game application, the game picture of the game application is intercepted;
Whether judge in the game picture comprising the preset identification information for waiting resurrection;
If waiting the identification information brought back to life comprising preset in the game picture, the game of user's current operation is determined Role, which enters, waits resurrection state.
Further, described to wait the identification information brought back to life to bring back to life countdown mark, the game changeover program is by institute It states when processor 110 executes and also performs the steps of
Whether the countdown detected in the resurrection countdown mark terminates;
If the countdown brought back to life in countdown mark terminates, determine that the game role is brought back to life.
Further, it is also performed the steps of when the game changeover program is executed by the processor 110
Obtain this dead resurrection waiting time of the game role;
Judge whether the resurrection waiting time is more than preset duration;
If the resurrection waiting time is more than preset duration, then follow the steps: during the waiting is brought back to life, detection Whether the game application is switched to running background.
Further, it is also performed the steps of when the game changeover program is executed by the processor 110
Current character grade of the game role in local exchange game is obtained, according to the current character rating calculation institute State this dead resurrection waiting time of game role;
Alternatively, obtaining dead number of the game role in local exchange game, calculated according to the dead number This dead resurrection waiting time of the game role;
Alternatively, obtain the duration of local exchange game, according to the duration calculate the game role this Dead resurrection waiting time.
Further, it is also performed the steps of when the game changeover program is executed by the processor 110
If the resurrection waiting time is less than preset duration, when receive user triggering the game application is cut When shifting to the first switching command of running background, the first prompt information is exported, first prompt information is for prompting user The game application is switched to running background by no determination;
The game application is switched to by backstage based on the determination that first prompt information triggers when receiving user When the instruction of operation, the game application is switched into running background.
Further, it is also performed the steps of when the game changeover program is executed by the processor 110
The second prompt information is exported, second prompt information is for prompting the user whether to switch the game application Return front stage operation;
The game application is switched back into front stage operation based on what second prompt information triggered when receiving user When instruction, executes step: the game application is switched back into front stage operation.
Further, it is also performed the steps of when the game changeover program is executed by the processor 110
In game application starting, the functional switch of automatic switchback game after being brought back to life comprising game role of display one Set interface;
The setting instruction that user is triggered based on the set interface is received, is instructed according to the setting described in enabling or closing The function of the game role of game application automatic switchback game after bringing back to life.
The specific embodiment of mobile terminal of the present invention and each specific embodiment of following game switching methods are essentially identical, This is not repeated.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each reality of game switching method of the present invention is proposed Apply example.
It is the flow diagram of game switching method first embodiment of the present invention referring to Fig. 3, Fig. 3, which comprises
Step S10, when running of mobile terminal game application, whether the game role of detection user's current operation enters State to be brought back to life;
The application scenarios of the present embodiment can be with are as follows: and user plays a kind of competitive game using mobile terminal, in this kind of game, After game role death during battle, can somewhere (such as starting point) it bring back to life after a period of time, so that user continues playing Game, and with the increase of whole office's game duration, the resurrection waiting time of game role also can increasingly be grown, uninteresting in order to wear down The resurrection waiting time, user can usually cut out interface after game role is dead and remove operation other application, such as brush brush Microblogging or circle of friends, so easily lead to player miss bring back to life the time influence to swim so that user be made to lose ground in gaming Play experience.For this purpose, the present embodiment proposes a kind of game switching method.
Firstly, whether the game role for detecting user's current operation, which enters, waits when running of mobile terminal game application Resurrection state, for example after game role death during battle, according to game mechanism, which, which enters, is waited again State living.
It specifically, is the refinement step schematic diagram of step S10 in Fig. 3 referring to Fig. 4, Fig. 4.Step S10 can be further Include:
Step S11 intercepts the game picture of the game application when running of mobile terminal game application;
Whether step S12 judges in the game picture comprising the preset identification information for waiting resurrection;
If waiting the identification information brought back to life comprising preset in the game picture, S13 is thened follow the steps, determines that user works as The game role of preceding operation, which enters, waits resurrection state.
When running of mobile terminal game application, the game picture of game application can be intercepted, which can be in real time Interception, is also possible to intercept according to predeterminated frequency;When every time be truncated to game picture after, judge be in the game picture being truncated to It is no to wait the identification information brought back to life comprising preset, if comprising it is multiple to determine that the game role of user's current operation enters waiting State living.Wherein, the identification information for waiting resurrection can be text information, for example, can exist after due to general game role death Display contains the printed words of " countdown " in game picture, such as " countdown 20s ", indicates game role 20s also poor from resurrection, because This, can identify the game picture currently intercepted, and whether judgement includes wherein " countdown " printed words, if comprising sentencing The game role for determining user's current operation, which enters, waits resurrection state;In addition, the identification information brought back to life is waited to be also possible to figure Information, such as indicating hourglass figure of countdown etc..
It should be noted that when specific implementation, can also be sentenced using other modes other than waiting the identification information brought back to life Whether the game role of disconnected user's current operation, which enters, waits resurrection state.For example, in certain game, when game role death When, game picture can become grey or black and white effect, accordingly it is also possible to by detecting whether game picture becomes black or black White effect waits resurrection state to judge that the game role of user's current operation enters, and when specific implementation can flexible choice.
If the game role of user's current operation, which enters, waits resurrection state, S20 is thened follow the steps, is brought back to life in the waiting During, detect whether the game application is switched to running background;
When the game role for detecting user's current operation, which enters, waits resurrection state, during waiting resurrection, Mobile terminal detects whether the game application is switched to running background.It includes two kinds of feelings that game application, which is switched to running background, Condition: the first, manual switching, corresponding scene can be with are as follows: user manually logs out interface after game role is dead Other application, such as instant messaging application, browser application etc. are operated, game application at this time is switched to backstage manually by user and transports Row;Second, automatically switch, corresponding scene can be with are as follows: wait bring back to life during, mobile terminal, which just receives, to be come Electricity, at this time incoming call application can seize foreground, and game application can automatically switch to running background.
If the game application is switched to running background, S30 is thened follow the steps, whether multiple detects the game role It is living;
When detecting that game application is switched to running background, whether the game role for detecting user's operation is brought back to life.? In one embodiment, when waiting the identification information brought back to life is to bring back to life countdown mark, step S30 be may further include: Whether the countdown detected in the resurrection countdown mark terminates;If the countdown brought back to life in countdown mark terminates, Then determine that the game role is brought back to life.For example, being countdown 20s when bringing back to life countdown, then countdown terminates after 20s, this When determine game role bring back to life.In another embodiment, whether it also can detecte game picture by grey or black and white effect Color effect is become again, if so, can be determined that game role is brought back to life.
If the game role is brought back to life, S40 is thened follow the steps, the game application is switched back into front stage operation.
If it is determined that game role is brought back to life, then game application is switched back into front stage operation by mobile terminal, i.e., will currently show automatically The display interface for showing changing interface migration play so continues to operate game convenient for user in time.
In the present embodiment, when running of mobile terminal game application, whether the game role of detection user's current operation Into waiting resurrection state;If the game role of user's current operation, which enters, waits resurrection state, brought back to life in the waiting In the process, detect whether the game application is switched to running background;If the game application is switched to running background, Detect whether the game role brings back to life;If the game role is brought back to life, the game application is switched back into front stage operation.It is logical This mode is crossed, when user, which cuts out interface after game role death, goes operation other application, if detecting game angle Color is brought back to life, and by automatic switchback game, so that user be made not miss the resurrection time of role, is conducive to the game body for promoting user It tests.
Further, it is based on game switching method first embodiment of the present invention, proposes game switching method second of the present invention Embodiment.
It in the present embodiment, can also include: to obtain this death of the game role before above-mentioned steps S20 Bring back to life waiting time;Judge whether the resurrection waiting time is more than preset duration;If the resurrection waiting time is more than default Duration thens follow the steps: during the waiting is brought back to life, detecting whether the game application is switched to running background.
Specifically, when the game role of user's current operation enter wait resurrection state when, obtain the game role this Dead resurrection waiting time, and judge whether resurrection waiting time is more than preset duration, which can be by user's spirit Setting living, such as 30s;If bringing back to life waiting time is more than preset duration, illustrate that this dead resurrection waiting time is longer, user It probably cuts out interface and goes operation other application, executed during the waiting is brought back to life at this time, detect the trip The step of whether play application is switched to running background, and then game application is switched back into front stage operation after role is brought back to life, from And user is made not miss the resurrection time of role, be conducive to the game experiencing for promoting user.
Wherein, the step of obtaining this dead resurrection waiting time of the game role may further include: obtain Current character grade of the game role in local exchange game, according to game role sheet described in the current character rating calculation The resurrection waiting time of secondary death.Alternatively, obtain dead number of the game role in local exchange game, according to it is described Dead number calculates this dead resurrection waiting time of the game role;Alternatively, the duration of local exchange game is obtained, This dead resurrection waiting time of the game role is calculated according to the duration.
It specifically, can be according to this death of current character rating calculation game role of the game role in local exchange game Resurrection waiting time, wherein between current character grade and the resurrection waiting time of game role death be positive correlation, That is current character higher grade, and it is longer to bring back to life waiting time;Further, it is also possible in heaven in local exchange game according to game role It dies number and calculates this dead resurrection waiting time of the game role, wherein dead number and game role death is answered It is positive correlation between waiting time living, i.e. dead number is more, and it is longer to bring back to life waiting time;Further, it is also possible to according to The duration of local exchange game calculates this dead resurrection waiting time of game role, wherein when having continued of local exchange game It is positive correlation between the long and resurrection waiting time of game role death, i.e. the duration of local exchange game is longer, then It is longer to bring back to life waiting time.
The above-mentioned three kinds modes for calculating this dead resurrection waiting time of game role meet general competitive game Game mechanism ensure that the resurrection waiting time being calculated meets the competition rule of going game.
Further, it is based on game switching method second embodiment of the present invention, proposes game switching method third of the present invention Embodiment.
In the present embodiment, it is described judge the step of whether the resurrection waiting time is more than preset duration after, also wrap Include: if the resurrection waiting time is less than preset duration, when receive user triggering the game application is switched to When the first switching command of running background, the first prompt information is exported, first prompt information is for prompting the user whether really Surely the game application is switched into running background;It is wanted when receiving the determination that user is triggered based on first prompt information When the game application is switched to the instruction of running background, the game application is switched into running background.
In the present embodiment, if bringing back to life waiting time is less than preset duration, illustrate this dead resurrection waiting time It is shorter, if game application is switched to running background by user at this time, very likely miss the resurrection time of role.For this purpose, working as When mobile terminal receives the first switching command that game application is switched to running background of user's triggering, the first prompt of output Information, first prompt information is for prompting the user whether that game application is switched to running background by determination.Referring to Fig. 5, Fig. 5 For the display schematic diagram of the first prompt information in the embodiment of the present invention, when receiving after switching to game application of user's triggering Platform operation the first switching command when, mobile terminal can be shown in current screen the first prompt information " role will bring back to life, Determine and game application switched into running background? " if user selects "Yes", the first switching command is executed by game Application switching is to running background, if user selects "No", mobile terminal keeps display interface constant.Pass through this side Formula plays the effect of prompt user in the case where this dead resurrection waiting time is shorter, avoids user due to accidentally It operates and game application is switched into the resurrection time that running background leads to miss role, further improve the game body of user It tests.
Further, it is based on game switching method first embodiment of the present invention, proposes game switching method the 4th of the present invention Embodiment.
It in the present embodiment, can also include: the second prompt information of output before step S40, the second prompt letter Breath is for prompting the user whether the game application switching back into front stage operation;Second prompt is based on when receiving user When the game application is switched back into the instruction of front stage operation of information triggering, executes step: the game application is switched back into Front stage operation.
In the present embodiment, it is contemplated that even if game role is brought back to life in some cases, user also still wants to stay in currently to answer Display interface and be not desired to switching back immediately to game application into front stage operation, for example user needs to reply important short message, phone The case where.For this purpose, mobile terminal can export the second prompt information when detecting that game role is brought back to life, the second prompt letter Breath is for prompting the user whether game application switching back into front stage operation.It is second in the embodiment of the present invention referring to Fig. 6, Fig. 6 The display schematic diagram of prompt information, when detecting that game role is brought back to life, mobile terminal can show second in current screen Prompt information " role has been brought back to life, if game application is switched back into front stage operation? " if user select "Yes", execute by Game application switches back into front stage operation, if user selects "No", mobile terminal keeps the application interface currently shown constant.It is logical This mode is crossed, when game role is brought back to life, whether user can switch game application according to the wish flexible choice of oneself Front stage operation is returned, further the user experience is improved.
Further, it is based on game switching method first embodiment of the present invention, proposes game switching method the 5th of the present invention Embodiment.
It in the present embodiment, can also include: in game application starting, display one includes before step S10 The set interface of game role functional switch of automatic switchback game after bringing back to life;Receive what user was triggered based on the set interface Setting instruction, automatic switchback game after being brought back to life according to the game role that the setting instruction enabled or closed the game application Function.
In the present embodiment, when game application starts, terminal can show that one includes to cut automatically after game role is brought back to life The set interface of the functional switch of migration play.Referring to Fig. 7, Fig. 7 is that mobile terminal shows that one includes game in the embodiment of the present invention The set interface schematic diagram of role's functional switch of automatic switchback game after bringing back to life, user can be based on set interface triggering settings Instruction, to enable or close the function of automatic switchback game after the game role of game application is brought back to life.
The functional switch of the present embodiment automatic switchback game after being brought back to life by offer game role, enables convenient for user flexibility Or the function of automatic switchback game after game role is brought back to life is closed, further the user experience is improved.
The present invention also provides a kind of computer readable storage mediums.
Game changeover program is stored on computer readable storage medium of the present invention, the game changeover program is by processor The step of game switching method as described above is realized when execution.
Wherein, the game changeover program run on the processor, which is performed realized method, can refer to the present invention Game switching method embodiment, details are not described herein again.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (10)

1. a kind of game switching method, which is characterized in that the game switching method includes the following steps:
When running of mobile terminal game application, whether the game role for detecting user's current operation, which enters, waits resurrection state;
If the game role of user's current operation, which enters, waits resurrection state, during the waiting is brought back to life, institute is detected State whether game application is switched to running background;
If the game application is switched to running background, detect whether the game role brings back to life;
If the game role is brought back to life, the game application is switched back into front stage operation.
2. game switching method as described in claim 1, which is characterized in that it is described when running of mobile terminal game application, Whether the game role for detecting user's current operation, which enters the step of waiting resurrection state, includes:
When running of mobile terminal game application, the game picture of the game application is intercepted;
Whether judge in the game picture comprising the preset identification information for waiting resurrection;
If waiting the identification information brought back to life comprising preset in the game picture, the game role of user's current operation is determined Into waiting resurrection state.
3. game switching method as claimed in claim 2, which is characterized in that described to wait the identification information brought back to life to bring back to life Timing markers, it is described to detect that the step of whether game role brings back to life includes:
Whether the countdown detected in the resurrection countdown mark terminates;
If the countdown brought back to life in countdown mark terminates, determine that the game role is brought back to life.
4. game switching method as claimed any one in claims 1 to 3, which is characterized in that described to be brought back to life in the waiting During, before detecting the step of whether game application is switched to running background, further includes:
Obtain this dead resurrection waiting time of the game role;
Judge whether the resurrection waiting time is more than preset duration;
If the resurrection waiting time is more than preset duration, then follow the steps: during the waiting is brought back to life, described in detection Whether game application is switched to running background.
5. game switching method as claimed in claim 4, which is characterized in that this death of the acquisition game role Bring back to life waiting time the step of include:
Current character grade of the game role in local exchange game is obtained, is swum according to the current character rating calculation It plays this dead resurrection waiting time of role;
Alternatively, dead number of the game role in local exchange game is obtained, according to dead number calculating This dead resurrection waiting time of game role;
Alternatively, obtaining the duration of local exchange game, calculating the game role according to the duration, this is dead Resurrection waiting time.
6. game switching method as claimed in claim 4, which is characterized in that described to judge whether the resurrection waiting time surpasses After the step of crossing preset duration, further includes:
If the resurrection waiting time is less than preset duration, when receive user triggering the game application is switched to When the first switching command of running background, the first prompt information is exported, first prompt information is for prompting the user whether really Surely the game application is switched into running background;
The game application is switched into running background when receiving the determination that user is triggered based on first prompt information Instruction when, the game application is switched into running background.
7. game switching method as claimed any one in claims 1 to 3, which is characterized in that described by the game application Before the step of switching back into front stage operation, further includes:
The second prompt information is exported, second prompt information is for prompting the user whether before switching back into the game application Platform operation;
When the instruction that the game application is switched back into front stage operation for receiving user and being triggered based on second prompt information When, it executes step: the game application is switched back into front stage operation.
8. game switching method as claimed any one in claims 1 to 3, which is characterized in that described to work as running of mobile terminal When game application, whether the game role for detecting user's current operation enters before the step of waiting resurrection state, further includes:
In game application starting, the setting of the functional switch of automatic switchback game after being brought back to life comprising game role of display one Interface;
The setting instruction that user is triggered based on the set interface is received, is instructed according to the setting and enables or close the game The function of the game role of application automatic switchback game after bringing back to life.
9. a kind of mobile terminal, which is characterized in that the mobile terminal includes: memory, processor and is stored in the storage It is real when the game changeover program is executed by the processor on device and the game changeover program that can run on the processor Now such as the step of game switching method described in any item of the claim 1 to 8.
10. a kind of computer readable storage medium, which is characterized in that be stored with game on the computer readable storage medium and cut Program is changed, realizes that game described in any item of the claim 1 to 8 such as switches when the game changeover program is executed by processor The step of method.
CN201811654866.9A 2018-12-29 2018-12-29 Game switching method, mobile terminal and computer readable storage medium Pending CN109739630A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811654866.9A CN109739630A (en) 2018-12-29 2018-12-29 Game switching method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811654866.9A CN109739630A (en) 2018-12-29 2018-12-29 Game switching method, mobile terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN109739630A true CN109739630A (en) 2019-05-10

Family

ID=66363044

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811654866.9A Pending CN109739630A (en) 2018-12-29 2018-12-29 Game switching method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109739630A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110170168A (en) * 2019-05-30 2019-08-27 腾讯科技(深圳)有限公司 Virtual objects shooting criterions method, apparatus, electronic equipment and storage medium
CN110489215A (en) * 2019-06-29 2019-11-22 华为技术有限公司 The treating method and apparatus of scene is waited in a kind of application program
CN112691369A (en) * 2020-12-28 2021-04-23 维沃移动通信有限公司 Display method, display device, electronic equipment and storage medium
CN113453059A (en) * 2021-06-24 2021-09-28 深圳市腾讯计算机系统有限公司 Cloud game data processing method, device, equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105700776A (en) * 2016-02-25 2016-06-22 努比亚技术有限公司 Device and method for switching background programs
CN107493387A (en) * 2017-08-24 2017-12-19 维沃移动通信有限公司 A kind of game control method and mobile terminal
CN108021321A (en) * 2017-12-28 2018-05-11 维沃移动通信有限公司 A kind of application operation condition control method and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105700776A (en) * 2016-02-25 2016-06-22 努比亚技术有限公司 Device and method for switching background programs
CN107493387A (en) * 2017-08-24 2017-12-19 维沃移动通信有限公司 A kind of game control method and mobile terminal
CN108021321A (en) * 2017-12-28 2018-05-11 维沃移动通信有限公司 A kind of application operation condition control method and mobile terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110170168A (en) * 2019-05-30 2019-08-27 腾讯科技(深圳)有限公司 Virtual objects shooting criterions method, apparatus, electronic equipment and storage medium
CN110489215A (en) * 2019-06-29 2019-11-22 华为技术有限公司 The treating method and apparatus of scene is waited in a kind of application program
WO2021000807A1 (en) * 2019-06-29 2021-01-07 华为技术有限公司 Processing method and apparatus for waiting scenario in application
US11921977B2 (en) 2019-06-29 2024-03-05 Huawei Technologies Co., Ltd. Processing method for waiting scenario in application and apparatus
CN112691369A (en) * 2020-12-28 2021-04-23 维沃移动通信有限公司 Display method, display device, electronic equipment and storage medium
CN113453059A (en) * 2021-06-24 2021-09-28 深圳市腾讯计算机系统有限公司 Cloud game data processing method, device, equipment and medium
CN113453059B (en) * 2021-06-24 2022-12-09 深圳市腾讯计算机系统有限公司 Cloud game data processing method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN109739630A (en) Game switching method, mobile terminal and computer readable storage medium
CN109634542A (en) A kind of switching display control method, terminal and computer readable storage medium
CN109947248A (en) Vibration control method, mobile terminal and computer readable storage medium
CN108540297A (en) A kind of chat management method, mobile terminal and computer readable storage medium
CN108052256A (en) Message display method, mobile terminal and computer readable storage medium
CN108512991A (en) A kind of based reminding method, mobile terminal and computer readable storage medium
CN110300435A (en) A kind of communication pattern switching method, terminal and computer readable storage medium
CN108965602A (en) Application program display methods, mobile terminal and computer readable storage medium
CN110187808A (en) Dynamic wallpaper setting method, device and computer readable storage medium
CN108762631A (en) A kind of method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN109999494A (en) Game control method, device and computer readable storage medium
CN109542325A (en) Double-sided screen touch control method, double-sided screen terminal, readable storage medium storing program for executing
CN109462700A (en) A kind of call method, mobile terminal and computer readable storage medium
CN108958936A (en) Application programe switch-over method, mobile terminal and computer readable storage medium
CN108712558A (en) Incoming call reminding method, mobile terminal and the readable storage medium storing program for executing of mobile terminal
CN109144383A (en) A kind of application control method, terminal and computer readable storage medium
CN108829302A (en) A kind of interaction regulation method, equipment and computer readable storage medium
CN110099165A (en) A kind of notification message replys control method, terminal and computer readable storage medium
CN110064196A (en) Method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN109065065A (en) Call method, mobile terminal and computer readable storage medium
CN109379777A (en) A kind of network search method, terminal and computer readable storage medium
CN109739346A (en) A kind of key simulating method, double screen terminal and computer readable storage medium
CN108881542A (en) Mobile terminal call method, mobile terminal and computer readable storage medium
CN109101301A (en) A kind of display control method, mobile terminal and computer readable storage medium
CN108579081A (en) Event-handling method, equipment based on game and computer storage media

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190510