A method, device and computer-readable storage medium for identifying program categories

By setting buried points in the terminal device, identifying the program interface call status of game programs and applications, and generating program interface differences corresponding to game attributes, the problem of limitations in the game mode activation method in the existing technology is solved, and real-time accurate identification and distinction between different categories of applications by terminal devices is realized.

CN113209627BActive Publication Date: 2025-06-03NUBIA TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110571491.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-25
Publication Date
2025-06-03
Estimated Expiration
2041-05-25

AI Technical Summary

Technical Problem

In the prior art, the mode of opening the game mode is relatively limited, which leads to a high operating burden on users and is prone to forget to turn it on. It automatically turns on the game list recognition and cannot be updated in real time, resulting in new games or other types of games not being able to automatically enter the game mode.

Method used

By selecting game programs and applications in the initial collection, and setting up buried points for each program to identify the program interface call status, loading game programs one by one to identify the program interfaces called jointly as candidate sets, and preloading applications one by one to identify the program interfaces called jointly as exclusion sets, obtaining the program interface difference set corresponding to game attributes, which is used to determine program categories.

Benefits of technology

It realizes that the terminal device can accurately distinguish different categories of applications adaptively and in real time, avoiding the unrecognition of new games and bringing users an experience effect that is consistent with the current usage needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113209627B_ABST
    Figure CN113209627B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device, and computer-readable storage medium for program category recognition. The method includes: loading all the game programs one by one, identifying the program interfaces that are commonly called among the first number of game programs as a candidate set, and preloading all the application programs one by one, identifying the program interfaces that are commonly called among the second number of application programs as an exclusion set; obtaining the difference set of the program interfaces corresponding to the game attributes according to the candidate set and the exclusion set; finally, when any subsequent program runs, if all the program interfaces in the difference set are called, it is determined that the running program is a game program. A technical solution for adaptively determining the game category is implemented, enabling the terminal device to distinguish different categories of application programs in real time and accurately, avoiding the inability to recognize new games, and bringing an experience effect that conforms to the current usage requirements to the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of mobile communications, and in particular, to a method, device, and computer-readable storage medium for identifying program categories. Background Art

[0002] In the prior art, with the continuous development of intelligent terminal devices, users' gaming demands for terminal devices are also getting higher and higher. In particular, terminal device manufacturers have started to launch corresponding gaming modes to maximize the user's gaming experience. However, the opening methods of gaming modes are relatively limited. Currently, they are generally manual opening and automatic opening. Manual opening will bring additional operation burdens to users and is prone to forgetting to open during the game, resulting in a poor experience. Automatic opening is carried out by identifying the game list. However, the setting of the list is relatively limited and cannot be updated in real time. If a new game or other types of games are entered, it may not be able to automatically enter the gaming mode due to failure to identify.

[0003] In summary, in the prior art, there is an urgent need for a technical solution that can adaptively determine the game category, so that the terminal device can distinguish different types of application programs in real time and accurately, and avoid bringing an experience effect that does not conform to the current usage requirements to users. Summary of the Invention

[0004] To solve the above technical deficiencies in the prior art, the present invention proposes a method for identifying program categories, which includes:

[0005] Select a first number of game programs and a second number of application programs from the initial collection, and set a data point for each program to identify the program interface call status.

[0006] Load all the game programs one by one, identify the program interfaces that are commonly called among the first number of game programs as the candidate set, and, preload all the application programs one by one, identify the program interfaces that are commonly called among the second number of application programs as the exclusion set.

[0007] According to the candidate set and the exclusion set, obtain the difference set of the program interfaces corresponding to the game attributes.

[0008] When any subsequent program runs, if all the program interfaces in the difference set are called, determine that the running program is a game program; if not all the program interfaces in the difference set are called, determine that the running program is an application program.

[0009] Optionally, the step of selecting a first number of game programs and a second number of application programs, and setting a data point for each program to identify the program interface call status includes:

[0010] In the initial collection, obtain the call frequencies and running states of each program category in the terminal device.

[0011] Determine the programs whose running states meet the preset conditions, and obtain the sorting of the call frequencies of these programs.

[0012] Optionally, when selecting the first number of game programs and the second number of application programs, and setting a data point for each program to identify the program interface call status, it further includes:

[0013] Divide the programs in the initial collection into the game programs or the application programs according to a preset label.

[0014] Obtain the first sorting of the game programs in descending order of the call frequency, and obtain the second sorting of the application programs in descending order of the call frequency.

[0015] Optionally, when selecting the first number of game programs and the second number of application programs, and setting a data point for each program to identify the program interface call status, it further includes:

[0016] Filter out the first number of game programs in the first sorting according to a preset frequency value, and filter out the second number of application programs in the second sorting according to the frequency value.

[0017] Set a data point for each program, and obtain the interface call status during program operation through the data point.

