CN109901882B - Game application adding method based on game space, terminal and storage medium - Google Patents

Game application adding method based on game space, terminal and storage medium Download PDF

Info

Publication number
CN109901882B
CN109901882B CN201811469540.9A CN201811469540A CN109901882B CN 109901882 B CN109901882 B CN 109901882B CN 201811469540 A CN201811469540 A CN 201811469540A CN 109901882 B CN109901882 B CN 109901882B
Authority
CN
China
Prior art keywords
game
game application
game space
space
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.)
Active
Application number
CN201811469540.9A
Other languages
Chinese (zh)
Other versions
CN109901882A (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.)
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 CN201811469540.9A priority Critical patent/CN109901882B/en
Publication of CN109901882A publication Critical patent/CN109901882A/en
Application granted granted Critical
Publication of CN109901882B publication Critical patent/CN109901882B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a game application adding method based on a game space, a terminal and a storage medium. The invention also discloses a terminal and a storage medium, and by implementing the scheme, the game application is accurately added into the game space, so that the experience satisfaction degree of the user is greatly improved.

Description

Game application adding method based on game space, terminal and storage medium
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a game application adding method based on a game space, a terminal, and a storage medium.
Background
With the deep development of the internet, more and more industries are added to the internet wave, and countless internet-based applications are generated, which provide entertainment based on text, pictures, video, games, big data services, and so on, and the kinds and number of applications installed on the terminal are increasing, wherein various game applications are the most common. The terminal takes a game mobile phone as an example, a game space on the game mobile phone can automatically add an application belonging to a game into the game space at present, but some problems often occur in the adding process, for example, after the game application is installed, the game space is not in an operating state, or the game space is not in a networking state, and the like, which can result in that the game application cannot be automatically added into the game space, so that it can be seen that the game application cannot be accurately added into the game space in the prior art, great interference is caused to a user, and the experience satisfaction of the user is greatly reduced.
Disclosure of Invention
The invention aims to solve the technical problem that the game application cannot be accurately added into a game space in the prior art, so that the user experience is low. Aiming at the technical problem, a game application adding method based on a game space, a terminal and a storage medium are provided.
In order to solve the technical problem, the invention provides a game application adding method based on a game space, which comprises the following steps:
when the situation that the game application is installed is monitored, acquiring current state condition information of a game space;
determining an adding strategy of the game application according to the acquired state condition information and a preset state condition information and adding strategy relation table;
adding the game application into the game space based on the determined addition policy.
Optionally, the obtaining of the current state condition information of the game space includes:
judging whether the game space is in a running state at present;
if not, acquiring the information that the game space is not in the running state currently;
taking the information that the game space is not in the running state currently as the current state condition information of the game space;
and/or the presence of a gas in the gas,
judging whether the game space is in a networking state at present;
if not, acquiring the information that the game space is not in the networking state currently;
and taking the information that the game space is not in the networking state currently as the current state condition information of the game space.
Optionally, the adding policy includes:
when the information that the game space is not in the running state at present is obtained, whether the game application being installed is installed successfully is judged;
if so, using a cross-process calling function to pull up the game space so as to enable the game space to be in a running state;
adding the game application to the running game space.
Optionally, the cross-process call function includes at least one of a service function and a contentProvider function.
Optionally, the adding policy includes:
when the information that the game space is not in the networking state at present is obtained and the game application is installed successfully, searching whether the game application exists in a game application database established locally;
if so, adding the game application to the game space.
Optionally, when the information that the game space is not currently in the networking state is acquired and the game application is successfully installed, before searching whether the game application exists in a game application database established locally, the method further includes:
establishing a game application database locally;
acquiring game applications with the download number exceeding a preset number threshold;
adding the acquired game application to the game application database.
Optionally, after the adding the acquired game application to the game application database, the method further includes:
judging whether the game applications with the download quantity exceeding a preset quantity threshold value are in the game application database every other preset time period;
if not, adding the game application to the game application database to update the game application database.
Optionally, after the game application is added to the game space based on the determined addition policy, the method further includes:
deleting the game application matched with the game application stored in the game application database so as to update the game application database.
Furthermore, the invention also provides a terminal, which comprises a processor, a memory and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more first programs stored in the memory to implement the steps of the game space-based game application addition method as described in any one of the above.
Further, the present invention also provides a storage medium storing one or more programs, the one or more first programs being executable by one or more processors to implement the steps of the game space-based game application adding method as described above.
Advantageous effects
According to the game application adding method based on the game space, the current state condition information of the game space is obtained when the game application is monitored to be installed, the adding strategy of the game application is determined according to the obtained state condition information, the preset state condition information and the adding strategy relation table, further, the game application is added into the game space based on the determined adding strategy, and the problem that the game application cannot be accurately added into the game space in the prior art, and the user experience degree is low is solved. That is, in the present invention, when the installation of a game application is monitored, the current state condition information of the game space is obtained by the game application adding method based on the game space, and then the adding strategy of the game application is determined according to the state condition information and the adding strategy relation table pre-stored on the terminal, and then the game application is accurately added to the game space according to the determined adding strategy, thereby avoiding the occurrence of the phenomenon that the game application cannot be accurately added to the game space in the prior art, greatly improving the accuracy of adding the game application to the game space, reducing the interference to the user, and greatly improving the experience satisfaction of the user.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
fig. 1 is a schematic diagram of a hardware structure of an alternative mobile terminal for implementing various embodiments of the present invention;
FIG. 2 is a diagram of a wireless communication system for the mobile terminal shown in FIG. 1;
FIG. 3 is a schematic basic flowchart of a game space-based game application adding method according to a first embodiment of the present invention;
FIG. 4 is a schematic diagram of a basic process for determining whether a game space is currently in a running state according to a first embodiment of the present invention;
FIG. 5 is a schematic diagram of a basic process for determining whether a game space is currently connected to a network according to a first embodiment of the present invention;
fig. 6 is a schematic diagram of a basic flow provided by the first embodiment of the present invention when information that a game space is not currently in a running state is acquired;
fig. 7 is a schematic diagram of a basic flow provided by the first embodiment of the present invention when information that a game space is not currently in a networked state is acquired;
FIG. 8 is a basic flowchart of building a game application database locally according to a first embodiment of the present invention;
FIG. 9 is a basic flowchart of a possible updating game application database according to the first embodiment of the present invention;
FIG. 10 is a schematic basic flowchart of a first specific game space-based game application adding method according to a second embodiment of the present invention;
FIG. 11 is a schematic basic flowchart of a second specific game space-based game application adding method according to a second embodiment of the present invention;
fig. 12 is a schematic structural diagram of a terminal according to a third embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (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, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the rf unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, the rf unit 101 may transmit uplink information to a base station, in addition, the downlink information sent by the base station may be received and then sent to the processor 110 of the mobile terminal for processing, the downlink information sent by the base station to the radio frequency unit 101 may be generated according to the uplink information sent by the radio frequency unit 101, or may be actively pushed to the radio frequency unit 101 after detecting that the information of the mobile terminal is updated, for example, after detecting that the geographical location of the mobile terminal is changed, the base station may send a message notification of the geographical location change to the radio unit 101 of the mobile terminal, and after receiving the message notification, the message notification may be sent to the processor 110 of the mobile terminal for processing, and the processor 110 of the mobile terminal may control the message notification to be displayed on the display panel 1061 of the mobile terminal; typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 may also communicate with a network and other devices through wireless communication, which may specifically include: the server may push a message notification of resource update to the mobile terminal through wireless communication to remind a user of updating the application program if the file resource corresponding to the application program in the server is updated after the mobile terminal finishes downloading the application program. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein. For example, when receiving a message notification of an application program through the rf unit 101, the processor 110 may control the message notification to be displayed in a predetermined area of the display panel 1061, where the predetermined area corresponds to a certain area of the touch panel 1071, and perform a touch operation on the certain area of the touch panel 1071 to control the message notification displayed in the corresponding area on the display panel 1061.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. The eNodeB2021 may connect with another eNodeB2022 through a backhaul (e.g., an X2 interface), and after the UE201 connects with the eNodeB2021, the UE 2021 may receive a notification message notification sent by the eNodeB2021, and the eNodeB2021 may connect to the EPC203, and the eNodeB2021 may provide the UE201 with access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above-mentioned mobile terminal hardware structure and communication network system, various embodiments of the present invention are proposed.
First embodiment
The problem of low user experience degree caused by the fact that game applications cannot be accurately added to a game space in the prior art is solved. The embodiment provides a game application adding method based on a game space, which includes the steps of obtaining current state condition information of the game space when it is monitored that a game application is installed, further determining an adding strategy of the game application according to the obtained state condition information, preset state condition information and an adding strategy relation table, and further adding the game application to the game space based on the determined adding strategy. Specifically, as shown in fig. 3, fig. 3 is a basic flowchart of a game application adding method based on a game space provided in this embodiment, where the game application adding method based on the game space includes:
s301: when the situation that the game application is installed is monitored, the current state condition information of the game space is obtained.
In this embodiment, the current state situation information of the game space at least includes the following two situations:
case one, see in particular fig. 4:
s401: judging whether the game space is in a running state at present;
if not, go to step S402, and if so, end.
It can be understood that, when the game space is not in the running state, the game application cannot be accurately added to the game space, and therefore, in order to accurately add the game application to the game space, it is necessary to determine whether the game space is currently in the running state, and when the game space is not currently in the running state, S402 is executed, and when the game space is currently in the running state, the process can be directly ended.
S402: and acquiring the information that the game space is not in the running state currently.
It can also be understood that, when the game space is not currently in the running state, the information that the game space is not currently in the running state is correspondingly acquired.
S403: and taking the information that the game space is not in the running state currently as the current state condition information of the game space.
It should be clear that the information that the game space acquired at this time is not in the running state at present is the current state condition information of the game space.
Case two, see specifically fig. 5 for a description:
s501: judging whether the game space is in a networking state at present;
if not, executing S502, if yes, ending.
It can be understood that, under the condition that the terminal is in the no-network state or the network state is not good, that is, the game space is not in the networking state, the game application cannot be accurately added to the game space, so that in order to accurately add the game application to the game space, it is necessary to determine whether the game space is currently in the networking state, when the game space is not currently in the networking state, S502 is executed, and when the game space is currently in the networking state, the process can be directly ended.
S502: and acquiring the information that the game space is not in the networking state currently.
It can also be understood that, when the game space is not in the networking state, the information that the game space is not in the networking state is correspondingly acquired.
S503: and taking the information that the game space is not in the networking state currently as the current state condition information of the game space.
It should be clear that the information that the game space acquired at this time is not in the networking state at present is the current state condition information of the game space.
It should be noted that only the current state information of two common game spaces is introduced here, and the present invention is not limited to the listed current state information of the two game spaces, and in practical application, the adjustment needs to be made according to a specific application scenario.
S302: and determining an adding strategy of the game application according to the acquired state condition information and the relation table of the preset state condition information and the adding strategy.
It should be noted that, the terminal stores the preset state condition information and the addition policy relationship table in advance, and for better understanding of the present invention, the above-described current state condition information of the two game spaces is still taken as an example for illustration.
In this embodiment, when the information that the game space is not currently in the running state is acquired, at least the following steps are included, specifically referring to fig. 6:
s601: judging whether the game application being installed is successfully installed;
if so, go to S602, otherwise, go to S601.
It can be understood that when the information that the game space is not currently in the running state is obtained, it is required to determine whether the game application being installed is successfully installed at this time, specifically, it may be determined whether an icon display of the game application exists on the desktop, if the icon of the game application is displayed on the desktop, the game application is successfully installed, and if the icon of the game application is not displayed on the desktop, the game application is not successfully installed. It should be noted that, although only one way of determining whether the game application being installed is successfully installed is illustrated herein, the determination may be made in other ways, and is not limited to the illustrated one way, and in fact, it is within the scope of the present invention to determine whether the game application being installed is successfully installed. It should be understood that S602 is executed when the installation of the game application being installed is successful, and S601 is continued when the installation of the game application being installed fails.
S602: the game space is pulled up using a cross-process call function to place the game space in a running state.
It will also be appreciated that when the installation of the gaming application being installed is successful, the cross-process call function is used to pull up the game space so that the game space is in a running state. In this embodiment, the cross-process call function includes, but is not limited to, a service function and a contentProvider function, and specifically, when the game application is successfully installed, the cross-process call service function may be used to pull up the game space so as to enable the game space to be in a running state, or the cross-process call contentProvider function may be used to pull up the game space so as to enable the game space to be in a running state. It should be noted that only two common cross-process calling functions are listed here, and the present invention is not limited to the two listed cross-process calling functions, and in practical applications, a developer selects and uses the cross-process calling function according to a specific application scenario.
S603: adding the game application to the game space in the running state.
It should be clear that when the game application is in the running state, the game application can be accurately added to the game space, and the phenomenon that the game application is not added to the game space when the game space is not in the running state is avoided.
In this embodiment, when the information that the game space is not currently in the networking state is acquired, at least the following steps are included, specifically referring to fig. 7:
s701: searching whether a game application exists in a game application database established locally;
if so, go to S702, otherwise, go to S701.
It can be understood that, when the information that the game space is not in the networking state currently is obtained and the game application is installed successfully, the game application database established locally can be directly searched for whether the game application exists. It can also be understood that the game application database established locally can be accessed without a network, that is, the game space can search whether the game application installed successfully exists in the game application database established locally under the condition of no networking, and compared with the case that the game space accesses the game application database established locally and confirms whether the application belongs to the game application through a background, the rate of accessing the game application database established locally by the game space is higher, so that the rate of adding the game application to the game space is greatly improved, and the experience satisfaction of the user is further improved.
S702: the game application is added to the game space.
It should be clear that when a game application exists in a game application database established locally, the game application can be accurately added to a game space, and the phenomenon that the game application is not added to the game space when the game space is not in a networking state due to poor network state is avoided.
It should be noted that, before searching whether a game application exists in the game application database established locally, at least the following steps are further included, and refer to fig. 8 specifically:
s801: a game application database is established locally.
It will be appreciated that a game application database may first be created locally, with the game application database being empty.
S802: and acquiring the game applications with the download number exceeding a preset number threshold value.
Further, obtaining the game applications downloaded on the current network in a number exceeding a preset number threshold, it can be understood that the game applications downloaded in a number exceeding the preset number threshold are usually the game applications favored by the user, for example, the number of times of downloading "royal glory" of the game application is set to 16 hundred million times, the preset number threshold is set to 2 hundred million times, obviously, the number of times of downloading "royal glory" of the game application exceeds the preset number threshold, and is favored by the user. It should be noted that, in practical applications, the preset number threshold is flexibly set by a developer according to experiments or experience.
S803: and adding the acquired game application into a game application database.
Following the above example, further, the game application "Royal of King" is added to the game application database.
It will be understood that only one specific game application is added to the game application database, and in practical applications, a large number of game applications are necessarily stored in the game application database, for example, a specific game application database is shown in table one.
Watch 1
Figure BDA0001890588040000131
Figure BDA0001890588040000141
It should be noted that the description is only a specific game application database, and in practical applications, the adjustment is required according to the application scenario. Meanwhile, the game applications can be divided into a plurality of types, the game applications of the plurality of types can be stored in the same locally established game application database, the game applications of different types can be respectively stored in different locally established game application databases, when the game applications of different types respectively correspond to one locally established game application database, the type of the currently installed game application can be firstly confirmed, and then the locally established game application database corresponding to the game type is accessed according to the determined type of the game application, and the access rate can be further improved by the method.
It should be clear that, in this embodiment, after adding the acquired game application to the game application database, at least the following steps are further included, specifically referring to fig. 9:
s901: judging whether the game applications with the download quantity exceeding a preset quantity threshold value are in a game application database every other preset time period;
if not, executing S902, if yes, ending.
It can be understood that, in order to further improve the accuracy of adding the game applications to the game space, it may also be determined, every preset time period, whether the game applications whose downloaded number exceeds the preset number threshold are in the game application database, that is, the game applications in the game application database are updated every preset time period. It should be noted that the preset time period may be two days, three days, etc., and in practical applications, the time period needs to be flexibly set by a developer according to experiments or experiences.
S902: the game application is added to the game application database to update the game application database.
It should be appreciated that when the number of game applications downloaded exceeds the preset number threshold is not in the game application database, the game application is added to the game application database, and the game application database is updated.
S303: adding the game application to the game space based on the determined addition policy.
In this embodiment, after the game application is added to the game space, the game application stored in the game application database and matched with the game application may be deleted, so as to update the game application database, thereby avoiding occupation of too much terminal memory due to too many game applications stored in the game application database.
According to the game application adding method based on the game space, the current state condition information of the game space is obtained when the game application is monitored to be installed, the adding strategy of the game application is determined according to the obtained state condition information and the preset state condition information and the adding strategy relation table, and further the game application is added to the game space based on the determined adding strategy, so that the problem that the game application cannot be accurately added to the game space in the prior art, and the user experience degree is low is solved. That is, in this embodiment, the game application adding method based on the game space avoids the phenomenon that the game application cannot be accurately added to the game space in the prior art, greatly improves the accuracy of adding the game application to the game space, reduces interference to the user, and greatly improves the experience satisfaction of the user.
Meanwhile, in the embodiment, the game space can access the locally established game application database in an unconnected state, and compared with the situation that whether the game space needs to confirm whether the application belongs to the game application through a background in a connected state, the rate of accessing the locally established game application database by the game space is higher, so that the rate of adding the game application to the game space is greatly improved, and the experience satisfaction of a user is further improved.
Second embodiment
The present embodiment is further exemplified by taking two specific game space-based game application adding methods as examples on the basis of the first embodiment.
First, an example is given by taking an example that the game space is not in a running state and the game application cannot be accurately added to the game space, and specific reference may be made to fig. 10.
S1001: when the situation that the game application is installed is monitored, judging whether the game space is in a running state currently;
if not, executing S1002, if yes, ending.
If it is monitored that the game application "royal glory" is being installed, it is determined whether the game space is currently in an operating state, and if not, S1002 is executed.
S1002: and acquiring the information that the game space is not in the running state currently.
Bearing the above example, further, information that the game space is not currently in the running state is obtained.
S1003: and taking the information that the game space is not in the running state currently as the current state condition information of the game space.
In the above example, the information that the game space is not currently in the running state is further used as the current state information of the game space.
S1004: judging whether the game application being installed is successfully installed;
if so, S1005 is executed, otherwise, S1004 is continuously executed.
In the above example, it is further determined whether the game application "royal glory" being installed was successfully installed, and if an icon of the game application "royal glory" is displayed on the desktop, that is, the game application "royal glory" is successfully installed, S1005 is executed.
S1005: the game space is pulled up using a cross-process call function to place the game space in a running state.
Bearing the above example, further, the desktop uses a cross-process call service function to pull up the game space, so that the game space is in a running state.
S1006: adding the game application to the game space in the running state.
Following the above example, further, the game application "royal glory" is added to the game space in the running state.
Next, an example is described by taking an example that the game space is not in a networked state and the game application cannot be accurately added to the game space, and specifically, refer to fig. 11.
S1101: when the situation that the game application is installed is monitored, judging whether the game space is in a networking state currently;
if not, executing S1102, if yes, ending.
If it is monitored that the game application "angry birds" is being installed, it is determined whether the game space is currently in a networked state, and if the game space is not currently in an operating state, S1102 is performed.
S1102: and acquiring the information that the game space is not in the networking state currently.
Bearing the above example, further, information that the game space is not currently in the networking state is obtained.
S1103: and taking the information that the game space is not in the networking state currently as the current state condition information of the game space.
Bearing the above example, further, the information that the game space is not in the networking state at present is taken as the current state condition information of the game space.
S1104: searching whether a game application exists in a game application database established locally;
if so, S1105 is executed, otherwise, S1104 is continuously executed.
Following the above example, further, if it is found out in the game application database locally established that the game application "angry birds" is present, and it is assumed that the game application "angry birds" is stored in the game application database locally established, S1105 is executed.
S1105: adding a game application to the game space.
Bearing the above example, further, a game application "angry birds" is added to the game space.
According to the game application adding method based on the game space, the current state condition information of the game space is obtained when the game application is monitored to be installed, the adding strategy of the game application is determined according to the obtained state condition information and the preset state condition information and the adding strategy relation table, and further the game application is added to the game space based on the determined adding strategy, so that the problem that the game application cannot be accurately added to the game space in the prior art, and the user experience degree is low is solved. That is, in this embodiment, the game application adding method based on the game space avoids the phenomenon that the game application cannot be accurately added to the game space in the prior art, greatly improves the accuracy of adding the game application to the game space, reduces interference to the user, and greatly improves the experience satisfaction of the user.
Third embodiment
Referring to fig. 12, the terminal provided in this embodiment includes a processor 1201, a memory 1202 and a communication bus 1203.
In this embodiment, the communication bus 1203 is used to implement connection communication between the processor 1201 and the memory 1202, and the processor 1201 is used to execute one or more programs stored in the memory 1202 to implement the following steps:
when the situation that the game application is installed is monitored, acquiring current state condition information of a game space;
determining an adding strategy of the game application according to the acquired state condition information and a relation table between the preset state condition information and the adding strategy;
adding the game application to the game space based on the determined addition policy.
In this embodiment, the current state situation information of the game space at least includes the following two situations:
the first condition is as follows:
judging whether the game space is in a running state at present;
if not, the information that the game space is not in the running state currently is obtained.
And taking the information that the game space is not in the running state currently as the current state condition information of the game space.
Case two:
judging whether the game space is in a networking state at present;
if not, acquiring the information that the game space is not in the networking state currently;
and taking the information that the game space is not in the networking state currently as the current state condition information of the game space.
For better understanding of the present invention, the above-described information about the current status of two game spaces is still used as an example for illustration.
In this embodiment, when the processor 1201 acquires information that the game space is not currently in the running state, the method at least includes the following steps:
judging whether the game application being installed is successfully installed;
if so, using a cross-process calling function to pull up the game space so as to enable the game space to be in a running state;
adding the game application to the game space in the running state.
It is understood that the cross-process call function in the present embodiment includes, but is not limited to, a service function and a contentProvider function.
In this embodiment, when the processor 1201 acquires information that the game space is not currently in the networking state, at least the following steps are included:
searching whether a game application exists in a game application database established locally;
if so, the game application is added to the game space.
It should be noted that, before the processor 1201 searches whether a game application exists in the game application database established locally, the method further includes at least the following steps:
a game application database is established locally.
And acquiring the game applications with the download number exceeding a preset number threshold value.
And adding the acquired game application into a game application database.
It should be noted that, after adding the acquired game application to the game application database, the processor 1201 further includes at least the following steps:
judging whether the game applications with the download quantity exceeding a preset quantity threshold value are in a game application database every other preset time period;
if not, the game application is added to the game application database to update the game application database.
In this embodiment, after the processor 1201 adds the game application to the game space, the game application matching the game application stored in the game application database may be deleted, so as to update the game application database, thereby avoiding occupation of too much terminal memory due to too many game applications stored in the game application database.
It should be noted that, in order to avoid redundant description, all the examples in the first and second embodiments are not fully described in this embodiment, and it should be clear that all the examples in the first and second embodiments are applicable to this embodiment.
The present embodiment also provides a storage medium storing one or more programs, which are executable by one or more processors to implement the steps of the game space-based game application adding method as described above.
The terminal and the storage medium provided by this embodiment acquire the current state condition information of the game space when it is monitored that the game application is being installed, and then determine the adding strategy of the game application according to the acquired state condition information and the preset state condition information and the adding strategy relation table, and further add the game application to the game space based on the determined adding strategy, thereby solving the problem that the game application cannot be accurately added to the game space in the prior art, which results in low user experience. Therefore, compared with the prior art, the terminal provided by the embodiment avoids the phenomenon that the game application cannot be accurately added to the game space in the prior art, greatly improves the accuracy of adding the game application to the game space, reduces the interference to the user, and greatly improves the experience satisfaction of the user.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (9)

1. A game space-based game application adding method is characterized by comprising the following steps:
when the situation that the game application is installed is monitored, acquiring current state condition information of a game space;
determining an adding strategy of the game application according to the acquired state condition information and a preset state condition information and adding strategy relation table;
adding the game application into the game space based on the determined addition policy;
the acquiring of the current state condition information of the game space includes:
judging whether the game space is in a running state at present;
if not, acquiring the information that the game space is not in the running state currently;
taking the information that the game space is not in the running state currently as the current state condition information of the game space;
and/or the presence of a gas in the gas,
judging whether the game space is in a networking state at present;
if not, acquiring the information that the game space is not in the networking state currently;
and taking the information that the game space is not in the networking state currently as the current state condition information of the game space.
2. The game space-based game application addition method of claim 1, wherein the addition policy comprises:
when the information that the game space is not in the running state at present is obtained, whether the game application being installed is installed successfully is judged;
if so, using a cross-process calling function to pull up the game space so as to enable the game space to be in a running state;
adding the game application to the running game space.
3. The game space-based game application addition method according to claim 2, wherein the cross-process call function includes at least one of a service function and a contentProvider function.
4. The game space-based game application addition method of claim 1, wherein the addition policy comprises:
when the information that the game space is not in the networking state at present is obtained and the game application is installed successfully, searching whether the game application exists in a game application database established locally;
if so, adding the game application to the game space.
5. The game space-based game application adding method according to claim 4, wherein before the obtaining of the information that the game space is not currently in the networked state and the game application is successfully installed, searching a locally established game application database for whether the game application exists, the method further comprises:
establishing a game application database locally;
acquiring game applications with the download number exceeding a preset number threshold;
adding the acquired game application to the game application database.
6. The game space-based game application adding method according to claim 5, wherein after the game application acquired is added to the game application database, the method further comprises:
judging whether the game applications with the download quantity exceeding a preset quantity threshold value are in the game application database every other preset time period;
if not, adding the game application to the game application database to update the game application database.
7. The game space-based game application addition method of claim 5, wherein after adding the game application into the game space based on the determined addition policy, further comprising:
deleting the game application matched with the game application stored in the game application database so as to update the game application database.
8. A terminal, characterized in that the terminal comprises a processor, a memory and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more programs stored in the memory to implement the steps of the game space based game application adding method according to any one of claims 1 to 7.
9. A storage medium storing one or more programs, the one or more programs being executable by one or more processors to perform the steps of the game space based game application addition method of any of claims 1-7.
CN201811469540.9A 2018-11-28 2018-11-28 Game application adding method based on game space, terminal and storage medium Active CN109901882B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811469540.9A CN109901882B (en) 2018-11-28 2018-11-28 Game application adding method based on game space, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811469540.9A CN109901882B (en) 2018-11-28 2018-11-28 Game application adding method based on game space, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN109901882A CN109901882A (en) 2019-06-18
CN109901882B true CN109901882B (en) 2022-05-03

Family

ID=66943359

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811469540.9A Active CN109901882B (en) 2018-11-28 2018-11-28 Game application adding method based on game space, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109901882B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101263535A (en) * 2005-09-12 2008-09-10 Igt公司 Distributed game services
CN103309685A (en) * 2012-03-09 2013-09-18 腾讯科技(深圳)有限公司 Method and device for loading local application and network application on basis of open platform
CN103605450A (en) * 2013-11-27 2014-02-26 广东欧珀移动通信有限公司 Application icon display method and intelligent terminal
CN104216740A (en) * 2014-08-22 2014-12-17 北京金山安全软件有限公司 Application software management method and device and terminal
CN108874377A (en) * 2018-06-21 2018-11-23 深圳市腾讯网络信息技术有限公司 A kind of data processing method, device and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7496495B2 (en) * 2005-05-12 2009-02-24 Microsoft Corporation Virtual operating system device communication relying on memory access violations

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101263535A (en) * 2005-09-12 2008-09-10 Igt公司 Distributed game services
CN103309685A (en) * 2012-03-09 2013-09-18 腾讯科技(深圳)有限公司 Method and device for loading local application and network application on basis of open platform
CN103605450A (en) * 2013-11-27 2014-02-26 广东欧珀移动通信有限公司 Application icon display method and intelligent terminal
CN104216740A (en) * 2014-08-22 2014-12-17 北京金山安全软件有限公司 Application software management method and device and terminal
CN108874377A (en) * 2018-06-21 2018-11-23 深圳市腾讯网络信息技术有限公司 A kind of data processing method, device and storage medium

Also Published As

Publication number Publication date
CN109901882A (en) 2019-06-18

Similar Documents

Publication Publication Date Title
CN107329682B (en) Edge interaction method and mobile terminal
CN109587747B (en) SIM card switching control method, terminal and computer storage medium
CN109195143B (en) Network access method, mobile terminal and readable storage medium
CN108553896B (en) State information display control method, terminal and computer readable storage medium
CN107862217B (en) Position information acquisition method, mobile terminal and computer storage medium
CN107832032B (en) Screen locking display method and mobile terminal
CN107124466B (en) Method and device for preventing cache from penetrating and computer readable storage medium
CN109766119B (en) Recovery partition upgrade method, terminal and computer readable storage medium
CN109472157B (en) Application data storage method, mobile terminal and computer storage medium
CN107818022B (en) Application program interface merging method, mobile terminal and computer readable storage medium
CN110677897B (en) Network search control method, terminal and computer readable storage medium
CN109725819B (en) Interface display method and device, double-screen double-system terminal and readable storage medium
CN109254972B (en) Offline command word bank updating method, terminal and computer readable storage medium
CN107360211B (en) Information flow information offline method, related equipment and computer storage medium
CN112494932A (en) Game frame supplementing method and device, terminal and computer readable storage medium
CN110187934B (en) Application control method, terminal and computer readable storage medium
CN110191477B (en) Network search control method, terminal and computer readable storage medium
CN110083294B (en) Screen capturing method, terminal and computer readable storage medium
CN112076466A (en) Game data control method, mobile terminal and computer-readable storage medium
CN111970738A (en) Network switching control method, equipment and computer readable storage medium
CN109683796B (en) Interaction control method, equipment and computer readable storage medium
CN108845821B (en) Application program updating method, terminal and computer readable storage medium
CN109062688B (en) Memory allocation method, server and mobile terminal
CN107404568B (en) Control switch management method and mobile terminal
CN107193591B (en) Application quick starting method, mobile terminal and computer readable medium

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
GR01 Patent grant