CN112348496A - Resource transfer method, device, computer equipment and storage medium - Google Patents

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

Info

Publication number
CN112348496A
CN112348496A CN201910726504.4A CN201910726504A CN112348496A CN 112348496 A CN112348496 A CN 112348496A CN 201910726504 A CN201910726504 A CN 201910726504A CN 112348496 A CN112348496 A CN 112348496A
Authority
CN
China
Prior art keywords
resource
transfer
user
request
user identifier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910726504.4A
Other languages
Chinese (zh)
Other versions
CN112348496B (en
Inventor
樊邵婷
冯青青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910726504.4A priority Critical patent/CN112348496B/en
Publication of CN112348496A publication Critical patent/CN112348496A/en
Application granted granted Critical
Publication of CN112348496B publication Critical patent/CN112348496B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/01Social networking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Multimedia (AREA)
  • Primary Health Care (AREA)
  • Marketing (AREA)
  • Tourism & Hospitality (AREA)
  • Human Resources & Organizations (AREA)
  • General Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Development Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application relates to a resource transfer method, a resource transfer device, computer equipment and a computer storage medium, wherein the resource transfer method comprises the steps of sending a resource transfer request based on a request user identifier, wherein the resource transfer request carries multimedia data and a sharing user identifier corresponding to the multimedia data; receiving a first resource transfer message sent based on the shared user identifier, the multimedia data and the request user identifier; the first resource transfer message carries a requested user identifier for transferring out the transfer resource, a transfer-in user identifier for transferring in the transfer resource, and the transfer resource and the resource amount transferred out from the requested user identifier; the transfer-in user identification comprises at least one sharing user identification; and sending a second resource transfer message based on the switched-in user identifier, the transfer resource and the resource amount. Therefore, on the premise of ensuring the safety, the flexibility of resource transfer is improved.

Description

Resource transfer method, device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer information processing technologies, and in particular, to a resource transfer method, an apparatus, a computer device, and a storage medium.
Background
With the rapid development of information technology, the application of information processing technology has been deeply applied to the aspects of life. Such as during important festivals (e.g., spring festival) or when a good message is encountered (e.g., rising job), the user will often receive a congratulation message and then send a transfer resource message. Especially, by sending a resource request video on the micro-screen, a user often initiates resource transfer after receiving the video.
In order to guarantee security, a conventional resource transfer method cannot realize resource transfer between specified resource receiving objects and non-associated user identifiers, wherein the non-associated user identifiers refer to two user identifiers which have no friend relationship, are not in a common group, and do not establish a temporary resource transfer relationship in a code scanning manner.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a resource transfer method, device, computer apparatus, and storage medium that improve flexibility of resource transfer while ensuring security.
A method of resource transfer, the method comprising:
sending a resource transfer request based on a request user identifier, wherein the resource transfer request carries multimedia data and a sharing user identifier corresponding to the multimedia data;
receiving a first resource transfer message sent based on the shared user identifier, the multimedia data and the request user identifier;
the first resource transfer message carries a requested user identifier for transferring out the transfer resource, a transfer-in user identifier for transferring in the transfer resource, and the transfer resource and the resource amount transferred out from the requested user identifier; the transfer-in user identification comprises at least one sharing user identification;
and sending a second resource transfer message based on the switched-in user identifier, the transfer resource and the resource amount.
In one embodiment, the sending a request for transferring resources based on a requesting user identifier includes:
acquiring multimedia data;
receiving a sharing setting instruction based on the multimedia data and the request user identification; the sharing setting instruction is used for setting the sharing user identification;
and sending a resource transfer request according to the sharing setting instruction.
In one embodiment, the receiving a sharing setting instruction based on the multimedia data and the request user identifier includes:
acquiring multimedia information, and determining a multimedia message carrying multimedia data according to the multimedia information;
displaying the multimedia message in an interactive interface based on the request user identification;
and receiving a sharing setting instruction based on the displayed multimedia message.
In one embodiment, the receiving, based on the multimedia data and the request user identifier, a sharing setting instruction includes:
after the sharing setting instruction is obtained to the multimedia data, a sharing user setting interface is displayed;
and receiving a sharing user setting instruction through the displayed sharing user setting interface.
In one embodiment, the number of the transferred-in user identifiers is at least 2, and the first resource transfer message further carries a resource allocation rule;
the sending a second resource transfer message based on the switched-in user identifier, the transfer resource and the resource amount includes:
and sending a second resource transfer message based on the resource allocation rule, the switched-in user identification, the transfer resource and the resource amount.
In one embodiment, the shared user identifier comprises the requesting user identifier;
the sending a second resource transfer message based on the switched-in user identifier, the transfer resource and the resource amount includes:
and when the transfer-in user identification comprises the shared user identification except the request user identification, sending a second resource transfer message based on the transfer-in user identification, the transfer resource and the resource amount.
An apparatus for resource transfer, the apparatus comprising:
a resource request sending module, configured to send a resource transfer request based on a requesting user identifier, where the resource transfer request carries multimedia data and a sharing user identifier corresponding to the multimedia data;
a transfer message receiving module, configured to receive a first resource transfer message sent based on the shared user identifier, the multimedia data, and the request user identifier;
the first resource transfer message carries a requested user identifier for transferring out the transfer resource, a transfer-in user identifier for transferring in the transfer resource, and the transfer resource and the resource amount transferred out from the requested user identifier; the transfer-in user identification comprises at least one sharing user identification;
and the transfer message sending module is used for sending a second resource transfer message based on the transferred-in user identifier, the transfer resource and the resource amount.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
sending a resource transfer request based on a request user identifier, wherein the resource transfer request carries multimedia data and a sharing user identifier corresponding to the multimedia data;
receiving a first resource transfer message sent based on the shared user identifier, the multimedia data and the request user identifier;
the first resource transfer message carries a requested user identifier for transferring out the transfer resource, a transfer-in user identifier for transferring in the transfer resource, and the transfer resource and the resource amount transferred out from the requested user identifier; the transfer-in user identification comprises at least one sharing user identification;
and sending a second resource transfer message based on the transferred-in user identifier and the transferred resource and the resource amount.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of:
sending a resource transfer request based on a request user identifier, wherein the resource transfer request carries multimedia data and a sharing user identifier corresponding to the multimedia data;
receiving a first resource transfer message sent based on the shared user identifier, the multimedia data and the request user identifier;
the first resource transfer message carries a requested user identifier for transferring out the transfer resource, a transfer-in user identifier for transferring in the transfer resource, and the transfer resource and the resource amount transferred out from the requested user identifier; the transfer-in user identification comprises at least one sharing user identification;
and sending a second resource transfer message based on the transferred-in user identifier and the transferred resource and the resource amount.
Based on the resource transfer method, device, computer equipment and storage medium of the embodiment, a temporary resource transfer relationship between a requested user identifier and a transfer-in user identifier can be established through the requesting user identifier. And the original association relation between the request user identification and the transfer-in user identification does not need to exist. The association relationship comprises a friend relationship, a relationship belonging to the same group and a temporary resource transfer relationship established in a code scanning mode. Therefore, the requesting user can receive the transfer resource transferred by the requesting user by receiving the first resource transfer message, and then the requesting user can forward all or part of the received transfer resource to the transfer user selected by the requesting user in the sharing users by sending the second resource transfer message, so that the flexibility of resource transfer is improved on the premise of ensuring the safety.
A method of resource transfer, the method comprising:
receiving a resource transfer request, wherein the resource transfer request carries a request user identifier, a sharing user identifier and multimedia data;
receiving a resource transfer instruction based on the multimedia data and the requested user identification, wherein the resource transfer instruction comprises a transfer-in user identification and a transfer resource and a resource amount transferred out from the requested user identification; the transfer-in user identification comprises at least one sharing user identification;
sending a first resource transfer message according to the switched-in user identifier, the request user identifier, the transfer resource and the resource amount;
and the request terminal for requesting the login of the user identifier sends a second resource transfer message according to the first resource transfer message, wherein the second resource transfer message carries the switched-in user identifier.
An apparatus for resource transfer, the apparatus comprising:
the resource request receiving module is used for receiving a resource transfer request, and the resource transfer request carries a request user identifier, a sharing user identifier and multimedia data;
a transfer instruction receiving module, configured to receive a resource transfer instruction based on the multimedia data and the requested user identifier, where the resource transfer instruction includes a user identifier to be transferred in and a transfer resource and a resource amount to be transferred out from the requested user identifier; the transfer-in user identification comprises at least one sharing user identification;
a transfer message sending module, configured to send a first resource transfer message according to the transfer-in user identifier, the request user identifier, the transfer resource, and the resource amount;
and the request terminal for requesting the login of the user identifier sends a second resource transfer message according to the first resource transfer message, wherein the second resource transfer message carries the switched-in user identifier.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
receiving a resource transfer request, wherein the resource transfer request carries a request user identifier, a sharing user identifier and multimedia data;
receiving a resource transfer instruction based on the multimedia data and the requested user identification, wherein the resource transfer instruction comprises a transfer-in user identification and a transfer resource and a resource amount transferred out from the requested user identification; the transfer-in user identification comprises at least one sharing user identification;
sending a first resource transfer message according to the switched-in user identifier, the request user identifier, the transfer resource and the resource amount;
and the request terminal for requesting the login of the user identifier sends a second resource transfer message according to the first resource transfer message, wherein the second resource transfer message carries the switched-in user identifier.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of:
receiving a resource transfer request, wherein the resource transfer request carries a request user identifier, a sharing user identifier and multimedia data;
receiving a resource transfer instruction based on the multimedia data and the requested user identification, wherein the resource transfer instruction comprises a transfer-in user identification and a transfer resource and a resource amount transferred out from the requested user identification; the transfer-in user identification comprises at least one sharing user identification;
sending a first resource transfer message according to the switched-in user identifier, the request user identifier, the transfer resource and the resource amount;
and the request terminal for requesting the login of the user identifier sends a second resource transfer message according to the first resource transfer message, wherein the second resource transfer message carries the switched-in user identifier.
Based on the resource transfer method, device, computer equipment and storage medium of the embodiment, a temporary resource transfer relationship between the requested user identifier and the transfer-in user identifier is established through the requesting user identifier. And the original association relation between the request user identification and the transfer-in user identification does not need to exist. The association relationship comprises a friend relationship, a relationship belonging to the same group and a temporary resource transfer relationship established in a code scanning mode. Therefore, the requesting user can receive the transfer resource transferred by the requesting user by sending the first resource transfer message, and the requesting terminal logged in by the requesting user is instructed to transmit the second resource transfer message, so that the requesting user can forward all or part of the received transfer resource to the transfer user selected by the requesting user in the sharing users, and the flexibility of resource transfer is improved on the premise of ensuring the safety.
A method of resource transfer, the method comprising:
receiving a first resource transfer request sent based on a first resource transfer message; the first resource transfer message comprises a requested user identifier for transferring out resources, a requesting user identifier for sending a resource transfer request, a transferring-in user identifier for transferring in resources, and a transfer resource and a resource amount transferred out from the requested user identifier, wherein the transferring-in user identifier comprises at least one shared user identifier; the first resource transfer request comprises the requesting user identification, the requested user identification, the transfer resource and the resource amount;
transferring the transfer resource of the resource amount in the requested user identifier to the requesting user identifier according to the first resource transfer request;
receiving a second resource transfer request sent based on the second resource transfer message; the second resource transfer message comprises the request user identification, the transfer-in user identification, the transfer resource and the resource amount; the second resource transfer request comprises the request user identification, the transfer-in user identification and the target amount; the target amount is less than or equal to the resource amount;
and transferring the resources of the target numerical value in the request user identification to the transfer-in user identification according to the second resource transfer request.
An apparatus for resource transfer, the apparatus comprising:
a first request receiving module, configured to receive a first resource transfer request sent based on a first resource transfer message; the first resource transfer message comprises a requested user identifier for transferring out resources, a requesting user identifier for sending a resource transfer request, a transferring-in user identifier for transferring in resources, and a transfer resource and a resource amount transferred out from the requested user identifier, wherein the transferring-in user identifier comprises at least one shared user identifier; the first resource transfer request comprises the requesting user identification, the requested user identification, the transfer resource and the resource amount;
a first resource transfer module, configured to transfer the transfer resource of the resource amount in the requested user identifier to the requesting user identifier according to the first resource transfer request;
a second request receiving module, configured to receive a second resource transfer request sent based on the second resource transfer message; the second resource transfer message comprises the request user identification, the transfer-in user identification, the transfer resource and the resource amount; the second resource transfer request comprises the request user identification, the transfer-in user identification and a target numerical value; the target value is less than or equal to the transferred resource and the resource amount;
and the second resource transfer module is used for transferring the resources of the target numerical value in the request user identifier to the transfer-in user identifier according to the second resource transfer request.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
receiving a first resource transfer request sent based on a first resource transfer message; the first resource transfer message comprises a requested user identifier for transferring out resources, a requesting user identifier for sending a resource transfer request, a transferring-in user identifier for transferring in resources, and a transfer resource and a resource amount transferred out from the requested user identifier, wherein the transferring-in user identifier comprises at least one shared user identifier; the first resource transfer request comprises the requesting user identification, the requested user identification, the transfer resource and the resource amount;
transferring the transfer resource of the resource amount in the requested user identifier to the requesting user identifier according to the first resource transfer request;
receiving a second resource transfer request sent based on the second resource transfer message; the second resource transfer message comprises the request user identification, the transfer-in user identification, the transfer resource and the resource amount; the second resource transfer request comprises the request user identification, the transfer-in user identification and the target amount; the target amount is less than or equal to the resource amount;
and transferring the resources of the target numerical value in the request user identification to the transfer-in user identification according to the second resource transfer request.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of:
receiving a first resource transfer request sent based on a first resource transfer message; the first resource transfer message comprises a requested user identifier for transferring out resources, a requesting user identifier for sending a resource transfer request, a transferring-in user identifier for transferring in resources, and a transfer resource and a resource amount transferred out from the requested user identifier, wherein the transferring-in user identifier comprises at least one shared user identifier; the first resource transfer request comprises the requesting user identification, the requested user identification, the transfer resource and the resource amount;
transferring the resources of the transferred resources and the resource amount in the requested user identifier to the requesting user identifier according to the first resource transfer request;
receiving a second resource transfer request sent based on the second resource transfer message; the second resource transfer message comprises the request user identification, the transfer-in user identification, the transfer resource and the resource amount; the second resource transfer request comprises the request user identification, the transfer-in user identification and the target amount; the target amount is less than or equal to the resource amount;
and transferring the resources of the target numerical value in the request user identification to the transfer-in user identification according to the second resource transfer request.
Based on the resource transfer method, device, computer equipment and storage medium of the embodiment, a temporary resource transfer relationship between a requested user identifier and a transfer-in user identifier can be established through the requesting user identifier. And the original association relation between the request user identification and the transfer-in user identification does not need to exist. The association relationship comprises a friend relationship, a relationship belonging to the same group and a temporary resource transfer relationship established in a code scanning mode. Therefore, resources of transferred resources and resource amount in the requested user identification can be transferred to the requesting user identification according to the first resource transfer request, and then resources of the target value in the requesting user identification are transferred to the transferred user identification according to the second resource transfer request, so that the flexibility of resource transfer is improved on the premise of ensuring the safety.
A method of resource transfer, the method comprising:
acquiring multimedia data;
when the configuration operation of the sharing users of the media data is triggered, configuring the sharing users;
sending a resource transfer request based on the pair of media data and the configured shared user;
receiving and displaying the transfer resources and the resource amount acquired based on the transfer resource request;
and forwarding the transfer resources of the target amount in the resource amount to a transfer-in user, wherein the transfer-in user comprises at least one sharing user.
An apparatus for resource transfer, the apparatus comprising:
the media data acquisition module is used for acquiring multimedia data;
the shared user configuration module is used for configuring the shared users of the media data when the configuration operation of the shared users is triggered;
a resource request sending module, configured to send a resource transfer request based on the media data and the configured shared user;
the transfer resource receiving module is used for receiving and displaying the transfer resources and the resource amount acquired based on the transfer resource request;
and the transfer resource forwarding module is used for forwarding the transfer resources of the target amount in the resource amount to a transfer-in user, wherein the transfer-in user comprises at least one sharing user.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
acquiring multimedia data;
when the configuration operation of the sharing users of the media data is triggered, configuring the sharing users;
sending a resource transfer request based on the pair of media data and the configured shared user;
receiving and displaying the transfer resources and the resource amount acquired based on the transfer resource request;
and forwarding the transfer resources of the target amount in the resource amount to a transfer-in user, wherein the transfer-in user comprises at least one sharing user.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of:
acquiring multimedia data;
when the configuration operation of the sharing users of the media data is triggered, configuring the sharing users;
sending a resource transfer request based on the pair of media data and the configured shared user;
receiving and displaying the transfer resources and the resource amount acquired based on the transfer resource request;
and forwarding the transfer resources of the target amount in the resource amount to a transfer-in user, wherein the transfer-in user comprises at least one sharing user.
Based on the resource transfer method, device, computer equipment and storage medium of the embodiment, the transfer resource transferred out by the requested user is transferred to the transfer-in user by the requesting user. In this way, the temporary resource transfer relationship between the requested user and the transfer-in user is established by the requesting user. And the association relation between the requesting user and the transferring-in user is not needed to exist originally. The association relationship comprises a friend relationship, a relationship belonging to the same group and a temporary resource transfer relationship established in a code scanning mode. Therefore, on the premise of ensuring the safety, the flexibility of resource transfer is improved.
A method of resource transfer, the method comprising:
receiving a resource transfer request, wherein the resource transfer request carries multimedia data, a request user and a sharing user;
displaying the multimedia data, and triggering a resource transfer instruction based on the displayed multimedia data;
after a resource transfer instruction is triggered, a transfer-in user, transfer resources and resource amount are obtained, wherein the transfer-in user is a user who selects the transfer-in transfer resources from shared users; the transfer-in user comprises at least one sharing user;
and determining a resource transfer message according to the transfer-in user, the transfer resource and the resource amount, and sending the resource transfer message according to the request user.
Based on the resource transfer method of the embodiment, the transfer resource transferred out by the request user is transferred to the transfer-in user through the request user. In this way, the temporary resource transfer relationship between the requested user and the transfer-in user is established by the requesting user. And the association relation between the requesting user and the transferring-in user is not needed to exist originally. The association relationship comprises a friend relationship, a relationship belonging to the same group and a temporary resource transfer relationship established in a code scanning mode. Therefore, on the premise of ensuring the safety, the flexibility of resource transfer is improved.
Drawings
FIG. 1 is a diagram illustrating an application environment for a resource transfer method in one embodiment;
FIG. 2 is a flow diagram of a resource transfer method of an embodiment;
FIG. 3 is a diagram illustrating an exemplary implementation of a resource transfer method;
FIG. 4 is a diagram illustrating an exemplary implementation of a resource transfer method;
FIG. 5 is a diagram illustrating an exemplary implementation of a resource transfer method;
FIG. 6 is a diagram illustrating an exemplary implementation of a resource transfer method;
FIG. 7 is a diagram illustrating an exemplary implementation of a resource transfer method;
FIG. 8 is a flow diagram of a resource transfer method of an embodiment;
FIG. 9 is a flow diagram of a resource transfer method of an embodiment;
FIG. 10 is a diagram illustrating an exemplary implementation of the resource transfer method;
FIG. 11 is a diagram illustrating an exemplary implementation of a resource transfer method;
FIG. 12 is a flow diagram of a resource transfer method of an embodiment;
FIG. 13 is a flow diagram of a resource transfer method of an embodiment; FIG. 14 is a business flow diagram of a method of resource transfer in an embodiment;
FIG. 15 is a block diagram of a resource transfer device in one embodiment;
FIG. 16 is a block diagram of a resource transfer device in one embodiment;
FIG. 17 is a block diagram of a resource transfer device in one embodiment;
FIG. 18 is a block diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
FIG. 1 is a diagram illustrating an application environment for a resource transfer method in one embodiment. The resource transfer method provided by the application can be applied to the application environment shown in fig. 1. The requesting terminal 102, the resource terminal 104, and the target terminal 106 communicate with the server 108 via a network. The requesting terminal 102, the resource terminal 104, and the target terminal 106 may be desktop devices or mobile terminals, such as a desktop computer, a tablet computer, a smart phone, and the like. The server 108 may be a stand-alone physical server, a cluster of physical servers, or a virtual server.
The resource transfer method of one embodiment of the present application may be executed on the requesting terminal 102. The request terminal 102 sends a resource transfer request based on the request user identifier, wherein the resource transfer request carries multimedia data and a sharing user identifier corresponding to the multimedia data; receiving a first resource transfer message sent by the resource terminal 104 based on the shared user identifier, the multimedia data and the request user identifier; the first resource transfer message carries the requested user identification of the transferred-out transfer resource, the transferred-in user identification of the transferred-in transfer resource, the transfer resource and the resource amount transferred out from the requested user identification; the transfer-in user identification comprises at least one sharing user identification; the requesting terminal 102 sends a second resource transfer message based on the ported-in user identifier and the transferred resource and resource amount.
The resource transfer method of one embodiment of the present application may be executed on the resource terminal 104. The resource terminal 104 receives a resource transfer request, wherein the resource transfer request carries a request user identifier, a sharing user identifier and multimedia data; the resource terminal 104 receives a resource transfer instruction based on the multimedia data and the requested user identifier, wherein the resource transfer instruction comprises a transfer-in user identifier and a transfer resource and a resource amount transferred out from the requested user identifier; the transfer-in user identification comprises at least one sharing user identification; the resource terminal 104 sends a first resource transfer message according to the transferred user identifier, the request user identifier, the transferred resource and the resource amount; and the request user identification request terminal 102 sends a second resource transfer message according to the first resource transfer message, wherein the second resource transfer message carries the transfer-in user identification.
The resource transfer method of one embodiment of the present application may run on the server 108. The server 108 receives a first resource transfer request sent based on the first resource transfer message; the first resource transfer message comprises a requested user identifier for transferring out the resource, a requesting user identifier for sending a resource transfer request, a transferring-in user identifier for transferring in the resource, and a transfer resource and a resource amount transferred out from the requested user identifier, wherein the transferring-in user identifier comprises at least one sharing user identifier; the first resource transfer request comprises a request user identifier, a requested user identifier, transfer resources and resource amount; the server 108 transfers the transfer resource of the resource amount in the requested user identifier to the requesting user identifier according to the first resource transfer request; the server 108 receives a second resource transfer request sent based on the second resource transfer message; the second resource transfer message comprises a request user identifier, a transfer-in user identifier, transfer resources and resource amount; the second resource transfer request comprises a request user identifier, a transfer-in user identifier and a target amount; the target amount is less than or equal to the resource amount; the server 108 transfers the resource of the target value in the user identifier to the transfer-in user identifier according to the second resource transfer request.
As shown in FIG. 2, in one embodiment, a resource transfer method is provided. The method may operate at the requesting terminal 102 of fig. 1. The resource transfer method comprises the following steps:
s202, sending a resource transfer request based on the request user identification. The resource transfer request carries multimedia data and a sharing user identifier corresponding to the multimedia data.
The requesting subscriber identity refers to the subscriber identity that sent the request to transfer resources. And the terminal requesting the user identification to log in is the request terminal. The transfer resource request may be in the form of a transfer resource request message in various multimedia forms. For example, the message carrying multimedia data can be expressed as a picture, an expression, a text message, a video message and the like. It should be noted that, in this embodiment, the resource transfer request also carries a shared user identifier corresponding to the multimedia data. The transfer resource can be a numerical value resource, such as transfer, red envelope; the transfer resource may also be a virtual asset resource, such as a gift. The sharing user identifier is a user identifier of the receiving resource transfer set by the multimedia data producer and selected by the user identifier of the request, and can also be a user identifier of the receiving resource transfer set by the user requesting and selected by the user identifier of the request. To improve security, the sharing user may be a friend of the requesting user or the requesting user itself. The requested user refers to the provider of the resource to be transferred in the resource transfer, i.e. the initiator of the resource transfer.
The multimedia data is data for expressing that resources need to be transferred. E.g., expressions, pictures, text, video, etc. that are requested or claimed in WeChat for red envelope; as another example, in a micro-view, a short video with a reward control is embedded. It should be noted that, in this embodiment, there is a corresponding relationship between the shared user identifier and the multimedia data. The multimedia data in a resource transfer request corresponds to at least one shared user identifier. The sharing user may include the requesting user himself, and may also include other users involved in the multimedia data. For example, in a video that is red-packed for a period of a kayake, the sharing users may include each user in the video. It is to be understood that the sharing user may also include not the requesting user, but the user involved in the multimedia data having a friend relationship with the requesting user.
The transfer resource request may be sent to a common platform, which may be an information platform visible to the friend. The public platform can be a friend circle, a microblog, a space and the like. The request for transferring resources can also be sent to the friends in the friend list of the requesting user or the group to which the requesting user belongs. The transfer resource request may be sent to a server. Further, after being sent to the server, the message is forwarded by the server to the resource terminal. In this embodiment, the resource terminal refers to a terminal that provides the transfer resource.
S204, receiving a first resource transfer message sent based on the shared user identifier, the multimedia data and the request user identifier. The first resource transfer message carries the requested user identification of the transferred-out transfer resource, the transferred-in user identification of the transferred-in transfer resource, the transfer resource transferred out from the requested user identification and the resource amount; the transfer-in user identification comprises at least one sharing user identification.
Whether the request for transferring resources is sent to a common platform, a friend or a group, the resource terminal will receive the request for transferring resources. After receiving the resource transfer request, the resource terminal can display the multimedia data and receive a resource transfer instruction based on the displayed multimedia data, wherein the resource transfer instruction comprises a transfer-in user identifier and a transfer resource and a resource amount transferred out from the requested user identifier. The transfer-in user identification comprises at least one sharing user identification. That is, the transfer-in user is the transfer-in object transferred by the resource selected by the requesting user from the sharing user.
For example, the requested user may trigger the resource terminal to send the instruction of the first resource transfer message at the presented multimedia data interface. The requested user selects at least one sharing user from the sharing users as a transfer-in user for resource transfer, and inputs the total transfer resource of the transfer. And then sending the first resource transfer message carrying the transferred-in user identifier, the transferred resource and the resource amount to the request terminal. It can be understood that the first resource transfer message also carries a sender identifier of the first resource transfer message, that is, a requested user identifier; the first resource transfer message also carries a receiver identifier of the first resource transfer message, that is, a request user identifier. The first resource transfer message can be sent to the server through the resource terminal, and then the server sends the first resource transfer message to the request terminal according to the receiver identification carried in the first resource transfer message.
In this embodiment, the requesting terminal receives a first resource transfer message. The transfer resource of the resource amount may be transferred from the requested user identity to the requesting user identity upon receipt of the first resource transfer message by the server. The resource transfer of the resource amount from the requested subscriber identity to the requesting subscriber identity may be performed after the server receives an acknowledgement message based on the first resource transfer message from the requesting terminal.
S206, based on the transferred-in user identification and the transferred resource and resource amount, sending a second resource transfer message.
After receiving the first resource transfer message, the request terminal actively sends a second resource transfer message to a target terminal which is switched into the user identifier for logging. The second resource transfer message can be sent to the server by the request terminal, and then the server forwards the second resource transfer message to the target terminal according to the receiver identifier, namely the forwarding user identifier, in the second resource transfer message. It will be appreciated that the sender identity of the second resource transfer message is the requesting user identity.
The transfer resources of the resource amount can be allocated to each transfer-in user according to a preset resource allocation rule. The resource allocation rule may be a proportional allocation, such as an average allocation in a 1:1 ratio, or an allocation in other ratios; as another example, the transfer resource is allocated to the transferring user according to the principle of random allocation.
Based on the resource transfer method of the embodiment, the temporary resource transfer relationship between the requested user identifier and the transfer-in user identifier can be established through the requesting user identifier. And the original association relation between the request user identification and the transfer-in user identification does not need to exist. The association relationship comprises a friend relationship, a relationship belonging to the same group and a temporary resource transfer relationship established in a code scanning mode. Therefore, the requesting user can receive the transfer resource transferred by the requesting user by receiving the first resource transfer message, and then the requesting user can forward all or part of the received transfer resource to the transfer user selected by the requesting user in the sharing users by sending the second resource transfer message, so that the flexibility of resource transfer is improved on the premise of ensuring the safety.
In one embodiment, sending a request to transfer resources based on a requesting user identification includes: acquiring multimedia data; receiving a sharing setting instruction based on the multimedia data and the request user identification, wherein the sharing setting instruction is used for setting a sharing user identification; and sending a resource transfer request according to the sharing setting instruction.
The multimedia data can be made or downloaded in advance, stored in the request terminal and acquired by reading the multimedia file corresponding to the storage address. The multimedia data can also be collected on the spot, and the multimedia data can be collected through a multimedia data collecting device so as to obtain the multimedia data.
By editing the acquired multimedia data, for example, adding a control to a character object in a video, a resource transfer instruction is triggered when a user touches the character object or the control in the process of displaying the multimedia data. In the process of adding the control, a sharing user identifier needs to be added. The process of adding the control can be a process of receiving a sharing user identification instruction. For example, as shown in fig. 3, a user edits video data in a micro-vision application, adds an element "Ta wants to red envelope" to the video data to generate a corresponding control, so that when the user touches the element or a person object bound to the element is detected, a resource transfer instruction is triggered.
The attribute setting can also be performed by setting the acquired multimedia data, and the attribute setting process comprises receiving a sharing setting instruction. Namely, the mode of setting the attribute of the multimedia data is used for setting the sharing user corresponding to the multimedia data. The sharing user refers to a transfer resource transfer-in person set by the requesting user and selected by the requesting user. As shown in fig. 4, after the user determines the multimedia data message in the instant chat tool, such as WeChat, the user sets a sharing user of the multimedia data by pressing the multimedia data message for a long time and selecting "set sharer" in the pop-up menu.
It can be understood that the sharing setting instruction carries the sharing user identifier and the requesting user identifier. The request terminal can send a resource transfer request according to the shared user identifier and the request user identifier carried by the shared setting instruction. Wherein the requesting user identifier is used as the sender identifier of the resource transferring request.
Based on the resource transfer method of the embodiment, a setting mode of the sharing user is provided, so that the user can be conveniently requested to set the sharing user, and the flexibility of resource transfer is further improved.
In one embodiment, receiving a sharing setting instruction based on multimedia data and a request user identifier includes: acquiring multimedia information, and determining a multimedia message carrying multimedia data according to the multimedia information; displaying the multimedia message in an interactive interface based on the request user identification; and receiving a sharing setting instruction based on the displayed multimedia message.
The multimedia information refers to information of the multimedia data, such as a storage address of the multimedia data, and an identifier of the multimedia data. Multimedia data corresponding to the multimedia information can be found through the multimedia information.
The requesting user can select multimedia data by selecting a storage path or identification of the multimedia data in the multimedia data selection interface. Then, according to the multimedia information, a message carrying multimedia data corresponding to the multimedia information, i.e. a multimedia message, can be determined. The multimedia message may be sent to the server with the request for transferring resources and then forwarded via the server to the resource terminal that the requested user is logged on to. That is, the multimedia message may be carried in the request to transfer resources. The multimedia message may be presented in an interactive interface with the requesting user after the resource terminal has received the request to transfer the resource.
In order to facilitate the reception of the sharing setting instruction, the multimedia message may be displayed in an interactive interface corresponding to the requesting user identifier logged in the requesting terminal. The multimedia message can be displayed in the interactive interface of the request terminal after being determined, and does not need to be displayed after the multimedia message is sent, so that the sharing setting instruction can be conveniently received. The interface for receiving the sharing setting instruction can be triggered and displayed by detecting a preset action, such as clicking, long-time pressing, double-click on the multimedia message and the like. Or triggering the pop-up menu by detecting a preset action, and then receiving a mode of selecting a sharing user identifier setting command in the pop-up menu, and triggering and displaying an interface for receiving a sharing setting command. The interface for receiving the sharing setup instruction in one particular application is shown in fig. 5. And finally, receiving the sharing setting instruction on the displayed interface for receiving the sharing setting instruction. As such, a sharing setup instruction is received based on the presented multimedia message.
Based on the resource transfer method of the embodiment, a more specific setting mode of the sharing user is provided, so that the requesting user can conveniently set the sharing user, and the flexibility of resource transfer is further improved.
In one embodiment, receiving a sharing setup instruction based on a presented multimedia message comprises: based on the displayed multimedia message, when a menu display instruction is triggered, displaying an operation menu aiming at the multimedia message; displaying a sharing user identification selection interface when receiving a sharing user identification setting command based on the operation menu; and receiving at least one sharing user identifier based on the sharing user identifier selection interface, and determining a sharing setting instruction based on the sharing user identifier.
In this embodiment, the interface for receiving the sharing setting instruction is triggered to display the instruction for triggering the menu. The menu display instruction can be triggered by detecting a preset action, such as clicking, long-pressing, double-clicking the multimedia message and the like. And after the menu presentation instruction is triggered, presenting an operation menu for the multimedia message. In one embodiment, as shown in fig. 4, the items in the operation menu may include operations that can be performed on the multimedia message, such as sending to friends, reminding, deleting, setting sharers, and the like. The setting of the sharer refers to setting a command of a sharing user corresponding to the multimedia data carried by the multimedia data message. When the "set sharer" is selected, the request terminal receives a sharing user representation setting instruction based on the operation menu. It is understood that the sharing users of the multimedia data carried by the multimedia message can also be set in the operation menu through other items, such as "set sharing users".
And the sharing user identification selection interface is used for displaying the user identification which can be selected as the sharing user and receiving the user identification of the sharing user selected by the request user. At least one sharing user identification is received based on the sharing user identification selection interface, and thus, the requesting user may select at least one user as a sharing user. The requesting terminal may determine the sharing setting instruction based on the selected sharing user identification.
In this manner, the requesting user can set a sharing user of the multimedia data. Thereby further improving the flexibility of resource transfer.
In one embodiment, the receiving, based on the multimedia data and the request user identifier, a sharing setting instruction includes: after the multimedia data are acquired, displaying a sharing user setting interface; and receiving a sharing user setting instruction through the displayed sharing user setting interface.
After the multimedia data are acquired, a sharing user setting interface can be directly displayed; or popping up a dialog box whether to add a sharer or not after the multimedia data is acquired, and then displaying a sharing user setting interface after the sharer is selected to be added in the dialog box; and finally, receiving a sharing user setting instruction through the displayed sharing person interface.
In one embodiment, as shown in fig. 6, a "+" button may be clicked through the bottom of the conversation box, and a function area may be expanded, where an album may be selected, and after selecting a picture or video, a dialog box whether to add a sharee may pop up. Or selecting to shoot in the function area, and popping up a dialog box whether to add a sharer or not after the picture or the video is shot. It is also possible to add a new function "resource request" in the function field, and after selecting the resource request function and selecting the appropriate multimedia data, pop up whether to add sharer dialog. After receiving the command of adding the sharer, the interface for receiving the sharing setting instruction, namely the sharer setting interface, shown in fig. 5 pops up.
In one embodiment, the number of the transferred-in user identifiers is at least 2, and the first resource transfer message also carries a resource allocation rule; sending a second resource transfer message based on the transferred-in user identifier, the transferred resource and the resource amount, wherein the second resource transfer message comprises: and sending a second resource transfer message based on the resource allocation rule, the transferred-in user identifier, the transferred resource and the resource amount.
In this embodiment, the number of the transfer-in user identifiers is at least 2, so that one resource transfer initiated by the requested user can be transferred to at least two transfer-in users.
When the number of the transferred-in user identifiers is at least 2, the first resource transfer message may further carry a resource allocation rule. The resource allocation rule is an allocation principle for allocating the transfer resources transferred to each transfer-in user by the requested user. E.g., may be a proportional allocation, a random allocation, a quota allocation, etc.
The proportional allocation may be total resource amount given by the requested user for transfer, and the target amount to be transferred to each transfer-in user is determined according to the proportional allocation proportion.
The random allocation may be total resource amount given by the requested user to be transferred, and the target amount to be transferred corresponding to each transfer-in user is determined in a random allocation manner.
Quota allocation may cause the requested user to be given a target amount of at least one transfer-in user. Specifically, the target amount of transfer resources can be transferred for each transfer-in user. In this way, the transfer value is equal to the target amount multiplied by the number of transferred-in user identities.
Based on the resource transfer method of the embodiment, the second resource transfer message is sent based on the resource allocation rule, the transferred-in user identifier, the transferred resource and the resource amount. The receiver identifier of the second resource transfer message is the identity of the transfer-in user, that is, the second resource transfer message is sent to the transfer-in user. The second resource transfer message may be sent to the server first, and the server forwards the second resource transfer message to the target terminal where the transfer-in user logs in according to the transfer-in user identifier.
In one embodiment, the sending the second resource transfer message based on the resource allocation rule, the ported-in user identifier, the transfer resource and the resource amount includes: when the resource allocation rule is allocated in proportion, determining a target numerical value to be switched in by each switched-in user identifier based on the resource allocation rule, the transferred resource and the resource amount; and sending a second resource transfer message according to the transferred user identifier and the target value.
When the resource allocation rule is proportionally allocated, the request terminal can determine the target amount to be switched in by each switched-in user identifier according to the resource allocation rule and the resource amount. For example, the resource amount may be multiplied by the allocation duty corresponding to the transfer-in subscriber identity to obtain the target amount to which the transfer-in subscriber identity should be transferred. The request terminal can send the second resource transfer message to the server according to the switched-in user identifier and the target amount, the server forwards the second resource transfer message to the target terminal according to the switched-in user identifier carried in the second resource transfer message, and the transfer resource corresponding to the target amount is switched from the request user identifier to the switched-in user identifier.
In one embodiment, the sending the second resource transfer message based on the resource allocation rule, the ported-in user identifier, the transfer resource and the resource amount includes: when the resource allocation rule is random allocation, a second resource transfer message is sent based on the resource allocation rule, the transferred-in user identification, the transferred resource and the resource amount; and receiving target values to be switched in by the switched-in user identifications respectively determined based on the second resource transfer messages.
In this embodiment, when the resource allocation rule is random allocation, the random allocation is triggered based on the target terminal. And the second resource transfer message sent to the transferring user carries the transferred resources and the resource amount transferred by the requested user. After the target terminal receives the second resource transfer message, the target value randomly allocated to the transfer-in user can be triggered by clicking the second resource transfer message and determining the mode of receiving the resource transfer, and the target value is fed back to the request terminal sending the second resource transfer message. A specific application example may be that the request terminal sends a randomly allocated red packet message to each transfer-in user, and when each transfer-in user determines to receive the red packet at the target terminal, the determination information sent by the target terminal triggers the server to allocate a transfer-in target value to the transfer-in user.
In this embodiment, the requesting terminal further receives target values to be transferred to by each transfer-in user identifier, which are respectively determined based on each second resource transfer message, so that the requesting user of the requesting terminal can also know the allocation condition of the transfer resources.
In other embodiments, the random allocation may also be triggered based on the resource terminal or the requesting terminal. For example, a resource allocation rule allocated randomly can be selected at the resource terminal, and the resource terminal determines a target value to be transferred to by each transfer-in user according to a random allocation mode; or after the resource terminal selects the randomly allocated resource allocation rule and sends the first resource transfer message, the resource terminal sends the first resource transfer message to the server, and the server determines the target numerical value to be transferred to by each transfer-in user. For another example, after the resource terminal selects the resource allocation rule allocated randomly, the first resource transfer message is sent to the server, and the server determines the target value to be transferred to each transfer-in user according to the transfer resource, the resource amount and the transfer-in user identifier and the random allocation rule; or when the request terminal receives the first resource transfer message and confirms the numerical value transfer based on the first resource transfer message, for example, the information of the resource transfer is determined to be received, specifically, the red packet message may be clicked, then the "open" button is clicked to determine to open the red packet, that is, the transfer resource transfer is accepted, and the random allocation is triggered after the transfer resource transfer is determined to be accepted. The request terminal can determine the target values of the transfer resources for transferring the values to be respectively distributed to the transfer users according to the random distribution rule.
In one embodiment, sharing the user identification includes requesting the user identification; sending a second resource transfer message based on the transferred-in user identifier, the transferred resource and the resource amount, wherein the second resource transfer message comprises: and when the transfer-in user identification comprises a shared user identification except the request user identification, sending a second resource transfer message based on the transfer-in user identification, the transfer resource and the resource amount.
In this embodiment, the sharing user includes the requesting user himself. When the transferring-in user comprises the requesting user, the target terminal also comprises the requesting terminal. When the sharing user comprises the request user, if the transfer-in user comprises the request user, the request terminal does not need to send a second resource transfer message to the request terminal. And when the transfer-in user comprises other shared users except the request user, sending a second resource transfer message to a target terminal except the request terminal based on the transfer-in user identification, the transfer resource and the resource amount. In a specific application scenario, the form of the second resource transfer message received by the target terminal may be as shown in fig. 7, and the resource transfer message may also carry the transfer resource, the resource amount, and the target amount. The transfer resource is a numerical resource. The transferred resource amount in fig. 7 is 30, and the transfer-in user "brightens" the value resource received in the resource transfer, i.e. the target amount is 10.
In a specific application scenario, the requesting user identifier may be a default one of the transfer-in user identifiers, that is, the requesting user is a default one of the transfer-in users that receives the resource transfer. In a more specific application scenario, at least two ways of entering user-defined are provided: one is to take the requesting user as the only transfer-in user, and the other is to take the requesting user and other sharing users as all transfer-in users.
Based on the resource transfer method of the embodiment, the request terminal sends the second resource transfer message to the target terminal when the transfer-in user is a shared user identifier other than the request user identifier. Thus, unnecessary resource waste can be reduced.
As shown in fig. 8, in one embodiment, a resource transfer method is provided that may operate in the requesting terminal 102 of fig. 1. The resource transfer method corresponds to the resource transfer method and comprises the following steps:
s701, multimedia data are obtained.
The request terminal acquires multimedia data. The multimedia data is data for expressing a required resource. E.g., expressions, pictures, text, video, etc. that are requested or claimed in WeChat for red envelope; as another example, in a micro-view, a short video with a reward control is embedded.
S703, when the configuration operation of the sharing user for the media data is triggered, the sharing user is configured.
When a configuration operation for a sharing user of media data is triggered on a requesting terminal, the sharing user is configured on the requesting terminal. The triggering of the configuration operation of the sharing user of the multimedia data may be that a configuration instruction is received on the request terminal, for example, when the multimedia data is displayed, the user clicks a control in the multimedia data, so that the request terminal receives the configuration instruction, thereby triggering the configuration operation of the sharing user of the multimedia data. As another example, a multimedia message based on the multimedia data may be sent to the requested user after the multimedia data is obtained. The multimedia message is presented in an interactive interface with the requested user and a configuration instruction is received based on the presented multimedia message. The configuration operation of the sharing user of the multimedia data can be triggered by detecting a preset action, such as clicking, long-pressing, double-clicking the multimedia message and the like.
When configuring the sharing user of the multimedia data, the user may select the sharing user to be configured from the displayed sharing user selection list after triggering the configuration operation of the sharing user of the multimedia data. After the selection is finished, the configuration operation of the sharing user is finished.
S705, sending a resource transfer request based on the media data and the configured sharing user.
The requesting terminal sends a resource transfer request based on the shared users for the media data and configuration. The resource transfer request may carry multimedia data and a shared user identifier corresponding to the multimedia data.
And S707, receiving and displaying the transfer resources and the resource amount acquired based on the transfer resource request.
And the request terminal receives and displays the transfer resources and the resource amount acquired based on the transfer resource request. After receiving the resource transfer request, the resource terminal may initiate a resource transfer operation of transferring the resource of the requested user to the transfer-in user. The resource amount is the amount of resources transferred out by the requested user of the resource transfer operation.
And S709, forwarding the transfer resources and the transfer resources with the target amount in the resource amount to a transfer-in user, wherein the transfer-in user comprises at least one sharing user.
And the request terminal forwards the transfer resources of the target quantity in the resource quantity to the transfer-in user. The target quantity is the quantity of resources which need to be transferred to the transfer-in user in the resource transfer operation initiated by the resource terminal. Therefore, the transfer resources transferred out by the requesting user are transferred to the transfer-in user through the requesting user.
Acquiring multimedia data based on the resource transfer method of the embodiment; when the configuration operation of the sharing user of the multimedia data is triggered, the sharing user is configured; sending a resource transfer request based on the media data and the configured shared users; receiving and displaying the transfer resources and the resource amount acquired based on the transfer resource request; and forwarding the transfer resources of the target amount in the resource amount to the transfer-in user, wherein the transfer-in user comprises at least one sharing user. Therefore, the transfer resources transferred out by the requesting user are transferred to the transfer-in user through the requesting user. And establishing a temporary resource transfer relationship between the requested user and the transfer-in user by the requesting user. And the association relation between the requesting user and the transferring-in user is not needed to exist originally. The association relationship comprises a friend relationship, a relationship belonging to the same group and a temporary resource transfer relationship established in a code scanning mode. Therefore, on the premise of ensuring the safety, the flexibility of resource transfer is improved.
As shown in FIG. 9, in one embodiment, a resource transfer method is provided. The method may operate at the resource terminal 104 in fig. 1. The resource transfer method comprises the following steps:
s802, receiving a resource transfer request, wherein the resource transfer request carries a request user identifier, a sharing user identifier and multimedia data.
The resource terminal may receive a request to transfer resources that the requesting terminal sends to the resource terminal. Further, the resource terminal may receive a resource transfer request that the requesting terminal forwards to the resource terminal via the server.
The request for transferring resources carries the identity of the requesting user. The requesting user is a user who requests a resource to a requested user by transmitting multimedia data through a requesting terminal. The shared user refers to a user who requests a user or receives a resource transfer set by a producer of multimedia data.
Multimedia data is data for expressing a required resource. For example, expressions, pictures, text, video, etc. requesting a red envelope in the WeChat; as another example, in a micro-view, a short video with a reward control is embedded. It should be noted that, in this embodiment, there is a corresponding relationship between the shared user identifier and the multimedia data. The multimedia data in a resource transfer request corresponds to at least one shared user identifier. The sharing user may include the requesting user himself, and may also include other users involved in the multimedia data. For example, in a video that is red-packed for a period of a kayake, the sharing users may include each user in the video. It is to be understood that the sharing user may also include not the requesting user, but the user involved in the multimedia data having a friend relationship with the requesting user.
S804, based on the multimedia data and the requested user identification, a resource transfer instruction is received. The resource transfer instruction comprises a transfer-in user identifier and a transfer resource and a resource amount transferred out from a requested user identifier; the transfer-in user identification comprises at least one sharing user identification.
The multimedia data can be displayed at the resource terminal, and the multimedia message corresponding to the multimedia data can also be displayed. And triggering through the displayed multimedia data or multimedia data message, and receiving a resource transfer instruction. If the corresponding control in the multimedia data can be clicked in the process of displaying the multimedia data, if the multimedia message is pressed for a long time on the interface for displaying the multimedia data message, an operation menu pops up, and an instruction for initiating resource transfer is selected from the popped up operation menu. The instruction for initiating resource transfer can be triggered by an instruction in an operation menu, for example, a packet is sent to a requesting user, and thus, the packet is sent to a sender of multimedia data, namely, the requesting user sending the resource transfer request; for another example, a red packet is sent to all the users, and thus, the red packet is sent to all the sharing users corresponding to the multimedia data.
The resource transfer instruction is used for indicating the transfer resources of the total transfer resource amount from the transfer resources of the requested user identification to each transfer-in user identification. The transfer-in user is a target object selected by the requesting user from the sharing user and transferred in by the transfer resource.
S806, according to the transfer user mark, the request user mark and the transfer resource and resource amount, sending the first resource transfer message.
The sender identification of the first resource transfer message is the requested user identification, and the receiver identification is the requesting user identification. The resource terminal sends the first resource transfer message to the requesting terminal. Further, the resource terminal may forward the first resource transfer message to the requesting terminal through the server. The first resource transfer message also carries the transferred-in user identification, the transferred resource and the resource amount. The first resource transfer message is used for indicating that the resource of the resource amount provided by the requested user is transferred to the requesting user and transferred to the transfer-in user through the requesting user.
And the request terminal requesting the user identification to log in sends a second resource transfer message according to the first resource transfer message, wherein the second resource transfer message carries the switched-in user identification. The receiver identification of the second resource transfer message is the transfer-in user identification.
Based on the resource transfer method of the embodiment, a temporary resource transfer relationship between the requested user identifier and the transfer-in user identifier is established through the requesting user identifier. And the original association relation between the request user identification and the transfer-in user identification does not need to exist. The association relationship comprises a friend relationship, a relationship belonging to the same group and a temporary resource transfer relationship established in a code scanning mode. Therefore, the requesting user can receive the transfer resource transferred by the requesting user by sending the first resource transfer message, and the requesting terminal logged in by the requesting user is instructed to transmit the second resource transfer message, so that the requesting user can forward all or part of the received transfer resource to the transfer user selected by the requesting user in the sharing users, and the flexibility of resource transfer is improved on the premise of ensuring the safety.
In one embodiment, the number of ported-in subscriber identities is at least 2; receiving a resource transfer instruction based on the requested user identifier and the multimedia data, comprising: presenting the multimedia data based on the requested user identification; receiving an allocation rule setting instruction based on the displayed multimedia data, wherein the allocation rule setting instruction comprises a resource allocation rule; and acquiring the switched-in user identification, the transferred resources and the resource amount based on the resource allocation rule.
And displaying the multimedia data at the resource terminal which is logged in by the requested user identifier. The receiving of the allocation rule setting instruction based on the displayed multimedia data may be displaying the resource allocation rule receiving instruction after long-time pressing of the multimedia data or after clicking of a corresponding control in the multimedia data. The resource allocation rule instruction may be to transfer the resource to the transfer-in user, and when the number of the transfer-in users is not less than 2, the resource allocation rule may further include allocation rules such as random allocation, proportional allocation, quota allocation, and the like. The resource allocation rule instructions may include giving her only a red parcel, giving all people a red parcel, giving many people a red parcel, etc. In one specific application scenario, as shown in FIG. 10, she is given only a red packet, indicating that the transfer resource is transferred to only one transfer-in user selected by the requesting user; as another example, a red packet is sent to all users indicating that the resource is being transferred to all sharing users.
After the requested user selects the resource allocation rule, the resource terminal may acquire the in-turn user identifier based on the resource allocation rule. For example, when the resource allocation rule is to give all people a red packet, the transfer-in user identifier is determined as all shared user identifiers. For another example, when the resource allocation rule is that she is only given a red packet, or multiple users are given a red packet, the shared user list is displayed for the requested user to select, so that the resource terminal obtains the identifier of the transfer-in user. In this embodiment, the user is also required to input the transfer resource and the resource amount of the resource transfer to limit the transfer resource and the transferred resource amount of the resource transfer.
Based on the resource transfer method of the embodiment, a transfer-in user determination mode for transferring resource transfer is provided for the resource terminal. Thus, the flexibility of resource transfer can be further improved.
In one embodiment, the receiving a resource transfer instruction based on the requested user identifier and the multimedia data includes: receiving a switching-in user setting instruction based on the multimedia data; the switching-in user setting instruction is used for setting a switching-in user identifier; and determining a resource transfer instruction based on the requested user identification, the transfer-in user identification, the transfer resource and the resource amount.
The menu including the setting switch-in user command may be presented by long-pressing the multimedia message based on the multimedia data, and also by long-pressing the presented multimedia data. When the command is selected, a list of sharing users may be presented. The requested user may select a transfer-in user in the shared user list, such that the resource terminal receives a transfer-in user setting instruction.
After receiving the instruction set by the transfer-in user, the identification of the transfer-in user can be determined according to the instruction determined by the transfer-in user. Based on the in-turned user identifier, the transferred resource and resource amount, and the currently logged-in requested user identifier, a resource transfer instruction may be determined. The resource amount refers to the amount of resources transferred from the requested user.
In a specific application scenario, as shown in fig. 11, a transfer-in user may be selected from the displayed shared user list, and thus, the transfer-in user identifier is set, that is, a transfer-in user setting instruction is received. Specifically, all sharing users can be selected as the transfer-in users by pressing the all-selection button, or the currently selected transfer-in users can be all cancelled by pressing the cancel button, and the selection is performed again.
As shown in FIG. 12, in one embodiment, a resource transfer method is provided. The method may operate at the resource terminal 104 in fig. 1. The resource transfer method comprises the following steps:
s902, receiving a resource transfer request, wherein the resource transfer request carries multimedia data, a request user and a sharing user.
The resource terminal receives the request for transferring resources. The resource transfer request carries multimedia data for requesting resources, a request user identifier of a request user sending the resource request, and a shared user identifier of a shared user configured by the request user. The sharing user corresponds to the multimedia data.
S904, the multimedia data are displayed, and a resource transfer instruction is triggered based on the displayed multimedia data.
And displaying the multimedia data at the resource terminal, and triggering a resource transfer instruction by clicking a corresponding control when the user can display the multimedia data. Or after the multimedia data is displayed, a resource transfer function can be selected by right clicking or long pressing to open a function menu, and a resource transfer instruction is triggered.
S906, after the resource transfer instruction is triggered, the transfer-in user, the transfer resource and the resource amount are obtained, and the transfer-in user is the user who selects the transfer-in transfer resource from the shared users. The transfer-in user comprises at least one sharing user.
After the resource transfer instruction is triggered, the resource terminal needs to acquire the transferred-in user to which the resource is transferred, the transferred-out transfer resource, and the resource amount of the transferred-out transfer resource. The user can select the transfer-in user in a mode of selecting from the sharing user selection list, so that the resource terminal can acquire the information of the transfer-in user. The resource terminal can be configured with the transfer resource and the resource amount, so that the resource terminal can acquire the information of the transfer resource and the resource amount.
S908, determining resource transfer information according to the transfer-in user, the transfer resource and the resource amount, and sending the resource transfer information according to the request user.
The resource terminal can determine the resource transfer message according to the transferred-in user, the transferred resource and the resource amount. The resource transfer message is used to instruct transfer of a transfer resource, from which the amount of resource is transferred from the requested user, to the requesting user. And sending the resource transfer message according to the requesting user, namely forwarding the resource transfer message to a requesting terminal corresponding to the requesting user through a server. The resource transfer message is also used to indicate that the transfer resource of the target amount is transferred from the requesting user to the transfer-in user. The sum of the transferred-in target amount of each transferred-in user is less than or equal to the resource amount.
Based on the resource transfer method of the embodiment, the transfer resource transferred out by the request user is transferred to the transfer-in user through the request user. In this way, the temporary resource transfer relationship between the requested user and the transfer-in user is established by the requesting user. And the association relation between the requesting user and the transferring-in user is not needed to exist originally. The association relationship comprises a friend relationship, a relationship belonging to the same group and a temporary resource transfer relationship established in a code scanning mode. Therefore, on the premise of ensuring the safety, the flexibility of resource transfer is improved.
As shown in FIG. 13, in one embodiment, a resource transfer method is provided. The method may operate at server 108 in fig. 1. The resource transfer method comprises the following steps:
s1002, receive a first resource transfer request sent based on the first resource transfer message. The first resource transfer message comprises a requested user identifier for transferring out the resource, a requesting user identifier for sending the resource transfer request, a transferring-in user identifier for transferring in the resource, and a transfer resource and a resource amount transferred out from the requested user identifier, wherein the transferring-in user identifier comprises at least one sharing user identifier. The first resource transfer request comprises a requesting user identification, a requested user identification, and transfer resources and resource amount.
The first resource transfer request may be that the resource terminal sends the first resource transfer message to the server as the first resource transfer request when sending the first resource transfer message. In a specific application scenario, the second resource transfer message is a transfer message. The first resource transfer request may also be a request for triggering the requesting terminal to send the first resource transfer request to the server after the first resource transfer message is sent to the requesting terminal and the requesting terminal receives the confirmation information of the resource transfer. For example, after the red packet message is clicked and then the button for opening the red packet is clicked, the request terminal is triggered to send the first resource transfer request to the server.
S1004, transferring the resources of the transferred resources and the resource amount in the requested user identifier to the requesting user identifier according to the first resource transfer request.
Transferring the resource transfer amount of the resource amount in the requested user identifier to the requesting user identifier means increasing the resource transfer amount of the requesting user and decreasing the resource transfer amount of the requested user.
S1006, receiving a second resource transfer request sent based on the second resource transfer message. The second resource transfer message comprises a request user identifier, a transfer-in user identifier, transfer resources and resource amount. The second resource transfer request comprises a request user identifier, a transfer-in user identifier and a target amount. The target amount is less than or equal to the resource amount.
The second resource transfer request may be, similar to the first resource transfer request, to be transmitted to the server as a second resource transfer request when the second resource transfer message is transmitted by the requesting terminal. In one particular application scenario, the second resource transfer message may be a transfer message. The second resource transfer request may also be a request for triggering the target terminal to send the second resource transfer request to the server after the target terminal receiving the second resource transfer message receives the confirmation message of the second resource transfer. For example, after clicking the red packet message and then clicking the button for opening the red packet, the target terminal is triggered to send the second resource transfer request to the server.
The target value may be determined by the requesting terminal, the resource terminal or the server according to the resource allocation rule, the resource amount and the forwarding user received at the resource terminal.
S1008, transferring the resource of the target value in the request user identification to the transfer-in user identification according to the second resource transfer request.
Transferring the resource amount of the request identifier to the requesting user identifier means increasing the resource amount of the requesting user's transferred resource and decreasing the resource amount of the requested user's transferred resource.
Based on the resource transfer method of the embodiment, the temporary resource transfer relationship between the requested user identifier and the transfer-in user identifier can be established through the requesting user identifier. And the original association relation between the request user identification and the transfer-in user identification does not need to exist. The association relationship comprises a friend relationship, a relationship belonging to the same group and a temporary resource transfer relationship established in a code scanning mode. Therefore, the quasi-transfer resource of the resource amount in the requested user identification can be transferred to the requesting user identification according to the first resource transfer request, and then the target amount of the resource in the requesting user identification is transferred to the transfer-in user identification according to the second resource transfer request, so that the flexibility of resource transfer is improved on the premise of ensuring the safety.
To more clearly illustrate the embodiments of the present application, a business flow diagram of a specific application scenario is provided as shown in fig. 14. The resource allocation rule in the specific application scenario includes sending a red packet to the sender, and sending the red packet to multiple people in an average allocation mode.
First, the user is requested to make a request for red-packed multimedia data, such as a request for red-packed video. The requesting user sets a red packet sharer, namely a sharing user corresponding to the multimedia data. The requesting user sends a red packet seeking video, and the red packet seeking video can be sent to public platforms such as a friend circle, a microblog and a space, can also be sent to friends in a friend list, and can also be sent to a group to which the requesting user belongs.
And then, after the user receives the red packet seeking video, if the red packet seeking video is not sent, the service is ended. If the sender is selected to send the red packet, namely the transfer-in user is the request user, the request user receives the red packet and does not need to transfer the red packet to other people. If the red packet is selected to be sent to multiple users, namely the transfer-in users comprise the request users and users except the request users, the request users evenly distribute the red packet to other transfer-in users in an automatic forwarding mode of the request users after receiving the red packet.
It should be understood that although the steps in the flowcharts of fig. 2, 8, 9, 12, 13 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2, 8, 9, 12, and 13 may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternatingly with other steps or at least some of the sub-steps or stages of other steps.
In an embodiment, as shown in fig. 15, a resource transfer apparatus corresponding to the above resource transfer method operating in a requesting terminal is provided, including:
a resource request sending module 1202, configured to send a resource transfer request based on a requesting user identifier, where the resource transfer request carries multimedia data and a sharing user identifier corresponding to the multimedia data;
a transfer message receiving module 1204, configured to receive a first resource transfer message sent based on the shared user identifier, the multimedia data, and the requesting user identifier;
the first resource transfer message carries a requested user identifier for transferring out the transfer resource, a transfer-in user identifier for transferring in the transfer resource, and the transfer resource and the resource amount transferred out from the requested user identifier; the transfer-in user identification comprises at least one sharing user identification;
a transfer message sending module 1206, configured to send a second resource transfer message based on the transferred-in user identifier and the transfer resource and the resource amount.
In one embodiment, the resource request sending module includes:
a media data acquisition unit for acquiring multimedia data;
the sharing user setting unit is used for receiving a sharing setting instruction based on the multimedia data and the request user identification; the sharing setting instruction is used for setting the sharing user identification;
and the resource request sending unit is used for sending a resource transferring request according to the sharing setting instruction.
In one embodiment, the shared user setting unit includes:
the message sending subunit is used for acquiring multimedia information and sending the multimedia message carrying multimedia data according to the multimedia information;
a message display subunit, configured to display the multimedia message in an interactive interface based on the request user identifier;
and the sharing user setting subunit is used for receiving a sharing setting instruction based on the displayed multimedia message.
In one embodiment, the sharing user setting subunit is configured to, based on the presented multimedia message, present an operation menu for the multimedia message when a menu presentation instruction is triggered; displaying a sharing user identification selection interface when receiving a sharing user identification setting command based on the operation menu; and receiving at least one sharing user identifier based on the sharing user identifier selection interface, and determining a sharing setting instruction based on the sharing user identifier.
In one embodiment, the number of the transferred-in user identifiers is at least 2, and the first resource transfer message further carries a resource allocation rule;
and the transfer message sending module is used for sending a second resource transfer message based on the resource allocation rule, the switched-in user identifier, the transfer resource and the resource amount.
In one embodiment, the transfer message sending module includes:
a target value unit, configured to determine, when the resource allocation rule is proportionally allocated, a target value to which each of the switched-in user identifiers should be switched, based on the resource allocation rule and the transferred resources and the resource amount;
and the transfer message sending unit is used for sending a second resource transfer message according to the switched-in user identifier and the target amount.
In one embodiment, the transfer message sending module includes:
a transfer message sending unit, configured to send a second resource transfer message based on the resource allocation rule, the in-transfer user identifier, and the transfer resource and the resource amount when the resource allocation rule is a random allocation;
and a target value receiving unit, configured to receive a target value to be transferred to by each transfer-in user identifier, where the target value is determined based on each second resource transfer message.
In one embodiment, the shared user identifier comprises the requesting user identifier;
and the transfer message sending module is used for sending a second resource transfer message based on the transfer-in user identifier and the transfer resource and resource amount when the transfer-in user identifier comprises the shared user identifier except the request user identifier.
Based on the resource transfer device of the above embodiment, the temporary resource transfer relationship between the requested user identifier and the transfer-in user identifier can be established by the requesting user identifier. And the original association relation between the request user identification and the transfer-in user identification does not need to exist. The association relationship comprises a friend relationship, a relationship belonging to the same group and a temporary resource transfer relationship established in a code scanning mode. Therefore, the requesting user can receive the transfer resource transferred by the requesting user by receiving the first resource transfer message, and then the requesting user can forward all or part of the received transfer resource to the transfer user selected by the requesting user in the sharing users by sending the second resource transfer message, so that the flexibility of resource transfer is improved on the premise of ensuring the safety.
In an embodiment, as shown in fig. 16, there is provided a resource transfer apparatus corresponding to the above resource transfer method operating in a resource terminal, including:
a resource request receiving module 1302, configured to receive a resource transfer request, where the resource transfer request carries a request user identifier, a shared user identifier, and multimedia data;
a transfer instruction receiving module 1204, configured to receive a resource transfer instruction based on the multimedia data and the requested user identifier, where the resource transfer instruction includes a transfer resource and a resource amount transferred to and from the requested user identifier; the transfer-in user identification comprises at least one sharing user identification;
a transfer message sending module 1206, configured to send a first resource transfer message according to the transfer-in user identifier, the request user identifier, the transfer resource, and the resource amount;
and the request terminal for requesting the login of the user identifier sends a second resource transfer message according to the first resource transfer message, wherein the second resource transfer message carries the switched-in user identifier.
In an embodiment, there is further provided a resource transfer apparatus corresponding to the resource transfer method operating in a resource terminal, including:
the media data acquisition module is used for acquiring multimedia data;
the shared user configuration module is used for configuring the shared users of the media data when the configuration operation of the shared users is triggered;
a resource request sending module, configured to send a resource transfer request based on the media data and the configured shared user;
the transfer resource receiving module is used for receiving and displaying a transfer numerical value acquired based on the transfer resource request;
and the transfer resource forwarding module is used for forwarding the transfer resources of the target amount in the resource amount to a transfer-in user, wherein the transfer-in user comprises at least one sharing user.
The resource transfer device according to this embodiment transfers the transfer resource transferred by the requesting user to the transfer-in user by the requesting user. In this way, the temporary resource transfer relationship between the requested user and the transfer-in user is established by the requesting user. And the association relation between the requesting user and the transferring-in user is not needed to exist originally. The association relationship comprises a friend relationship, a relationship belonging to the same group and a temporary resource transfer relationship established in a code scanning mode. Therefore, on the premise of ensuring the safety, the flexibility of resource transfer is improved.
In one embodiment, the number of the transferred-in user identifications is at least 2; the branch instruction receiving module 1304 includes:
the data presentation unit is used for presenting the multimedia data based on the requested user identification;
the distribution rule receiving unit is used for receiving a distribution rule setting instruction based on the displayed multimedia data, and the distribution rule setting instruction comprises a resource distribution rule;
and the carried data acquisition unit is used for acquiring the switched-in user identification, the transferred resources and the resource quantity based on the resource allocation rule.
Based on the resource transfer device of the above embodiment, the temporary resource transfer relationship between the requested user identifier and the transfer-in user identifier is established by the requesting user identifier. And the original association relation between the request user identification and the transfer-in user identification does not need to exist. The association relationship comprises a friend relationship, a relationship belonging to the same group and a temporary resource transfer relationship established in a code scanning mode. Therefore, the requesting user can receive the transfer resource transferred by the requesting user by sending the first resource transfer message, and the requesting terminal logged in by the requesting user is instructed to transmit the second resource transfer message, so that the requesting user can forward all or part of the received transfer resource to the transfer user selected by the requesting user in the sharing users, and the flexibility of resource transfer is improved on the premise of ensuring the safety.
In one embodiment, as shown in fig. 17, there is provided a resource transfer apparatus corresponding to the above resource transfer method operating in a server, including:
a first request receiving module 1402, configured to receive a first resource transfer request sent based on the first resource transfer message; the first resource transfer message comprises a requested user identifier for transferring out resources, a requesting user identifier for sending a resource transfer request, a transferring-in user identifier for transferring in resources, and a transfer resource and a resource amount transferred out from the requested user identifier, wherein the transferring-in user identifier comprises at least one shared user identifier; the first resource transfer request comprises the requesting user identification, the requested user identification, the transfer resource and the resource amount;
a first resource transfer module 1404, configured to transfer the transfer resource of the resource amount in the requested user identifier to the requesting user identifier according to the first resource transfer request;
a second request receiving module 1406, configured to receive a second resource transfer request sent based on the second resource transfer message; the second resource transfer message comprises the request user identification, the transfer-in user identification, the transfer resource and the resource amount; the second resource transfer request comprises the request user identification, the transfer-in user identification and the target amount; the target amount is less than or equal to the resource amount;
a second resource transfer module 1408, configured to transfer the resource of the target value in the requesting user identifier to the transfer-in user identifier according to the second resource transfer request.
Based on the resource transfer device of this embodiment, a temporary resource transfer relationship between the requested user identifier and the transfer-in user identifier can be established by the requesting user identifier. And the original association relation between the request user identification and the transfer-in user identification does not need to exist. The association relationship comprises a friend relationship, a relationship belonging to the same group and a temporary resource transfer relationship established in a code scanning mode. Therefore, the transfer resource of the resource amount in the requested user identifier can be transferred to the requesting user identifier according to the first resource transfer request, and then the transfer resource of the target amount in the requesting user identifier can be transferred to the transfer-in user identifier according to the second resource transfer request, so that the flexibility of resource transfer is improved on the premise of ensuring the safety.
As shown in fig. 18, in one embodiment, a computer device is provided, which may be a server or a terminal. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external computer device through a network connection. The computer program is executed by a processor to implement a resource transfer method.
Those skilled in the art will appreciate that the architecture shown in fig. 18 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided. The computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the steps of the resource transfer method when executing the computer program.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the above-mentioned resource transfer method.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (15)

1. A method of resource transfer, the method comprising:
sending a resource transfer request based on a request user identifier, wherein the resource transfer request carries multimedia data and a sharing user identifier corresponding to the multimedia data;
receiving a first resource transfer message sent based on the shared user identifier, the multimedia data and the request user identifier;
the first resource transfer message carries a requested user identifier for transferring out the transfer resource, a transfer-in user identifier for transferring in the transfer resource, and the transfer resource and the resource amount transferred out from the requested user identifier; the transfer-in user identification comprises at least one sharing user identification;
and sending a second resource transfer message based on the switched-in user identifier, the transfer resource and the resource amount.
2. The method of claim 1, wherein sending a request to transfer resources based on a requesting user identity comprises:
acquiring multimedia data;
receiving a sharing setting instruction based on the multimedia data and the request user identification; the sharing setting instruction is used for setting the sharing user identification;
and sending a resource transfer request according to the sharing setting instruction.
3. The method of claim 2, wherein receiving a sharing setup instruction based on the multimedia data and a requesting user identifier comprises:
acquiring multimedia information, and determining a multimedia message carrying multimedia data according to the multimedia information;
displaying the multimedia message in an interactive interface based on the request user identification;
and receiving a sharing setting instruction based on the displayed multimedia message.
4. The method of claim 2, wherein receiving a sharing setup instruction based on the multimedia data and a requesting user identifier comprises:
after the sharing setting instruction is obtained to the multimedia data, a sharing user setting interface is displayed;
and receiving a sharing user setting instruction through the displayed sharing user setting interface.
5. The method according to claim 1, wherein the number of the ported-in user identities is at least 2, and the first resource transfer message further carries a resource allocation rule;
the sending a second resource transfer message based on the switched-in user identifier, the transfer resource and the resource amount includes:
and sending a second resource transfer message based on the resource allocation rule, the switched-in user identification, the transfer resource and the resource amount.
6. A method of resource transfer, the method comprising:
receiving a resource transfer request, wherein the resource transfer request carries a request user identifier, a sharing user identifier and multimedia data;
receiving a resource transfer instruction based on the multimedia data and the requested user identification, wherein the resource transfer instruction comprises a transfer-in user identification and a transfer resource and a resource amount transferred out from the requested user identification; the transfer-in user identification comprises at least one sharing user identification;
sending a first resource transfer message according to the switched-in user identifier, the request user identifier, the transfer resource and the resource amount;
and the request terminal for requesting the login of the user identifier sends a second resource transfer message according to the first resource transfer message, wherein the second resource transfer message carries the switched-in user identifier.
7. The method according to claim 6, wherein the number of said transferred-in user identities is at least 2; the receiving a resource transfer instruction based on the requested user identifier and the multimedia data comprises:
displaying the multimedia data based on the logged-in requested user identification;
receiving an allocation rule setting instruction based on the displayed multimedia data, wherein the allocation rule setting instruction comprises a resource allocation rule;
and acquiring the transferred-in user identification, the transferred resources and the resource amount based on the resource allocation rule.
8. A method of resource transfer, the method comprising:
receiving a first resource transfer request sent based on a first resource transfer message; the first resource transfer message comprises a requested user identifier for transferring out resources, a requesting user identifier for sending a resource transfer request, a transferring-in user identifier for transferring in resources, and a transfer resource and a resource amount transferred out from the requested user identifier, wherein the transferring-in user identifier comprises at least one shared user identifier; the first resource transfer request comprises the requesting user identification, the requested user identification, the transfer resource and the resource amount;
transferring the transfer resource of the resource amount in the requested user identifier to the requesting user identifier according to the first resource transfer request;
receiving a second resource transfer request sent based on the second resource transfer message; the second resource transfer message comprises the request user identification, the transfer-in user identification, the transfer resource and the resource amount; the second resource transfer request comprises the request user identification, the transfer-in user identification and a target numerical value; the target value is less than or equal to the resource amount;
and transferring the resources of the target numerical value in the request user identification to the transfer-in user identification according to the second resource transfer request.
9. A method of resource transfer, the method comprising:
acquiring multimedia data;
when the configuration operation of the sharing users of the media data is triggered, configuring the sharing users;
sending a resource transfer request based on the pair of media data and the configured shared user;
receiving and displaying the transfer resources and the resource amount acquired based on the transfer resource request;
and forwarding the transfer resources and the transfer resources with the target amount in the resource amount to a transfer-in user, wherein the transfer-in user comprises at least one sharing user.
10. A method of resource transfer, the method comprising:
receiving a resource transfer request, wherein the resource transfer request carries multimedia data, a request user and a sharing user;
displaying the multimedia data, and triggering a resource transfer instruction based on the displayed multimedia data;
after a resource transfer instruction is triggered, a transfer-in user, transfer resources and resource amount are obtained, wherein the transfer-in user is a user who selects the transfer-in transfer resources from shared users; the transfer-in user comprises at least one sharing user;
and determining a resource transfer message according to the transfer-in user, the transfer resource and the resource amount, and sending the resource transfer message according to the request user.
11. An apparatus for resource transfer, the apparatus comprising:
a resource request sending module, configured to send a resource transfer request based on a requesting user identifier, where the resource transfer request carries multimedia data and a sharing user identifier corresponding to the multimedia data;
a transfer message receiving module, configured to receive a first resource transfer message sent based on the shared user identifier, the multimedia data, and the request user identifier;
the first resource transfer message carries a requested user identifier for transferring out the transfer resource, a transfer-in user identifier for transferring in the transfer resource, and the transfer resource and the resource amount transferred out from the requested user identifier; the transfer-in user identification comprises at least one sharing user identification;
and the transfer message sending module is used for sending a second resource transfer message based on the transferred-in user identifier, the transfer resource and the resource amount.
12. An apparatus for resource transfer, the apparatus comprising:
the resource request receiving module is used for receiving a resource transfer request, and the resource transfer request carries a request user identifier, a sharing user identifier and multimedia data;
a transfer instruction receiving module, configured to receive a resource transfer instruction based on the multimedia data and the requested user identifier, where the resource transfer instruction includes a user identifier to be transferred in and a transfer resource and a resource amount to be transferred out from the requested user identifier; the transfer-in user identification comprises at least one sharing user identification;
a transfer message sending module, configured to send a first resource transfer message according to the transfer-in user identifier, the request user identifier, the transfer resource, and the resource amount;
and the request terminal for requesting the login of the user identifier sends a second resource transfer message according to the first resource transfer message, wherein the second resource transfer message carries the switched-in user identifier.
13. An apparatus for resource transfer, the apparatus comprising:
a first request receiving module, configured to receive a first resource transfer request sent based on a first resource transfer message; the first resource transfer message comprises a requested user identifier for transferring out resources, a requesting user identifier for sending a resource transfer request, a transferring-in user identifier for transferring in resources, and a transfer resource and a resource amount transferred out from the requested user identifier, wherein the transferring-in user identifier comprises at least one shared user identifier; the first resource transfer request comprises the requesting user identification, the requested user identification, the transfer resource and the resource amount;
a first resource transfer module, configured to transfer the transfer resource of the resource amount in the requested user identifier to the requesting user identifier according to the first resource transfer request;
a second request receiving module, configured to receive a second resource transfer request sent based on the second resource transfer message; the second resource transfer message comprises the request user identification, the transfer-in user identification, the transfer resource and the resource amount; the second resource transfer request comprises the request user identification, the transfer-in user identification and a target numerical value; the target amount is less than or equal to the resource amount;
and the second resource transfer module is used for transferring the resources of the target numerical value in the request user identifier to the transfer-in user identifier according to the second resource transfer request.
14. A computer device comprising a memory storing a computer program and a processor implementing the steps of the method of any one of claims 1-10 when executing the computer program.
15. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 10.
CN201910726504.4A 2019-08-07 2019-08-07 Resource transfer method, device, computer equipment and storage medium Active CN112348496B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910726504.4A CN112348496B (en) 2019-08-07 2019-08-07 Resource transfer method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910726504.4A CN112348496B (en) 2019-08-07 2019-08-07 Resource transfer method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112348496A true CN112348496A (en) 2021-02-09
CN112348496B CN112348496B (en) 2024-07-05

Family

ID=74367165

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910726504.4A Active CN112348496B (en) 2019-08-07 2019-08-07 Resource transfer method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112348496B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113051473A (en) * 2021-03-23 2021-06-29 上海哔哩哔哩科技有限公司 Data processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105096137A (en) * 2015-07-01 2015-11-25 孙晖 Method for sharing resources, server and terminal device
CN106067111A (en) * 2016-06-17 2016-11-02 北京小米移动软件有限公司 Message treatment method and device
CN107239948A (en) * 2017-05-12 2017-10-10 腾讯科技(深圳)有限公司 Method and device for business processing, computer equipment and storage medium
CN107483596A (en) * 2017-08-24 2017-12-15 维沃移动通信有限公司 A kind of multimedia file sharing method, relevant device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105096137A (en) * 2015-07-01 2015-11-25 孙晖 Method for sharing resources, server and terminal device
CN106067111A (en) * 2016-06-17 2016-11-02 北京小米移动软件有限公司 Message treatment method and device
CN107239948A (en) * 2017-05-12 2017-10-10 腾讯科技(深圳)有限公司 Method and device for business processing, computer equipment and storage medium
CN107483596A (en) * 2017-08-24 2017-12-15 维沃移动通信有限公司 A kind of multimedia file sharing method, relevant device and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113051473A (en) * 2021-03-23 2021-06-29 上海哔哩哔哩科技有限公司 Data processing method and device
CN113051473B (en) * 2021-03-23 2024-03-08 上海哔哩哔哩科技有限公司 Data processing method and device

Also Published As

Publication number Publication date
CN112348496B (en) 2024-07-05

Similar Documents

Publication Publication Date Title
CN106998329B (en) File sharing method and device
CN103338256B (en) Image sharing method, device, server and system
CN109587044B (en) Group creation and message interaction method and device
US20190163529A1 (en) Object allocation method and apparatus
CN111667349B (en) Order combining method, client, server and system based on social application
CN103929354B (en) A kind of information interacting method and equipment
CN107979525A (en) A kind of red packet distribution method, equipment and medium
US11356498B2 (en) Method and a device for sharing a hosted application
JP6560453B2 (en) Information updating method and apparatus, and server
CN111385186A (en) Project group creating method, project management method and device
CN104980334B (en) A kind of information sharing method, apparatus and system
CN109388620A (en) A kind of method and the first electronic equipment of striding equipment access data
CN110635921B (en) Group-based interaction method, device, equipment and readable medium
CN111654382B (en) Message processing method, device, computer equipment and computer readable storage medium
CN105721175A (en) Group processing method, group file processing method, and group file processing device
US20140325601A1 (en) Managing private information in instant messaging
CN114500432A (en) Session message transceiving method and device, electronic equipment and readable storage medium
US20150379471A1 (en) Management system for transmission of electronic business card based on telephone number linkage and method therefor
CN110971984B (en) Wheat connecting method, device, system, equipment and storage medium
CN110311855B (en) User message processing method and device, electronic equipment and storage medium
CN107196839B (en) Service data processing method and device
CN112187624B (en) Message reply method and device and electronic equipment
CN106470391B (en) Method and device for group sending of service data
WO2017016525A1 (en) Service data group sending method, terminal and server
CN112134779A (en) Network information processing method, device, system, client and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40038323

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant