CN117771666A - Picture display method, device, terminal and computer storage medium - Google Patents

Picture display method, device, terminal and computer storage medium Download PDF

Info

Publication number
CN117771666A
CN117771666A CN202410073559.0A CN202410073559A CN117771666A CN 117771666 A CN117771666 A CN 117771666A CN 202410073559 A CN202410073559 A CN 202410073559A CN 117771666 A CN117771666 A CN 117771666A
Authority
CN
China
Prior art keywords
scene
cloud game
game picture
picture
cloud
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.)
Pending
Application number
CN202410073559.0A
Other languages
Chinese (zh)
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.)
Shenzhen TCL Digital Technology Co Ltd
Original Assignee
Shenzhen TCL Digital Technology Co Ltd
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 Shenzhen TCL Digital Technology Co Ltd filed Critical Shenzhen TCL Digital Technology Co Ltd
Priority to CN202410073559.0A priority Critical patent/CN117771666A/en
Publication of CN117771666A publication Critical patent/CN117771666A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the application discloses a picture display method, a picture display device, a terminal and a computer storage medium; in the embodiment of the application, a cloud game picture currently displayed by the terminal is obtained, and scene identification is carried out on the cloud game picture to obtain a scene corresponding to the cloud game picture; inquiring candidate cloud game pictures in a local storage space according to the scene; if the candidate cloud game picture matched with the scene exists in the local storage space, determining the candidate cloud game picture matched with the scene as a target cloud game picture; and displaying according to the target cloud game picture. According to the method and the device for the cloud interaction, the number of times of interaction with the cloud can be reduced, occupied network resources are reduced, and the picture blocking rate is reduced.

Description

