Multimedia file display method and device, electronic equipment and readable storage medium

文档序号:1079924 发布日期:2020-10-20 浏览:19次 中文

阅读说明:本技术 多媒体文件的展示方法、装置、电子设备及可读存储介质 (Multimedia file display method and device, electronic equipment and readable storage medium ) 是由 杨中意 王一龙 许彦峰 王晶晶 林顺 于 2019-10-12 设计创作,主要内容包括:本申请提供了一种多媒体文件的展示方法、装置、电子设备及计算机可读存储介质,涉及数据处理领域。该方法包括:当接收到针对待展示多媒体文件的展示指令时,获取所述待展示多媒体文件的展示状态,若所述展示状态为锁定状态,则展示用于取消所述锁定状态的解锁界面,当基于所述解锁界面接收到用于解除所述锁定状态的解锁指令时,对所述解锁指令进行验证,当验证成功时,展示所述待展示多媒体文件。本申请实现了,用户在游戏的过程,除了可以通过图文形式的故事情节来体验文字冒险游戏,还可以通过解锁故事情节的方式来体验文字冒险游戏,从而提高了文字冒险游戏的趣味性,进而提升用户的游戏体验。(The application provides a multimedia file display method and device, electronic equipment and a computer readable storage medium, and relates to the field of data processing. The method comprises the following steps: the method comprises the steps of obtaining a display state of a multimedia file to be displayed when a display instruction aiming at the multimedia file to be displayed is received, displaying an unlocking interface for canceling the locking state if the display state is the locking state, verifying the unlocking instruction when the unlocking instruction for canceling the locking state is received based on the unlocking interface, and displaying the multimedia file to be displayed when the verification is successful. The method and the device have the advantages that the user can experience the character adventure game in the process of the game through the story line in the image-text form, and can also experience the character adventure game in the mode of unlocking the story line, so that the interestingness of the character adventure game is improved, and the game experience of the user is further improved.)

1. A method for displaying multimedia files is applied to a character adventure game and comprises the following steps:

when a display instruction for a multimedia file to be displayed is received, acquiring a display state of the multimedia file to be displayed;

if the display state is the locking state, displaying an unlocking interface for canceling the locking state;

when an unlocking instruction for unlocking the locking state is received based on the unlocking interface, verifying the unlocking instruction;

and when the verification is successful, displaying the multimedia file to be displayed.

2. The method for displaying a multimedia file according to claim 1, further comprising:

and if the display state is the non-locking state, displaying the multimedia file to be displayed.

3. The method of presentation of a multimedia file according to claim 1 or 2, further comprising:

when the verification fails, acquiring a preset appointed multimedia file;

and displaying the specified multimedia file.

4. The method for displaying multimedia files according to claim 3, wherein the step of obtaining the predetermined designated multimedia file when the verification fails comprises:

when the verification fails, the step of verifying the unlocking instruction when the unlocking instruction for unlocking the locking state is received based on the unlocking interface is repeatedly executed, and the preset appointed multimedia file is obtained until the number of continuous verification failures exceeds a preset threshold value.

5. The method for displaying a multimedia file according to claim 1, wherein the step of displaying an unlocking interface for canceling the locked state comprises:

and displaying an unlocking interface for canceling the locking state by adopting a preset special effect.

6. The method for displaying the multimedia file according to claim 1 or 5, wherein the unlocking interface is provided with a behavior action instruction for displaying the unlocking instruction;

before the step of verifying the unlocking instruction when the unlocking instruction for unlocking the locked state is received based on the unlocking interface, the method further includes:

and when the behavior action instruction is received, displaying the unlocking instruction.

7. The method for displaying a multimedia file according to claim 1, wherein the unlocking instruction comprises at least one of a numerical instruction, an alphabetical instruction, a character instruction, a gesture instruction, and an audio instruction.

8. A multimedia file display device is applied to a character adventure game and comprises the following components:

the receiving module is used for receiving a display instruction aiming at the multimedia file to be displayed;

the first acquisition module is used for acquiring the display state of the multimedia file to be displayed;

the display module is used for displaying an unlocking interface for canceling the locking state if the display state is the locking state;

the receiving module is further used for receiving an unlocking instruction for unlocking the locking state based on the unlocking interface;

the verification module is used for verifying the unlocking instruction;

the display module is also used for displaying the multimedia file to be displayed when the verification is successful.

