Target scene picture restoration method and device, electronic equipment and storage medium

文档序号:623978 发布日期:2021-05-11 浏览:23次 中文

阅读说明:本技术 目标场景画面的还原方法、装置、电子设备及存储介质 (Target scene picture restoration method and device, electronic equipment and storage medium ) 是由 胡婷婷 赵男 包炎 刘超 施一东 李鑫培 师锐 董一夫 于 2020-12-31 设计创作,主要内容包括:本发明实施例公开了一种目标场景画面的还原方法、装置、电子设备及存储介质,该方法包括:接收对目标场景进行还原的还原请求,确定与所述还原请求对应的待还原的目标场景画面;获取与所述目标场景画面对应的目标画面数据,基于所述目标画面数据还原出所述目标场景画面。通过本发明实施例的技术方案,实现了根据还原请求还原目标场景画面,提高游戏场景的可复现性,进而提升了用户体验的技术效果。(The embodiment of the invention discloses a method and a device for restoring a target scene picture, electronic equipment and a storage medium, wherein the method comprises the following steps: receiving a restoration request for restoring a target scene, and determining a target scene picture to be restored corresponding to the restoration request; and acquiring target picture data corresponding to the target scene picture, and restoring the target scene picture based on the target picture data. According to the technical scheme of the embodiment of the invention, the target scene picture is restored according to the restoration request, the reproducibility of the game scene is improved, and the technical effect of user experience is further improved.)

1. A method for restoring a target scene picture, comprising:

receiving a restoration request for restoring a target scene, and determining a target scene picture to be restored corresponding to the restoration request;

and acquiring target picture data corresponding to the target scene picture, and restoring the target scene picture based on the target picture data.

2. The method of claim 1, wherein receiving a restore request to restore a target scene comprises:

and receiving a restoration request for restoring the target scene, which is input by the target user.

3. The method of claim 2, wherein receiving a target user input restore request to restore a target scene comprises at least one of:

receiving an image triggering operation of a target user for triggering display image data corresponding to a target scene, and generating a restoration request for restoring the target scene based on the image triggering operation;

receiving an identification triggering operation of a target user for triggering a scene identification corresponding to a target scene, and generating a restoration request for restoring the target scene based on the identification triggering operation;

receiving a request parameter input by a target user based on a preset scene restoration request interface, and generating a restoration request for restoring a target scene based on the request parameter.

4. The method according to claim 1, wherein said obtaining target picture data corresponding to the target scene picture comprises:

and determining target picture data corresponding to the target scene picture based on at least one group of pre-stored picture data to be selected corresponding to the target scene picture.

5. The method according to claim 4, wherein the determining target picture data corresponding to the target scene picture based on at least one group of pre-stored candidate picture data corresponding to the target scene picture comprises:

determining a data reduction angle corresponding to each group of to-be-selected picture data in at least one group of pre-stored to-be-selected picture data corresponding to the target scene picture;

and determining at least one group of target picture data corresponding to the target scene picture based on the data reduction angle.

6. The method of claim 5, wherein the determining at least one set of target picture data corresponding to the target scene picture based on the reduction angle information comprises:

and adjusting the to-be-selected picture data based on a preset reduction angle and the data reduction angle information to obtain at least one group of target picture data corresponding to the target scene picture.

7. The method according to claim 5 or 6, wherein the restoring the target scene picture based on the target picture data comprises:

rendering at least one group of target picture data corresponding to the target scene picture, and restoring the target picture data into at least one scene picture to be selected;

and determining the target scene picture based on at least one scene picture to be selected.

8. An apparatus for restoring a target scene picture, comprising:

the target scene picture acquiring module is used for receiving a reduction request for reducing a target scene and determining a target scene picture to be reduced corresponding to the reduction request;

and the target scene picture restoration module is used for acquiring target picture data corresponding to the target scene picture and restoring the target scene picture based on the target picture data.

9. An electronic device, characterized in that the electronic device comprises:

one or more processors;

a storage device for storing one or more programs,