[0018] Optionally, when loading all the game programs one by one, identifying the program interfaces that are commonly called among the first number of game programs as the candidate set, and preloading all the application programs one by one, identifying the program interfaces that are commonly called among the second number of application programs as the exclusion set, it includes:

[0019] Load each game stage of all the game programs one by one, and identify the program interfaces that are called in each game stage among the first number of game programs as the candidate set.

[0020] Optionally, when loading all the game programs one by one, identifying the program interfaces that are commonly called among the first number of game programs as the candidate set, and preloading all the application programs one by one, identifying the program interfaces that are commonly called among the second number of application programs as the exclusion set, it includes:

[0021] Load each functional module of all the application programs one by one, and identify the program interfaces that are called in each functional module among the second number of application programs as the exclusion set.

[0022] Optionally, obtaining the difference set of the program interfaces corresponding to the game attributes according to the candidate set and the exclusion set includes:

[0023] Determine a first set of program interfaces in the candidate set and a second set of program interfaces in the exclusion set.

[0024] Remove the program interfaces included in any of the second set of program interfaces from the first set of program interfaces to obtain the difference set composed of the remaining program interfaces in the first set of program interfaces.

[0025] Optionally, when any subsequent program runs, if all the program interfaces in the difference set are called, determine that the running program is a game program; if not all the program interfaces in the difference set are called, determine that the running program is an application program, including:

[0026] Classify the program interfaces in the difference set according to the game stages.

[0027] When any subsequent program runs, if all the program interfaces under the classification of any game stage in the difference set are called, determine that the running program is a game program; if not all the program interfaces under the classification of any game stage in the difference set are called, determine that the running program is an application program.

[0028] The present invention also provides a program category recognition device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the computer program is executed by the processor, the steps of the program category recognition method described in any one of the above are implemented.

[0029] The present invention also provides a computer-readable storage medium, on which a program category recognition program is stored. When the program category recognition program is executed by a processor, the steps of the program category recognition method described in any one of the above are implemented.

[0030] Implementing the program category recognition method, device and computer-readable storage medium of the present invention, by selecting a first number of game programs and a second number of application programs from the initial collection, and setting a data point for each program to identify the program interface call status; then, loading all the game programs one by one, identifying the program interfaces that are commonly called among the first number of game programs as the candidate set, and preloading all the application programs one by one, identifying the program interfaces that are commonly called among the second number of application programs as the exclusion set; then, obtaining the difference set of the program interfaces corresponding to the game attributes according to the candidate set and the exclusion set; finally, when any subsequent program runs, if all the program interfaces in the difference set are called, it is determined that the running program is a game program, and if not all the program interfaces in the difference set are called, it is determined that the running program is an application program. A technical solution for adaptively determining the game category is realized, so that the terminal device can distinguish different categories of application programs in real time and accurately, avoid the inability to identify new games, and bring an experience effect that conforms to the current usage requirements to the user. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] The present invention will be further described below in conjunction with the drawings and embodiments. In the drawings:

[0032] Figure 1 is a schematic diagram of the hardware structure of a mobile terminal related to the present invention;

[0033] Figure 2 is an architecture diagram of a communication network system provided by an embodiment of the present invention;

[0034] Figure 3 is a flowchart of the first embodiment of the program category recognition method of the present invention;

[0035] Figure 4 is a flowchart of the second embodiment of the program category recognition method of the present invention;

[0036] Figure 5 is a flowchart of the third embodiment of the program category recognition method of the present invention;

[0037] Figure 6 is a flowchart of the fourth embodiment of the program category recognition method of the present invention;

[0038] Figure 7 is a flowchart of the fifth embodiment of the program category recognition method of the present invention;

[0039] Figure 8 is a flowchart of the sixth embodiment of the program category recognition method of the present invention;

[0040] Figure 9 is a flowchart of the seventh embodiment of the program category recognition method of the present invention;

[0041] Figure 10 It is a flowchart of the eighth embodiment of the program category recognition method of the present invention. Detailed implementation manners

[0042] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0043] In subsequent descriptions, suffixes such as "module", "component", or "unit" used to represent elements are only for the convenience of explaining the present invention and have no specific meaning in themselves. Therefore, "module", "component", or "unit" can be used interchangeably.

[0044] The terminal can be implemented in various forms. For example, the terminal described in the present invention may include mobile terminals such as mobile phones, tablet computers, laptop computers, palmtop computers, personal digital assistants (PDAs), portable media players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, etc., and fixed terminals such as digital TVs and desktop computers.

[0045] In the subsequent description, the mobile terminal will be used as an example for illustration. Those skilled in the art will understand that, except for elements specifically for mobile purposes, the structure according to the embodiments of the present invention can also be applied to fixed-type terminals.

