Game picture processing method and device, storage medium and electronic device
By receiving and analyzing client time recording information, the visuals of rhythm-based cloud games are adjusted to synchronize with the audio and video, solving the problem of audio-visual desynchronization in rhythm-based cloud games and improving game smoothness and player experience.
Patent Information
- Application Number
- CN202311148319.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-06
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2043-09-06
AI Technical Summary
In rhythm-based cloud games, audio and video desynchronization leads to a poor gaming experience for players, and existing technologies have not been able to effectively solve this problem.
By receiving and analyzing the client's time recording information, the game screen adjustment method for rhythm-type cloud games is determined. The game screen is then adjusted synchronously according to the playback progress of the corresponding tracks in the rhythm-type cloud games, and the target game screen is pushed to the client.
It achieves audio-visual synchronization in rhythm games, improving game smoothness and player experience, and solving the problem of poor game experience caused by audio-visual asynchrony.
Smart Images

Figure CN117258280B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and more specifically, to a method, apparatus, storage medium, and electronic device for processing game screens. Background Technology
[0002] To provide a smooth cloud gaming experience, rhythm-based cloud games typically strive for relatively continuous audio. However, due to objective factors such as bandwidth limitations, WAN latency, LAN streaming, and background audio interference from mobile devices, systemic delays may occur in the game visuals. As audio playback time increases, audio-visual asynchrony accumulates, and visual details are difficult for the client to capture in a cloud gaming environment. Frequent real-time feeds, however, can lead to missed beats and negative emotions. Furthermore, the transmission and analysis of player input to the server also contributes to latency. Additionally, different players have different perceptions and reactions to rhythm, making rhythm-based timing crucial for a positive player experience. Currently, no effective solutions have been proposed to address these issues. Summary of the Invention
[0003] At least some embodiments of this application provide a game screen processing method, apparatus, storage medium, and electronic device to at least solve the technical problem of poor player experience caused by audio-visual asynchrony in rhythm-type games in related technologies.
[0004] According to one embodiment of this application, a game screen processing method is provided, comprising: receiving time recording information from a client, wherein the time recording information is used to record multiple sets of time data within a first preset duration, each set of time data including: a first moment and a second moment, wherein the first moment is the moment corresponding to an audio keyframe played by a rhythm-type cloud game monitored by the client, and the second moment is the moment corresponding to a target control operation sensed by the client, wherein the target control operation is a control operation performed on a game object in the rhythm-type cloud game based on the audio keyframe; determining a game screen adjustment method for the rhythm-type cloud game based on the time recording information, wherein the game screen adjustment method is used to synchronously adjust the game screen display content of the rhythm-type cloud game according to the playback progress of the accompanying tracks in the rhythm-type cloud game; obtaining a target game screen to be displayed according to the game screen adjustment method; and pushing the target game screen to the client.
[0005] According to one embodiment of this application, a game screen processing method is provided, comprising: sending time recording information to a server, wherein the time recording information is used to record multiple sets of time data within a first preset duration, each set of time data including: a first moment and a second moment, wherein the first moment is the moment corresponding to the audio keyframe played by the rhythm-type cloud game listened to by the client, and the second moment is the moment corresponding to the target control operation sensed by the client, wherein the target control operation is a control operation performed on a game object in the rhythm-type cloud game based on the audio keyframe; receiving a target game screen pushed by the server, wherein the target game screen is obtained according to the game screen adjustment method of the rhythm-type cloud game, the game screen adjustment method is determined based on the time recording information, and the game screen adjustment method is used to synchronously adjust the game screen display content of the rhythm-type cloud game according to the playback progress of the accompanying tracks in the rhythm-type cloud game; and displaying the target game screen.
[0006] According to one embodiment of this application, a game screen processing method is provided, comprising: acquiring time recording information stored locally on the client, wherein the time recording information is used to record multiple sets of time data within a first preset duration, each set of time data including: a first moment and a second moment, wherein the first moment is the moment corresponding to an audio keyframe played by a rhythm-type cloud game listened to by the client, and the second moment is the moment corresponding to a target control operation sensed by the client, wherein the target control operation is a control operation performed on a game object in the rhythm-type cloud game based on the audio keyframe; determining a game screen adjustment method for the rhythm-type cloud game based on the time recording information, wherein the game screen adjustment method is used to synchronously adjust the game screen display content of the rhythm-type cloud game according to the playback progress of the accompanying tracks in the rhythm-type cloud game; acquiring a target game screen to be displayed from the server according to the game screen adjustment method; receiving the target game screen pushed by the server; and displaying the target game screen. According to one embodiment of this application, a game screen processing device is also provided, comprising: a receiving module, configured to receive time recording information from a client, wherein the time recording information is used to record multiple sets of time data within a first preset duration, each set of time data including: a first moment and a second moment, wherein the first moment is the moment corresponding to an audio keyframe played by a rhythm-type cloud game monitored by the client, and the second moment is the moment corresponding to a target control operation sensed by the client, wherein the target control operation is a control operation performed on a game object within the rhythm-type cloud game based on the audio keyframe; a determining module, configured to determine a game screen adjustment method for the rhythm-type cloud game based on the time recording information, wherein the game screen adjustment method is used to synchronously adjust the game screen display content of the rhythm-type cloud game according to the playback progress of the accompanying tracks in the rhythm-type cloud game; an acquiring module, configured to acquire a target game screen to be displayed according to the game screen adjustment method; and a pushing module, configured to push the target game screen to the client.
[0007] According to one embodiment of this application, a game screen processing device is also provided, comprising: a sending module, configured to send time recording information to a server, wherein the time recording information is used to record multiple sets of time data within a first preset duration, each set of time data including: a first moment and a second moment, wherein the first moment is the moment corresponding to the audio keyframe played by the rhythm-type cloud game listened to by the client, and the second moment is the moment corresponding to the target control operation sensed by the client, wherein the target control operation is a control operation performed on a game object in the rhythm-type cloud game based on the audio keyframe; a receiving module, configured to receive a target game screen pushed by the server, wherein the target game screen is obtained according to the game screen adjustment method of the rhythm-type cloud game, the game screen adjustment method is determined based on the time recording information, and the game screen adjustment method is used to synchronously adjust the game screen display content of the rhythm-type cloud game according to the playback progress of the accompanying tracks in the rhythm-type cloud game; and a display module, configured to display the target game screen.
[0008] According to one embodiment of this application, a computer-readable storage medium is also provided, which stores a computer program, wherein the computer program is configured to execute the game screen processing method described in any of the above claims when it is run.
[0009] According to one embodiment of this application, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the game screen processing method described above.
[0010] In at least some embodiments of this application, by receiving time recording information from the client, determining the game screen adjustment method for rhythm-type cloud games based on the time recording information, obtaining the target game screen to be displayed according to the game screen adjustment method, and finally pushing the target game screen to the client, the purpose of achieving audio-visual synchronization in rhythm-type games is achieved, thereby realizing the technical effect of improving game smoothness and player gaming experience, and thus solving the technical problem of poor player gaming experience caused by audio-visual asynchrony in rhythm-type games in related technologies. Attached Figure Description
[0011] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0012] Figure 1 This is a hardware structure block diagram of a mobile terminal according to one embodiment of a game screen processing method of this application;
[0013] Figure 2This is a flowchart of a game screen processing method according to one embodiment of this application;
[0014] Figure 3 This is a flowchart of another game screen processing method according to one embodiment of this application;
[0015] Figure 4 This is a flowchart of another game screen processing method according to one embodiment of this application;
[0016] Figure 5 This is a structural block diagram of a game screen processing device according to one embodiment of this application;
[0017] Figure 6 This is a structural block diagram of another game screen processing device according to one embodiment of this application;
[0018] Figure 7 This is a structural block diagram of another game screen processing device according to one embodiment of this application;
[0019] Figure 8 This is a schematic diagram of an electronic device according to one embodiment of the present application. Detailed Implementation
[0020] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0021] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0022] First, some nouns or terms that appear in the description of the embodiments of this application shall be interpreted as follows:
[0023] Cloud gaming: Based on cloud computing technology, games are run on servers, and the rendered video footage is transmitted to terminals (including PCs, set-top boxes, mobile terminals, etc.) via the network.
[0024] In one embodiment of this application, the game screen processing method can run on a local terminal device or a server. When the game screen processing method runs on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0025] In an optional implementation, various cloud applications, such as cloud gaming, can run under the cloud interaction system. Taking cloud gaming as an example, cloud gaming refers to a gaming method based on cloud computing. In the cloud gaming operating mode, the game program and the game screen presentation are separated. The storage and execution of the game screen processing methods are completed on the cloud gaming server. The client device is used for data reception, transmission, and game screen presentation. For example, the client device can be a display device with data transmission capabilities located close to the user, such as a mobile terminal, television, computer, or PDA; however, the information processing is performed by the cloud gaming server in the cloud. When playing the game, the player operates the client device to send operation commands to the cloud gaming server. The cloud gaming server runs the game according to the operation commands, encodes and compresses the game screen and other data, returns it to the client device via the network, and finally, the client device decodes and outputs the game screen.
[0026] In an alternative implementation, taking a game as an example, the local terminal device stores the game program and is used to display the game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, conventionally downloading, installing, and running the game program via an electronic device. The local terminal device can provide the graphical user interface to the player in various ways, such as rendering it on the terminal's display screen, or providing it to the player through holographic projection.
[0027] For example, the local terminal device may be a mobile terminal, a computer terminal, or a similar computing device, and may include a display screen and a processor. The display screen is used to present a graphical user interface, which includes game graphics, and the processor is used to run the game, generate the graphical user interface, and control the display of the graphical user interface on the display screen.
[0028] Taking a mobile terminal as an example, the mobile terminal can be a smartphone, tablet computer, PDA, mobile internet device, PAD, game console, and other terminal devices. Figure 1 This is a hardware structure block diagram of a mobile terminal for a game screen processing method according to an embodiment of this application. Figure 1As shown, a mobile terminal may include one or more ( Figure 1 (Only one is shown in the image) A processor 102 and a memory 104 for storing data. Optionally, the mobile terminal may also include a transmission device 106, an input / output device 108, and a display device 110.
[0029] Those skilled in the art will understand that Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the mobile terminal described above. For example, the mobile terminal may also include components that are more... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.
[0030] According to one embodiment of this application, an embodiment of a game screen processing method is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0031] In one possible implementation, this application provides a game screen processing method that provides a graphical user interface through a terminal device, wherein the terminal device may be the aforementioned local terminal device or a client device in the aforementioned cloud interaction system. Figure 2 This is a flowchart of a game screen processing method according to one embodiment of this application, such as... Figure 2 As shown, the method includes the following steps:
[0032] Step S21: Receive time recording information from the client. The time recording information is used to record multiple sets of time data within a first preset duration. Each set of time data includes: a first moment and a second moment. The first moment is the moment corresponding to the audio key frame played by the rhythm-type cloud game that the client listens to. The second moment is the moment corresponding to the target control operation sensed by the client. The target control operation is the control operation performed on the game object in the rhythm-type cloud game based on the audio key frame.
[0033] Step S22: Determine the game screen adjustment method for rhythm-type cloud games based on time recording information. The game screen adjustment method is used to synchronously adjust the game screen display content of rhythm-type cloud games according to the playback progress of the corresponding tracks in rhythm-type cloud games.
[0034] Step S23: Obtain the target game screen to be displayed according to the game screen adjustment method;
[0035] Step S24: Push the target game screen to the client.
[0036] The aforementioned rhythm-based cloud gaming is a game format based on cloud computing technology. It offloads the game's execution and rendering tasks to cloud servers, then transmits the game's visuals and sound in real-time to the user's terminal device via the internet, allowing the user to play the game on their device. Rhythm-based cloud games are primarily music games, where players need to accurately tap, slide, or touch their terminal device in time with the music to achieve high scores. Compared to traditional game formats, rhythm-based cloud games have lower hardware requirements; users only need a terminal device with an internet connection to enjoy high-quality gameplay.
[0037] The aforementioned audio keyframes are important rhythmic moments in each song of rhythm-based cloud games, featuring distinct rhythmic cadences. They are defined by the music score creator and correspond to key keys in the score.
[0038] The first moment mentioned above refers to the moment when the client listens to the audio keyframe played by the rhythm-based cloud game. The second moment refers to the moment when the client senses the target control operation, which is a control operation performed on game objects within the rhythm-based cloud game based on the audio keyframe. For example, in a music game, when an audio keyframe is triggered, the target control operation could be the user clicking the corresponding virtual piano keys. Through precise triggering of audio keyframes, the target control operation can be closely synchronized with the music or sound effects, enhancing the game's immersion and interactivity.
[0039] Furthermore, based on the time recording information, the game screen adjustment method for rhythm-type cloud games is determined. The game screen display content is then synchronously adjusted according to the playback progress of the accompanying tracks in the rhythm-type cloud game to obtain the target game screen to be displayed. This target game screen is then pushed to the client for display. Based on steps S21 to S24 above, by receiving time recording information from the client, determining the game screen adjustment method for rhythm-type cloud games based on this information, obtaining the target game screen to be displayed according to the adjustment method, and finally pushing the target game screen to the client, the goal of achieving audio-visual synchronization in rhythm-type games is achieved. This improves game smoothness and enhances the player's gaming experience, thus solving the technical problem of poor player experience caused by audio-visual asynchrony in rhythm-type games in related technologies.
[0040] Optionally, in step S22, the game screen adjustment method for rhythm-type cloud games determined based on time recording information includes:
[0041] Step S221: Perform a weighted average calculation on multiple sets of time data in the time record information to obtain the calculation result, wherein the multiple sets of time data correspond to different weights;
[0042] Step S222: Determine the game screen adjustment method for the rhythm-type cloud game based on the calculation results. Specifically, the calculation result obtained by weighted averaging multiple sets of time data within the first preset duration can reflect the accuracy of the player's operation during this period. The game screen adjustment method is determined based on the accuracy of the operation, thereby synchronously adjusting the game screen display content of the rhythm-type cloud game according to the playback progress of the corresponding tracks in the rhythm-type cloud game.
[0043] Based on the above optional embodiments, by performing a weighted average calculation on multiple sets of time data in the time record information, the calculation result is obtained, and then the game screen adjustment method of rhythm-type cloud games is determined based on the calculation result, so that the audio and video can be more reasonably synchronized and the player's game experience can be further improved.
[0044] Optionally, in step S221, a weighted average is calculated on multiple sets of time data in the time record information to obtain the calculation results, including:
[0045] Step S2211: Calculate the difference between the first moment and the second moment recorded in multiple sets of time data to obtain the time difference corresponding to multiple sets of time data;
[0046] Step S2212: Based on the beat and / or rhythm represented by the audio keyframe corresponding to the first moment, determine the weights corresponding to multiple sets of time data.
[0047] Step S2213: Calculate the weighted average of the time differences and weights corresponding to the multiple sets of time data to obtain the calculation result.
[0048] Specifically, for the first moment V recorded in n sets of time data within the first preset time period t... t With the second moment C t Perform difference calculations to obtain the time difference X corresponding to n sets of time data. j , where X j =V t -C t j = 1, 2, 3, ..., n, and then based on the beat and / or rhythm represented by the audio keyframes corresponding to the first moment, determine the weights W corresponding to multiple sets of time data. j That is, the player's multiple actions are recorded within a first preset time period t, so as to minimize the influence of the player's own ability. The value of the time difference can be positive or negative.
[0049] The audio keyframes corresponding to the first moment mentioned above represent beats that can be single beats or long beats. A single beat refers to a basic beat in audio, usually represented by a pulse or a short sound. In music, a single beat typically corresponds to the duration of one beat. A long beat refers to an extended beat in audio, usually represented by a longer sound. In music, a long beat is usually twice the duration of a single beat or longer. In beat analysis, audio keyframes typically refer to the beat points in the audio, i.e., the positions of single beats or long beats. By identifying audio keyframes, the rhythm and tempo of the audio can be determined.
[0050] The rhythm represented by the audio keyframes corresponding to the first moment can include choruses, loops, etc. A chorus is a recurring part of a song, usually appearing after each stanza or at intervals. The chorus typically has a clear melody and lyrics, is the climax of the song, and is the easiest part for listeners to remember. A loop refers to the repetition of a certain part of the song; it can be the entire chorus or a specific melody, chord progression, etc. Through loops, the song can form a repetitive structure, increasing listener familiarity and memorability. A weighted average is calculated by considering the time differences and weights of multiple sets of time data. The initial beat of a long beat and the initial beat of the chorus have higher weights, while single beats and rhythm points have lower weights; that is, the starting beat has a higher weight than the intermediate beats.
[0051] For example, based on the beat and / or rhythm represented by the audio keyframe corresponding to the first moment, the weights W corresponding to multiple sets of time data are determined. j j = 1, 2, 3, ..., n, where: the time difference X1 of a single beat node corresponds to a weight of W1; the time difference X2 of a long beat initial node corresponds to a weight of W2; the time difference X3 of a long beat variation node corresponds to a weight of W3; the time difference X4 of a chorus initial beat node corresponds to a weight of W4; the time difference X5 of a loop initial beat node corresponds to a weight of W5; ... the time difference X of the remaining beats j The corresponding weight is W j The weighted average of the time differences and weights corresponding to multiple sets of time data is calculated to obtain the final result.
[0052] Based on the above optional embodiments, by calculating the difference between the first moment and the second moment recorded in multiple sets of time data, the time difference corresponding to multiple sets of time data is obtained. Then, based on the beat and / or rhythm represented by the audio keyframe corresponding to the first moment, the weights corresponding to multiple sets of time data are determined. Finally, a weighted average is calculated on the time difference and the weights corresponding to multiple sets of time data, which can quickly obtain the calculation results. This can be used to determine the game screen adjustment method for rhythm-type cloud games, thereby improving the player's gaming experience.
[0053] Optionally, in step S222, determining the game screen adjustment method for rhythm-type cloud games based on the calculation results includes:
[0054] Step S2221: Compare the calculation result with the first value range to obtain the comparison result, wherein the first value range is determined by the rhythm of the matching track in the rhythm type cloud game;
[0055] Step S2222: Determine the game screen adjustment method for the rhythm-based cloud game based on the comparison results. Specifically, the aforementioned first value range P is determined by the rhythm of the accompanying tracks in the rhythm-based cloud game. Each track has a different rhythm, resulting in a different first value range P. The first value range varies for different tracks and different difficulties, and is determined by the score editor and adjusted based on actual player data. The size of the first value range P is related to the track difficulty; the more difficult the track, the larger the P range. The overall upper limit of the P range is controlled between 300 milliseconds and 1 second, i.e., the first value range P(0ms, 300 / 1000ms). Further, determine the game screen adjustment method for the rhythm-based cloud game based on the comparison results. According to the track difficulty and rhythm speed, the initial P range is manually determined by the score editor, and the P range will be adjusted based on user data feedback. Overall, the faster and more difficult the track, the larger the P range; the easier and slower the track, the smaller the P range.
[0056] Based on the above optional embodiments, a comparison result is obtained by comparing the calculation result with a first value range, wherein the first value range is determined by the rhythm of the accompanying tracks in the rhythm-type cloud game. Then, based on the comparison result, the game screen adjustment method for the rhythm-type cloud game is quickly determined, thereby quickly achieving audio-visual synchronization of the game. Optionally, in step S2222, determining the game screen adjustment method for the rhythm-type cloud game based on the comparison result includes:
[0057] Step S22221: In response to determining that the calculation result is within the first value range through comparison results, the game screen speed change trend of the rhythm type cloud game is determined based on the calculation sign of the calculation result, and the game screen speed change amplitude of the rhythm type cloud game is determined based on the calculation value of the calculation result.
[0058] Step S22222: Determine the game screen adjustment method by utilizing the game screen speed change trend and the game screen speed change range.
[0059] When the calculation result When the value is within the first range, based on the calculation result The computational symbols determine the tempo variation trend of the game screen in rhythm-type cloud games, and the computational results are used to determine the tempo variation trend. The calculated values determine the speed variation of the game screen in rhythm-type cloud games. Specifically, when the calculation results... When the calculation sign is positive, the game screen speed-up trend of the rhythm type cloud game is determined to be deceleration; when the calculation result... When the calculation sign is negative, the game screen speed-up trend for determining the rhythm type cloud game is acceleration. If the player's control action occurs late, the calculation result is negative, indicating that the player's screen may be slow. In this case, the video will be briefly accelerated until the correct audio-visual rhythm is reached. Conversely, if the player's control action occurs early, the calculation result is positive, indicating that the player's screen may be fast. In this case, the video will be briefly decelerated until the correct audio-visual rhythm is reached.
[0060] Furthermore, by utilizing the trend and magnitude of game screen speed changes, the game screen adjustment method can be determined, thereby enabling rapid synchronization of game audio and video.
[0061] For example, since the calculation result is within the first value range, it means that the visual impact on the player is relatively small at this time, so an adjustment method with less interruption is needed. The acceleration process at this time is a gradual acceleration to normal speed, with the acceleration changing according to a specific negative x-power function curve, and the acceleration is decreasing.
[0062] Based on the above optional embodiments, when the calculation result is determined to be within the first value range through comparison, the game screen speed-up trend of the rhythm-type cloud game is determined based on the calculation sign of the calculation result, and the game screen speed-up amplitude of the rhythm-type cloud game is determined based on the calculation value of the calculation result. Then, the game screen adjustment method is determined using the game screen speed-up trend and the game screen speed-up amplitude, thereby enabling rapid synchronization of the game's audio and video. Optionally, in step S2222, determining the game screen adjustment method of the rhythm-type cloud game based on the comparison result includes:
[0063] Step S22223: In response to determining through comparison that the calculation result exceeds the first value range and the calculation result is within the second value range, the game screen speed change trend of the rhythm-type cloud game is determined based on the calculation sign of the calculation result, the game screen speed change amplitude of the rhythm-type cloud game is determined based on the calculation value of the calculation result, and control instructions are determined based on the comparison result. The control instructions are used to control the client to provide rhythm enhancement assistance and game screen visual effects assistance for the corresponding tracks in the rhythm-type cloud game within a second preset time.
[0064] Step S22224: Determine the game screen adjustment method by utilizing the game screen speed change trend, the game screen speed change range, and control commands.
[0065] When the calculation result When the value exceeds the first range but the calculation result falls within the second range, i.e., the calculation result... When the value exceeds the first range but not by much, the result is based on the calculation. The computational symbols determine the tempo variation trend of the game screen in rhythm-type cloud games, and the computational results are used to determine the tempo variation trend. The calculated values determine the speed variation of the game screen in rhythm-type cloud games. Specifically, when the calculation results... When the calculation sign is positive, the game screen speed-up trend of the rhythm type cloud game is determined to be deceleration; when the calculation result... When the calculation sign is negative, the speed change trend of the game screen in the rhythm type cloud game is determined to be acceleration.
[0066] The calculation results determine the speed variation of the game screen in the rhythm type cloud game and the control instructions are determined based on the comparison results. That is, after the first preset duration t ends, the second preset duration begins. The second preset duration is the correction time. During the correction time, the rhythm of the music will be enhanced. After the correction time ends, the accelerated / decelerated screen is pushed to the client in real time according to the positive or negative of the calculation result.
[0067] For example, ways to enhance the rhythm of music include, but are not limited to, enabling client-side sound filters to enhance the performance of key beats in the music, thereby providing rhythm enhancement assistance for the accompanying tracks and making the music clearer for players; and playing specific user interface effects to assist in the visual effects of the game screen.
[0068] Based on the above optional embodiments, when it is determined by comparison that the calculation result exceeds the first value range and the calculation result is within the second value range, the game screen speed change trend of the rhythm-type cloud game is determined based on the calculation sign of the calculation result, the game screen speed change amplitude of the rhythm-type cloud game is determined based on the calculation value of the calculation result, and the control command is determined based on the comparison result. Finally, the game screen speed change trend, the game screen speed change amplitude, and the control command are used to determine the game screen adjustment method, thereby enabling the game audio and video to be quickly synchronized.
[0069] Optionally, in step S2222, determining the game screen adjustment method for rhythm-type cloud games based on the comparison results includes:
[0070] Step S22225: In response to determining through comparison that the calculation result exceeds the second value range, obtain the game screen to be displayed at the current moment;
[0071] Step S22226: Determine the game screen adjustment method using the game screen to be displayed.
[0072] When the calculation result When the value exceeds the second range, i.e., the calculation result... If the delay exceeds the first value range by a significant amount, it is determined that the current audio-visual latency is too high, and the video and audio can be switched directly to push the latest server-side audio and video. Based on the above optional embodiment, when the calculation result is determined to exceed the second value range through comparison, the game screen to be displayed at the current moment is obtained, and then the game screen adjustment method is determined using the game screen to be displayed, thereby enabling the game audio and video to be quickly synchronized.
[0073] Optionally, the game screen processing method in this application embodiment further includes: pushing the audio frame to be played from the matching track of the rhythm-type cloud game that matches the target game screen to the client.
[0074] Figure 3 This is a flowchart of another game screen processing method according to one embodiment of this application, such as... Figure 3 As shown, the method includes the following steps:
[0075] Step S31: Send time recording information to the server. The time recording information is used to record multiple sets of time data within a first preset duration. Each set of time data includes a first moment and a second moment. The first moment is the moment corresponding to the audio key frame played by the rhythm-type cloud game that the client listens to. The second moment is the moment corresponding to the target control operation sensed by the client. The target control operation is the control operation performed on the game object in the rhythm-type cloud game based on the audio key frame.
[0076] Step S32: Receive the target game screen pushed by the server. The target game screen is obtained according to the game screen adjustment method of rhythm-type cloud games. The game screen adjustment method is determined based on time record information. The game screen adjustment method is used to synchronously adjust the game screen display content of rhythm-type cloud games according to the playback progress of the corresponding tracks in rhythm-type cloud games.
[0077] Step S33: Display the target game screen.
[0078] Based on the above steps S31 to S33, by sending time record information to the server, receiving the target game screen pushed by the server, and finally displaying the target game screen, the goal of achieving audio-visual synchronization in rhythm games is achieved. This achieves the technical effect of improving game smoothness and enhancing the player's gaming experience, thereby solving the technical problem of poor player gaming experience caused by audio-visual asynchrony in rhythm games in related technologies.
[0079] Figure 4 This is a flowchart of another game screen processing method according to one embodiment of this application, such as... Figure 4 As shown, the method includes the following steps:
[0080] Step S41: Obtain time record information stored locally on the client. The time record information is used to record multiple sets of time data within a first preset duration. Each set of time data includes: a first moment and a second moment. The first moment is the moment corresponding to the audio key frame played by the rhythm-type cloud game that the client listens to. The second moment is the moment corresponding to the target control operation sensed by the client. The target control operation is the control operation performed on the game object in the rhythm-type cloud game based on the audio key frame.
[0081] Step S42: Determine the game screen adjustment method for rhythm-type cloud games based on time recording information. The game screen adjustment method is used to synchronously adjust the game screen display content of rhythm-type cloud games according to the playback progress of the corresponding tracks in rhythm-type cloud games.
[0082] Step S43: Obtain the target game screen to be displayed from the server according to the game screen adjustment method; Step S44: Receive the target game screen pushed by the server.
[0083] Step S45: Display the target game screen.
[0084] Based on steps S41 to S45 above, by obtaining the time record information stored locally on the client, the game screen adjustment method for rhythm-type cloud games is determined based on the time record information. Then, according to the game screen adjustment method, the target game screen to be displayed is obtained from the server, the target game screen pushed by the server is received, and finally the target game screen is displayed. This achieves the goal of synchronizing the audio and video in rhythm-type games, thereby improving the game smoothness and enhancing the player's gaming experience. It also solves the technical problem of poor player gaming experience caused by audio and video asynchrony in rhythm-type games in related technologies.
[0085] The game screen processing method proposed in this application can effectively solve the problems of audio-visual asynchrony and operation feel in rhythm-based cloud games under controllable latency, while reducing the number of screen jumps and cuts, and maximizing the smooth audio experience on the client. If the player triggers push adjustments due to their own operation without audio-visual issues, no screen abnormalities will occur, further ensuring that the player has a good gaming experience.
[0086] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to 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 this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0087] This embodiment also provides a game screen processing device for implementing the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0088] Figure 5 This is a structural block diagram of a game screen processing device according to one embodiment of this application, such as... Figure 5 As shown, the device includes:
[0089] The receiving module 501 is used to receive time recording information from the client. The time recording information is used to record multiple sets of time data within a first preset duration. Each set of time data includes a first moment and a second moment. The first moment is the moment corresponding to the audio key frame played by the rhythm-type cloud game that the client listens to. The second moment is the moment corresponding to the target control operation sensed by the client. The target control operation is the control operation performed on the game object in the rhythm-type cloud game based on the audio key frame.
[0090] The determination module 502 is used to determine the game screen adjustment method of the rhythm type cloud game based on the time recording information. The game screen adjustment method is used to synchronously adjust the game screen display content of the rhythm type cloud game according to the playback progress of the corresponding songs in the rhythm type cloud game.
[0091] The acquisition module 503 is used to acquire the target game screen to be displayed according to the game screen adjustment method; the push module 504 is used to push the target game screen to the client.
[0092] Optionally, the determining module 502 is also used to: perform a weighted average calculation on multiple sets of time data in the time record information to obtain a calculation result, wherein the multiple sets of time data correspond to different weights; and determine the game screen adjustment method for rhythm-type cloud games based on the calculation result.
[0093] Optionally, the determining module 502 is further configured to: calculate the difference between the first moment and the second moment recorded in the multiple sets of time data to obtain the time difference corresponding to the multiple sets of time data; determine the weights corresponding to the multiple sets of time data based on the beat and / or rhythm represented by the audio keyframe corresponding to the first moment; and perform a weighted average calculation on the time difference and the weights corresponding to the multiple sets of time data to obtain the calculation result.
[0094] Optionally, the determining module 502 is further configured to: compare the calculation result with a first value range to obtain a comparison result, wherein the first value range is determined by the rhythm of the accompanying track in the rhythm-type cloud game; and determine the game screen adjustment method of the rhythm-type cloud game based on the comparison result.
[0095] Optionally, the determining module 502 is further configured to: in response to determining that the calculation result is within a first value range through comparison results, determine the game screen speed change trend of the rhythm-type cloud game based on the calculation sign of the calculation result, and determine the game screen speed change amplitude of the rhythm-type cloud game based on the calculation value of the calculation result; and determine the game screen adjustment method using the game screen speed change trend and the game screen speed change amplitude.
[0096] Optionally, the determining module 502 is further configured to: in response to determining, through comparison, that the calculation result exceeds a first value range and the calculation result is within a second value range, determine the game screen speed-up trend of the rhythm-type cloud game based on the calculation sign of the calculation result, determine the game screen speed-up amplitude of the rhythm-type cloud game based on the calculation value of the calculation result, and determine control instructions based on the comparison result, wherein the control instructions are used to control the client to provide rhythm enhancement assistance and game screen visual effects assistance for the corresponding tracks in the rhythm-type cloud game within a second preset duration; and determine the game screen adjustment method using the game screen speed-up trend, the game screen speed-up amplitude, and the control instructions. Optionally, the determining module 502 is further configured to: in response to determining, through comparison, that the calculation result exceeds a second value range, obtain the game screen to be displayed at the current moment; and determine the game screen adjustment method using the game screen to be displayed.
[0097] Optionally, the push module 504 is also used to push the audio frames to be played from the accompanying tracks of rhythm-type cloud games that match the target game screen to the client.
[0098] Figure 6 This is a structural block diagram of another game screen processing device according to one embodiment of this application, such as... Figure 6 As shown, the device includes:
[0099] The sending module 601 is used to send time recording information to the server. The time recording information is used to record multiple sets of time data within a first preset duration. Each set of time data includes a first moment and a second moment. The first moment is the moment corresponding to the audio key frame played by the rhythm-type cloud game that the client listens to. The second moment is the moment corresponding to the target control operation sensed by the client. The target control operation is the control operation performed on the game object in the rhythm-type cloud game based on the audio key frame.
[0100] The receiving module 602 is used to receive the target game screen pushed by the server. The target game screen is obtained according to the game screen adjustment method of the rhythm type cloud game. The game screen adjustment method is determined based on time record information. The game screen adjustment method is used to synchronously adjust the game screen display content of the rhythm type cloud game according to the playback progress of the corresponding track in the rhythm type cloud game.
[0101] Display module 603 is used to display the target game screen.
[0102] Figure 7 This is a structural block diagram of another game screen processing device according to one embodiment of this application, such as... Figure 7 As shown, the device includes:
[0103] The first acquisition module 701 is used to acquire time record information stored locally on the client. The time record information is used to record multiple sets of time data within a first preset duration. Each set of time data includes a first moment and a second moment. The first moment is the moment corresponding to the audio keyframe played by the rhythm-type cloud game that the client listens to. The second moment is the moment corresponding to the target control operation sensed by the client. The target control operation is a control operation performed on the game object in the rhythm-type cloud game based on the audio keyframe. The determination module 702 is used to determine the game screen adjustment method of the rhythm-type cloud game based on the time record information. The game screen adjustment method is used to synchronously adjust the game screen display content of the rhythm-type cloud game according to the playback progress of the accompanying tracks in the rhythm-type cloud game.
[0104] The second acquisition module 703 is used to acquire the target game screen to be displayed from the server according to the game screen adjustment method;
[0105] The receiving module 704 is used to receive the target game screen pushed by the server.
[0106] Display module 705 is used to display the target game screen.
[0107] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.
[0108] Embodiments of this application also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the steps in any of the above method embodiments when run.
[0109] Optionally, in this embodiment, the computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk. Optionally, in this embodiment, the computer-readable storage medium may be located in any computer terminal within a group of computer terminals in a computer network, or in any mobile terminal within a group of mobile terminals. Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:
[0110] S1, receive time recording information from the client, wherein the time recording information is used to record multiple sets of time data within a first preset duration, each set of time data includes: a first moment and a second moment, the first moment is the moment corresponding to the audio key frame played by the rhythm-type cloud game listened to by the client, and the second moment is the moment corresponding to the target control operation sensed by the client, the target control operation is the control operation performed on the game object in the rhythm-type cloud game based on the audio key frame;
[0111] S2, determine the game screen adjustment method for rhythm-type cloud games based on time recording information, wherein the game screen adjustment method is used to synchronously adjust the game screen display content of rhythm-type cloud games according to the playback progress of the accompanying tracks in rhythm-type cloud games;
[0112] S3: Obtain the target game screen to be displayed according to the game screen adjustment method;
[0113] S4 pushes the target game screen to the client.
[0114] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:
[0115] S1, send time recording information to the server. The time recording information is used to record multiple sets of time data within a first preset duration. Each set of time data includes: a first moment and a second moment. The first moment is the moment corresponding to the audio key frame played by the rhythm-type cloud game that the client listens to. The second moment is the moment corresponding to the target control operation sensed by the client. The target control operation is the control operation performed on the game object in the rhythm-type cloud game based on the audio key frame.
[0116] S2, receive the target game screen pushed by the server. The target game screen is obtained according to the game screen adjustment method of rhythm-type cloud games. The game screen adjustment method is determined based on time record information. The game screen adjustment method is used to synchronously adjust the game screen display content of rhythm-type cloud games according to the playback progress of the corresponding tracks in rhythm-type cloud games.
[0117] S3 displays the target game screen.
[0118] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:
[0119] S1, obtain the time record information stored locally on the client, wherein the time record information is used to record multiple sets of time data within a first preset duration. Each set of time data includes: a first moment and a second moment. The first moment is the moment corresponding to the audio key frame played by the rhythm-type cloud game that the client listens to. The second moment is the moment corresponding to the target control operation sensed by the client. The target control operation is the control operation performed on the game object in the rhythm-type cloud game based on the audio key frame.
[0120] S2, determine the game screen adjustment method for rhythm-type cloud games based on time recording information, wherein the game screen adjustment method is used to synchronously adjust the game screen display content of rhythm-type cloud games according to the playback progress of the accompanying tracks in rhythm-type cloud games;
[0121] S3, according to the game screen adjustment method, obtains the target game screen to be displayed from the server;
[0122] S4 receives the target game screen pushed by the server;
[0123] S5 displays the target game screen.
[0124] Optionally, the aforementioned computer-readable storage medium is further configured to store program code for performing the following steps: performing a weighted average calculation on multiple sets of time data in the time recording information to obtain a calculation result, wherein the multiple sets of time data correspond to different weights; determining the game screen adjustment method for rhythm-type cloud games based on the calculation result. Optionally, the aforementioned computer-readable storage medium is further configured to store program code for performing the following steps: calculating the difference between a first moment and a second moment recorded in the multiple sets of time data to obtain the time difference corresponding to the multiple sets of time data; determining the weights corresponding to the multiple sets of time data based on the beat and / or rhythm represented by the audio keyframe corresponding to the first moment; performing a weighted average calculation on the time difference and the weights corresponding to the multiple sets of time data to obtain a calculation result.
[0125] Optionally, the aforementioned computer-readable storage medium is further configured to store program code for performing the following steps: comparing the calculation result with a first value range to obtain a comparison result, wherein the first value range is determined by the rhythm of the accompanying track in the rhythm-type cloud game; and determining the game screen adjustment method of the rhythm-type cloud game based on the comparison result.
[0126] Optionally, the aforementioned computer-readable storage medium is further configured to store program code for performing the following steps: in response to determining that the calculation result is within a first value range through comparison results, determining the game screen speed change trend of the rhythm-type cloud game based on the calculation sign of the calculation result, and determining the game screen speed change amplitude of the rhythm-type cloud game based on the calculation value of the calculation result; and determining the game screen adjustment method using the game screen speed change trend and the game screen speed change amplitude.
[0127] Optionally, the aforementioned computer-readable storage medium is further configured to store program code for performing the following steps: in response to determining, through comparison, that the calculation result exceeds a first value range and the calculation result is within a second value range, determining the game screen speed-up trend of the rhythm-type cloud game based on the calculation sign of the calculation result, determining the game screen speed-up amplitude of the rhythm-type cloud game based on the calculation value of the calculation result, and determining control instructions based on the comparison result, wherein the control instructions are used to control the client to provide rhythm enhancement assistance and game screen visual effects assistance for the corresponding tracks in the rhythm-type cloud game within a second preset duration; and determining the game screen adjustment method using the game screen speed-up trend, the game screen speed-up amplitude, and the control instructions.
[0128] Optionally, the aforementioned computer-readable storage medium is further configured to store program code for performing the following steps: in response to determining, through comparison, that the calculation result exceeds a second value range, obtaining the game screen to be displayed at the current moment; and using the game screen to be displayed, determining the game screen adjustment method.
[0129] Optionally, the aforementioned computer-readable storage medium is further configured to store program code for performing the following steps: pushing the audio frame to be played from the accompanying track of the rhythm-type cloud game, which matches the target game screen, to the client. In the computer-readable storage medium of this embodiment, by receiving time recording information from the client, determining the game screen adjustment method of the rhythm-type cloud game based on the time recording information, then obtaining the target game screen to be displayed according to the game screen adjustment method, and finally pushing the target game screen to the client, the purpose of achieving audio-visual synchronization in the rhythm-type game is achieved. This achieves the technical effect of improving game smoothness and enhancing the player's gaming experience, thereby solving the technical problem of poor player gaming experience caused by audio-visual asynchrony in rhythm-type games in related technologies.
[0130] Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this application can be embodied in the form of a software product, which can be stored in a computer-readable storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, terminal device, or network device, etc.) to execute the methods according to the embodiments of this application.
[0131] In exemplary embodiments of this application, a computer-readable storage medium stores a program product capable of implementing the methods described above in this embodiment. In some possible implementations, various aspects of the embodiments of this application may also be implemented as a program product including program code, which, when the program product is run on a terminal device, causes the terminal device to perform the steps described in the "Exemplary Methods" section of this embodiment according to various exemplary embodiments of this application.
[0132] The program product for implementing the above-described method according to embodiments of this application may employ a portable compact disc read-only memory (CD-ROM) and include program code, and may run on a terminal device, such as a personal computer. However, the program product of the embodiments of this application is not limited thereto. In the embodiments of this application, the computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.
[0133] The aforementioned program product can take the form of any combination of one or more computer-readable media. Such computer-readable storage media may be, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any combination thereof. More specific examples of computer-readable storage media (not an exhaustive list) include: electrical connections having one or more wires, portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. It should be noted that program code contained on a computer-readable storage medium can be transmitted using any suitable medium, including but not limited to wireless, wired, optical fiber, RF, etc., or any suitable combination thereof. Embodiments of this application also provide an electronic device including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to perform the steps in any of the method embodiments described above.
[0134] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.
[0135] Optionally, in this embodiment, the processor can be configured to execute the following steps via a computer program: S1, receiving time recording information from the client, wherein the time recording information is used to record multiple sets of time data within a first preset duration, each set of time data includes: a first moment and a second moment, the first moment being the moment corresponding to the audio key frame played by the rhythm-type cloud game listened to by the client, and the second moment being the moment corresponding to the target control operation sensed by the client, the target control operation being a control operation performed on the game object in the rhythm-type cloud game based on the audio key frame;
[0136] S2, determine the game screen adjustment method for rhythm-type cloud games based on time recording information, wherein the game screen adjustment method is used to synchronously adjust the game screen display content of rhythm-type cloud games according to the playback progress of the accompanying tracks in rhythm-type cloud games;
[0137] S3: Obtain the target game screen to be displayed according to the game screen adjustment method;
[0138] S4 pushes the target game screen to the client.
[0139] Optionally, in this embodiment, the processor can be configured to execute the following steps through a computer program: S1, sending time recording information to the server, wherein the time recording information is used to record multiple sets of time data within a first preset duration, each set of time data includes: a first moment and a second moment, the first moment being the moment corresponding to the audio key frame played by the rhythm-type cloud game listened to by the client, and the second moment being the moment corresponding to the target control operation sensed by the client, the target control operation being a control operation performed on the game object in the rhythm-type cloud game based on the audio key frame;
[0140] S2, receive the target game screen pushed by the server. The target game screen is obtained according to the game screen adjustment method of rhythm-type cloud games. The game screen adjustment method is determined based on time record information. The game screen adjustment method is used to synchronously adjust the game screen display content of rhythm-type cloud games according to the playback progress of the corresponding tracks in rhythm-type cloud games.
[0141] S3 displays the target game screen.
[0142] Optionally, in this embodiment, the processor can be configured to execute the following steps through a computer program: S1, obtain time recording information stored locally on the client, wherein the time recording information is used to record multiple sets of time data within a first preset duration, each set of time data includes: a first moment and a second moment, the first moment being the moment corresponding to the audio key frame played by the rhythm-type cloud game listened to by the client, and the second moment being the moment corresponding to the target control operation sensed by the client, the target control operation being a control operation performed on the game object in the rhythm-type cloud game based on the audio key frame;
[0143] S2, determine the game screen adjustment method for rhythm-type cloud games based on time recording information, wherein the game screen adjustment method is used to synchronously adjust the game screen display content of rhythm-type cloud games according to the playback progress of the accompanying tracks in rhythm-type cloud games;
[0144] S3, according to the game screen adjustment method, obtains the target game screen to be displayed from the server;
[0145] S4 receives the target game screen pushed by the server;
[0146] S5 displays the target game screen.
[0147] Optionally, the processor may also be configured to perform the following steps via a computer program: perform a weighted average calculation on multiple sets of time data in the time recording information to obtain a calculation result, wherein the multiple sets of time data correspond to different weights; determine the game screen adjustment method for rhythm-based cloud games based on the calculation result. Optionally, the processor may also be configured to perform the following steps via a computer program: calculate the difference between the first moment and the second moment recorded in the multiple sets of time data to obtain the time difference corresponding to the multiple sets of time data; determine the weights corresponding to the multiple sets of time data based on the beat and / or rhythm represented by the audio keyframe corresponding to the first moment; perform a weighted average calculation on the time difference and the weights corresponding to the multiple sets of time data to obtain a calculation result.
[0148] Optionally, the processor may also be configured to perform the following steps via a computer program: comparing the calculation result with a first value range to obtain a comparison result, wherein the first value range is determined by the rhythm of the accompanying track in the rhythm-type cloud game; and determining the game screen adjustment method for the rhythm-type cloud game based on the comparison result. Optionally, the processor may also be configured to perform the following steps via a computer program: in response to determining that the calculation result falls within the first value range through the comparison result, determining the game screen speed-up trend of the rhythm-type cloud game based on the calculation sign of the calculation result, and determining the game screen speed-up magnitude of the rhythm-type cloud game based on the calculation value of the calculation result; and determining the game screen adjustment method using the game screen speed-up trend and the game screen speed-up magnitude.
[0149] Optionally, the processor may also be configured to perform the following steps via a computer program: in response to determining, through comparison, that the calculation result exceeds a first value range and the calculation result is within a second value range, determining the game screen speed-up trend of the rhythm-type cloud game based on the calculation sign of the calculation result, determining the game screen speed-up amplitude of the rhythm-type cloud game based on the calculation value of the calculation result, and determining control instructions based on the comparison result, wherein the control instructions are used to control the client to provide rhythm enhancement assistance and game screen visual effects assistance for the corresponding tracks in the rhythm-type cloud game within a second preset duration; and determining the game screen adjustment method using the game screen speed-up trend, the game screen speed-up amplitude, and the control instructions.
[0150] Optionally, the processor may also be configured to perform the following steps via a computer program: in response to determining, through comparison, that the calculation result exceeds the second value range, acquiring the game screen to be displayed at the current moment; and using the game screen to be displayed, determining the game screen adjustment method.
[0151] Optionally, the processor can also be configured to execute the following steps via a computer program: pushing the audio frame to be played from the accompanying track of the rhythm-type cloud game that matches the target game screen to the client. In the electronic device of this embodiment, by receiving time recording information from the client, determining the game screen adjustment method of the rhythm-type cloud game based on the time recording information, then obtaining the target game screen to be displayed according to the game screen adjustment method, and finally pushing the target game screen to the client, the purpose of achieving audio-visual synchronization in the rhythm-type game is achieved, thereby realizing the technical effect of improving game smoothness and enhancing the player's gaming experience, and thus solving the technical problem of poor player gaming experience caused by audio-visual asynchrony in rhythm-type games in related technologies. Figure 8 This is a schematic diagram of an electronic device according to an embodiment of this application. Figure 8 As shown, the electronic device 800 is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.
[0152] like Figure 8 As shown, the electronic device 800 is presented in the form of a general-purpose computing device. The components of the electronic device 800 may include, but are not limited to: at least one processor 810, at least one memory 820, a bus 830 connecting different system components (including memory 820 and processor 810), and a display 840.
[0153] The memory 820 stores program code that can be executed by the processor 810, causing the processor 810 to perform the steps described in the method section of the embodiments of this application according to various exemplary implementations of this application.
[0154] The memory 820 may include a readable medium in the form of volatile memory cells, such as random access memory (RAM) 8201 and / or cache memory 8202, and may further include read-only memory (ROM) 8203, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory.
[0155] In some instances, memory 820 may also include a program / utility 8204 having a set (at least one) of program modules 8205, including but not limited to: an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. Memory 820 may further include memory remotely located relative to processor 810, which can be connected to electronic device 800 via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0156] Bus 830 can represent one or more of several types of bus structures, including a memory cell bus or memory cell controller, peripheral bus, graphics acceleration port, processor 810, or a local bus using any of the various bus structures.
[0157] The display 840 may be, for example, a touchscreen liquid crystal display (LCD) that allows a user to interact with the user interface of the electronic device 800.
[0158] Optionally, the electronic device 800 can also communicate with one or more external devices 900 (e.g., keyboard, pointing device, Bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 800, and / or any device that enables the electronic device 800 to communicate with one or more other computing devices (e.g., router, modem, etc.). This communication can be performed via the input / output (I / O) interface 850. Furthermore, the electronic device 800 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via a network adapter 860. Figure 8 As shown, network adapter 860 communicates with other modules of electronic device 800 via bus 830. It should be understood that, although... Figure 8 As not shown, other hardware and / or software modules may be used in conjunction with electronic device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0159] The aforementioned electronic device 800 may also include: a keyboard, a cursor control device (such as a mouse), an input / output interface (I / O interface), a network interface, a power supply, and / or a camera.
[0160] Those skilled in the art will understand that Figure 8 The structure shown is for illustrative purposes only and does not limit the structure of the electronic device described above. For example, the electronic device 800 may also include components that are more... Figure 8 The more or fewer components shown, or having the same Figure 1 Different configurations are shown. The memory 820 can be used to store computer programs and corresponding data, such as the computer program and corresponding data corresponding to the game screen processing method in this embodiment. The processor 810 executes various functional applications and data processing by running the computer program stored in the memory 820, thereby implementing the aforementioned game screen processing method.
[0161] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0162] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0163] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.
[0164] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0165] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes: USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, optical disks, and other media capable of storing program code.
[0166] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A method for processing game graphics, characterized in that, include: Receive time recording information from the client, wherein the time recording information is used to record multiple sets of time data within a first preset duration, each set of time data includes: a first moment and a second moment, the first moment being the moment corresponding to the audio keyframe played by the rhythm-type cloud game listened to by the client, and the second moment being the moment corresponding to the target control operation sensed by the client, wherein the target control operation is a control operation performed on the game object in the rhythm-type cloud game based on the audio keyframe; Based on the time recording information, the game screen adjustment method of the rhythm-type cloud game is determined, wherein the game screen adjustment method is used to synchronously adjust the game screen display content of the rhythm-type cloud game according to the playback progress of the accompanying tracks in the rhythm-type cloud game; Obtain the target game screen to be displayed according to the game screen adjustment method described above; The target game screen is pushed to the client.
2. The game screen processing method according to claim 1, characterized in that, The game screen adjustment method for the rhythm-type cloud game determined based on the time recording information includes: A weighted average is calculated on the multiple sets of time data in the time record information to obtain the calculation result, wherein the multiple sets of time data correspond to different weights; Based on the calculation results, the game screen adjustment method for the rhythm-type cloud game is determined.
3. The game screen processing method according to claim 2, characterized in that, The weighted average of the multiple sets of time data in the time record information is calculated to obtain the calculation result, which includes: The time difference is obtained by calculating the difference between the first moment and the second moment recorded in the multiple sets of time data; Based on the beat and / or rhythm represented by the audio keyframe corresponding to the first moment, determine the weights corresponding to the multiple sets of time data; The calculation result is obtained by performing a weighted average calculation on the time difference and the weight corresponding to the multiple sets of time data.
4. The game screen processing method according to claim 2, characterized in that, Based on the calculation results, the game screen adjustment method for the rhythm-type cloud game includes: The calculation result is compared with the first value range to obtain a comparison result, wherein the first value range is determined by the rhythm of the accompanying track in the rhythm type cloud game; Based on the comparison results, the game screen adjustment method for the rhythm-type cloud game is determined.
5. The game screen processing method according to claim 4, characterized in that, Based on the comparison results, the game screen adjustment method for the rhythm-based cloud game includes: In response to determining that the calculation result is within the first value range through the comparison result, the game screen speed change trend of the rhythm-type cloud game is determined based on the calculation sign of the calculation result, and the game screen speed change amplitude of the rhythm-type cloud game is determined based on the calculation value of the calculation result. The game screen adjustment method is determined by using the game screen speed change trend and the game screen speed change range.
6. The game screen processing method according to claim 5, characterized in that, Based on the comparison results, the game screen adjustment method for the rhythm-based cloud game includes: In response to determining, through the comparison result, that the calculation result exceeds the first value range and the calculation result is within the second value range, the game screen speed-changing trend of the rhythm-type cloud game is determined based on the calculation sign of the calculation result, the game screen speed-changing amplitude of the rhythm-type cloud game is determined based on the calculation value of the calculation result, and a control instruction is determined based on the comparison result, wherein the control instruction is used to control the client to provide rhythm enhancement assistance and game screen visual effects assistance for the matching tracks in the rhythm-type cloud game within a second preset duration; The game screen adjustment method is determined by using the game screen speed change trend, the game screen speed change range, and the control commands.
7. The game screen processing method according to claim 6, characterized in that, Based on the comparison results, the game screen adjustment method for the rhythm-based cloud game includes: In response to determining, through the comparison result, that the calculation result exceeds the second value range, the game screen to be displayed at the current moment is obtained; Using the game screen to be displayed, determine the game screen adjustment method.
8. The game screen processing method according to claim 1, characterized in that, The game screen processing method also includes: The audio frames to be played from the music tracks of the rhythm-type cloud game that match the target game screen are pushed to the client.
9. A method for processing game graphics, characterized in that, include: Send time recording information to the server, wherein the time recording information is used to record multiple sets of time data within a first preset duration, each set of time data includes: a first moment and a second moment, the first moment being the moment corresponding to the audio key frame played by the rhythm-type cloud game listened to by the client, and the second moment being the moment corresponding to the target control operation sensed by the client, wherein the target control operation is a control operation performed on the game object in the rhythm-type cloud game based on the audio key frame; The system receives a target game screen pushed by the server. The target game screen is obtained according to the game screen adjustment method of the rhythm-type cloud game. The game screen adjustment method is determined based on the time record information. The game screen adjustment method is used to synchronously adjust the game screen display content of the rhythm-type cloud game according to the playback progress of the corresponding tracks in the rhythm-type cloud game. Display the target game screen.
10. A method for processing game graphics, characterized in that, include: Obtain time record information stored locally on the client, wherein the time record information is used to record multiple sets of time data within a first preset duration, each set of time data includes: a first moment and a second moment, the first moment being the moment corresponding to the audio key frame played by the rhythm-type cloud game listened to by the client, and the second moment being the moment corresponding to the target control operation sensed by the client, wherein the target control operation is a control operation performed on the game object in the rhythm-type cloud game based on the audio key frame; Based on the time recording information, the game screen adjustment method of the rhythm-type cloud game is determined, wherein the game screen adjustment method is used to synchronously adjust the game screen display content of the rhythm-type cloud game according to the playback progress of the accompanying tracks in the rhythm-type cloud game; According to the game screen adjustment method described above, obtain the target game screen to be displayed from the server; Receive the target game screen pushed by the server; Display the target game screen.
11. A game screen processing device, characterized in that, include: The receiving module is used to receive time recording information from the client, wherein the time recording information is used to record multiple sets of time data within a first preset duration, and each set of time data includes: a first moment and a second moment, wherein the first moment is the moment corresponding to the audio key frame played by the rhythm-type cloud game listened to by the client, and the second moment is the moment corresponding to the target control operation sensed by the client, wherein the target control operation is a control operation performed on the game object in the rhythm-type cloud game based on the audio key frame; The determining module is used to determine the game screen adjustment method of the rhythm-type cloud game based on the time recording information, wherein the game screen adjustment method is used to synchronously adjust the game screen display content of the rhythm-type cloud game according to the playback progress of the accompanying tracks in the rhythm-type cloud game; The acquisition module is used to acquire the target game screen to be displayed according to the game screen adjustment method. The push module is used to push the target game screen to the client.
12. A game screen processing device, characterized in that, include: The sending module is used to send time recording information to the server. The time recording information is used to record multiple sets of time data within a first preset duration. Each set of time data includes a first moment and a second moment. The first moment is the moment corresponding to the audio key frame played by the rhythm-type cloud game that the client listens to. The second moment is the moment corresponding to the target control operation sensed by the client. The target control operation is a control operation performed on the game object in the rhythm-type cloud game based on the audio key frame. The receiving module is used to receive the target game screen pushed by the server, wherein the target game screen is obtained according to the game screen adjustment method of the rhythm type cloud game, the game screen adjustment method is determined based on the time record information, and the game screen adjustment method is used to synchronously adjust the game screen display content of the rhythm type cloud game according to the playback progress of the corresponding track in the rhythm type cloud game. The display module is used to display the target game screen.
13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein the computer program is configured to execute the game screen processing method according to any one of claims 1 to 10 when run by a processor.
14. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to run the computer program to perform the game screen processing method according to any one of claims 1 to 10.
Citation Information
Patent Citations
Image processing method and device, server and medium
CN111882626A
Video frame playing method and device, equipment and storage medium
CN115883853A