when executed by the one or more processors, cause the one or more processors to implement a method of restoring a target scene picture as recited in any one of claims 1-7.

10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements a method for restoring a target scene picture according to any one of claims 1 to 7.

Technical Field

The embodiment of the invention relates to the technical field of game development, in particular to a method and a device for restoring a target scene picture, electronic equipment and a storage medium.

Background

In order to record some scene pictures of a game player in a network game, a function of video recording or photo shooting is arranged in the conventional game. When a game player wants to record a certain animation or a certain frame of picture, the shooting button can be triggered to achieve the purpose of recording.

The plot, fight, etc. that a gamer experiences in a network game may all be transient and non-repeatable. When a game player wants to view a scene that the player has experienced, the player may not be able to view the scene because the shooting button is not triggered. The above situation may cause that the game player cannot review the scene images experienced before, and cannot repeat the scene images experienced before, which may result in poor game experience of the game player.

Disclosure of Invention

The embodiment of the invention provides a method and a device for restoring a target scene picture, electronic equipment and a storage medium, which are used for restoring the target scene picture according to a restoration request, improving reproducibility of a game scene and further improving technical effects of user experience.

In a first aspect, an embodiment of the present invention provides a method for restoring a target scene picture, where the method includes:

receiving a restoration request for restoring a target scene, and determining a target scene picture to be restored corresponding to the restoration request;

and acquiring target picture data corresponding to the target scene picture, and restoring the target scene picture based on the target picture data.

In a second aspect, an embodiment of the present invention further provides an apparatus for restoring a target scene picture, where the apparatus includes:

the target scene picture acquiring module is used for receiving a reduction request for reducing a target scene and determining a target scene picture to be reduced corresponding to the reduction request;

and the target scene picture restoration module is used for acquiring target picture data corresponding to the target scene picture and restoring the target scene picture based on the target picture data.

In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:

one or more processors;

a storage device for storing one or more programs,

when the one or more programs are executed by the one or more processors, the one or more processors implement the method for restoring the target scene picture according to any of the embodiments of the present invention.

In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for restoring the target scene picture according to any one of the embodiments of the present invention.

According to the technical scheme of the embodiment of the invention, the target scene picture to be restored corresponding to the restoration request is determined by receiving the restoration request for restoring the target scene so as to accurately position the scene picture which the game player wants to restore, the target picture data corresponding to the target scene picture is acquired, and then the target scene picture is restored, so that the problem that the scene picture which the game player has experienced cannot be reproduced due to the fact that a shooting key is not triggered is solved, the target scene picture is restored according to the restoration request, the reproducibility of the game scene is improved, and the technical effect of user experience is further improved.

Drawings

In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, a brief description is given below of the drawings used in describing the embodiments. It should be clear that the described figures are only views of some of the embodiments of the invention to be described, not all, and that for a person skilled in the art, other figures can be derived from these figures without inventive effort.

Fig. 1 is a schematic flowchart of a method for restoring a target scene picture according to an embodiment of the present invention;

fig. 2 is a schematic flowchart of a method for restoring a target scene picture according to a second embodiment of the present invention;

fig. 3 is a schematic structural diagram of a device for restoring a target scene picture according to a third embodiment of the present invention;

fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention.

Detailed Description

The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.

Example one

Fig. 1 is a schematic flow chart of a method for restoring a target scene picture according to an embodiment of the present invention, where the embodiment is applicable to a situation where a game target scene that a game player has experienced in the past is reproduced, and the method may be executed by a device for restoring a target scene picture, where the device may be implemented in a form of software and/or hardware, and the hardware may be an electronic device, and optionally, the electronic device may be a mobile terminal, and the like.

As shown in fig. 1, the method of this embodiment specifically includes the following steps:

s110, receiving a reduction request for reducing the target scene, and determining a target scene picture to be reduced corresponding to the reduction request.

Wherein the target scene may be a scene that a character controlled by a game player has experienced. The target scene may be a scene picture including elements such as characters, monsters, weather, trees, or buildings. The target scene may be understood as a scene to be restored by the determination. The restore request may be a request message for triggering a restore operation, such as: the restoration request may be a request instruction or program code or the like for restoring the target scene.