[0046] Please refer to Figure 1 , which is a schematic hardware structure diagram of a mobile terminal for implementing various embodiments of the present invention. The mobile terminal 100 may include: an RF (Radio Frequency) unit 101, a WiFi module 102, an audio output unit 103, an A / V (audio / video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111, etc. Those skilled in the art can understand that Figure 1 the mobile terminal structure shown in does not constitute a limitation on the mobile terminal. The mobile terminal may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.

[0047] Next, in combination with Figure 1 each component of the mobile terminal will be specifically introduced:

[0048] The radio frequency unit 101 can be used for receiving and transmitting information or signals during a call. Specifically, after receiving the downlink information of the base station, it is sent to the processor 110 for processing. Additionally, it sends the uplink data to the base station. Generally, the 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, etc. In addition, the radio frequency unit 101 can also communicate with the network and other devices through wireless communication. The above wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), 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 Duplexing-Long Term Evolution), and TDD-LTE (Time Division Duplexing-Long Term Evolution), etc.

[0049] WiFi belongs to short-range wireless transmission technology. The mobile terminal can help users send and receive emails, browse the web, and access streaming media through the WiFi module 102. It provides users with wireless broadband Internet access. Although Figure 1 the WiFi module 102 is shown, it can be understood that it is not an essential component of the mobile terminal and can be omitted entirely within the scope of not changing the essence of the invention according to needs.

[0050] The audio output unit 103 can convert the 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 it 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, etc. Moreover, the audio output unit 103 can also provide an audio output related to the specific functions executed by the mobile terminal 100 (such as a call signal reception sound, a message reception sound, etc.). The audio output unit 103 can include a speaker, a buzzer, etc.

[0051] 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 GPU 1041 processes the image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capture mode or an image capture mode. The processed image frames can be displayed on the display unit 106. The image frames processed by the GPU 1041 can be stored in the memory 109 (or other storage media) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sounds (audio data) via the microphone 1042 in operation modes such as a phone call mode, a recording mode, a voice recognition mode, etc., and can process such sounds into audio data. The processed audio (voice) data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 101 in the case of the phone call mode and output. The microphone 1042 can implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) the noise or interference generated during the reception and transmission of audio signals.

[0052] The mobile terminal 100 further 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 and a proximity sensor. Among them, the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and / or the backlight when the mobile terminal 100 is moved to the ear. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when stationary, and can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as a pedometer, tapping), etc.; as for other sensors that the mobile phone can also be configured with, such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., they will not be elaborated here.

[0053] The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 can be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), etc.

[0054] The user input unit 107 can be used to receive input numeric or character information and generate key signal inputs related to the user settings and function control of the mobile terminal. Specifically, the user input unit 107 can include a touch panel 1071 and other input devices 1072. The touch panel 1071, also known as a touch screen, can collect touch operations of the user on or near it (such as operations of the user using a finger, a stylus, or any suitable object or accessory on or near the touch panel 1071), and drive corresponding connection devices according to a preset program. The touch panel 1071 can include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the touch position of the user and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the processor 110, and can receive and execute the commands sent by the processor 110. In addition, various types such as resistive, capacitive, infrared, and surface acoustic wave can be used to implement the touch panel 1071. In addition to the touch panel 1071, the user input unit 107 can also include other input devices 1072. Specifically, the other input devices 1072 can include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, power on / off keys, etc.), a trackball, a mouse, a joystick, etc., and specific details are not limited here.

[0055] Further, the touch panel 1071 can cover the display panel 1061. After the touch panel 1071 detects a touch operation on or near it, it transmits the operation to the processor 110 to determine the type of touch event. Subsequently, the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of touch event. Although in Figure 1 the touch panel 1071 and the display panel 1061 are implemented as two independent components to realize the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to realize the input and output functions of the mobile terminal, and specific details are not limited here.

[0056] The interface unit 108 serves as an interface through which at least one external device can be connected to the mobile terminal 100. For example, the external device can 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 with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, and so on. The interface unit 108 can be used to receive inputs from external devices (such as data information, power, etc.) and transmit the received inputs to one or more components within the mobile terminal 100 or can be used to transmit data between the mobile terminal 100 and external devices.

[0057] The memory 109 can be used to store software programs and various data. The memory 109 mainly includes a program storage area and a data storage area. Among them, the program storage area can store an operating system, application programs required for at least one function (such as a sound playback function, an image playback function, etc.); the data storage area can store data created according to the use of the mobile phone (such as audio data, phone book, etc.). In addition, 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, a flash memory device, or other volatile solid-state storage devices.

[0058] The processor 110 is the control center of the mobile terminal, connecting various parts of the entire mobile terminal through various interfaces and circuits. By running or executing software programs and / or modules stored in the memory 109, and calling data stored in the memory 109, it executes various functions of the mobile terminal and processes data, thereby monitoring the mobile terminal as a whole. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modulation / demodulation processor. Among them, the application processor mainly processes the operating system, user interface, and application programs, etc., and the modulation / demodulation processor mainly processes wireless communication. It can be understood that the above modulation / demodulation processor may not be integrated into the processor 110 either.