9. The apparatus for displaying multimedia files according to claim 8, wherein the display module is further configured to:

and if the display state is the non-locking state, displaying the multimedia file to be displayed.

10. The apparatus for presentation of a multimedia file according to claim 8 or 9, further comprising:

the second acquisition module is used for acquiring a preset specified multimedia file when the verification fails;

the display module is also used for displaying the appointed multimedia file.

11. The apparatus for displaying a multimedia file according to claim 10, wherein the second obtaining module is specifically configured to:

and when the verification fails, repeatedly calling the receiving module and the verification module until the number of continuous verification failures exceeds a preset threshold value, and acquiring a preset specified multimedia file.

12. The apparatus for displaying multimedia files according to claim 8, wherein the display module is specifically configured to:

and displaying an unlocking interface for canceling the locking state by adopting a preset special effect.

13. The presentation device of multimedia files according to claim 8 or 12, wherein the unlocking interface is provided with a behavior action command for presenting an unlocking command;

the display module is further configured to:

and when the behavior action instruction is received, displaying the unlocking instruction.

14. The device for displaying multimedia files according to claim 8, wherein the unlocking instruction comprises at least one of a numerical instruction, an alphabetical instruction, a character instruction, a gesture instruction, and an audio instruction.

15. An electronic device, comprising:

a processor, a memory, and a bus;

the bus is used for connecting the processor and the memory;

the memory is used for storing operation instructions;

the processor is used for executing the method for displaying the multimedia file according to any one of the claims 1 to 7 by calling the operation instruction.

16. A computer-readable storage medium for storing computer instructions which, when executed on a computer, enable the computer to perform the method for presenting a multimedia file according to any one of claims 1 to 7.

Technical Field

The present application relates to the field of multimedia file display technologies, and in particular, to a multimedia file display method and apparatus, an electronic device, and a computer-readable storage medium.

Background

Text adventure games, commonly referred to as text adventure games or interactive electronic novels, are well known to users as AVGs. AVG in fact refers to Adventure Game-Adventure games, but in the category of games, is commonly defined as "word Adventure". Such games usually take a splendid scenario as a selling point, a text narration as a main point, and CG (computer graphics) or animation as an auxiliary performance mode, and are characterized in that the games have the characteristics of books and electronic games, the text games can be read, but users can participate in interaction, and the development of the story is influenced through simple operation, and in short, the users are both readers of the story and authors of the story. The more famous characters AVG are, for example, the series reverse judgment, the system detroit-I want to be, the hidden guardian, etc.

However, in the conventional text AVG, the task content or the fan content is displayed in the form of graphics and text regardless of the form of completing the task or the form of opening the fan, and the story line has a single display form and low interest, which results in poor user experience.

Disclosure of Invention

The application provides a method and a device for displaying a multimedia file, electronic equipment and a computer readable storage medium, which can solve the problem of displaying the multimedia file. The technical scheme is as follows:

in a first aspect, a method for displaying a multimedia file is provided, where the method is applied to a text adventure game, and includes:

when a display instruction for a multimedia file to be displayed is received, acquiring a display state of the multimedia file to be displayed;

if the display state is the locking state, displaying an unlocking interface for canceling the locking state;

when an unlocking instruction for unlocking the locking state is received based on the unlocking interface, verifying the unlocking instruction;

and when the verification is successful, displaying the multimedia file to be displayed.

Preferably, the method further comprises the following steps:

and if the display state is the non-locking state, displaying the multimedia file to be displayed.

Preferably, the method further comprises the following steps:

when the verification fails, acquiring a preset appointed multimedia file;

and displaying the specified multimedia file.

Preferably, the step of acquiring the preset specified multimedia file when the authentication fails comprises:

when the verification fails, the step of verifying the unlocking instruction when the unlocking instruction for unlocking the locking state is received based on the unlocking interface is repeatedly executed, and the preset appointed multimedia file is obtained until the number of continuous verification failures exceeds a preset threshold value.

Preferably, the step of presenting an unlocking interface for canceling the locked state includes:

and displaying an unlocking interface for canceling the locking state by adopting a preset special effect.

Preferably, the unlocking interface is provided with a behavior action instruction for displaying the unlocking instruction;

before the step of verifying the unlocking instruction when the unlocking instruction for unlocking the locked state is received based on the unlocking interface, the method further includes:

and when the behavior action instruction is received, displaying the unlocking instruction.