Picture display method, device, terminal and computer storage medium
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to a method and apparatus for displaying a picture, a terminal, and a computer storage medium.
Background
The cloud game is a game mode based on cloud computing, and in the running mode of the cloud game, the server is used for running the game, compressing the rendered game picture and then transmitting the compressed game picture to the terminal through the network, and the terminal directly displays the game picture.
However, the cloud end renders the game in real time and then transmits the game to the terminal, so that more data needs to be transmitted between the cloud end and the terminal, more network resources need to be occupied during the operation of the cloud game, and when the network is unstable, a game picture in the terminal is blocked.
Disclosure of Invention
The embodiment of the application provides a picture display method, a device, a terminal and a computer storage medium, which can solve the technical problems of cloud game picture blocking and occupation of more network resources.
The embodiment of the application provides a picture display method, which comprises the following steps:
acquiring a cloud game picture currently displayed by the terminal, and carrying out scene recognition on the cloud game picture to obtain a scene corresponding to the cloud game picture;
inquiring candidate cloud game pictures in a local storage space according to the scene;
if the candidate cloud game picture matched with the scene exists in the local storage space, determining the candidate cloud game picture matched with the scene as a target cloud game picture;
and displaying according to the target cloud game picture.
Accordingly, an embodiment of the present application provides a screen display device, applied to a terminal, including:
the acquisition module is used for acquiring a cloud game picture currently displayed by the terminal, and carrying out scene recognition on the cloud game picture to obtain a scene corresponding to the cloud game picture;
the query module is used for querying candidate cloud game pictures in the local storage space according to the scenes;
the determining module is used for determining the candidate cloud game picture matched with the scene as a target cloud game picture if the candidate cloud game picture matched with the scene exists in the local storage space;
and the display module is used for displaying according to the target cloud game picture.
In addition, the embodiment of the application also provides a terminal, which comprises a processor and a memory, wherein the memory stores a computer program, and the processor is used for running the computer program in the memory to realize the picture display method provided by the embodiment of the application.
In addition, the embodiment of the application further provides a computer readable storage medium, and the computer readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor to execute any of the picture display methods provided by the embodiment of the application.
In addition, the embodiment of the application also provides a computer program product, which comprises a computer program, wherein the computer program realizes any picture display method provided by the embodiment of the application when being executed by a processor.
In the embodiment of the application, a cloud game picture currently displayed by a terminal is obtained, and scene identification is carried out on the cloud game picture to obtain a scene corresponding to the cloud game picture; inquiring candidate cloud game pictures in the local storage space according to the scene; if the candidate cloud game picture matched with the scene exists in the local storage space, determining the candidate cloud game picture matched with the scene as a target cloud game picture; according to the target cloud game picture, the cloud game picture is not required to be acquired from the cloud in real time, the interaction times with the cloud are reduced, occupied network resources are reduced, and the picture jamming rate is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a screen display process according to an embodiment of the present application;
fig. 2 is a flowchart of another method for displaying a picture according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a picture display device according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a terminal provided in an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The embodiment of the application provides a picture display method, a picture display device, a terminal and a computer storage medium. The picture display device may be integrated in the terminal.
The terminal may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, a smart television, and the like.
The cloud may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, network acceleration services (Content Delivery Network, CDN), basic cloud computing services such as big data and artificial intelligent platforms.
The terminal and the cloud may be directly or indirectly connected through wired or wireless communication, which is not limited herein.
In addition, "plurality" in the embodiments of the present application means two or more. "first" and "second" and the like in the embodiments of the present application are used for distinguishing descriptions and are not to be construed as implying relative importance.
The following will describe in detail. The following description of the embodiments is not intended to limit the preferred embodiments.
In this embodiment, description will be made from the viewpoint of a screen display device, and for convenience of explanation of a screen display method of the present application, a detailed explanation will be made below with the screen display device integrated in a terminal, that is, with the terminal as an execution subject.
Referring to fig. 1, fig. 1 is a flowchart of a method for displaying a picture according to an embodiment of the present disclosure. The picture display method may include:
s101, acquiring a cloud game picture currently displayed by a terminal, and carrying out scene recognition on the cloud game picture to obtain a scene corresponding to the cloud game picture.
The terminal may acquire the currently displayed cloud game frame at a target time, where the target time may be a time when the cloud game frame is just displayed, or the target time may be a time immediately before an end time when the cloud game frame is displayed, which is not limited herein.
The scene corresponding to the cloud game picture refers to the scene where the picture content of the cloud game picture is located. The method for performing scene recognition on the cloud game picture can be set according to actual situations, for example, the cloud game picture is subjected to scene recognition through a historical cloud game picture of the cloud game picture, an identification of the cloud game picture or picture content of the cloud game picture, and the embodiment of the application is not limited herein.
When the cloud game picture is subjected to scene recognition through the picture content of the cloud game picture, the process of carrying out scene recognition on the cloud game picture to obtain the scene corresponding to the cloud game picture can be as follows:
determining picture content corresponding to a cloud game picture;
and carrying out scene recognition according to the picture content to obtain a scene corresponding to the cloud game picture.
Optionally, the process of performing scene recognition according to the picture content to obtain the scene corresponding to the cloud game picture may be:
determining the content type of the picture content;
and carrying out scene recognition according to the content type to obtain a scene corresponding to the cloud game picture.
The content type of the screen content refers to a category of the screen content, which may be set according to actual situations, for example, the content type may include at least one of a transition type (when the content type is a transition type, the screen content may be CG screen content played in a transitional scenario in a cloud game), a non-transition type, a promotion type (when the content type is a promotion type, the screen content may be a promotion screen content of a game character in a cloud game), a non-promotion type, an advertisement type, and a non-advertisement type, which is not limited herein.
When the content type is the transition type, scene identification is carried out according to the content type, the obtained scene corresponding to the cloud game picture is the transition scene, when the content type is the propaganda type, scene identification is carried out according to the content type, the obtained scene corresponding to the cloud game picture is the propaganda type scene, when the content type is the advertisement type, scene identification is carried out according to the content type, and the obtained scene corresponding to the cloud game picture is the advertisement scene.
Optionally, the process of performing scene recognition according to the picture content to obtain the scene corresponding to the cloud game picture may also be:
determining the interaction type of the picture content;
and carrying out scene recognition according to the interaction type to obtain a scene corresponding to the cloud game picture.
The interaction type may be determined according to the degree of interaction between the player and the screen content, when the degree of interaction between the player and the screen content is higher than a first degree threshold, the interaction type of the screen content may be determined as a target interaction type, and when the degree of interaction between the player and the screen content is less than or equal to the first degree threshold, the interaction type of the screen content may be determined as a no-interaction type.
The first degree threshold is a preset value, which may be set according to practical situations, and embodiments of the present application are not limited herein.
When the interaction type is a target interaction type, the scene corresponding to the cloud game picture can be determined to be a target interaction type scene, and when the interaction type is a no-interaction type, the scene corresponding to the cloud game picture can be determined to be a no-interaction type scene.
When the cloud game picture is subjected to scene recognition through the historical cloud game picture of the cloud game picture, the process of carrying out scene recognition on the cloud game picture to obtain the scene corresponding to the cloud game picture can be as follows:
acquiring a scene of a historical cloud game picture before the cloud game picture;
and determining the scene corresponding to the cloud game picture according to the scene of the historical cloud game picture.
The historical cloud game picture can be a certain cloud game picture before the cloud game picture, or can be a plurality of cloud game pictures before the cloud game picture.
After the terminal obtains the historical cloud game picture, whether the historical cloud game picture and the cloud game picture meet the preset relation or not can be determined, and if the historical cloud game picture and the cloud game picture meet the preset relation, the scene corresponding to the cloud game picture can be determined according to the scene of the historical cloud game picture.
That is, determining a scene corresponding to the cloud game picture according to the scene of the history cloud game picture includes:
judging whether the historical cloud game picture and the cloud game picture meet a preset relation or not;
if the historical cloud game picture and the cloud game picture meet the preset relation, determining the scene of the historical cloud game picture as the scene corresponding to the cloud game picture.
At this time, after judging whether the history cloud game screen and the cloud game screen satisfy the preset relationship, further comprising:
if the historical cloud game picture and the cloud game picture do not meet the preset relation, determining picture content corresponding to the cloud game picture;
and carrying out scene recognition according to the picture content to obtain a scene corresponding to the cloud game picture.
The terminal can judge whether the historical cloud game picture and the cloud game picture meet a preset relation according to whether the historical cloud game picture and the cloud game picture comprise the same mark, when the historical cloud game picture and the cloud game picture comprise the same mark, the historical cloud game picture and the cloud game picture are determined to meet the preset relation, and when the historical cloud game picture and the cloud game picture do not comprise the same mark, the historical cloud game picture and the cloud game picture are determined to not meet the preset relation.
For example, the history cloud game screen is a game screen h1, the cloud game screen is a game screen h2, the game screen h1 and the game screen h2 are screens satisfying a preset relationship, the scene of the game screen h1 is c1, and after the game screen h2 is acquired, the scene c1 is determined as the scene of the game screen h2 because the game screen h1 and the game screen h2 are screens satisfying the preset relationship.
S102, inquiring candidate cloud game pictures in the local storage space according to the scene.
After obtaining the scene corresponding to the cloud game picture, the terminal can query the candidate cloud game picture of the local storage space according to the scene.
Optionally, in order to increase the speed of querying the candidate cloud game frames in the local storage space according to the scene, querying the candidate cloud game frames in the local storage space according to the scene includes:
judging whether the scene meets the preset scene condition or not;
and if the scene meets the preset scene condition, inquiring the candidate cloud game picture in the local storage space according to the scene.
In the embodiment of the application, after the scene corresponding to the cloud game picture is acquired, whether the preset scene condition is met is judged, if the scene meets the preset scene condition, the candidate cloud game picture corresponding to the scene in the local storage space is queried, and the speed of acquiring the target cloud game picture corresponding to the scene is improved.
The preset scene conditions may be set according to actual situations, which are not limited herein.
For example, if the scene is a transition scene, a propaganda type scene, an advertisement scene and a no-interaction type, it is determined that the scene meets a preset scene condition, which is not limited herein.
In some embodiments, when performing scene recognition according to the interaction type, performing scene recognition according to the interaction type to obtain a scene corresponding to the cloud game picture, including:
if the interaction type is the no-interaction type, determining a scene corresponding to the cloud game picture as the no-interaction type scene;
inquiring the candidate cloud game picture in the local storage space according to the scene, wherein the inquiring comprises the following steps:
and if the non-interactive type scene meets the preset scene condition, inquiring the candidate cloud game picture in the local storage space according to the non-interactive type scene.
In the embodiment of the application, when the scene is a scene without interaction, the interaction between the cloud game picture and the player is less, so that the candidate cloud game picture in the local storage space can be queried according to the scene without interaction.
In some embodiments, performing scene recognition according to the interaction type to obtain a scene corresponding to the cloud game picture, including:
if the interaction type is the target interaction type, determining a scene corresponding to the cloud game picture as a target interaction type scene;
after determining the scene corresponding to the cloud game picture as the target interaction type scene if the interaction type is the target interaction type, the method further comprises the following steps:
if the target interaction type scene does not meet the preset scene condition, generating a rendering request, and sending the rendering request to the cloud;
receiving a real-time cloud game picture returned by the cloud based on the rendering request;
displaying a real-time cloud game screen.
In the embodiment of the application, the target interaction type scene is a scene which does not meet the preset scene condition, when the scene is the target interaction type scene, the cloud game picture is shown to have more interaction with the player, at the moment, a rendering request is sent to the cloud, the cloud renders the real-time cloud game picture according to the rendering request, the real-time cloud game picture is returned to the terminal, and the terminal receives the real-time cloud game picture and then displays the real-time cloud game picture.
In some embodiments, after the searching the candidate cloud game frames in the local storage space according to the scene if the scene meets the preset scene condition, the method further includes:
if the candidate cloud game picture matched with the scene does not exist in the local storage space, a target rendering request is sent to the cloud;
receiving a target real-time game picture returned by the cloud based on the target rendering request;
and displaying the target real-time game picture, and storing the target real-time game picture into a local storage space as a candidate cloud game picture matched with the scene.
In the embodiment of the application, if the scene does not meet the preset scene condition, a target rendering request is sent to the cloud; receiving a target real-time game picture returned by the cloud based on the target rendering request; and displaying the target real-time game picture, and storing the target real-time game picture into a local storage space as a candidate cloud game picture matched with the scene, so that the candidate cloud game picture matched with the scene can be directly obtained from the local storage space according to the scene next time.
And S103, if the candidate cloud game picture matched with the scene exists in the local storage space, determining the candidate cloud game picture matched with the scene as a target cloud game picture.
And S104, displaying according to the target cloud game picture.
If the candidate cloud game picture matched with the scene exists in the local storage space, the candidate cloud game picture matched with the scene is determined to be a target cloud game picture, and then the target cloud game picture is displayed, so that the target cloud game picture does not need to be acquired from the cloud, the interaction times with the cloud are reduced, occupied network resources are reduced, the cloud game picture is prevented from being blocked, and the image quality of the cloud game picture is improved.
In some embodiments, if the scene satisfies the preset scene condition, querying the candidate cloud game frames in the local storage space according to the scene includes:
if the scene meets the preset scene condition, inquiring a candidate cloud game picture in a local storage space according to the scene, and generating a partial rendering request according to the cloud game picture and the next display content;
displaying according to the target cloud game picture, including:
receiving a part of real-time cloud game pictures returned by the cloud based on the part of rendering request;
and superposing and displaying the target cloud game picture and part of the real-time cloud game picture.
Wherein, according to the cloud game picture and the next display content, the process of generating the partial rendering request can be as follows:
determining a static game element and a non-static game element between the cloud game picture and the next display content according to the cloud game picture and the next display content;
a partial rendering request is generated from the non-stationary game elements.
At this time, the target cloud game screen may refer to a sub-cloud game screen in which the stationary game element is located. The next display content refers to the content of the cloud game screen to be displayed. The positions of the stationary game elements in the cloud game screen and the positions of the cloud game screen to be displayed are the same, and the positions of the non-stationary game elements in the cloud game screen and the positions of the cloud game screen to be displayed are different.
The terminal may determine the first game element in the cloud game picture and the second game element in the next display content, then determine whether the first game element and the second game element have the same game element, if the same game element exists, determine whether the position of the same game element in the cloud game picture is the same as the position in the cloud game picture to be displayed, if the positions are not the same, the same game element is a non-stationary game element, and if the positions are the same, the same game element is a stationary element.
For example, the cloud game picture is that a game character is in a certain position in a room, a lawn is arranged outside the room, namely, a first game element is that the game character, the room and the lawn are arranged in the cloud game picture to be displayed immediately, a second game element is that the game character, the room and the lawn are arranged at another position in the room, at the moment, the room and the lawn are stationary, and only the position of the game character is changed, so that the terminal can send the position difference of the game character to the cloud, so that a part of real-time cloud game picture of the game character at the other position is rendered, then, a part of real-time cloud game picture, a sub-cloud game picture corresponding to the room and a sub-cloud game picture corresponding to the lawn are overlapped, and the overlapped cloud game picture is obtained.
It should be noted that, when a game element that is not included in the first game element exists in the second game element, that is, when the game element is newly added to the second game element, the partial rendering request may also be generated according to the non-stationary game element and the newly added game element.
For example, the cloud game picture is that a game character is at a certain position in a room, a lawn is arranged outside the room, that is, a first game element is that the game character, the room and the lawn are arranged in the cloud game picture to be displayed immediately, a second game element is that the game character, the cat, the room and the lawn are arranged at another position in the room, at this moment, the room and the lawn are stationary, only the position of the game character is changed, and the cat is newly added, so that the terminal can send the position difference of the game character and the cat to the cloud, so that the cloud renders a part of real-time cloud game picture of the game character at another position and the cat, and then overlaps the part of real-time cloud game picture, the part of cloud game picture corresponding to the room and the cloud picture corresponding to the lawn to obtain an overlapped cloud game picture, and the cloud picture to be displayed immediately is that is the game picture to be displayed immediately.
As can be seen from the above, in the embodiment of the present application, a cloud game picture currently displayed by a terminal is obtained, and a scene is identified for the cloud game picture, so as to obtain a scene corresponding to the cloud game picture; inquiring candidate cloud game pictures in the local storage space according to the scene; if the candidate cloud game picture matched with the scene exists in the local storage space, determining the candidate cloud game picture matched with the scene as a target cloud game picture; according to the target cloud game picture, the cloud game picture is not required to be acquired from the cloud in real time, the interaction times with the cloud are reduced, occupied network resources are reduced, and the picture jamming rate is reduced.
The following further describes a screen display method according to an embodiment of the present application according to fig. 2.
The terminal acquires a cloud game picture currently displayed by the terminal and determines picture content corresponding to the cloud game picture. And the terminal performs scene recognition according to the picture content to obtain a scene corresponding to the cloud game picture.
The terminal judges whether the scene meets the preset scene condition. And if the scene meets the preset scene condition, inquiring the candidate cloud game picture in the local storage space according to the identification of the scene.
And if the candidate cloud game picture matched with the scene exists in the local storage space, determining the candidate cloud game picture matched with the scene as a target cloud game picture, and displaying the target cloud game picture.
If the candidate cloud game picture matched with the scene does not exist in the local storage space, a target rendering request is sent to the cloud, and a target real-time game picture returned by the cloud based on the target rendering request is received.
And the terminal displays the target real-time game picture and stores the target real-time game picture into the local storage space as a candidate cloud game picture matched with the scene.
If the scene does not meet the preset scene condition, generating a rendering request, sending the rendering request to the cloud, receiving a real-time game picture returned by the cloud based on the rendering request, and displaying the real-time game picture by the terminal.
For example, when the interaction type is no interaction type, determining the scene corresponding to the cloud game picture as no interaction type scene, and at this time, if the scene meets the preset scene condition, querying the candidate cloud game picture in the local storage space according to the identification of the scene includes:
and if the non-interactive type scene meets the preset scene condition, inquiring the candidate cloud game picture in the local storage space according to the non-interactive type scene.
For another example, when the interaction type is the target interaction type, determining the scene corresponding to the cloud game picture as the target interaction type scene, and if the scene does not meet the preset scene condition, generating a rendering request and sending the rendering request to the cloud, including:
if the target interaction type scene does not meet the preset scene condition, generating a rendering request and sending the rendering request to the cloud.
For a specific implementation manner in this embodiment, reference may be made to the above-mentioned image display embodiment, and this embodiment is not described herein again.
In order to facilitate better implementation of the image display method provided by the embodiment of the application, the embodiment of the application also provides a device based on the image display method. The meaning of the nouns is the same as that of the picture display method, and specific implementation details can be referred to the description of the method embodiment.
For example, as shown in fig. 3, the screen display device may include:
the obtaining module 301 is configured to obtain a cloud game frame currently displayed by the terminal, and perform scene recognition on the cloud game frame to obtain a scene corresponding to the cloud game frame.
And the query module 302 is configured to query the candidate cloud game frames in the local storage space according to the scene.
The determining module 303 is configured to determine the candidate cloud game frame matched with the scene as the target cloud game frame if the candidate cloud game frame matched with the scene exists in the local storage space.
And the display module 304 is used for displaying according to the target cloud game picture.
Optionally, the query module 302 is specifically configured to perform:
judging whether the scene meets the preset scene condition or not;
and if the scene meets the preset scene condition, inquiring the candidate cloud game picture in the local storage space according to the scene.
Optionally, the query module 302 is specifically configured to perform:
and if the scene meets the preset scene condition, inquiring the candidate cloud game picture in the local storage space according to the scene, and generating a partial rendering request according to the cloud game picture and the next display content.
The display module 304 is specifically configured to perform:
receiving a part of real-time cloud game pictures returned by the cloud based on the part of rendering request;
and superposing and displaying the target cloud game picture and part of the real-time cloud game picture.
Optionally, the display module 304 is further configured to perform:
if the candidate cloud game picture matched with the scene does not exist in the local storage space, a target rendering request is sent to the cloud;
receiving a target real-time game picture returned by the cloud based on the target rendering request;
and displaying the target real-time game picture, and storing the target real-time game picture into a local storage space as a candidate cloud game picture matched with the scene.
Optionally, the obtaining module 301 is specifically configured to perform:
determining picture content corresponding to a cloud game picture;
and carrying out scene recognition according to the picture content to obtain a scene corresponding to the cloud game picture.
Optionally, the obtaining module 301 is specifically configured to perform:
determining the content type of the picture content;
and carrying out scene recognition according to the content type to obtain a scene corresponding to the cloud game picture.
Optionally, the obtaining module 301 is specifically configured to perform:
determining the interaction type of the picture content;
and carrying out scene recognition according to the interaction type to obtain a scene corresponding to the cloud game picture.
Optionally, the obtaining module 301 is specifically configured to perform:
and if the interaction type is the no-interaction type, determining the scene corresponding to the cloud game picture as the no-interaction type scene.
The query module 302 is specifically configured to perform:
and if the non-interactive type scene meets the preset scene condition, inquiring the candidate cloud game picture in the local storage space according to the non-interactive type scene.
Optionally, the obtaining module 301 is specifically configured to perform:
and if the interaction type is the target interaction type, determining the scene corresponding to the cloud game picture as the target interaction type scene.
The display module 304 is further configured to perform:
if the target interaction type scene does not meet the preset scene condition, generating a rendering request, and sending the rendering request to the cloud;
receiving a real-time cloud game picture returned by the cloud based on the rendering request;
displaying a real-time cloud game screen.
In the specific implementation, each module may be implemented as an independent entity, or may be combined arbitrarily, and implemented as the same entity or a plurality of entities, and the specific implementation and the corresponding beneficial effects of each module may be referred to the foregoing method embodiments, which are not described herein again.
The embodiment of the application also provides a terminal, which may be a server or a terminal, as shown in fig. 4, and shows a schematic structural diagram of the terminal according to the embodiment of the application, specifically:
the terminal may include one or more processing cores 'processors 401, one or more computer-readable storage media's memory 402, power supply 403, and input unit 404, among other components. It will be appreciated by those skilled in the art that the terminal structure shown in fig. 4 is not limiting of the terminal and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. Wherein:
the processor 401 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by running or executing computer programs and/or modules stored in the memory 402, and calling data stored in the memory 402. Optionally, processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application program, etc., and the modem processor mainly processes wireless communication. It will be appreciated that the modem processor described above may not be integrated into the processor 401.
The memory 402 may be used to store computer programs and modules, and the processor 401 executes various functional applications and data processing by executing the computer programs and modules stored in the memory 402. The memory 402 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, a computer program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the terminal, etc. In addition, memory 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.
The terminal further comprises a power supply 403 for supplying power to the various components, preferably the power supply 403 may be logically connected to the processor 401 by a power management system, so that functions of managing charging, discharging, power consumption management, etc. are achieved by the power management system. The power supply 403 may also include one or more of any of a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
The terminal may also include an input unit 404, which input unit 404 may be used to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the terminal may further include a display unit or the like, which is not described herein. In this embodiment, the processor 401 in the terminal loads executable files corresponding to the processes of one or more computer programs into the memory 402 according to the following instructions, and the processor 401 executes the computer programs stored in the memory 402, so as to implement various functions, for example:
acquiring a cloud game picture currently displayed by a terminal, and carrying out scene recognition on the cloud game picture to obtain a scene corresponding to the cloud game picture;
inquiring candidate cloud game pictures in the local storage space according to the scene;
if the candidate cloud game picture matched with the scene exists in the local storage space, determining the candidate cloud game picture matched with the scene as a target cloud game picture;
and displaying according to the target cloud game picture.
The specific embodiments and the corresponding beneficial effects of the above operations can be referred to the detailed description of the method for displaying the picture, which is not repeated herein.
It will be appreciated by those of ordinary skill in the art that all or part of the steps of the various methods of the above embodiments may be performed by a computer program, or by computer program control related hardware, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the present embodiments provide a computer readable storage medium having stored therein a computer program that can be loaded by a processor to perform the steps of any of the picture display methods provided by the embodiments of the present application. For example, the computer program may perform the steps of:
acquiring a cloud game picture currently displayed by a terminal, and carrying out scene recognition on the cloud game picture to obtain a scene corresponding to the cloud game picture;
inquiring candidate cloud game pictures in the local storage space according to the scene;
if the candidate cloud game picture matched with the scene exists in the local storage space, determining the candidate cloud game picture matched with the scene as a target cloud game picture;
and displaying according to the target cloud game picture.
The specific embodiments and the corresponding beneficial effects of each of the above operations can be found in the foregoing embodiments, and are not described herein again.
Wherein the computer-readable storage medium may comprise: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
Since the computer program stored in the computer readable storage medium may execute the steps in any of the image display methods provided in the embodiments of the present application, the beneficial effects that any of the image display methods provided in the embodiments of the present application may be achieved are detailed in the previous embodiments and will not be described herein.
Among other things, according to one aspect of the present application, a computer program product or computer program is provided that includes computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the above-described screen display method.
The foregoing describes in detail a method, an apparatus, a terminal, and a computer storage medium for displaying a picture provided in the embodiments of the present application, and specific examples are applied to illustrate principles and implementations of the present application, where the foregoing description of the embodiments is only for helping to understand the method and core ideas of the present application; meanwhile, those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, and the present description should not be construed as limiting the present application in view of the above.