[0059] The mobile terminal 100 may also include a power supply 111 (such as a battery) for powering each component. Preferably, the power supply 111 can be logically connected to the processor 110 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system.

[0060] Although Figure 1 not shown, the mobile terminal 100 may also include a Bluetooth module, etc., which will not be elaborated here.

[0061] To facilitate the understanding of the embodiments of the present invention, the communication network system on which the mobile terminal of the present invention is based will be described below.

[0062] Please refer to Figure 2 , Figure 2 which is an architecture diagram of a communication network system provided by an embodiment of the present invention. This communication network system is an LTE system of the Universal Mobile Telecommunications Technology. This 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 operator's IP service 204 that are sequentially communicatively connected.

[0063] Specifically, the UE 201 may be the aforementioned terminal 100, which will not be elaborated here.

[0064] The E-UTRAN 202 includes an eNodeB 2021 and other eNodeBs 2022, etc. Among them, the eNodeB 2021 can be connected to other eNodeBs 2022 through a backhaul (such as the X2 interface), the eNodeB 2021 is connected to the EPC 203, and the eNodeB 2021 can provide access for the UE 201 to the EPC 203.

[0065] The EPC 203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving Gate Way) 2034, a PGW (PDN Gate Way) 2035, a PCRF (Policy and Charging Rules Function) 2036, etc. Among them, the MME 2031 is a control node that processes the signaling between the UE 201 and the EPC 203 and provides bearer and connection management. The HSS 2032 is used to provide some registers to manage functions such as a home location register (not shown in the figure) and stores some user-specific information such as service characteristics and data rates. All user data can be sent through the SGW 2034. The PGW 2035 can provide IP address allocation for the UE 201 and other functions. The PCRF 2036 is a policy and charging control policy decision point for service data flows and IP bearer resources, and it selects and provides available policy and charging control decisions for a policy and charging enforcement function unit (not shown in the figure).

[0066] The IP service 204 may include the Internet, an intranet, an IMS (IP Multimedia Subsystem), or other IP services, etc.

[0067] Although the above has been described by taking the LTE system as an example, those skilled in the art should be aware that the present invention is not only applicable to the LTE system, but also applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems, etc., which are not limited here.

[0068] Based on the above mobile terminal hardware structure and communication network system, various embodiments of the method of the present invention are proposed.

[0069] Embodiment 1

[0070] Figure 3 It is a flowchart of the first embodiment of the program category recognition method of the present invention. A program category recognition method, the method includes:

[0071] S1. Select the first number of game programs and the second number of application programs from the initial set, and set a data point for each program to identify the program interface call status.

[0072] S2. Load all the game programs one by one, identify the program interfaces that are jointly called among the first number of game programs as the candidate set, and, preload all the application programs one by one, identify the program interfaces that are jointly called among the second number of application programs as the exclusion set.

[0073] S3. Obtain the difference set of the program interfaces corresponding to the game attributes according to the candidate set and the exclusion set.

[0074] S4. When any subsequent program runs, if all the program interfaces in the difference set are called, determine that the running program is a game program, if not all the program interfaces in the difference set are called, determine that the running program is an application program.

[0075] Optionally, in this embodiment, the initial set can be a set of a terminal device within a certain historical usage period. For example, on a terminal device, it is a set of all programs run within the previous month; or, on multiple terminal devices of a user group, it is a set of all programs run on each device within a week, and the group can be young users, middle-aged users, and elderly users divided by age, so that the program recognition scheme of the present solution is more in line with age characteristics, that is, to solve the different definitions of games for different age groups.

[0076] Optionally, in this embodiment, select the first number of game programs and the second number of application programs from the initial set, and set a data point for each program to identify the program interface call status. Among them, as described above, from the set of all programs run within the previous month, select the first number of game programs and the second number of application programs, and the two numbers can be the same or different. At the same time, the selection method can be automatic selection plus manual adjustment, or directly selected by the user marking tags.

[0077] Optionally, in this embodiment, within the above-mentioned one month, when each program is started, the program interface call status can be obtained through the data point set for each program to identify the program interface call status.

[0078] Optionally, in this embodiment, all the game programs are loaded one by one, and the program interfaces that are commonly called among the first quantity of game programs are identified as a candidate set. Also, all the application programs are pre-loaded one by one, and the program interfaces that are commonly called among the second quantity of application programs are identified as an exclusion set. Among them, the call status of the program interfaces of each selected application program within a one-month time range is recorded, so as to identify the program interfaces that are commonly called among the already labeled and classified game programs as a candidate set, and identify the program interfaces that are commonly called among the already labeled and classified application programs as an exclusion set.

[0079] Optionally, in this embodiment, according to the candidate set and the exclusion set, the difference set of the program interfaces corresponding to the game attributes is obtained. Among them, the program interfaces in the already labeled and classified application programs are excluded from the already labeled and classified game programs, so that the union of the remaining program interfaces is used as the difference set of this embodiment.