Illustratively, the target scene picture may include a picture of a target scene corresponding to at least one photographing angle. The shooting angle may be a relative angle between the shooting device and the shooting reference point determined by using any point in the target scene as the shooting reference point. The camera may be a device for observing and/or photographing a target scene. For example: the shooting angle may be a relative angle between the shooting device and a central point in the target scene, or may also be a relative angle between the shooting device and a horizon in the target scene, and the specific determination manner of the shooting angle is not specifically limited in this embodiment.

Specifically, if the game system or the game player wants to restore a screen of a scene that the game player has previously passed through, the scene may be used as a target scene, and a restoration request for the target scene may be sent. When a restoration request for a target scene is received, a target scene picture to be restored corresponding to the restoration request can be determined according to the restoration request.

For example, the restore request may include position information of the target scene, such as scene coordinate information in the game. According to the position information, the scene picture corresponding to the position information can be determined as the target scene picture. The restore request may also include time information of the target scene, for example, time information of a past time point. It may be determined from the time information that the scene picture corresponding to the time information is the target scene picture.

And S120, acquiring target picture data corresponding to the target scene picture, and restoring the target scene picture based on the target picture data.

The target scene data may be a data set corresponding to the target scene stored in the game server.

It should be noted that the picture data corresponding to different scene pictures are different, and the picture data obtained from the same scene at different shooting angles are also different. There may be one, two, or more sets of picture data corresponding to the target scene picture. Therefore, when the target scene screen is restored, it is necessary to acquire target screen data corresponding to the target scene screen. Specifically, the target scene data corresponding to the target scene may be retrieved from the game server according to the determined target scene. The target picture data may include at least one set of data, and the target scene picture may be reconstructed and restored according to data information of each set of data. And restoring a target scene picture based on the target picture data, specifically, rendering the target picture data to obtain the target scene picture.

It should be noted that the data set may include, but is not limited to, at least one of the following data: inanimate scene object data, dynamic environment data, character and/or animal data, and skill body and/or creature data, among others. Wherein the inanimate scene object data may include, but is not limited to, at least one of the following: data of inanimate objects such as buildings, flowers, plants, trees, tables, chairs, stools and the like in a scene; the dynamic environment data may include, but is not limited to, at least one of the following: time of environment, weather, wind conditions and tide in a scene, dynamic environmental data such as: the dynamic environment data in the daytime and at night are different, the dynamic environment data in rain and snow are different, the dynamic environment data in no wind and strong wind are different, and the dynamic environment data in flood tide and ebb tide are different; the character and/or animal data may include, but is not limited to, at least one of the following: data of other dynamic life bodies such as game characters, teammate characters, enemy characters, Non-Player characters (NPC), monsters, and animals manipulated by game players; the skill body and/or generative data may include, but is not limited to, at least one of the following: skill special effect data released by each character and/or monster, and biological data carried or summoned by each character.

According to the technical scheme of the embodiment of the invention, the target scene picture to be restored corresponding to the restoration request is determined by receiving the restoration request for restoring the target scene so as to accurately position the scene picture which the game player wants to restore, the target picture data corresponding to the target scene picture is acquired, and then the target scene picture is restored, so that the problem that the scene picture which the game player has experienced cannot be reproduced due to the fact that a shooting key is not triggered is solved, the target scene picture is restored according to the restoration request, the reproducibility of the game scene is improved, and the technical effect of user experience is further improved.

Example two

Fig. 2 is a schematic flow chart of a method for restoring a target scene picture according to a second embodiment of the present invention, and for an obtaining manner of a restoration request and an obtaining manner of target picture data, reference may be made to the technical solution of the present embodiment based on the above embodiments. Optionally, a restoring request for restoring the target scene, which is input by the user, is received. Optionally, the target picture data corresponding to the target scene picture is determined based on at least one group of pre-stored picture data to be selected corresponding to the target scene picture. The same or corresponding terms as those in the above embodiments are not explained in detail herein.