Preferably, the unlocking instruction comprises at least one of a numerical instruction, a letter instruction, a character instruction, a gesture instruction and an audio instruction.

In a second aspect, a device for displaying multimedia files is provided, and the device is applied to a text adventure game, and includes:

the receiving module is used for receiving a display instruction aiming at the multimedia file to be displayed;

the first acquisition module is used for acquiring the display state of the multimedia file to be displayed;

the display module is used for displaying an unlocking interface for canceling the locking state if the display state is the locking state;

the receiving module is further used for receiving an unlocking instruction for unlocking the locking state based on the unlocking interface;

the verification module is used for verifying the unlocking instruction;

the display module is also used for displaying the multimedia file to be displayed when the verification is successful.

Preferably, the display module is further configured to:

and if the display state is the non-locking state, displaying the multimedia file to be displayed.

Preferably, the method further comprises the following steps:

the second acquisition module is used for acquiring a preset specified multimedia file when the verification fails;

the display module is also used for displaying the appointed multimedia file.

Preferably, the second obtaining module is specifically configured to:

and when the verification fails, repeatedly calling the receiving module and the verification module until the number of continuous verification failures exceeds a preset threshold value, and acquiring a preset specified multimedia file.

Preferably, the display module is specifically configured to:

and displaying an unlocking interface for canceling the locking state by adopting a preset special effect.

Preferably, the unlocking interface is provided with a behavior action instruction for displaying the unlocking instruction;

the display module is further configured to:

and when the behavior action instruction is received, displaying the unlocking instruction.

Preferably, the unlocking instruction comprises at least one of a numerical instruction, a letter instruction, a character instruction, a gesture instruction and an audio instruction.

In a third aspect, an electronic device is provided, which includes:

a processor, a memory, and a bus;

the bus is used for connecting the processor and the memory;

the memory is used for storing operation instructions;

the processor is configured to call the operation instruction, and the executable instruction enables the processor to execute an operation corresponding to the method for displaying the multimedia file according to the first aspect of the present application.

In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, which when executed by a processor, implements the method for presentation of multimedia files as presented in the first aspect of the application.

The beneficial effect that technical scheme that this application provided brought is:

in the embodiment of the invention, when a display instruction aiming at a multimedia file to be displayed is received, the display state of the multimedia file to be displayed is obtained, if the display state is a locking state, an unlocking interface for canceling the locking state is displayed, when the unlocking instruction for canceling the locking state is received based on the unlocking interface, the unlocking instruction is verified, and when the verification is successful, the multimedia file to be displayed is displayed. Therefore, in the process of the game, the user can experience the character adventure game through the story line in the image-text form and can also experience the character adventure game through the manner of unlocking the story line, so that the interestingness of the character adventure game is improved, and the game experience of the user is further improved.

Drawings

In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments of the present application will be briefly described below.

Fig. 1 is a schematic flowchart illustrating a method for displaying a multimedia file according to an embodiment of the present application;

fig. 2 is a schematic flowchart illustrating a method for displaying a multimedia file according to another embodiment of the present application;

FIG. 3 is a schematic structural diagram of a multimedia file display apparatus according to another embodiment of the present application;

fig. 4 is a schematic structural diagram of an electronic device for displaying a multimedia file according to another embodiment of the present application.

Detailed Description

Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present invention.

As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.

To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.

The application provides a multimedia file display method, a multimedia file display device, electronic equipment and a computer-readable storage medium, and aims to solve the above technical problems in the prior art.

The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.

In one embodiment, a method for displaying a multimedia file is provided, as shown in fig. 1, and the method is applied to a text adventure game, and includes:

step S101, when a display instruction for a multimedia file to be displayed is received, acquiring a display state of the multimedia file to be displayed;

specifically, the multimedia file is provided with a presentation state including a locked state and an unlocked state. When the display state of the multimedia file is a locking state, the multimedia file can be displayed only by canceling the locking state; and when the display state of the multimedia file is the non-locking state, directly displaying the multimedia file. Therefore, in practical applications, before the multimedia file is displayed, the multimedia file display state needs to be acquired.

Step S102, if the display state is the locking state, displaying an unlocking interface for canceling the locking state;

when the display state of the multimedia file is the locking state, the terminal can provide an unlocking interface, and a user can initiate an instruction for canceling the locking state on the unlocking interface.

Step S103, when an unlocking instruction for unlocking the locking state is received based on the unlocking interface, the unlocking instruction is verified;