[0080] Optionally, in this embodiment, when any subsequent program runs, if all the program interfaces in the difference set are called, it is determined that the running program is a game program; if not all the program interfaces in the difference set are called, it is determined that the running program is an application program. Thus, in the subsequent program recognition process, without relying on the above-mentioned artificially set labels, it is possible to determine whether the current program is a game program or an ordinary application program through the call status of the program interfaces in the difference set.

[0081] Optionally, in this embodiment, a mobile phone is taken as an example for illustration. First, considering that all the rendering work of current Android programs will ultimately call the underlying GLES (that is, OpenGL ES, OpenGL for Embedded Systems, which is a subset of the OpenGL 3D graphics API) library, therefore, this embodiment first inserts data points in the program interfaces (APIs, Application Programming Interfaces) in GLES. Then, the top 100 games and the top 100 ordinary applications on the market are simulated for loading and running. Specifically, these games are opened respectively, and the set of common program interfaces they call is identified as a candidate set through data point insertion; and the ordinary applications are opened respectively, and the set of common program interfaces they call is identified as an exclusion set through data point insertion. Then, the difference set is obtained from the candidate set and the exclusion set to obtain the set of program interfaces for identifying games. Finally, when any new game or ordinary application is opened, if it is found that all the program interfaces in the above set have been called in GLES, it is determined that the program is a game program; otherwise, it is an ordinary application program.

[0082] The beneficial effects of this embodiment are as follows: By selecting a first number of game programs and a second number of application programs from the initial collection, and setting a data point for each program to identify the program interface call status; then, loading all the game programs one by one, identifying the program interfaces that are commonly called among the first number of game programs as a candidate set, and, preloading all the application programs one by one, identifying the program interfaces that are commonly called among the second number of application programs as an exclusion set; then, obtaining the difference set of the program interfaces corresponding to the game attributes according to the candidate set and the exclusion set; finally, when any subsequent program runs, if all the program interfaces in the difference set are called, it is determined that the running program is a game program, and if not all the program interfaces in the difference set are called, it is determined that the running program is an application program. A technical solution for adaptively determining the game category is implemented, enabling the terminal device to distinguish different categories of application programs in real time and accurately, avoiding the inability to recognize new games, and bringing an experience effect that meets the current usage requirements to the user.

[0083] Embodiment 2

[0084] Figure 4 It is a flowchart of the second embodiment of the program category recognition method of the present invention. Based on the above embodiment, the selecting a first number of game programs and a second number of application programs, and setting a data point for each program to identify the program interface call status includes:

[0085] S11. In the initial collection, obtain the call frequency and running status of each program category in the terminal device.

[0086] S12. Determine the programs whose running status meets the preset conditions, and obtain the sorting of the call frequencies of these programs.

[0087] Optionally, in this embodiment, in the initial collection, obtain the call frequency and running status of each program category in the terminal device. Among them, in order to make the program recognition scheme of this embodiment more in line with the usage habits and operation habits of individual users, in the process of processing the initial collection in this embodiment, it is necessary to first obtain the call frequency and running status of each program category in the terminal device, that is, obtain the usage frequency and usage habits of these programs.

[0088] Optionally, in this embodiment, determine the programs whose running status meets the preset conditions, and obtain the sorting of the call frequencies of these programs. Among them, the above preset conditions may be that the running duration exceeds the preset duration, or the functions being run, the game stages being run reach the preset number of function types, or the preset number of stage levels, so as to meet the accuracy of obtaining the program interfaces.

[0089] The beneficial effect of this embodiment is that by obtaining the call frequencies and running states of various program categories in the terminal device in the initial collection; then, determining the programs whose running states meet the preset conditions, and obtaining the sorting of the call frequencies of the programs. It provides a sorting basis for implementing a technical solution for adaptively determining game categories, enabling the terminal device to distinguish different categories of application programs in real time and accurately, avoiding the inability to recognize new games, and bringing an experience effect that conforms to the current usage requirements to the user.

[0090] Embodiment III

[0091] Figure 5 It is a flowchart of the third embodiment of the program category recognition method of the present invention. Based on the above embodiment, selecting the first number of game programs and the second number of application programs, and setting a data point for each program to identify the call state of the program interface, further includes:

[0092] S13. Divide the programs in the initial collection into the game programs or the application programs according to a preset label.

[0093] S14. Obtain the first sorting of the game programs from high to low in terms of the call frequency, and obtain the second sorting of the application programs from high to low in terms of the call frequency.

[0094] Optionally, in this embodiment, divide the programs in the initial collection into the game programs or the application programs according to a preset label. Among them, in the set of all programs run by one or more users within the previous month, select the first number of game programs and the second number of application programs. The numbers of the two can be the same or different. At the same time, the selection method can be automatic selection plus manual adjustment, or directly selected by the user marking labels.