As shown in fig. 2, the method of this embodiment specifically includes the following steps:

s210, receiving a reduction request for reducing the target scene input by a user, and determining a target scene picture to be reduced corresponding to the reduction request.

Specifically, in this embodiment, the user may be regarded as a game player, and when the game player wants to restore a picture of a scene that passes before, the game player may regard the scene as a target scene, and input a restoration request related to the scene at a preset position to send a restoration request for the target scene. When a restoration request for a target scene is received, a target scene picture to be restored corresponding to the restoration request can be determined according to the restoration request.

Optionally, receiving a restore request for restoring the target scene, which is input by a user, may include at least one of the following operations:

the first operation is: and receiving an image triggering operation of a target user for triggering display image data corresponding to the target scene, and generating a restoration request for restoring the target scene based on the image triggering operation.

Specifically, the game player may trigger a control that presents image data to trigger an interface that invokes a target scene. The interface for restoring the target scene can show the scene images that the game player has experienced, and at this time, the game player can select the scene image that the game player wants to trigger in the interface for restoring the target scene. When a scene image triggered by a game player is detected, the scene can be used as a target scene, and a restoration request for restoring the target scene is generated based on an image triggering operation.

The second operation is as follows: and receiving an identification triggering operation of triggering a scene identification corresponding to the target scene by the target user, and generating a reduction request for reducing the target scene based on the identification triggering operation.

The scene identifier may be an identifier corresponding to each scene in the game scene, and one scene corresponding to the scene identifier may be uniquely determined according to the scene identifier. For example: the scene identification may be a name, identifier, etc. of the scene.

Specifically, the game player may trigger a scene identifier corresponding to a scene that is desired to be restored, for example: scene name or identifier, etc. Illustratively, the scene identification may be provided on a game map. When the scene identifier triggered by the game player is received, a scene corresponding to the scene identifier may be used as a target scene, and a restoration request for restoring the target scene is generated based on the scene identifier.

For example, if a game player wants to restore his/her picture in a scene of a dungeon, a scene identifier corresponding to the dungeon may be triggered, for example: scene name day fastness or scene identification TL1, etc. And after receiving the triggered scene identification, taking the Tian-Lao scene corresponding to the scene identification as a target scene, and generating a restoration request for restoring the Tian-Lao scene based on the target scene.

The third operation: receiving a request parameter input by a target user based on a preset scene restoration request interface, and generating a restoration request for restoring a target scene based on the request parameter.

The scene restoration request interface can generate a restoration request according to the request parameters input by the target user. The request parameter may be a parameter for describing the scene, such as scene coordinates and the like.

Specifically, when a game player wants to restore a scene picture of a certain scene, a preset scene restoration request interface may be triggered. The game player may input a request parameter at a preset position in the scene restoration request interface, and the request parameter may include a parameter for determining a scene, such as coordinate information of the scene. The request parameters input by the game player can be obtained based on the scene restoration request interface, and a restoration request for restoring the target scene is generated according to the request parameters.

Alternatively, the restoration request received from the target user may be a restoration request generated according to the elapsed time of the target player. For example, the game player may be displayed on each date in the game, and when the game player triggers any one of the dates, the time point of switching different scenes within the date of the game player may be called, so that the game player can determine the target scene according to the date and the time. When any time point triggered by the game player is received, the time point can be used as a target time point, and a restoration request for restoring the target scene is generated based on the target time point.

S220, determining target picture data corresponding to the target scene picture based on at least one group of pre-stored picture data to be selected corresponding to the target scene picture.

The candidate picture data may be picture data corresponding to the target scene. The candidate picture data may include picture data at each shooting angle of the target scene. The candidate picture data corresponding to the target scene picture may further include picture data in a preset time before and after the target scene picture.