and step S104, when the verification is successful, displaying the multimedia file to be displayed.

In the embodiment of the invention, when a display instruction aiming at a multimedia file to be displayed is received, the display state of the multimedia file to be displayed is obtained, if the display state is a locking state, an unlocking interface for canceling the locking state is displayed, when the unlocking instruction for canceling the locking state is received based on the unlocking interface, the unlocking instruction is verified, and when the verification is successful, the multimedia file to be displayed is displayed. Therefore, in the process of the game, the user can experience the character adventure game through the story line in the image-text form and can also experience the character adventure game through the manner of unlocking the story line, so that the interestingness of the character adventure game is improved, and the game experience of the user is further improved.

In another embodiment, a method for displaying a multimedia file is provided, as shown in fig. 2, the method is applied to a text adventure game, and includes:

step S201, when a display instruction for a multimedia file to be displayed is received, acquiring a display state of the multimedia file to be displayed;

the embodiment of the invention can be applied to character adventure games.

Text adventure games, also commonly referred to as text adventure games or interactive electronic novels, are well known to users as AVGs. AVG in fact refers to Adventure Game-Adventure games, but in the category of games, is commonly defined as "word Adventure". The game is characterized in that the game has the characteristics of books and electronic games, the text game can be read, but the user can participate in interaction, the development of the story is influenced through simple operation, and in short, the user is not only a reader of the story, but also an author of the story. More famous are, for example, the reverse referee series, detroit-i wants to be a person, stealth guardian, etc.

Generally speaking, an AVG will contain a plurality of storylines, a storyline may correspond to one or more multimedia files, and a multimedia file may contain a plurality of canvases, each of which is presented with multimedia assets, such as character images, background images, etc., such that the plurality of canvases form a multimedia file with a complete storyline.

The AVG may be installed in a terminal, and the terminal may have the following features:

(1) on a hardware architecture, a device has a central processing unit, a memory, an input unit and an output unit, that is, the device is often a microcomputer device having a communication function. In addition, various input modes such as a keyboard, a mouse, a touch screen, a microphone, a camera and the like can be provided, and input can be adjusted as required. Meanwhile, the equipment often has a plurality of output modes, such as a telephone receiver, a display screen and the like, and can be adjusted according to needs;

(2) on a software system, the device must have an operating system, such as Windows Mobile, Symbian, Palm, Android, iOS, and the like. Meanwhile, the operating systems are more and more open, and personalized application programs developed based on the open operating system platforms are infinite, such as a communication book, a schedule, a notebook, a calculator, various games and the like, so that the requirements of personalized users are met to a great extent;

(3) in terms of communication capacity, the device has flexible access mode and high-bandwidth communication performance, and can automatically adjust the selected communication mode according to the selected service and the environment, thereby being convenient for users to use. The device can support GSM (Global System for Mobile Communication), WCDMA (Wideband Code Division Multiple Access), CDMA2000(Code Division Multiple Access), TDSCDMA (Time Division-Synchronous Code Division Multiple Access), Wi-Fi (Wireless-Fidelity), WiMAX (world interoperability for Microwave Access), etc., thereby adapting to various systems of networks, not only supporting voice service, but also supporting various Wireless data services;

(4) in the aspect of function use, the equipment focuses more on humanization, individuation and multi-functionalization. With the development of computer technology, devices enter a human-centered mode from a device-centered mode, and the embedded computing, control technology, artificial intelligence technology, biometric authentication technology and the like are integrated, so that the human-oriented purpose is fully embodied. Due to the development of software technology, the equipment can be adjusted and set according to individual requirements, and is more personalized. Meanwhile, the device integrates a plurality of software and hardware, and the function is more and more powerful.

In practical application, when a user plays a game, the user can select any story line to start the game, and the terminal can display a multimedia file corresponding to the story line. For example, if the user clicks the name corresponding to any story line, the terminal receives a presentation instruction initiated by the user, and the presentation instruction is used for presenting a multimedia file corresponding to the story line.

Further, in the AVG, since the story line is often presented in a form of completing a task or solving some puzzles, for the story line in which the puzzles are solved, presentation states including a locked state and an unlocked state may be set for the multimedia file corresponding to the story line.