[0095] Optionally, in this embodiment, obtain the first sorting of the game programs from high to low in terms of the call frequency, and obtain the second sorting of the application programs from high to low in terms of the call frequency. Among them, in the above initial collection, obtain two preselected sortings respectively as the basis for subsequent program selection.

[0096] The beneficial effect of this embodiment is that by dividing the programs in the initial collection into the game programs or the application programs according to a preset label; then, obtaining the first sorting of the game programs from high to low in terms of the call frequency, and obtaining the second sorting of the application programs from high to low in terms of the call frequency. It provides a sorting and screening basis for implementing a technical solution for adaptively determining game categories, enabling the terminal device to distinguish different categories of application programs in real time and accurately, avoiding the inability to recognize new games, and bringing an experience effect that conforms to the current usage requirements to the user.

[0097] Example 4

[0098] Figure 6 It is a flowchart of the fourth embodiment of the program category recognition method of the present invention. Based on the above embodiments, the method of selecting the first quantity of game programs and the second quantity of application programs and setting a data point for identifying the program interface call status for each program further includes:

[0099] S15. Screen out the first quantity of game programs in the first ranking according to a preset frequency value, and screen out the second quantity of application programs in the second ranking according to the frequency value.

[0100] S16. Set a data point for each program, and obtain the interface call status during the program operation through the data point.

[0101] Optionally, in this embodiment, screen out the first quantity of game programs in the first ranking according to a preset frequency value, and screen out the second quantity of application programs in the second ranking according to the frequency value. Among them, the first quantity of game programs in the first ranking and the second quantity of application programs in the second ranking are selected according to the same frequency value. Thus, the obtained programs all have the same usage frequency and are used as the screening basis for the subsequent set.

[0102] Optionally, in this embodiment, set a data point for each program, and obtain the interface call status during the program operation through the data point. Specifically, it includes the call status of the program interface at each game stage and level of the program, and the call status of the program interface of each functional module of the program.

[0103] The beneficial effect of this embodiment is that by screening out the first quantity of game programs in the first ranking according to a preset frequency value, and screening out the second quantity of application programs in the second ranking according to the frequency value; then, setting a data point for each program and obtaining the interface call status during the program operation through the data point. It provides a way to obtain the program interface call status for a technical solution to adaptively determine the game category, so that the terminal device can distinguish different types of application programs in real time and accurately, avoid the inability to recognize new games, and bring an experience effect that meets the current usage requirements to users.

[0104] Example 5

[0105] Figure 7It is a flowchart of the fifth embodiment of the method for identifying program categories of the present invention. Based on the above embodiments, the steps of loading all the game programs one by one, identifying the program interfaces commonly called in the first number of game programs as the candidate set, and preloading all the application programs one by one, and identifying the program interfaces commonly called in the second number of application programs as the exclusion set, include:

[0106] S21. Load each game stage of all the game programs one by one.

[0107] S22. Identify the program interfaces called in each of the game stages in the first number of game programs as the candidate set.

[0108] Optionally, in this embodiment, each game stage of all the game programs is loaded one by one. Among them, considering that the stages such as character selection and equipment mall in the game program are not much different from the program interfaces called by ordinary application programs, therefore, in this embodiment, each game stage of all the game programs will be loaded one by one, so as to avoid misidentification and omission of subsequent program interfaces.

[0109] Optionally, in this embodiment, the program interfaces called in each of the game stages in the first number of game programs are identified as the candidate set, so as to ensure the integrity of the data.

[0110] The beneficial effect of this embodiment is that by loading each game stage of all the game programs one by one; then, identifying the program interfaces called in each of the game stages in the first number of game programs as the candidate set. It provides a complete way to obtain program interfaces for implementing a technical solution for adaptively determining the game category, so that the terminal device can distinguish different types of application programs in real time and accurately, avoid the inability to identify new games, and bring an experience effect that meets the current usage needs to the user.

[0111] Embodiment Six

[0112] Figure 8 It is a flowchart of the sixth embodiment of the method for identifying program categories of the present invention. Based on the above embodiments, the steps of loading all the game programs one by one, identifying the program interfaces commonly called in the first number of game programs as the candidate set, and preloading all the application programs one by one, and identifying the program interfaces commonly called in the second number of application programs as the exclusion set, include:

[0113] S23. Load each functional module of all the application programs one by one.

[0114] S24. Identify the program interfaces that have been called by each of the function modules in the second quantity of application programs as the exclusion set.

[0115] Optionally, in this embodiment, each function module of all the application programs is loaded one by one. Among them, considering that function modules such as the game red envelope grabbing function module and the mall treasure hunting function module in the application program are not much different from the program interfaces called by the game program, therefore, in this embodiment, each function module of all the application programs will be loaded one by one to avoid misidentification and omission of subsequent program interfaces.