Specifically, after determining that the target scene picture to be restored corresponding to the restoration request is restored, at least one set of candidate picture data corresponding to the target scene picture, which is stored by the game server, may be obtained, where each set of candidate picture data may be picture data corresponding to different shooting angles, or picture data corresponding to different time points. Further, one or more sets of candidate picture data may be determined as target picture data corresponding to the target scene picture based on the picture integrity, the composition aesthetics, the game player aesthetics, and other factors.

For example, each set of candidate screen data may be evaluated according to data such as inanimate scene object data, dynamic environment data, character and/or animal data, and skill body and/or creature data in each set of candidate screen data, so as to use one or more sets of candidate screen data with high evaluation as target screen data.

Optionally, the method for determining the target picture data according to the evaluation of each group of the to-be-selected picture data may be to determine a scene cool value of each group of the to-be-selected picture data based on at least one preset scene cool value parameter, and select a preset number of the to-be-selected picture data ranked in the top from high to low as the target picture data according to the scene cool value.

The scene cool value parameter may be understood as a preset parameter for calculating a scene cool value of the to-be-selected picture data. The scene cool value can be used for measuring the aesthetic degree of the to-be-selected picture data, and the scene cool value parameters can comprise an inanimate scene object cool value parameter, a dynamic environment cool value parameter, a role and/or animal cool value parameter, a skill body and/or creature cool value parameter and the like.

Specifically, according to preset scene cool value parameter determination rules, scene cool value parameters such as an inanimate scene object cool value parameter, a dynamic environment cool value parameter, a role and/or animal cool value parameter, a skill body and/or creature cool value parameter and the like of the picture data to be selected are respectively determined, and according to cool value parameter values of at least one group of scene cool value parameters, the scene cool value of the picture data to be selected is determined. The manner of determining the scene cool value may be to perform summation processing or weighted summation processing on the cool value parameter values of different scene cool value parameters. After the scene cool values of each group of the candidate picture data are obtained, the scene cool values can be sorted from high to low, and the preset number of the candidate picture data which are sorted in the front are used as at least one group of target picture data corresponding to the target scene picture.

The preset number may be the number of groups of the determined target picture data, and may be, for example, one group, two groups, or more than two groups.

Optionally, each set of the to-be-selected picture data may include a reduction angle corresponding to the set of the to-be-selected picture data, and at least one set of target picture data corresponding to the target scene picture may be determined based on the data reduction angle and the corresponding to-be-selected picture data. The specific steps can be as follows:

determining a data reduction angle corresponding to each group of to-be-selected picture data in at least one group of pre-stored to-be-selected picture data corresponding to a target scene picture; and determining at least one group of target picture data corresponding to the target scene picture based on the data recovery angle.

The data reduction angle may be a shooting angle corresponding to each group of to-be-selected picture data, for example: the data recovery angle corresponding to the first group of the to-be-selected picture data is 30 degrees, the data recovery angle corresponding to the second group of the to-be-selected picture data is 45 degrees, the data recovery angle corresponding to the third group of the to-be-selected picture data is 75 degrees, and the like.

Specifically, at least one group of pre-stored to-be-selected picture data corresponding to the target scene picture is determined in the storage space of the game server, and a data recovery angle corresponding to each group of to-be-selected picture data is determined. Based on the data reduction angle and the candidate picture data, at least one set of target picture data corresponding to the target scene picture can be determined.

If the data reduction angle required by the target user or the system is different from the data reduction angle corresponding to each group of the to-be-selected picture data, the target picture data of the required data reduction angle can be obtained by adjusting according to each group of the to-be-selected picture data and the corresponding data reduction angle.

Optionally, the to-be-selected picture data is adjusted based on the preset reduction angle and the data reduction angle information, so as to obtain at least one group of target picture data corresponding to the target scene picture.

The preset restoration angle may be angle information corresponding to a target scene picture required by a target user or a system. Specifically, an angle preset by the system may be used as a preset reduction angle, and an angle input by the target user may also be used as a preset reduction angle. If the data reduction angle includes a preset reduction angle, the to-be-selected picture data corresponding to the preset reduction angle can be used as the target picture data corresponding to the target scene picture. If the data reduction angle does not include the preset reduction angle, the most-to-be-selected picture data can be adjusted according to the data reduction angle and the angle information of the preset reduction angle to obtain picture data corresponding to the preset reduction angle, and the picture data is used as target picture data corresponding to a target scene picture.