When the display state of the multimedia file is a locking state, the multimedia file can be displayed only by canceling the locking state, so that the storyline can appear in a mode of solving puzzles; and when the display state of the multimedia file is the non-locking state, directly displaying the multimedia file. Therefore, in practical applications, before the multimedia file is displayed, the multimedia file display state needs to be acquired.

Step S202, if the display state is the locking state, displaying an unlocking interface for canceling the locking state;

specifically, when the presentation state of the multimedia file is the locked state, the terminal may provide an unlocking interface, and the user may initiate an instruction to cancel the locked state on the unlocking interface. And the terminal can adopt a preset special effect to display when displaying the unlocking interface.

The special effect means a special effect. Usually, the special effects are produced by computer software and generally do not appear in reality. The effects generally include a sound effect and a visual effect. For example, the unlocking interface appears to be illuminated and provided with sound effects.

Further, the unlocking interface is provided with a behavior action instruction for displaying the unlocking instruction.

For example, a word of "click to display a password" is set in the unlocking interface, and the "click" is labeled, such as highlighting, underlining, and the like, and the "click" corresponds to a behavior action instruction for displaying the unlocking instruction.

For another example, a typeface of a sharing display password is set in the unlocking interface, and the sharing is labeled, such as highlighting, underlining and the like, so that the sharing corresponds to a behavior action instruction for displaying the unlocking instruction.

Step S203, if the display state is the non-locking state, displaying the multimedia file to be displayed;

and when the display state of the multimedia file is the non-locking state, directly displaying the multimedia file. That is, the current storyline need not appear by solving the puzzle.

Step S204, when a behavior action command is received, an unlocking command is displayed;

for example, if the user clicks a click in the click display password, a behavior action instruction for displaying the unlocking instruction is initiated, and the terminal can display the unlocking instruction after receiving the behavior action instruction.

For another example, if the user clicks the share in the share display password, a behavior action instruction for displaying the unlocking instruction is initiated, and the terminal receives the behavior action instruction and can display the unlocking instruction when detecting that the share is completed.

Wherein, the unlocking instruction can comprise at least one of a numerical instruction, a letter instruction, a character instruction, a gesture instruction and an audio instruction. The numeric command is, for example, "123456", the alphabetic command is, for example, "abbbccd", the character command is, for example, "+ + - - -", the gesture command is, for example, a grid pattern, handwriting, a gear dial, etc., and the audio command is, for example, an audio command for the user to read the designated content. Of course, besides the above-mentioned forms of unlocking instructions, other forms of unlocking instructions are also applicable to the embodiment of the present invention, and the embodiment of the present invention is not limited thereto.

Step S205, when receiving an unlocking instruction for unlocking the locking state based on the unlocking interface, verifying the unlocking instruction;

specifically, in the process of manufacturing the AVG, any multimedia file may be set to be in a locked state, and an unlocking instruction for canceling the locked state may be set at the same time, and the unlocking instructions corresponding to different multimedia files are different. Therefore, in the process of the game, after the user initiates an unlocking instruction for any multimedia file on the unlocking interface, the user needs to verify the unlocking instruction initiated by the user.

Step S206, when the verification is successful, displaying the multimedia file to be displayed;

specifically, an unlocking instruction initiated by a user for any multimedia file is compared with a preset unlocking instruction of the multimedia file, if the unlocking instruction is completely the same as the preset unlocking instruction, verification is successful, and the multimedia file is displayed.

Step S207, when the verification fails, acquiring a preset appointed multimedia file;

specifically, an unlocking instruction initiated by a user for any multimedia file is compared with a preset unlocking instruction of the multimedia file, and if the unlocking instruction is not completely the same, the verification fails, and the preset specified multimedia file is obtained.

The method comprises the steps that an association relation is established between a designated multimedia file and verification failure in the process of manufacturing the AVG, namely, when a certain multimedia file is unlocked, if unlocking is successful, the multimedia file is displayed, and if unlocking is failed, the designated multimedia file with the association relation is obtained.

For example, the user unlocks the multimedia file a, if the unlocking is successful, the multimedia file a is displayed, and if the unlocking is failed, the multimedia file B having an association relationship with the multimedia file a is displayed. Therefore, the story plots experienced by the user in the successful unlocking and the unsuccessful unlocking are different, the interest of the game can be improved, and the game experience of the user is improved.

Further, when the verification fails, the step of verifying the unlocking instruction when the unlocking instruction for unlocking the locking state is received based on the unlocking interface can be repeatedly executed, and the preset appointed multimedia file is obtained until the number of times of continuous verification failures exceeds a preset threshold value.