[0116] Optionally, in this embodiment, identify the program interfaces that have been called by each of the function modules in the second quantity of application programs as the exclusion set, so as to ensure the integrity of the data.

[0117] The beneficial effect of this embodiment is that by loading each function module of all the application programs one by one; then, identify the program interfaces that have been called by each of the function modules in the second quantity of application programs as the exclusion set. It provides a complete way to obtain program interfaces for implementing a technical solution for adaptively determining the game category, so that the terminal device can distinguish different categories of application programs in real time and accurately, avoid the inability to identify new games, and bring an experience effect that meets the current usage needs to the user.

[0118] Embodiment Seven

[0119] Figure 9 It is a flowchart of the seventh embodiment of the program category recognition method of the present invention. Based on the above embodiment, obtaining the difference set of the program interfaces corresponding to the game attributes according to the candidate set and the exclusion set includes:

[0120] S31. Determine the first set of program interfaces in the candidate set and the second set of program interfaces in the exclusion set.

[0121] S32. Remove the program interfaces included in any of the second set of program interfaces from the first set of program interfaces to obtain the difference set composed of the remaining program interfaces in the first set of program interfaces.

[0122] Optionally, in this embodiment, when determining the first set of program interfaces in the candidate set and the second set of program interfaces in the exclusion set, it can be seen that the first set of program interfaces includes program interfaces in stages such as character selection and equipment mall that do not have game characteristics, and the second set of program interfaces includes program interfaces of game red envelope grabbing function modules and mall treasure hunting function modules that do not have ordinary application characteristics.

[0123] Optionally, in this embodiment, any program interface included in the second set of program interfaces is removed from the first set of program interfaces to obtain the difference set composed of the remaining program interfaces in the first set of program interfaces. Since program interfaces in stages such as character selection and equipment mall that do not have game features may exist in the above-mentioned second set of program interfaces, therefore, the screening method in this embodiment can remove any program interface included in the second set of program interfaces from the first set of program interfaces. In this process, program interfaces in stages such as character selection and equipment mall that do not have game features are also removed synchronously.

[0124] The beneficial effect of this embodiment is that by determining the first set of program interfaces in the candidate set and the second set of program interfaces in the exclusion set; then, removing any program interface included in the second set of program interfaces from the first set of program interfaces to obtain the difference set composed of the remaining program interfaces in the first set of program interfaces. It provides a complete method for generating the difference set of program interfaces for a technical solution to adaptively determine the game category, so that the terminal device can distinguish different types of application programs in real time and accurately, avoid the inability to recognize new games, and bring an experience effect that conforms to the current usage requirements to the user.

[0125] Embodiment Eight

[0126] Figure 10 It is a flowchart of the eighth embodiment of the program category recognition method of the present invention. Based on the above embodiment, when any subsequent program runs, if all the program interfaces in the difference set are called, it is determined that the running program is a game program; if not all the program interfaces in the difference set are called, it is determined that the running program is an application program, including:

[0127] S41. Classify the program interfaces in the difference set according to the game stages.

[0128] S42. When any subsequent program runs, if all the program interfaces under the classification of any game stage in the difference set are called, it is determined that the running program is a game program; if not all the program interfaces under the classification of any game stage in the difference set are called, it is determined that the running program is an application program.

[0129] Optionally, in this embodiment, as described in the above example, since any of the program interfaces included in the second set of program interfaces is removed from the first set of program interfaces, during this process, the program interfaces in stages such as character selection and equipment mall that do not have game features are also removed synchronously. Therefore, in this embodiment, when any subsequent program runs, if all the program interfaces under the classification of any game stage in the difference set are called, it can be accurately determined that the running program is a game program; if all the program interfaces under the classification of any game stage in the difference set are not called, it can be accurately determined that the running program is an application program.

[0130] Optionally, in this embodiment, it is divided according to game stages, so that when entering the game process stage, it can still be accurately and timely recognized to facilitate entering the game mode. And when entering the character purchase and selection stage in the early stage of the game, even if it cannot be recognized and the game mode cannot be entered, it will not have a great impact on the user experience.

[0131] The beneficial effect of this embodiment is that by classifying the program interfaces according to the game stages in the set difference; then, when any subsequent program runs, if all the program interfaces under the classification of any game stage in the difference set are called, it is determined that the running program is a game program, and if all the program interfaces under the classification of any game stage in the difference set are not called, it is determined that the running program is an application program. It provides a timely and accurate program determination mechanism for implementing a technical solution for adaptively determining game categories, so that the terminal device can distinguish different types of application programs in real time and accurately, avoiding the inability to recognize new games, and bringing an experience effect that meets the current usage requirements to the user.

[0132] Embodiment Nine

[0133] Based on the above embodiments, the present invention also proposes a program category recognition device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the computer program is executed by the processor, the steps of the program category recognition method described in any one of the above are implemented.

