A game time model control method, device and computer readable storage medium
By extracting and segmenting digital samples from the game interface to generate a model for recognizing game moments, the high cost caused by manually creating samples in existing technologies is solved, achieving efficient and low-cost recording of game moments and improving the user experience.
Patent Information
- Application Number
- CN202111544000.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-16
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2041-12-16
AI Technical Summary
Current gaming terminals require manual sample creation when recording exciting game moments, resulting in a large workload, high costs, and the need for readjustment to adapt to different models and Android versions, leading to low efficiency.
By dividing the game interface into digital regions, extracting foreground images, performing contour extraction and digital segmentation, generating digital samples, clustering them, and training a model to identify game moments, the manual intervention is reduced.
It achieves low-cost, high-efficiency recording of game moments, reduces manual intervention, and improves the user experience.
Smart Images

Figure CN114225390B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of mobile communication, and in particular to a game moment model control method, device and computer readable storage medium. BACKGROUND
[0002] In the prior art, with the continuous development of intelligent terminal devices, the game experience demand of users is also getting higher and higher. At present, there are many game terminals on the market that have automatic recording and generation functions for game highlights such as red devil moment. However, many digital recognitions are used in this red devil moment development scheme, and digital recognition will use a digital model. At present, the digital model needs to be manually made and marked, which is a large amount of work, and the red devil moment needs to be re-adapted in many models, Android version upgrades and other scenarios, which is very costly in terms of manpower and time.
[0003] Therefore, there is an urgent need for a game moment generation scheme that can improve research and development efficiency, reduce adaptation cost, and provide game users with more and better game highlight experience. SUMMARY
[0004] In order to solve the above technical defects in the prior art, the present application provides a game moment model control method, which comprises:
[0005] In the current game interface, a selected area meeting a preset digital area condition is divided, and a foreground image of the selected area is extracted with the color of the number in the selected area as the standard color.
[0006] In the continuous game process, the foreground image containing the number is subjected to contour extraction and number cutting in real time to obtain a single number sample.
[0007] The single number sample is clustered to generate a plurality of categories, and the plurality of categories are marked as corresponding numbers.
[0008] The numbers corresponding to the marked plurality of categories and the clustering results of the plurality of categories are marked on the foreground image, and a model for recognizing game moments is trained according to the marking file of the numbers marked on the foreground image and the number sample.
[0009] Optionally, the method for dividing a selected area meeting a preset digital area condition in the current game interface and extracting a foreground image of the selected area with the color of the number in the selected area as the standard color comprises:
[0010] According to the game information of the current game, a target interface corresponding to the game is determined.
[0011] Obtaining a statistical region for recording game real-time data in the target interface.
[0012] Optionally, the dividing the selected region meeting the preset digital region condition in the current game interface and extracting the foreground image of the selected region with the color of the number of the selected region as the standard color further comprises:
[0013] Determining game progress data related to the game progress in the statistical region.
[0014] Taking the region where the game progress data is located as the preset digital region condition.
[0015] Optionally, the dividing the selected region meeting the preset digital region condition in the current game interface and extracting the foreground image of the selected region with the color of the number of the selected region as the standard color further comprises:
[0016] Obtaining an identification color of a current game subject in the game interface.
[0017] Obtaining the color of the number of the selected region corresponding to the identification color as the standard color.
[0018] Optionally, the training the model for identifying the game moment according to the marking file of the number of the foreground image and the number sample further comprises:
[0019] Monitoring the game progress data by the model.
[0020] Determining whether any data in the game progress data meets a preset game moment condition.
[0021] Optionally, the training the model for identifying the game moment according to the marking file of the number of the foreground image and the number sample further comprises:
[0022] If any of the data meets the game moment condition, starting screen recording.
[0023] Recording the content of the game interface corresponding to the data as the game moment.
[0024] Optionally, the training the model for identifying the game moment according to the marking file of the number of the foreground image and the number sample further comprises:
[0025] If the duration of the screen recording reaches a preset game moment duration, or the data no longer meets the game moment condition, stopping the screen recording.
[0026] save the game moment of the recorded section.
[0027] Optionally, the model for identifying the game moment is trained according to the marked file of the numbers marked in the foreground image and the digital samples.
[0028] At the end of the game, the game moments of each section are classified and combined according to the type of the data.
[0029] All the classified and combined game moments are fused into the game moment of the current game.
[0030] The application further provides a game moment model control device, which comprises a memory, a processor and a computer program stored in the memory and executable on the processor, and the computer program implements the steps of the game moment model control method according to any one of the above when executed by the processor.
[0031] The application further provides a computer readable storage medium, which stores a game moment model control program, and the game moment model control program implements the steps of the game moment model control method according to any one of the above when executed by a processor.
[0032] The game moment model control method, device and computer readable storage medium of the application are implemented by dividing a selected region meeting a preset digital region condition in a current game interface, extracting a foreground image of the selected region by taking the color of the number in the selected region as a standard color, performing contour extraction and number cutting on the foreground image containing numbers in a continuous game process to obtain single digital samples, clustering the single digital samples to generate multiple categories and marking the multiple categories as corresponding numbers, marking the corresponding numbers of the foreground image according to the marked multiple categories and the clustering results of the multiple categories, and training a model for identifying the game moment according to a marked file of the numbers marked in the foreground image and the digital samples. A humanized game moment model control scheme is implemented, the adaptation cost of the game moment is saved, the degree of manual intervention in the production of the game moment is reduced, and the user's game moment use experience is greatly enhanced. BRIEF DESCRIPTION OF DRAWINGS
[0033] The application will be further described below with reference to the drawings and embodiments, wherein:
[0034] Figure 1 is a hardware structure schematic diagram of a mobile terminal related to the application;
[0035] Figure 2 is a communication network system architecture diagram provided by an embodiment of the application;
[0036] Figure 3 is a flowchart of a first embodiment of a game time model control method according to the present invention;
[0037] Figure 4 is a flowchart of a second embodiment of a game time model control method according to the present invention;
[0038] Figure 5 is a flowchart of a third embodiment of a game time model control method according to the present invention;
[0039] Figure 6 is a flowchart of a fourth embodiment of a game time model control method according to the present invention;
[0040] Figure 7 is a flowchart of a fifth embodiment of a game time model control method according to the present invention;
[0041] Figure 8 is a flowchart of a sixth embodiment of a game time model control method according to the present invention;
[0042] Figure 9 is a flowchart of a seventh embodiment of a game time model control method according to the present invention;
[0043] Figure 10 is a flowchart of an eighth embodiment of a game time model control method according to the present invention;
[0044] Figure 11 is a game interface diagram of a first embodiment of a game time model control method according to the present invention. DETAILED DESCRIPTION
[0045] It should be understood that the specific embodiments described herein merely exemplify the application and should not be used to limit the application.
[0046] In the following description, the suffixes used for an element such as "module", "part", or "unit" are merely intended for ease of understanding of the specification, and do not have specific meanings or roles. Therefore, "module", "part", or "unit" can be mixedly used.
[0047] A terminal can be implemented in various forms. For example, the terminal described in the present invention can include a mobile terminal such as a mobile phone, a tablet, 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 stationary terminal such as a digital TV, a desktop computer, and the like.
[0048] The following description will use a mobile terminal as an example. Those skilled in the art will understand that, apart from elements specifically designed for mobile purposes, the construction according to embodiments of the present invention can also be applied to fixed-type terminals.
[0049] Please see Figure 1 This is a schematic diagram of the hardware structure of a mobile terminal 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 will understand that... Figure 1 The mobile terminal structure shown does not constitute a limitation on the mobile terminal. The mobile terminal may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0050] The following is combined Figure 1 A detailed introduction to each component of the mobile terminal:
[0051] The radio frequency unit 101 can be used for receiving and transmitting signals in information or communication processes. Specifically, the radio frequency unit 101 receives downlink information from a base station and provides the received information to the processor 110 for processing. In addition, the radio frequency unit 101 transmits 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 communicate with a network and other devices through wireless communication. The wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System for 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), TDD-LTE (Time Division Duplexing-Long Term Evolution), etc.
[0052] The WiFi belongs to a short-range wireless transmission technology. The WiFi module 102 can help a user to send and receive e-mails, browse web pages, and access streaming media, etc. The WiFi module 102 provides the user with wireless broadband Internet access. Although Figure 1 The WiFi module 102 is shown, but it is understood that it does not belong to the necessary components of the mobile terminal, and can be omitted as needed without changing the essence of the application.
[0053] The audio output unit 103 can convert audio data, which is received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109, into an audio signal and output the audio signal 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. In addition, the audio output unit 103 can provide audio output related to a particular function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 can include a speaker, a buzzer, etc.
[0054] The A / V input unit 104 is configured to receive audio or video signals. The A / V input unit 104 can include a graphics processor (GPU) 1041 and a microphone 1042. The graphics processor 1041 processes image data of a still picture or a video obtained by an image capture device (e.g., a camera) in a video call mode or an image call mode. Processed image frames can be displayed on the display unit 106. Processed image frames can 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 can receive sound (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process such sound into audio data. Processed audio (voice) data can be converted into a format transmittable to a mobile communication base station via the radio frequency unit 101 in the case of the phone call mode. The microphone 1042 can implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the process of receiving and transmitting audio signals.
[0055] 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 and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of 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 one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when at rest, and can be used for applications that recognize the posture of the mobile phone (such as switching between landscape and portrait screens, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometers, taps), and the like. As for the fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, infrared sensor, and other sensors that can be configured to the mobile phone, they are not described here.
[0056] The display unit 106 is configured to display information input by a user or information provided to the user. The display unit 106 can include a display panel 1061, which can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0057] The user input unit 107 can be used to receive input numerals or character information, and to generate key signal inputs related to user settings of the mobile terminal and control of functions. Specifically, the user input unit 107 can include a touch panel 1071 and other input devices 1072. The touch panel 1071, also called a touch screen, can collect a touch operation of a user on or proximate thereto (such as an operation of the user using a finger, a stylus, or any suitable object or accessory on or proximate to the touch panel 1071), and drive a corresponding connection device according to a pre-set program. The touch panel 1071 can include two parts, a touch detecting device and a touch controller. The touch detecting device detects a user's touch position and detects a signal resulting from a touch operation, and transmits the signal to the touch controller. The touch controller receives touch information from the touch detecting device, converts it into touch coordinates, and transmits the touch coordinates to the processor 110, and can receive commands from the processor 110 and execute them. In addition, the touch panel 1071 can be implemented in various types such as a resistive type, a capacitive type, an infrared type, and a surface acoustic wave type. In addition to the touch panel 1071, the user input unit 107 can include other input devices 1072. Specifically, the other input devices 1072 can include one or more of, but are not limited to, a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a mouse, a joystick, etc.
[0058] Further, the touch panel 1071 can cover the display panel 1061, and when the touch panel 1071 detects a touch operation on or proximate thereto, it transmits the same 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 in the above description, the touch panel 1071 and the display panel 1061 are implemented as two separate components to achieve 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 achieve the input and output functions of the mobile terminal, without being limited thereto. Figure 1
[0059] The interface unit 108 serves as an interface through which at least one external device can be connected with the mobile terminal 100. For example, the external device can include a wired or wireless headset port, an external power (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, etc. The interface unit 108 can be used to receive input (e.g., data information, power, etc.) from an external device and to transmit the received input to one or more elements within the mobile terminal 100, or can be used to transmit data between the mobile terminal 100 and the external device.
[0060] The memory 109 can be used to store software programs and various data. The memory 109 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; and the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), and the like. In addition, the memory 109 can include a high-speed random access memory, and can also include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state memory device.
[0061] The processor 110 is the control center of the mobile terminal, connects all parts of the mobile terminal through various interfaces and lines, executes various functions of the mobile terminal and processes data by running or executing software programs and / or modules stored in the memory 109 and calling data stored in the memory 109, and thus performs overall monitoring on the mobile terminal. The processor 110 can include one or more processing units; preferably, the processor 110 can integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the like, and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 110.
[0062] The mobile terminal 100 can also include a power supply 111 (such as a battery) for supplying power to various components; preferably, the power supply 111 can be logically connected to the processor 110 through a power management system, so as to realize the functions of managing charging, discharging, and power consumption management, and the like through the power management system.
[0063] Although Figure 1 The mobile terminal 100 can also include a Bluetooth module and the like, which are not described herein again.
[0064] In order to facilitate the understanding of the embodiments of the present application, the communication network system based on the mobile terminal of the present application is described below.
[0065] Please refer to Figure 2 , Figure 2 A communication network system architecture diagram provided by the embodiments of the present application, the communication network system is a LTE system of general mobile communication technology, 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 operator's IP service 204 which are sequentially connected in communication.
[0066] Specifically, the UE 201 can be the terminal 100 described above, which will not be repeated here.
[0067] The E-UTRAN 202 includes eNode-Bs 2021 and other eNode-Bs 2022. The eNode-B 2021 can be connected to the other eNode-Bs 2022 through backhaul (e.g., X2 interface), the eNode-B 2021 is connected to the EPC 203, and the eNode-B 2021 can provide access for the UE 201 to the EPC 203.
[0068] The EPC 203 can include a MME (Mobility Management Entity, mobility management entity) 2031, a HSS (Home Subscriber Server, home subscriber server) 2032, other MMEs 2033, a SGW (Serving Gate Way, serving gateway) 2034, a PGW (PDN Gate Way, packet data network gateway) 2035, and a PCRF (Policy and Charging Rules Function, policy and charging rules function) 2036. The MME 2031 is a control node for processing 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 to save some user-specific information about service features, data rates, etc. All user data can be transmitted through the SGW 2034, the PGW 2035 can provide IP address allocation and other functions for the UE 201, and the PCRF 2036 is a policy and charging control policy decision point for service data flow and IP bearer resources, which selects and provides available policy and charging control decisions for policy and charging enforcement function units (not shown in the figure).
[0069] The IP service 204 can include the Internet, an intranet, an IMS (IP Multimedia Subsystem, IP multimedia subsystem), or other IP services.
[0070] Although the above describes the LTE system as an example, those skilled in the art should know that the present application 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.
[0071] Based on the above mobile terminal hardware structure and communication network system, various embodiments of the method of the present application are proposed.
[0072] Embodiment One
[0073] Figure 3 is a flowchart of the first embodiment of the game time model control method of the present application. A game time model control method, the method comprising:
[0074] S1, in the current game interface, divide the selected area meeting the preset digital area condition, and take the color of the number of the selected area as the standard color, and extract the foreground image of the selected area.
[0075] S2, in the continuous game process, the foreground image containing the number is extracted and cut in real time to obtain a single number sample.
[0076] S3, the single number sample is clustered to generate multiple categories, and the multiple categories are marked as corresponding numbers.
[0077] S4, according to the marked multiple categories corresponding to the number and the clustering result of the multiple categories, mark the number corresponding to the foreground image, and according to the mark file of the number marked in the foreground image and the number sample, train a model for identifying game time.
[0078] In this embodiment, please refer to Figure 11 The game interface diagram is shown in the figure, in which the kill, assist and death counting area is taken as the selected area of the present embodiment. Taking 1, 1 and 0 as an example, first, the digital area is selected according to the coordinates, for example, the coordinates and width and height of the digital area are determined as the selected area; then, the specific color numbers: 1, 1 and 0 are extracted.
[0079] In this embodiment, as described in the above example, in the subsequent multiple games, the text background version is automatically cut.
[0080] In this embodiment, the single number: 1, 1 and 0 is cut, and the single number sample is classified into 0-9:
[0081] 0 1 2 3 4 5 6 7 8 9
[0082] In this embodiment, the single number sample is clustered to generate multiple categories:
[0083] 0 0,0,0,0,0,0,0,0,0,0... 1 1,1,1,1,1,1,1,1,1,1... 2 2,2,2,2,2,2,2,2,2,2... 3 3,3,3,3,3,3,3,3,3,3... 4 4,4,4,4,4,4,4,4,4,4... 5 5,5,5,5,5,5,5,5,5,5... 6 6,6,6,6,6,6,6,6,6,6... 7 7,7,7,7,7,7,7,7,7,7... 8 8,8,8,8,8,8,8,8,8,8... 9 9,9,9,9,9,9,9,9,9,9...
[0084] In this embodiment, the multiple categories are marked as corresponding numbers:
[0085] 0-1,0-2,0-3,0-4,0-5,0-6,0-7,0-8,0-9... 1-1,1-2,1-3,1-4,1-5,1-6,1-7,1-8,1-9... 2-1,2-2,2-3,2-4,2-5,2-6,2-7,2-8,2-9... 3-1,3-2,3-3,3-4,3-5,3-6,3-7,3-8,3-9... 4-1,4-2,4-3,4-4,4-5,4-6,4-7,4-8,4-9... 5-1,5-2,5-3,5-4,5-5,5-6,5-7,5-8,5-9... 6-1,6-2,6-3,6-4,6-5,6-6,6-7,6-8,6-9... 7-1,7-2,7-3,7-4,7-5,7-6,7-7,7-8,7-9... 8-1,8-2,8-3,8-4,8-5,8-6,8-7,8-8,8-9... 9-1,9-2,9-3,9-4,9-5,9-6,9-7,9-8,9-9...
[0086] In the embodiment, the number corresponding to the foreground image is marked according to the numbers corresponding to the marked plurality of categories and the clustering results of the plurality of categories, and a model for identifying the game moment is trained according to the mark file of the marked number of the foreground image and the number sample:
[0087]
[0088] In the embodiment, after the above-mentioned number model is obtained, the picture mark (0, 0-1.png 0, 0-2.png... 9, 9-1.png 9, 9-2.png...) can be recorded into the database. Further, the model of the embodiment is dynamically generated, only a little manual intervention is needed, and only a few games of the user are needed to train and generate, that is, it can be used for text recognition of highlight collections. Similarly, it can also be applied to other game scenes related to numbers.
[0089] Optionally, in the embodiment, the game start is determined by the above-mentioned model. For example, the red devil moment starts in the state, and the king glory recognizes "gold coins". Through the corresponding activity process recognition, as long as the related activity process is in the foreground, it is determined that the game starts.
[0090] Optionally, in the embodiment, the game end is determined by the above-mentioned model. For example, the features of the game end interface are extracted through screenshot, and then the game end is determined.
[0091] Optionally, in the embodiment, the above-mentioned model is used to control the screen recording. For example, the screen recording is performed for each game, and then 5-8 seconds of highlight moments are cut out from the screen recording file according to the time point, and finally the video is synthesized. If the game activity process is not in the foreground, the recording is stopped.
[0092] Optionally, in the embodiment, the above-mentioned model is used to control the screenshot. For example, the interface is screenshot every 2 seconds, and then the time point is selected by determining the text message (such as killing, death, etc.) by AI artificial intelligence. If the game activity process is not in the foreground, the screenshot is stopped, and after waiting for 2 minutes, the whole highlight moment function is stopped, and the video is synthesized.
[0093] As can be seen, in the embodiment, the above-mentioned model is an automatically generated number model, which only needs a little manual intervention to generate the number model, greatly improves the adaptation efficiency of the red devil moment, saves the cost, and at the same time, the model recognition accuracy can be improved by increasing the sample size. Therefore, the embodiment has the technical effect of low cost and easy application to products, which greatly enhances the user's game moment recording experience.
[0094] The beneficial effect of the embodiment is that, by dividing the selected region meeting the preset digital region condition in the current game interface, and taking the color of the number in the selected region as the standard color, the foreground image of the selected region is extracted; in the continuous game process, the contour extraction and number cutting of the foreground image containing the number are performed in real time to obtain single number samples; the single number samples are clustered to generate multiple categories, and the multiple categories are marked as corresponding numbers; the numbers corresponding to the foreground image are marked according to the marked multiple categories corresponding to the numbers and the clustering results of the multiple categories, and the model for identifying the game time is obtained according to the marking file of the numbers marked in the foreground image and the number samples. A humanized game time model control scheme is realized, the game time adaptation cost is saved, the degree of manual intervention in game time production is reduced, and the user's game time use experience is greatly enhanced.
[0095] Embodiment two
[0096] Figure 4 is a flowchart of the second embodiment of the game time model control method of the application, based on the above embodiment, the division of the selected region meeting the preset digital region condition in the current game interface, and the extraction of the foreground image of the selected region taking the color of the number in the selected region as the standard color, comprises:
[0097] S11, determining a target interface corresponding to the game according to game information of the current game.
[0098] S12, obtaining a statistical region for recording real-time game data in the target interface.
[0099] Optionally, in the embodiment, the game information includes type information and related function information of the game, so as to determine whether the counting is a timing region of a competition type or a kill region of a battle type.
[0100] The beneficial effect of the embodiment is that, by determining a target interface corresponding to the game according to game information of the current game, and obtaining a statistical region for recording real-time game data in the target interface, a humanized game time model control scheme is realized, the game time adaptation cost is saved, the degree of manual intervention in game time production is reduced, and the user's game time use experience is greatly enhanced.
[0101] Embodiment three
[0102] Figure 5is a flow chart of a third embodiment of the game time model control method of the present application, based on the above embodiment, the selected region meeting the preset digital region condition is divided in the current game interface, and the color of the number of the selected region is taken as the standard color to extract the foreground image of the selected region, and the embodiment further comprises:
[0103] S13, determining game progress data related to the game progress in the statistical region.
[0104] S14, taking the region where the game progress data is located as the preset digital region condition.
[0105] The embodiment has the beneficial effect of determining the game progress data related to the game progress in the statistical region, and taking the region where the game progress data is located as the preset digital region condition. A humanized game time model control scheme is realized, the adaptation cost of the game time is saved, the degree of manual intervention in the production of the game time is reduced, and the user's game time use experience is greatly enhanced.
[0106] Embodiment four
[0107] Figure 6 is a flow chart of a fourth embodiment of the game time model control method of the present application, based on the above embodiment, the selected region meeting the preset digital region condition is divided in the current game interface, and the color of the number of the selected region is taken as the standard color to extract the foreground image of the selected region, and the embodiment further comprises:
[0108] S15, obtaining the identification color of the current game subject in the game interface.
[0109] S16, obtaining the color of the number corresponding to the identification color of the selected region as the standard color.
[0110] Optionally, in the embodiment, for example, the statistical region of the enemy is distinguished, and only the statistical region of the own side is used.
[0111] The embodiment has the beneficial effect of obtaining the identification color of the current game subject in the game interface, and obtaining the color of the number corresponding to the identification color of the selected region as the standard color. A humanized game time model control scheme is realized, the adaptation cost of the game time is saved, the degree of manual intervention in the production of the game time is reduced, and the user's game time use experience is greatly enhanced.
[0112] Embodiment five
[0113] Figure 7is a flow chart of the fifth embodiment of the game time model control method of the present application, based on the above embodiment, the model for identifying game time is trained according to the marking file of the number marked in the foreground image and the number sample, and then includes:
[0114] S51, monitoring the game process data through the model.
[0115] S52, judging whether any data in the game process data meets the preset game time condition.
[0116] Optionally, in this embodiment, for example, when the number of kills increases by one or the number of kills increases by a preset number, it is used as the corresponding game time condition.
[0117] The beneficial effects of this embodiment are that the game process data is monitored through the model, and it is judged whether any data in the game process data meets the preset game time condition. A humanized game time model control scheme is realized, the adaptation cost of game time is saved, the degree of manual intervention in game time production is reduced, and the user's game time use experience is greatly enhanced.
[0118] Embodiment six
[0119] Figure 8 is a flow chart of the sixth embodiment of the game time model control method of the present application, based on the above embodiment, the model for identifying game time is trained according to the marking file of the number marked in the foreground image and the number sample, and then includes:
[0120] S53, if any of the data meets the game time condition, start screen recording.
[0121] S54, record the content of the game interface corresponding to the data as the game time.
[0122] The beneficial effects of this embodiment are that if any of the data meets the game time condition, screen recording is started; the content of the game interface corresponding to the data is recorded as the game time. A humanized game time model control scheme is realized, the adaptation cost of game time is saved, the degree of manual intervention in game time production is reduced, and the user's game time use experience is greatly enhanced.
[0123] Embodiment seven
[0124] Figure 9is a flowchart of a seventh embodiment of the game time model control method of the present application, based on the above embodiment, the model for identifying game time is trained according to the mark file of the number marked on the foreground image and the number sample, and then further comprising:
[0125] S55, if the length of the screen recording reaches the preset game time length, or the data no longer meets the game time condition, stop screen recording.
[0126] S56, save the game time of the recorded section.
[0127] The beneficial effects of the present embodiment are that by identifying that the length of the screen recording reaches the preset game time length, or the data no longer meets the game time condition, the screen recording is stopped; the game time of the recorded section is saved. A humanized game time model control scheme is realized, the adaptation cost of game time is saved, the degree of manual intervention in game time production is reduced, and the user's game time use experience is greatly enhanced.
[0128] Embodiment eight
[0129] Figure 10 is a flowchart of an eighth embodiment of the game time model control method of the present application, based on the above embodiment, the model for identifying game time is trained according to the mark file of the number marked on the foreground image and the number sample, and then further comprising:
[0130] S57, at the end of the game, classify and combine the game time of each section according to the type of the data.
[0131] S58, fuse all the game times after classification and combination into the game time of the current game.
[0132] The beneficial effects of the present embodiment are that by classifying and combining the game time of each section according to the type of the data at the end of the game; fusing all the game times after classification and combination into the game time of the current game. A humanized game time model control scheme is realized, the adaptation cost of game time is saved, the degree of manual intervention in game time production is reduced, and the user's game time use experience is greatly enhanced.
[0133] Embodiment nine
[0134] Based on the above embodiment, the present application further proposes a game time model control device, which comprises a memory, a processor, and a computer program stored on the memory and executable on the processor, and the computer program implements the steps of the game time model control method according to any one of the above embodiments when executed by the processor.
[0135] It should be noted that the above device embodiments and method embodiments belong to the same concept, and the specific implementation process is detailed in the method embodiments, and the technical features in the method embodiments are all applicable in the device embodiments, which will not be repeated here.
[0136] Embodiment ten
[0137] Based on the above embodiments, the application further provides a computer readable storage medium, which stores a game time model control program. When the game time model control program is executed by a processor, the steps of the game time model control method according to any one of the above embodiments are implemented.
[0138] It should be noted that the above medium embodiments and method embodiments belong to the same concept, and the specific implementation process is detailed in the method embodiments, and the technical features in the method embodiments are all applicable in the medium embodiments, which will not be repeated here.
[0139] It should be noted that in this document, the term "comprising" or "including" 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 inherent to such a process, method, article or device. Without more limitations, the element defined by the statement "including a" does not exclude the presence of additional identical elements in the process, method, article or device including the element.
[0140] The above-mentioned embodiment numbers of the application are only for description, and do not represent the advantages and disadvantages of the embodiments.
[0141] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be realized by means of software and necessary general hardware platform, of course, they can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the application can be embodied in the form of software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a plurality of instructions for making a terminal (which can be a mobile phone, computer, server, air conditioner or network equipment, etc.) execute the methods described in various embodiments of the application.
[0142] The embodiments of the present application are described above with reference to the accompanying drawings, but the present application is not limited to the above-described specific embodiments, and the above-described specific embodiments are merely illustrative, but not restrictive, and a person of ordinary skill in the art can make many forms under the inspiration of the present application without departing from the purpose of the present application and the scope protected by the claims, and these all belong to the protection of the present application.
Claims
1. A game time model control method, characterized by, The method comprises: In the current game interface, the selected region meeting the preset digital region condition is divided, and the foreground image of the selected region is extracted with the color of the number in the selected region as the standard color; In the continuous game process, the contour extraction and number cutting of the foreground image containing the number are performed in real time to obtain single number samples; The single number samples are clustered to generate multiple categories, and the multiple categories are marked as corresponding numbers; The numbers corresponding to the foreground image are marked according to the marked multiple category numbers and the clustering results of the multiple categories, and a model for identifying the game time is trained according to the marking file of the marked foreground image numbers and the number samples.
2. The game moment model control method of claim 1, wherein The method comprises: According to the game information of the current game, the target interface corresponding to the game is determined; In the target interface, a statistical region for recording real-time game data is obtained.
3. The game moment model control method of claim 2, wherein The method further comprises: In the statistical region, game progress data related to the game progress is determined; The region where the game progress data is located is taken as the preset digital region condition.
4. The game moment model control method according to claim 3, wherein The method further comprises: The identification color of the current game subject in the game interface is obtained; The color of the number corresponding to the identification color in the selected region is obtained as the standard color.
5. The game moment model control method according to claim 4, characterized in that, The method further comprises: The game progress data is monitored through the model; It is judged whether any data in the game progress data meets the preset game time condition.
6. The game moment model control method according to claim 5, wherein The method further comprises: If any of the data meets the game time condition, screen recording is started; The content of the game interface corresponding to the data is recorded as the game time.
7. The game moment model control method according to claim 6, wherein The method further comprises: If the duration of the screen recording reaches the preset game time duration, or the data no longer meets the game time condition, the screen recording is stopped; The game time of the recorded segment is saved.
8. The game moment model control method according to claim 7, wherein The method further comprises: At the end of the game, the game moments of each section are classified and combined according to the type of the data; All the classified and combined game moments are fused into the game moment of the current game.
9. A game time model control device characterized by comprising: The device comprises a memory, a processor, and a computer program stored on the memory and executable on the processor, and the computer program, when executed by the processor, implements the steps of the game moment model control method according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a game moment model control program, and the game moment model control program, when executed by the processor, implements the steps of the game moment model control method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Technology for providing network game anti external hanging image origin by 3D technology
CN101082951A
Wardrobe intelligent management apparatus and method
CN105046280A