Specifically, a threshold value of the number of continuous verification failures can be set during the production of the AVG, and when the number of continuous user unlocking failures exceeds the threshold value, the verification failures are determined, so that the fault tolerance rate of the user can be improved, and the game experience of the user is further improved. For example, the preset threshold is 5 times, and the unlocking failure is determined only when the user continuously fails to unlock for 5 times, so as to acquire the specified multimedia file.

Step S208, displaying the appointed multimedia file.

And after the appointed multimedia file is obtained, displaying the appointed multimedia file to a user.

It should be noted that, in practical applications, in addition to setting a display state, a corresponding unlocking instruction, and a designated multimedia file for different multimedia files, a display state, a corresponding unlocking instruction, and a designated canvas for different canvases in the same multimedia file may also be set, and a specific process may refer to step S101 to step S104, or step S201 to step S208, which is not described herein again.

For example, a multimedia file includes a canvas 1, a canvas 2, a canvas 3, a canvas 4, and a canvas 5, the canvas 4 has set a display state and a corresponding unlocking instruction, when unlocking is successful, the canvas 4 is displayed, and when unlocking is failed, the canvas 5 having an association relationship with the canvas 4 is displayed.

Further, when the AVG is manufactured, the generated multimedia file with the presentation state may be set with an associated action command of a specified behavior.

For example, the designated behavior action instruction corresponding to a certain multimedia file is "invite", during the playing of the game, the user a generates an invite request based on the multimedia file and sends the invite request to the user B, and the user B accepts the invite request, so the user B may experience the multimedia file, for example, play the multimedia file once by itself or watch the game playback of the user a.

When the game playback is watched, the game playback may be displayed in various forms, such as a 2D display, a 3D display, an AR (Augmented Reality) display, and the like. Moreover, the transmission form of the multimedia file may be an APK (Android application package), may also be an H5 link, and may also be other forms.

The generated multimedia file can be transmitted and also can be uploaded to a server as a basic development package, other users can download the multimedia file from the server and develop the multimedia file again to obtain a new multimedia file for other users to experience, the interestingness of the game is increased, interaction among the users is promoted, and the social experience of the users is improved.

In the embodiment of the invention, when a display instruction aiming at a multimedia file to be displayed is received, the display state of the multimedia file to be displayed is obtained, if the display state is a locking state, an unlocking interface for canceling the locking state is displayed, when the unlocking instruction for canceling the locking state is received based on the unlocking interface, the unlocking instruction is verified, and when the verification is successful, the multimedia file to be displayed is displayed. Therefore, in the process of the game, the user can experience the character adventure game through the story line in the image-text form and can also experience the character adventure game through the manner of unlocking the story line, so that the interestingness of the character adventure game is improved, and the game experience of the user is further improved.

Furthermore, when the user unlocks events, the story line of successful unlocking is different from the story line of failure unlocking, so that the interestingness of the character adventure game and the game experience of the user are further improved.

Fig. 3 is a schematic structural diagram of a multimedia file presentation apparatus according to another embodiment of the present application, and as shown in fig. 3, the apparatus of the present embodiment may include:

a receiving module 301, configured to receive a display instruction for a multimedia file to be displayed;

a first obtaining module 302, configured to obtain a display state of a multimedia file to be displayed;

the display module 303 is configured to display an unlocking interface for canceling the locking state if the display state is the locking state;

the receiving module 301 is further configured to receive an unlocking instruction for unlocking the locked state based on the unlocking interface;

the verification module 304 is used for verifying the unlocking instruction;

the displaying module 303 is further configured to display the multimedia file to be displayed when the verification is successful.

In a preferred embodiment of the present invention, the display module is further configured to:

and if the display state is the non-locking state, displaying the multimedia file to be displayed.

In a preferred embodiment of the present invention, the method further comprises:

the second acquisition module is used for acquiring a preset specified multimedia file when the verification fails;

and the display module is also used for displaying the appointed multimedia file.

In a preferred embodiment of the present invention, the second obtaining module is specifically configured to:

and when the verification fails, repeatedly calling the receiving module and the verification module until the number of continuous verification failures exceeds a preset threshold value, and acquiring a preset specified multimedia file.

In a preferred embodiment of the present invention, the display module is specifically configured to:

and displaying an unlocking interface for canceling the locking state by adopting a preset special effect.