[0134] It should be noted that the above device embodiment and method embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment, and the technical features in the method embodiment are all correspondingly applicable in the device embodiment, which will not be elaborated here.

[0135] Embodiment Ten

[0136] Based on the above embodiments, the present invention further provides a computer-readable storage medium, on which a program category recognition program is stored. When the program category recognition program is executed by a processor, the steps of the program category recognition method described in any one of the above are implemented.

[0137] It should be noted that the above medium embodiment and the method embodiment belong to the same concept. For the specific implementation process, please refer to the method embodiment in detail, and the technical features in the method embodiment are equally applicable to the medium embodiment, which will not be elaborated here.

[0138] It should be noted that in this article, the term "including", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of another identical element in the process, method, article or device including the element.

[0139] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0140] Through the description of the above embodiments, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases, the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions for causing a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in various embodiments of the present invention.

[0141] The embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Under the inspiration of the present invention, those of ordinary skill in the art can also make many forms without departing from the purpose and scope protected by the claims of the present invention, and all of these are within the protection scope of the present invention.

Claims

1. A method for identifying program categories, characterized in that, the method includes: Select a first number of game programs and a second number of application programs from the initial collection, and set a data point for each program to identify the program interface call status; Load all the game programs one by one, identify the program interfaces that are commonly called among the first number of game programs as the candidate set, and load all the application programs one by one, identify the program interfaces that are commonly called among the second number of application programs as the exclusion set; According to the candidate set and the exclusion set, obtain the difference set of the program interfaces corresponding to the game attributes; When any subsequent program runs, if all the program interfaces in the difference set are called, determine that the running program is a game program, and if not all the program interfaces in the difference set are called, determine that the running program is an application program; The step of obtaining the difference set of the program interfaces corresponding to the game attributes according to the candidate set and the exclusion set includes: Determine the first set of program interfaces in the candidate set and the second set of program interfaces in the exclusion set; Remove the program interfaces included in any of the second set of program interfaces from the first set of program interfaces to obtain the difference set composed of the remaining program interfaces in the first set of program interfaces.

2. The program category identification method according to claim 1, characterized in that, the step of selecting a first number of game programs and a second number of application programs and setting a data point for each program to identify the program interface call status includes: In the initial collection, obtain the call frequency and running status of each program category in the terminal device; Determine the programs whose running status meets the preset conditions, and obtain the sorting of the call frequencies of these programs.

3. The program category identification method according to claim 2, characterized in that, the step of selecting a first number of game programs and a second number of application programs and setting a data point for each program to identify the program interface call status further includes: Divide the programs in the initial collection into the game programs or the application programs according to a preset label; Obtain the first sorting of the game programs in descending order of the call frequency, and obtain the second sorting of the application programs in descending order of the call frequency.

4. The program category identification method according to claim 3, characterized in that, the step of selecting a first number of game programs and a second number of application programs and setting a data point for each program to identify the program interface call status further includes: Select a first number of game programs from the first sorting according to a preset frequency value, and select a second number of application programs from the second sorting according to the frequency value; Set a data point for each program, and obtain the interface call status during program operation through the data point.

5. The program category identification method according to claim 4, characterized in that, Loading all of the game programs one by one, identifying the program interfaces that are commonly called among the first quantity of game programs as a candidate set, and, loading all of the application programs one by one, identifying the program interfaces that are commonly called among the second quantity of application programs as an exclusion set, includes: Loading each game stage of all of the game programs one by one; Identifying the program interfaces that are called in each of the game stages among the first quantity of game programs as the candidate set.

6. The program category identification method according to claim 5, wherein, Loading all of the game programs one by one, identifying the program interfaces that are commonly called among the first quantity of game programs as a candidate set, and, loading all of the application programs one by one, identifying the program interfaces that are commonly called among the second quantity of application programs as an exclusion set, includes: Loading each functional module of all of the application programs one by one; Identifying the program interfaces that are called in each of the functional modules among the second quantity of application programs as the exclusion set.

7. The program category identification method according to claim 6, wherein, When any subsequent program runs, if all of the program interfaces in the difference set are called, determining that the running program is a game program, if not all of the program interfaces in the difference set are called, determining that the running program is an application program, includes: Classifying the program interfaces in the difference set according to the game stages; When any subsequent program runs, if all of the program interfaces in the classification of any of the game stages in the difference set are called, determining that the running program is a game program, if not all of the program interfaces in the classification of any of the game stages in the difference set are called, determining that the running program is an application program.

8. A program category identification device, wherein, The device includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the computer program is executed by the processor, the steps of the program category identification method according to any one of claims 1 to 7 are implemented.

9. A computer-readable storage medium, wherein, A program category identification program is stored on the computer-readable storage medium, and when the program category identification program is executed by a processor, the steps of the program category identification method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Method and equipment of application management and computer readable memory medium

    CN107219972A

  • Game list management method, mobile terminal and computer readable storage medium

    CN110286959A