Illustratively, if the data reduction angle includes 30 degrees, 45 degrees, 60 degrees, 75 degrees, and 90 degrees. When the preset reduction angle is 45 degrees, the to-be-selected picture data corresponding to 45 degrees may be used as the target picture data. When the preset reduction angle is 50 degrees, the adjustment can be performed according to the existing data reduction angle and the to-be-selected picture data corresponding to each data reduction angle to obtain the picture data corresponding to 50 degrees, and the picture data is used as the target picture data.

And S230, rendering at least one group of target picture data corresponding to the target scene picture, and restoring the target picture data into at least one scene picture to be selected.

The scene picture to be selected can be a scene picture obtained by reconstructing, restoring and rendering the target picture data.

Specifically, at least one set of target picture data corresponding to the target scene picture is processed, the restored scene picture can be reconstructed, and then the image can be rendered through a Graphics Processing Unit (GPU) to obtain at least one more beautiful and vivid scene picture to be selected. It is to be understood that the number of scene pictures to be selected may coincide with the number of sets of target picture data.

S240, determining a target scene picture based on at least one scene picture to be selected.

Specifically, if the scene picture to be selected is one, the scene picture to be selected may be used as the target scene picture. If the number of the scene pictures to be selected is two or more, all the scene pictures to be selected can be used as the target scene pictures, and a preset number of pictures can be selected from all the scene pictures to be selected to be used as the target scene pictures.

Optionally, if the determined target scene pictures are two or more than two, all the target scene pictures may be displayed on the display interface of the game player for the game player to view. Optionally, a selection operation of the game player on at least one scene picture to be selected based on the display interface input can be received, and a target scene picture is determined based on the selection operation. For example, the game player may also select one or more pictures that he or she is satisfied with from among the plurality of pictures, and when the selection is completed, the game player may trigger the determination button. When the determined button is detected to be triggered, the checked target scene picture information can be displayed and/or saved.

According to the technical scheme of the embodiment of the invention, the target scene picture to be restored corresponding to the restoration request is determined by receiving the restoration request input by the target user for restoring the target scene, so that the scene picture to be restored by the game player is accurately positioned, the target picture data corresponding to the target scene picture is determined based on at least one group of pre-stored picture data to be selected corresponding to the target scene picture, and then the target scene picture is restored, the problem that the scene picture which the game player has experienced can not be reproduced due to the fact that a shooting key is not triggered is solved, the restoration of the target scene picture according to the restoration request is realized, the reproducibility of the game scene is improved, and the technical effect of user experience is further improved.

EXAMPLE III

Fig. 3 is a schematic structural diagram of a device for restoring a target scene picture according to a third embodiment of the present invention, where the device includes: a target scene picture acquisition module 310 and a target scene picture restoration module 320.

The target scene picture acquiring module 310 is configured to receive a restoration request for restoring a target scene, and determine a target scene picture to be restored corresponding to the restoration request; and a target scene picture restoring module 320, configured to obtain target picture data corresponding to the target scene picture, and restore the target scene picture based on the target picture data.

Optionally, the target scene picture acquiring module 310 is further configured to receive a restoring request for restoring the target scene, which is input by the target user.

Optionally, the target scene picture obtaining module 310 is further configured to receive an image trigger operation that the target user triggers display image data corresponding to the target scene, and generate a restoration request for restoring the target scene based on the image trigger operation; and/or receiving an identifier triggering operation of a target user triggering a scene identifier corresponding to the target scene, and generating a restoration request for restoring the target scene based on the identifier triggering operation; and/or receiving request parameters input by a target user based on a preset scene restoration request interface, and generating a restoration request for restoring the target scene based on the request parameters.

Optionally, the target scene picture restoring module 320 is further configured to determine target picture data corresponding to the target scene picture based on at least one group of pre-stored candidate picture data corresponding to the target scene picture.