In a preferred embodiment of the invention, the unlocking interface is provided with a behavior action instruction for displaying the unlocking instruction;

the display module is further configured to:

and when the behavior action instruction is received, displaying the unlocking instruction.

In a preferred embodiment of the present invention, the unlocking instruction includes at least one of a numerical instruction, an alphabetical instruction, a character instruction, a gesture instruction, and an audio instruction.

The display apparatus for multimedia files of this embodiment can perform the method for displaying multimedia files of the first embodiment of this application, and the implementation principles are similar, and are not described herein again.

In the embodiment of the invention, when a display instruction aiming at a multimedia file to be displayed is received, the display state of the multimedia file to be displayed is obtained, if the display state is a locking state, an unlocking interface for canceling the locking state is displayed, when the unlocking instruction for canceling the locking state is received based on the unlocking interface, the unlocking instruction is verified, and when the verification is successful, the multimedia file to be displayed is displayed. Therefore, in the process of the game, the user can experience the character adventure game through the story line in the image-text form and can also experience the character adventure game through the manner of unlocking the story line, so that the interestingness of the character adventure game is improved, and the game experience of the user is further improved.

Furthermore, when the user unlocks events, the story line of successful unlocking is different from the story line of failure unlocking, so that the interestingness of the character adventure game and the game experience of the user are further improved.

In another embodiment of the present application, there is provided an electronic device including: a memory and a processor; at least one program stored in the memory for execution by the processor, which when executed by the processor, implements: in the embodiment of the invention, when a display instruction aiming at a multimedia file to be displayed is received, the display state of the multimedia file to be displayed is obtained, if the display state is a locking state, an unlocking interface for canceling the locking state is displayed, when the unlocking instruction for canceling the locking state is received based on the unlocking interface, the unlocking instruction is verified, and when the verification is successful, the multimedia file to be displayed is displayed. Therefore, in the process of the game, the user can experience the character adventure game through the story line in the image-text form and can also experience the character adventure game through the manner of unlocking the story line, so that the interestingness of the character adventure game is improved, and the game experience of the user is further improved.

In an alternative embodiment, an electronic device is provided, as shown in fig. 4, the electronic device 4000 shown in fig. 4 comprising: a processor 4001 and a memory 4003. Processor 4001 is coupled to memory 4003, such as via bus 4002. Optionally, the electronic device 4000 may further comprise a transceiver 4004. In addition, the transceiver 4004 is not limited to one in practical applications, and the structure of the electronic device 4000 is not limited to the embodiment of the present application.

Processor 4001 may be a CPU, general purpose processor, DSP, ASIC, FPGA or other programmable logic device, transistor logic device, hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor 4001 may also be a combination that performs a computational function, including, for example, a combination of one or more microprocessors, a combination of a DSP and a microprocessor, or the like.

Bus 4002 may include a path that carries information between the aforementioned components. Bus 4002 may be a PCI bus, EISA bus, or the like. The bus 4002 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 4, but this does not indicate only one bus or one type of bus.

Memory 4003 may be, but is not limited to, a ROM or other type of static storage device that can store static information and instructions, a RAM or other type of dynamic storage device that can store information and instructions, an EEPROM, a CD-ROM or other optical disk storage, an optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.

The memory 4003 is used for storing application codes for executing the scheme of the present application, and the execution is controlled by the processor 4001. Processor 4001 is configured to execute application code stored in memory 4003 to implement what is shown in any of the foregoing method embodiments.

Among them, electronic devices include but are not limited to: mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like.

Yet another embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, which, when run on a computer, enables the computer to perform the corresponding content in the aforementioned method embodiments. Compared with the prior art, in the embodiment of the invention, when the display instruction aiming at the multimedia file to be displayed is received, the display state of the multimedia file to be displayed is obtained, if the display state is the locking state, the unlocking interface for canceling the locking state is displayed, when the unlocking instruction for canceling the locking state is received based on the unlocking interface, the unlocking instruction is verified, and when the verification is successful, the multimedia file to be displayed is displayed. Therefore, in the process of the game, the user can experience the character adventure game through the story line in the image-text form and can also experience the character adventure game through the manner of unlocking the story line, so that the interestingness of the character adventure game is improved, and the game experience of the user is further improved.

It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

The foregoing is only a partial embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

15页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:游戏场景中的信息交互方法、设备及计算机可读介质

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!

技术分类