+

CN113010308B - Resource transfer method, device, electronic equipment and computer readable storage medium - Google Patents

Resource transfer method, device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN113010308B
CN113010308B CN202110220339.2A CN202110220339A CN113010308B CN 113010308 B CN113010308 B CN 113010308B CN 202110220339 A CN202110220339 A CN 202110220339A CN 113010308 B CN113010308 B CN 113010308B
Authority
CN
China
Prior art keywords
cover
client
target
condition
virtual resource
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
Application number
CN202110220339.2A
Other languages
Chinese (zh)
Other versions
CN113010308A (en
Inventor
臧澈
葛骏
李惠玲
吴珍妮
苏丹
黄祖迪
江小龙
黎翠莹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202110220339.2A priority Critical patent/CN113010308B/en
Publication of CN113010308A publication Critical patent/CN113010308A/en
Application granted granted Critical
Publication of CN113010308B publication Critical patent/CN113010308B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5077Logical partitioning of resources; Management or configuration of virtualized resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a resource transfer method, a resource transfer device, electronic equipment and a computer readable storage medium, and belongs to the technical field of computers. The method comprises the following steps: the method comprises the steps that a first client displays a type selection control for selecting the type of a virtual resource package on a session page, after the type selection control corresponding to the virtual resource package of a first type with a transferable cover is selected, a detail page comprising the cover selection control is displayed, and a target cover and transfer conditions of the target cover are obtained through the cover selection control. And displaying the first type of virtual resource package on the session page by the target cover, and transferring the target cover to an account corresponding to the second client under the condition that the second client meets the transfer condition of the target cover. According to the method and the device, the cover of the virtual resource package is transferred, so that the session is more interesting, a new resource transfer mode and a session interaction mode are expanded, the enthusiasm of transferring resources of a user is improved, the viscosity of the user is improved, and the interaction rate is improved.

Description

Resource transfer method, device, electronic equipment and computer readable storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a resource transfer method, a device, an electronic apparatus, and a computer readable storage medium.
Background
With the continued development of computer technology, resource transfer between different users is possible. Receiving and transmitting virtual resource packages is widely used as a form of resource transfer. When sending the virtual resource package, a cover is often added to the virtual resource package to provide a good visual effect.
Disclosure of Invention
The embodiment of the application provides a resource transfer method, a device, electronic equipment and a computer readable storage medium, which are used for solving the problems of low user viscosity caused by single resource transfer comparison and low interestingness in the related technology. The technical scheme is as follows:
in one aspect, a method for transferring resources is provided, the method comprising:
the method comprises the steps that a first client displays at least one type selection control on a session page interacted with a second client, wherein the at least one type selection control is used for selecting the type of a virtual resource package, and the selectable type of the virtual resource package comprises a first type with a transferable cover;
responding to the selection of a type selection control corresponding to the virtual resource package of the first type, displaying a detail page of the virtual resource package of the first type, and displaying a cover selection control on the detail page;
Acquiring a target cover of the first type virtual resource package and a transfer condition of the target cover through the cover selection control;
and displaying the virtual resource package of the first type on the session page by the target cover, and transferring the target cover to an account corresponding to the second client under the condition that the second client meets the transfer condition of the target cover.
In one aspect, a method for transferring resources is provided, the method comprising:
displaying the virtual resource package on the session page with the target cover;
responding to the triggering operation of the virtual resource package to acquire virtual resources;
and in response to detecting that the transfer condition corresponding to the target cover is met, acquiring target cover resources corresponding to the target cover.
In one aspect, there is provided a resource transfer apparatus, the apparatus comprising:
the display module is used for displaying at least one type selection control on a session page interacted with the second client side by the first client side, wherein the at least one type selection control is used for selecting the type of the virtual resource package, and the selectable type of the virtual resource package comprises a first type with a transferable cover;
The display module is further configured to display a detail page of the virtual resource package of the first type in response to a type selection control corresponding to the virtual resource package of the first type being selected, and display a cover selection control on the detail page;
the acquisition module is used for acquiring a target cover of the first type virtual resource package and a transfer condition of the target cover through the cover selection control;
the display module is further used for displaying the virtual resource package of the first type on the session page with the target cover;
and the transfer module is used for transferring the target cover to an account corresponding to the second client under the condition that the second client meets the transfer condition of the target cover.
In an exemplary embodiment, the display module is further configured to display a condition option on the detail page, where the condition option includes an option corresponding to at least one of a first condition, a second condition, a third condition, and a fourth condition, where the first condition is that the first type of virtual resource package is taken, the second condition is that the first type of virtual resource package is taken first or last, the third condition is that the first type of virtual resource package is taken, and where the first type of virtual resource package has a retrievable resource, the number of resources taken is the largest or smallest, and the fourth condition is that the first type of virtual resource package is taken and selected randomly; and responding to the selection of any condition option, and taking the condition corresponding to the selected condition option as the transfer condition of the target cover.
In an exemplary embodiment, the first client and the second client are located in the same group, the number of target covers of the virtual resource packages of the first type is a first number, the number of target covers included in an account corresponding to the first client is a second number, the display module is further configured to display an acquisition page of the target cover in response to the second number being smaller than the first number, acquire the target cover based on the acquisition page of the target cover, and transfer the acquired target cover to the account corresponding to the first client, where the second number and the first number are integers greater than one; alternatively, the first number is changed to the second number in response to the second number being less than the first number.
In an exemplary embodiment, the first number is determined based on the number of virtual resource packages of the first type and a transfer condition of the target cover.
In an exemplary embodiment, the transferring module is further configured to deduct the number of the target covers included in the account corresponding to the first client from the number of transfers of the target covers.
In an exemplary embodiment, the detail page further includes a first alternative cover, where the first alternative cover includes a cover included in an account corresponding to the first client, any one of the first alternative covers corresponds to one cover selection control, and the obtaining module is configured to use, as the target cover, the first alternative cover corresponding to the selected cover selection control.
In an exemplary embodiment, any one of the first alternative covers corresponds to one of the cover collection controls, and the display module is further configured to, in response to detecting that any one of the cover collection controls is selected, highlight the first alternative cover corresponding to the selected cover collection control to indicate that the first alternative cover corresponding to the selected cover collection control has been collected.
In an exemplary embodiment, the detail page further includes a partial display control, and the display module is further configured to hide the first alternative cover that is not stowed in response to detecting that the partial display control is selected.
In an exemplary embodiment, any first alternative cover corresponds to one cover transfer control, and the display module is further configured to display a client selection page in response to detecting that any cover transfer control is selected, where the client selection page includes an alternative client; in response to detecting that any one of the alternative clients is selected, displaying a target alternative cover in a session page in which the first client interacts with the target client;
The transfer module is further configured to transfer the target alternative cover to an account corresponding to the target client after the target client retrieves the target alternative cover, where the target client includes the selected alternative client, and the target alternative cover includes a first alternative cover corresponding to the selected cover transfer control.
In an exemplary embodiment, the obtaining module is configured to display a first cover selection page in response to detecting that the cover selection control is selected, the first cover selection page including a plurality of second alternative covers; transferring the selected second alternative covers of the plurality of second alternative covers to accounts corresponding to the first client, and determining the target cover from the selected second alternative covers.
In an exemplary embodiment, the plurality of second alternative covers is determined based on at least one of feature information including information of an account corresponding to the first client and time information.
In an exemplary embodiment, the obtaining module is configured to display a second cover selection page in response to detecting that the cover selection control is selected, the second cover selection page including a character input box; and obtaining target characters through the character input box, generating a reference cover based on the target characters, transferring the reference cover to an account corresponding to the first client, and determining the target cover from the reference cover.
In one aspect, there is provided a resource transfer apparatus, the apparatus comprising:
the display module is used for displaying the virtual resource package on the conversation page by using the target cover;
the acquisition module is used for responding to the triggering operation of the virtual resource package and acquiring the virtual resource;
the acquisition module is further configured to acquire a target cover resource corresponding to the target cover in response to detecting that the transfer condition corresponding to the target cover is satisfied.
In an exemplary embodiment, the transfer condition includes a first condition, a second condition, a third condition, or a third condition, the first condition is that the virtual resource package is taken, the second condition is that the virtual resource package is taken first or last, the third condition is that the virtual resource package is taken, and in a case that the virtual resource package has a retrievable resource, the number of the taken resources is the largest or smallest, and the fourth condition is that the virtual resource package is taken and randomly selected; the obtaining module is used for obtaining the target cover resource in response to the transfer condition comprising the first condition and the virtual resource package is obtained; or, in response to the transfer condition including the second condition and leading or trailing to the virtual resource package, acquiring the target cover resource; or, in response to the transfer condition including the third condition, retrieving the virtual resource package, and in the case that the virtual resource package has retrievable resources, acquiring the target cover resource if the number of the retrieved resources is the largest or smallest; or, in response to the transfer condition including the fourth condition, the virtual resource package is retrieved and randomly selected, the target cover resource is obtained.
In an exemplary embodiment, the target cover resource corresponds to a cover transfer control, and the display module is further configured to display a client selection page in response to detecting that the cover transfer control is selected, the client selection page including an alternative client; and in response to detecting that any alternative client is selected, displaying the target cover resource with the target cover in a session page interacted with the selected alternative client, wherein the target cover resource displayed with the target cover is used for the selected alternative client to acquire the target cover resource.
In an exemplary embodiment, the target cover resource corresponds to a cover collection control, and the display module is further configured to highlight the cover collection control in response to detecting that the cover collection control is selected to indicate that the target cover resource has been collected.
In an exemplary embodiment, the apparatus further comprises: and the downloading module is used for downloading the material files corresponding to the virtual resource package, and the material files are used for displaying the acquisition detail page of the virtual resource package.
In one aspect, an electronic device is provided that includes a memory and a processor; the memory has stored therein at least one instruction that is loaded and executed by the processor to implement the resource transfer method provided by any of the exemplary embodiments of the present application.
In one aspect, a resource transfer system is provided, the resource transfer system including a first client and a second client, the first client and the second client being located on the same electronic device or on different electronic devices; the first client is used for executing any resource transfer method executed by the first client, and the second client is used for executing any resource transfer method executed by the second client.
In one aspect, a computer-readable storage medium having at least one instruction stored therein is provided, the instructions being loaded and executed by a processor to implement a resource transfer method provided by any of the exemplary embodiments of the present application.
In another aspect, a computer program or computer program product is provided, the computer program or computer program product comprising: computer instructions, when executed by a computer, cause the computer to implement the resource transfer method provided by any of the exemplary embodiments of the present application.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
according to the technical scheme provided by the embodiment of the application, for the session interaction process, the transfer of the covers of the virtual resource packages can be performed among accounts corresponding to different clients of the session, and the transferred covers can be selected by a user according to personal preference. Compared with the mode of adopting the default cover in the virtual resource package, the mode of flexibly selecting the target cover provided by the embodiment of the application accords with the personalized requirements of users, and the cover can be transferred among different accounts, so that the session is more interesting, the new resource transfer mode and the session interaction mode are expanded, the enthusiasm of transferring resources of the users is improved, interaction and discussion among the users are caused, user viscosity is improved, and the interaction rate is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic illustration of an implementation environment provided by an embodiment of the present application;
FIG. 2 is a schematic flow chart of a resource transfer method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a session page provided in an embodiment of the present application;
FIG. 4 is a schematic diagram of a session page provided in an embodiment of the present application;
FIG. 5 is a schematic diagram of a detail page provided by an embodiment of the present application;
FIG. 6 is a schematic diagram of a detail page provided by an embodiment of the present application;
FIG. 7 is a schematic diagram of a first cover selection page provided in an embodiment of the present application;
FIG. 8 is a flow chart of a collection function provided by an embodiment of the present application;
fig. 9 is a schematic flow chart of a forwarding function provided in an embodiment of the present application;
FIG. 10 is a schematic diagram of a session page provided in an embodiment of the present application;
FIG. 11 is a flowchart of a resource transfer method provided in an embodiment of the present application;
FIG. 12 is a schematic diagram of a page being retrieved according to an embodiment of the present application;
FIG. 13 is a schematic diagram of a page being retrieved according to an embodiment of the present application;
FIG. 14 is a schematic diagram of a page being retrieved according to an embodiment of the present application;
FIG. 15 is a functional logic diagram of a transfer resource provided by an embodiment of the present application;
FIG. 16 is a functional logic diagram of a transfer resource provided by an embodiment of the present application;
FIG. 17 is a timing flow diagram for transferring resources provided by embodiments of the present application;
FIG. 18 is a timing flow diagram for transferring resources provided by embodiments of the present application;
fig. 19 is a schematic structural diagram of a resource transferring device according to an embodiment of the present application;
fig. 20 is a schematic structural diagram of a resource transferring device according to an embodiment of the present application;
fig. 21 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The embodiment of the application provides a method for transferring resources, which can be applied to an implementation environment as shown in fig. 1. In fig. 1, the system comprises a first client 11, a second client 12 and a server 13, wherein the first client 11 and the second client 12 are respectively in communication connection with the server 13, so that resource transfer is realized through interaction with the server 13. Illustratively, the first client 11 and the second client 12 are located on the same electronic device, or the first client 11 and the second client 12 are respectively located on different electronic devices.
The electronic device may be any electronic product that can perform man-machine interaction with a user through one or more modes of a keyboard, a touch pad, a touch screen, a remote controller, a voice interaction or handwriting device, such as a PC (Personal Computer, a personal computer), a mobile phone, a smart phone, a PDA (Personal Digital Assistant, a personal digital assistant), a wearable device, a palm computer PPC (Pocket PC), a tablet computer, and the like.
The server 13 may be a server, a server cluster formed by a plurality of servers, or a cloud computing service center.
Those skilled in the art will appreciate that the above-described electronic devices and servers 13 are merely examples, and that other existing or future-occurring electronic devices or servers, as applicable, are also within the scope of the present application and are hereby incorporated by reference herein.
Based on the implementation environment shown in fig. 1 and referring to fig. 2, an embodiment of the present application provides a method for transferring resources, which can be applied to the first client shown in fig. 1. As shown in fig. 2, the method includes the following steps.
The first client displays at least one type selection control on a session page that interacts with the second client, the at least one type selection control for selecting a type of virtual resource package, the selectable type of virtual resource package comprising a first type with a cover transferable 201.
For a session, the session is a one-to-one session in response to the session being used by the first client to interact with a second client. In response to the session being used by the first client to interact with the plurality of second clients, the session is a one-to-many session, which may also be referred to as a group. Referring to fig. 3, fig. 3 illustrates a plurality of sessions, any one for a first client to interact with at least one second client. Among the plurality of sessions shown in fig. 3, in response to detecting that any one of the sessions is selected, a session page corresponding to the selected session is displayed. Illustratively, the session interface includes, but is not limited to, an AIO (Asynchronous Input/Output, asynchronous non-blocking) interface. At least one type selection control is displayed on the session page and used for selecting the type of the virtual resource package. For example, the type selection controls are in one-to-one correspondence with the types of the virtual resource packages, and in response to any type selection control being selected, the type of the virtual resource package corresponding to the type selection control is taken as the selected type. And, among the types of the optional virtual resource packages, at least a first type in which the cover is transferable is included.
Referring to fig. 4, fig. 4 shows an exemplary conversation page including a plurality of type selection controls therein, namely: the system comprises six types of selection controls, namely a inheritance red packet, a common red packet, a special red packet, a dragon receiving red packet, a password red packet and a voice red packet. The type corresponding to the inheritance red packet is a first type with a transferable cover. In an exemplary embodiment, after the session page is displayed, the trigger control shown in fig. 4 is displayed first, and after the trigger control is detected to be selected, the type selection control is further displayed, so as to ensure the brevity and the beauty of the session page.
202, in response to the selection of the type selection control corresponding to the virtual resource package of the first type, displaying a detail page of the virtual resource package of the first type, and displaying a cover selection control on the detail page.
After the type selection control is selected, a detail page of the virtual resource package of the first type is displayed, such as the detail page shown in FIG. 5. Illustratively, the detail page further includes controls corresponding to the types of other virtual resource packages except the first type, so that the user can switch from the current first type to the types of the other virtual resource packages. For example, the inheritance in fig. 5 is a control corresponding to the first type, and the generic, proprietary, and tipping is a control corresponding to the type of other virtual resource packages. Of course, FIG. 5 is presented as an example only and is not intended to limit the names of the individual controls and their location on the detail page.
The detail page includes a cover selection control, for example, "cover 1" shown in fig. 5 is an exemplary cover selection control, and "cover mall" is an exemplary cover selection control. Different cover selection controls correspond to different cover selection manners, as described in detail in 203.
In addition, the details page may also include a resource input control, such as "amount" shown in fig. 5, which is the resource input control. The resource input control is used for obtaining the number of resources input by the user, so that the first type of virtual resource package has the retrievable resources, and the number of the retrievable resources is equal to the number of the resources input by the user. Wherein, in response to a user selecting a resource input control, the resource input control enters a fuzzy (blur) state to facilitate the first client to detect whether the user's input is properly formatted. If the format is incorrect, the first client displays a prompt to prompt the user to modify the entered content. It can be understood that in this embodiment, other contents that need to be input by the user will be detected whether the format of the first client is correct, which will not be described in detail later.
And 203, acquiring the target cover of the virtual resource package of the first type and the transfer condition of the target cover through a cover selection control.
The transfer condition of the target cover is used for indicating what second client can obtain the target cover transferred by the first client. In the case where the first client interacts with a second client, the transfer condition of the target cover includes a first condition that includes retrieving a virtual resource package of a first type. Thus, as long as the second client has picked up the virtual resource package of the first type transferred by the first client, the transferred destination cover can be obtained. It should be noted that, in this case, the transfer condition of the target cover may be set as the first condition by default, that is: the details page may not provide a selection control for the transfer condition that the user does not need to manually select. For example, FIG. 5 shows a detail page in this case, where the selection control of the transition condition requiring manual clicking by the user is not included.
In the case where the first client interacts with the plurality of second clients, conditional options including an option corresponding to at least one of the first condition, the second condition, the third condition, and the fourth condition are illustratively displayed on the detail page. The first condition may be referred to above, and will not be described herein. The second condition is that the first or last position gets the virtual resource package of the first type. The third condition is that the virtual resource package of the first type is retrieved, and in the case that the virtual resource package of the first type has retrievable resources, the number of retrieved resources is the largest or smallest. And the fourth condition is that the virtual resource package of the first type is picked up and randomly selected, and in response to any condition option being selected, the condition corresponding to the selected condition option is taken as the transfer condition of the target cover.
Referring to fig. 6, fig. 6 illustrates an exemplary detail interface for the case where a first client interacts with a plurality of second clients. The condition options corresponding to the first condition are all members, that is, each second client side which receives the virtual resource package of the first type can obtain the target cover. The conditional options corresponding to the second condition are first or last. In the case that the first time is selected, the target cover can be obtained by the second client that first receives the virtual resource package of the first type. In the case that the last position is selected, the last second client that gets to the virtual resource package of the first type can obtain the target cover. In practical applications, the second client obtains the target cover by sending a request to the server, and the server may determine whether the second client is the first or last according to the order of the received requests.
The condition option corresponding to the third condition is the best or worst condition. In the case where the virtual resource package of the first type has retrievable resources, the number of resources retrieved by each second client that retrieves the virtual resource package may be the same or different. Therefore, in the case of the best selection, the second client with the highest amount of the retrieved resources can obtain the target cover. And under the condition that the worst is selected, the second client with the smallest amount of the acquired resources can acquire the target cover. In practical application, the server may store the number of resources acquired by each second client, so as to determine the second client with the largest or smallest number of acquired resources, and the determined second client may obtain the target cover.
In the fourth condition, the server randomly selects among the second clients that get the virtual resource packages of the first type, and the second client that is randomly selected by the server can obtain the target cover. For example, the server may make a random selection according to configured rules, and the configured rules are not specifiable by the user of the first client. In this embodiment, the rule of configuration is not limited, for example, the rule of configuration may be that the nth second client that obtains the virtual resource package obtains the target cover, and so on.
Illustratively, the above conditions are only examples, and the present embodiment may also provide other conditions and condition options corresponding to other conditions. For example, the present embodiment also provides a fifth condition that: among the second clients that get to the virtual resource package of the first type, a reference number of the second clients can obtain the target cover. Illustratively, among the respective second clients that get to the virtual resource package, the first reference number of second clients that get to the virtual resource package are caused to obtain the target cover. Taking the example that the reference number is five and ten second clients get the virtual resource package, the first five second clients get the virtual resource package to obtain the target cover. Alternatively, the reference number of second clients is a randomly determined second client.
Referring to fig. 6, the customization shown in fig. 6 is the condition option corresponding to the fifth condition. Illustratively, in response to detecting that the conditional option is selected, a cover number input control is further displayed to obtain the number input by the user through the cover number input control, i.e., the reference number. Thus, the transfer condition of the target cover can be determined based on the obtained reference number.
In addition to the transfer conditions of the target cover, the target cover of the virtual resource package of the first type is acquired through a cover selection control. In the exemplary embodiment, the manner in which the target cover is acquired includes the following three cases A1-A3.
In case A1, in an exemplary embodiment, the detail page further includes a first alternative cover, where the first alternative cover includes covers in the account corresponding to the first client, and any one of the first alternative covers corresponds to one cover selection control. Obtaining a target cover of a virtual resource package of a first type through a cover selection control comprises: and taking the first alternative cover corresponding to the selected cover selection control as a target cover.
Referring to fig. 5, the cover 1 shown in fig. 5 and 6 is a first alternative cover included in the account corresponding to the first client, that is, a cover already owned by the user of the first client. In the display process, the first client sends a request carrying information of an account corresponding to the first client to the server, and the server can return all the first alternative covers included in the account corresponding to the first client so as to facilitate the display of the first client. Illustratively, the present embodiment does not limit the number of first alternate covers. And under the condition that a plurality of first alternative covers are included in the account corresponding to the first client side, and the detail page is insufficient for displaying all the first alternative covers, a sliding control can be included on the detail page, and when the sliding control is detected to be slid, the displayed first alternative covers are replaced. In addition, the detail page may further display the remaining number of each first alternative cover in the account corresponding to the first client, for example, in fig. 5 and fig. 6, the number corresponding to "cover 1" is "1", so as to indicate that one cover of "cover 1" remains in the account corresponding to the first client.
Any first alternative cover corresponds to one cover selection control, and after a user of the first client clicks the cover selection control, the first client can take the first alternative cover corresponding to the selected cover selection control as a target cover. For example, in fig. 5 and 6, in response to "cover 1" being selected, "cover 1" is taken as the target cover.
In the case where a first client interacts with a plurality of second clients, the number of target covers that need to be transferred may be a plurality. Thus, after the target cover is selected, it is also necessary to determine whether the remaining number of target covers in the account of the first client is not less than the number of target covers that need to be transferred. In an exemplary embodiment, the number of target covers of the virtual resource package of the first type (i.e. the number of target covers to be transferred) is a first number, and the number of target covers included in the account corresponding to the first client (i.e. the remaining number of target covers in the account) is a second number, and the method further includes: and in response to the second number being smaller than the first number, displaying the acquired pages of the target cover, acquiring the target cover based on the acquired pages of the target cover, and transferring the acquired target cover to an account corresponding to the first client, wherein the second number and the first number are integers larger than one. Alternatively, the first number is changed to the second number in response to the second number being less than the first number.
Illustratively, the first number is determined based on the number of virtual resource packages of the first type and the transfer condition of the target cover. Illustratively, the detail page may include a quantity input control, such as the quantity shown in fig. 6, that is, a quantity input control through which the quantity is input as the quantity of virtual resource packages of the first type. After the number of virtual resource packages of the first type is obtained, the first number of target covers to be transferred can be determined by combining the number of virtual resource packages and the transfer conditions of the target covers.
Taking the number of virtual resource packages as nine as an example, in response to a first condition that the transition condition is a conditional option corresponding to a full member, it is explained that the first number is equal to the number of virtual resource packages, and thus the first number is nine. In response to the transfer condition being a second condition corresponding to the first one of the conditional options or a second condition corresponding to the best one of the conditional options, the first number is indicated as one. In response to the transfer condition being a fifth condition corresponding to the custom condition option, the user selecting the custom condition option and then further entering a reference number through the cover number input control, the first number being equal to the reference number entered by the user.
After determining the first number, in response to the second number being less than the first number, more target covers may be transferred to the account corresponding to the first client based on the acquisition page of the target covers to increase the second number to be not less than the first number. For example, if the first number is nine and the second number is five, the account corresponding to the first client needs to be transferred to at least four target covers, so that the second number is not less than the first number. Accordingly, in the case where the second number is detected to be smaller than the first number, the acquisition page of the target cover is displayed. The acquisition page of the target covers comprises prompt information and feedback controls aiming at the prompt information, wherein the prompt information is whether four target covers are acquired or not, and the feedback controls are yes or not. And under the condition that the detected feedback control is selected, transferring more target covers into the account corresponding to the first client, so that the second number is not smaller than the first number.
Alternatively, the first number may be reduced to no greater than the second number without transferring more of the target cover to the account corresponding to the first client. Illustratively, the manner of narrowing the first number includes: and adjusting the value of the first quantity. For example, the first number is nine and the second number is five, the first number is adjusted to five or to an integer less than five and greater than zero. Alternatively, the manner of narrowing the first number further includes: the transfer condition of the target cover is modified. Taking the number of virtual resource packages as nine as an example, when the transfer condition of the target cover is the first condition (full member) described above, the first number is nine. If the transfer condition of the target cover is adjusted to the second condition (first) or the third condition (best), the first number is reduced from nine to one, and the reduction of the first value is also achieved.
Case A2, obtaining, through a cover selection control, a target cover of a virtual resource package of a first type, including: in response to detecting that the cover selection control is selected, the first client displays a second cover selection page, the second cover selection page including a character input box. The first client obtains target characters through the character input box, generates a reference cover based on the target characters, transfers the reference cover to an account corresponding to the first client and serves as the target cover.
After the first client obtains the target character input by the user through the character input box, the target character is sent to the server, the server processes the target character based on the template, so that a reference cover is generated, and the generated reference cover is returned to the first client to serve as the target cover. Or, the server may generate a plurality of reference covers based on a plurality of templates, and send the plurality of reference covers to the first client for display. Then, the reference cover selected by the user is taken as the target cover.
Illustratively, the templates used by the server include template files provided by AE (Adobe After Effects, a graphic video processing software), or new template files obtained based on the template files provided by AE. For example, the materials such as fonts, colors, animation and the like in the template file provided by the AE are adjusted or combined, so that a new template file is obtained. In addition, the generated reference cover may take on formats including, but not limited to, APNG (Animated Portable Network Graphics, animated portable network graphic) format.
Case A3, obtaining, by the cover selection control, a target cover of the virtual resource package of the first type, including: in response to detecting that the cover selection control is selected, the first client displays a first cover selection page, wherein the first cover selection page comprises a plurality of second alternative covers, and the selected second alternative covers in the plurality of second alternative covers are transferred to accounts corresponding to the first client and serve as target covers.
In case A3, the cover selection control is, for example, "cover mall" shown in 701 in fig. 5, 6, and 7. It should be noted that fig. 5 and 6 show a case where the first alternative cover is included in the first account, and 701 shows a case where the first alternative cover is not included in the first account. Whether the first account includes the first alternative cover or not, the acquisition of the target cover may be performed according to the case A3.
Taking fig. 7 as an example, in response to detecting that the cover selection control "cover mall" in 701 is selected, the first client displays 702 a first cover selection page, where the first cover selection page includes a plurality of second alternative covers, for example, nine second alternative covers are shown in 702. In response to any of the second alternative covers being selected, referring to 703, the first client transfers the selected second alternative cover to the account corresponding to the first client, so that the detail page can display the cover in the first account, and the selected second alternative cover is taken as the target cover.
It should be noted that the second alternative cover may have a corresponding value, and the first client may obtain the selected second alternative cover by using the resource stored in the account corresponding to the first client, so that the selected second alternative cover is transferred to the account corresponding to the first client. The resources stored in the account corresponding to the first client are not less than the value corresponding to the second alternative cover, and the resources stored in the account corresponding to the first client can be virtual resources or real resources, such as currency and the like. Or in the case that the second alternative cover has the corresponding value, in response to the account corresponding to the first client meeting the target condition, transferring the second alternative cover with the value to the account corresponding to the first client. Illustratively, meeting the target condition includes, but is not limited to having a member identity corresponding to the first client, and so forth.
Illustratively, the detail page can further include a statement input control, for example, "blessing" shown in 701 and 703 in fig. 7 is a statement input control, through which a user can input a statement, where the input statement is used as a blessing corresponding to the virtual resource package. In this embodiment, the sentence input control may provide a default sentence, and in response to the target cover being selected, the default sentence is updated to a sentence corresponding to the selected target cover. For example, in 701, "congratulating and bringing about wealth" is the default sentence, and in 703, after cover 1 is selected, "congratulating and bringing about wealth" is updated to the sentence "ox-air-cupola" corresponding to cover 1.
In an exemplary embodiment, the plurality of second alternative covers is determined based on at least one of feature information including information corresponding to an account corresponding to the first client and time information. Illustratively, the characteristic information includes, but is not limited to, a historical personalized impersonation type and a friend impression of a user corresponding to an account corresponding to the first client, and the time information is used for indicating a date on which the user corresponding to the account corresponding to the first client is located, and whether the user has a corresponding holiday can be determined through the time information. For example, the time information indicates that the user is within a week around 3 months and 8 days, and the holiday corresponding to the user may be considered as a female festival. The front and rear weeks are merely examples, and the present embodiment is not limited thereto. Illustratively, the manner in which the second alternate cover is determined includes cases B1-B4 as follows.
In case B1, for the case that the feature information is not acquired and the user does not have a corresponding holiday through the time information, a certain number of covers may be randomly selected from all the covers as the second alternative covers. Or, selecting the historical hot covers, the latest covers and other covers from all the covers, forming the selected covers into a target cover library, and randomly selecting from the target cover library.
And in the case B2, when the characteristic information is not acquired, but the user is confirmed to have the holiday corresponding to the time information, the weight of the time information is increased, so that the occupation ratio of the cover related to the holiday in the second alternative cover is increased. For example, the covers with corresponding holiday labels are selected from all the covers to form a holiday cover library, and the second alternative covers are randomly selected from the holiday cover library, so that all the second alternative covers are covers related to the holiday. The festival label of the cover is manually marked by a configurator, for example, a spring festival, a teacher festival, a woman festival and the like. Alternatively, the second alternative cover may include a cover in the target cover gallery described above in addition to the cover in the holiday cover gallery. The present embodiment does not limit the ratio of selection from the two cover libraries. For example, 60% of the second alternate covers are selected from the holiday cover gallery and the other 40% are selected from the target cover gallery.
In case B3, if the feature information can be acquired, but it is confirmed by the time information that the user does not have a corresponding holiday, the second alternative cover is selected based on the respective feature information. Illustratively, the feature information that the user can set by himself is less reliable and thus corresponds to less weight. And the characteristic information such as the historical personalized decoration type and the like which can reflect the real preference of the user and the characteristic information such as the friend impression and the like which can reflect the real situation of the user correspond to a larger weight. And screening the covers from all the covers to form a characteristic cover library based on the characteristic information and the weight corresponding to the characteristic information, and randomly selecting the second alternative cover from the characteristic cover library.
And B4, for the situation that the characteristic information can be obtained and the user has corresponding holidays through the time information, the second alternative covers comprise covers randomly selected from the holiday cover library and covers randomly selected from the characteristic cover library, and the covers selected from the two cover libraries have the same or different proportions.
For example, for the weight of the feature information and the time information, the embodiment can confirm the accuracy of the weight through a test process after confirmation so as to adjust the weight in time. In this embodiment, different control groups are set, each control group corresponds to a set of weights, and the weights of the different control groups are not identical. Thereafter, the user conversions for each control group over a period of time are confirmed, thereby adjusting the currently determined weights based on the control group having the higher user conversion.
In addition, the embodiment of the application can also analyze the characteristics of the cover with higher user conversion rate, so that the common characteristics of the cover with higher conversion rate are confirmed, namely, the reason for higher user conversion rate of the cover is confirmed. For example, it is confirmed whether the cover with higher conversion rate has a common feature in the dimensions of exposure, type, pushing time, etc., so that the determination of the second alternative cover can be performed later in combination with the common feature obtained by the analysis. For example, if the covers with higher conversion rates are all the covers of type a in a certain period of time, when the second alternative cover is determined in the period of time, the duty ratio of the type a cover in the second alternative cover is increased, so that the conversion rate of users is improved.
After obtaining the target cover and the transfer condition of the target cover, the first client performs content verification based on the detail page, thereby confirming whether all the contents input by the user in the detail page are in the correct format. If all the contents are in the correct format, prompting the user to send the virtual resource package of the first type. Illustratively, the hinting means includes, but is not limited to, highlighting a control for sending the virtual resource package, the space for sending the virtual resource package being, for example, "joss" as shown in fig. 7. Of course, if a certain content format in all the contents is wrong, or there is a content deletion, the first client sets the control for transmitting the virtual resource package to an unselected state.
Further, in the case that the account corresponding to the first client includes the first alternative cover, the embodiment may also collect and forward the first alternative cover, which is described in the following.
In an exemplary embodiment, any one of the first alternate covers corresponds to one of the cover collection controls, the method further comprising: in response to detecting that any of the cover collection controls is selected, a first alternate cover corresponding to the selected cover collection control is highlighted to indicate that the first alternate cover corresponding to the selected cover collection control has been collected. Exemplary ways of highlighting include, but are not limited to, text hints, overhead displays, marking by color or brightness, changing the morphology of the cover collection control, and so forth. Taking the cover collection control as a star symbol as an example, before the first alternative cover corresponding to the cover collection control is collected, the star symbol is white, and after the first alternative cover corresponding to the cover collection control is collected, the star symbol is changed from white to yellow, and the flashing special effect is increased. The present embodiment is not limited to the manner of highlighting.
Referring to fig. 8, in the collection process, in response to detecting that any cover collection control is selected, the first client sends a request to the server, where the request carries account information corresponding to the first client and cover information corresponding to the selected cover collection control. After receiving the request sent by the first client, the server stores information carried in the request in a database, and returns successful receiving information to the first client. After the first client receives the success information returned by the server, the cover collection control may be highlighted.
In an exemplary embodiment, the details page further includes a partial display control, the method further comprising: in response to detecting that the partial display control is selected, the first client hides an uncollected first alternative cover from the first alternative covers, so that the detail page only displays the first alternative cover which is collected by the user of the first client, and personal preference of the user is met. The present embodiment is not limited to partial display controls, which illustratively include, but are not limited to, controls labeled "stowed".
Referring to fig. 8, the first client obtains a first alternate cover for display by sending a request to the server. The server returns two kinds of information to the first client, one is information of all first alternative covers in the account corresponding to the first client, and the other is information of the first alternative covers collected in the account corresponding to the first client. It can be appreciated that the first alternative cover that is stowed may be empty. After receiving the information returned by the server, the first client responds that the collected first alternative covers are empty, and then displays all the first alternative covers on the detail page only. And in response to the first alternate cover being stowed not empty, displaying controls on the detail page display portion and displaying all of the first alternate covers on the detail page by default. Then, in response to detecting that the partial display control is selected, the first client displays the first alternative covers which are already collected, thereby hiding the first alternative covers which are not collected.
For example, to facilitate user switching, the first client may redisplay all of the first alternate covers after detecting that a portion of the display controls is again selected. Alternatively, the first client may also display all display controls, such as controls labeled "all," on the details page. And in response to detecting that all the display controls are selected, redisplaying all the first alternative covers on the detail page.
In an exemplary embodiment, any one of the first alternate covers corresponds to one cover transfer control, the method further comprising: in response to detecting that any cover transfer control is selected, displaying a client selection page, wherein the client selection page comprises an alternative client; and in response to detecting that any alternative client is selected, displaying a target alternative cover in a conversation page where the first client interacts with the target client, and transferring the target alternative cover to an account corresponding to the target client after the target client obtains the target alternative cover, wherein the target client comprises the selected alternative client, and the target alternative cover comprises a first alternative cover corresponding to the selected cover transfer control.
Referring to fig. 9, the user first clicks a cover transfer control corresponding to any first alternative cover, for example, a control labeled "give" and the first alternative cover corresponding to the selected cover transfer control is the target alternative cover. After the cover transfer control is selected, the first client displays a client selection page that includes at least one alternative client for receiving the gifts. The user can select any alternative client, and the alternative client selected by the user is the target client. And then, the first client sends the information of the target client and the target alternative cover to the server. The server correspondingly analyzes the information, stores the information in a database, and sends success information to the first client, so that the first client can correspondingly display prompt messages such as 'successful giving'. The server also sends a cover picking message to the target client, and a user of the target client can pick up the target alternative cover by clicking the cover picking message. After detecting that the target client receives the target alternative cover, the server can transfer the target alternative cover to an account corresponding to the target client.
And 204, displaying the first type virtual resource package on the session page by the target cover, and transferring the target cover to an account corresponding to the second client under the condition that the second client meets the transfer condition of the target cover.
In the session page, the first type of virtual resource package is displayed with the target cover, see fig. 10, also referred to as ark message. And under the condition that the second client side meets the transfer condition of the target cover, the server can transfer the target cover to an account corresponding to the second client side. Herein, whether the second client satisfies the transfer condition of the target cover is referred to the above description of the transfer condition in 203, and a detailed description thereof is omitted herein.
In an exemplary embodiment, after transferring the target cover to the account corresponding to the second client, the method further includes: and deducting the transfer quantity of the target covers from the quantity of the target covers included in the account corresponding to the first client. That is, how many target covers are transferred from the first client to the second client, so that how many target covers are deducted from the account corresponding to the first client, and the target covers are transferred between different clients, thereby forming a inheritance effect of the target covers.
In addition, the embodiment of the application further provides a method for transferring resources applied to the second client shown in fig. 1, and referring to fig. 11, the method includes the following steps.
1101, displaying the virtual resource package with the target cover on the session page.
Since the first client has transferred the virtual resource package, the second client interacting with the first client may take the virtual resource package in the session page. Illustratively, the virtual resource package is of a first type, i.e., a cover transferable type. In an exemplary embodiment, the second client may correspond to a plurality of sessions. The embodiment can highlight the session containing the virtual resource package, such as top-up display, marking by characters or special effects, and the like. Therefore, the user of the second client can be prompted to select the session containing the virtual resource package, so that the virtual resource package is displayed on the session page corresponding to the session by the target cover.
1102, responding to a triggering operation on the virtual resource package, and acquiring the virtual resource.
Illustratively, in response to detecting a triggering operation on the virtual resource package, the second client displays a virtual resource package retrieval page. Wherein the virtual resource package pickup page can be seen in fig. 12. Illustratively, the virtual resource package retrieval page includes an open control and a close control. For example, in fig. 12, "on" is an open control, and a circle containing a cross is a closed control. In response to the selection of the open control, it is indicated that the user of the second client desires to get the virtual resource package, so that a request may be further sent to the server, so as to obtain the virtual resource returned by the server, and the server determines, according to 1103, whether the second client meets the transfer condition corresponding to the target cover, that is, whether the second client can obtain the target cover resource corresponding to the target cover.
In the process of obtaining the virtual resources, the server returns all the resources in the virtual resource package in response to the interaction between the first client and one second client. Alternatively, in response to the first client interacting with the plurality of second clients, the server determines the number of resources returned to the second clients by confirming the resource acquisition condition of the virtual resource package. For example, in response to the resource acquisition condition being average, the number of virtual resources acquired by each second client that acquired the virtual resource package is equal. And responding to the resource acquisition condition of the spelling, wherein the quantity of the virtual resources acquired by each second client side which acquires the virtual resource package is unequal, the server randomly determines the virtual resources which can be acquired by the second client side, and returns the randomly determined virtual resources to the second client side.
Of course, in response to the closing control being selected, it is stated that the user of the second client does not wish to get the virtual resource package, the second client does not obtain the virtual resource, and the page displayed by the second client is switched from the virtual resource package getting page to the session page where the first client interacts with the second client. For example, starting timing after displaying the virtual resource package with the target cover in the session page, and returning the target cover corresponding to the virtual resource package and the resource to the account of the first client in response to the unselected time of the opening control exceeding the time threshold. The time threshold is not limited in this embodiment, and is, for example, 24 hours.
1103, in response to detecting that the transfer condition corresponding to the target cover is satisfied, a target cover resource corresponding to the target cover is acquired.
Wherein the transfer condition includes a first condition, a second condition, a third condition, or a fourth condition. The first condition is to get the virtual resource package, the second condition is to get the virtual resource package at the first or last position, the third condition is to get the virtual resource package, and in the case that the virtual resource package has the retrievable resources, the number of the retrieved resources is the largest or smallest, and the fourth condition is to get the virtual resource package and randomly selected.
And responding to the transfer condition including the first condition, wherein each second client side which acquires the virtual resource can acquire the target cover resource corresponding to the target cover. As can be seen from the description in 1102, the second client confirms whether the virtual resource and the target cover resource are available by sending a request to the server. After the second client sends the request, the target cover resource is returned together in response to the server determining that the virtual resource was acquired by the second client.
Or, in response to the transfer condition including the second condition, and the first or last position of the second client receives the virtual resource package, transferring the target cover to an account corresponding to the second client. In this case, the server returns the target cover resource for the request sent by the first second client or for the request sent by the last second client.
Alternatively, the second client that received the most or least virtual resources obtains the target cover resource in response to the transfer condition including the third condition. In the application process, after all the resources in the virtual resource package are acquired, the server determines a second client which acquires the most or least virtual resources, and accordingly returns the target cover resources to the second client. For example, considering that in practical applications, resources in the virtual resource package may take a long time to be taken up, the server returns the resources to the second client first after receiving the request sent by the second client, so as to avoid the long waiting time of the second client. And finally, after the resources in the virtual resource package are completely received, determining a second client for obtaining the target cover resources according to the description, and returning the target cover resources to the determined second client. That is, for the second client that obtains the target cover resource, the virtual resource is obtained first, and after a period of time, the target cover resource is obtained.
Or, in response to the transfer condition including the fourth condition, the server randomly selects one or more second clients from among the second clients that receive the virtual resource to obtain the target cover resource. The server performs the random selection of the second client according to a configured rule, for example, the target cover resource is obtained for the nth second client that receives the virtual resource. Of course, the configured rules are not specifiable or perceptible to the users of both the first client and the second client, and thus the second clients that are able to obtain the target cover resource are random one or more for both the first client and the second client.
In practical application, the second client confirms whether the condition corresponding to the target cover is satisfied by sending a request to the server. After receiving the request sent by the second client, the server confirms whether the second client obtains the resources in the virtual resource package or not and whether the target cover is obtained or not, and returns a confirmation result to the second client. And then, the second client displays different acquisition detail pages based on different confirmation results. For example, in the case that the second client obtains both the resources in the virtual resource package and the target cover, the second client displays the acquisition detail page shown in fig. 13, where the page includes the number of resources obtained by the second client and the prompt statement of "get the cover at the same time". Or, in the case that the second client only obtains the resources in the virtual resource package, but does not obtain the target cover, the second client displays the acquisition detail page shown in fig. 14, where the page only includes the number of the resources obtained by the second client, and does not include the prompt statement of "obtain the cover at the same time". Alternatively, in the case where the second client does not obtain the resources in the virtual resource package or the target cover, the retrieval detail page displayed by the second client may include a prompt statement such as "has been completed".
As can be seen from the above description, after the user selects the target cover displayed in the session page, the second client displays a virtual resource package pickup page (for example, fig. 12), and further displays different pickup detail pages according to the pickup situation (for example, fig. 13 and 14). Wherein, the display of the virtual resource package acquisition page and the acquisition detail page depends on the material files. In order to shorten the waiting time after the user selects the target cover, in this embodiment, the second client may download the material file in advance, so as to improve the experience of the user in transferring resources.
That is, in an exemplary embodiment, after displaying the virtual resource package with the target cover on the session page, the method further comprises: and downloading a material file corresponding to the virtual resource package, wherein the material file is used for displaying a retrieval detail page of the virtual resource package.
The second client requests and downloads the material files corresponding to the resource package from the server after displaying the resource package with the target cover, so as to shorten the time for subsequently displaying the virtual resource package to get the page and getting the detail page. In an exemplary case where the first client interacts with one second client, the second client downloads only the material files corresponding to the virtual resource packages transferred by the first client. And under the condition that the first client and the plurality of second clients interact in the same group, for any second client, downloading the material files corresponding to the virtual resource packages transferred by the first client and other second clients.
Illustratively, the second client only downloads the material file corresponding to the latest virtual resource package. Or the second client obtains and downloads the material files corresponding to the virtual resource packages in the target time period. The present embodiment does not limit the target period of time, which is, for example, five minutes in the past.
In an exemplary embodiment, the target cover resource corresponds to a cover transfer control, the method further comprising: in response to detecting that the cover transfer control is selected, a client selection page is displayed, the client selection page including an alternative client. In response to detecting that any one of the alternative clients is selected, displaying target cover resources in a target cover in a session page interacted with the selected alternative client, wherein the target cover resources displayed in the target cover are used for the selected alternative client to acquire the target cover resources. The cover transfer process of the second client is referred to the above description of the cover transfer process of the first client, and will not be described herein.
In an exemplary embodiment, the target cover resource corresponds to a cover collection control, the method further comprising: in response to detecting that the cover collection control is selected, the cover collection control is highlighted to indicate that the target cover resource has been collected. The cover collection process of the second client is referred to above for the cover collection process of the first client, and will not be described herein.
In summary, according to the technical solution provided in the embodiments of the present application, for the session interaction process, the transferring of the cover of the virtual resource package may be performed between accounts corresponding to different clients of the session, and the transferred cover may be selected by the user according to personal preference. Compared with the mode of adopting the default cover in the virtual resource package, the mode of flexibly selecting the target cover provided by the embodiment of the application accords with the personalized requirements of users, and the cover can be transferred among different accounts, so that the session is more interesting, the mode of transferring new resources and the session interaction mode are expanded, the enthusiasm of transferring resources of the users is improved, the interaction and discussion among the users are caused, the viscosity of the users is improved, and the interaction rate is improved.
Based on the above description, as shown in fig. 15, the overall flow of one-to-one resource transfer between the first client and one second client will be described. After the first client displays the session page, in response to the user initiating the resource transfer, it is confirmed whether the user has selected the first type with the cover transferable. And in response to the user selecting the first type, confirming whether the account corresponding to the first client comprises the cover. If the account corresponding to the first client includes the cover, the user can select the cover in the account corresponding to the first client and input the quantity of the resources to be transferred, so that the cover and the quantity of the resources are transferred by sending the virtual resource package.
Or if the account corresponding to the first client does not include the cover, or the user does not want to select the cover in the account corresponding to the first client, the user can also enter the cover mall to select other covers. After the user selects the cover, a determination is made as to whether there is a sufficient balance in the account corresponding to the first client. And if the balance is enough, acquiring the cover by using the balance, prompting the user to input the quantity of the resources to be transferred, and transferring the cover and the resources by sending a virtual resource package. And under the condition of insufficient balance, prompting the user to recharge and switching to a recharging process. After the recharging process is completed, the user is prompted to input the number of resources, and therefore the cover and the resources are transferred by sending the virtual resource package. Of course, in the case where the cover is not included in the account of the first client and the user fails to acquire the cover, other types than the first type may be employed, for example, a type in which only the resource is transferred and the cover is not transferred.
After the first client sends the virtual resource package, the second client correspondingly receives the virtual resource package. And under the condition that the virtual resource package is of the first type, the second client obtains the cover and the resource. In the case that the virtual resource package is of another type, the second client only obtains the resource and does not obtain the cover.
Similar to fig. 15, fig. 16 illustrates a one-to-many resource transfer flow between a first client and a plurality of second clients. After the first client displays the session page, in response to the user initiating the resource transfer, confirming whether the user selects the first type with transferable covers and prompting the user to input the number of virtual resource packages. In response to the user selecting the first type, it is determined whether each virtual resource package has a cover. If so, the number of covers to be transferred is equal to the number of virtual resource packages. If not all the virtual resource packages have covers, the user is prompted to set the number of covers to be transferred, such as single or multiple covers.
In addition, the user is prompted to select a cover in the account and confirm whether the remaining number of selected covers in the account is sufficient, i.e.: whether not less than the number of covers to be transferred. If the residual quantity of the selected covers in the account is enough, prompting the user to input the resources to be transferred, and transferring the covers and the resources by sending a virtual resource package. If the number of the selected covers in the account is insufficient, the user is prompted to go to the cover shop to acquire the covers, and the process of acquiring the covers is described in fig. 15, which is not repeated here. If the user acquires enough covers from the cover mall, prompting the user to input the resources to be transferred, and transferring the covers and the resources by sending a virtual resource package. And if the user does not acquire enough covers, prompting the user to adopt other types of virtual resource packages except the first type to transfer the resources.
After the first client sends the virtual resource package, the second client correspondingly receives the virtual resource package. In the case where the virtual resource package is of the first type, the second client may obtain the cover and the resource. In the case that the virtual resource package is of another type, the second client may only obtain the resource, and not the cover.
Further, the one-to-one resource transfer flow shown in fig. 15 is implemented by the interactive process shown in fig. 17. Wherein user a refers to the user of the first client and user B refers to the user of the second client. In fig. 17, user a enters a session interface and clicks on a control to trigger a resource transfer, the first client displays a plurality of type selection controls. And then, clicking a type selection control corresponding to the first type by the user A, displaying a detail page by the first client, and selecting a cover and filling information in the detail page by the user A. Each time the user a fills in, the first client verifies whether the filled-in information is correct. After the user A fills out all the information, clicking a control for sending the virtual resource package, and sending a request to the server by the first client based on the information filled out by the user A and the selected cover, wherein the request carries the related information of the virtual resource package of the first type. After receiving the request, the server stores the related information of the virtual resource package of the first type, deducts the cover and the resources from the account of the first client, and sends a message to the first client, and the first client displays the virtual resource package of the first type in the form of the cover in the session page according to the message.
In addition, the server also sends instructions to the second client so that the second client tops the session with which the first client interacted. And then, clicking the session on the top by the user B, and displaying a session page by the second client, wherein the session page comprises a first type of virtual resource package displayed in a cover form. After the user B clicks the virtual resource package displayed in the form of a cover, the second client sends a request to the server. And the server transfers the cover and the resources into the account of the second client through inquiring the related information of the first type of virtual resource package stored before, and returns the cover information and the resource information to the second client. And the second client displays the acquisition detail page of the virtual resource package according to the information returned by the server, so that the one-to-one resource transfer process is ended.
In addition, the one-to-many resource transfer flow shown in fig. 16 is implemented by the interactive process shown in fig. 18. In the interaction flow shown in fig. 18, referring to the last step executed by the server, after receiving the request sent by the second client, the server confirms whether the cover or the resource needs to be transferred to the second client by querying the related information of the virtual resource package of the first type stored before, and obtains a confirmation result, so that information is returned to the second client according to the confirmation result. For example, the resource information is returned only when the resource needs to be transferred, or the cover information and the resource information are returned when the cover and the resource need to be transferred, or the default information for indicating failure is returned when the cover and the resource do not need to be transferred. Referring to the last step executed by the client, the second client displays different acquisition detail pages according to the information returned by the server, so that the one-to-many resource transfer process is ended. The other steps shown in fig. 18 are referred to above for the description of fig. 17, and will not be repeated here.
The embodiment of the application provides a resource transfer device, which can realize a resource transfer method executed by a first client through a plurality of modules. Referring to fig. 19, the apparatus includes:
a display module 1901, configured to display, by the first client, at least one type selection control on a session page that interacts with the second client, where the at least one type selection control is configured to select a type of virtual resource package, and the selectable type of virtual resource package includes a first type with a transferable cover;
the display module 1901 is further configured to display a detail page of the virtual resource package of the first type, and display a cover selection control on the detail page, in response to a type selection control corresponding to the virtual resource package of the first type being selected;
the obtaining module 1902 is configured to obtain, through a cover selection control, a target cover of a virtual resource package of a first type and a transfer condition of the target cover;
a display module 1901, further configured to display a virtual resource package of a first type with a target cover on the session page;
and a transferring module 1903, configured to transfer the target cover to an account corresponding to the second client if the second client meets the transferring condition of the target cover.
In an exemplary embodiment, the display module 1901 is further configured to display a condition option on the detail page, where the condition option includes an option corresponding to at least one of a first condition, a second condition, a third condition, and a fourth condition, the first condition is that a virtual resource package of a first type is to be received, the second condition is that a virtual resource package of the first type is to be received first or last, the third condition is that a virtual resource package of the first type is to be received, and in a case that the virtual resource package of the first type has a retrievable resource, the number of the retrieved resources is the largest or smallest, and the fourth condition is that the virtual resource package of the first type is to be received and randomly selected; and responding to the selection of any condition option, and taking the condition corresponding to the selected condition option as the transfer condition of the target cover.
In an exemplary embodiment, the first client and the second client are located in the same group, the number of target covers of the virtual resource package of the first type is a first number, the number of target covers included in the account corresponding to the first client is a second number, the display module 1901 is further configured to display an acquisition page of the target cover in response to the second number being smaller than the first number, acquire the target cover based on the acquisition page of the target cover, transfer the acquired target cover to the account corresponding to the first client, and the second number and the first number are integers greater than one; alternatively, the first number is changed to the second number in response to the second number being less than the first number.
In an exemplary embodiment, the first number is determined based on the number of virtual resource packages of the first type and the transfer condition of the target cover.
In an exemplary embodiment, the transfer module 1903 is further configured to deduct the number of target covers included in the account corresponding to the first client from the number of transferred target covers.
In an exemplary embodiment, the detail page further includes a first alternative cover, where the first alternative cover includes a cover included in an account corresponding to the first client, any one of the first alternative covers corresponds to one of the cover selection controls, and the obtaining module 1902 is configured to use the first alternative cover corresponding to the selected cover selection control as the target cover.
In an exemplary embodiment, any of the first alternate covers corresponds to one of the cover collection controls, and the display module 1901 is further configured to, in response to detecting that any of the cover collection controls is selected, highlight the first alternate cover corresponding to the selected cover collection control to indicate that the first alternate cover corresponding to the selected cover collection control has been collected.
In an exemplary embodiment, the detail page further includes a partial display control, and the display module 1901 is further configured to conceal the first alternative cover that is not stowed in response to detecting that the partial display control is selected.
In an exemplary embodiment, any first alternate cover corresponds to one cover transfer control, and the display module 1901 is further configured to display a client selection page, including an alternate client, in response to detecting that any cover transfer control is selected; in response to detecting that any of the alternative clients is selected, displaying a target alternative cover in a session page in which the first client interacts with the target client;
the transfer module 1903 is further configured to transfer, after the target client retrieves the target alternative cover, the target alternative cover to an account corresponding to the target client, where the target client includes the selected alternative client, and the target alternative cover includes a first alternative cover corresponding to the selected cover transfer control.
In an exemplary embodiment, an acquisition module 1902 is configured to display a first cover selection page in response to detecting that a cover selection control is selected, the first cover selection page including a plurality of second alternate covers; transferring the selected second alternative covers in the plurality of second alternative covers to accounts corresponding to the first client, and determining the target cover from the selected second alternative covers.
In an exemplary embodiment, the plurality of second alternative covers is determined based on at least one of feature information including information of an account corresponding to the first client and time information.
In an exemplary embodiment, an acquisition module 1902 is configured to display a second cover selection page in response to detecting that the cover selection control is selected, the second cover selection page including a character input box; and obtaining target characters through the character input box, generating a reference cover based on the target characters, transferring the reference cover to an account corresponding to the first client, and determining the target cover from the reference cover.
The embodiment of the application provides a resource transfer device, which can realize a resource transfer method executed by a second client through a plurality of modules. Referring to fig. 20, the apparatus includes:
a display module 2001 for displaying the virtual resource package with the target cover on the session page;
an obtaining module 2002, configured to obtain a virtual resource in response to a triggering operation on the virtual resource package;
the obtaining module 2002 is further configured to obtain, in response to detecting that the transfer condition corresponding to the target cover is satisfied, a target cover resource corresponding to the target cover.
In an exemplary embodiment, the transfer condition includes a first condition, a second condition, a third condition, or a third condition, the first condition is to get the virtual resource package, the second condition is to get the virtual resource package first or last, the third condition is to get the virtual resource package, and in a case that the virtual resource package has a retrievable resource, the number of the retrieved resources is the largest or smallest, the fourth condition is to get the virtual resource package and is randomly selected; an obtaining module 2002, configured to obtain a target cover resource in response to the transfer condition including the first condition and the virtual resource package being acquired; or, in response to the transfer condition including the second condition and the first or last virtual resource package is received, acquiring the target cover resource; or, in response to the transfer condition including the third condition, retrieving the virtual resource package, and in the case that the virtual resource package has retrievable resources, acquiring the target cover resource if the number of the retrieved resources is the largest or smallest; alternatively, or in response to the transfer condition including a fourth condition, the virtual resource package is retrieved and randomly selected, the target cover resource is obtained.
In an exemplary embodiment, the target cover resource corresponds to a cover transfer control, and the display module 2001 is further configured to display a client selection page in response to detecting that the cover transfer control is selected, the client selection page including an alternative client; in response to detecting that any one of the alternative clients is selected, displaying target cover resources in a target cover in a session page interacted with the selected alternative client, wherein the target cover resources displayed in the target cover are used for the selected alternative client to acquire the target cover resources.
In an exemplary embodiment, the target cover resource corresponds to a cover collection control, and the display module 2001 is further configured to highlight the cover collection control in response to detecting that the cover collection control is selected to indicate that the target cover resource has been collected.
In an exemplary embodiment, the apparatus further comprises: and the downloading module is used for downloading the material files corresponding to the virtual resource package, and the material files are used for displaying the acquisition detail page of the virtual resource package.
In summary, according to the technical solution provided in the embodiments of the present application, for the session interaction process, the transferring of the cover of the virtual resource package may be performed between accounts corresponding to different clients of the session, and the transferred cover may be selected by the user according to personal preference. The method makes the conversation more interesting, expands a new resource transfer mode and a conversation interaction mode, and is beneficial to improving the enthusiasm of transferring resources by users, thereby causing interaction and discussion among users, further improving the viscosity of the users and improving the interaction rate.
It should be noted that, when the apparatus provided in the foregoing embodiment performs the functions thereof, only the division of the foregoing functional modules is used as an example, in practical application, the foregoing functional allocation may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to perform all or part of the functions described above. In addition, the apparatus and the method embodiments provided in the foregoing embodiments belong to the same concept, and specific implementation processes of the apparatus and the method embodiments are detailed in the method embodiments and are not repeated herein.
Referring to fig. 21, a schematic structural diagram of an electronic device 2100 according to an embodiment of the present application is shown. The electronic device 2100 may be a portable mobile electronic device such as: smart phones, tablet computers, MP4 (Moving Picture Experts Group Audio Layer IV, motion picture expert compression standard audio layer 4) players, notebook computers or desktop computers. Electronic device 2100 may also be referred to as a user device, portable electronic device, laptop electronic device, desktop electronic device, and the like.
Generally, the electronic device 2100 includes: a processor 2101 and a memory 2102.
The processor 2101 may include one or more processing cores, such as a 4-core processor, a 21-core processor, or the like. The processor 2101 may be implemented in hardware as at least one of the group consisting of DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 2101 may also include a main processor, which is a processor for processing data in an awake state, also called a CPU (Central Processing Unit ); a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 2101 may incorporate a GPU (Graphics Processing Unit, image processor) for taking care of rendering and rendering of the content that the display screen 2105 is required to display. In some embodiments, the processor 2101 may also include an AI (Artificial Intelligence ) processor for processing computing operations related to machine learning.
Memory 2102 may include one or more computer-readable storage media, which may be non-transitory. Memory 2102 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 2102 is used to store at least one instruction for execution by processor 2101 to implement the resource transfer method provided by the method embodiments herein.
In some embodiments, the electronic device 2100 may further optionally include: a peripheral interface 2103 and at least one peripheral. The processor 2101, memory 2102, and peripheral interface 2103 may be connected by a bus or signal line. The individual peripheral devices may be connected to the peripheral device interface 2103 by buses, signal lines or circuit boards. Specifically, the peripheral device includes: at least one of the group consisting of radio frequency circuitry 2104, a display screen 2105, a camera assembly 2106, an audio circuit 2107, a positioning assembly 2108, and a power supply 2109.
The peripheral interface 2103 may be used to connect at least one Input/Output (I/O) related peripheral device to the processor 2101 and the memory 2102. In some embodiments, the processor 2101, memory 2102, and peripheral interface 2103 are integrated on the same chip or circuit board; in some other embodiments, either or both of the processor 2101, memory 2102, and peripheral interface 2103 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 2104 is used for receiving and transmitting RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 2104 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 2104 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 2104 includes: antenna systems, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and so forth. The radio frequency circuitry 2104 may communicate with other electronic devices via at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or Wi-Fi (Wireless Fidelity ) networks. In some embodiments, the radio frequency circuit 2104 may also include NFC (Near Field Communication ) related circuitry, which is not limited in this application.
The display screen 2105 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display 2105 is a touch screen, the display 2105 also has the ability to collect touch signals at or above the surface of the display 2105. The touch signal may be input to the processor 2101 as a control signal for processing. At this point, the display 2105 may also be used to provide virtual controls and/or virtual keyboards, also referred to as soft controls and/or soft keyboards. In some embodiments, the display 2105 may be one, disposed on a front panel of the electronic device 2100; in other embodiments, the display 2105 may be at least two, each disposed on a different surface of the electronic device 2100 or in a folded design; in other embodiments, the display 2105 may be a flexible display disposed on a curved surface or a folded surface of the electronic device 2100. Even more, the display 2105 may be arranged in a non-rectangular irregular pattern, i.e. a shaped screen. The display 2105 may be made of LCD (Liquid Crystal Display ), OLED (Organic Light-Emitting Diode) or other materials.
The camera assembly 2106 is used to capture images or video. Optionally, the camera assembly 2106 includes a front camera and a rear camera. In general, a front camera is disposed on a front panel of an electronic device, and a rear camera is disposed on a rear surface of the electronic device. In some embodiments, the at least two rear cameras are any one of a main camera, a depth camera, a wide-angle camera and a tele camera, so as to realize that the main camera and the depth camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize a panoramic shooting and Virtual Reality (VR) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 2106 may also include a flash. The flash lamp can be a single-color temperature flash lamp or a double-color temperature flash lamp. The dual-color temperature flash lamp refers to a combination of a warm light flash lamp and a cold light flash lamp, and can be used for light compensation under different color temperatures.
The audio circuitry 2107 may include a microphone and a speaker. The microphone is used for collecting sound waves of users and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 2101 for processing, or inputting the electric signals to the radio frequency circuit 2104 for realizing voice communication. For purposes of stereo acquisition or noise reduction, the microphone may be multiple, each disposed at a different location of the electronic device 2100. The microphone may also be an array microphone or an omni-directional pickup microphone. The speaker is used to convert electrical signals from the processor 2101 or the radio frequency circuit 2104 into sound waves. The speaker may be a conventional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only the electric signal can be converted into a sound wave audible to humans, but also the electric signal can be converted into a sound wave inaudible to humans for ranging and other purposes. In some embodiments, the audio circuit 2107 may also include a headphone jack.
The positioning component 2108 is used to position the current geographic location of the electronic device 2100 to enable navigation or LBS (Location Based Service, location-based services). The positioning component 2108 may be a positioning component based on the United states GPS (Global Positioning System ), the Beidou system of China, the Granati system, or the Galileo system of the European Union.
The power supply 2109 is used to power the various components in the electronic device 2100. The power source 2109 may be alternating current, direct current, disposable battery, or rechargeable battery. When the power source 2109 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the electronic device 2100 further includes one or more sensors 2110. The one or more sensors 2110 include, but are not limited to: an acceleration sensor 2111, a gyro sensor 2112, a pressure sensor 2113, a fingerprint sensor 2114, an optical sensor 2115, and a proximity sensor 2116.
The acceleration sensor 2110 can detect the magnitudes of accelerations on three coordinate axes of a coordinate system established with the electronic device 2100. For example, the acceleration sensor 2111 may be used to detect components of gravitational acceleration in three coordinate axes. The processor 2101 may control the display screen 2105 to display a user interface in either a landscape view or a portrait view based on gravitational acceleration signals acquired by the acceleration sensor 2111. The acceleration sensor 2111 can also be used for acquisition of motion data of a game or a user.
The gyro sensor 2112 may detect a body direction and a rotation angle of the electronic apparatus 2100, and the gyro sensor 2112 may collect a 3D motion of the user on the electronic apparatus 2100 in cooperation with the acceleration sensor 2111. The processor 2101 may perform the following functions based on the data collected by the gyro sensor 2112: motion sensing (e.g., changing UI according to a tilting operation by a user), image stabilization at shooting, game control, and inertial navigation.
Pressure sensor 2113 may be located at a side frame of electronic device 2100 and/or at an underlying layer of display 2105. When the pressure sensor 2113 is provided at a side frame of the electronic device 2100, a grip signal of the user to the electronic device 2100 may be detected, and the processor 2101 performs left-right hand recognition or quick operation according to the grip signal collected by the pressure sensor 2113. When the pressure sensor 2113 is provided at the lower layer of the display screen 2105, the processor 2101 controls the operability control on the UI interface according to the pressure operation of the user on the display screen 2105. The operability controls include at least one of the group consisting of button controls, scroll bar controls, icon controls, and menu controls.
The fingerprint sensor 2114 is used for collecting the fingerprint of the user, and the processor 2101 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 2114, or the fingerprint sensor 2114 identifies the identity of the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the processor 2101 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying for and changing settings, and the like. The fingerprint sensor 2114 may be provided on the front, back, or side of the electronic device 2100. When a physical key or vendor Logo is provided on the electronic device 2100, the fingerprint sensor 2114 may be integrated with the physical key or vendor Logo.
The optical sensor 2115 is used to collect the ambient light intensity. In one embodiment, the processor 2101 may control the display brightness of the display screen 2105 based on the intensity of ambient light collected by the optical sensor 2115. Specifically, when the intensity of the ambient light is high, the display brightness of the display screen 2105 is turned high; when the ambient light intensity is low, the display brightness of the display screen 21021 is turned down. In another embodiment, the processor 2101 may also dynamically adjust the shooting parameters of the camera assembly 2106 based on the intensity of ambient light collected by the optical sensor 2115.
A proximity sensor 2116, also referred to as a distance sensor, is typically provided on the front panel of the electronic device 2100. The proximity sensor 2116 is used to collect the distance between the user and the front of the electronic device 2100. In one embodiment, when the proximity sensor 2116 detects that the distance between the user and the front of the electronic device 2100 gradually decreases, the processor 2101 controls the display 2105 to switch from the bright screen state to the off screen state; when the proximity sensor 2116 detects that the distance between the user and the front of the electronic device 2100 gradually increases, the processor 2101 controls the display 2105 to switch from the off-screen state to the on-screen state.
Those skilled in the art will appreciate that the structure shown in fig. 21 is not limiting of the electronic device 2100 and may include more or fewer components than shown, or may combine certain components, or may employ a different arrangement of components.
The embodiment of the application provides electronic equipment, which comprises a memory and a processor; at least one instruction is stored in the memory, the at least one instruction being loaded and executed by the processor to implement the resource transfer method provided by any of the exemplary embodiments of the present application.
The embodiment of the application provides a resource transfer system, which comprises a first client and a second client, wherein the first client and the second client are positioned on the same electronic equipment or different electronic equipment; the first client is configured to execute the resource transfer method executed by the first client shown in fig. 2, and the second client is configured to execute the resource transfer method executed by the second client shown in fig. 11.
Optionally, the resource transfer system further comprises a server for performing the functions performed by the server described in any of the above fig. 2 or 11.
Embodiments of the present application provide a computer readable storage medium having at least one instruction stored therein, the instructions being loaded and executed by a processor to implement the resource transfer method provided by any of the exemplary embodiments of the present application.
The present embodiments provide a computer program or computer program product comprising: computer instructions, when executed by a computer, cause the computer to implement the resource transfer method provided by any of the exemplary embodiments of the present application.
Any combination of the above optional solutions may be adopted to form an optional embodiment of the present application, which is not described herein in detail.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The foregoing description of the embodiments is provided for the purpose of illustration only and is not intended to limit the invention to the particular embodiments disclosed, but on the contrary, the intention is to cover all modifications, equivalents, alternatives, and alternatives falling within the spirit and scope of the invention.

Claims (18)

1. A method of resource transfer, the method comprising:
the method comprises the steps that a first client displays at least one type selection control on a session page interacted with a second client, wherein the at least one type selection control is used for selecting the type of a virtual resource package, and the selectable type of the virtual resource package comprises a first type with a transferable cover;
Responding to the selection of a type selection control corresponding to the virtual resource package of the first type, displaying a detail page of the virtual resource package of the first type, and displaying a cover selection control on the detail page;
acquiring a target cover of the first type of virtual resource package and a transfer condition of the target cover through the cover selection control, wherein the transfer condition of the target cover is used for indicating a second client capable of acquiring the target cover transferred by the first client;
in response to the second number being smaller than the first number, displaying the acquired pages of the target cover, acquiring the target cover based on the acquired pages of the target cover, transferring the acquired target cover to an account corresponding to the first client, or changing the first number to the second number, or modifying the transfer condition of the target cover so that the second number is not smaller than the first number, wherein the first number is the number of the target covers required to be transferred, and the second number is the number of the target covers included in the account corresponding to the first client;
Displaying the virtual resource package of the first type on the session page by the target cover under the condition that the second number is not less than the first number, and transferring the target cover to an account corresponding to the second client under the condition that the second client meets the transfer condition of the target cover;
and deducting the transfer quantity of the target covers from the quantity of the target covers included in the account corresponding to the first client.
2. The method according to claim 1, wherein the method further comprises:
displaying condition options on the detail page, wherein the condition options comprise options corresponding to at least one of a first condition, a second condition, a third condition and a fourth condition, the first condition is that the first type of virtual resource package is taken, the second condition is that the first type of virtual resource package is taken first or last, the third condition is that the first type of virtual resource package is taken, and in the case that the first type of virtual resource package has the resources which can be taken, the number of the taken resources is the largest or smallest, and the fourth condition is that the first type of virtual resource package is taken and randomly selected;
And responding to the selection of any condition option, and taking the condition corresponding to the selected condition option as the transfer condition of the target cover.
3. The method of claim 1, wherein the first client and the second client are located within a same group, the second number and the first number being integers greater than one.
4. The method of claim 1, wherein the first number is determined based on a number of virtual resource packages of the first type and a transfer condition of the target cover.
5. The method of any of claims 1-4, wherein the detail page further comprises a first alternate cover, the first alternate cover comprising covers included in an account corresponding to the first client, any first alternate cover corresponding to a cover selection control;
the obtaining, through the cover selection control, the target cover of the virtual resource package of the first type includes:
and taking the first alternative cover corresponding to the selected cover selection control as the target cover.
6. The method of claim 5, wherein any first alternate cover corresponds to a cover collection control, the method further comprising:
In response to detecting that any cover collection control is selected, a first alternate cover corresponding to the selected cover collection control is highlighted to indicate that the first alternate cover corresponding to the selected cover collection control has been collected.
7. The method of claim 6, wherein the details page further comprises a partial display control, the method further comprising:
in response to detecting that the partial display control is selected, hiding the first alternative cover that is not stowed.
8. The method of claim 5, wherein any first alternate cover corresponds to a cover transfer control, the method further comprising:
in response to detecting that any cover transfer control is selected, displaying a client selection page, wherein the client selection page comprises an alternative client;
and in response to detecting that any alternative client is selected, displaying a target alternative cover in a conversation page where the first client interacts with a target client, and transferring the target alternative cover to an account corresponding to the target client after the target client obtains the target alternative cover, wherein the target client comprises the selected alternative client, and the target alternative cover comprises a first alternative cover corresponding to a selected cover transfer control.
9. The method of any of claims 1-4, wherein the obtaining, via the cover selection control, the target cover of the first type of virtual resource package comprises:
in response to detecting that the cover selection control is selected, displaying a first cover selection page, the first cover selection page including a plurality of second alternate covers;
transferring the selected second alternative covers of the plurality of second alternative covers to accounts corresponding to the first client, and determining the target cover from the selected second alternative covers.
10. The method of claim 9, wherein the plurality of second alternative covers are determined based on at least one of feature information including information of an account corresponding to the first client and time information.
11. The method of any of claims 1-4, wherein the obtaining, via the cover selection control, the target cover of the first type of virtual resource package comprises:
in response to detecting that the cover selection control is selected, displaying a second cover selection page, the second cover selection page including a character input box;
And obtaining target characters through the character input box, generating a reference cover based on the target characters, transferring the reference cover to an account corresponding to the first client, and determining the target cover from the reference cover.
12. A method of resource transfer, the method comprising:
displaying a virtual resource package with a target cover on a session page where a first client interacts with a second client, wherein the first client is configured to execute the resource transfer method of any one of claims 1-11;
responding to the triggering operation of the virtual resource package to acquire virtual resources;
and in response to detecting that the transfer condition corresponding to the target cover is met, acquiring target cover resources corresponding to the target cover.
13. The method of claim 12, wherein the transfer condition comprises a first condition, a second condition, a third condition, or a fourth condition, the first condition is that the virtual resource package is taken, the second condition is that the virtual resource package is taken first or last, the third condition is that the virtual resource package is taken, and in the case that the virtual resource package has a retrievable resource, the number of the retrieved resources is the largest or smallest, and the fourth condition is that the virtual resource package is taken and randomly selected;
The responding to the detection of meeting the transfer condition corresponding to the target cover, obtaining the target cover resource corresponding to the target cover comprises the following steps:
acquiring the target cover resource in response to the transfer condition including the first condition and the virtual resource package being acquired;
or, in response to the transfer condition including the second condition and leading or trailing to the virtual resource package, acquiring the target cover resource;
or, in response to the transfer condition including the third condition, retrieving the virtual resource package, and if the virtual resource package has retrievable resources, acquiring the target cover resource if the number of retrieved resources is the greatest or the least;
or, in response to the transfer condition including the fourth condition, retrieving the virtual resource package and being randomly selected, acquiring the target cover resource.
14. The method of claim 12 or 13, wherein the target cover resource corresponds to a cover transfer control, the method further comprising:
in response to detecting that the cover transfer control is selected, displaying a client selection page, the client selection page including an alternative client;
And in response to detecting that any alternative client is selected, displaying the target cover resource with the target cover in a session page interacted with the selected alternative client, wherein the target cover resource displayed with the target cover is used for the selected alternative client to acquire the target cover resource.
15. The method of claim 12 or 13, wherein the target cover resource corresponds to a cover collection control, the method further comprising:
in response to detecting that the cover collection control is selected, the cover collection control is highlighted to indicate that the target cover resource has been collected.
16. The method of claim 12 or 13, wherein after displaying the virtual resource package with the target cover on the session page, the method further comprises:
and downloading the material files corresponding to the virtual resource package, wherein the material files are used for displaying the acquisition detail page of the virtual resource package.
17. An electronic device, comprising a memory and a processor; the memory has stored therein at least one instruction that is loaded and executed by the processor to implement the resource transfer method of any of claims 1-11 or 12-16.
18. A computer readable storage medium having stored therein at least one instruction that is loaded and executed by a processor to implement the resource transfer method of any of claims 1-11 or 12-16.
CN202110220339.2A 2021-02-26 2021-02-26 Resource transfer method, device, electronic equipment and computer readable storage medium Active CN113010308B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110220339.2A CN113010308B (en) 2021-02-26 2021-02-26 Resource transfer method, device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110220339.2A CN113010308B (en) 2021-02-26 2021-02-26 Resource transfer method, device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113010308A CN113010308A (en) 2021-06-22
CN113010308B true CN113010308B (en) 2023-04-25

Family

ID=76386572

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110220339.2A Active CN113010308B (en) 2021-02-26 2021-02-26 Resource transfer method, device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113010308B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117724795A (en) * 2023-12-27 2024-03-19 北京字跳网络技术有限公司 Page interaction method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111698145A (en) * 2016-10-27 2020-09-22 财付通支付科技有限公司 Method, apparatus and medium for receiving and transmitting virtual package including voice
CN112308585A (en) * 2019-07-26 2021-02-02 腾讯科技(深圳)有限公司 Method, device and storage medium for realizing virtual resource distribution
CN112316439A (en) * 2020-11-06 2021-02-05 腾讯科技(深圳)有限公司 Article acquisition method and device, electronic equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111445221B (en) * 2019-01-17 2023-09-26 腾讯科技(深圳)有限公司 Method, device and equipment for generating and picking covers of virtual article packages
CN111949116B (en) * 2019-05-16 2023-07-25 腾讯科技(深圳)有限公司 Method, device, terminal and system for picking up virtual article package and sending method
CN112184277B (en) * 2019-07-04 2023-06-16 腾讯科技(深圳)有限公司 Virtual article package transmitting and receiving method, device, equipment and storage medium
CN110728558B (en) * 2019-10-16 2023-06-06 腾讯科技(深圳)有限公司 Virtual package transmitting method, device, equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111698145A (en) * 2016-10-27 2020-09-22 财付通支付科技有限公司 Method, apparatus and medium for receiving and transmitting virtual package including voice
CN112308585A (en) * 2019-07-26 2021-02-02 腾讯科技(深圳)有限公司 Method, device and storage medium for realizing virtual resource distribution
CN112316439A (en) * 2020-11-06 2021-02-05 腾讯科技(深圳)有限公司 Article acquisition method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113010308A (en) 2021-06-22

Similar Documents

Publication Publication Date Title
CN112947823B (en) Session processing method, device, equipment and storage medium
CN113204298B (en) Method and device for displaying release progress, electronic equipment and storage medium
CN109327608B (en) Song sharing method, terminal, server and system
CN110061900B (en) Message display method, device, terminal and computer-readable storage medium
CN108959361B (en) Form management method and device
CN112764608B (en) Message processing method, device, equipment and storage medium
CN112749362B (en) Control creation method, device, equipment and storage medium
CN108734662B (en) Method and device for displaying icons
CN112825048B (en) Message reminding method and device, electronic equipment and storage medium
CN116304355B (en) Object-based information recommendation method and device, electronic equipment and storage medium
CN112870697A (en) Interaction method, device, equipment and medium based on virtual relationship formation program
CN112910752A (en) Voice expression display method and device and voice expression generation method and device
CN113722827A (en) CAD data creating method and device and computer storage medium
CN113010308B (en) Resource transfer method, device, electronic equipment and computer readable storage medium
CN112291133A (en) Method, device, equipment and medium for sending files across terminals
CN112311661B (en) Message processing method, device, equipment and storage medium
CN114327197B (en) Message sending method, device, equipment and medium
CN117573262A (en) Interface display method, interface customization method, device, equipment and storage medium
CN110852093A (en) Text information generation method and device, computer equipment and storage medium
HK40047309B (en) Resource transferring method and apparatus, electronic device, and computer readable storage medium
HK40047309A (en) Resource transferring method and apparatus, electronic device, and computer readable storage medium
CN115412518B (en) Expression sending method and device, storage medium and electronic equipment
CN114546188A (en) Interaction method, device and equipment based on interaction interface and readable storage medium
CN112596810A (en) Loading prompt information display method and device, electronic equipment and storage medium
CN112311652A (en) Message sending method, device, terminal and storage medium

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40047309

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载