Claims (12)

1. A picture display method, applied to a terminal, comprising:
acquiring a cloud game picture currently displayed by the terminal, and carrying out scene recognition on the cloud game picture to obtain a scene corresponding to the cloud game picture;
inquiring candidate cloud game pictures in a local storage space according to the scene;
if the candidate cloud game picture matched with the scene exists in the local storage space, determining the candidate cloud game picture matched with the scene as a target cloud game picture;
and displaying according to the target cloud game picture.
2. The screen display method according to claim 1, wherein the querying the candidate cloud game screen in the local storage space according to the scene includes:
judging whether the scene meets the preset scene condition or not;
and if the scene meets the preset scene condition, inquiring the candidate cloud game picture in the local storage space according to the scene.
3. The method for displaying a picture according to claim 2, wherein if the scene satisfies a preset scene condition, querying the candidate cloud game picture in the local storage space according to the scene includes:
if the scene meets the preset scene condition, inquiring a candidate cloud game picture in a local storage space according to the scene, and generating a partial rendering request according to the cloud game picture and the next display content;
displaying according to the target cloud game picture, including:
receiving a part of real-time cloud game pictures returned by the cloud based on the part of rendering requests;
and superposing the target cloud game picture and the part of real-time cloud game picture and then displaying.
4. The picture display method according to claim 2, further comprising, after the candidate cloud game pictures in the local storage space are queried according to the scene if the scene satisfies a preset scene condition:
if the candidate cloud game picture matched with the scene does not exist in the local storage space, a target rendering request is sent to a cloud;
receiving a target real-time game picture returned by the cloud based on the target rendering request;
and displaying the target real-time game picture, and storing the target real-time game picture into the local storage space as a candidate cloud game picture matched with the scene.
5. The method for displaying a picture according to claim 1, wherein the performing scene recognition on the cloud game picture to obtain a scene corresponding to the cloud game picture comprises:
determining the picture content corresponding to the cloud game picture;
and performing scene recognition according to the picture content to obtain a scene corresponding to the cloud game picture.
6. The method for displaying a picture according to claim 5, wherein said performing scene recognition according to the picture content to obtain a scene corresponding to the cloud game picture comprises:
determining the content type of the picture content;
and performing scene recognition according to the content type to obtain a scene corresponding to the cloud game picture.
7. The method for displaying a picture according to claim 5, wherein said performing scene recognition according to the picture content to obtain a scene corresponding to the cloud game picture comprises:
determining the interaction type of the picture content;
and performing scene recognition according to the interaction type to obtain a scene corresponding to the cloud game picture.
8. The method for displaying a picture according to claim 7, wherein said performing scene recognition according to the interaction type to obtain a scene corresponding to the cloud game picture comprises:
if the interaction type is no interaction type, determining a scene corresponding to the cloud game picture as a no interaction type scene;
the querying the candidate cloud game picture in the local storage space according to the scene comprises the following steps:
and if the non-interactive type scene meets the preset scene condition, inquiring the candidate cloud game picture in the local storage space according to the non-interactive type scene.
9. The method for displaying a picture according to claim 7, wherein said performing scene recognition according to the interaction type to obtain a scene corresponding to the cloud game picture comprises:
if the interaction type is a target interaction type, determining a scene corresponding to the cloud game picture as a target interaction type scene;
after determining the scene corresponding to the cloud game picture as the target interaction type scene if the interaction type is the target interaction type, the method further comprises:
if the target interaction type scene does not meet the preset scene condition, generating a rendering request, and sending the rendering request to a cloud;
receiving a real-time cloud game picture returned by the cloud based on the rendering request;
and displaying the real-time cloud game picture.
10. A picture display device, characterized by being applied to a terminal, comprising:
the acquisition module is used for acquiring a cloud game picture currently displayed by the terminal, and carrying out scene recognition on the cloud game picture to obtain a scene corresponding to the cloud game picture;
the query module is used for querying candidate cloud game pictures in the local storage space according to the scene;
the determining module is used for determining the candidate cloud game picture matched with the scene as a target cloud game picture if the candidate cloud game picture matched with the scene exists in the local storage space;
and the display module is used for displaying according to the target cloud game picture.
11. A terminal comprising a processor and a memory, the memory storing a computer program, the processor being configured to execute the computer program in the memory to perform the picture display method of any one of claims 1 to 9.
12. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program adapted to be loaded by a processor for performing the picture display method according to any one of claims 1 to 9.
CN202410073559.0A 2024-01-17 2024-01-17 Picture display method, device, terminal and computer storage medium Pending CN117771666A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410073559.0A CN117771666A (en) 2024-01-17 2024-01-17 Picture display method, device, terminal and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410073559.0A CN117771666A (en) 2024-01-17 2024-01-17 Picture display method, device, terminal and computer storage medium

