Virtual resource transfer method, terminal, server, electronic equipment and storage medium
By displaying the resource editing interface and mini-program messages to be obtained, the virtual resource transfer process is simplified, the cumbersome problem of virtual resource transfer in the existing technology is solved, and direct virtual resource transfer across the organizational structure is realized, and efficiency is improved.
Patent Information
- Application Number
- CN202310556164.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-16
- Publication Date
- 2024-11-22
AI Technical Summary
In the prior art, the virtual resource transfer process is cumbersome, and the virtual asset transfer party needs to log in to the payment program, resulting in complex processes.
Provide a virtual resource transfer method, by displaying the resource editing interface and mini program messages to be obtained, allowing the first account and the second account to directly request and confirm the virtual resource transfer between different organizational structures, omitting the establishment of a friend relationship between payment program step.
The virtual resource transfer process is simplified, efficiency is improved, and the object of virtual resource transfer is the organizational structure of the first account, realizing the purpose of transferring virtual resources to the public without establishing a payment program relationship across the organizational structure.
Smart Images

Figure CN119005965A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a virtual resource transfer method, terminal, server, electronic device and storage medium. Background Art
[0002] In the related art, some programs provide the function of cross-organizational structure conversation, where two or more parties in the conversation belong to different organizational structures.
[0003] When the interlocutors want to obtain virtual resources across organizational structures, the two parties usually need to first establish a friendship in another payment program (which provides a payment interface for payment), and then the virtual asset acquirer sends a virtual resource acquisition message to the virtual asset transferor's account in the other program. The virtual resource acquirer triggers the message in the other program and completes the payment.
[0004] Since the virtual resource transfer process of the related technology requires the virtual asset transferor to log in to the payment program additionally, the process is relatively cumbersome. Summary of the invention
[0005] The embodiments of the present application provide a virtual resource transfer method, terminal, server, electronic device, storage medium and computer program product, which can solve the above-mentioned problems of the prior art. The technical solution is as follows:
[0006] According to a first aspect of an embodiment of the present application, a virtual resource transfer method is provided, which is applied to a first terminal running a host program and a target applet, and a first account logs in to the host program of the first terminal, and the method includes:
[0007] In response to a preset operation on the target applet, an editing interface for resources to be acquired for a second account is displayed, where the second account is an account that logs into the host program of the second terminal and belongs to a different organizational structure than the first account, and the editing interface for resources to be acquired includes an edit box for editing the value of the virtual resource to be acquired and a confirmation control for indicating initiation of virtual resource transfer;
[0008] In response to the triggering operation on the confirmation control, a mini-program message of the target mini-program is displayed on the session interface of the session with the second account, and the mini-program message is used to instruct the second account to transfer the virtual resources of the value to the organizational structure of the first account.
[0009] According to a second aspect of an embodiment of the present application, a virtual resource transfer method is provided, which is applied to a second terminal running a host program and a target applet, and a second account logs in to the host program of the second terminal, and the method includes:
[0010] Displaying a conversation interface with the first account, the conversation interface including a mini-program message of the target mini-program, the first account is an account that logs into the host program of the first terminal and is in a cross-organizational structure with the second account, and the mini-program message is used to instruct the second account to transfer a virtual resource of a preset value to the organizational structure of the first account;
[0011] In response to a trigger operation on the mini-program message, displaying a resource transfer prompt interface, the resource transfer prompt interface including at least one of account information of the first account, architecture information of the organizational structure of the first account, a value of the virtual resource to be transferred, and a payment control;
[0012] In response to a trigger operation on the payment control, a payment interface of the payment program is displayed to transfer virtual resources, and the second account has a binding relationship with a third account logged in by the payment program.
[0013] According to a third aspect of an embodiment of the present application, a virtual resource transfer method is provided, which is applied to a host program server, and the method includes:
[0014] Obtaining virtual resource acquisition information sent by the first terminal, the first terminal running a host program and a target applet, the first account logging into the host program of the first terminal, the virtual resource acquisition information including at least one of a value of the virtual resource to be acquired, account information of the first account, architecture information of an organizational structure where the first account is located, and account information of the second account, and the second account logging into the host program of the second terminal;
[0015] In response to the resource acquisition information, generate an information identifier of the virtual resource acquisition information and a mini-program message, the mini-program message being used to instruct the second account to transfer the virtual resource of value to the organizational structure of the first account;
[0016] The mini-program message is sent to the first terminal and the second terminal, so that the first terminal and the second terminal display the mini-program message on the session interface of the session between the first account and the second account.
[0017] According to a fourth aspect of an embodiment of the present application, a first terminal is provided, the first terminal runs a host program and a target applet, a first account logs in to the host program of the first terminal, and the first terminal includes:
[0018] A resource editing module, for displaying a resource editing interface for a second account in response to a preset operation on a target mini-program, wherein the second account is an account of a host program that logs into the second terminal and belongs to a different organizational structure than the first account, and the resource editing interface includes an edit box for editing the value of the virtual resource to be acquired and a confirmation control for indicating initiation of a virtual resource transfer;
[0019] A message display module is used to respond to a trigger operation on a confirmation control and display a mini-program message of the target mini-program in a conversation interface with a second account, wherein the mini-program message is used to instruct the second account to transfer numerical virtual resources to the organizational structure of the first account.
[0020] According to a fifth aspect of an embodiment of the present application, a second terminal is provided, the second terminal runs a host program and a target applet, a second account logs in to the host program of the second terminal, and the second terminal includes:
[0021] An interface display module, used to display a conversation interface with the first account, the conversation interface includes a mini-program message of the target mini-program, the first account is a host program that logs into the first terminal and has a cross-organizational structure with the second account, and the mini-program message is used to instruct the second account to transfer a virtual resource of a preset value to the organizational structure of the first account;
[0022] a prompt module, configured to display a resource transfer prompt interface in response to a trigger operation on a mini-program message, wherein the resource transfer prompt interface includes at least one of account information of the first account, architectural information of the organizational structure of the first account, a value of the virtual resource to be transferred, and a payment control;
[0023] The payment module is used to respond to the trigger operation on the payment control and display the payment interface of the payment program to transfer the virtual resources. The second account is bound to the third account logged in by the payment program.
[0024] According to a sixth aspect of an embodiment of the present application, a host program server is provided, including:
[0025] an information acquisition module, configured to acquire virtual resource acquisition information sent by a first terminal, the first terminal running a host program and a target applet, the first account logging into the host program of the first terminal, the virtual resource acquisition information including at least one of a value of the virtual resource to be acquired, account information of the first account, architecture information of an organizational structure where the first account is located, and account information of a second account, and the second account logging into the host program of the second terminal;
[0026] An identification creation module, used to generate an information identification of virtual resource acquisition information and a mini-program message in response to the resource acquisition information, wherein the mini-program message is used to instruct the second account to transfer the virtual resources of the value to the organizational structure of the first account;
[0027] The message sending module is used to send the mini-program message to the first terminal and the second terminal, so that the first terminal and the second terminal display the mini-program message on the session interface of the first account and the second account session.
[0028] According to the seventh aspect of an embodiment of the present application, an electronic device is provided, which includes a memory, a processor and a computer program stored in the memory, and the processor executes the computer program to implement the steps of the virtual resource transfer method provided in any one of the first to third aspects.
[0029] According to an eighth aspect of an embodiment of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the virtual resource transfer method provided in any one of the first to third aspects are implemented.
[0030] According to a ninth aspect of an embodiment of the present application, a computer program product is provided, which includes a computer program, and when the computer program is executed by a processor, the steps of the virtual resource transfer method provided in any one of the first to third aspects are implemented.
[0031] The beneficial effects of the technical solution provided by the embodiment of the present application are:
[0032] In response to the preset operation on the target mini program, an editing interface for resources to be acquired for the second account is displayed. The second account is the host program that logs in to the second terminal and is an account across the organizational structure of the first account. The editing interface for resources to be acquired includes an edit box for editing the numerical value of the virtual resources to be acquired and a confirmation control for indicating the initiation of a virtual resource transfer, thereby achieving the effect of directly requesting the transfer of virtual resources to an account across organizational structures. In response to the trigger operation on the confirmation control, the mini program message of the target mini program is displayed in the conversation interface of the conversation with the second account, so that the users corresponding to the first account and the second account can see the mini program message, thereby laying the foundation for the second account (the virtual resource transferor) to quickly transfer virtual resources. It should be noted that the object of the virtual resource transfer is the organizational structure of the first account, not the first account. That is, the present application achieves the purpose of transferring virtual resources to the public, and there is no need to establish a friend relationship with the payment program when transferring virtual resources across organizational structures, thereby improving the efficiency of virtual resource transfer. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in describing the embodiments of the present application are briefly introduced below.
[0034] Figure 1 A schematic diagram of the structure of a computer system provided in an embodiment of the present application;
[0035] Figure 2a A flowchart of a virtual resource transfer method provided in an embodiment of the present application;
[0036] Figure 2b A schematic diagram of an editing interface for resources to be acquired according to an embodiment of the present application;
[0037] Figure 2c An interactive schematic diagram of an editing interface for resources to be acquired according to another embodiment of the present application;
[0038] Figure 2d A schematic diagram of a conversation interface for a conversation between a first account and a second account shown in an embodiment of the present application;
[0039] Figure 3a A schematic diagram of a contact interface of a host program for logging in with a first account provided in an embodiment of the present application;
[0040] Figure 3b A schematic diagram of the home page of a target applet provided in an embodiment of the present application;
[0041] Figure 3c A schematic diagram of a conversation interface for a conversation between a first account and a second account shown in another embodiment of the present application;
[0042] Figure 3d A schematic diagram of a virtual resource statistics interface shown in an embodiment of the present application;
[0043] Figure 3e A schematic diagram of a virtual resource acquisition record interface shown in an embodiment of the present application;
[0044] Figure 3f A schematic diagram of a process for querying virtual resource acquisition records provided in an embodiment of the present application;
[0045] Figure 4a A flowchart of a virtual resource transfer method provided in an embodiment of the present application;
[0046] Figure 4b A schematic diagram of the operation of a resource transfer prompt interface provided in an embodiment of the present application;
[0047] Figure 4c An operation diagram of a resource transfer prompt interface provided by another embodiment of the present application;
[0048] Figure 4d A schematic diagram of displaying a banner in a conversation interface provided in an embodiment of the present application;
[0049] Figure 4e A schematic diagram of the banner interaction logic provided in an embodiment of the present application;
[0050] Figure 4f An overall process interaction diagram of virtual resource transfer provided in an embodiment of the present application;
[0051] Figure 5aA flowchart of a virtual resource transfer method provided in an embodiment of the present application;
[0052] Figure 5b A schematic diagram of interaction for a virtual resource transferor to perform resource transfer provided in an embodiment of the present application;
[0053] Figure 6a A schematic diagram of the structure of a first terminal provided in an embodiment of the present application;
[0054] Figure 6b A schematic diagram of the structure of a second terminal provided in an embodiment of the present application;
[0055] Figure 6c A schematic diagram of the structure of a host program server provided in an embodiment of the present application;
[0056] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0057] The embodiments of the present application are described below in conjunction with the drawings in the present application. It should be understood that the implementation methods described below in conjunction with the drawings are exemplary descriptions for explaining the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions of the embodiments of the present application.
[0058] It will be understood by those skilled in the art that, unless specifically stated, the singular forms "one", "an" and "the" used herein may also include plural forms. It should be further understood that the terms "including" and "comprising" used in the embodiments of the present application refer to that the corresponding features can be implemented as the presented features, information, data, steps, operations, elements and / or components, but do not exclude the implementation as other features, information, data, steps, operations, elements, components and / or combinations thereof supported by the technical field. It should be understood that when we call an element "connected" or "coupled" to another element, the one element can be directly connected or coupled to the other element, or it can refer to that the one element and the other element establish a connection relationship through an intermediate element. In addition, the "connection" or "coupling" used here may include wireless connection or wireless coupling. The term "and / or" used here indicates at least one of the items defined by the term, for example, "A and / or B" can be implemented as "A", or as "B", or as "A and B".
[0059] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0060] First, several terms involved in this application are introduced and explained:
[0061] Mini Program: An application that can be used without downloading and installing. Although the mini program does not need to be downloaded and installed, it requires a host program to provide an operating environment.
[0062] User Interface (UI) controls: refers to any visual controls or elements that can be seen on the user interface of an application, such as images, input boxes, text boxes, buttons, labels and other controls. Some UI controls respond to user operations. For example, when a user clicks on the invitation portal, a game invitation message can be sent to the server.
[0063] Conversation (Conversation, Conv): The carrier unit of WeChat Enterprise chat. There are many types of conversations. A conversation can be a single chat session (single User, one-to-one), a group chat session (a session containing multiple Users), etc.
[0064] Virtual resources: With the development of Internet technology, a variety of virtual resources have emerged, such as game equipment, game materials, game pets, icons, memberships, titles, value-added services, points, ingots, gold beans, gift certificates, redemption vouchers, discount coupons, greeting cards, etc.
[0065] The virtual resource transfer method, device, electronic device, computer-readable storage medium and computer program product provided in the present application are intended to solve the above technical problems in the prior art.
[0066] The following describes several exemplary embodiments to illustrate the technical solutions of the embodiments of the present application and the technical effects produced by the technical solutions of the present application. It should be noted that the following embodiments can refer to, draw on or combine with each other, and the same terms, similar features and similar implementation steps in different embodiments will not be described repeatedly.
[0067] Figure 1 The structural diagram of a computer system provided by an embodiment of the present application is exemplarily shown. Figure 1 As shown, the computer system 100 may be an instant messaging system, a news push system, a shopping system, an online video system, a social application for aggregating people based on topics, channels, or circles, or other application systems with social attributes, which is not limited in the embodiments of the present application.
[0068] The computer system 100 includes: a first terminal 120, a server cluster 140, and a second terminal 160. The first terminal 120 and the second terminal 160 can be a mobile phone, a tablet computer, an e-book reader, smart glasses, a smart watch, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 player (Moving Picture Experts Group Audio Layer IV), a notebook computer, a laptop computer, a desktop computer, etc.
[0069] Both the first terminal 120 and the second terminal 160 can install and run applications that support conversations. The application can be an instant messaging system, a news push system, a shopping system, an online video system, a social application that aggregates people based on topics, channels, or circles, or any other application system with social attributes. The first terminal 120 is a terminal used by the first user, and the application running in the first terminal 120 has a first account logged in. The second terminal 160 is a terminal used by the second user. The second account is logged in to the application of the second terminal 120.
[0070] The server cluster 140 includes at least one of a server, multiple servers, a cloud computing platform, and a virtualization center. The server cluster 140 is used to provide background services for applications that support sessions. Optionally, the server cluster 140 undertakes the main computing work, and the first terminal 120 and the second terminal 160 undertake the secondary computing work; or, the server cluster 140 undertakes the secondary computing work, and the first terminal 120 and the second terminal 160 undertake the main computing work; or, the server cluster 140, the first terminal 120, and the second terminal 160 adopt a distributed computing architecture to perform collaborative computing.
[0071] Optionally, the server cluster 140 includes: an access server 142 and an information server 144. The access server 142 is used to provide access services for the first terminal 120 and the second terminal 160, and the information server 144 is used to implement the transfer of the session between the first terminal 120 and the second terminal 160. The information server 144 can be one or more. When there are multiple information servers 144, there are at least two information servers 144 for providing different services, and / or there are at least two information servers 144 for providing the same service, such as providing the same service in a load balancing manner, which is not limited in the embodiments of the present application.
[0072] The first terminal 120 and the second terminal 160 may be connected to the server 140 via a communication network. Optionally, the communication network may be a wireless network or a wired network.
[0073] Optionally, the above-mentioned wireless network or wired network uses standard communication technology and / or protocol. The network is usually the Internet, but it can also be any network, including but not limited to a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), a mobile, wired or wireless network, a dedicated network or any combination of a virtual private network). In some embodiments, the data exchanged through the network is represented by technologies and / or formats including Hyper Text Mark-up Language (HTML), Extensible Markup Language (XML), etc. In addition, conventional encryption technologies such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), Internet Protocol Security (IPsec) can also be used to encrypt all or some links. In other embodiments, customized and / or dedicated data communication technologies can also be used to replace or supplement the above-mentioned data communication technologies.
[0074] Optionally, the first account and the second account are in a virtual social network, which may be provided by the same social platform or provided by multiple social platforms that have an associated relationship (such as an authorized login relationship). The embodiment of the present application does not limit the specific form of the virtual social network. Optionally, the first account and the second account may belong to the same team, the same group, the same organization, have a friend relationship, or have temporary communication permissions. Optionally, the first account and the second account may also be strangers. In short, the virtual social network provides a one-way message transmission path or a two-way message transmission path between the first account and the second account.
[0075] Optionally, the applications installed on the first terminal 120 and the second terminal 160 are the same, or the applications installed on the two terminals are the same type of applications on different operating system platforms, or the applications installed on the two terminals are different but support information exchange. Different operating systems include: Apple operating system, Android operating system, Linux operating system, Windows operating system, etc.
[0076] The first terminal 120 may generally refer to one of a plurality of terminals, and the second terminal 160 may generally refer to one of a plurality of terminals. In this embodiment, only the first terminal 120 and the second terminal 160 are used as examples for illustration.
[0077] Those skilled in the art can know that the number of the above terminals can be more or less. For example, the above terminal can be only one, or the above terminal can be dozens or hundreds, or a larger number. In this case, the above computer system also includes other terminals 180. When there are one or more other terminals 180 with a second account that has a friend relationship with the first account logged in. The embodiment of the present application does not limit the number of terminals and device types.
[0078] The embodiment of the present application provides a virtual resource transfer method, which is applied to a first terminal running a host program and a target applet, and a first account logs in to the host program of the first terminal, such as Figure 2a As shown, the method includes:
[0079] S201. In response to a preset operation on a target mini program, display an editing interface for resources to be acquired for a second account.
[0080] The host program in the embodiment of the present application is a program with a session function. The type of the program can be found in Figure 1 Examples of the host program include shopping programs, game programs, chat programs, etc., which are not specifically limited in the embodiments of the present application. In order to facilitate the description of the technical solution of the embodiments of the present application, each subsequent embodiment takes the host program as WeChat for Enterprise as an example. WeChat for Enterprise is a program used for corporate communication and office work.
[0081] The target applet of the embodiment of the present application is used to transfer virtual resources across organizational structures. Cross-organizational structures refer to the two parties of the virtual resource transfer belonging to different organizational structures. Taking WeChat for Enterprise as an example, different organizational structures may refer to different enterprises / units. When a WeChat account belonging to Enterprise A initiates a virtual resource transfer to a WeChat account belonging to Enterprise B, it is considered a virtual resource transfer across organizational structures.
[0082] In the embodiment of the present application, in response to the preset operation of the target applet, the editing interface of the resources to be acquired for the second account is displayed. The second account in the embodiment of the present application refers to the account of the host program that logs into the second terminal and crosses the organizational structure with the first account. In other words, the second account and the first account are both registered accounts of the host program, but the two accounts belong to different organizational structures. For example, the first account is the account of Zhang San, an employee of Company A in WeChat Enterprise, and the second account is the account of Li Si, an employee of Company B in WeChat Enterprise.
[0083] See also Figure 2b, which exemplarily shows a schematic diagram of the resource editing interface to be acquired in the embodiment of the present application. As shown in the figure, the interface includes an edit box 2011, a selection control 2012, and an association control 2013. The edit box 2011 is used to edit the value of the virtual resource to be acquired. The selection control 2012 is used to confirm whether the virtual resource transferor needs to provide contact information. The embodiment of the present application does not limit the specific form of the contact information, for example, it can be a telephone number, an email address, a registered account of other conversation programs, etc. When the selection control 2012 is activated, it means that the virtual resource transferor needs to provide contact information. When the selection control 2012 is in an inactive state, it means that the virtual resource transferor does not need to provide contact information. The association control 2013 is used to indicate the associated items when the resource is transferred. When the virtual resource transferor transfers the resource of the specified value, the associated items can be obtained. The embodiment of the present application does not limit the type of the item, which can be an actual item or a virtual item. The resource editing interface to be acquired also displays the information 2104 of the virtual resource acquirer, for the virtual resource acquirer to confirm that the virtual resource transferor transfers the virtual resource to the correct account.
[0084] Based on the above embodiments, as an optional embodiment, the resource editing interface to be acquired further includes a payment permission control, and the payment permission control is used to determine whether to enable the second account to instruct the fourth account to transfer the virtual resource of the value.
[0085] When the virtual asset acquirer turns on the payment permission control, it means that the payee allows the original virtual asset transferor corresponding to the second account to instruct the new virtual asset transferor to transfer the original value to the virtual asset acquirer. At this time, when the original virtual asset transferor corresponding to the second account triggers the mini-program message, you can see the payment activation control. The second terminal responds to triggering the payment activation control and starts the payment process. The subsequent embodiments of the present application will further explain how to start the payment process.
[0086] It is understandable that the fourth account is an account that has a friend relationship with the second account. In some embodiments, the embodiment of the present application can further display options for setting the conditions of the payee after triggering the payment permission control, such as whether the payee is required to be in the same organizational structure as the second account, whether the credit rating of the payee is required to be higher than the preset level, the number of times the payee is set (for example, set to 1, indicating that after the original virtual resource transferor sets the payee once, the original virtual resource transferor and the set payee cannot set a new payee again), so as to avoid the problem of low transfer success rate caused by the original virtual resource transferor arbitrarily setting the payee.
[0087] See also Figure 2c, which exemplarily shows an interactive schematic diagram of the resource editing interface to be acquired in another embodiment of the present application. As shown in the figure, the figure further adds a payment permission control 2016 on the basis of 2b. When the payment permission control 2016 is in an activated state, it means that the permission of the second account to instruct the fourth account to transfer the virtual resource of the value is enabled. When the payment permission control 2016 is in an inactive state, it means that the permission of the second account to instruct the fourth account to transfer the virtual resource of the value is not enabled. When the payment permission control 2016 is in an activated state, the resource editing interface to be acquired will also display a pop-up window 2017, which displays optional restrictions on the fourth account, such as the option that the payee must be in the same organizational structure as the second account, the option that the payee's credit rating is higher than the preset level, etc. When the virtual resources are set, click the completion control, the pop-up window disappears, and you can continue to set other items or click the confirmation control 2015 to initiate the virtual asset transfer. S202. In response to a trigger operation on a confirmation control, display a mini-program message of the target mini-program on a conversation interface with the second account, where the mini-program message is used to instruct the second account to transfer a virtual resource of a first value to the organizational structure of the first account.
[0088] In one embodiment, after the virtual resource acquirer edits the value of the virtual resource to be transferred in the edit box, the confirmation control is triggered, and the mini-program message of the target mini-program is displayed on the session interface of the session with the second account. If the virtual resource acquirer does not edit the value of the virtual resource to be transferred in the edit box, the confirmation control is triggered, and a prompt message is displayed, which can be used to indicate that the initiation of the virtual resource transfer is invalid and / or to instruct to edit the value of the virtual resource to be transferred.
[0089] by Figure 2b For example, when the virtual resource acquirer confirms that the value and other information have been edited, the confirmation control 2015 is clicked, and then the session interface of the first account and the second account session is jumped to, and the mini program message of the target mini program is displayed in the session interface. Please refer to Figure 2d , which exemplarily shows a schematic diagram of a conversation interface of a first account and a second account displayed in an embodiment of the present application. As shown in the figure, the position of the first account in the conversation interface - located on the left side of the conversation interface, it can be seen that the conversation interface is a conversation interface displayed by the first terminal, and the mini program message 2021 is displayed in the conversation interface as a conversation message sent by the first account. The mini program message displays the value of the virtual resource to be transferred, which facilitates the virtual resource transferor / virtual resource acquirer to intuitively know the value of the virtual resource to be acquired / transferred. The virtual resource acquirer enters the process of transferring virtual resources by triggering a preset operation on the mini program message, such as clicking, long pressing, etc.
[0090] The virtual resource transfer method of the embodiment of the present application is applied to a first terminal that runs a host program and a target applet. In response to a preset operation on the target applet, an editing interface for resources to be acquired for a second account is displayed. The second account is an account that logs into the host program of the second terminal and is across the organizational structure with the first account. The editing interface for resources to be acquired includes an edit box for editing the value of the virtual resource to be acquired and a confirmation control for indicating the initiation of a virtual resource transfer, thereby achieving the effect of directly requesting the transfer of virtual resources to an account across organizations. In response to the operation of editing the value of the virtual resource to be acquired in the edit box, an applet message of the target applet is displayed in the conversation interface with the second account, so that users corresponding to the first account and the second account can see the applet message, thereby laying the foundation for the second account (the virtual resource transferor) to quickly transfer virtual resources. It should be noted that the object of the virtual resource transfer is the organizational structure of the first account, not the first account. That is, the present application achieves the purpose of transferring virtual resources to the public, and there is no need to establish a friend relationship with the payment program when transferring virtual resources across organizational structures, thereby improving the efficiency of virtual resource transfer.
[0091] In WeChat for Business, for companies that have cooperative relationships and frequent transaction needs, such as companies in the upstream and downstream of the supply chain and procurement relationships, reliable and convenient transfer transactions between companies are the basis for cooperation. The embodiment of the present application can quickly operate in the conversation window of WeChat for Business, and directly initiate a mini-program message for receiving payment to the contacts of other companies. The virtual resource transferor can also view the information of the virtual resource acquirer after opening the target mini-program within WeChat for Business, and can quickly complete the transfer of virtual resources based on its bound WeChat identity. The virtual resource acquirer can view the detailed information of the virtual resource transferor in the target mini-program, and conduct unified and reliable management, greatly improving the communication and transaction efficiency across enterprises.
[0092] On the basis of the above embodiments, as an optional embodiment, the embodiment of the present application provides a variety of display of the editing interface of resources to be acquired for the second account. One is to start the target mini program and display multiple accounts to the virtual resource acquirer, so that the virtual resource acquirer can determine the second account corresponding to the virtual resource transferor from the multiple accounts to display the editing interface of resources to be acquired for the second account; the other is to provide the payment control of the target mini program in the conversation interface with the second account, and the virtual resource acquirer can directly jump to the editing interface of resources to be acquired for the second account by triggering the preset operation of the payment control.
[0093] See also Figure 3a, which exemplarily shows a schematic diagram of the contact interface of the host program logged in by the first account of an embodiment of the present application. As shown in the figure, multiple contacts 3011 of the first account are displayed in the contact interface. The virtual resource acquirer triggers a preset operation on the contact interface, such as sliding down, to display the start controls of multiple available mini-programs 3012. The multiple mini-programs include a target mini-program 3013. By selecting the target mini-program 3013, the homepage of the target mini-program is entered.
[0094] See also Figure 3b It can be seen that the homepage of the target applet displays prompt information 3021, which is used to inform the virtual resource acquirer of the main function of the target applet. The acquired virtual resources will be deposited into the account of the organizational structure, not the account of the first account. The homepage also displays a payment object selection control 3022 and a check control 3023 for viewing the virtual resource acquisition record. The virtual resource acquirer displays the identifiers of multiple session objects by clicking the payment object selection control 3022. Since the target applet of the embodiment of the present application is used to transfer virtual resources across organizational structures, the displayed session objects are all cross-organizational session objects.
[0095] In some embodiments, the first terminal obtains a contact information set of the first account in response to a click on the payment object selection control 3022, where the contact information set includes account information of multiple contacts, and the account information of each contact includes organizational structure information of the corresponding contact. By comparing the organizational structure of the first account with the organizational structure information of each contact in the contact information set, the account information of the contacts that are inconsistent with the organizational structure of the first account is screened out for display, so that the user can transfer virtual resources across organizational structures.
[0096] It should be noted that the contact person in the embodiment of the present application may refer to a single contact person or a contact group, that is, the embodiment of the present application supports sending mini program messages to a group session. In the embodiment of the present application, in response to clicking on the payment object selection control 3022, if the identification of multiple session objects displayed involves a session identification of a group session, then there is at least one contact person in the group session that is inconsistent with the organizational structure of the first account. The account of the contact person involved in the group session may include an account for logging into the host program, or may include an account of other programs logged into that have a cross-program session with the host program. For example, taking the host program as WeChat for Enterprise and the other program as WeChat, a group session joined by the first account on WeChat for Enterprise may include accounts of friends of WeChat for Enterprise, accounts of friends of WeChat, or even all accounts of friends of WeChat (this situation is also referred to as a group session of an external program in which the first account participates).
[0097] In some embodiments, the first terminal may locally obtain a set of contact information of the first account.
[0098] In other embodiments, the first terminal can obtain a set of contact information of the first account from the host program server. Specifically, the first terminal sends a cross-organization contact acquisition request to the host program server. The cross-organization contact acquisition request is used to request account information of contacts that are inconsistent with the organizational structure of the first account. The cross-organization contact acquisition request includes at least one of the account identifier of the first account and the architectural information of the organizational structure of the first account.
[0099] Based on the received cross-organization contact acquisition request, the host program server queries the account information of the contacts involved in each session record of the first account according to the account identifier of the first account. It should be understood that the embodiment of the present application may only retain the account information of the contacts involved in the session record in the host program server, and does not retain the session content involved in the session record. In some embodiments, the session content involved in the session record will only be retained when the user of the host program obtains permission to save the session content involved in the session record in the cloud.
[0100] In some embodiments, when the host program logged in by the first account supports cross-program conversations, taking the host program as WeChat for Enterprise as an example, the WeChat for Enterprise account supports conversations with WeChat accounts, and the host program server can also query whether there is contact information of contacts for cross-program conversations in the local or other program servers based on the account information of the first account. In the embodiment of the present application, the other program servers may include payment program servers, that is, the embodiment of the present application supports the first account to have conversations with contacts of the payment program through the host program.
[0101] After obtaining the contact information set, the host program server of the embodiment of the present application compares the organizational structure of the first account with the organizational structure information of each contact in the contact information set, filters out the account information of the contacts that are inconsistent with the organizational structure of the first account and returns it to the first terminal, so that the first terminal displays the account information of the contacts that are inconsistent with the organizational structure of the first account.
[0102] It should be emphasized that in the specific implementation of this application, user information, session information and other related data are involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0103] After the virtual resource acquirer selects the account of the virtual resource transferor from the identifiers of multiple session objects, the following information can be displayed: Figure 2b The editing interface of the resources to be acquired is shown.
[0104] That is, in response to a preset operation on the target applet, the embodiment of the present application displays an editing interface for resources to be acquired for the second account, including:
[0105] In response to a start trigger operation on a target mini-program, a payment recipient selection control is displayed;
[0106] In response to a trigger operation on a payment recipient selection control, displaying an account identifier of at least one account belonging to a different organizational structure than the first account, wherein the at least one account includes the second account;
[0107] In response to the selection operation of the account identification of the second account, an editing interface for resources to be acquired for the second account is displayed.
[0108] See also Figure 3c , which exemplarily shows a schematic diagram of a conversation interface of another embodiment of the present application. As shown in the figure, the conversation interface includes a conversation message display area 3031 and a conversation message editing area 3032. In addition, the embodiment of the present application provides a control display area 3033 for quickly launching a mini-program between the conversation message display area 3031 and the conversation message editing area 3022. The space display area displays controls for the core functions of multiple mini-programs. For example, this schematic diagram displays controls for the core functions of three mini-programs, namely, a quick reply control, a recommended customer service control, and a payment control. Among them, the quick reply control is a core function of a mini-program, which can quickly reply to messages. If the quick reply control is operated, some message templates will be displayed, such as "Wait a moment, I will contact you later", "I am in a meeting", and "That makes sense, please continue". The recommended customer service control is a core function of another mini-program, which can quickly transfer the conversation object to the customer service of the organizational structure where the first account is located, and the customer service and the conversation object continue to communicate. The payment control is the core function of the target applet of this application. By selecting the payment control, you will directly jump to the editing interface of the resources to be acquired for the conversant, that is, the editing interface of the resources to be acquired for the second account, omitting the operation of selecting the account ID of the virtual resource transferor from the account IDs of multiple conversants.
[0109] In some embodiments, the first terminal of the embodiment of the present application will only display the above-mentioned payment control in the session interface when it is determined that the session object involved in the session interface belongs to an account with a different organizational structure from the first account, which is beneficial for the virtual resource acquirer to enhance the perception of the target applet. It should be understood that the session object described in the embodiment of the present application belongs to an account with a different organizational structure from the first account number, which means that for a single session, the session object of the single session belongs to an account with a different organizational structure from the first account number, and for a group session, the organizational structure of at least one session object in the group session is different from the organizational structure of the first account number.
[0110] That is, in response to a preset operation on the target applet, the embodiment of the present application displays an editing interface for resources to be acquired for the second account, including:
[0111] Displaying a conversation interface with the second account, where the conversation interface includes a payment collection control of the target mini program;
[0112] In response to the selection operation on the payment collection control, an editing interface for resources to be obtained for the second account is displayed.
[0113] Based on the above embodiments, as an optional embodiment, in response to the start trigger operation for the target applet, it further includes: displaying an account checking control. That is to say, when starting the target applet, in addition to providing the virtual resource acquirer with the function of selecting the virtual resource transferor, the embodiment of the present application also provides the function of viewing the historical virtual resource transfer records.
[0114] The method of the embodiment of the present application also includes:
[0115] In response to a trigger operation on the account checking control, at least one virtual resource acquisition record is displayed, each virtual resource acquisition record includes an account number of the virtual resource transferor logged in to the host program and the value of the transferred virtual resource, and the account number of the virtual resource transferor logged in to the host program and the first account cross the organizational structure;
[0116] In response to a selection operation on a target virtual resource acquisition record in at least one virtual resource acquisition record, virtual resource acquisition information associated with the target virtual resource acquisition record is displayed, and the virtual resource acquisition information includes at least one of the numerical value of the virtual resource to be acquired, the account information of the first account, the architectural information of the organizational structure of the first account, and the account information of the account used by the virtual resource transferor to log in to the host program.
[0117] It should be noted that since the target mini program of the embodiment of the present application is used for virtual resource transfer across organizational structures, when the target mini program displays the virtual resource acquisition record, the account of the virtual resource transferor corresponding to the virtual resource acquisition record logged in by the host program and the first account belong to different organizational structures.
[0118] The content of the virtual resource acquisition record shown in the embodiment of the present application is intuitive and concise, including the account number of the virtual resource transferor logged in the host program and the value of the transferred virtual resource. In some embodiments, it can further include the organizational structure of the account number logged in the host program by the virtual resource transferor.
[0119] In addition, the embodiment of the present application also provides the virtual resource acquirer with the function of viewing the details of the virtual resource transfer, specifically by responding to the selection operation of the target virtual resource acquisition record, displaying the virtual resource acquisition information associated with the target virtual resource acquisition record, the virtual resource acquisition information including the value of the virtual resource to be acquired, the account information of the first account, the architectural information of the organizational structure of the first account and at least one of the account information of the account used by the virtual resource transferor to log in to the host program.
[0120] See also Figure 3d , which exemplarily shows a schematic diagram of a virtual resource statistics interface displayed in an embodiment of the present application, the virtual resource statistics interface is responsive to, for example, Figure 3b The trigger operation of the check account control 3023 shown in the figure shows that the virtual resource statistics interface includes an account display control 3041 for displaying the account of the organizational structure of the first account, a display area 3042 for the acquisition quantity of virtual resources in a specified time interval, and when the virtual resource acquirer clicks the account display control 3041, the account of the organizational structure of the first account is displayed. The display area 3032 includes a control 3043 for adjusting the time interval. The embodiment of the present application can provide an adjustment range of at least one of a natural day, a week, a month, a quarter, a half year, and a year, so that the virtual resource acquirer can fully understand the value of the virtual resources acquired in different time intervals. The display area 3042 also includes a record control 3044. When the virtual resource acquirer clicks the record control 3044, it will jump to the virtual resource acquisition record interface. The virtual resource statistics interface also includes a display area 3045 for displaying the acquisition of virtual resources of colleagues in the same organizational structure. By displaying the acquisition of virtual resources of colleagues, users can be encouraged to find ways to obtain more virtual resources.
[0121] like Figure 3e As shown, the virtual resource acquisition record interface displays multiple virtual resource acquisition records, each of which includes an account 3051 logged in by the virtual resource transferor in the host program and the value of the transferred virtual resource 3052. When the virtual resource transferor clicks on any virtual resource acquisition record, detailed information of the virtual resource acquisition record will be displayed, that is, virtual resource acquisition information managed by the virtual resource acquisition record, such as transfer status, transfer time, information identifier, account and business name of the organizational structure of the first account.
[0122] Based on the above embodiments, as an optional embodiment, in response to the triggering operation on the confirmation control, the mini program message is displayed on the conversation interface with the second account, including:
[0123] In response to a trigger operation on a confirmation control, determining virtual resource acquisition information, the virtual resource acquisition information including at least one of a value of the virtual resource to be acquired, account information of the first account, structure information of an organizational structure where the first account is located, and account information of the second account;
[0124] Sending virtual resource acquisition information to a host program server, so that the host program server creates an information identifier of the virtual resource acquisition information and a small program message, wherein the small program message includes the information identifier and a value;
[0125] Receive and display applet messages sent by the host program server.
[0126] The embodiment of the present application determines virtual resource acquisition information in response to a trigger operation after a confirmation control is edited in a value in an edit box. The virtual resource acquisition information of the embodiment of the present application may include the value of the virtual resource to be acquired, the account information of the first account, the account information of the second account, and the architecture information of the organizational structure where the first account is located, wherein the account information of the first account may be a unique identifier of the first account, and the architecture information of the organizational structure where the first account is located may be a merchant number or account of the organizational structure, so that the second account transfers the virtual resource to the account of the organizational structure.
[0127] The host program server in the embodiment of the present application refers to a server that provides services for the host program. The first terminal sends virtual resource acquisition information to the host program server, so that the host program server stores the virtual resource acquisition information and creates an information identifier for the virtual resource acquisition information. The host program server also needs to create a mini-program message and send the mini-program message to the first terminal and the second terminal, so that the first terminal and the second terminal display the mini-program message in the session interface of the first account and the second account session.
[0128] The mini-program message of the embodiment of the present application includes an information identifier and a value. The purpose of recording the information identifier is to facilitate the two terminals to provide credentials for subsequent data acquisition, and the purpose of recording the value is to enable the virtual resource acquirer / virtual resource transferor to intuitively understand the value of the virtual resource to be acquired / transferred. Figure 2c As shown, the applet message may only display the value of the virtual resource that needs to be transferred, but not the information identifier, which is stored in the two terminals.
[0129] Based on the above embodiments, as an optional embodiment, in response to a trigger operation on the audit control, at least one virtual resource acquisition record is displayed, including:
[0130] In response to a trigger operation on the account checking control, the account information of the first account is sent to the host program server, so that the host program server queries at least one virtual resource acquisition information related to the first account, the account of the virtual resource transferor in the virtual resource acquisition information logged in by the host program and the first account belong to different organizational structures, and the account of the virtual resource transferor in the virtual resource acquisition information logged in by the host program and the value of the transferred virtual resource are returned;
[0131] At least one virtual resource acquisition record is generated and displayed according to the account of the virtual resource transferor logged in to the host program and the value of the transferred virtual resource in the at least one virtual resource acquisition information.
[0132] In response to a trigger operation on an account checking control, an embodiment of the present application sends account information of a first account to a host program server. Since each virtual resource acquisition information stored by the host program server includes account information of an account of a virtual resource payee logged into the host program, at least one related virtual resource acquisition information can be determined based on the account information of the first account, and virtual resource acquisition information in which the account of a virtual resource transferor logged into the host program and the first account belong to different organizational structures can be further screened out, and the account of the virtual resource transferor logged into the host program and the value of the transferred virtual resources in the virtual resource acquisition information are returned to the first terminal. The first terminal generates and displays at least one virtual resource acquisition record based on the account of the virtual resource transferor logged into the host program and the value of the transferred virtual resources in at least one virtual resource acquisition information.
[0133] Based on the above embodiments, as an optional embodiment, when the host program server returns the account number of the virtual resource transferor logged in to the host program and the value of the transferred virtual resource in the virtual resource acquisition information to the first terminal, it also returns the information identifier of the virtual resource acquisition information.
[0134] In response to a selection operation on a target virtual resource acquisition record in at least one virtual resource acquisition record, displaying virtual resource acquisition information associated with the target virtual resource acquisition record includes:
[0135] Sending an information identifier of the target virtual resource acquisition record to the host program server, so that the host program server determines the corresponding virtual resource acquisition information according to the information identifier, and sends the virtual resource acquisition information to the first terminal;
[0136] Displays the virtual resource acquisition information associated with the target virtual resource acquisition record.
[0137] See also Figure 3f, which exemplarily shows a flow chart of querying virtual resource acquisition records provided by an embodiment of the present application, as shown in the figure, including:
[0138] The virtual resource acquirer may initiate a request to view the virtual resource acquisition record on the mobile terminal, PC (computer) terminal or Web (webpage) terminal of the host program, and the request includes the account information of the first account;
[0139] The host program server queries at least one related reference virtual resource to obtain information according to the account information of the first account;
[0140] For each reference virtual resource acquisition information, determine whether the account of the virtual resource transferor logged in by the host program of the reference virtual resource acquisition information and the first account belong to different organizational structures. If so, use the reference virtual resource acquisition information as the virtual resource acquisition information related to the first account, and query the information identifier of the virtual resource acquisition information, the account of the virtual resource transferor logged in by the host program, and the value of the transferred virtual resource as a virtual resource acquisition record;
[0141] The host program server returns at least one virtual resource acquisition record to the first terminal;
[0142] The virtual resource acquirer selects any target virtual resource acquisition record, and the first terminal sends the information identifier of the target virtual resource acquisition record to the host program backend;
[0143] The host program backend returns the corresponding virtual resource acquisition information to the first terminal according to the information identifier, so that the first terminal can display it.
[0144] The embodiment of the present application also provides a virtual resource transfer method, which is applied to a second terminal running a host program and a target applet, and a second account logs in to the host program of the second terminal, such as Figure 4a As shown, the method includes:
[0145] S4011. Display a conversation interface with the first account, where the conversation interface includes a mini-program message of the target mini-program.
[0146] The first account in the embodiment of the present application is the host program that logs into the first terminal and is an account that crosses the organizational structure with the second account. The mini program message is used to instruct the second account to transfer a virtual resource of a value to the organizational structure of the first account. The present application instructs the second account to transfer a virtual resource of a specified value to the organizational structure of the first account through the mini program message, thereby realizing the transfer of virtual resources to the public.
[0147] S4012. In response to a trigger operation on the mini-program message, a resource transfer prompt interface is displayed, wherein the resource transfer prompt interface includes account information of the first account, architectural information of the organizational structure of the first account, values of virtual resources to be transferred, and at least one of payment controls.
[0148] The information displayed by the mini-program message of the embodiment of the present application is relatively simple, which can be the value of the virtual resource to be transferred. When the virtual resource transferor triggers the preset operation on the mini-program message on the second terminal, the specific information of the virtual resource to be transferred is displayed, such as the account information of the first account, the structure information of the organizational structure where the first account is located, the value of the virtual resource to be transferred (that is, the preset value mentioned above) and the payment control, to help the virtual resource transferor intuitively understand the information of the virtual resource to be transferred.
[0149] S4013. In response to the triggering operation on the payment control, display the payment interface of the payment program to transfer virtual resources.
[0150] When the virtual resource transferor triggers a preset operation on the payment control, such as single-click, double-click, long press, etc., the embodiment of the present application displays the payment interface of the payment program. The virtual resource transferor completes the payment by entering the payment password on the payment interface or verifying physiological characteristics - such as fingerprints, irises, facial features, etc.
[0151] It should be noted that the payment program in the embodiment of the present application refers to a program with a payment function, rather than a program with only a payment function, which can specifically be a game program, a web traffic application, a multimedia application, a conversation application, etc., and the embodiment of the present application does not make specific limitations. In one embodiment, the payment program in the embodiment of the present application is WeChat, that is, when the virtual resource transferor uses WeChat for Enterprise to receive a mini-program message to determine that a virtual resource transfer is required, WeChat is called to transfer the virtual resources.
[0152] In the embodiment of the present application, the payment program running on the second terminal logs in to the third account, and the second account is bound to the third account in advance. When the binding relationship is established in advance, the host program can call the payment interface of the payment program. It should be noted that the embodiment of the present application only requires the second account to establish a binding relationship with the third account in advance, and does not require the first account to establish a binding relationship with the third account, thereby achieving the purpose of fast virtual resource transfer.
[0153] See also Figure 4b, showing the operation diagram of the resource transfer prompt interface of the embodiment of the present application, the figure shows the account information 4201 of the first account, the architecture information 4202 of the organizational structure where the first account is located, the preset value 4203 and the payment control 4204. When the payment control 4204 is clicked, the information 4205 of the virtual resource acquirer is further displayed, such as the architecture information of the organizational structure of the first account in the figure, for the virtual resource transferor to confirm twice. After the virtual resource transferor confirms twice, it jumps to the payment interface 4206 of the payment program. The payment requires the virtual resource transferor to enter the payment password of the payment program. After the payment password is correctly entered, the payment success message 4207 is displayed.
[0154] Based on the above embodiments, as an optional embodiment, see Figure 4c ,exist Figure 4b On the basis of the resource transfer prompt interface shown, the resource transfer prompt interface of the embodiment of the present application further includes a payment activation control 4207. In response to the operation of triggering the payment activation control 4207, a payment account selection interface 4208 is displayed. The payment account selection interface 4208 displays at least one account that meets the preset conditions of the virtual resource acquisition party. In the present application, since the virtual resource acquisition party sets the payment party to be in the same organizational structure as the second account, the payment account selection interface 4208 displays accounts in the same organizational structure as the second account. When the virtual resource transferor corresponding to the second account selects the payment party's account (the fourth account), the mini program message will be displayed on the conversation interface between the second account and the fourth account. The mini program message is used to instruct the fourth account to transfer the specified value of virtual resources to the organizational structure of the first account instead of the second account.
[0155] Based on the above embodiments, as an optional embodiment, the mini-program message includes an information identifier of the virtual resource acquisition information and a value of the virtual resource to be transferred.
[0156] It can be seen from the above embodiment that the information identifier of the virtual resource acquisition information in the embodiment of the present application is created and stored by the host program server according to the virtual resource acquisition information sent by the first terminal.
[0157] In response to a trigger operation on a mini-program message, the embodiment of the present application displays a resource transfer prompt interface, including:
[0158] In response to a trigger operation for the mini-program message, a first request is sent to a host program server, the first request is used to request virtual resource acquisition information, and the first request includes an information identifier, so that the host program server determines and returns at least one of the account information of the first account in the corresponding virtual resource acquisition information and the architecture information of the organizational structure where the first account is located according to the information identifier;
[0159] At least one of account information of the first account and architecture information of the organizational structure of the first account is obtained, and a resource transfer prompt interface is generated and displayed.
[0160] The embodiment of the present application obtains at least one of the account information of the first account and the architectural information of the organizational structure of the first account returned by the host program server, creates a payment control, displays the account information of the first account, the architectural information of the organizational structure of the first account, the value of the virtual resource to be transferred, and at least one of the payment controls, thereby providing conditions for the virtual resource transferor to fully understand the virtual resource acquirer and perform virtual resource transfer.
[0161] Based on the above embodiments, as an optional embodiment, when the second account has not completed the transfer of virtual resources after the mini-program message has been sent to the second account for a preset period of time, the mini-program message can be displayed again on the conversation interface between the first account and the second account to remind the virtual resource transferor corresponding to the second account to complete the virtual resource transfer as soon as possible.
[0162] The host program server of the embodiment of the present application starts a timer after sending a mini program message to the second terminal. If the virtual resource transfer result is still not queried from the payment program server after the timing reaches a preset time, the mini program message is sent to the second terminal again, so that the interface of the conversation between the first account and the second account displayed on the second terminal is displayed. When the embodiment of the present application repeatedly sends the mini program message to remind the second terminal to transfer the virtual resource, the mini program message may not be repeatedly sent to the first terminal to avoid increasing the anxiety of the virtual resource acquirer.
[0163] Based on the above embodiments, as an optional embodiment, when the second account has not completed the transfer of virtual resources after the mini-program message is sent to the second account for a preset period of time, a banner can be displayed on the preset interface of the second terminal to remind the second account to transfer the virtual resources as soon as possible.
[0164] The preset interface of the embodiment of the present application may be an interface for a conversation between the first account and the second account, or any interface for a conversation between the second account and other accounts, or may be the homepage of a host program, and the embodiment of the present application does not make any specific limitation thereto.
[0165] Banner is a common promotional method in online media. It is usually posted at the beginning of a page. It uses text, pictures or dynamic effects to convey promotional information to website visitors, and at the same time links the promotion to the relevant web pages of the promotion client to achieve the effect of promoting the website, product or service. The banner in the embodiment of the present application refers to the display bar with text links at the top of the conversation interface.
[0166] The banner is not a conversation message and will not become harder to find as the number of messages increases.
[0167] See also Figure 4d , which exemplarily shows a schematic diagram of displaying a banner in a conversation interface. It can be seen that the conversation interface is not a conversation interface between the first account and the second account, but a conversation interface of a chat group where the second account is located. The interface displays a banner 430, and the banner 430 includes a payment entry 4301. When the user triggers the payment entry 4301, it will jump to the following Figure 4b The resource transfer prompt interface shown.
[0168] See also Figure 4e , which exemplarily shows a schematic diagram of the banner interaction logic provided by the embodiment of the present application. As shown in the figure, the embodiment of the present application displays the operation entrance in the form of a banner in the conversation interface. The conversation interface includes two levels of sub-interfaces, in which the conversation message is displayed in the first sub-interface, and the banner belongs to the second level of the sub-interface. The banner is superimposed on the upper layer of the first sub-interface. The contents displayed in the two sub-interfaces are independent of each other. The first sub-interface displays each conversation message in the conversation message flow. The movement in the sub-interface does not prevent the banner from always being fixed at the preset position of the conversation interface. It can also be seen from the figure that the banner will cause a certain degree of occlusion to the conversation interface, so when selecting the position of the banner superposition, the present application can choose to set the banner at the upper position in the conversation interface.
[0169] Based on the above embodiments, as an optional embodiment, the mini-program message includes an information identifier of virtual resource acquisition information.
[0170] In response to a trigger operation on a payment control, displaying a payment interface of a payment program for payment, including:
[0171] In response to a trigger operation on the payment control, a second request is sent to the host program server, the second request is used to request to call the payment interface of the payment program, the second request includes an information identifier and a value, so that the host program server determines the account information of the third account according to the information identifier, and obtains pre-transfer information from the payment program server according to the account information of the third account, the pre-transfer information includes a signature required to transfer the virtual resource;
[0172] Obtain the pre-transfer information returned by the host program server, call the payment interface of the payment program according to the signature, and display the payment interface of the payment program.
[0173] It should be noted that, in response to a preset operation for a payment control, an embodiment of the present application sends a second request to a host program server, where the second request is used to request a call to a payment interface of the payment program. The second request includes an information identifier. Since the transfer of virtual resources is based on the payment program rather than the host program, the payment interface of the payment program can only be displayed if the call permission of the payment program is obtained. To obtain the call permission of the payment program, it is necessary to first satisfy that a binding relationship exists between the second account and a third account logged in by the payment program. Therefore, the host program server determines the account information of the third account that is bound to the second account based on the information identifier, and applies to the payment program server for pre-transfer information based on the account information of the third account. The pre-transfer information includes the signature required to transfer virtual resources. In this way, the host program can apply to the payment program for calling a payment interface with the signature.
[0174] In some embodiments, after receiving the second request, the host program server first determines the corresponding virtual resource acquisition information based on the information identifier, then determines the second account from the virtual resource acquisition information, and queries whether there is an account of the payment program bound to the second account (i.e., a third account). If so, the identifier generation interface provided by the payment program is called based on the account information of the third account and the identifier of the target mini-program to generate a unique identifier of the virtual resource transferor. The host program server sends the unique identifier of the virtual resource transferor, the information identifier, and the numerical value of the virtual resource to be transferred to the payment program server, so that the payment program server creates pre-transfer information based on the unique identifier of the virtual resource transferor, the information identifier, and the numerical value of the virtual resource to be transferred.
[0175] In some embodiments, after the host program server obtains the pre-transfer information of the payment program server, it also establishes an association relationship between the pre-transfer information and the information identifier, laying a foundation for subsequently returning the virtual resource transfer result to the first terminal or the second terminal.
[0176] See also Figure 4f , which exemplarily shows an overall process interaction diagram of virtual resource transfer in an embodiment of the present application. As shown in the figure, the virtual resource acquirer of the A organizational structure in the embodiment of the present application logs in to the host program of the first terminal with a first account, and the virtual resource transferor of the B organizational structure logs in to the host program of the second terminal with a second account.
[0177] The virtual resource acquirer of the A organizational structure sends a mini-program message to the virtual resource transferor of the B organizational structure by performing a preset operation on the target mini-program on the first terminal. The mini-program message is used to instruct the second account to transfer a certain value of virtual resources to the organizational structure of the first account. The mini-program message includes an information identifier generated by the host program server according to the virtual resource acquisition information;
[0178] The virtual resource transferor of the B organizational structure triggers a preset operation on the mini program message to determine the transfer of virtual resources, and the mini program sends the information identifier to the host program server;
[0179] The host program server obtains account information of a third account bound to the second account based on the information identifier, where the third account is also the account logged in by the payment program running on the second terminal;
[0180] The host program server sends the account information of the third account and the structure information of the A organization structure to the payment program server, so that the virtual resources are transferred to the A organization structure;
[0181] The payee of the A organization structure queries the payment program server for the payment result and the total amount of virtual resources of the A organization structure to confirm that the virtual resources have been obtained.
[0182] Based on the above embodiments, as an optional embodiment, the host program server is further used to establish an association relationship between the pre-transfer information and the information identifier, and the pre-transfer information also includes a prepayment identifier.
[0183] The prepayment identifier is an identifier created by the payment program server for this virtual resource transfer. The payment program server associates the result of the virtual resource transfer with the prepayment identifier, and the virtual resource transfer result can be queried based on the prepayment identifier later.
[0184] The embodiment of the present application displays a payment interface of a payment program for payment, and then further includes:
[0185] Sending a third request to the host program server, the third request is used to request to query the virtual resource transfer result, the third request includes an information identifier, so that the host program server queries the WeChat payment backend according to the prepayment identifier associated with the information identifier, and returns the queried virtual resource transfer result to the second terminal;
[0186] Displays the virtual resource transfer results.
[0187] It should be noted that the second terminal of the embodiment of the present application sends a third request to the host program server to request to query the virtual resource transfer result, and the third request includes an information identifier. Since the host program server has previously established the information identifier and the prepayment identifier, after obtaining the information identifier, the prepayment identifier corresponding to the information identifier is searched, and the prepayment identifier is further sent to the payment program server. The payment program server searches for the corresponding virtual resource transfer result according to the prepayment identifier, and returns the found virtual resource transfer result to the second terminal through the host program server.
[0188] It should be noted that the embodiment of the present application not only supports the second terminal to query the virtual resource transfer result, but also supports the first terminal to query the virtual resource transfer result. Specifically, since the mini-program message is displayed on the conversation interface between the first account and the second account, that is, the first terminal will also display the mini-program message, so the virtual resource acquirer can also trigger the mini-program message displayed by the first terminal. The first terminal responds to the trigger operation on the mini-program message and sends a fourth request to the host program server. The fourth request is used to request to query the virtual resource transfer result. The fourth request includes an information identifier. If the second terminal has made a payment, the host program server stores the prepayment identifier associated with the information identifier, and then the virtual resource transfer result can be queried from the payment program server according to the prepayment identifier. If the second terminal has not made a payment, the prepayment identifier associated with the information identifier cannot be queried between the host program servers, and the virtual resource transfer result returned to the first terminal is used to indicate that the resource has not been transferred.
[0189] See also Figure 5a , which exemplarily shows a virtual resource transfer method according to another embodiment of the present application, the method is applied to a host program server, and the method comprises:
[0190] S5011, obtaining virtual resource acquisition information sent by the first terminal, the first terminal running a host program and a target applet, the first account logging into the host program of the first terminal, the virtual resource acquisition information including at least one of a value of the virtual resource to be acquired, account information of the first account, architecture information of the organizational structure where the first account is located, and account information of the second account, and the second account logging into the host program of the second terminal;
[0191] S5012. In response to the resource acquisition information, generate an information identifier of the virtual resource acquisition information and a mini-program message, the mini-program message being used to instruct the second account to transfer the virtual resources of the value to the organizational structure of the first account;
[0192] S5013: Send the mini-program message to the first terminal and the second terminal, so that the first terminal and the second terminal display the mini-program message on the session interface of the first account and the second account session.
[0193] The virtual resource transfer method of the embodiment of the present application obtains virtual resource acquisition information sent by the first terminal, stores the virtual resource acquisition information as project information of a virtual resource transfer, and generates an information identifier for the virtual resource acquisition information, laying the foundation for the subsequent first terminal and the second terminal to exchange data by sending information identifiers. The host program server also generates a mini-program message, which is used to instruct the second account to transfer virtual resources of specified values to the organizational structure of the first account. The mini-program message will be displayed in the conversation interface of the first account and the second account conversation, so that the virtual resource acquirer / virtual resource transferor can intuitively understand the value of the acquired / transferred virtual resources. This solution lays the foundation for public virtual resource transfer.
[0194] Based on the above embodiments, as an optional embodiment, the applet message includes an information identifier of the virtual resource acquisition information. The virtual resource transfer method of the embodiment of the present application also includes:
[0195] Obtaining a first request sent by the second terminal in response to a trigger operation on a mini-program message, the first request being used to request a host program server to return virtual resource acquisition information, the first request including an information identifier;
[0196] Determine and return at least one of the account information of the first account and the architectural information of the organizational structure of the first account in the corresponding virtual resource acquisition information according to the information identifier, so that the second terminal displays a resource transfer prompt interface, and the resource transfer prompt interface includes the account information of the first account, the architectural information of the organizational structure of the first account, the value of the virtual resource to be transferred, and at least one of the payment controls.
[0197] Based on the above embodiments, as an optional embodiment, the program message includes an information identifier of the virtual resource acquisition information;
[0198] The virtual resource transfer method further includes:
[0199] Obtaining a second request sent by the second terminal in response to a trigger operation on the payment control, the second request being used to request to call a payment interface of a payment program, the second request including an information identifier, the payment program run by the second terminal logging in to a third account, and the second account being bound to the third account;
[0200] Determine the account information of the third account according to the information identifier, and obtain pre-transfer information from the payment program server according to the account information of the third account, the pre-transfer information including a signature required to transfer the virtual resource;
[0201] The pre-transfer information is sent to the second terminal, so that the second terminal calls the payment interface of the payment program according to the signature and displays the payment interface of the payment program.
[0202] See also Figure 5b , which exemplarily shows an interactive diagram of a virtual resource transferor performing resource transfer, wherein the interactive process involves a host program, a host program server, and a payment program server, wherein the host program server further includes two parts: an intermediate layer service and a background service, such as Figure 5b As shown, the process includes:
[0203] The virtual resource transferor triggers an operation on the mini-program message displayed by the host program;
[0204] The mini program message includes an information identifier, and the host program sends a first request to the middle layer service, where the first request includes the information identifier and account information of the second account;
[0205] The middle layer service sends the information identifier and the account information of the second account to the background service;
[0206] The backend service first determines that the first request is not a forged request based on the real existence of the account information of the second account. It should be noted that a forged request refers to a request for obtaining virtual resource acquisition information sent by a sending subject other than the second account. The backend service determines the corresponding virtual resource acquisition information based on the information identifier, and returns at least one of the account information of the first account and the architecture information of the organizational structure of the first account in the virtual resource acquisition information to the host program through the middle layer service;
[0207] The host program displays a resource transfer prompt interface, which includes account information of the first account and architecture information of the organizational structure of the first account;
[0208] The party transferring virtual resources checks the resource transfer prompt interface and transfers virtual resources after confirmation;
[0209] The host program sends a second request to the middle-layer service, the second request is used to request to call the payment interface of the payment program, and the second request includes the information identifier;
[0210] The middle layer service responds to the second request by sending an openid acquisition request to the background service, where the request includes the account information of the second account, and the openid is also the unique identifier of the virtual resource transferor;
[0211] The backend service checks whether there is a third account bound to the second account, where the third account is the account logged into by the payment program of the second terminal. According to the account information of the third account and the program ID of the target applet, the openid generation interface provided by the payment program is called to obtain the openid, and the openid is returned to the middle layer service.
[0212] The middle layer service generates a prepayment request in response to the openid, the prepayment request includes an information identifier, the openid, and the amount of resources to be transferred, and sends the prepayment request to the payment program server through the background service;
[0213] The payment program server creates pre-transfer information according to the openid, the information identifier and the value of the virtual resource to be transferred. The pre-transfer information includes the prepayment identifier and the signature. The payment program server returns the pre-transfer information to the background service. The background service establishes an association between the prepayment identifier and the information identifier, and transparently transmits the pre-transfer information to the host program through the middle layer service.
[0214] The host program calls the payment interface of the payment program according to the signature;
[0215] The virtual resource transferor enters the password to complete the virtual resource transfer;
[0216] The payment program server determines the virtual resource transfer result and establishes an association relationship between the virtual resource transfer result and the prepayment identifier;
[0217] The host program sends a third request, where the third request includes an information identifier;
[0218] The third request is transmitted to the backend service through the middle layer service. The backend service queries the payment program server according to the prepayment identifier of the information identifier link, and returns the query virtual resource transfer result to the host program.
[0219] The host program displays the virtual resource transfer results.
[0220] Based on the above embodiments, as an optional embodiment, the virtual resource transfer method further includes:
[0221] Receiving account information of a first account sent by a first terminal;
[0222] Determine at least one virtual resource acquisition information related to the first account, where the account of the virtual resource transferor of each virtual resource acquisition information logged in by the host program belongs to a different organizational structure than the first account;
[0223] The account number of the virtual resource transferor logged in to the host program and the value of the transferred virtual resource in the virtual resource acquisition information are returned to the first terminal, so that the first terminal generates and displays at least one virtual resource acquisition record.
[0224] The host program server of the embodiment of the present application also supports the first terminal to query the virtual resource acquisition record. The first terminal sends the account information of the first account, and the host program server determines at least one virtual resource acquisition information related to the first account, and first returns the account number of the virtual resource transferor logged in to the host program and the value of the transferred virtual resource in the virtual resource acquisition information to the first terminal, so that the first terminal can intuitively and briefly understand the acquisition status of the virtual resources.
[0225] On the basis of the above embodiments, as an optional embodiment, when the virtual asset transferor corresponding to the second account sets a payee, the host program server is also used to add the account information of the payee to the virtual resource acquisition information, so as to achieve the purpose of binding the account information and information identifier of the contemporary payee. Therefore, when the contemporary payee displays the mini-program message in the session interface, the server can obtain a first request sent by a third terminal (i.e., the terminal corresponding to the payee) in response to a trigger operation for the mini-program message, and the first request is used to request virtual resource acquisition information, and the first request includes the information identifier; determine and return at least one of the account information of the first account in the corresponding virtual resource acquisition information and the architectural information of the organizational structure of the first account according to the information identifier, so that the third terminal displays a resource transfer prompt interface.
[0226] The present application embodiment provides a first terminal, such as Figure 6a As shown, the first terminal runs a host program and a target applet, the first account logs in to the host program of the first terminal, and the first terminal includes a resource editing module 6011 and a message display module 6012. Specifically,
[0227] The resource editing module 6011 is used to display a resource editing interface for a second account in response to a preset operation on a target mini program, where the second account is an account of a host program that logs into the second terminal and belongs to a different organizational structure than the first account, and the resource editing interface includes an edit box for editing the value of the virtual resource to be obtained and a confirmation control for indicating initiation of virtual resource transfer;
[0228] The message display module 6012 is used to display the mini program message of the target mini program in the conversation interface with the second account in response to the trigger operation on the confirmation control, and the mini program message is used to instruct the second account to transfer the virtual resources of the value to the organizational structure of the first account.
[0229] The first terminal of the embodiment of the present application can execute the virtual resource display method executed by the first terminal provided in the embodiment of the present application, and the implementation principle is similar. The actions performed by each module in the first terminal of each embodiment of the present application correspond to the steps in the virtual resource display method executed by the first terminal of each embodiment of the present application. For the detailed functional description of each module of the first terminal, please refer to the description in the corresponding method shown in the previous text, which will not be repeated here.
[0230] The present application embodiment provides a second terminal, such as Figure 6b As shown, the second terminal runs a host program and a target applet, and the second account logs in to the host program of the second terminal. The second terminal includes: an interface display module 6021, a prompt module 6022 and a payment module 6023. Specifically,
[0231] The interface display module 6021 is used to display the conversation interface with the first account, the conversation interface includes the mini-program message of the target mini-program, the first account is the host program that logs into the first terminal and has a cross-organizational structure with the second account, and the mini-program message is used to instruct the second account to transfer a virtual resource of a preset value to the organizational structure of the first account;
[0232] A prompt module 6022, configured to display a resource transfer prompt interface in response to a trigger operation on a mini-program message, wherein the resource transfer prompt interface includes at least one of account information of the first account, architectural information of the organizational structure of the first account, a value of the virtual resource to be transferred, and a payment control;
[0233] The payment module 6023 is used to respond to the trigger operation on the payment control, display the payment interface of the payment program to transfer the virtual resources, and the second account is bound to the third account logged in by the payment program.
[0234] The second terminal of the embodiment of the present application can execute the virtual resource display method executed by the second terminal provided in the embodiment of the present application, and the implementation principle is similar. The actions performed by each module in the second terminal of each embodiment of the present application correspond to the steps in the virtual resource display method executed by the second terminal of each embodiment of the present application. For the detailed functional description of each module of the second terminal, please refer to the description in the corresponding method shown in the previous text, which will not be repeated here.
[0235] The present application embodiment provides a host program server, such as Figure 6c As shown, it includes an information acquisition module 6031, an identification creation module 6032 and a message sending module 6033. Specifically,
[0236] The information acquisition module 6031 is used to obtain virtual resource acquisition information sent by the first terminal, the first terminal runs a host program and a target applet, the first account logs into the host program of the first terminal, the virtual resource acquisition information includes at least one of the value of the virtual resource to be obtained, the account information of the first account, the structure information of the organizational structure where the first account is located, and the account information of the second account, and the second account logs into the host program of the second terminal;
[0237] An identification creation module 6032 is used to generate an information identification of virtual resource acquisition information and a mini-program message in response to the resource acquisition information, wherein the mini-program message is used to instruct the second account to transfer the virtual resource of value to the organizational structure of the first account;
[0238] The message sending module 6033 is used to send the mini-program message to the first terminal and the second terminal, so that the first terminal and the second terminal display the mini-program message on the session interface of the first account and the second account session.
[0239] The host program server of the embodiment of the present application can execute the virtual resource display method executed by the host program server provided in the embodiment of the present application, and the implementation principle is similar. The actions performed by each module in the host program server of each embodiment of the present application correspond to the steps in the virtual resource display method executed by the host program server of each embodiment of the present application. For the detailed functional description of each module of the host program server, please refer to the description in the corresponding method shown in the previous text, which will not be repeated here.
[0240] An electronic device is provided in an embodiment of the present application, including a memory, a processor and a computer program stored in the memory, the processor executes the above-mentioned computer program to implement the steps of the virtual resource transfer method. Compared with the related art, in response to a preset operation on a target applet, an editing interface of resources to be acquired for a second account is displayed, the second account is a host program that logs in to a second terminal and is an account across the organizational structure with the first account, the editing interface of resources to be acquired includes an edit box for editing the numerical value of the virtual resource to be acquired and a confirmation control, so as to achieve the effect of directly requesting the transfer of virtual resources to an account across organizational institutions, and in response to a trigger operation on the confirmation control, a applet message of the target applet is displayed on a conversation interface with the second account, so that users corresponding to the first account and the second account can see the applet message, laying a foundation for the second account (the virtual resource transferor) to quickly transfer virtual resources. It should be noted that the object of the virtual resource transfer is the organizational structure of the first account, not the first account, that is, the present application achieves the purpose of transferring virtual resources to the public, and there is no need to establish a friend relationship of the payment program when transferring virtual resources across organizational structures, thereby improving the efficiency of virtual resource transfer.
[0241] In an alternative embodiment, an electronic device is provided, such as Figure 7 As shown, Figure 7 The electronic device 4000 shown includes: a processor 4001 and a memory 4003. The processor 4001 and the memory 4003 are connected, such as through a bus 4002. Optionally, the electronic device 4000 may also include a transceiver 4004, which may be used for data interaction between the electronic device and other electronic devices, such as data transmission and / or data reception. It should be noted that in actual applications, the transceiver 4004 is not limited to one, and the structure of the electronic device 4000 does not constitute a limitation on the embodiments of the present application.
[0242] Processor 4001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. Processor 4001 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0243] The bus 4002 may include a path to transmit information between the above components. The bus 4002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 4002 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0244] The memory 4003 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), magnetic disk storage media, other magnetic storage devices, or any other medium that can be used to carry or store computer programs and can be read by a computer, without limitation herein.
[0245] The memory 4003 is used to store the computer program for executing the embodiment of the present application, and the execution is controlled by the processor 4001. The processor 4001 is used to execute the computer program stored in the memory 4003 to implement the steps shown in the above method embodiment.
[0246] An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps and corresponding contents of the aforementioned method embodiment can be implemented.
[0247] The embodiment of the present application also provides a computer program product, including a computer program, which can implement the steps and corresponding contents of the aforementioned method embodiment when executed by a processor.
[0248] The terms "first", "second", "third", "fourth", "1", "2", etc. (if any) in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than that shown or described in the drawings.
[0249] It should be understood that, although each operation step is indicated by arrows in the flowchart of the embodiment of the present application, the implementation order of these steps is not limited to the order indicated by the arrows. Unless clearly stated herein, in some implementation scenarios of the embodiment of the present application, the implementation steps in each flowchart can be performed in other orders according to demand. In addition, some or all of the steps in each flowchart may include multiple sub-steps or multiple stages based on actual implementation scenarios. Some or all of these sub-steps or stages may be executed at the same time, and each sub-step or stage in these sub-steps or stages may also be executed at different times respectively. In different scenarios of execution time, the execution order of these sub-steps or stages may be flexibly configured according to demand, and the embodiment of the present application does not limit this.
[0250] The above are only optional implementation methods for some implementation scenarios of the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the technical concept of the scheme of the present application, other similar implementation methods based on the technical ideas of the present application are also within the protection scope of the embodiments of the present application.
Claims
1. A virtual resource transfer method, characterized in that: Applied to a first terminal running a host program and a target applet, a first account logs in to the host program of the first terminal, the method comprising: In response to a preset operation on the target applet, displaying a resource editing interface for a second account, the second account being an account of the host program that logs into the second terminal and belonging to a different organizational structure than the first account, the resource editing interface comprising an edit box for editing a value of the virtual resource to be acquired and a confirmation control for indicating initiation of a virtual resource transfer; In response to a trigger operation on the confirmation control, a mini-program message of the target mini-program is displayed on a session interface of the session with the second account, wherein the mini-program message is used to instruct the second account to transfer the virtual resources of the value to the organizational structure of the first account.
2. The method according to claim 1, characterized in that The step of displaying an editing interface for resources to be acquired for the second account in response to a preset operation on the target mini-program includes: In response to a start trigger operation on the target applet, displaying a payment recipient selection control; In response to a triggering operation on the payment recipient selection control, displaying an account identifier of at least one account belonging to a different organizational structure from the first account, wherein the at least one account includes the second account; In response to a selection operation on the account identification of the second account, an editing interface for resources to be acquired for the second account is displayed.
3. The method according to claim 2, characterized in that The method further comprises, in response to the start triggering operation for the target applet, displaying an account checking control; The method further comprises: In response to a trigger operation on the account checking control, at least one virtual resource acquisition record is displayed, each virtual resource acquisition record includes an account number of the virtual resource transferor logged in the host program and a value of the transferred virtual resource, and the account number of the virtual resource transferor logged in the host program and the first account belong to different organizational structures; In response to a selection operation on a target virtual resource acquisition record in the at least one virtual resource acquisition record, virtual resource acquisition information associated with the target virtual resource acquisition record is displayed, wherein the virtual resource acquisition information includes at least one of the value of the virtual resource to be acquired, the account information of the first account, the architecture information of the organizational structure of the first account, and the account information of the account used by the virtual resource transferor to log in to the host program.
4. The method according to claim 3, characterized in that The displaying of at least one virtual resource acquisition record in response to the triggering operation on the audit control includes: In response to a trigger operation on the account checking control, the account information of the first account is sent to the host program server, so that the host program server queries at least one virtual resource acquisition information related to the first account, the account of the virtual resource transferor in the virtual resource acquisition information logged in by the host program and the first account belong to different organizational structures, and returns the account of the virtual resource transferor in the virtual resource acquisition information logged in by the host program and the value of the transferred virtual resource; At least one virtual resource acquisition record is generated and displayed according to the account of the virtual resource transferor logged in to the host program and the value of the transferred virtual resource in the at least one virtual resource acquisition information.
5. The method according to claim 1, characterized in that: The step of displaying an editing interface for resources to be acquired for the second account in response to a preset operation on the target mini-program includes: Displaying a conversation interface with the second account, wherein the conversation interface includes a payment collection control of the target mini program; In response to the selection operation on the payment collection control, an editing interface for resources to be obtained for the second account is displayed.
6. The method according to claim 1, characterized in that The method of displaying the mini program message on the conversation interface with the second account in response to the triggering operation on the confirmation control includes: In response to a trigger operation on a confirmation control, determining virtual resource acquisition information, the virtual resource acquisition information including at least one of a value of the virtual resource to be acquired, account information of the first account, architecture information of an organizational architecture where the first account is located, and account information of the second account; Sending the virtual resource acquisition information to the host program server, so that the host program server creates an information identifier of the virtual resource acquisition information and the mini-program message, wherein the mini-program message includes the information identifier and the value; Receive and display the mini program message sent by the host program server.
7. A virtual resource transfer method, characterized in that: Applied to a second terminal running a host program and a target applet, a second account logs in to the host program of the second terminal, the method comprising: Displaying a session interface for a conversation with a first account, the session interface including a mini-program message of the target mini-program, the first account being an account of the host program that logs into the first terminal and belonging to a different organizational structure from the second account, the mini-program message being used to instruct the second account to transfer a virtual resource of a specified value to the organizational structure of the first account; In response to a trigger operation on the mini-program message, displaying a resource transfer prompt interface, the resource transfer prompt interface including at least one of account information of the first account, architecture information of the organizational structure of the first account, values of virtual resources to be transferred, and payment controls; In response to a triggering operation on the payment control, a payment interface of the payment program is displayed to transfer virtual resources, and the second account is bound to a third account logged in by the payment program.
8. The method according to claim 7, characterized in that The mini-program message includes an information identifier of virtual resource acquisition information and a value of the virtual resource to be transferred; The displaying of a resource transfer prompt interface in response to a triggering operation on the mini-program message includes: In response to a trigger operation for the mini-program message, a first request is sent to a host program server, the first request being used to request virtual resource acquisition information, the first request including the information identifier, so that the host program server determines and returns at least one of the account information of the first account and the architecture information of the organizational structure of the first account in the corresponding virtual resource acquisition information according to the information identifier; The resource transfer prompt interface is generated and displayed according to at least one of the received account information of the first account and the architecture information of the organizational structure of the first account.
9. The method according to claim 7, characterized in that: The mini-program message includes an information identifier of virtual resource acquisition information; The step of displaying a payment interface of a payment program for payment in response to a triggering operation on the payment control comprises: In response to a trigger operation on the payment control, sending a second request to the host program server, the second request being used to request to call a payment interface of the payment program, the second request including the information identifier, so that the host program server determines the account information of the third account according to the information identifier, and obtains pre-transfer information from the payment program server according to the account information of the third account, the pre-transfer information including a signature required to transfer virtual resources; According to the signature in the received pre-transfer information, the payment interface of the payment program is called and the payment interface of the payment program is displayed.
10. The method according to claim 9, characterized in that The host program server is further used to establish an association relationship between the pre-transfer information and the information identifier, the pre-transfer information also includes a prepayment identifier, and the payment program server is further used to establish an association relationship between the virtual resource transfer result and the prepayment identifier after determining the virtual resource transfer result; The payment interface of the payment program is displayed for payment, and then further includes: Sending a third request to the host program server, the third request being used to request querying a virtual resource transfer result, the third request including the information identifier, so that the host program server queries a payment program server according to a prepayment identifier associated with the information identifier, and returns the queried virtual resource transfer result to the second terminal; The virtual resource transfer result is displayed.
11. A virtual resource transfer method, characterized in that: Applied to a host program server, the method comprises: Obtaining virtual resource acquisition information sent by a first terminal, the first terminal running a host program and a target applet, a first account logging into the host program of the first terminal, the virtual resource acquisition information including at least one of a value of the virtual resource to be acquired, account information of the first account, architecture information of the organizational structure of the first account, and account information of a second account, the second account logging into the host program of a second terminal, and the organizational structure of the second account and the first account are different; In response to the resource acquisition information, generating an information identifier of the virtual resource acquisition information and a mini-program message, wherein the mini-program message is used to instruct the second account to transfer the virtual resource of the value to the organizational structure of the first account; The mini-program message is sent to the first terminal and the second terminal, so that the first terminal and the second terminal display the mini-program message on the session interface of the session between the first account and the second account.
12. The method according to claim 11, characterized in that The mini-program message includes an information identifier of virtual resource acquisition information; The method further comprises: Obtaining a first request sent by the second terminal in response to a triggering operation on the mini-program message, wherein the first request is used to request virtual resource acquisition information, and the first request includes the information identifier; Determine and return at least one of the account information of the first account and the architectural information of the organizational structure of the first account in the corresponding virtual resource acquisition information according to the information identifier, so that the second terminal displays a resource transfer prompt interface, and the resource transfer prompt interface includes the account information of the first account, the architectural information of the organizational structure of the first account, the value of the virtual resources to be transferred, and at least one of the payment controls.
13. The method according to claim 12, characterized in that The mini-program message includes an information identifier of virtual resource acquisition information; The method further comprises: obtaining a second request sent by the second terminal in response to a trigger operation on the payment control, the second request being used to request to call a payment interface of a payment program, the second request including the information identifier, the payment program run by the second terminal logging in to a third account, and the second account being bound to the third account; Determining the account information of the third account according to the information identifier, and obtaining pre-transfer information from the payment program server according to the account information of the third account, wherein the pre-transfer information includes a signature required for transferring the virtual resource; The pre-transfer information is sent to the second terminal, so that the second terminal calls the payment interface of the payment program according to the signature and displays the payment interface of the payment program.
14. The method according to claim 11, characterized in that Also includes: receiving account information of the first account sent by the first terminal; Determine at least one virtual resource acquisition information related to the first account, where the virtual resource transferor of each virtual resource acquisition information is an account logged in by the host program and the first account belongs to a different organizational structure; The account number of the virtual resource transferor logged in to the host program and the value of the transferred virtual resource in the virtual resource acquisition information are returned to the first terminal, so that the first terminal generates and displays at least one virtual resource acquisition record.
15. A first terminal, characterized in that: The first terminal runs a host program and a target applet, a first account logs in to the host program of the first terminal, and the first terminal includes: A resource editing module, for displaying a resource editing interface for a second account in response to a preset operation on the target applet, wherein the second account is an account of the host program that logs into the second terminal and belongs to a different organizational structure than the first account, and the resource editing interface includes an edit box for editing the value of the virtual resource to be acquired and a confirmation control for indicating initiation of virtual resource transfer; A message display module is used to display the mini-program message of the target mini-program in the session interface with the second account in response to the trigger operation of the confirmation control, and the mini-program message is used to instruct the second account to transfer the virtual resources of the value to the organizational structure of the first account.
16. A second terminal, characterized in that: The second terminal runs a host program and a target applet, and the second account logs in to the host program of the second terminal. The second terminal includes: an interface display module, configured to display a session interface of a conversation with a first account, wherein the session interface includes a mini-program message of the target mini-program, wherein the first account is an account of the host program that logs into the first terminal and is in a cross-organizational structure with the second account, and the mini-program message is used to instruct the second account to transfer a virtual resource of a preset value to the organizational structure of the first account; a prompt module, configured to display a resource transfer prompt interface in response to a trigger operation on the mini-program message, wherein the resource transfer prompt interface includes at least one of account information of the first account, architecture information of the organizational structure of the first account, a value of the virtual resource to be transferred, and a payment control; The payment module is used to display the payment interface of the payment program to transfer virtual resources in response to the trigger operation of the payment control, and the second account is bound to the third account logged in by the payment program.
17. A host program server, characterized in that: include: an information acquisition module, configured to acquire virtual resource acquisition information sent by a first terminal, the first terminal running a host program and a target applet, a first account logging into the host program of the first terminal, the virtual resource acquisition information including at least one of a value of the virtual resource to be acquired, account information of the first account, architecture information of an organizational structure where the first account is located, and account information of a second account, the second account logging into the host program of a second terminal; an identification creation module, configured to generate, in response to the resource acquisition information, an information identification of the virtual resource acquisition information and a mini-program message, wherein the mini-program message is used to instruct the second account to transfer the virtual resource of the value to the organizational structure of the first account; The message sending module is used to send the mini-program message to the first terminal and the second terminal, so that the first terminal and the second terminal display the mini-program message on the session interface of the first account and the second account session.
18. An electronic device comprising a memory, a processor and a computer program stored in the memory, characterized in that: The processor executes the computer program to implement the steps of the virtual resource transfer method according to any one of claims 1 to 14.
19. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the virtual resource transfer method according to any one of claims 1 to 14 are implemented.