Optionally, the target scene picture restoring module 320 is further configured to determine a data restoring angle corresponding to each group of to-be-selected picture data in at least one group of to-be-selected picture data corresponding to the target scene picture, which are stored in advance; and determining at least one group of target picture data corresponding to the target scene picture based on the data recovery angle.

Optionally, the target scene picture restoration module 320 is further configured to adjust the picture data to be selected based on the preset restoration angle and the data restoration angle information, so as to obtain at least one set of target picture data corresponding to the target scene picture.

Optionally, the target scene picture restoring module 320 is further configured to render at least one set of target picture data corresponding to the target scene picture, and restore the target scene picture to at least one candidate scene picture; and determining a target scene picture based on at least one scene picture to be selected.

According to the technical scheme of the embodiment of the invention, the target scene picture to be restored corresponding to the restoration request is determined by receiving the restoration request for restoring the target scene so as to accurately position the scene picture which the game player wants to restore, the target picture data corresponding to the target scene picture is acquired, and then the target scene picture is restored, so that the problem that the scene picture which the game player has experienced cannot be reproduced due to the fact that a shooting key is not triggered is solved, the target scene picture is restored according to the restoration request, the reproducibility of the game scene is improved, and the technical effect of user experience is further improved.

The device for restoring the target scene picture, provided by the embodiment of the invention, can execute the method for restoring the target scene picture, provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.

It should be noted that, the units and modules included in the device for restoring the target scene picture are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the embodiment of the invention.

Example four

Fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention. FIG. 4 illustrates a block diagram of an exemplary electronic device 40 suitable for use in implementing embodiments of the present invention. The electronic device 40 shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiment of the present invention.

As shown in fig. 4, electronic device 40 is embodied in the form of a general purpose computing device. The components of electronic device 40 may include, but are not limited to: one or more processors or processing units 401, a system memory 402, and a bus 403 that couples the various system components (including the system memory 402 and the processing unit 401).

Bus 403 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.

Electronic device 40 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 40 and includes both volatile and nonvolatile media, removable and non-removable media.

The system memory 402 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)404 and/or cache memory 405. The electronic device 40 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 406 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 403 by one or more data media interfaces. Memory 402 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.

A program/utility 408 having a set (at least one) of program modules 407 may be stored, for example, in memory 402, such program modules 407 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 407 generally perform the functions and/or methods of the described embodiments of the invention.

The electronic device 40 may also communicate with one or more external devices 409 (e.g., keyboard, pointing device, display 410, etc.), with one or more devices that enable a user to interact with the electronic device 40, and/or with any devices (e.g., network card, modem, etc.) that enable the electronic device 40 to communicate with one or more other computing devices. Such communication may be through input/output (I/O) interface 411. Also, the electronic device 40 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 412. As shown, the network adapter 412 communicates with the other modules of the electronic device 40 over the bus 403. It should be appreciated that although not shown in FIG. 4, other hardware and/or software modules may be used in conjunction with electronic device 40, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.

The processing unit 401 executes various functional applications and data processing by running a program stored in the system memory 402, for example, to implement a method for restoring a target scene screen provided by an embodiment of the present invention.

EXAMPLE five

An embodiment of the present invention further provides a storage medium containing computer-executable instructions, where the computer-executable instructions are executed by a computer processor to perform a method for restoring a target scene picture, and the method includes:

receiving a restoration request for restoring a target scene, and determining a target scene picture to be restored corresponding to the restoration request;

and acquiring target picture data corresponding to the target scene picture, and restoring the target scene picture based on the target picture data.

Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer 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 computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, 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. In the context of this document, a computer 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.

A computer readable signal medium may include a propagated data signal with computer 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 computer readable signal medium may also be any computer readable medium that is not a computer 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 computer readable 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.

Computer program code for carrying out operations for embodiments 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, Smalltalk, 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 computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).

It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

14页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:角色交互控制方法、装置、计算机设备以及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类