CN108614733B - Virtual resource exchange method and device of intelligent terminal, and virtual resource allocation method and device - Google Patents
Virtual resource exchange method and device of intelligent terminal, and virtual resource allocation method and device Download PDFInfo
- Publication number
- CN108614733B CN108614733B CN201611145324.XA CN201611145324A CN108614733B CN 108614733 B CN108614733 B CN 108614733B CN 201611145324 A CN201611145324 A CN 201611145324A CN 108614733 B CN108614733 B CN 108614733B
- Authority
- CN
- China
- Prior art keywords
- virtual
- intelligent terminal
- virtual resource
- page
- effect data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5061—Partitioning or combining of resources
- G06F9/5077—Logical partitioning of resources; Management or configuration of virtualized resources
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The disclosure discloses a virtual resource exchange method, a virtual resource allocation method and a virtual resource allocation device of an intelligent terminal. The method comprises the following steps: identifying a marked image for virtual resource acquisition acquired by an intelligent terminal to obtain a mark in the marked image; acquiring virtual effect data corresponding to the marks, and displaying an operation page for getting the virtual resources; detecting a trigger operation acting on an operation page; and initiating a request for carrying out virtual resource allocation on the intelligent terminal to the server through triggering operation. Therefore, for the exchange and final acquisition of the virtual resources of the user in the intelligent terminal, under the action of the virtual effect data corresponding to the mark, the single virtual resource acquisition page is not needed, and a viewpoint is added, so that the user is promoted to initiate the exchange of the virtual resources in the intelligent terminal, and the propagation effect of the virtual resources in the internet is further enhanced.
Description
Technical Field
The present disclosure relates to the field of internet application technologies, and in particular, to a virtual resource exchange method, a virtual resource allocation method, and a virtual resource allocation device for an intelligent terminal.
Background
With the rapid development of the internet application technology, the intelligent terminal realizes the acquisition of various virtual resources for the user through the interaction with the server, namely, the virtual resources shared by other users in the server are acquired. Further, the other users may be general users, enterprise users, and the like.
The virtual resources can be various virtual articles, such as virtual red packages, points or electronic vouchers, and the like, the number of the virtual resources is limited, and the virtual resources need to be issued to a specific intelligent terminal under the cooperation of the server.
The specific intelligent terminal is an intelligent terminal which actively initiates virtual resource exchange in an offline activity scene, for example, the intelligent terminal scans and identifies bar code information used for getting the virtual resource, at the moment, the intelligent terminal jumps into a getting page of the virtual resource, and the server allocates the virtual resource to a user of the intelligent terminal through operation acting on the intelligent terminal.
However, especially for the sharing of virtual resources implemented by enterprise users, in the presence of massive users, even very powerful enterprise users cannot issue a large amount of virtual resources, and the value carried in the issued virtual resources is not high, so that a large amount of high-quality users cannot be attracted to initiate a virtual resource exchange process in an intelligent terminal, the exchange of virtual resources at the intelligent terminal has a great obstacle, and further, the limitation of poor propagation effect in the internet exists.
Disclosure of Invention
In order to solve the technical problem of poor propagation effect of virtual resources in the internet in the related art, an object of the present disclosure is to provide a virtual resource exchange method and apparatus for an intelligent terminal, which are used to solve the defect of poor propagation effect of virtual resources in the internet in the prior art.
In addition, another object of the present disclosure is to provide a method and an apparatus for allocating virtual resources, which are used to solve the defect in the prior art that the propagation effect of virtual resources in the internet is poor.
A virtual resource exchange method of an intelligent terminal, the method comprising:
identifying a marked image for virtual resource acquisition acquired by an intelligent terminal to obtain a mark in the marked image;
acquiring virtual effect data corresponding to the mark;
the intelligent terminal displays the virtual effect data and displays an operation page for getting the virtual resources;
detecting a trigger operation acting on the operation page;
and initiating a request for virtual resource allocation of the intelligent terminal to the server through the triggering operation.
A method of virtual resource allocation, the method comprising:
responding to a request for acquiring virtual effect data corresponding to a mark, which is initiated by an intelligent terminal, and returning the virtual effect data to the intelligent terminal, so that the intelligent terminal finally displays an operation page for getting the virtual resource through the virtual effect data;
receiving a virtual resource allocation request initiated by the intelligent terminal through a trigger operation acting on the operation page;
responding to the virtual resource allocation request, executing the operation of virtual resource allocation for the intelligent terminal, and generating a corresponding resource picking result;
and returning the resource obtaining result to the intelligent terminal.
A virtual resource exchange apparatus of a smart terminal, the apparatus comprising:
the identification module is used for identifying a marked image for virtual resource acquisition acquired by an intelligent terminal to obtain a mark in the marked image;
the effect data acquisition module is used for acquiring virtual effect data corresponding to the mark;
the virtual effect display module is used for displaying the virtual effect data by the intelligent terminal and displaying an operation page for getting the virtual resource;
the operation detection module is used for detecting the trigger operation acted on the operation page;
and the resource obtaining module is used for initiating a request for performing virtual resource allocation on the intelligent terminal to the server through the triggering operation.
An apparatus for virtual resource allocation, the apparatus comprising:
the data return module is used for responding to a request for acquiring virtual effect data corresponding to the mark initiated by the intelligent terminal, returning the virtual effect data to the intelligent terminal, and finally displaying an operation page for getting the virtual resource by the intelligent terminal through the virtual effect data;
the resource request receiving module is used for receiving a virtual resource allocation request initiated by the intelligent terminal through a trigger operation acting on the operation page;
the virtual resource allocation module is used for responding to the virtual resource allocation request, executing the operation of virtual resource allocation for the intelligent terminal and generating a corresponding resource picking result;
and the result returning module is used for returning the resource obtaining result to the intelligent terminal.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
in order to realize the virtual resource acquisition for the user in the intelligent terminal and enable the virtual resource to be spread, the marking image for virtual resource acquisition acquired by the intelligent terminal is identified to obtain the mark in the marking image, the virtual effect data corresponding to the mark is acquired, the intelligent terminal displays the virtual effect data, and displays an operation page for drawing the virtual resource, detects a trigger operation acting on the operation page, and initiating a request for virtual resource allocation for the intelligent terminal to the server through the trigger operation on the operation page, so that, for the virtual resource exchange and the final acquisition of the user in the intelligent terminal, under the action of the virtual effect data corresponding to the mark, the virtual resource acquisition page is not a single virtual resource acquisition page any more, the view point is increased, the method and the system promote the user to initiate the exchange of the virtual resources in the intelligent terminal, and further enhance the propagation effect of the virtual resources in the internet.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a schematic illustration of an implementation environment according to the present disclosure;
FIG. 2 is a block diagram illustrating an apparatus according to an example embodiment
FIG. 3 is a flow diagram illustrating a method for virtual resource exchange of a smart terminal in accordance with an exemplary embodiment;
fig. 4 is a flowchart illustrating the intelligent terminal to display virtual effect data and display details of an operation page for retrieving virtual resources according to the embodiment shown in fig. 3;
fig. 5 is a flowchart illustrating details of a virtual scene display step of performing augmented reality on a page loaded by the smart terminal according to the corresponding embodiment of fig. 4;
fig. 6 illustrates a request for virtual resource allocation to a server by a trigger operation according to the corresponding embodiment in fig. 3;
FIG. 7 is a flow diagram illustrating a virtual red envelope pickup flow and feeding back an incoming message notification for the virtual red envelope when the pickup flow is completed, according to an example embodiment;
FIG. 8 is a flowchart of an exemplary method for virtual resource allocation in accordance with an exemplary implementation;
fig. 9 is a flowchart illustrating details of a step of returning virtual effect data to the intelligent terminal in response to a request for acquiring virtual effect data corresponding to a tag, which is initiated by the intelligent terminal, so that the intelligent terminal finally displays an operation page for retrieving virtual resources through the virtual effect data, according to the embodiment corresponding to fig. 8;
fig. 10 is a flowchart illustrating details of a step of performing virtual resource allocation for the intelligent terminal according to the virtual resource allocation request and generating a corresponding resource pickup result according to the corresponding embodiment of fig. 8;
FIG. 11 is a flowchart illustrating a method of virtual resource allocation in accordance with another exemplary embodiment;
FIG. 12 is a simplified schematic illustration of an application of virtual red envelope pickup shown in accordance with an exemplary embodiment;
FIG. 13 is a schematic diagram illustrating the pickup of a red envelope page in accordance with an exemplary embodiment;
FIG. 14 is an interface diagram illustrating red envelope pickup results according to an exemplary embodiment;
fig. 15 is a block diagram illustrating a virtual resource exchanging apparatus of a smart terminal according to an exemplary embodiment;
fig. 16 is a block diagram illustrating details of a virtual effect presentation module according to the corresponding embodiment of fig. 15;
fig. 17 is a block diagram illustrating details of a virtual scene presentation unit according to the corresponding embodiment of fig. 15;
FIG. 18 is a block diagram illustrating details of a resource acquisition module according to the corresponding embodiment of FIG. 15;
FIG. 19 is a block diagram illustrating a virtual resource allocation apparatus in accordance with an exemplary embodiment;
FIG. 20 is a block diagram illustrating details of a data return module according to the corresponding embodiment of FIG. 19;
fig. 21 is a block diagram illustrating details of a virtual resource allocation module according to the corresponding embodiment of fig. 19.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
FIG. 1 is a schematic illustration of an implementation environment according to the present disclosure. The implementation environment includes: intelligent terminal 110 and server 130.
The association between the intelligent terminal 110 and the server 130 includes data association between WiFi or wired broadband implementations.
In the implementation environment, the server 130 interacts with a plurality of intelligent terminals 110 to realize the exchange of virtual resources in each intelligent terminal 110, so that the virtual resources are transferred to the user name of the intelligent terminal 110 by a common user or an enterprise user under the action of the server 130.
FIG. 2 is a block diagram illustrating an apparatus according to an example embodiment. For example, the apparatus 200 may be the smart terminal 110 in the implementation environment shown in FIG. 1. For example, the smart terminal 110 may be a terminal device such as a smart phone or a tablet computer.
Referring to fig. 2, the apparatus 200 may include one or more of the following components: a processing component 202, a memory 204, a power component 206, a multimedia component 208, an audio component 210, a sensor component 214, and a communication component 216.
The processing component 202 generally controls overall operation of the device 200, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations, among others. The processing components 202 may include one or more processors 218 to execute instructions to perform all or a portion of the steps of the methods described below. Further, the processing component 202 can include one or more modules that facilitate interaction between the processing component 202 and other components. For example, the processing component 202 can include a multimedia module to facilitate interaction between the multimedia component 208 and the processing component 202.
The memory 204 is configured to store various types of data to support operations at the apparatus 200. Examples of such data include instructions for any application or method operating on the apparatus 200. The Memory 204 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically erasable Programmable Read-Only Memory (EEPROM), erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk. Also stored in memory 204 are one or more modules configured to be executed by the one or more processors 218 to perform all or a portion of the steps of any of the methods of fig. 3, 4, 5, and 6, described below.
The power supply component 206 provides power to the various components of the device 200. The power components 206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 200.
The multimedia component 208 includes a screen that provides an output interface between the device 200 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a touch panel. If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. The screen may further include an Organic Light Emitting Display (OLED for short).
The audio component 210 is configured to output and/or input audio signals. For example, the audio component 210 includes a Microphone (MIC) configured to receive external audio signals when the device 200 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 204 or transmitted via the communication component 216. In some embodiments, audio component 210 also includes a speaker for outputting audio signals.
The sensor component 214 includes one or more sensors for providing various aspects of status assessment for the device 200. For example, the sensor assembly 214 may detect an open/closed state of the device 200, the relative positioning of the components, the sensor assembly 214 may also detect a change in position of the device 200 or a component of the device 200, and a change in temperature of the device 200. In some embodiments, the sensor assembly 214 may also include a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 216 is configured to facilitate wired or wireless communication between the apparatus 200 and other devices. The device 200 may access a WIreless network based on a communication standard, such as WiFi (WIreless-Fidelity). In an exemplary embodiment, the communication component 216 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 216 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, bluetooth technology, and other technologies.
In an exemplary embodiment, the apparatus 200 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital signal processors, digital signal processing devices, programmable logic devices, field programmable gate arrays, controllers, microcontrollers, microprocessors or other electronic components for performing the methods described below.
Fig. 3 is a flowchart illustrating a virtual resource exchange method of a smart terminal according to an exemplary embodiment. The virtual resource exchange method of the intelligent terminal is suitable for the intelligent terminal 110 of the implementation environment shown in fig. 1, and the intelligent terminal 110 may be the apparatus shown in fig. 2 in an exemplary embodiment. As shown in fig. 3, the virtual resource exchanging method of the intelligent terminal, which may be performed by the intelligent terminal 110, may include the following steps.
In step 310, a tag image for virtual resource acquisition acquired by the intelligent terminal is identified to obtain a tag in the tag image.
The virtual resource refers to a virtual article which obtains ownership through the internet and exists only in the internet in an information form, and the virtual article exists in a virtual form. In one exemplary embodiment, the virtual resource includes at least one of a virtual red envelope, an avatar product, a virtual charge card, gaming equipment, and virtual currency.
And the image is marked for initiating the virtual resource getting process in the intelligent terminal, and the virtual effect data for realizing the virtual scene display in the virtual resource getting process is uniquely identified. The marked image is obtained by the intelligent terminal through carriers such as a web page, a mobile terminal page (H5 page, namely Html5 page), an offline activity scene real object, a bar code and the like, and the intelligent terminal can obtain the mark carried by the intelligent terminal by identifying the marked image.
Specifically, the marker image carries a marker uniquely corresponding to virtual effect data, and the marker is obtained by identifying the marker image by the intelligent terminal. In an exemplary embodiment, the identification means includes, but is not limited to: scanning, photographing, and long press mark image recognition, etc., and are not limited herein.
On one hand, the marked image is used for prompting a user of the intelligent terminal to obtain the virtual resources; on the other hand, an entrance is provided for the user of the intelligent terminal to realize virtual resource acquisition.
Specifically, the marked image may be displayed by other devices except the intelligent terminal, may also be obtained by scanning or photographing the intelligent device in an online activity field, and may also be transmitted to the intelligent terminal to be displayed by the intelligent terminal itself.
No matter from which carrier the marked image is obtained, the marked image carries the mark, so that the virtual resource exchange process in the intelligent terminal can be initiated after the intelligent terminal identifies, and the intelligent terminal can obtain the virtual resource.
In step 320, the virtual effect data corresponding to the mark is obtained.
Wherein, the corresponding relation between the mark and the virtual effect data is pre-established and stored. Therefore, after the marker image is recognized to obtain the marker, the corresponding virtual effect data can be obtained therefrom.
In step 330, the intelligent terminal displays the virtual effect data and displays an operation page for retrieving the virtual resources.
In the virtual resource exchange process initiated in the intelligent terminal, after the intelligent terminal identifies the mark, the display of the virtual effect in the intelligent terminal can be realized through the display of the corresponding virtual effect data, and the operation page for picking up the virtual resource is displayed after the display of the virtual effect is finished.
The virtual effect data is pre-configured multimedia playing data so as to realize virtual effect display in the intelligent terminal. In an exemplary embodiment, virtual effect data for implementing an AR (Augmented Reality) effect in a smart terminal.
The operation page for getting the virtual resources is an operation page for getting the virtual resources, which is displayed by an operating application program in the intelligent terminal. The operation page may be a page specifically set in the application program, or a page obtained by superimposing the virtual resource pickup function on an existing page of the application program.
It should be added that, for the presentation of the virtual effect data in the intelligent terminal triggered according to the identified mark, similar to the operation page, the presentation may be implemented by a page specifically set in the application program, that is, jumping to the page for presentation, or implemented by an existing page, which is not limited herein.
In the intelligent terminal, once the mark carried in the mark image is successfully identified, the corresponding virtual effect data is directly triggered to display the virtual effect, and after the virtual effect display is finished, namely the playing of the virtual effect data is finished, an operation page for getting the virtual resource is displayed to wait for the triggering of the virtual resource getting in the intelligent terminal.
In step 350, a trigger action on the action page is detected.
The intelligent terminal can detect the trigger operation acting on the whole operation page or acting on a preset area in the operation page. The triggering operation refers to an operation triggered by a user in an operation page displayed by the intelligent terminal or a preset area in the operation page, and the triggering operation is used for initiating the server to allocate virtual resources to the user of the intelligent terminal.
For example, for a smart phone, the trigger operation is an entire operation page, or a touch operation applied to a preset area in the operation page, where the touch operation includes, in an exemplary embodiment, a point touch operation, a sliding operation, a multi-point touch operation, and the like, which are not listed here.
In step 370, a request for virtual resource allocation for the intelligent terminal is initiated to the server through a triggering operation.
After the trigger operation acting on the operation page is detected, a process that the server allocates the virtual resources to the intelligent terminal is initiated.
It can be understood that the virtual resources exist in a virtual form, but always have ownership, and the holder of the virtual resources shares their own virtual resources with the server in the internet, while other users obtain the virtual resources assigned to them from the shared virtual resources through the server.
The virtual resource allocation for the intelligent terminal in the server can be randomly performed, for example, for a virtual red packet, the value borne by the virtual red packet is randomly allocated, that is, the monetary amount in the virtual red packet is randomly generated; it may also be specified, for example, that for each virtual red envelope, a monetary amount in the virtual red envelope is fixedly set.
And through the trigger operation obtained by detection on the operation page, the intelligent terminal is interacted with the server, and then the server is triggered to distribute virtual resources for the user of the server.
And after the server responds to the trigger operation to finish the virtual resource allocation for the intelligent terminal, generating a corresponding resource picking result and returning the resource picking result to the intelligent terminal. And the resource acquisition result generated and returned to the intelligent terminal is used for indicating the success or failure of virtual resource acquisition.
It should be noted that, for the allocation of virtual resources, as described above, the virtual resources always have ownership and therefore exist under the user account. After the server completes the virtual resource allocation, for the user who successfully receives the virtual resource, the virtual resource is switched from the original user account to the user account corresponding to the user who successfully receives the virtual resource.
Through the process, the virtual resource exchange process realized by the server between the user and other users is realized at the intelligent terminal, the virtual effect display realized by the virtual effect data is integrated into the intelligent terminal, so that the virtual resource getting of the intelligent terminal is not realized only by a single virtual resource getting page, the interaction performance and the interaction performance are enhanced, the possibility that the user uses the intelligent terminal to initiate virtual resource exchange is improved, and the propagation effect of the virtual resource in the internet can be improved.
The marking image for prompting virtual resource extraction at the intelligent terminal can be displayed through a certain page as described above, or can be obtained by a real object or a bar code laid on an offline activity site. In summary, in one exemplary embodiment, the marker image, is present outside of the smart terminal, which obtains and identifies the marker it carries by scanning or taking a picture of it.
In the scene, the virtual effect display is realized in the intelligent terminal by marking the corresponding virtual effect data, so that the virtual effect based on the scene can be realized, and a user can be prompted to use the intelligent terminal to initiate the exchange process of virtual resources, so that the activity effect in the scene is improved, and better propagation effect is easily obtained.
Fig. 4 is a flowchart illustrating details of step 330 according to the corresponding embodiment of fig. 3. The virtual effect data is virtual scene data, and the step 330, as shown in fig. 4, may include the following steps.
In step 331, an augmented reality virtual scene is displayed through the virtual scene data in the page loaded by the smart terminal.
After the identification of the marked image is completed through step 310 in the embodiment corresponding to fig. 3 to obtain the mark, the intelligent terminal may request the server for the corresponding virtual scene data through the mark.
And virtual scene data is stored in the server, namely the virtual scene data is stored in the server by marking as an index. The server provides the virtual scene data requested by the intelligent terminal for the massive intelligent terminals.
The virtual scene data is used as one of the virtual effect data and is used for realizing the virtual scene display of the augmented reality of the intelligent terminal. In the exchange of the virtual resources realized by the intelligent terminal, under the coordination of the marked image and the virtual scene data, the virtual resource acquisition participated by the user can be integrated into the realization of augmented reality, so that the viscosity of the user is increased, namely, under the realization of the augmented reality, the virtual scene display integrated with the reality is carried out on the intelligent terminal, the attraction of the virtual resource acquisition to the user can be effectively improved, and the propagation effect of the virtual resources is improved on the basis of increasing the viewpoint.
In contrast, in a specific implementation of an exemplary embodiment, the marker image is obtained by an AR marker, which is an AR-woken marker. AR markers often have images, articles, two-dimensional codes and the like which are easy to identify. The intelligent terminal photographs or scans the AR marker to obtain a marked image, and then identifies the marked image to obtain a mark corresponding to the marked image.
According to the foregoing description, the page loaded by the intelligent terminal may be a page specifically set in an application program, or a page currently displayed by the intelligent terminal. Correspondingly, after the virtual scene data corresponding to the mark is requested to be obtained through the steps, page loading can be triggered, or the virtual scene data can be directly loaded in the original page, so that the virtual scene data can be displayed through embedding the page.
The page displayed in the augmented reality virtual scene by the virtual scene data may be a mobile terminal page realized by a browser, or may be a page in a specific application, and is not limited herein. The augmented reality virtual scene is directly embedded into a mobile terminal page or a page in a specific application program through the virtual scene data, so that the augmented reality virtual scene display in a browser or the specific application program is realized.
In an exemplary embodiment, the specific process of step 331 is: and triggering and loading virtual scene data according to the identified mark, and embedding an augmented reality virtual scene in a page loaded by the intelligent terminal according to the loaded virtual scene data.
The virtual scene displayed by the virtual scene data is directly embedded into the page loaded by the intelligent terminal, so that the augmented reality virtual scene display in the intelligent terminal is realized.
Fig. 5 is a flow chart illustrating details of step 333 in another exemplary embodiment according to the corresponding embodiment of fig. 4. This step 333, as shown in FIG. 5, may include the following steps.
At step 3311, a virtual scene load interface is invoked based on the identified marker trigger.
The virtual scene loading interface is developed to configure the virtual scene loading interface for realizing virtual resource exchange in the intelligent terminal. And the virtual scene loading interface encapsulates various interface functions for realizing the augmented reality technology, and is used for loading virtual scene data and realizing the augmented reality display effect on the intelligent terminal through the loaded virtual scene data.
In step 3313, the virtual scene data is page loaded by calling the virtual scene loading interface to obtain a virtual scene display page, and the augmented reality virtual scene display is performed in the virtual scene display page.
Under the action of the called virtual scene loading interface, loading a page through loading of virtual scene data in the intelligent terminal to obtain a virtual scene display page, and further realizing augmented reality virtual scene display in the virtual scene display page.
Therefore, for the intelligent terminal, the virtual resource obtaining performed by the intelligent terminal can be integrated into the augmented reality virtual scene display only by configuring the virtual scene loading interface on the application program for realizing the virtual resource exchange, the intelligent terminal is easy to realize, can be compatible with the existing application program for realizing the virtual resource exchange, and has strong general performance.
In step 333, after the virtual scene presentation is finished, an operation page for retrieving the virtual resource is displayed.
And when the virtual scene display result is displayed through the virtual scene data, jumping to an operation page for getting the virtual resource. On one hand, the operation page for retrieving the virtual resource may be a retrieval page using the original virtual resource, or may be a page in other forms, which is not limited herein.
Through the process, a specific implementation of integrating an augmented reality technology is provided for the acquisition of the virtual resources in the intelligent terminal, and then richer virtual resource interaction is realized, the interaction form is not limited to the traditional rigid and uniform interaction form any more, and a larger expression space is provided for the virtual resource interaction in the intelligent terminal.
Fig. 6 is a flowchart illustrating details of step 370 according to the corresponding embodiment of fig. 3. This step 370, as shown in FIG. 6, may include the following steps.
In step 371, a virtual resource pickup process is triggered by a trigger operation on the operation page, and a virtual resource allocation request carrying a user identifier corresponding to the intelligent terminal and the trigger operation is initiated to the server by executing the pickup process, so that the server allocates virtual resources to the user identifier in the virtual resource allocation request.
In step 373, the virtual resource getting result fed back by the server after the virtual resource allocation is received.
With the embodiment corresponding to fig. 3, after a virtual effect is displayed, for example, a virtual scene based on augmented reality is displayed, a jump is made to an operation page.
And triggering the virtual resource obtaining process in the intelligent terminal when detecting a triggering operation acting on the operation page, for example, a clicking operation on the operation page or a specific area of the operation page.
It will be appreciated that a virtual resource substantially corresponds to data stored on a server, and that this data corresponds to a user identifier indicating ownership of the virtual resource. In short, the virtual resource is obtained corresponding to the transformation of the user account where the virtual resource is located, so that the user identifier corresponding to the virtual resource is transformed.
The virtual resource obtaining process comprises a series of operations required to be executed for transforming the virtual resource from one user account to another user account. For example, for the virtual red envelope, the virtual resource pickup process includes an operation of calling a payment interface and enabling the amount of money specified in the virtual red envelope to be transferred to the user account in the intelligent terminal through the payment interface.
Specifically, fig. 7 is a flowchart illustrating a virtual red envelope pickup flow and feeding back an account entry message notification of the virtual red envelope when the pickup flow is completed according to an example embodiment.
In the intelligent terminal, a user triggers virtual red envelope getting at a certain behavior of an H5 page, as described above, the H5 page is an operation page implemented by a mobile terminal page and used for getting the virtual red envelope, at this time, step 410 is executed, the H5 page requests a server to obtain the red envelope, and the server is a service background of an application program issued by the red envelope in the intelligent terminal, that is, an APP service background.
As shown in step 420, the APP service background generates a user order, calls a payment interface of the enterprise user to initiate payment, and then executes step 430, and triggers the support system to generate a payment order, so that the enterprise user pays for a user corresponding to the intelligent terminal, thereby realizing getting of the virtual red envelope in the intelligent terminal, and further enabling the user to get the virtual red envelope shared by the enterprise user through the intelligent terminal.
For the server, i.e. the APP service background, corresponding results will be returned to it asynchronously. And for the intelligent terminal where the user is located, after the enterprise user successfully pays the user, the successful payment can be confirmed, and then the account entering information notice of the virtual red packet is returned to the intelligent terminal. And informing the account entering information of the virtual red packet, namely indicating the successful resource getting result of the virtual red packet.
In a specific implementation of an exemplary embodiment, it can be understood that an application program for implementing virtual resource exchange is installed in the intelligent terminal, and the APP service background is an application server that is matched with the application program, and the application server interacts with a server for implementing red package payment, so as to implement a virtual scene display and red package pickup process in the application program.
Through the exemplary embodiment, a specific implementation is provided for virtual resource exchange on the user side, further an application program is implemented in the intelligent terminal based on the exemplary embodiment, the virtual exchange on the user side is implemented in the application program, and the virtual resource is finally obtained under the cooperation of the server.
The following is the implementation of the server side in the embodiment of the present disclosure, which may be used to cooperate with the implementation of virtual resource exchange in the intelligent terminal, so as to complete the exchange of the whole virtual resource.
FIG. 8 is a flowchart illustrating an exemplary method for virtual resource allocation in accordance with an exemplary implementation. The virtual resource allocation method, as shown in fig. 8, may include the following steps.
In step 610, a request for acquiring virtual effect data corresponding to the mark, which is initiated by the intelligent terminal, is responded, and the virtual effect data is returned to the intelligent terminal, so that the intelligent terminal finally displays an operation page for retrieving the virtual resource through the virtual effect data.
After the identification of the marked image is triggered, any intelligent terminal inevitably requests the server for virtual effect data corresponding to the mark identified by the intelligent terminal, so that the server returns the virtual effect data to the intelligent terminal, and the operation page is displayed on the intelligent terminal through the return of the virtual effect data.
Specifically, virtual effect data are returned to the intelligent terminal through the server, so that the intelligent terminal performs virtual effect display through the virtual effect data, and the intelligent terminal jumps to enter an operation page when the virtual effect display is finished. Thereafter, detection of a trigger operation is performed on the operation page to request the virtual resource from the server through the operation page.
In step 630, a virtual resource allocation request initiated by the intelligent terminal through a trigger operation acting on the operation page is received.
The virtual resource allocation request is a request initiated to the server by a user through a trigger operation acting on an operation page in the intelligent terminal. The virtual resource allocation request is used for indicating the server to allocate virtual resources for the user of the intelligent terminal.
In step 650, in response to the virtual resource allocation request, the operation of performing virtual resource allocation for the intelligent terminal is executed, and a corresponding resource pickup result is generated.
After receiving the virtual resource allocation request, the server allocates the virtual resource to the intelligent terminal. The virtual resource allocation means that a certain virtual resource is changed from an owner to a user owner corresponding to the intelligent terminal, and in the process, the specific amount of the virtual resource to be allocated may be pre-specified or randomly generated, and is not limited herein.
The operation of virtual resource allocation, that is, the process of executing the virtual resource obtaining flow for the server, can be referred to fig. 7.
In step 670, the resource procurement result is returned to the intelligent terminal.
The resource pickup result is used for feeding back an execution result of virtual resource exchange to the user of the intelligent terminal, namely, a result for indicating success or failure of virtual resource pickup.
Through the process, the server is matched with the intelligent terminal to perform virtual resource exchange, so that the server is matched with the intelligent terminal, namely the virtual resource obtaining process under the action of the virtual effect data is completed.
Fig. 9 is a flowchart illustrating details of step 610 according to the corresponding embodiment of fig. 7. This step 610, as shown in FIG. 9, may include the following steps.
In step 611, a request for acquiring the virtual effect data corresponding to the marker initiated by the intelligent terminal is responded, the virtual effect acquisition request sent by the intelligent terminal is received, and the marker image is used for prompting the intelligent terminal to retrieve the virtual resource.
The server acquires the virtual effect acquisition request through the identification of the marked image triggered by the intelligent terminal. And the virtual effect acquisition request carries a mark obtained by identifying the mark image by the intelligent terminal.
Therefore, the virtual effect obtaining request is used for indicating the server to provide the virtual effect data corresponding to the mark for the intelligent terminal, so that the intelligent terminal can perform virtual effect display in virtual resource exchange performed by the intelligent terminal under the cooperation of the server.
Specifically, the marker image recognition is the recognition of the AR marker, and the server also configures corresponding virtual scene data for each AR marker. The intelligent terminal sends a virtual effect obtaining request to the server, namely the virtual scene obtaining request for obtaining the augmented reality, so as to request the server to integrate the virtual display effect of the augmented reality in the self virtual resource exchange.
In step 613, corresponding virtual effect data is obtained according to the mark carried in the virtual effect obtaining request.
After receiving the virtual effect obtaining request, the server extracts the carried mark from the virtual effect obtaining request, and then searches the corresponding virtual effect data according to the extracted mark.
It can be understood that, in the server, the storage of the corresponding virtual effect data may be performed by using the mark as an index according to the virtual effect that the mark needs to be configured, so that the intelligent terminal can request the server to obtain the corresponding virtual effect data based on the mark identified by the intelligent terminal.
In step 615, the virtual effect data is returned to the intelligent terminal, so that the intelligent terminal displays the virtual effect data and finally displays an operation page for retrieving the virtual resource.
Through the process, the server integrates virtual effect display for the acquisition of the virtual resources in the intelligent terminal through the interaction with the intelligent terminal, and further stimulates the operation of the virtual resource interaction.
Fig. 10 is a flowchart illustrating details of step 650 according to a corresponding embodiment of fig. 7. This step 650, as shown in FIG. 10, may include the following steps.
In step 651, the user identifier corresponding to the intelligent terminal and the trigger operation detected by the intelligent terminal to act on the operation page are extracted from the virtual resource allocation request.
The virtual resource allocation request is initiated to the server through an intelligent terminal initiating a virtual resource picking process through an operation page, on one hand, the virtual resource allocation request carries a user identifier corresponding to the intelligent terminal so as to indicate a user requesting to acquire virtual resources in the execution of virtual resource allocation; on the other hand, the virtual resource allocation request carries a trigger operation acting on the operation page, so as to instruct the server to initiate a virtual resource pickup process through the trigger operation, and further, the allocation of the virtual resources in the server can be controlled according to the trigger operation. For example, the type and amount of virtual resource allocation are affected according to the type and time of the trigger operation, and are not limited herein.
In step 653, a preset interface is called according to the trigger operation acting on the operation page to allocate virtual resources to the user identifier corresponding to the intelligent terminal, and a resource pickup result that the virtual resources are successfully picked up is generated.
The preset interface is used for realizing the whole virtual resource obtaining process for the server. For example, for a virtual red packet, the preset interface referred to is the payment interface. The preset interfaces encapsulate all interface functions and methods for implementing the virtual resource pickup process, so that the configured preset interfaces are different according to different virtual resources.
After receiving the virtual resource allocation request, the server calls a preset interface for the user indicated in the virtual resource allocation request to perform virtual resource allocation conforming to the triggering operation, and correspondingly generates a resource pickup result.
Through the process, the server provides specific implementation for the execution of the virtual resource picking process, and in the process, the implementation of the server can be realized by means of the existing server for realizing virtual resource allocation, so that the implementation difficulty and cost are reduced.
In another exemplary embodiment, a virtual resource allocation method is shown, wherein before step 610, the method further comprises the following steps.
And establishing a corresponding relation between the mark and the virtual effect data, and storing the corresponding relation.
The server for realizing virtual resource allocation for the intelligent terminal is pre-established and stores the corresponding relation between the mark and the virtual effect data, so that the intelligent terminal can obtain the corresponding virtual effect data based on the corresponding relation.
Specifically, on the server side, fig. 11 is a flowchart illustrating a correspondence between a pair setup mark and virtual effect data, and storing the correspondence, according to an exemplary embodiment. As shown in fig. 11, this step 6 may include the following steps.
In step 710, a configuration page for resource procurement is provided.
The configuration page for resource extraction is used for configuring virtual effect data for the mark carried by the mark image. And exchanging the implementation configuration mark of the intelligent terminal and the virtual effect data corresponding to the mark for the virtual resource through the configuration page of the resource extraction.
For example, for virtual resource exchange in an intelligent terminal, it may be initiated at an activity site, and therefore, for an operator of the activity, the configuration page for resource extraction provided by the server is used to implement tagging and tag corresponding virtual effect data configuration, so as to enable the virtual resource exchange initiated at the activity site to be merged into a virtual effect display desired by the operator.
In step 730, a virtual effect configuration instruction triggered for the mark in the configuration page is obtained, the mark and the virtual effect data corresponding to the mark are obtained according to the virtual effect configuration instruction, and a corresponding relationship between the mark and the virtual effect data is established and stored.
The virtual effect configuration instruction triggered by the mark in the configuration page is used for configuring the virtual effect data corresponding to the mark. Therefore, the mark, the virtual effect data corresponding to the mark and the corresponding relationship established between the mark and the virtual effect data can be obtained according to the virtual effect configuration instruction and further stored in the server.
Therefore, through the process, a foundation is laid for the follow-up server to realize virtual resource exchange for the intelligent terminal, and further the realization of the virtual resource exchange in the intelligent terminal can be ensured to be integrated into virtual effect display, namely virtual scene display of the augmented reality technology, for example, animation which is consistent with a real-time scene or has exchange is realized.
The configuration page for resource extraction realized by the server for the operator provides convenience for various activities related to the virtual resource exchange station, for example, virtual resource exchange initiated by the intelligent terminal in any offline activity can be integrated into virtual effect display, so that experience novelty and richness of the virtual effect display are improved.
Through the exemplary embodiments of the user side and the server side, virtual resource exchange can be realized in various activity scenes, especially in enterprise application scenes, for example, virtual resource sharing realized by an enterprise user in an activity scene is more attractive, a user can be stimulated to initiate virtual resource exchange at an intelligent terminal, and the technical difficulty is guaranteed to be in a controllable state.
For virtual red envelope sharing of enterprise users, even a very powerful enterprise cannot issue a large number of large-volume red envelopes in the presence of massive users, under the condition, augmented reality virtual scene display is integrated in virtual red envelope getting, so that the virtual red envelope getting process of the intelligent terminal can be matched with or exchanged with a real-time scene, a large number of high-quality users can be attracted certainly, and the virtual red envelope propagation effect is guaranteed powerfully on the basis of low cost.
Taking a smart phone as an example, the virtual resource getting process realized by the cooperation of the smart terminal and the server is described by combining an activity scene. For example, the virtual resource is a virtual red packet, and the marked image is an AR marker.
FIG. 12 is a simplified schematic illustration of an application of virtual red envelope extraction, shown in accordance with an exemplary embodiment. In the virtual red envelope getting process, for a user in an active scene, the user obtains an AR marker, and at this time, step 810 is executed to trigger the identification of the AR marker, so as to play a corresponding AR effect.
When the AR effect is over, step 830 is then executed to trigger the getting of the red envelope page. It should be noted here that the red envelope page is taken, as shown in fig. 13, that is, the operation page referred to above. Triggering the getting red envelope page, i.e. the process of detecting the trigger on this operation page, i.e. the operation of clicking the "open red envelope" button 910 in this exemplary embodiment.
Triggering of the pickup of the red envelope page causes the server to execute a red envelope pickup procedure, specifically involving step 850, invoking a payment interface to cause the red envelope to be credited.
Therefore, the virtual red envelope shared by the user is obtained by blending the AR effect, and as shown in FIG. 14, the final red envelope obtaining result is displayed in the intelligent terminal of the user.
The following is an embodiment of the apparatus of the present disclosure, which may be used to execute an embodiment of a virtual resource exchange method executed by the foregoing intelligent terminal of the present disclosure. For details not disclosed in the embodiments of the disclosed apparatus, please refer to the embodiments of the virtual resource exchange method of the intelligent terminal disclosed herein.
Fig. 15 is a block diagram illustrating a virtual resource exchanging apparatus of a smart terminal according to an exemplary embodiment. The virtual resource switching device of the intelligent terminal, as shown in fig. 15, may include, but is not limited to: an identification module 1010, a virtual effect presentation module 1030, an operation detection module 1050, and a resource acquisition module 1070.
The identifying module 1010 is configured to identify a tag image for virtual resource acquisition, which is obtained by the intelligent terminal, to obtain a tag in the tag image.
An effect data obtaining module 1020, configured to obtain virtual effect data corresponding to the mark.
And the virtual effect display module 1030 is configured to display the virtual effect data and display an operation page for retrieving the virtual resource.
An operation detection module 1050 configured to detect a trigger operation applied to the operation page.
The resource obtaining module 1070 is configured to initiate a request for virtual resource allocation for the intelligent terminal to the server through a triggering operation.
Fig. 16 is a block diagram illustrating details of a virtual effect presentation module according to the corresponding embodiment of fig. 15. The virtual effect presentation module 1030, as shown in fig. 16, may include but is not limited to: a virtual scene presentation unit 1031, and an operation page display unit 1033.
And a virtual scene display unit 1031, configured to perform enhanced virtual scene display through virtual scene data in the page loaded by the intelligent terminal.
An operation page display unit 1033 configured to display an operation page for retrieving the virtual resource after the virtual scene display is finished.
In an exemplary embodiment, the virtual scene presenting unit 1033 is further configured to load virtual scene data according to the identified mark trigger, and embed an augmented reality virtual scene in a page loaded on the smart terminal according to the loaded virtual scene data.
Fig. 17 is a block diagram illustrating details of a virtual scene representation unit according to the corresponding embodiment of fig. 15. The virtual scene presenting unit 1033, as shown in fig. 16, may include, but is not limited to: an interface call subunit 10331 and a page load subunit 10333.
An interface call subunit 10331, configured to trigger a call to the virtual scene loading interface according to the identified flag.
The page loading subunit 10333 is configured to perform page loading on the virtual scene data through invocation of the virtual scene loading interface, to obtain a virtual scene display page, and perform augmented reality virtual scene display in the virtual scene display page.
Fig. 18 is a block diagram illustrating details of a resource acquisition module according to the corresponding embodiment of fig. 15. The resource obtaining module 1070, as shown in fig. 18, may include but is not limited to: a resource request unit 1071 and a result receiving unit 1073.
The resource request unit 1071 is configured to trigger a virtual resource pickup flow through a trigger operation on the operation page, and initiate a virtual resource allocation request carrying a user identifier corresponding to the intelligent terminal and the trigger operation to the server through execution of the pickup flow, so that the server allocates virtual resources to the user identifier in the virtual resource allocation request.
A result receiving unit 1073, configured to receive a virtual resource pickup result fed back after the server performs virtual resource allocation.
Fig. 19 is a block diagram illustrating a virtual resource allocation apparatus according to an example embodiment. The virtual resource allocation apparatus, as shown in fig. 19, may include, but is not limited to: a data return module 1110, a resource request receiving module 1130, a virtual resource allocation module 1150, and a result return module 1170.
The data returning module 1110 is configured to respond to a request initiated by the intelligent terminal to obtain virtual effect data corresponding to the tag, and return the virtual effect data to the intelligent terminal, so that the intelligent terminal finally displays an operation page for retrieving the virtual resource through the virtual effect data.
The resource request receiving module 1130 is configured to receive a virtual resource allocation request initiated by the intelligent terminal through a trigger operation acting on the operation page.
The virtual resource allocation module 1150 is configured to respond to the virtual resource allocation request, initiate an operation of allocating virtual resources to the intelligent terminal, and generate a corresponding resource pickup result.
And a result returning module 1170, configured to return the resource obtaining result to the intelligent terminal.
Fig. 20 is a block diagram illustrating details of a data return module according to the corresponding embodiment of fig. 19. The data return module 1110, as shown in FIG. 20, may include, but is not limited to: a virtual effect request receiving unit 1111, a data obtaining unit 1113, and a data returning unit 1115.
The virtual effect request receiving unit 1111 is configured to respond to a request initiated by the intelligent terminal to acquire virtual effect data corresponding to a tag, and receive a virtual effect acquisition request sent by the intelligent terminal, where the tag image is used to prompt the intelligent terminal to obtain a virtual resource.
A data obtaining unit 1113, configured to obtain corresponding virtual effect data according to the flag carried in the virtual effect obtaining request.
And a data returning unit 1115, configured to return the virtual effect data to the intelligent terminal, so that the intelligent terminal displays the virtual effect data and finally displays an operation page for retrieving the virtual resource.
Fig. 21 is a block diagram illustrating details of a virtual resource allocation module according to the corresponding embodiment of fig. 19. The virtual resource allocation module 1150, as shown in fig. 21, may include but is not limited to: an extraction unit 1151 and a resource allocation execution unit 1153.
An extracting unit 1151, configured to extract, from the virtual resource allocation request, a user identifier corresponding to the intelligent terminal and a trigger operation that is detected by the intelligent terminal to act on the operation page.
And the resource allocation executing unit 1153 is configured to invoke a preset interface to allocate virtual resources to the user identifier corresponding to the intelligent terminal according to the trigger operation acting on the operation page, and generate a resource pickup result that the virtual resources are successfully picked up.
In another exemplary embodiment, the virtual resource allocation apparatus may further include, but is not limited to: and a corresponding relation establishing module.
The corresponding relation establishing module is used for establishing the corresponding relation between the mark and the virtual effect data and storing the corresponding relation.
Optionally, the present disclosure further provides an intelligent terminal, where the television terminal may be used in the implementation environment shown in fig. 1 to execute all or part of the steps of the virtual resource exchange method of the intelligent terminal shown in any one of fig. 3, fig. 4, fig. 5, and fig. 6. The device comprises:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform:
identifying a marked image for virtual resource acquisition acquired by an intelligent terminal to obtain a mark in the marked image;
acquiring virtual effect data corresponding to the mark;
the intelligent terminal displays the virtual effect data and displays an operation page for getting the virtual resources;
detecting a trigger operation acting on the operation page;
and initiating a request for carrying out virtual resource allocation on the intelligent terminal to the server through the triggering operation.
The specific manner in which the processor of the apparatus in this embodiment performs the operations has been described in detail in the embodiment of the virtual resource exchange method related to the intelligent terminal, and will not be elaborated herein.
Optionally, the present disclosure further provides a server, which may be used in the implementation environment shown in fig. 1 to execute all or part of the steps of the virtual resource allocation method shown in any one of fig. 8, fig. 9, fig. 10, and fig. 11. The device comprises:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform:
responding to a request for acquiring virtual effect data corresponding to a mark, which is initiated by an intelligent terminal, and returning the virtual effect data to the intelligent terminal, so that the intelligent terminal finally displays an operation page for getting the virtual resource through the virtual effect data;
receiving a virtual resource allocation request initiated by the intelligent terminal through a trigger operation acting on the operation page;
responding to the virtual resource allocation request, executing the operation of virtual resource allocation for the intelligent terminal, and generating a corresponding resource picking result;
and returning the resource obtaining result to the intelligent terminal.
In an exemplary embodiment, a storage medium is also provided that is a computer-readable storage medium, such as may be transitory and non-transitory computer-readable storage media, including instructions. The storage medium refers, for example, to the memory 204 including instructions executable by the processor 218 of the apparatus 200 to perform the methods described above.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
Claims (12)
1. A virtual resource exchange method of an intelligent terminal is characterized by comprising the following steps:
identifying a mark image for virtual resource getting acquired by an intelligent terminal to obtain a mark in the mark image, wherein the mark image uniquely identifies virtual effect data for realizing virtual scene display in the virtual resource getting;
acquiring virtual effect data corresponding to the mark, wherein the virtual effect data is virtual scene data;
triggering and calling a virtual scene loading interface according to the identified mark;
the virtual scene data is subjected to page loading through the calling of the virtual scene loading interface to obtain a virtual scene display page, and augmented reality virtual scene display is carried out in the virtual scene display page;
after the virtual scene display is finished, displaying an operation page for picking up the virtual resources;
detecting a trigger operation acting on the operation page;
and initiating a request for carrying out virtual resource allocation on the intelligent terminal to a server through the triggering operation.
2. The method of claim 1, further comprising:
and triggering and loading the virtual scene data according to the identified mark, and embedding the augmented reality virtual scene in a page loaded by the intelligent terminal according to the loaded virtual scene data.
3. The method according to claim 1, wherein the initiating a request for virtual resource allocation for the intelligent terminal to the server through the triggering operation includes:
triggering a virtual resource getting flow through triggering operation on the operation page, and initiating a virtual resource allocation request carrying a user identifier corresponding to the intelligent terminal and the triggering operation to the server through the execution of the getting flow, so that the server allocates virtual resources for the user identifier in the virtual resource allocation request;
and receiving a virtual resource getting result fed back by the server after the virtual resource allocation.
4. A method for virtual resource allocation, the method comprising:
responding to a request for acquiring virtual effect data corresponding to a mark, which is initiated by an intelligent terminal, and returning the virtual effect data to the intelligent terminal, so that the intelligent terminal finally displays an operation page for getting the virtual resource through the virtual effect data, wherein the virtual effect data is used for realizing virtual scene display in the getting of the virtual resource; receiving a virtual resource allocation request initiated by the intelligent terminal through a trigger operation acting on the operation page;
extracting a user identifier corresponding to the intelligent terminal and a trigger operation which is detected by the intelligent terminal and acts on the operation page from the virtual resource allocation request;
calling a preset interface to allocate virtual resources for the user identification corresponding to the intelligent terminal according to the triggering operation acted on the operation page, and generating a resource getting result of successful virtual resource getting;
and returning the resource obtaining result to the intelligent terminal.
5. The method according to claim 4, wherein the returning the virtual effect data to the intelligent terminal in response to a request initiated by the intelligent terminal to obtain the virtual effect data corresponding to the mark, so that the intelligent terminal finally displays an operation page for retrieving the virtual resource through the virtual effect data, comprises:
responding to a request for acquiring virtual effect data corresponding to a mark initiated by an intelligent terminal, receiving the virtual effect acquisition request sent by the intelligent terminal, wherein the mark image is used for prompting the intelligent terminal to obtain virtual resources;
acquiring corresponding virtual effect data according to the mark carried in the virtual effect acquisition request;
and returning the virtual effect data to the intelligent terminal, so that the intelligent terminal displays the virtual effect data and finally displays an operation page for getting the virtual resource.
6. The method according to claim 4, wherein before the request for obtaining the virtual effect data corresponding to the mark initiated by the intelligent terminal is responded, and the virtual effect data is returned to the intelligent terminal, the method further comprises:
and establishing a corresponding relation between the mark and the virtual effect data, and storing the corresponding relation.
7. An apparatus for exchanging virtual resources of a smart terminal, the apparatus comprising:
the identification module is used for identifying a mark image for virtual resource getting acquired by an intelligent terminal to obtain a mark in the mark image, and the mark image uniquely identifies virtual effect data for realizing virtual scene display in the virtual resource getting;
the effect data acquisition module is used for acquiring virtual effect data corresponding to the mark;
the virtual effect display module is used for displaying the virtual effect data by the intelligent terminal and displaying an operation page for getting the virtual resource;
the virtual effect data is virtual scene data, and the virtual effect display module comprises:
the virtual scene display unit is used for performing virtual scene display which is enhanced through the virtual scene data in the page loaded by the intelligent terminal;
the operation page display unit is used for displaying an operation page for getting the virtual resources after the virtual scene display is finished;
the virtual scene display unit includes:
the interface calling subunit is used for triggering and calling a virtual scene loading interface according to the identified mark;
the page loading subunit is configured to perform page loading on the virtual scene data through invocation of the virtual scene loading interface to obtain a virtual scene display page, and perform augmented reality virtual scene display in the virtual scene display page;
the operation detection module is used for detecting the trigger operation acted on the operation page;
and the resource obtaining module is used for initiating a request for carrying out virtual resource allocation on the intelligent terminal to a server through the triggering operation.
8. The apparatus according to claim 7, wherein the virtual scene presenting unit is further configured to load the virtual scene data according to the identified tag trigger, and embed the augmented reality virtual scene in a page loaded on the smart terminal according to the loaded virtual scene data.
9. The apparatus of claim 7, wherein the resource obtaining module comprises:
the resource request unit is used for triggering a virtual resource getting flow through triggering operation on the operation page, and initiating a virtual resource allocation request carrying a user identifier corresponding to the intelligent terminal and triggering operation to the server through the execution of the getting flow, so that the server allocates virtual resources for the user identifier in the virtual resource allocation request;
and the result receiving unit is used for receiving the virtual resource obtaining result fed back by the server after the virtual resource allocation is carried out.
10. An apparatus for virtual resource allocation, the apparatus comprising:
the data return module is used for responding to a request for acquiring virtual effect data corresponding to a mark initiated by an intelligent terminal, returning the virtual effect data to the intelligent terminal, and finally displaying an operation page for picking up the virtual resource by the intelligent terminal through the virtual effect data, wherein the virtual effect data is used for realizing virtual scene display in the picking up of the virtual resource;
the resource request receiving module is used for receiving a virtual resource allocation request initiated by the intelligent terminal through a trigger operation acting on the operation page;
the virtual resource allocation module is used for responding to the virtual resource allocation request, executing the operation of virtual resource allocation for the intelligent terminal and generating a corresponding resource picking result;
the virtual resource allocation module comprises:
an extracting unit, configured to extract, from the virtual resource allocation request, a user identifier corresponding to the intelligent terminal and a trigger operation that is detected by the intelligent terminal to act on the operation page;
the resource allocation execution unit is used for calling a preset interface to allocate virtual resources for the user identification corresponding to the intelligent terminal according to the trigger operation acted on the operation page and generating a resource getting result of successful virtual resource getting;
and the result returning module is used for returning the resource obtaining result to the intelligent terminal.
11. The apparatus of claim 10, wherein the data return module comprises:
the virtual effect request receiving unit is used for responding to a request for acquiring virtual effect data corresponding to a mark initiated by an intelligent terminal, receiving the virtual effect acquisition request sent by the intelligent terminal, and prompting the intelligent terminal to receive virtual resources by using a mark image;
a data obtaining unit, configured to obtain corresponding virtual effect data according to the flag carried in the virtual effect obtaining request;
and the data returning unit is used for returning the virtual effect data to the intelligent terminal, so that the intelligent terminal can display the virtual effect data and finally display an operation page for getting the virtual resource.
12. The apparatus of claim 10, further comprising:
and the corresponding relation establishing module is used for establishing the corresponding relation between the mark and the virtual effect data and storing the corresponding relation.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611145324.XA CN108614733B (en) | 2016-12-13 | 2016-12-13 | Virtual resource exchange method and device of intelligent terminal, and virtual resource allocation method and device |
PCT/CN2017/115284 WO2018108035A1 (en) | 2016-12-13 | 2017-12-08 | Information processing and virtual resource exchange method, apparatus, and device |
TW106143776A TW201822017A (en) | 2016-12-13 | 2017-12-13 | Information processing method, system, and apparatus, server, and mobile terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611145324.XA CN108614733B (en) | 2016-12-13 | 2016-12-13 | Virtual resource exchange method and device of intelligent terminal, and virtual resource allocation method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108614733A CN108614733A (en) | 2018-10-02 |
CN108614733B true CN108614733B (en) | 2020-04-24 |
Family
ID=63643775
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611145324.XA Active CN108614733B (en) | 2016-12-13 | 2016-12-13 | Virtual resource exchange method and device of intelligent terminal, and virtual resource allocation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108614733B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111861432B (en) * | 2020-07-29 | 2024-04-19 | 北京达佳互联信息技术有限公司 | Virtual resource information updating method and device, server and storage medium |
CN111870951B (en) * | 2020-08-24 | 2023-10-10 | 中国工商银行股份有限公司 | Page display method and device and page determination method and device |
CN114245149B (en) * | 2020-09-09 | 2024-02-27 | 腾讯科技(深圳)有限公司 | Virtual resource allocation method, device and system, electronic equipment and storage medium |
CN112346594A (en) * | 2020-10-27 | 2021-02-09 | 支付宝(杭州)信息技术有限公司 | Interaction method and device based on augmented reality |
CN113469736A (en) * | 2021-06-17 | 2021-10-01 | 北京达佳互联信息技术有限公司 | Resource distribution control method, device, system, electronic device and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1420373A1 (en) * | 2002-11-18 | 2004-05-19 | France Telecom | Code control for virtual prepaid card |
KR20160043198A (en) * | 2014-10-10 | 2016-04-21 | 금오공과대학교 산학협력단 | AR marker having boundary code, and system, and method for providing augmented reality using the same |
CN105530175A (en) * | 2016-01-29 | 2016-04-27 | 腾讯科技(深圳)有限公司 | Message processing method, device and system |
CN106022818A (en) * | 2016-05-11 | 2016-10-12 | 王利东 | Built-in-two-dimensional-code-based sales promotion system and method |
CN106097023A (en) * | 2016-07-01 | 2016-11-09 | 腾讯科技(深圳)有限公司 | A kind of data processing method and device |
-
2016
- 2016-12-13 CN CN201611145324.XA patent/CN108614733B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1420373A1 (en) * | 2002-11-18 | 2004-05-19 | France Telecom | Code control for virtual prepaid card |
KR20160043198A (en) * | 2014-10-10 | 2016-04-21 | 금오공과대학교 산학협력단 | AR marker having boundary code, and system, and method for providing augmented reality using the same |
CN105530175A (en) * | 2016-01-29 | 2016-04-27 | 腾讯科技(深圳)有限公司 | Message processing method, device and system |
CN106022818A (en) * | 2016-05-11 | 2016-10-12 | 王利东 | Built-in-two-dimensional-code-based sales promotion system and method |
CN106097023A (en) * | 2016-07-01 | 2016-11-09 | 腾讯科技(深圳)有限公司 | A kind of data processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN108614733A (en) | 2018-10-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108614733B (en) | Virtual resource exchange method and device of intelligent terminal, and virtual resource allocation method and device | |
CN106920079B (en) | Virtual object distribution method and device based on augmented reality | |
CN111654473B (en) | Virtual object distribution method and device based on augmented reality | |
TW201822017A (en) | Information processing method, system, and apparatus, server, and mobile terminal device | |
CN108064373B (en) | Resource transfer method and device | |
CN106157006A (en) | Based on the most live virtual present presentation method and device | |
CN110490808B (en) | Picture splicing method, device, terminal and storage medium | |
CN104901994B (en) | Attribute value transfer method, the apparatus and system of user in network system | |
US10972879B2 (en) | Communication terminal, communication method, computer readable recording medium having communication program recorded, and network system | |
US20210133524A1 (en) | Method and device for configuring nfc smart card | |
CN106886416B (en) | Multi-user spatial processing method and device | |
CN112738544A (en) | Live broadcast room interaction method and device, electronic equipment and storage medium | |
CN112533015B (en) | Live interaction method, device, equipment and storage medium | |
CN114627593A (en) | Information interaction method, terminal, server, system and device | |
CN112270561A (en) | Electronic resource distribution method and device, electronic equipment and storage medium | |
CN112633945A (en) | Landing page delivery method, delivery data processing method, device, equipment and medium | |
CN106331076A (en) | Advertisement push method and apparatus | |
KR20180006995A (en) | Reservation system for both agrichltural machine and driver | |
CN105898728A (en) | Mobile phone account member rights and interests binding method, mobile phone device, server and system | |
CN104835035A (en) | Numerical value transferring method, device, and system | |
CN111726558B (en) | On-site survey information acquisition method and device, computer equipment and storage medium | |
CN113034141A (en) | Mobile payment method, device, wearable equipment and storage medium | |
CN110837817A (en) | Target object identification method, device, equipment and storage medium | |
US20140063240A1 (en) | Systems, apparatuses, and methods for branding and/or advertising through immediate user interaction, social networking, and image sharing | |
US12118677B2 (en) | Spatially aware environment interaction |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |