Method, device, equipment and storage medium for acquiring virtual resources
By providing multiple target shooting modes and variable shooting modes on the virtual resource acquisition interface, the problem of single user interaction mode in the prior art is solved, and the diversity of user experience and interaction forms is improved.
Patent Information
- Application Number
- CN202210068404.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-20
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2042-01-20
AI Technical Summary
The user interaction method during the acquisition of existing virtual resources is relatively single, resulting in a low user experience.
A virtual resource acquisition method is provided, by displaying a plurality of target shooting modes on the shooting interface, including at least one variable shooting mode, which changes over time, allowing the user to select and trigger an operation to acquire the virtual resource.
It enriches the interaction form between users and improves the user experience. Through the combination of multiple target shooting modes and variable shooting modes, it enhances the diversity and fun of virtual resource acquisition.
Smart Images

Figure CN114416259B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of information interaction technology, and in particular to a method, device, equipment and storage medium for acquiring virtual resources. Background Art
[0002] With the development of network technology, applications such as instant messaging and video are becoming more and more integrated into people's lives, and have become an indispensable part of people's lives, thus providing a necessary platform for the implementation of various online activities. Therefore, in order to improve the user experience of application products, it is necessary to enrich the interaction methods of application products. Summary of the invention
[0003] The present invention provides a method, device, equipment and storage medium for acquiring virtual resources, which are used to solve the technical problem that the interaction form between users is relatively single.
[0004] In a first aspect, an embodiment of the present disclosure provides a method for acquiring a virtual resource, comprising:
[0005] In response to a first instruction triggered by a user, displaying a first shooting interface, wherein the first shooting interface includes a plurality of target shooting modes;
[0006] In response to a trigger operation of the user on the first shooting interface, acquiring a first virtual resource, and displaying an icon corresponding to the first virtual resource on the first shooting interface;
[0007] The plurality of target shooting modes include at least one variable shooting mode, and the variable shooting mode is configured to change over time.
[0008] In a second aspect, an embodiment of the present disclosure provides a device for acquiring a virtual resource, including:
[0009] A trigger module, configured to display a first shooting interface in response to a first instruction triggered by a user, wherein the first shooting interface includes a plurality of target shooting modes;
[0010] An acquisition module is used to acquire a first virtual resource in response to a trigger operation of the user on the first shooting interface, and to display an icon corresponding to the first virtual resource on the first shooting interface; wherein the multiple target shooting modes include at least one variable shooting mode, and the variable shooting mode is configured to change over time.
[0011] In a third aspect, an embodiment of the present disclosure provides an electronic device, including:
[0012] Processor; and
[0013] Memory for storing computer programs;
[0014] The processor is configured to implement the method for acquiring virtual resources as described in the first aspect and various possible designs of the first aspect by executing the computer program.
[0015] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, in which computer execution instructions are stored. When a processor executes the computer execution instructions, the method for acquiring virtual resources as described in the first aspect and various possible designs of the first aspect is implemented.
[0016] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, including a computer program, which, when executed by a processor, implements the method for acquiring virtual resources as described in the first aspect and various possible designs of the first aspect.
[0017] The embodiments of the present disclosure provide a method, device, equipment and storage medium for acquiring virtual resources. In response to a first instruction triggered by a user, a first shooting interface is displayed, and the first shooting interface includes multiple target shooting modes. Subsequently, in response to a trigger operation of the user on the first shooting interface, the first virtual resource is acquired, and an icon corresponding to the first virtual resource is displayed on the first shooting interface. Among them, the multiple target shooting modes include at least one variable shooting mode, and the variable shooting mode is configured to change over time. In this way, multiple target shooting modes can be used to acquire the first virtual resource. At the same time, the target shooting mode can also change over time, thereby enriching the interaction form between users. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0019] Figure 1 A flowchart of a method for acquiring virtual resources provided by an embodiment of the present disclosure;
[0020] Figure 2 A schematic diagram of a second shooting interface provided by an embodiment of the present disclosure;
[0021] Figure 3 A schematic diagram of a display interface of a virtual resource provided by an embodiment of the present disclosure;
[0022] Figure 4 A schematic diagram of a first shooting interface provided by an embodiment of the present disclosure;
[0023] Figure 5 A schematic diagram of a first shooting mode provided by an embodiment of the present disclosure;
[0024] Figure 6 A schematic diagram of another first shooting mode provided by an embodiment of the present disclosure;
[0025] Figure 7 A schematic diagram of an image capture completion interface provided by an embodiment of the present disclosure;
[0026] Figure 8 A schematic diagram of a virtual resource acquisition interface provided by an embodiment of the present disclosure;
[0027] Fig. 9 A schematic diagram of a third shooting mode provided in an embodiment of the present disclosure;
[0028] Fig.10 A schematic diagram of another third shooting mode provided by an embodiment of the present disclosure;
[0029] Fig.11 A schematic diagram of a third shooting mode provided in an embodiment of the present disclosure;
[0030] Fig.12 A flowchart of another method for acquiring virtual resources provided by an embodiment of the present disclosure;
[0031] Fig.13 A schematic diagram of an interface switching provided in an embodiment of the present application;
[0032] Fig.14 Another interface switching schematic diagram provided in an embodiment of the present application;
[0033] Fig.15 A flowchart of another method for acquiring virtual resources provided in an embodiment of the present disclosure;
[0034] Fig.16 A schematic diagram of the structure of a device for acquiring virtual resources provided in an embodiment of the present disclosure;
[0035] Fig.17 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0036] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0037] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0038] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0039] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0040] In the related art, virtual resource collection activities can be implemented through various applications, so that users can collect virtual resources after completing preset operations. However, the existing interaction method with users in the process of obtaining virtual resources is relatively simple, and the user experience is not high.
[0041] In response to the above technical problems, the present disclosure aims to: provide a variety of target shooting modes in the shooting interface corresponding to the virtual resources, and after completing the corresponding trigger operations for different target shooting modes, the virtual resources can be obtained. At the same time, the target shooting mode also includes at least one variable shooting mode, and the variable shooting mode changes over time. In this way, since multiple target shooting modes are used to obtain the first virtual resource, and the target shooting mode can also change over time, the interaction form between users is enriched and the user experience is improved. It can be understood that the variable shooting mode involved in the present disclosure can be a shooting mode in which a certain element on the shooting interface (for example, a virtual object such as a virtual prop) changes over time.
[0042] The following describes the application scenarios of the method for obtaining virtual resources provided by the present disclosure.
[0043] In an application scenario of a method for acquiring virtual resources, the method for acquiring virtual resources provided in this embodiment can be applied to a video application scenario. When using a video application, a user can open a shooting interface corresponding to a virtual resource activity, and select different target shooting modes in the shooting interface to complete a trigger operation corresponding to the target shooting mode, thereby acquiring virtual resources.
[0044] In another application scenario of the method for obtaining virtual resources, the method for obtaining virtual resources provided in this embodiment can also be applied to the scenario of instant messaging applications. When using an instant messaging application, a user can click a control on the virtual resource activity interface to jump to the shooting interface corresponding to the virtual resource activity, and can obtain virtual resources by shooting or publishing an image on the shooting interface. In addition, the user can also exchange virtual resources with others through the instant messaging application.
[0045] It should be noted that the above two application scenarios do not constitute a limitation to the present disclosure, and the method for obtaining virtual resources provided by the present disclosure can be applied to any scenario of obtaining virtual resources.
[0046] It can be understood that the above-mentioned virtual resource acquisition method can be implemented by the virtual resource acquisition device provided by the embodiment of the present disclosure, and the virtual resource acquisition device can be part or all of a certain device, such as a terminal device or a processor of the terminal device.
[0047] The technical solutions of the embodiments of the present disclosure are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0048] Figure 1 The following is a flow chart of a method for acquiring virtual resources provided by an embodiment of the present disclosure. Figure 1 As shown, the method for obtaining virtual resources provided in this embodiment includes:
[0049] Step 101: In response to a first instruction triggered by a user, a first shooting interface is displayed, where the first shooting interface includes a plurality of target shooting modes.
[0050] The first instruction is used to instruct to switch the different interfaces of the application to the first shooting interface.
[0051] It should be understood that the embodiment of the present disclosure does not limit the first shooting interface, which may be an existing shooting interface of the application or a shooting interface dedicated to the virtual resource collection activity.
[0052] It should be understood that the embodiments of the present disclosure do not limit the types of virtual resources, which may be card resources, emoticon package resources, virtual gold coin resources, etc.
[0053] It should be noted that the embodiment of the present disclosure does not limit how to trigger the first instruction. Three possible ways of triggering the first instruction are provided below, namely, three entrances to the first shooting interface.
[0054] In the first mode, the first instruction can be triggered by a first control on a second shooting interface of the application. The second shooting interface can be an original shooting interface of the application for shooting pictures or videos, and the first control can be set at a fixed position in the second shooting interface or covered on a shooting button of the second shooting interface.
[0055] For example, if it is a video application, in response to a third instruction triggered by a user on a video playback interface, the terminal device may switch the video playback interface to a second shooting interface, on which a first control corresponding to the first instruction is provided, and the first control is used to switch the video playback interface to the second shooting interface. Subsequently, the user may trigger the first instruction by clicking the first control, and in response to the first instruction, the terminal device may switch the second shooting interface to display the first shooting interface.
[0056] Optionally, the first control on the second shooting interface may be hidden. The user triggers the fourth instruction by sliding the second target area of the second shooting interface, and in response to the fourth instruction, the terminal device may hide the first control.
[0057] It should be understood that the embodiment of the present application does not limit the position of the second target area, and it can be the area where the first control is located, the upper half of the second shooting interface, or the lower half of the second shooting interface.
[0058] Figure 2 Schematic diagram of a second shooting interface provided by an embodiment of the present disclosure. Figure 2 As shown, in the second shooting interface, below the shooting button, a first control 21 corresponding to the virtual resource collection activity is provided, and by clicking the first control 21, the first instruction can be triggered to display the first shooting interface. In addition, the area where the control is located below the shooting button can be a second target area 22, and by sliding left or right in the second target area 22, the first control 21 can be hidden.
[0059] In the second method, the first instruction can be triggered by the second control on the display interface of the virtual resource. Accordingly, in response to the first instruction triggered by the user clicking the second control on the display interface of the virtual resource, the terminal device can switch the display interface of the virtual resource to display the first shooting interface.
[0060] The display interface of the virtual resources mentioned above includes at least one of the following information: the virtual resources acquired by the user, the collection time of the virtual resources, and the target shooting mode corresponding to the virtual resources.
[0061] In some embodiments, the second controls correspond to different target shooting modes respectively. After the user clicks the second controls corresponding to different target shooting modes, the terminal device can not only display the first shooting interface, but also switch the target shooting mode on the first shooting interface to the target shooting mode corresponding to the second control that triggers the first instruction.
[0062] For example, Figure 3 A schematic diagram of a display interface of a virtual resource provided by an embodiment of the present disclosure. Figure 3 As shown, the display interface of virtual resources includes two areas. The first area includes an activity calendar for recording the collection time of virtual resources, and the second area includes different target shooting modes corresponding to virtual resource activities, such as "A props", "scan QR code", "take photos" and "identify plants". A second control 31 is set after each target shooting mode. If the second control corresponding to the "identify plants" shooting mode is clicked, the terminal device can not only switch to display the first shooting interface, but also switch to the "identify plants" shooting mode in the first shooting interface.
[0063] In the third method, the first instruction can be triggered by the third control on the user's information interface. Accordingly, in response to the first instruction triggered by the user clicking the third control on the user's information interface, the terminal device can switch the user's information interface to display the first shooting interface.
[0064] In the embodiment of the present disclosure, the plurality of target shooting modes may include at least one variable shooting mode, which is configured to change over time. It should be understood that the variable shooting mode may be a shooting mode in which at least one element on the first shooting interface changes over time.
[0065] It should be noted that the embodiments of the present disclosure do not limit the elements that change over time. For example, the elements may be virtual objects on the first shooting interface.
[0066] In some embodiments, after displaying the first shooting interface, the terminal device may also switch different target shooting modes on the first shooting interface in response to a second instruction triggered by the user, wherein the triggering method of the second instruction includes sliding in a preset direction of the first shooting interface.
[0067] It should be understood that the embodiments of the present application do not limit the preset direction. In some embodiments, the preset direction can be left or right.
[0068] Figure 4 A schematic diagram of a first shooting interface provided by an embodiment of the present disclosure is shown as follows: Figure 4 As shown, the first shooting interface is provided with shooting controls corresponding to multiple target shooting modes, such as shooting modes such as "A Props", "Scan QR Code", "Take Photo", and "Identify Plants". The user can switch between different target shooting modes by sliding left or right on the first shooting interface. In the first shooting interface, prompt information can also be displayed to prompt the user to obtain virtual resources by shooting or publishing images.
[0069] In some embodiments, if it is detected that the first shooting interface is entered for the first time, the terminal device can directly display a virtual resource acquisition control on the first shooting interface. After the user clicks the acquisition control, the virtual resource can be directly acquired and displayed.
[0070] It should be understood that the embodiments of the present disclosure do not limit the types of the multiple target shooting modes. In some embodiments, the multiple target shooting modes may include a first shooting mode, a second shooting mode, and a third shooting mode.
[0071] The first shooting mode is used to add virtual objects to the captured image, and the first shooting mode can be the above-mentioned variable shooting mode. In the first shooting mode, the virtual objects are updated according to a preset time period. Exemplarily, the arrangement order of the virtual objects is updated according to a preset time period.
[0072] It should be understood that the embodiments of the present disclosure do not limit the types of the above-mentioned virtual objects. For example, the virtual objects may be virtual reality (VR) props, sticker props, etc.
[0073] It should be understood that the embodiments of the present disclosure do not limit the background of the image to which the virtual object is added. In some embodiments, the background may be a pre-generated background map, and in other embodiments, the background may be a picture actually taken by the camera.
[0074] In some embodiments, if the first shooting mode is switched, the terminal device may obtain a preset number of virtual objects from the virtual object pool according to the arrangement order of the virtual objects. Subsequently, the terminal device may display at least one virtual object of the preset number of virtual objects in the first target area on the first shooting interface.
[0075] For example, if there are 40 virtual objects arranged in order in the virtual object pool, the terminal device can obtain the first 5 virtual objects in the virtual object pool every day. Subsequently, in the first shooting mode, the first target area in the first shooting interface can display 2 of the virtual objects. When the user slides in the first target area, the virtual objects displayed in the first target area can be switched to display the remaining 3 virtual objects.
[0076] In some embodiments, the arrangement order of the virtual objects is determined according to the association information of the virtual objects, and the association information of the virtual objects includes historical usage information of the virtual objects and / or historical usage information of the users.
[0077] Exemplarily, the arrangement order of virtual objects is “virtual object A, virtual object B, virtual object C…virtual object Z”. When the user has acquired virtual object A or the total number of acquisitions of virtual object A exceeds a threshold, virtual object A can be arranged to the last position, thereby updating the arrangement order of virtual objects to “virtual object B, virtual object C, virtual object D…virtual object Z, virtual object A”.
[0078] It should be understood that the embodiment of the present disclosure does not limit the update cycle of the arrangement order of virtual objects. For example, the arrangement order of virtual objects can be updated once every natural day.
[0079] The second shooting mode is used to shoot images.
[0080] The third shooting mode is used to identify the photographed object to be identified.
[0081] It should be understood that the disclosed embodiments do not limit the type of the object to be identified. In some embodiments, it can be a preset type of object, such as plants, animals, etc. In other embodiments, it can be an information code, such as a QR code, an information code, a barcode, etc. The above information code can include user information for operations such as adding friends.
[0082] Step 102: In response to a trigger operation of the user on the first shooting interface, a first virtual resource is acquired, and an icon corresponding to the first virtual resource is displayed on the first shooting interface.
[0083] In this step, after the terminal device displays the first shooting interface, the user can select different target shooting modes on the first shooting interface and complete the corresponding trigger operation. In response to the user's trigger operation on the first shooting interface, the terminal device can obtain the first virtual resource and display the icon corresponding to the first virtual resource on the first shooting interface.
[0084] It should be understood that the embodiments of the present disclosure do not limit the triggering operation on the first shooting interface. In some embodiments, in response to a shooting completion instruction triggered by a user, the terminal device can obtain the first virtual resource, that is, obtain the first virtual resource after completing the image shooting. In other embodiments, in response to an upload image and publish instruction triggered by a user, when it is detected that the first virtual resource is transferred to the user, the terminal device obtains the first virtual resource, that is, obtains the first virtual resource after publishing the image.
[0085] It should be noted that the terminal device can obtain the first virtual resource only after receiving a shooting completion instruction or uploading an image and issuing an instruction, or it can obtain the first virtual resource after receiving a shooting completion instruction and uploading an image and issuing an instruction. The embodiment of the present disclosure does not limit this.
[0086] The following describes how to generate trigger operations on the first shooting interface for different target shooting modes involved in the embodiments of the present disclosure.
[0087] In some embodiments, the target shooting mode includes a first shooting mode, and the first shooting mode is used to add a virtual object to the shot image. Accordingly, the triggering operation includes triggering a shooting completion instruction for the image with the virtual object added or uploading the image and issuing an instruction in the first shooting mode.
[0088] For example, Figure 5 Schematic diagram of a first shooting mode provided by an embodiment of the present disclosure. Figure 5 As shown, when the user switches the first shooting mode on the first shooting interface, other target shooting modes to be switched are displayed on the left side of the first shooting mode button selected in the first shooting interface, and a shooting button is displayed on the right side of the first shooting mode button. By clicking on a virtual object (different types of props), the virtual object is added to the shooting background of the captured image.
[0089] Figure 6 A schematic diagram of another first shooting mode provided by an embodiment of the present disclosure is shown in FIG. Figure 6 As shown, when the user clicks on the virtual object, the first shooting interface can be Figure 5 The interface shown is adjusted to Figure 6 The interface shown displays the image to be shot which is composed of a virtual object and a shooting background. The user can complete the shooting of the image to be shot by clicking a shooting button.
[0090] Figure 7 A schematic diagram of an image capture completion interface provided by an embodiment of the present disclosure, Figure 8 A schematic diagram of a virtual resource acquisition interface provided by an embodiment of the present disclosure. When the user completes shooting of the image to be shot, which is a combination of a virtual object and a shooting background, the terminal device can directly switch to display Figure 8 Alternatively, when the user completes the shooting of the image to be shot, which is a combination of the virtual object and the shooting background, the terminal device can switch to display the virtual resource acquisition interface shown in FIG. Figure 7 The image capture completion interface shown in the figure shows the user Figure 7 Select the publish control. After the image is uploaded and published, the terminal device can change the display Figure 8 The virtual resource acquisition interface shown shows the virtual resources acquired by the user.
[0091] In some embodiments, the target shooting mode includes a second shooting mode, and the second shooting mode is used to shoot images. Accordingly, the trigger operation can trigger a shooting completion instruction or upload an image and issue an instruction in the second shooting mode.
[0092] In some embodiments, the target shooting mode includes a third shooting mode, and the third shooting mode is used to identify the photographed object to be identified, and the object to be identified includes an object of a preset type or an information code. Accordingly, if the object to be identified is an object of a preset type, the trigger operation includes triggering an identification operation on the object of the preset type displayed on the first shooting interface in the third shooting mode. If the object to be identified is an information code and the information code contains a user identifier, the trigger operation includes identifying and / or adding a user identified by the information code.
[0093] For example, Fig. 9 is a schematic diagram of a third shooting mode provided in an embodiment of the present disclosure, Fig.10 Schematic diagram of another third shooting mode provided by an embodiment of the present disclosure. Fig. 9 As shown, the object to be identified in the third shooting mode is a plant. Accordingly, when the user identifies the plant in the third shooting mode, in response to the identification operation triggered on the plant, the terminal device can identify the variety of the plant. Fig.10 As shown, the terminal device displays a preset image of the identified plant variety on the first shooting interface for the user to confirm. When the user clicks the confirmation button to complete the current identification, the terminal device can obtain the virtual resource and can Fig.10 The interface shown switches to the following Figure 8 The virtual resource acquisition interface shown shows the virtual resources acquired by the user.
[0094] For example, Fig.11 Schematic diagram of a third shooting mode provided by an embodiment of the present disclosure. Fig.11As shown, the object to be identified in the third shooting mode is a QR code. Accordingly, when the user identifies the QR code in the third shooting mode, the user information in the QR code can be obtained. In some cases, after identifying the QR code, the terminal device can obtain virtual resources and can Fig.11 The interface shown switches to the following Figure 8 The virtual resource acquisition interface shown in the figure shows the virtual resources obtained by the user. After the user adds the user, the terminal device can obtain virtual resources and can Fig.11 The interface shown switches to the following Figure 8 The virtual resource acquisition interface shown shows the virtual resources acquired by the user.
[0095] The method for acquiring virtual resources provided by the embodiment of the present disclosure displays a first shooting interface in response to a first instruction triggered by a user, and the first shooting interface includes multiple target shooting modes. Subsequently, in response to the user's triggering operation on the first shooting interface, the first virtual resource is acquired, and an icon corresponding to the first virtual resource is displayed on the first shooting interface. Among them, the multiple target shooting modes include at least one variable shooting mode, and the variable shooting mode is configured to change over time. In this way, multiple target shooting modes can be used to acquire the first virtual resource, and at the same time, the target shooting mode can also change over time, thereby enriching the form of interaction between users.
[0096] Based on the above embodiments, the switching between various interfaces of the terminal device is described below. Fig.12 A flowchart of another method for acquiring virtual resources provided by an embodiment of the present disclosure. Fig.12 As shown, the method for obtaining virtual resources provided in this embodiment includes:
[0097] Step 201: In response to a first instruction triggered by a user, display a first shooting interface, wherein the first shooting interface includes multiple target shooting modes.
[0098] Step 202: In response to a trigger operation of the user on the first shooting interface, a first virtual resource is acquired, and an icon corresponding to the first virtual resource is displayed on the first shooting interface.
[0099] The plurality of target shooting modes include at least one variable shooting mode, and the variable shooting mode is configured to change over time.
[0100] S201-S201's technical terms, technical effects, technical features, and optional implementation methods can be found in Figure 1 The S101-S102 shown are understood, and the repeated contents will not be repeated here.
[0101] Step 203: When it is detected that the first virtual resource is transferred to the user, switch to a preset interface, where the preset interface includes a control for triggering display of the first shooting interface.
[0102] The preset interface may be any type of interface, such as a video playback interface, a virtual resource display interface, a user information interface, etc. The control for triggering the display of the first shooting interface may be set at any position of the preset interface, such as on an activity icon for collecting virtual resources.
[0103] In some embodiments, after detecting that the first virtual resource has been transferred to the user, the terminal device completes the acquisition of the virtual resource, and at this time, it can switch to the preset interface according to the preset switching path. If there is still an activity icon for collecting virtual resources on the preset interface, the user can click the activity icon to make the terminal device switch to the first shooting interface again to reacquire the virtual resource.
[0104] For example, Fig.13 A schematic diagram of an interface switching provided for an embodiment of the present application. After the first virtual resource is transferred to the user, the terminal device switches to the second shooting interface, that is, the preset interface is the second shooting interface. Subsequently, the user can switch the second shooting interface to the first shooting interface by clicking the second control corresponding to the activity icon for collecting virtual resources in the second shooting interface, and can collect virtual resources through various target shooting modes in the first shooting interface. When it is detected that the captured image is successfully published and the collection of virtual resources is completed, the terminal device can switch to the video playback interface.
[0105] Fig.14 Another interface switching diagram provided in the embodiment of the present application is as follows: Fig.14 As shown, after the first virtual resource is transferred to the user, the terminal device switches to the video playback interface, that is, the preset interface is the video playback interface. A fourth control corresponding to an activity icon for collecting virtual resources is also provided on the video playback interface, by clicking the fourth control. The terminal device can directly switch from the video playback interface to the first shooting interface, and virtual resources can be collected through various target shooting modes in the first shooting interface. When it is detected that the captured image is successfully released and the collection of virtual resources is completed, the terminal device can switch to the video playback interface again. If there are still virtual resources to be collected, the fourth control still exists in the video playback interface. By clicking the fourth control, the first shooting interface can be entered again, thereby realizing the cyclic collection of virtual resources.
[0106] Based on the above embodiment, how to switch between virtual resources is described below. Fig.15 A flowchart of another method for acquiring virtual resources provided by an embodiment of the present disclosure is shown below. Fig.15As shown, the method for obtaining virtual resources provided in this embodiment includes:
[0107] Step 301: In response to a first instruction triggered by a user, display a first shooting interface, wherein the first shooting interface includes multiple target shooting modes.
[0108] Step 302: In response to a trigger operation of the user on the first shooting interface, a first virtual resource is acquired, and an icon corresponding to the first virtual resource is displayed on the first shooting interface.
[0109] The plurality of target shooting modes include at least one variable shooting mode, and the variable shooting mode is configured to change over time.
[0110] S301-S301's technical terms, technical effects, technical features, and optional implementation methods can be found in Figure 1 The S101-S102 shown are understood, and the repeated contents will not be repeated here.
[0111] Step 303: In response to the acquired at least one first virtual resource satisfying a preset condition, convert the at least one first virtual resource into a second virtual resource.
[0112] The preset condition may include that the at least one first virtual resource obtained is repeated with an already obtained virtual resource, or that the at least one first virtual resource satisfies a synthesis condition of the second virtual resource.
[0113] It should be understood that the first virtual resource and the second virtual resource are two resources with different states. The two resources with different states can be understood as the first virtual resource and the second virtual resource being different resources of the same type, for example, card A in an unactivated state and card B in an activated state; or, it can also be understood as the first virtual resource and the second virtual resource being different types of resources, for example, "gold card A1" and "diamond card B", or "gold card A1" and a gold coin red envelope.
[0114] For example, if card A is obtained, but the virtual resources that the user has obtained include card A, card A can be converted into card B that the user has not obtained.
[0115] For example, if "Gold Card A1", "Gold Card A2" and "Gold Card A3" are obtained, when "Gold Card A1", "Gold Card A2" and "Gold Card A3" meet the synthesis conditions of "Diamond Card B", "Gold Card A1", "Gold Card A2" and "Gold Card A3" can be merged into "Diamond Card B".
[0116] For example, if "Gold Card A1", "Gold Card A2" and "Gold Card A3" are obtained, if "Gold Card A1", "Gold Card A2" and "Gold Card A3" meet the synthesis conditions of the gold coin red envelope, "Gold Card A1", "Gold Card A2" and "Gold Card A3" can be merged into a gold coin red envelope, and then wait for the user to click to open the gold coin red envelope at a specific time to get gold coins.
[0117] The method for acquiring virtual resources provided by the embodiment of the present disclosure displays a first shooting interface in response to a first instruction triggered by a user, and the first shooting interface includes multiple target shooting modes. Subsequently, in response to the user's triggering operation on the first shooting interface, the first virtual resource is acquired, and an icon corresponding to the first virtual resource is displayed on the first shooting interface. Among them, the multiple target shooting modes include at least one variable shooting mode, and the variable shooting mode is configured to change over time. In this way, multiple target shooting modes can be used to acquire the first virtual resource, and at the same time, the target shooting mode can also change over time, thereby enriching the form of interaction between users.
[0118] Fig.16 The structure diagram of a virtual resource acquisition device provided by the embodiment of the present disclosure is as follows. Fig.16 As shown, the virtual resource acquisition device 400 provided in this embodiment includes:
[0119] A trigger module 401 is used to display a first shooting interface in response to a first instruction triggered by a user, wherein the first shooting interface includes a plurality of target shooting modes;
[0120] The acquisition module 402 is used to acquire the first virtual resource in response to the user's trigger operation on the first shooting interface, and display the icon corresponding to the first virtual resource on the first shooting interface; wherein the multiple target shooting modes include at least one variable shooting mode, and the variable shooting mode is configured to change over time.
[0121] According to one or more embodiments of the present disclosure, the acquisition module 402 is specifically used to acquire the first virtual resource in response to a shooting completion instruction triggered by a user; and / or, in response to an upload image and publish instruction triggered by a user, when it is detected that the first virtual resource is transferred to the user, acquire the first virtual resource.
[0122] According to one or more embodiments of the present disclosure, the trigger module 401 is further used to switch to a preset interface when detecting that the first virtual resource is transferred to the user, and the preset interface includes a control for triggering display of the first shooting interface.
[0123] According to one or more embodiments of the present disclosure, the device further includes:
[0124] The conversion module 403 is configured to convert the at least one first virtual resource into a second virtual resource in response to the at least one first virtual resource being obtained meeting a preset condition, wherein the first virtual resource and the second virtual resource have different states.
[0125] According to one or more embodiments of the present disclosure, the conversion module 403 is further configured to switch different target shooting modes on the first shooting interface in response to a second instruction triggered by the user.
[0126] According to one or more embodiments of the present disclosure, the triggering method of the second instruction includes sliding in a preset direction of the first shooting interface.
[0127] According to one or more embodiments of the present disclosure, the target shooting mode includes a first shooting mode for adding a virtual object in a shot image.
[0128] According to one or more embodiments of the present disclosure, the triggering operation includes triggering a shooting completion instruction for the image with the virtual object added thereto or uploading the image and issuing an instruction in the first shooting mode.
[0129] According to one or more embodiments of the present disclosure, the acquisition module 402 is also used to obtain a preset number of virtual objects from the virtual object pool according to the arrangement order of the virtual objects if switching to the first shooting mode; and display at least one virtual object among the preset number of virtual objects in the first target area on the first shooting interface.
[0130] According to one or more embodiments of the present disclosure, the arrangement order of the virtual objects is determined according to the association information of the virtual objects, and the association information of the virtual objects includes historical usage information of the virtual objects and / or historical usage information of the users.
[0131] According to one or more embodiments of the present disclosure, the first shooting mode is a variable shooting mode, and the arrangement order of the virtual objects is updated according to a preset time period.
[0132] According to one or more embodiments of the present disclosure, the photographing mode includes a second photographing mode, and the second photographing mode is used to photograph an image.
[0133] According to one or more embodiments of the present disclosure, the triggering operation includes triggering a shooting completion instruction or an image upload and release instruction in the second shooting mode.
[0134] According to one or more embodiments of the present disclosure, the target shooting mode includes a third shooting mode, and the third shooting mode is used to identify the photographed object to be identified.
[0135] According to one or more embodiments of the present disclosure, the object to be identified includes an object of a preset type or an information code.
[0136] According to one or more embodiments of the present disclosure, the trigger operation includes a recognition operation of an object of a preset type displayed on the first shooting interface in the third shooting mode.
[0137] According to one or more embodiments of the present disclosure, the trigger module 401 is further used to identify an object of a preset type in response to a recognition operation triggered on an object of a preset type; and display a preset image corresponding to the object of the preset type on the first shooting interface.
[0138] According to one or more embodiments of the present disclosure, the triggering operation includes identifying and / or adding a user identified by an information code.
[0139] According to one or more embodiments of the present disclosure, the trigger module 401 is specifically used to switch the video playback interface to the second shooting interface in response to a third instruction triggered by the user, and a first control corresponding to the first instruction is provided on the second shooting interface; in response to the first instruction triggered by the user by clicking the first control, the second shooting interface is switched and displayed as the first shooting interface.
[0140] According to one or more embodiments of the present disclosure, the trigger module 401 is further configured to hide the first control in response to a fourth instruction triggered by the user sliding the second target area of the second shooting interface.
[0141] According to one or more embodiments of the present disclosure, the trigger module 401 is specifically configured to switch the display interface of the virtual resource to the first shooting interface in response to a first instruction triggered by a user clicking a second control on the display interface of the virtual resource.
[0142] According to one or more embodiments of the present disclosure, the second controls correspond to different target shooting modes respectively, and the trigger module is further used to switch the target shooting mode on the first shooting interface to the target shooting mode corresponding to the second control that triggers the first instruction.
[0143] According to one or more embodiments of the present disclosure, the trigger module is specifically configured to switch the user's information interface to the first shooting interface in response to a first instruction triggered by the user clicking a third control on the user's information interface.
[0144] It is worth mentioning that Fig.16 The device for acquiring virtual resources provided in the illustrated embodiment can be used to execute the method provided in any of the above embodiments. The specific implementation method and technical effects are similar and will not be described in detail here.
[0145] Fig.17 The structure diagram of an electronic device provided by the embodiment of the present disclosure is shown in FIG. Fig.17, which shows a schematic diagram of the structure of an electronic device 500 suitable for implementing the embodiment of the present disclosure. The terminal device in the embodiment of the present disclosure may include, but is not limited to, mobile terminals with image acquisition functions such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle terminals (such as vehicle navigation terminals), wearable electronic devices, etc., and fixed terminals with image acquisition devices such as digital TVs, desktop computers, smart home devices, etc. Fig.17 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0146] like Fig.17 As shown, the electronic device 500 may include a processor (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a memory 508 to a random access memory (RAM) 503. In RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processor 501, ROM 502, and RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504. The memory is used to store programs for executing the above-mentioned various method embodiments; the processor is configured to execute the programs stored in the memory to implement the functions of the embodiments of the present disclosure described above and / or other desired functions.
[0147] Typically, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. Although Fig.10 The electronic device 500 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0148] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart of the embodiment of the present disclosure. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 509, or installed from the storage device 508, or installed from the ROM 502. When the computer program is executed by the processor 501, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0149] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0150] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0151] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: displays a first shooting interface in response to a first instruction triggered by a user, wherein the first shooting interface includes multiple target shooting modes; obtains a first virtual resource in response to a trigger operation of the user on the first shooting interface, and displays an icon corresponding to the first virtual resource on the first shooting interface; wherein the multiple target shooting modes include at least one variable shooting mode, and the variable shooting mode is configured to change over time.
[0152] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving 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 may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0153] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0154] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0155] The modules involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of the module does not limit the unit itself in some cases.
[0156] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0157] In the context of the present disclosure, a computer-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. A computer-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. A more specific example of a computer-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0158] In a first aspect, according to one or more embodiments of the present disclosure, a method for acquiring a virtual resource is provided, comprising:
[0159] In response to a first instruction triggered by a user, displaying a first shooting interface, wherein the first shooting interface includes a plurality of target shooting modes;
[0160] In response to a trigger operation of the user on the first shooting interface, acquiring a first virtual resource, and displaying an icon corresponding to the first virtual resource on the first shooting interface;
[0161] The plurality of target shooting modes include at least one variable shooting mode, and the variable shooting mode is configured to change over time.
[0162] According to one or more embodiments of the present disclosure, in response to a trigger operation of the user on the first shooting interface, acquiring a first virtual resource includes:
[0163] In response to a shooting completion instruction triggered by a user, acquiring a first virtual resource; and / or
[0164] In response to the user-triggered upload image and release instruction, when it is detected that the first virtual resource is transferred to the user, the first virtual resource is acquired.
[0165] According to one or more embodiments of the present disclosure, the method further includes:
[0166] When it is detected that the first virtual resource is transferred to the user, switching to a preset interface is performed, and the preset interface includes a control for triggering display of the first shooting interface.
[0167] According to one or more embodiments of the present disclosure, after acquiring the first virtual resource and displaying an icon corresponding to the first virtual resource on the first shooting interface, the method further includes:
[0168] In response to the acquired at least one first virtual resource satisfying a preset condition, the at least one first virtual resource is converted into a second virtual resource, and the first virtual resource and the second virtual resource have different states.
[0169] According to one or more embodiments of the present disclosure, after displaying the first shooting interface in response to the first instruction triggered by the user, the method further includes:
[0170] In response to a second instruction triggered by the user, different target shooting modes are switched on the first shooting interface.
[0171] According to one or more embodiments of the present disclosure, a triggering method of the second instruction includes sliding in a preset direction of the first shooting interface.
[0172] According to one or more embodiments of the present disclosure, the target shooting mode includes a first shooting mode, and the first shooting mode is used to add a virtual object in a shot image.
[0173] According to one or more embodiments of the present disclosure, the trigger operation includes triggering a shooting completion instruction for the image with the virtual object added or an image upload and release instruction in the first shooting mode.
[0174] According to one or more embodiments of the present disclosure, after switching different target shooting modes on the first shooting interface, the method further includes:
[0175] If the first shooting mode is switched to, a preset number of virtual objects are obtained from a virtual object pool according to the arrangement order of the virtual objects;
[0176] At least one virtual object among the preset number of virtual objects is displayed in a first target area on the first shooting interface.
[0177] According to one or more embodiments of the present disclosure, the arrangement order of the virtual objects is determined according to association information of the virtual objects, and the association information of the virtual objects includes historical usage information of the virtual objects and / or historical usage information of the users.
[0178] According to one or more embodiments of the present disclosure, the first shooting mode is the variable shooting mode, and the arrangement order of the virtual objects is updated according to a preset time period.
[0179] According to one or more embodiments of the present disclosure, the shooting mode includes a second shooting mode for shooting an image.
[0180] According to one or more embodiments of the present disclosure, the trigger operation includes triggering a shooting completion instruction or uploading an image and issuing an instruction in the second shooting mode.
[0181] According to one or more embodiments of the present disclosure, the target shooting mode includes a third shooting mode, and the third shooting mode is used to identify the photographed object to be identified.
[0182] According to one or more embodiments of the present disclosure, the object to be identified includes an object of a preset type or an information code.
[0183] According to one or more embodiments of the present disclosure, the trigger operation includes a recognition operation of the preset type of object displayed on the first shooting interface in the third shooting mode.
[0184] According to one or more embodiments of the present disclosure, after displaying the first shooting interface, the method further includes:
[0185] In response to a recognition operation triggered on an object of the preset type, identifying the object of the preset type;
[0186] A preset image corresponding to the preset type of object is displayed on the first shooting interface.
[0187] According to one or more embodiments of the present disclosure, the trigger operation includes identifying and / or adding the user identified by the information code.
[0188] According to one or more embodiments of the present disclosure, before displaying the first shooting interface in response to the first instruction triggered by the user, the method further includes:
[0189] In response to the third instruction triggered by the user, the video playback interface is switched to a second shooting interface, where a first control corresponding to the first instruction is provided on the second shooting interface;
[0190] The step of displaying a first shooting interface in response to a first instruction triggered by a user includes:
[0191] In response to the first instruction triggered by the user clicking the first control, the second shooting interface is switched to be displayed as the first shooting interface.
[0192] According to one or more embodiments of the present disclosure, after switching the video playback interface to the second shooting interface, the method further includes:
[0193] In response to a fourth instruction triggered by the user sliding a second target area of the second shooting interface, hiding the first control.
[0194] According to one or more embodiments of the present disclosure, displaying a first shooting interface in response to a first instruction triggered by a user includes:
[0195] In response to the first instruction triggered by the user clicking a second control on the display interface of the virtual resource, the display interface of the virtual resource is switched to be displayed as the first shooting interface.
[0196] According to one or more embodiments of the present disclosure, the second controls correspond to different target shooting modes respectively. After the display interface of the virtual resource is switched to the first shooting interface, the method further includes:
[0197] The target shooting mode is switched on the first shooting interface to a target shooting mode corresponding to the second control that triggers the first instruction.
[0198] According to one or more embodiments of the present disclosure, displaying a first shooting interface in response to a first instruction triggered by a user includes:
[0199] In response to the first instruction being triggered by the user clicking a third control on the user's information interface, the user's information interface is switched to be displayed as the first shooting interface.
[0200] In a second aspect, according to one or more embodiments of the present disclosure, a device for acquiring a virtual resource is provided, comprising:
[0201] A trigger module, configured to display a first shooting interface in response to a first instruction triggered by a user, wherein the first shooting interface includes a plurality of target shooting modes;
[0202] An acquisition module is used to acquire a first virtual resource in response to a trigger operation of the user on the first shooting interface, and to display an icon corresponding to the first virtual resource on the first shooting interface; wherein the multiple target shooting modes include at least one variable shooting mode, and the variable shooting mode is configured to change over time.
[0203] According to one or more embodiments of the present disclosure, the acquisition module is specifically used to acquire the first virtual resource in response to a shooting completion instruction triggered by a user; and / or, in response to an upload image and publish instruction triggered by a user, acquire the first virtual resource when it is detected that the first virtual resource is transferred to the user.
[0204] According to one or more embodiments of the present disclosure, the trigger module is further used to switch to a preset interface when detecting that the first virtual resource is transferred to the user, and the preset interface includes a control for triggering display of the first shooting interface.
[0205] According to one or more embodiments of the present disclosure, the device further includes:
[0206] The conversion module is used for converting the at least one first virtual resource into a second virtual resource in response to the at least one first virtual resource being obtained meeting a preset condition, wherein the first virtual resource and the second virtual resource have different states.
[0207] According to one or more embodiments of the present disclosure, the conversion module is further configured to switch between different target shooting modes on the first shooting interface in response to a second instruction triggered by a user.
[0208] According to one or more embodiments of the present disclosure, a triggering method of the second instruction includes sliding in a preset direction of the first shooting interface.
[0209] According to one or more embodiments of the present disclosure, the target shooting mode includes a first shooting mode, and the first shooting mode is used to add a virtual object in a shot image.
[0210] According to one or more embodiments of the present disclosure, the trigger operation includes triggering a shooting completion instruction for the image with the virtual object added or an image upload and release instruction in the first shooting mode.
[0211] According to one or more embodiments of the present disclosure, the acquisition module is also used to acquire a preset number of virtual objects from the virtual object pool according to the arrangement order of the virtual objects if switching to the first shooting mode; and display at least one virtual object among the preset number of virtual objects in the first target area on the first shooting interface.
[0212] According to one or more embodiments of the present disclosure, the arrangement order of the virtual objects is determined according to association information of the virtual objects, and the association information of the virtual objects includes historical usage information of the virtual objects and / or historical usage information of the users.
[0213] According to one or more embodiments of the present disclosure, the first shooting mode is the variable shooting mode, and the arrangement order of the virtual objects is updated according to a preset time period.
[0214] According to one or more embodiments of the present disclosure, the shooting mode includes a second shooting mode for shooting an image.
[0215] According to one or more embodiments of the present disclosure, the trigger operation includes triggering a shooting completion instruction or uploading an image and issuing an instruction in the second shooting mode.
[0216] According to one or more embodiments of the present disclosure, the target shooting mode includes a third shooting mode, and the third shooting mode is used to identify the photographed object to be identified.
[0217] According to one or more embodiments of the present disclosure, the object to be identified includes an object of a preset type or an information code.
[0218] According to one or more embodiments of the present disclosure, the trigger operation includes a recognition operation of the preset type of object displayed on the first shooting interface in the third shooting mode.
[0219] According to one or more embodiments of the present disclosure, the trigger module is further used to identify the object of the preset type in response to a recognition operation triggered on the object of the preset type; and display a preset image corresponding to the object of the preset type on the first shooting interface.
[0220] According to one or more embodiments of the present disclosure, the trigger operation includes identifying and / or adding the user identified by the information code.
[0221] According to one or more embodiments of the present disclosure, the trigger module is specifically used to switch the video playback interface to a second shooting interface in response to a third instruction triggered by the user, and a first control corresponding to the first instruction is provided on the second shooting interface; in response to the first instruction triggered by the user by clicking the first control, the second shooting interface is switched and displayed as the first shooting interface.
[0222] According to one or more embodiments of the present disclosure, the trigger module is further configured to hide the first control in response to a fourth instruction triggered by the user sliding the second target area of the second shooting interface.
[0223] According to one or more embodiments of the present disclosure, the trigger module is specifically configured to switch the display interface of the virtual resource to the first shooting interface in response to the first instruction triggered by the user clicking the second control on the display interface of the virtual resource.
[0224] According to one or more embodiments of the present disclosure, the second controls correspond to different target shooting modes respectively, and the trigger module is further used to switch the target shooting mode to the target shooting mode corresponding to the second control that triggers the first instruction on the first shooting interface.
[0225] According to one or more embodiments of the present disclosure, the trigger module is specifically configured to switch the user's information interface to the first shooting interface in response to the first instruction triggered by the user clicking a third control on the user's information interface.
[0226] In a third aspect, an embodiment of the present disclosure provides an electronic device, including:
[0227] Processor; and
[0228] Memory for storing computer programs;
[0229] Wherein, the processor is configured to implement the method of expression display as described in the first aspect and various possible designs of the first aspect by executing the computer program.
[0230] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, in which computer execution instructions are stored. When a processor executes the computer execution instructions, the method for displaying expressions as described in the first aspect and various possible designs of the first aspect is implemented.
[0231] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, including a computer program, which, when executed by a processor, implements the method for displaying expressions as described in the first aspect and various possible designs of the first aspect.
[0232] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0233] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0234] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A method for acquiring virtual resources, characterized in that: include: In response to a first instruction triggered by a user, displaying a first shooting interface, wherein the first shooting interface includes a plurality of target shooting modes; In response to a trigger operation of the user on the first shooting interface, acquiring a first virtual resource, and displaying an icon corresponding to the first virtual resource on the first shooting interface; wherein the plurality of target shooting modes include at least one variable shooting mode, the variable shooting mode being configured to change over time; The multiple target shooting modes also include a third shooting mode, and the third shooting mode is used for at least one of the following: identifying the photographed object to be identified, identifying the user identified by the information code, and adding the user identified by the information identification code; After displaying the first shooting interface, the method further includes: In response to a recognition operation triggered by a preset type of object and / or information code, the preset type of object and / or information code is recognized; Displaying, on the first shooting interface, a preset image corresponding to the preset type of object and / or information code and / or associated information of a result of the recognition operation; After acquiring the first virtual resource and displaying an icon corresponding to the first virtual resource on the first shooting interface, the method further includes: In response to at least one of the first virtual resources obtained satisfying a preset condition, the at least one first virtual resource is converted into a second virtual resource, and the first virtual resource and the second virtual resource have different states; wherein the different states indicate that the first virtual resource and the second virtual resource are resources with different activation states, or the first virtual resource and the second virtual resource are resources of different types; wherein the preset condition includes that the first virtual resource obtained based on the trigger operation on the first shooting interface is repeated with the acquired virtual resource, or that the first virtual resource obtained based on the trigger operation on the first shooting interface satisfies the synthesis condition of the second virtual resource.
2. The method according to claim 1, characterized in that The acquiring of the first virtual resource in response to the triggering operation of the user on the first shooting interface includes: In response to a shooting completion instruction triggered by a user, acquiring a first virtual resource; and / or In response to the user-triggered upload image and release instruction, when it is detected that the first virtual resource is transferred to the user, the first virtual resource is acquired.
3. The method according to claim 2, characterized in that The method further comprises: When it is detected that the first virtual resource is transferred to the user, switching to a preset interface is performed, and the preset interface includes a control for triggering display of the first shooting interface.
4. The method according to claim 1, characterized in that: After displaying the first shooting interface in response to the first instruction triggered by the user, the method further includes: In response to a second instruction triggered by the user, different target shooting modes are switched on the first shooting interface.
5. The method according to claim 4, characterized in that The triggering method of the second instruction includes sliding in a preset direction of the first shooting interface.
6. The method according to claim 4, characterized in that The target shooting mode includes a first shooting mode for adding a virtual object in a shot image.
7. The method according to claim 6, characterized in that The trigger operation includes triggering a shooting completion instruction for the image with the virtual object added or an image upload and release instruction in the first shooting mode.
8. The method according to claim 6, characterized in that After switching different target shooting modes on the first shooting interface, the method further includes: If the first shooting mode is switched to, a preset number of virtual objects are obtained from a virtual object pool according to the arrangement order of the virtual objects; At least one virtual object among the preset number of virtual objects is displayed in a first target area on the first shooting interface.
9. The method according to any one of claims 6 to 8, characterized in that: The arrangement order of the virtual objects is determined according to the association information of the virtual objects, and the association information of the virtual objects includes the historical use information of the virtual objects and / or the historical use information of the users.
10. The method according to any one of claims 6 to 8, characterized in that: The first shooting mode is the variable shooting mode, and the virtual object is updated according to a preset time period.
11. The method according to claim 4, characterized in that The photographing mode includes a second photographing mode for photographing an image.
12. The method according to claim 11, characterized in that The trigger operation includes triggering a shooting completion instruction or uploading an image and issuing an instruction in the second shooting mode.
13. The method according to claim 1, characterized in that The trigger operation includes a recognition operation of the preset type of object displayed on the first shooting interface in the third shooting mode.
14. The method according to claim 1, characterized in that Before displaying the first shooting interface in response to the first instruction triggered by the user, the method further includes: In response to the third instruction triggered by the user, the video playback interface is switched to a second shooting interface, where a first control corresponding to the first instruction is provided on the second shooting interface; The step of displaying a first shooting interface in response to a first instruction triggered by a user includes: In response to the first instruction triggered by the user clicking the first control, the second shooting interface is switched to be displayed as the first shooting interface.
15. The method according to claim 14, characterized in that After switching the video playback interface to the second shooting interface, the method further includes: In response to a fourth instruction triggered by the user sliding a second target area of the second shooting interface, hiding the first control.
16. The method according to claim 1, characterized in that The step of displaying a first shooting interface in response to a first instruction triggered by a user includes: In response to the first instruction triggered by the user clicking a second control on the display interface of the virtual resource, the display interface of the virtual resource is switched to be displayed as the first shooting interface.
17. The method according to claim 16, characterized in that The second controls correspond to different target shooting modes respectively. After the display interface of the virtual resource is switched to the first shooting interface, the method further includes: The target shooting mode is switched on the first shooting interface to a target shooting mode corresponding to the second control that triggers the first instruction.
18. The method according to claim 1, characterized in that The step of displaying a first shooting interface in response to a first instruction triggered by a user includes: In response to the first instruction being triggered by the user clicking a third control on the user's information interface, the user's information interface is switched to be displayed as the first shooting interface.
19. A device for acquiring virtual resources, characterized in that: include: A trigger module, configured to display a first shooting interface in response to a first instruction triggered by a user, wherein the first shooting interface includes a plurality of target shooting modes; an acquisition module, configured to acquire a first virtual resource in response to a trigger operation of the user on the first shooting interface, and display an icon corresponding to the first virtual resource on the first shooting interface; wherein the multiple target shooting modes include at least one variable shooting mode, and the variable shooting mode is configured to change over time; the multiple target shooting modes also include a third shooting mode, and the third shooting mode is used for at least one of the following: identifying a photographed object to be identified, identifying a user identified by an information code, and adding a user identified by an information identification code; The trigger module is further configured to identify an object of a preset type in response to a recognition operation triggered on the object of the preset type; In response to a recognition operation triggered by the preset type of object and / or information code, the preset type of object and / or information code is recognized; Displaying, on the first shooting interface, a preset image corresponding to the preset type of object and / or information code and / or associated information of a result of the recognition operation; A conversion module, used for converting at least one of the first virtual resources acquired to a second virtual resource in response to at least one of the first virtual resources satisfying a preset condition, wherein the first virtual resource and the second virtual resource have different states; wherein the different states indicate that the first virtual resource and the second virtual resource are resources with different activation states, or the first virtual resource and the second virtual resource are resources of different types; wherein the preset condition includes that the first virtual resource acquired based on the trigger operation on the first shooting interface is repeated with the acquired virtual resource, or that the first virtual resource acquired based on the trigger operation on the first shooting interface satisfies the synthesis condition of the second virtual resource.
20. An electronic device, characterized in that: include: processor; as well as Memory for storing computer programs; The processor is configured to implement the method for acquiring virtual resources according to any one of claims 1 to 18 by executing the computer program.
21. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions. When the processor executes the computer-executable instructions, the method for acquiring virtual resources according to any one of claims 1 to 18 is implemented.
22. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the method for acquiring virtual resources according to any one of claims 1 to 18 is implemented.
Citation Information
Patent Citations
Vivo detection method and equipment, and computer program product
CN105518714A
Video shooting method and device, terminal device and storage medium
CN108616696A
Method and device for co-shotting of video
CN109005352A
Shooting method and terminal equipment
CN109639970A
Picture display method and device
CN111209424A
