CN112237737A - Method, system, device and storage medium for reducing cloud game delay - Google Patents

Method, system, device and storage medium for reducing cloud game delay Download PDF

Info

Publication number
CN112237737A
CN112237737A CN202010864417.8A CN202010864417A CN112237737A CN 112237737 A CN112237737 A CN 112237737A CN 202010864417 A CN202010864417 A CN 202010864417A CN 112237737 A CN112237737 A CN 112237737A
Authority
CN
China
Prior art keywords
video stream
operation signal
backup
key
prediction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010864417.8A
Other languages
Chinese (zh)
Other versions
CN112237737B (en
Inventor
许晓龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Iac Nanchang Technology Co ltd
Inventec Appliances Shanghai Corp
Original Assignee
Iac Nanchang Technology Co ltd
Inventec Appliances Shanghai Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Iac Nanchang Technology Co ltd, Inventec Appliances Shanghai Corp filed Critical Iac Nanchang Technology Co ltd
Priority to CN202010864417.8A priority Critical patent/CN112237737B/en
Publication of CN112237737A publication Critical patent/CN112237737A/en
Application granted granted Critical
Publication of CN112237737B publication Critical patent/CN112237737B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • A63F13/35Details of game servers
    • A63F13/358Adapting the game course according to the network or server load, e.g. for reducing latency due to different connection speeds between clients
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/218Input arrangements for video game devices characterised by their sensors, purposes or types using pressure sensors, e.g. generating a signal proportional to the pressure applied by the player
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/10Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals
    • A63F2300/1056Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals involving pressure sensitive buttons
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/53Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of basic data processing
    • A63F2300/534Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of basic data processing for network load management, e.g. bandwidth optimization, latency reduction

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a method, a system, equipment and a storage medium for reducing cloud game delay, wherein the method comprises the following steps: acquiring a first operation signal of a key in first equipment, and sending the first operation signal to second equipment; the second device generates a first backup video stream based on a previous moment video stream, generates a first prediction video stream based on the previous moment video stream and the first operation signal, and feeds the first backup video stream and the first prediction video stream back to the first device respectively; judging whether a second operation signal generated by continuously operating a key corresponding to the first operation signal in the first equipment is acquired or not within a first preset time, if so, taking the first prediction video stream as a current moment video stream and displaying, and if not, taking the first backup video stream as the current moment video stream and displaying; the invention reduces the refreshing delay of the cloud game picture and improves the user experience.

Description

Method, system, device and storage medium for reducing cloud game delay
Technical Field
The invention relates to the technical field of games, in particular to a method, a system, equipment and a storage medium for reducing cloud game delay.
Background
With the enhancement of cloud computing capability and the annual increase of network bandwidth, the application environment of cloud games is becoming mature. Cloud games have transitioned from early-year cloud mobile games to cloud execution of class 3A large games. The cloud game can release the performance limitation of the terminal, so that the user does not need to purchase local game equipment with strong performance or purchase large-capacity game storage equipment, and the user can play smoothly, and the cloud game is popular with the user.
However, cloud game platforms still have certain disadvantages in terms of user experience. For example, after the user presses the key, the server receives the key signal and processes the key signal, and the server runs the calculation to generate a video stream and feeds the video stream back to the local device of the user, so that the game picture can be refreshed. Therefore, the refreshing delay of the game picture is larger, and the user experience is not good. In particular, the online battle games have more severe requirements on delay, and the delay has great influence on game experience.
Disclosure of Invention
Aiming at the problems in the prior art, the invention aims to provide a method, a system, equipment and a storage medium for reducing cloud game delay, so that a user can acquire refreshing of a game picture as soon as possible, the delay of picture refreshing is reduced, and the user experience is improved.
To achieve the above object, the present invention provides a method for reducing cloud game delay, the method comprising the steps of:
acquiring a first operation signal of a key in first equipment, and sending the first operation signal to second equipment;
the second device generates a first backup video stream based on a previous moment video stream, generates a first prediction video stream based on the previous moment video stream and the first operation signal, and feeds the first backup video stream and the first prediction video stream back to the first device respectively; and
and judging whether a second operation signal generated by continuously operating a key corresponding to the first operation signal in the first equipment is acquired or not within a first preset time, if so, taking the first prediction video stream as a current moment video stream and displaying, and if not, taking the first backup video stream as the current moment video stream and displaying.
Preferably, the method further comprises the step of:
and the first equipment feeds back the identification information of the displayed video stream at the current moment to the second equipment.
Preferably, after said displaying said first predicted video stream as a current time video stream, further comprising the steps of:
judging whether the duration time of the second operation signal is greater than a second preset time, and if so, sending a long-press trigger signal to the second equipment;
the second device generates a second prediction video stream and a second backup video stream corresponding to the next moment based on the long press trigger signal and the first prediction video stream; feeding back the second predicted video stream and the second backup video stream to the first device respectively;
judging whether a third operation signal generated by continuing to operate the key corresponding to the long-press trigger signal in the first equipment is acquired within a third preset time; if so, taking the second prediction video stream as a video stream at the next moment and displaying the video stream, and if not, taking the second backup video stream as a video stream at the next moment and displaying the video stream;
the second preset time is longer than the first preset time, and the third preset time is longer than the second preset time.
Preferably, the identification information of the displayed current-time video stream is used for representing that the current-time video stream is the first predicted video stream or the first backup video stream; the first device feeds back the identification information of the displayed video stream at the current moment to the second device, and the method comprises the following steps:
when the second operation signal is acquired, the current moment video stream is the first prediction video stream;
when the second operation signal is not acquired, the current-time video stream is the first backup video stream, the second device generates a second prediction video stream corresponding to the next time based on the current-time video stream, replaces a video segment corresponding to the first prediction video stream with the first backup video stream, and generates a second backup video stream corresponding to the next time based on the replaced first backup video stream.
Preferably, a first pressure at which the first operation signal is generated is smaller than a second pressure at which the second operation signal is generated.
Preferably, the first device comprises a mechanical key, and the length of a first key stroke for generating the first operation signal is smaller than the length of a second key stroke for generating the second operation signal.
Preferably, the first device includes a touch key, and a first touch area for generating the first operation signal is smaller than a second touch area for generating the second operation signal.
Preferably, the first predictive video stream is a video segment for generating a corresponding game effect based on the second operation signal of the key, and the first backup video stream is a video segment for generating a corresponding game effect based on the condition that the key is not continuously operated to generate the second operation signal.
Preferably, the acquiring a first operation signal of a key in the first device includes:
based on a capacitive sensor, a millimeter wave radar, image recognition or infrared rays, a first operation signal of a key in first equipment is acquired.
The invention also provides a system for reducing cloud game delay, which is used for realizing the method for reducing cloud game delay, and the system comprises:
the acquisition module is used for acquiring a first operation signal of a key in first equipment and sending the first operation signal to second equipment;
the processing module is used for the second equipment to generate a first backup video stream based on a video stream at the previous moment, generate a first prediction video stream based on the video stream at the previous moment and the first operation signal, and respectively feed the first backup video stream and the first prediction video stream back to the first equipment; and
and the display module is used for judging whether a second operation signal generated by continuously operating the key corresponding to the first operation signal in the first equipment is acquired or not within a first preset time, if so, the first prediction video stream is used as the current moment video stream and displayed, and if not, the first backup video stream is used as the current moment video stream and displayed.
Preferably, the system further comprises:
and the first equipment feeds back the identification information of the displayed video stream at the current moment to the second equipment.
The invention also provides a device for reducing cloud game delay, which is used for a user side and comprises:
a first processor;
a first memory having stored therein executable instructions of the first processor;
wherein the first processor is configured to perform the following via execution of the executable instructions:
acquiring a first operation signal based on a key, and sending the first operation signal to a server side;
receiving a first backup video stream and a first prediction video stream generated by the server, wherein the first backup video stream is generated based on a video stream at a previous moment, and the first prediction video stream is generated based on the video stream at the previous moment and the first operation signal;
and judging whether a second operation signal generated by continuously operating a key corresponding to the first operation signal is acquired or not within a first preset time, if so, taking the first prediction video stream as a current moment video stream and displaying, and if not, taking the first backup video stream as the current moment video stream and displaying.
Preferably, the first processor is further configured to perform the steps of:
and feeding back the identification information of the displayed video stream at the current moment to the server.
The invention also provides a device for reducing cloud game delay, which is used for a server side and comprises:
a second processor;
a second memory having stored therein executable instructions of the second processor;
wherein the second processor is configured to perform the following via execution of the executable instructions:
receiving a first operation signal generated by a user terminal and based on a key;
generating a first backup video stream based on the video stream at the previous moment, generating a first prediction video stream based on the video stream at the previous moment and the first operation signal, and feeding back the first backup video stream and the first prediction video stream to the user terminal respectively.
Preferably, the second processor is further configured to perform the steps of:
and receiving the identification information of the displayed video stream at the current moment generated by the user terminal.
The invention also provides a computer readable storage medium for storing a program which when executed implements the steps of any of the above methods for reducing cloud game latency.
Compared with the prior art, the invention has the following advantages and prominent effects:
the method, the system, the equipment and the storage medium for reducing the cloud game delay achieve the aim of predicting the key by judging whether the key generating the first operation signal is continuously operated or not, and send the predicted key signal to the cloud game server in advance for processing, so that the first equipment and a user can acquire the update of the game picture as early as possible, and the server is informed to calculate the video stream without waiting for the continuous operation of the key, thereby reducing the refresh delay of the game picture and improving the user experience.
Drawings
Other features, objects and advantages of the present invention will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, with reference to the accompanying drawings.
FIG. 1 is a schematic diagram of a method for reducing cloud game delay according to an embodiment of the disclosure;
FIG. 2 is a schematic diagram of the method for reducing cloud game delay disclosed in FIG. 1 operating in time sequence;
FIG. 3 is a schematic diagram illustrating a time sequence operation of a cloud game operating method in the prior art;
FIG. 4 is a schematic flowchart of step S40 in FIG. 1;
FIG. 5 is a schematic diagram of a system for reducing cloud game latency according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals in the drawings denote the same or similar structures, and thus their repetitive description will be omitted.
As shown in fig. 1, an embodiment of the present invention discloses a method for reducing cloud game delay, including the following steps:
and S10, acquiring a first operation signal of a key in the first equipment, and sending the first operation signal to the second equipment. Specifically, the first operation signal of the key in the first device may be acquired based on a capacitive sensor, a millimeter wave radar, image recognition, or infrared rays. The first device may be a local device at a user side, and the second device may be a server side. The first operation signal is a signal generated when the user touches the key. The key can be a mechanical key or a touch key. In an exemplary embodiment, the first device includes a handle and a display, and the key is a mechanical key on the handle. The first operation signal is generated when a key is touched, and the first operation signal includes key ID information for informing the second device of which key the user operates.
S20, the second device generates a first backup video stream based on the previous video stream, generates a first prediction video stream based on the previous video stream and the first operation signal, and feeds the first backup video stream and the first prediction video stream back to the first device. Specifically, the first backup video stream is used for displaying to the user through the first device after the first device determines that the prediction is wrong. The first predicted video stream is for display to the user via the first device after the first device determines that the prediction is correct.
The video streams are generated in time sequence. And if the previous prediction is correct, generating a first backup video stream corresponding to the current moment according to the predicted video stream at the previous moment, and generating a first predicted video stream corresponding to the current moment according to the predicted video stream at the previous moment and a first operation signal generated by touching a key. If the previous prediction is wrong, generating a first prediction video stream corresponding to the current time according to the backup video stream at the previous time as an initial picture of the prediction video stream at the current time; and replacing the predicted video stream at the previous moment with the backup video stream at the previous moment, and generating a first backup video stream corresponding to the current moment according to the replaced backup video stream.
S30, determining whether a second operation signal generated by continuously operating the key corresponding to the first operation signal in the first device is acquired within a first preset time, if yes, executing step S40: taking the first prediction video stream as a current moment video stream and displaying the current moment video stream; if not, go to step S50: and taking the first backup video stream as a current moment video stream and displaying the current moment video stream. Specifically, in step S10, if the first operation signal is generated by operating the key a, the first device determines whether the key a is to be operated for the next step within a first preset time. If the next operation is performed on the key a, the above-described step S40 is performed. If the next operation is not performed on the key a, the above step S50 is performed.
The first predictive video stream is a video clip which generates a corresponding game effect based on the second operation signal of the key, namely, the game effect generated when the key A is operated to the next step. The first backup video stream is a video clip which is generated corresponding to a game effect under the condition that the key is not continuously operated to generate the second operation signal, namely the game effect generated when the key A is not operated to the next step.
Illustratively, as shown in FIG. 2, at 0 ms: after the user touches the key a (i.e., operation 201), at 40 ms: the server receives a first operation signal corresponding to the touch key a (i.e., operation 202). At 60 ms: the user presses the key a (i.e., operation 203), and the server calculates a video stream corresponding to the pressed key a (i.e., operation 204), that is, the first predicted video stream and the first backup video stream; and starts to send the first predicted video stream and the first backup video stream to the local end respectively. At 100 ms: after receiving the video stream, the local end refreshes the game screen (i.e., operation 205). In this example, the first predictive video stream is the video stream of the game effect generated by key a being pressed. The first backup video stream is a video stream of a game effect generated when the key A is not pressed, and dynamic continuation is carried out on the basis of a game picture of the video stream at the previous moment, so that the game effect of basic dynamic functions is realized, such as river flowing, running of people and the like. The arrow directions in fig. 2 and 3 both indicate the directions in which the time increases from small to large in accordance with the time-series operation. The time labeled in fig. 2 and 3 only represents the interval time between two adjacent operations, for example, 40ms represents the interval of 40ms between two adjacent operations.
For the prior art scheme, as shown in fig. 3, at 0 ms: after the user touches key a (i.e., operation 301), at 60 ms: the user presses key a (i.e., operation 302). At 100 ms: the server receives a signal that key a is pressed (i.e., operation 303). At 120 ms: the server-side calculates that the completion key a is pressed down on the corresponding video stream (i.e., operation 304). At 160 ms: the local side receives the video stream sent by the server side and completes the refreshing of the game screen (i.e., operation 305). Therefore, in this example, compared to the prior art, the technical solution of the present invention directly detects whether the prediction is correct or incorrect, and then displays the corresponding video stream, directly refreshing the picture; the server does not need to wait for judging whether the prediction is correct or not, and then the corresponding video stream is sent, so that the time delay is favorably reduced. The delay of the cloud game is reduced from 160ms to 100ms, and the delay is obviously reduced.
In another embodiment of the present invention, as shown in fig. 4, the method further includes the steps of:
s60, the first device feeds back the identification information of the video stream displayed at the current time to the second device. The identification information of the displayed current video stream is used for representing that the current video stream is a first prediction video stream or the first backup video stream. When the prediction is correct, that is, the second operation signal is acquired, the current time video stream is the first prediction video stream, and at this time, the second device, that is, the server, knows that the prediction is correct, and then a prediction video stream at the next time and a backup video stream at the next time are respectively generated based on the first prediction video stream.
When the current time video stream is the first backup video stream, and the second device, i.e., the server, knows that the prediction error is due, the current time video stream is generated based on the current time video stream, the video segment corresponding to the first prediction video stream is replaced by the first backup video stream, and the second backup video stream corresponding to the next time is generated based on the replaced first backup video stream.
In this embodiment, as shown in fig. 4, after the first predicted video stream is displayed as the current time video stream in step S40, the method further includes:
s402, determining whether the duration of the second operation signal is greater than a second preset time, if so, executing step S403: and sending a long-press trigger signal to the second equipment.
S404, the second device generates a second predicted video stream and a second backup video stream corresponding to a next time based on the long press trigger signal and the first predicted video stream; and feeding back the second prediction video stream and the second backup video stream to the first device respectively.
S405, judging whether a third operation signal generated by continuing to operate the key corresponding to the long-press trigger signal in the first equipment is acquired within a third preset time; if yes, go to step S406: and taking the second prediction video stream as a video stream of the next moment and displaying the video stream. If not, go to step S407: and taking the second backup video stream as a video stream at the next moment and displaying the video stream.
If the duration of the second operation signal is not greater than the second predetermined time, the step S60 is executed.
The second preset time is longer than the first preset time, and the third preset time is longer than the second preset time.
In another embodiment of the present invention, a first pressure at which the first operation signal is generated is smaller than a second pressure at which the second operation signal is generated.
In another embodiment of the present invention, the first device includes a mechanical key, and a length of a first key stroke for generating the first operation signal is smaller than a length of a second key stroke for generating the second operation signal.
In another embodiment of the present invention, the first device includes a touch key, and a first touch area for generating the first operation signal is smaller than a second touch area for generating the second operation signal.
As shown in fig. 5, an embodiment of the present invention further discloses a system 5 for reducing cloud game delay, which includes:
the acquisition module 51 is configured to acquire a first operation signal of a key in first equipment and send the first operation signal to second equipment;
a processing module 52, configured to generate a first backup video stream based on a previous video stream, generate a first prediction video stream based on the previous video stream and the first operation signal, and respectively feed back the first backup video stream and the first prediction video stream to the first device; and
the display module 53 is configured to determine whether to acquire a second operation signal generated by continuing to operate a key corresponding to the first operation signal in the first device within a first preset time, and if so, execute a first predictive video stream display module. And if not, executing the first backup video stream display module.
The first predicted video stream display module 54 displays the first predicted video stream as a current time video stream.
The first backup video stream display module 55 displays the first backup video stream as a current time video stream.
In another embodiment of the present invention, on the basis of the above embodiment, the system further includes:
and the first equipment feeds back the identification information of the displayed video stream at the current moment to the second equipment.
It is understood that the system for reducing cloud game delay of the present invention further comprises other existing functional modules that support the operation of the system for reducing cloud game delay. The system for reducing cloud game delay shown in fig. 5 is only an example, and should not bring any limitation to the function and the scope of the embodiments of the present invention.
The system for reducing cloud game delay in this embodiment is used to implement the method for reducing cloud game delay, and therefore, for the specific implementation steps of the system for reducing cloud game delay, reference may be made to the description of the method for reducing cloud game delay, and details are not repeated here.
The embodiment of the invention also discloses equipment for reducing the cloud game delay, which is used for a user side and comprises a first processor and a first memory, wherein the first memory stores the executable instruction of the first processor; the first processor is configured to perform the following steps via execution of executable instructions:
acquiring a first operation signal based on a key, and sending the first operation signal to a server side;
receiving a first backup video stream and a first prediction video stream generated by the server, wherein the first backup video stream is generated based on a video stream at a previous moment, and the first prediction video stream is generated based on the video stream at the previous moment and the first operation signal;
and judging whether a second operation signal generated by continuously operating the key corresponding to the first operation signal is acquired or not within a first preset time, if so, displaying the first prediction video stream as a current moment video stream, and if not, displaying the first backup video stream as the current moment video stream.
In other embodiments, the first processor is further configured to perform the steps of:
and feeding back the identification information of the displayed video stream at the current moment to the server.
The embodiment of the invention also discloses equipment for reducing the cloud game delay, which is used for a server side and comprises the following components:
a second processor;
a second memory in which executable instructions of the second processor are stored;
wherein the second processor is configured to perform the following steps via execution of the executable instructions:
receiving a first operation signal generated by a user terminal and based on a key;
generating a first backup video stream based on a previous time video stream, generating a first prediction video stream based on the previous time video stream and the first operation signal, and feeding back the first backup video stream and the first prediction video stream to the user side respectively.
In other embodiments, the second processor is further configured to perform the steps of:
and receiving the identification information of the displayed video stream at the current moment generated by the user side.
The invention also discloses a computer readable storage medium for storing a program, which when executed implements the steps in the method for reducing cloud game delay. In some possible embodiments, the aspects of the present invention may also be implemented in the form of a program product including program code for causing a terminal device to perform the steps according to various exemplary embodiments of the present invention described in the method for reducing cloud game delay described above in this specification, when the program product is run on the terminal device.
As shown above, when the program of the computer-readable storage medium of this embodiment is executed, the purpose of predicting the key is achieved by determining whether the key generating the first operation signal is continuously operated, and the predicted key signal is sent to the cloud game server in advance for processing, so that the first device and the user can acquire the update of the game screen as early as possible, and do not need to wait for the key to be continuously operated to notify the server to calculate the video stream, thereby reducing the refresh delay of the game screen and improving the user experience.
Fig. 6 is a schematic structural diagram of a computer-readable storage medium of the present invention. Referring to fig. 6, a program product 800 for implementing the above method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
The method, the system, the equipment and the storage medium for reducing the cloud game delay achieve the aim of predicting the key by judging whether the key generating the first operation signal is continuously operated or not, and send the predicted key signal to the cloud game server in advance for processing, so that the first equipment and a user can acquire the update of the game picture as early as possible, and the server is not required to be informed to calculate the video stream after the key is continuously operated, thereby reducing the game picture refreshing delay and improving the user experience.
The foregoing is a more detailed description of the invention in connection with specific preferred embodiments and it is not intended that the invention be limited to these specific details. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (15)

1. A method of reducing cloud game latency, comprising the steps of:
acquiring a first operation signal of a key in first equipment, and sending the first operation signal to second equipment;
the second device generates a first backup video stream based on a previous moment video stream, generates a first prediction video stream based on the previous moment video stream and the first operation signal, and feeds the first backup video stream and the first prediction video stream back to the first device respectively; and
and judging whether a second operation signal generated by continuously operating a key corresponding to the first operation signal in the first equipment is acquired or not within a first preset time, if so, taking the first prediction video stream as a current moment video stream and displaying, and if not, taking the first backup video stream as the current moment video stream and displaying.
2. The method of reducing cloud gaming latency of claim 1, the method further comprising the steps of:
and the first equipment feeds back the identification information of the displayed video stream at the current moment to the second equipment.
3. The method for reducing cloud gaming latency of claim 1, further comprising, after said displaying said first predicted video stream as a current moment video stream, the steps of:
judging whether the duration time of the second operation signal is greater than a second preset time, and if so, sending a long-press trigger signal to the second equipment;
the second device generates a second prediction video stream and a second backup video stream corresponding to the next moment based on the long press trigger signal and the first prediction video stream; feeding back the second predicted video stream and the second backup video stream to the first device respectively;
judging whether a third operation signal generated by continuing to operate the key corresponding to the long-press trigger signal in the first equipment is acquired within a third preset time; if so, taking the second prediction video stream as a video stream at the next moment and displaying the video stream, and if not, taking the second backup video stream as a video stream at the next moment and displaying the video stream;
the second preset time is longer than the first preset time, and the third preset time is longer than the second preset time.
4. The method for reducing cloud gaming delay of claim 2, wherein said identification information of said displayed current moment video stream is used to characterize whether said current moment video stream is said first predicted video stream or said first backup video stream; the first device feeds back the identification information of the displayed video stream at the current moment to the second device, and the method comprises the following steps:
when the second operation signal is acquired, the current moment video stream is the first prediction video stream;
when the second operation signal is not acquired, the current-time video stream is the first backup video stream, the second device generates a second prediction video stream corresponding to the next time based on the current-time video stream, replaces a video segment corresponding to the first prediction video stream with the first backup video stream, and generates a second backup video stream corresponding to the next time based on the replaced first backup video stream.
5. The method of reducing cloud gaming latency of claim 1, wherein a first pressure to generate the first operational signal is less than a second pressure to generate the second operational signal.
6. The method of reducing cloud gaming latency of claim 1, wherein the first device includes a mechanical key, a length of a first key stroke generating the first operational signal being less than a length of a second key stroke generating the second operational signal.
7. The method of claim 1, wherein the first device comprises a touch key, and a first touch area for generating the first operation signal is smaller than a second touch area for generating the second operation signal.
8. The method of claim 1, wherein the first predictive video stream is a video segment for generating a corresponding game effect based on the second operation signal of the key, and the first backup video stream is a video segment for generating a corresponding game effect based on the key not being continuously operated to generate the second operation signal.
9. A system for reducing cloud game latency for implementing the method of claim 1, the system comprising:
the acquisition module is used for acquiring a first operation signal of a key in first equipment and sending the first operation signal to second equipment;
the processing module is used for the second equipment to generate a first backup video stream based on a video stream at the previous moment, generate a first prediction video stream based on the video stream at the previous moment and the first operation signal, and respectively feed the first backup video stream and the first prediction video stream back to the first equipment; and
and the display module is used for judging whether a second operation signal generated by continuously operating the key corresponding to the first operation signal in the first equipment is acquired or not within a first preset time, if so, the first prediction video stream is used as the current moment video stream and displayed, and if not, the first backup video stream is used as the current moment video stream and displayed.
10. The system to reduce cloud gaming latency of claim 9, the system further comprising:
and the first equipment feeds back the identification information of the displayed video stream at the current moment to the second equipment.
11. An apparatus for reducing cloud game delay, for a user side, comprising:
a first processor;
a first memory having stored therein executable instructions of the first processor;
wherein the first processor is configured to perform the following via execution of the executable instructions:
acquiring a first operation signal based on a key, and sending the first operation signal to a server side;
receiving a first backup video stream and a first prediction video stream generated by the server, wherein the first backup video stream is generated based on a video stream at a previous moment, and the first prediction video stream is generated based on the video stream at the previous moment and the first operation signal;
and judging whether a second operation signal generated by continuously operating a key corresponding to the first operation signal is acquired or not within a first preset time, if so, taking the first prediction video stream as a current moment video stream and displaying, and if not, taking the first backup video stream as the current moment video stream and displaying.
12. The apparatus for reducing cloud gaming latency of claim 11, wherein the first processor is further configured to perform the steps of:
and feeding back the identification information of the displayed video stream at the current moment to the server.
13. An apparatus for reducing cloud game delay, which is used on a server side, comprises:
a second processor;
a second memory having stored therein executable instructions of the second processor;
wherein the second processor is configured to perform the following via execution of the executable instructions:
receiving a first operation signal generated by a user terminal and based on a key;
generating a first backup video stream based on the video stream at the previous moment, generating a first prediction video stream based on the video stream at the previous moment and the first operation signal, and feeding back the first backup video stream and the first prediction video stream to the user terminal respectively.
14. The apparatus for reducing cloud gaming latency of claim 13, wherein the second processor is further configured to perform the steps of:
and receiving the identification information of the displayed video stream at the current moment generated by the user terminal.
15. A computer readable storage medium storing a program, wherein the program when executed implements the steps of the method of reducing cloud game latency of any of claims 1 to 8.
CN202010864417.8A 2020-08-25 2020-08-25 Method, system, device and storage medium for reducing cloud game delay Active CN112237737B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010864417.8A CN112237737B (en) 2020-08-25 2020-08-25 Method, system, device and storage medium for reducing cloud game delay

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010864417.8A CN112237737B (en) 2020-08-25 2020-08-25 Method, system, device and storage medium for reducing cloud game delay

Publications (2)

Publication Number Publication Date
CN112237737A true CN112237737A (en) 2021-01-19
CN112237737B CN112237737B (en) 2022-08-19

Family

ID=74170829

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010864417.8A Active CN112237737B (en) 2020-08-25 2020-08-25 Method, system, device and storage medium for reducing cloud game delay

Country Status (1)

Country Link
CN (1) CN112237737B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170061314A1 (en) * 2015-08-24 2017-03-02 Microsoft Technology Licensing, Llc Event prediction enhancements
CN108171783A (en) * 2018-03-20 2018-06-15 联想(北京)有限公司 Image rendering method, system and electronic equipment
CN108379832A (en) * 2018-01-29 2018-08-10 珠海金山网络游戏科技有限公司 A kind of game synchronization method and apparatus
CN109806596A (en) * 2019-03-20 2019-05-28 网易(杭州)网络有限公司 Game picture display methods and device, storage medium, electronic equipment
CN110368686A (en) * 2019-07-03 2019-10-25 上海闻泰信息技术有限公司 Cloud game implementation method, device, cloud server, terminal and medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170061314A1 (en) * 2015-08-24 2017-03-02 Microsoft Technology Licensing, Llc Event prediction enhancements
CN108379832A (en) * 2018-01-29 2018-08-10 珠海金山网络游戏科技有限公司 A kind of game synchronization method and apparatus
CN108171783A (en) * 2018-03-20 2018-06-15 联想(北京)有限公司 Image rendering method, system and electronic equipment
CN109806596A (en) * 2019-03-20 2019-05-28 网易(杭州)网络有限公司 Game picture display methods and device, storage medium, electronic equipment
CN110368686A (en) * 2019-07-03 2019-10-25 上海闻泰信息技术有限公司 Cloud game implementation method, device, cloud server, terminal and medium

Also Published As

Publication number Publication date
CN112237737B (en) 2022-08-19

Similar Documents

Publication Publication Date Title
CN109240576B (en) Image processing method and device in game, electronic device and storage medium
CN108683937B (en) Voice interaction feedback method and system for smart television and computer readable medium
CN110309475B (en) Page display method and device, terminal equipment and storage medium
EP3955153A1 (en) Method and apparatus for inserting information into online document
US20170168705A1 (en) Method and electronic device for adjusting video progress
CN107943834B (en) Method, device, equipment and storage medium for implementing man-machine conversation
CN111324252B (en) Display control method and device in live broadcast platform, storage medium and electronic equipment
CN108415657B (en) Message sending method, device, medium and electronic equipment
US11955039B2 (en) Method and apparatus for controlling display in a screen projection scenario, device and program product
CN114449327B (en) Video clip sharing method and device, electronic equipment and readable storage medium
CN113395572A (en) Video processing method and device, storage medium and electronic equipment
CN113422980B (en) Video data processing method and device, electronic equipment and storage medium
CN110347578B (en) Application testing method and device and storage medium
CN112237737B (en) Method, system, device and storage medium for reducing cloud game delay
CN111481923B (en) Rocker display method and device, computer storage medium and electronic equipment
US20150169673A1 (en) Method for providing immediate result for user input, and apparatus therefor
CN107491249B (en) Control method, device and equipment of intelligent tablet and storage medium
CN103942230A (en) Method, device and system for voice webpage navigation
CN112263830B (en) Virtual target locking method, device, equipment and medium
CN114092608B (en) Expression processing method and device, computer readable storage medium and electronic equipment
CN113053392B (en) Speech recognition method, speech recognition device, electronic equipment and medium
CN111741046B (en) Data reporting method, data acquisition method, device, equipment and medium
CN110955398B (en) Two-dimensional code display method and device, computer equipment and storage medium
CN111324244B (en) Method and device for switching picture display types
CN110658974B (en) Page sliding method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant