A method, device, and computer-readable storage medium for game event identification and protection.
By recognizing game visuals and audio events to generate protection data and parameters, and performing frame interpolation and audio processing, the problem of eye and ear damage caused by prolonged gaming is solved, thus improving the user experience.
Patent Information
- Application Number
- CN202210896747.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-28
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2042-07-28
AI Technical Summary
Playing games for a long time causes eye fatigue and hearing damage, and existing technologies lack effective protection mechanisms.
By identifying visual and audio events during the game, protection data and parameters are generated, and image interpolation and audio processing are performed to reduce discomfort.
It reduces discomfort to the user's eyes and ears during gaming, improves protection flexibility and ease of operation, and enhances user experience.
Smart Images

Figure CN115253288B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of mobile communications, and more particularly to a method, device, and computer-readable storage medium for game event identification and protection. Background Technology
[0002] With the continuous development of smart terminal devices and gaming technology, the gaming market is also constantly changing. People's online entertainment time has increased significantly, the scale of e-sports game users has expanded rapidly, the overall trend of e-sports is positive, the e-sports event system has taken shape, and the entire e-sports game industry chain is gradually improving.
[0003] However, prolonged focus on game screens can significantly increase eye fatigue, leading to dry eyes and potentially causing eye-related diseases. Additionally, wearing headphones for extended periods can also damage hearing.
[0004] For the reasons mentioned above, how to set up relevant protection mechanisms to reduce the physiological damage caused by prolonged gaming and protect users' physical and mental health has become an urgent technical problem to be solved. Summary of the Invention
[0005] To address the aforementioned technical deficiencies in the prior art, this invention proposes a game event recognition and protection method, which includes:
[0006] During the game, acquire the first game event that meets the preset screen conditions, and acquire the second game event that meets the preset audio conditions;
[0007] Based on the current game content, generate protective screen data corresponding to the first game event, and generate protective audio data corresponding to the second game event;
[0008] Based on the current game progress, generate protective screen parameters corresponding to the first game event, and generate protective audio parameters corresponding to the second game event;
[0009] The original screen of the first game event is subjected to first protection processing according to the protection screen parameters and the protection screen data, and the original audio of the second game event is subjected to second protection processing according to the protection audio parameters and the protection audio data.
[0010] Optionally, acquiring a first game event that meets preset screen conditions and a second game event that meets preset audio conditions during the game includes:
[0011] Based on preset eye protection requirements, preset screen brightness differences and / or brightness change frequencies are used as the screen conditions during gameplay.
[0012] Based on preset ear protection requirements, preset audio volume differences and / or audio frequencies are used as audio conditions during gameplay.
[0013] Optionally, the step of acquiring a first game event that meets preset screen conditions and a second game event that meets preset audio conditions during the game further includes:
[0014] The first game event is defined as the first game phase in which the game screen begins to meet the aforementioned screen conditions and continues for a first preset time.
[0015] The second game event is defined as the second game phase in which the game audio begins to meet the stated audio conditions and continues for a second preset time.
[0016] Optionally, the step of generating protective screen data corresponding to the first game event and generating protective audio data corresponding to the second game event based on the current game content includes:
[0017] Obtain the first game content of the first game stage, wherein the first game content includes the game screen that does not meet the screen conditions;
[0018] Obtain the second game content of the second game stage, wherein the second game content includes the game audio that does not meet the audio conditions.
[0019] Optionally, the step of generating protective screen data corresponding to the first game event and generating protective audio data corresponding to the second game event based on the current game content further includes:
[0020] Extract a first set of multiple frames from the game screen that does not meet the specified screen conditions, and use them as the protective screen data;
[0021] A second set of multiple game audio segments is extracted from the game audio that does not meet the audio conditions, and used as the protective audio data.
[0022] Optionally, the step of generating protective screen parameters corresponding to the first game event and generating protective audio parameters corresponding to the second game event based on the current game progress includes:
[0023] The current first process state is determined based on the control state of the game object in the game process, wherein the control state includes skill type and execution frequency;
[0024] The current second process state is determined based on the environmental state of the game objects in the game process, wherein the environmental state includes environmental items and environmental background.
[0025] Optionally, the step of generating protective screen parameters corresponding to the first game event and generating protective audio parameters corresponding to the second game event based on the current game progress further includes:
[0026] The display time and duration of the protective screen are determined based on the operation status, and the display time and duration are used as parameters of the protective screen.
[0027] The playback time and duration of the protective audio are determined based on the environmental conditions, and the playback time and duration are used as the protective audio parameters.
[0028] Optionally, the step of performing a first protection process on the original screen of the first game event according to the protection screen parameters and the protection screen data, and performing a second protection process on the original audio of the second game event according to the protection audio parameters and the protection audio data, includes:
[0029] The original image is subjected to frame interpolation and / or replacement processing based on the protection image parameters;
[0030] The original audio is overlaid and / or fused with the protective audio data according to the protective audio parameters.
[0031] The present invention also proposes a game event identification and protection device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the steps of the game event identification and protection method as described in any of the preceding claims.
[0032] The present invention also proposes a computer-readable storage medium storing a game event identification and protection program, which, when executed by a processor, implements the steps of the game event identification and protection method as described in any of the preceding claims.
[0033] The game event identification and protection method, device, and computer-readable storage medium of the present invention acquire a first game event that meets preset screen conditions and a second game event that meets preset audio conditions during the game process; generate protective screen data corresponding to the first game event and protective audio data corresponding to the second game event based on the current game content; generate protective screen parameters corresponding to the first game event and protective audio parameters corresponding to the second game event based on the current game progress; perform a first protection process on the original screen of the first game event according to the protective screen parameters and the protective screen data, and perform a second protection process on the original audio of the second game event according to the protective audio parameters and the protective audio data. This achieves a user-friendly game event identification and protection scheme, reducing the discomfort caused to users by related screen or audio, improving the protection flexibility and ease of operation for various applications, and enhancing the user experience. Attached Figure Description
[0034] The present invention will be further described below with reference to the accompanying drawings and embodiments. In the accompanying drawings:
[0035] Figure 1 This is a schematic diagram of the hardware structure of a mobile terminal according to the present invention;
[0036] Figure 2 This is a flowchart of the first embodiment of the game event recognition and protection method of the present invention;
[0037] Figure 3 This is a flowchart of the second embodiment of the game event recognition and protection method of the present invention;
[0038] Figure 4 This is a flowchart of the third embodiment of the game event recognition and protection method of the present invention;
[0039] Figure 5 This is a flowchart of the fourth embodiment of the game event recognition and protection method of the present invention;
[0040] Figure 6 This is a flowchart of the fifth embodiment of the game event recognition and protection method of the present invention;
[0041] Figure 7 This is a flowchart of the sixth embodiment of the game event recognition and protection method of the present invention;
[0042] Figure 8 This is a flowchart of the seventh embodiment of the game event recognition and protection method of the present invention;
[0043] Figure 9 This is a flowchart of the eighth embodiment of the game event recognition and protection method of the present invention. Detailed Implementation
[0044] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.
[0045] In the following description, the use of suffixes such as "module," "part," or "unit" to denote elements is solely for the purpose of illustrative purposes and has no specific meaning in itself. Therefore, "module," "part," or "unit" may be used interchangeably.
[0046] Terminals can be implemented in various forms. For example, the terminals described in this invention may include mobile terminals such as mobile phones, tablets, laptops, handheld computers, personal digital assistants (PDAs), portable media players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, etc., as well as fixed terminals such as digital TVs and desktop computers.
[0047] 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.
[0048] 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.
[0049] The following is combined Figure 1 A detailed introduction to each component of the mobile terminal:
[0050] The radio frequency unit 101 can be used for receiving and transmitting signals during information transmission or calls. Specifically, it receives downlink information from the base station and processes it with the processor 110; additionally, it transmits uplink data to the base station. Typically, 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, and a duplexer. Furthermore, the radio frequency unit 101 can also communicate wirelessly with networks and other devices. The aforementioned wireless communications may 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).
[0051] WiFi is a short-range wireless transmission technology. Mobile terminals, through the WiFi module 102, can help users send and receive emails, browse web pages, and access streaming media, providing users with wireless broadband internet access. Although Figure 1 WiFi module 102 is shown, but it is understood that it is not a necessary component of a mobile terminal and can be omitted as needed without changing the nature of the invention.
[0052] The audio output unit 103 can convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into audio signals and output them as sound when the mobile terminal 100 is in call signal receiving mode, call mode, recording mode, voice recognition mode, broadcast receiving mode, etc. Furthermore, the audio output unit 103 can also provide audio output related to specific functions performed by the mobile terminal 100 (e.g., call signal receiving sound, message receiving sound, etc.). The audio output unit 103 may include a speaker, a buzzer, etc.
[0053] 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 image data of still images or videos acquired by an image capture device (such as a camera) in video capture mode or 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 sound (audio data) in operating modes such as telephone call mode, recording mode, and voice recognition mode, and can process such sound 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 telephone call mode. The microphone 1042 can implement various types of noise cancellation (or suppression) algorithms to eliminate (or suppress) noise or interference generated during the reception and transmission of audio signals.
[0054] 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. The ambient light sensor can adjust the brightness of the display panel 1061 according to the ambient light level, and the proximity sensor can turn off the display panel 1061 and / or backlight when the mobile terminal 100 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes). When stationary, it can detect the magnitude and direction of gravity and can be used for applications that recognize the phone's posture (such as landscape / portrait switching, related games, magnetometer posture calibration), vibration recognition-related functions (such as pedometer, tapping), etc. Other sensors that may be configured in the phone, such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, and infrared sensors, will not be described in detail here.
[0055] 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, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0056] User input unit 107 can be used to receive input numerical or character information, and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, user input unit 107 may include touch panel 1071 and other input devices 1072. Touch panel 1071, also known as touch screen, can collect touch operations on or near the user (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near touch panel 1071), and drive corresponding connection devices according to a pre-set program. Touch panel 1071 may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch position and the signal generated by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, sends it to processor 110, and can receive and execute commands from processor 110. In addition, touch panel 1071 can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, one or more of the following: physical keyboard, function keys (such as volume control buttons, power buttons, etc.), trackball, mouse, joystick, etc., without being limited here.
[0057] Furthermore, the touch panel 1071 may cover the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits the information to the processor 110 to determine the type of touch event. Subsequently, the processor 110 provides corresponding visual output on the display panel 1061 based on the type of touch event. Although in Figure 1 In this embodiment, the touch panel 1071 and the display panel 1061 are two independent components to realize the input and output functions of the mobile terminal. However, 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. The specific implementation is not limited here.
[0058] Interface unit 108 serves as an interface through which at least one external device can connect to mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, and so on. Interface unit 108 may be used to receive input (e.g., data, power, etc.) from the external device and transmit the received input to one or more elements within mobile terminal 100, or it may be used to transmit data between mobile terminal 100 and the external device.
[0059] The memory 109 can be used to store software programs and various data. The memory 109 may primarily include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function (such as sound playback, image playback, etc.), etc.; the data storage area may store data created based on the use of the mobile phone (such as audio data, phonebook, etc.). Furthermore, the memory 109 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0060] The processor 110 is the control center of the mobile terminal. It connects various parts of the mobile terminal via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 109, and by calling data stored in the memory 109, it performs various functions and processes data of the mobile terminal, thereby providing overall monitoring of the mobile terminal. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor. The application processor mainly handles the operating system, user interface, and applications, while the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 110.
[0061] The mobile terminal 100 may also include a power supply 111 (such as a battery) that supplies power to various components. Preferably, the power supply 111 can be logically connected to the processor 110 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system.
[0062] although Figure 1 As not shown, the mobile terminal 100 may also include a Bluetooth module, etc., which will not be described in detail here.
[0063] Based on the above-described mobile terminal hardware structure, various embodiments of the method of the present invention are proposed.
[0064] Example 1
[0065] Figure 2 This is a flowchart of the first embodiment of the game event identification and protection method of the present invention. A game event identification and protection method, the method comprising:
[0066] S1. During the game, acquire a first game event that meets the preset screen conditions and a second game event that meets the preset audio conditions;
[0067] S2. Generate protective screen data corresponding to the first game event based on the current game content, and generate protective audio data corresponding to the second game event;
[0068] S3. Generate protective screen parameters corresponding to the first game event and protective audio parameters corresponding to the second game event based on the current game progress.
[0069] S4. Perform first protection processing on the original screen of the first game event according to the protection screen parameters and the protection screen data, and perform second protection processing on the original audio of the second game event according to the protection audio parameters and the protection audio data.
[0070] In this embodiment, first and second game events are identified during the game process. For example, the screen display during gameplay is monitored in real time, and an image recognition algorithm is used to identify abnormal scene conditions (including flashbang scenes in combat games). The RGB color and brightness differences between the two scenes are calculated as judgment elements. When the judgment element reaches a set threshold, a protection mechanism is triggered, and the game process corresponding to this scene is identified as the first game event. Similarly, an audio recognition algorithm is used to identify game audio to obtain game scenes (including grenade explosion scenes in war games and monster attack scenes in horror games in first-person adventure games). The current volume is used as a judgment element. When the judgment element reaches a set threshold, a protection mechanism is triggered, and the game process corresponding to this audio scene is identified as the second game event.
[0071] In this embodiment, on the one hand, protective screen data corresponding to the first game event and protective audio data corresponding to the second game event are generated based on the current game content; on the other hand, protective screen parameters corresponding to the first game event and protective audio parameters corresponding to the second game event are generated based on the current game progress; finally, the original screen of the first game event is subjected to first protective processing according to the protective screen parameters and the protective screen data, and the original audio of the second game event is subjected to second protective processing according to the protective audio parameters and the protective audio data. For example, the screen optimization scheme for the first game event: when screen elements reach a preset value (e.g., a flashbang scene in a game), the game screen inserts the normal game screen into the currently identified abnormal white screen scene through frame interpolation, thereby reducing the damage to the eyes caused by sudden white screen (strong light); the audio optimization scheme for the second game event: when objective audio elements reach a preset value (e.g., a scene where a monster attacks in a horror game and suddenly plays high-pitched background music), the volume of the built-in speaker on the display is automatically adjusted to the set value, reducing the discomfort caused to the user by the sudden high-pitched background music. Optionally, for the aforementioned first and second game events, the visual and audio optimization effects can be customized by the user. For example, users can customize the effects to their liking; for instance, the frame interpolation in the visuals can be replaced with other images, and the audio optimization can be adjusted to replace the original game audio.
[0072] Optionally, the aforementioned image or audio protection mechanism can be configured with multiple schemes and supports the application of specified schemes to specific application scenarios, such as third-party applications or children's applications, thereby achieving humanized and intelligent customization of the protection mechanism.
[0073] Optionally, in this embodiment, a custom setting is provided for the first protection process and the second protection process. If the current scenario meets the set judgment conditions but the protection mechanism does not need to be activated, the protection mechanism can be stopped by using a shortcut key.
[0074] Optionally, in this embodiment, for another customized setting of the first and second protection processes, if the current scenario does not meet the set judgment conditions but the protection mechanism still needs to be activated, the protection mechanism can be forcibly activated via a shortcut key. Multiple shortcut keys can be set to implement different protection mechanism schemes.
[0075] Optionally, in this embodiment, for another customized setting of the first and second protection processes, when the protection mechanism is activated, there is a relevant indicator reminder on the display screen to avoid causing unnecessary misunderstandings.
[0076] The beneficial effects of this embodiment are as follows: By acquiring a first game event that meets preset screen conditions and a second game event that meets preset audio conditions during the game process; generating protective screen data corresponding to the first game event and protective audio data corresponding to the second game event based on the current game content; generating protective screen parameters corresponding to the first game event and protective audio parameters corresponding to the second game event based on the current game progress; performing first protection processing on the original screen of the first game event according to the protective screen parameters and the protective screen data; and performing second protection processing on the original audio of the second game event according to the protective audio parameters and the protective audio data. This achieves a user-friendly game event recognition and protection scheme, reducing the discomfort caused to users by related screen or audio, improving the protection flexibility and ease of operation for various applications, and enhancing the user experience.
[0077] Example 2
[0078] Figure 3 This is a flowchart of the second embodiment of the game event recognition and protection method of the present invention. Based on the above embodiment, the step of acquiring a first game event that meets preset screen conditions and a second game event that meets preset audio conditions during the game includes:
[0079] S11. Based on preset eye protection requirements, the preset screen brightness difference and / or brightness change frequency are used as the screen conditions during the game.
[0080] S12. Based on preset ear protection requirements, during the game, preset audio volume difference and / or audio frequency are used as the audio conditions.
[0081] Optionally, in this embodiment, the above-mentioned image brightness difference is the difference between the average brightness of the previous set of image frames and the average brightness of the next set of image frames, or the image brightness difference is the difference between the minimum brightness of the previous set of image frames and the maximum brightness of the next set of image frames.
[0082] Optionally, in this embodiment, the brightness change frequency is the number of times the brightness change exceeds the screen brightness difference within a preset time period. If the number exceeds a preset value, the screen conditions are determined to be met.
[0083] Optionally, in this embodiment, the audio volume difference is the interpolation of the maximum and minimum volume values within a preset time period, and the audio frequency is the amplitude of the audio frequency change within the preset time period. Alternatively, if the audio frequency within the preset time period exceeds a preset value, it is determined that the above audio conditions are met.
[0084] The beneficial effects of this embodiment are that, based on preset eye protection requirements, preset screen brightness differences and / or brightness change frequencies are used as the screen conditions during gameplay; and based on preset ear protection requirements, preset audio volume differences and / or audio frequencies are used as the audio conditions during gameplay. This achieves a user-friendly game event recognition and protection scheme, reducing the discomfort caused to users by related visuals or audio, improving the protection flexibility and ease of operation for various applications, and enhancing the user experience.
[0085] Example 3
[0086] Figure 4 This is a flowchart of the third embodiment of the game event identification and protection method of the present invention. Based on the above embodiment, the step of acquiring a first game event that meets preset screen conditions and a second game event that meets preset audio conditions during the game process further includes:
[0087] S13. The first game phase, in which the game screen begins to meet the aforementioned screen conditions and continues for a first preset time, is defined as the first game event.
[0088] S14. The second game phase, in which the game audio begins to meet the audio conditions and continues for a second preset time, is designated as the second game event.
[0089] Optionally, in this embodiment, the first game phase in which the game screen begins to meet the screen conditions and continues for a first preset time is defined as the first game event. If the game screen is detected to meet the screen conditions again within the first preset time, it will be used as the starting point for recording a new first game event.
[0090] Optionally, in this embodiment, the second game phase in which the game audio begins to meet the audio conditions and continues for a second preset time is defined as the second game event. If the game audio is detected to meet the audio conditions again within the second preset time, it will be used as the starting point for recording a new second game event.
[0091] The beneficial effect of this embodiment is that it defines the first game event as the game screen starting to meet the screen conditions and lasting for a first preset time, and the second game event as the game audio starting to meet the audio conditions and lasting for a second preset time. This achieves a user-friendly game event recognition and protection scheme, reducing the discomfort caused to users by related visuals or audio, improving the protection flexibility and ease of operation for various applications, and enhancing the user experience.
[0092] Example 4
[0093] Figure 5This is a flowchart of the fourth embodiment of the game event identification and protection method of the present invention. Based on the above embodiment, the step of generating protective screen data corresponding to the first game event and generating protective audio data corresponding to the second game event according to the current game content includes:
[0094] S21. Obtain the first game content of the first game stage, wherein the first game content includes the game screen that does not meet the screen conditions;
[0095] S22. Obtain the second game content of the second game stage, wherein the second game content includes the game audio that does not meet the audio conditions.
[0096] Optionally, in this embodiment, unprotected footage is acquired from the first game content and used as the data source for frame interpolation. For example, the footage of a grenade being thrown during a battle can be used as this data source.
[0097] Optionally, in this embodiment, unprotected audio is obtained from the second game content and used as the data source for overlay processing. For example, the audio of opening boxes or footsteps in the adventure game can be used as this data source.
[0098] The beneficial effect of this embodiment is that by acquiring the first game content of the first game stage, wherein the first game content includes the game screen that does not meet the screen conditions; and acquiring the second game content of the second game stage, wherein the second game content includes the game audio that does not meet the audio conditions, a user-friendly game event recognition and protection scheme is implemented. This reduces the discomfort caused to users by related screen or audio, improves the protection flexibility and convenience of protection operations for various applications, and enhances the user experience.
[0099] Example 5
[0100] Figure 6 This is a flowchart of the fifth embodiment of the game event identification and protection method of the present invention. Based on the above embodiment, the step of generating protective screen data corresponding to the first game event and generating protective audio data corresponding to the second game event according to the current game content further includes:
[0101] S23. Extract a first set of multiple frames of the game screen from the game screen that does not meet the screen conditions, and use it as the protection screen data;
[0102] S24. Extract a second set of multiple game audio segments from the game audio that does not meet the audio conditions, and use them as the protective audio data.
[0103] Optionally, in this embodiment, before and after the screen conditions are met, a first set of multiple game screen frames is extracted as the protective screen data.
[0104] Optionally, in this embodiment, before and after the audio conditions are met, a second set of multiple game audio segments is extracted as the protective audio data.
[0105] The beneficial effect of this embodiment is that by extracting a first set of multiple frames of game screens from game screens that do not meet the stated screen conditions, as the protected screen data; and by extracting a second set of multiple segments of game audio from game audios that do not meet the stated audio conditions, as the protected audio data, a user-friendly game event recognition and protection scheme is achieved. This reduces the discomfort caused to users by related screen or audio, improves the protection flexibility and ease of operation for various applications, and enhances the user experience.
[0106] Example 6
[0107] Figure 7 This is a flowchart of the sixth embodiment of the game event recognition and protection method of the present invention. Based on the above embodiment, the step of generating protection screen parameters corresponding to the first game event and generating protection audio parameters corresponding to the second game event according to the current game process includes:
[0108] S31. Determine the current first process state based on the control state of the game object in the game process, wherein the control state includes skill type and execution frequency;
[0109] S32. Determine the current second process state based on the environmental state of the game objects in the game process, wherein the environmental state includes environmental items and environmental background.
[0110] Optionally, in this embodiment, the timing of frame interpolation and the frame interpolation frame are determined based on the skill type and / or execution frequency.
[0111] Optionally, in this embodiment, the timing of audio coverage and the covered audio are determined based on environmental objects and / or environmental background.
[0112] The beneficial effects of this embodiment are that it determines the current first process state based on the control state of the game object in the game process, wherein the control state includes skill type and execution frequency; and determines the current second process state based on the environmental state of the game object in the game process, wherein the environmental state includes environmental items and environmental background. This achieves a user-friendly game event recognition and protection scheme, reducing the discomfort caused to users by related visuals or audio, improving the protection flexibility and ease of operation for various applications, and enhancing the user experience.
[0113] Example 7
[0114] Figure 8 This is a flowchart of the seventh embodiment of the game event recognition and protection method of the present invention. Based on the above embodiment, the step of generating protection screen parameters corresponding to the first game event and generating protection audio parameters corresponding to the second game event according to the current game process further includes:
[0115] S33. Determine the display time and display duration of the protection screen according to the operation status, and use the display time and display duration as the protection screen parameters;
[0116] S34. Determine the playback time and duration of the protective audio based on the environmental conditions, and use the playback time and duration as the protective audio parameters.
[0117] Optionally, in this embodiment, in the screen replacement processing scheme, the display time and the display duration are used as display setting parameters when the protective screen replaces the original screen.
[0118] Optionally, in this embodiment, in the audio overlay processing scheme, the playback time and the playback duration are used as audio setting parameters when the protective audio replaces the original audio.
[0119] The beneficial effects of this embodiment are that it determines the display time and duration of the protective screen based on the operation state, and uses the display time and duration as parameters of the protective screen; it also determines the playback time and duration of the protective audio based on the environmental state, and uses the playback time and duration as parameters of the protective audio. This achieves a user-friendly game event recognition and protection scheme, reducing the discomfort caused to users by related visuals or audio, improving the protection flexibility and ease of operation for various applications, and enhancing the user experience.
[0120] Example 8
[0121] Figure 9This is a flowchart of the eighth embodiment of the game event identification and protection method of the present invention. Based on the above embodiment, the step of performing a first protection process on the original screen of the first game event according to the protection screen parameters and the protection screen data, and performing a second protection process on the original audio of the second game event according to the protection audio parameters and the protection audio data, includes:
[0122] S41. Perform frame interpolation and / or replacement processing on the original image according to the protection image parameters;
[0123] S42. Perform the protection audio data overlay and / or fusion processing on the original audio according to the protection audio parameters.
[0124] Optionally, in this embodiment, the original image is subjected to frame interpolation and / or replacement processing of the protective image data according to the protective image parameters. For example, in a combat game, if a glare image is generated after the grenade throwing action, the current user operation is detected. If there is an unconventional walking or standing operation such as switching weapons or jumping, the glare image is replaced according to the image of switching weapons or jumping. On the one hand, this avoids the glare image from stimulating the eyes, and on the other hand, it avoids the inability to provide the user with the current operation screen feedback when the glare image is completely erased.
[0125] The beneficial effect of this embodiment is that by performing frame interpolation and / or replacement processing on the original screen according to the protected screen parameters, and by performing overlay and / or fusion processing on the original audio according to the protected audio parameters, a user-friendly game event recognition and protection scheme is achieved. This reduces the discomfort caused to users by related images or audio, improves the protection flexibility and ease of operation for various applications, and enhances the user experience.
[0126] Example 9
[0127] Based on the above embodiments, the present invention also proposes a game event identification and protection device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the steps of the game event identification and protection method as described in any of the above embodiments.
[0128] It should be noted that the above-described device embodiments and method embodiments belong to the same concept. The specific implementation process can be found in the method embodiments, and the technical features in the method embodiments are also applicable to the device embodiments, which will not be repeated here.
[0129] Example 10
[0130] Based on the above embodiments, the present invention also proposes a computer-readable storage medium storing a game event identification and protection program, which, when executed by a processor, implements the steps of the game event identification and protection method as described in any of the above embodiments.
[0131] It should be noted that the above-described medium embodiments and method embodiments belong to the same concept. The specific implementation process can be found in the method embodiments, and the technical features in the method embodiments are also applicable to the medium embodiments, which will not be repeated here.
[0132] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0133] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0134] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, 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 to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0135] The embodiments of the present invention have been described above with reference to the accompanying drawings. However, the present invention is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of the present invention without departing from the spirit and scope of the claims. All of these forms are within the protection scope of the present invention.
Claims
1. A game event recognition and protection method, characterized in that, The method includes: During the game, acquire the first game event that meets the preset screen conditions, and acquire the second game event that meets the preset audio conditions; Based on the current game content, generate protective screen data corresponding to the first game event, and generate protective audio data corresponding to the second game event; Based on the current game progress, generate protective screen parameters corresponding to the first game event, and generate protective audio parameters corresponding to the second game event; The original screen of the first game event is subjected to first protection processing according to the protection screen parameters and the protection screen data, and the original audio of the second game event is subjected to second protection processing according to the protection audio parameters and the protection audio data. The process of acquiring a first game event that meets preset visual conditions and a second game event that meets preset audio conditions during gameplay includes: Based on preset eye protection requirements, preset screen brightness differences and / or brightness change frequencies are used as the screen conditions during gameplay. Based on preset ear protection requirements, preset audio volume difference and / or audio frequency are used as the audio conditions during the game. The first game event is defined as the first game phase in which the game screen begins to meet the aforementioned screen conditions and continues for a first preset time. The second game event is defined as the second game phase in which the game audio begins to meet the aforementioned audio conditions and continues for a second preset time. The step of generating protective screen data corresponding to the first game event and generating protective audio data corresponding to the second game event based on the current game content includes: Obtain the first game content of the first game stage, wherein the first game content includes the game screen that does not meet the screen conditions; Obtain the second game content of the second game stage, wherein the second game content includes the game audio that does not meet the audio conditions; Extract a first set of multiple frames from the game screen that does not meet the specified screen conditions, and use them as the protective screen data; A second set of multiple game audio segments is extracted from the game audio that does not meet the audio conditions, and used as the protective audio data; The step of generating protective screen parameters corresponding to the first game event and generating protective audio parameters corresponding to the second game event based on the current game progress includes: The current first process state is determined based on the control state of the game object in the game process, wherein the control state includes skill type and execution frequency; The current second process state is determined based on the environmental state of the game objects in the game process, wherein the environmental state includes environmental items and environmental background; The display time and display duration of the protective screen are determined based on the control state, and the display time and display duration are used as parameters of the protective screen. The playback time and duration of the protective audio are determined based on the environmental conditions, and the playback time and duration are used as the protective audio parameters. The first protection processing of the original screen of the first game event according to the protection screen parameters and the protection screen data, and the second protection processing of the original audio of the second game event according to the protection audio parameters and the protection audio data, include: The original image is subjected to frame interpolation and / or replacement processing based on the protection image parameters; The original audio is overlaid and / or fused with the protective audio data according to the protective audio parameters.
2. A game event recognition and protection device, characterized in that, The device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When executed by the processor, the computer program implements the steps of the game event recognition and protection method as described in claim 1.
3. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a game event identification and protection program, which, when executed by a processor, implements the steps of the game event identification and protection method as described in claim 1.
Citation Information
Patent Citations
Audio playing method, mobile terminal and computer readable storage medium
CN108647005A
Game animation control method and device
CN113499584A