Publications (1)

Publication Number Publication Date
CN117771666A true CN117771666A (en) 2024-03-29

Family

ID=90385692

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410073559.0A Pending CN117771666A (en) 2024-01-17 2024-01-17 Picture display method, device, terminal and computer storage medium

Country Status (1)

Country Link
CN (1) CN117771666A (en)

Similar Documents

Publication Publication Date Title
KR20200113276A (en) Resource arrangement method, device, terminal and storage medium
US20210350417A1 (en) Resource presentation method, resource presentation apparatus, and storage medium
CN113824977B (en) Live broadcast room virtual gift giving method, system, device, equipment and storage medium
CN113596488B (en) Live broadcast room display method and device, electronic equipment and storage medium
CN112231604A (en) Page display method and device, electronic equipment and storage medium
CN111079529A (en) Information prompting method and device, electronic equipment and storage medium
CN113868446A (en) Page display method, device, equipment and storage medium
CN108600780B (en) Method for pushing information, electronic device and computer readable medium
CN109218817B (en) Method and device for displaying virtual gift prompting message
CN112950294A (en) Information sharing method and device, electronic equipment and storage medium
CN117771666A (en) Picture display method, device, terminal and computer storage medium
CN117156191A (en) Interface display method, device, electronic equipment and computer readable storage medium
WO2022183940A1 (en) Method and apparatus for acquiring recommended content resource, and device, medium and program product
CN109391817B (en) Texture data transmission method and device
CN113515336B (en) Live room joining method, creation method, device, equipment and storage medium
CN116059631A (en) Object rendering method, device, electronic equipment and computer readable storage medium
KR20200108348A (en) Data transfer
CN113891136A (en) Video playing method and device, electronic equipment and storage medium
CN111225266B (en) User interface interaction method and system
CN114567792A (en) Virtual resource display method, device, equipment, server and storage medium
CN113986168A (en) Image display method, device, equipment and readable storage medium
CN110557648A (en) bullet screen display method and device in live mobile game and server
CN115278278B (en) Page display method and device, electronic equipment and storage medium
CN114727137B (en) Video playing method and device, storage medium and computer equipment
CN117409113A (en) Animation playing method and device, electronic equipment and computer storage medium

Legal Events

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