CN104901992B - A kind of method and apparatus of resource transfers - Google Patents

A kind of method and apparatus of resource transfers Download PDF

Info

Publication number
CN104901992B
CN104901992B CN201410430748.5A CN201410430748A CN104901992B CN 104901992 B CN104901992 B CN 104901992B CN 201410430748 A CN201410430748 A CN 201410430748A CN 104901992 B CN104901992 B CN 104901992B
Authority
CN
China
Prior art keywords
user
transfer
identifier
article
resource
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410430748.5A
Other languages
Chinese (zh)
Other versions
CN104901992A (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 CN201410430748.5A priority Critical patent/CN104901992B/en
Publication of CN104901992A publication Critical patent/CN104901992A/en
Application granted granted Critical
Publication of CN104901992B publication Critical patent/CN104901992B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The method and apparatus that the invention discloses a kind of resource transfers, belongs to Internet technical field.Described method includes: receive the transfer request that first terminal corresponding to first user sends, described transfer request at least carries article mark and the ID of described first user of article corresponding to the second user, described article mark is that the described first terminal described article of scanning obtain, and the ID of described first user is for identifying described first user in transfer service device;Obtaining the ID of described second user bound with described article mark, the ID of described second user is for identifying described second user in described transfer service device;Obtain resource numerical value;ID according to described resource numerical value, the ID of described first user and described second user carries out resource transfers.Described device includes: the first receiver module, the first acquisition module, the second acquisition module and shift module.The present invention can improve and translate into power and efficiency.

Description

Resource transfer method and device
Technical Field
The invention relates to the technical field of internet, in particular to a resource transfer method and device.
Background
At present, most of people drive automobiles when going out, when a user drives the automobiles to reach a destination, the automobiles need to be parked in a parking lot, and when the user drives the automobiles to leave the parking lot, resource transfer needs to be carried out on resource information of the user and resource information of the user corresponding to the parking lot.
In the prior art, a method for transferring resources is provided, which may be: when the automobile of the user enters the parking lot, the first terminal corresponding to the parking lot acquires the license plate number of the automobile of the user and the storage time, and sends the license plate number of the automobile of the user to the third-party system. The third-party system stores the corresponding relation between the license plate number of the automobile of the user and the terminal identification of the first terminal. And before the automobile of the user leaves the parking lot, the second terminal corresponding to the user sends a transfer request to the third-party system, wherein the transfer request carries the user identification of the user. The third-party system acquires the license plate number of the automobile of the user from the corresponding relation between the stored user identification and the license plate number of the automobile according to the user identification of the user, acquires the terminal identification of the first terminal from the corresponding relation between the license plate number of the automobile and the terminal identification of the first terminal according to the license plate number of the automobile of the user, and sends the user identification of the user to the first terminal according to the terminal identification of the first terminal. The first terminal obtains the leaving time, calculates a resource value according to the storing time and the leaving time, and sends resource transfer detail information to a third-party system, wherein the resource transfer detail information at least comprises the resource value, a user identification of a user and a user identification of the user corresponding to the parking lot. The third-party system sends a transfer notice to the second terminal; and the second terminal sends the user password to a third-party system according to the transfer notification, the third-party system verifies the user password, and when the user password passes the verification, the resource information of the user and the resource information of the user corresponding to the parking lot are processed according to the resource numerical value.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems:
in the resource transfer process, the second terminal corresponding to the user needs to send the user identifier and the user password of the user to the third-party system, however, the common parking lot is located underground, and the network signals of the underground parking lot are often not good, so that the first terminal fails to send the user identifier and the user password of the user to the third-party system, and thus the resource transfer fails.
Disclosure of Invention
In order to solve the problems of the prior art, the invention provides a method and a device for transferring resources. The technical scheme is as follows:
in one aspect, an embodiment of the present invention provides a method for resource transfer, where the method includes:
receiving a transfer request sent by a first terminal corresponding to a first user, wherein the transfer request at least carries an article identifier of an article corresponding to a second user and a user identifier of the first user, the article identifier is obtained by scanning the article by the first terminal, and the user identifier of the first user is used for identifying the first user in a transfer server;
acquiring a user identifier of the second user bound with the item identifier, wherein the user identifier of the second user is used for identifying the second user in the transfer server;
acquiring a resource numerical value;
and transferring resources according to the resource numerical value, the user identification of the first user and the user identification of the second user.
In another aspect, an embodiment of the present invention provides a method for resource transfer, where the method includes:
scanning an article corresponding to a second user to obtain an article identifier of the article corresponding to the second user;
acquiring a user identifier of a first user, wherein the user identifier of the first user is used for identifying the first user in a transfer server;
and sending a resource transfer request to the transfer server, wherein the transfer request at least carries the article identifier of the article corresponding to the second user and the user identifier of the first user, so that the transfer server obtains a resource numerical value, and performs resource transfer according to the article identifier, the user identifier of the first user and the resource numerical value.
In another aspect, an embodiment of the present invention provides an apparatus for resource transfer, where the apparatus includes:
a first receiving module, configured to receive a transfer request sent by a first terminal corresponding to a first user, where the transfer request at least carries an article identifier of an article corresponding to a second user and a user identifier of the first user, where the article identifier is obtained by scanning the article by the first terminal, and the user identifier of the first user is used to identify the first user in a transfer server;
a first obtaining module, configured to obtain a user identifier of the second user bound to the item identifier, where the user identifier of the second user is used to identify the second user in the transfer server;
the second acquisition module is used for acquiring the resource numerical value;
and the transfer module is used for transferring resources according to the resource numerical value, the user identification of the first user and the user identification of the second user.
In another aspect, an embodiment of the present invention provides an apparatus for resource transfer, where the apparatus includes:
the fourth obtaining module is used for scanning an article corresponding to a second user and obtaining an article identifier of the article corresponding to the second user;
a fifth obtaining module, configured to obtain a user identifier of a first user, where the user identifier of the first user is used to identify the first user in the transfer server;
a third sending module, configured to send a resource transfer request to the transfer server, where the transfer request at least carries an article identifier of an article corresponding to the second user and a user identifier of the first user, so that the transfer server obtains a resource value, and performs resource transfer according to the article identifier, the user identifier of the first user, and the resource value.
In the invention, when an article corresponding to a second user is taken out, a first terminal sends a transfer request to a transfer server, wherein the transfer request carries an article identifier and a user identifier of the first user; the transfer server obtains the resource value and the user identification of the second user bound with the article identification, and transfers the resource according to the resource value, the user identification of the first user and the user identification of the second user without the participation of the second user, so that the transfer success rate and the transfer efficiency are improved.
Drawings
Fig. 1-1 is a flowchart of a method for resource transfer according to embodiment 1 of the present invention;
fig. 1-2 is a flowchart of a method for resource transfer according to embodiment 1 of the present invention;
fig. 2 is a flowchart of a resource transfer method provided in embodiment 2 of the present invention;
fig. 3 is a schematic structural diagram of a resource transfer apparatus according to embodiment 3 of the present invention;
fig. 4 is a schematic structural diagram of a resource transfer apparatus provided in embodiment 4 of the present invention;
fig. 5 is a schematic structural diagram of a transfer server provided in embodiment 5 of the present invention;
fig. 6 is a schematic structural diagram of a first terminal according to embodiment 6 of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Example 1
An embodiment of the present invention provides a method for resource transfer, where an execution subject of the method is a transfer server, see fig. 1-1, where the method includes:
step 101 a: receiving a transfer request sent by a first terminal corresponding to a first user, wherein the transfer request at least carries an article identifier of an article corresponding to a second user and a user identifier of the first user, the article identifier is obtained by scanning the article by the first terminal, and the user identifier of the first user is used for identifying the first user in a transfer server;
step 102 a: acquiring a user identifier of a second user bound with the article identifier, wherein the user identifier of the second user is used for identifying the second user in the transfer server;
step 103 a: acquiring a resource numerical value;
step 104 a: and transferring the resources according to the resource numerical value, the user identification of the first user and the user identification of the second user.
An embodiment of the present invention provides a method for resource transfer, where an execution subject of the method is a first terminal, see fig. 1-2, where the method includes:
step 101 b: scanning an article corresponding to a second user to obtain an article identifier of the article corresponding to the second user;
step 102 b: acquiring a user identifier of a first user, wherein the user identifier of the first user is used for identifying the first user in a transfer server;
step 103 b: and sending a resource transfer request to a transfer server, wherein the transfer request at least carries the article identifier of the article corresponding to the second user and the user identifier of the first user, so that the transfer server obtains the resource value, and performs resource transfer according to the article identifier, the user identifier of the first user and the resource value.
In the invention, when an article corresponding to a second user is taken out, a first terminal sends a transfer request to a transfer server, wherein the transfer request carries an article identifier and a user identifier of the first user; the transfer server obtains the resource value and the user identification of the second user bound with the article identification, and transfers the resource according to the resource value, the user identification of the first user and the user identification of the second user without the participation of the second user, so that the transfer success rate and the transfer efficiency are improved.
Example 2
An embodiment of the present invention provides a method for resource transfer, see fig. 2, where the method includes:
step 201: when an article corresponding to a second user is stored, the first terminal scans the article to obtain an article identifier of the article;
when a second user stores an article corresponding to a second user in the storage space of the first user, a first terminal corresponding to the first user scans the article corresponding to the second user through a camera, obtains an article identifier of the article from the article corresponding to the second user, and meanwhile, the first terminal obtains the current time and takes the current time as the storage time of the article.
The article may be a car or a package, etc. The article identifier may be a license plate number of an automobile or an identification number of a user, etc. The first terminal is any terminal with a scanning function, such as a PC (personal computer) terminal with a camera.
It should be noted that, if the first terminal does not have the scanning function, this step may be that the first user inputs the item identifier of the item of the second user to the first terminal when the item corresponding to the second user is stored; the first terminal receives the item identification input by the first user.
For example, when an automobile of a second user enters a parking lot of a first user, a terminal corresponding to the parking lot scans the automobile of the second user, and obtains the license plate number of the automobile as jing P12345 and the parking time 8 of the automobile: 00.
step 202: the first terminal sends the article identification to the transfer server;
after the first terminal acquires the article identifier, the article identifier is sent to the transfer server, so that the transfer server determines whether resource transfer can be carried out by the transfer server according to the article identifier.
The transfer server is a server with a resource transfer function.
For example, the terminal corresponding to the parking lot transmits the license plate number of the automobile, jing P12345, to the transfer server, so that the transfer server determines whether the resource transfer can be performed by the transfer server according to the license plate number of the automobile, jing P12345.
Step 203: the transfer server receives the article identification sent by the first terminal, judges whether the article identification is bound with the user identification, and sends a transfer instruction to the first terminal if the article identification is bound with the user identification;
the transfer server stores a binding list in advance, and the binding list is used for storing the corresponding relation between the user identification and the article identification. The transfer server searches the binding list according to the article identification, if the corresponding user identification is found, the article identification is determined to be bound with the user identification, and a transfer instruction is sent to the first terminal so as to inform the first terminal that the transfer server can transfer resources.
And if the corresponding user identifier is not found, determining that the article identifier is not bound with the user identifier, and sending a non-transfer instruction to the first terminal to inform the first terminal that the resource transfer cannot be carried out by the transfer server.
For example, the transfer server receives the license plate number of the automobile, namely, Beijing P12345, sent by the terminal corresponding to the parking lot, searches the Beijing P12345 in the binding list, determines that the Beijing P12345 is bound with the user identifier, and sends a transfer instruction to the terminal corresponding to the parking lot.
Before this step, the transfer server binds the corresponding relationship between the user identifier and the item identifier of the second user through the following steps (1) and (2), including:
(1): a second terminal corresponding to a second user sends a binding request to a transfer server, wherein the binding request carries a user identifier of the second user and an article identifier of an article corresponding to the second user;
the user identifier of the second user is used to identify the second user in the transfer server, and the user identifier of the second user may be a user account or the like that is registered in the transfer server by the second user in advance.
(2): and the transfer server receives a binding request sent by a second terminal corresponding to a second user, and binds the user identifier and the article identifier of the second user.
Specifically, the transfer server receives a binding request sent by a second terminal corresponding to a second user, obtains a user identifier and an article identifier of the second user from the binding request, binds the user identifier and the article identifier of the second user, and adds a corresponding relationship between the user identifier and the article identifier of the second user to a binding list.
For example, before this step, the terminal corresponding to the second user sends a binding request to the transfer server, where the binding request carries the user identifier 25863 and the license plate number of the second user, kyo P12345. The transfer server binds the user identifier 25863 of the second user and the license plate number Beijing P12345, and adds the corresponding relationship between the user identifier 25863 of the second user and the license plate number Beijing P12345 to the binding list shown in Table 1.
TABLE 1
User identification Article identification
25863 Jing P12345
…… ……
The transfer server sends a transfer instruction to the first terminal, and step 204 is executed to enable the first terminal to generate a transfer request according to the transfer instruction.
Step 204: the method comprises the steps that a first terminal receives a transfer instruction sent by a transfer server, when an article is taken out, the article corresponding to a second user is scanned, an article identifier of the article corresponding to the second user is obtained, a user identifier of a first user is obtained, and a transfer request is sent to the transfer server, wherein the transfer request at least carries the article identifier and the user identifier of the first user;
a first terminal receives a transfer instruction sent by a transfer server; when the article corresponding to the second user is taken out, the first terminal scans the article and obtains an article identifier from the article; the method comprises the steps of obtaining a user identification of a first user, sending a resource transfer request to a transfer server according to a transfer instruction, wherein the transfer request at least carries an article identification and the user identification of the first user, and the transfer request can also carry storage time or a resource value of an article.
Further, the first terminal can also obtain the storage time and/or the resource value of the article; if the first terminal obtains the storage time of the article, setting the storage time of the article carried by the transfer request; and if the first terminal also obtains the resource numerical value, setting the transfer request to carry the resource numerical value.
The first terminal obtains the storage time of the article, and specifically comprises the following steps:
when the article corresponding to the second user is taken out, acquiring the current time, and taking the current time as the taking-out time of the article corresponding to the second user; and acquiring the storage time of the article according to the storage time and the taking time of the article.
The first terminal needs to acquire a resource value, specifically:
when the article corresponding to the second user is taken out, acquiring the current time, and taking the current time as the taking-out time of the article corresponding to the second user; acquiring the storage time of the article according to the storage time and the taking time of the article; and calculating a transfer value according to the storage time of the article and the transfer rule.
The user identifier of the first user is used to identify the first user in the transfer server, and the user identifier of the first user may be a user account registered by the first user in the transfer server, or the like.
For example, when the automobile of the second user leaves the parking lot, the terminal corresponding to the parking lot scans the automobile of the second user, obtains the license plate number of the automobile, Jing P12345, and the leaving time of the automobile, 9:00, and calculates the storage time of the automobile to be 1 hour according to the parking time of the automobile, 8:00, and the leaving time of the automobile, 9: 00; the terminal corresponding to the parking lot acquires the user identifier 36985 of the first user, and sends a resource transfer request to the transfer server according to the transfer instruction, wherein the transfer request carries the license plate number of the automobile Beijing P12345, the user identifier 36985 of the first user and the storage time of the automobile of 1 hour. Or the terminal corresponding to the parking lot calculates the resource value to be 10 according to the storage time of the automobile being 1 hour and the transfer rule being 10/hour, and sends a resource transfer request to the transfer server according to the transfer instruction, wherein the transfer request carries the license plate number of the automobile being Beijing P12345, the user identifier 36985 of the first user and the resource value 10.
It should be noted that, if the first terminal does not have the scanning function, the first terminal generates a graphic code, where the graphic code at least includes the user identifier of the first user, and loads the graphic code to the third terminal; and the third terminal displays the graphic code. When the article corresponding to the second user is taken out, the second terminal corresponding to the second user scans the graphic code displayed by the third terminal, the third terminal acquires the user identification of the second user, the user identification of the second user is sent to the first terminal, and the first terminal receives the user identification of the second user sent by the third terminal. Therefore, the step can be:
the first terminal receives the transfer instruction sent by the transfer server, sends a transfer request to the transfer server when the article is taken out, the transfer request at least carries the user identifier of the second user and the user identifier of the first user, and directly executes step 206.
Step 205: the transfer server receives a transfer request sent by the first terminal and acquires a user identifier of a second user bound with the article identifier;
specifically, the transfer server receives a transfer request sent by the first terminal, acquires an item identifier from the transfer request, and acquires a user identifier of the second user bound with the item identifier from the binding list according to the item identifier.
For example, the transfer server receives a transfer request sent by a terminal corresponding to a parking lot, and acquires the user identifier 25863 of the second user bound with the beijing P12345 from table 1 according to the license plate number beijing P12345 of the automobile.
Step 206: the transfer server obtains a resource numerical value;
if the transfer request carries a resource value, the step may be:
and acquiring a resource value from the transfer request, wherein the resource value is obtained by calculating according to the storage time of the article corresponding to the second user and the transfer rule by the first terminal.
If the transfer request carries the storage time of the item corresponding to the second user, the step can be realized by the following steps (1) and (2), and comprises the following steps:
(1): the transfer server acquires a transfer rule of the first user from a transfer rule list according to the user identification of the first user, wherein the transfer rule list is used for storing the corresponding relation between the user identification and the transfer rule;
(2): and the transfer server calculates the resource value according to the storage time carried in the transfer request and the acquired transfer rule.
Prior to this step, a transition rule list may be generated by the following steps (a) and (B), including:
(A) the method comprises the following steps The first terminal sends a transfer rule to a transfer server;
(B) the method comprises the following steps And the transfer server receives the transfer rule sent by the first terminal and adds the corresponding relation between the user identification of the first user and the transfer rule sent by the first terminal into a transfer rule list.
For example, before this step, the terminal corresponding to the parking lot transmits the transfer rule 10/hour to the transfer server, and the transfer server receives the transfer rule 10/hour transmitted by the terminal corresponding to the parking lot, and adds the user identifier 36985 of the first user and the transfer rule 10/hour to the transfer rule list shown in table 2.
TABLE 2
User identification Rules of transfer
36985 10/hour
…… ……
In this step, if the storage time of the vehicle is 1 hour carried in the transfer request, in this step, the transfer server obtains the transfer rule 10/hour of the first user from the transfer rule list shown in table 2 according to the user identifier 36985 of the first user; and calculating a resource value 10 according to the storage time 1 hour carried in the transfer request and the acquired transfer rule 10/hour.
Step 207: the transfer server transfers the resources according to the resource numerical value, the user identification of the first user and the user identification of the second user;
wherein, step 207 can be realized by the following steps (1) and (2), including:
(1): the transfer server acquires the resource information of the first user according to the user identification of the first user and acquires the resource information of the second user according to the user identification of the second user;
specifically, the transfer server respectively sends the user identifier of the first user and the user identifier of the second user to a third-party system; and the third-party system receives the user identification of the first user and the user identification of the second user, which are sent by the transfer server, acquires the resource information of the first user according to the user identification of the first user, and acquires the resource information of the second user according to the user identification of the second user.
The third-party system stores the corresponding relationship between the user identifier and the resource information in advance, and correspondingly, the obtaining of the resource information of the first user according to the user identifier of the first user may be: and acquiring the resource information of the first user from the corresponding relation between the user identification and the resource information according to the user identification of the first user. The obtaining of the resource information of the second user according to the user identifier of the second user may be: and acquiring the resource information of the second user from the corresponding relation between the user identification and the resource information according to the user identification of the second user.
The third party system may be a banking system or the like.
(2): and reducing the resource value from the resource information of the second user, and adding the reduced resource value to the resource information of the first user.
Further, if the second user registers the resource information in the transfer server, the transfer server stores the corresponding relationship between the user identification and the resource information. The step can be as follows: and according to the user identification of the first user, acquiring the resource information of the first user from the corresponding relation between the user identification and the resource information, and according to the user identification of the second user, acquiring the resource information of the second user from the corresponding relation between the user identification and the resource information, reducing the resource value from the resource information of the second user, and adding the reduced resource value to the resource information of the first user.
Further, after the transfer server transfers resources according to the resource value, the user identifier of the first user and the user identifier of the second user, the transfer server generates resource transfer detail information, where the resource transfer detail information at least includes the resource value and the user identifier of the first user, and may also include a storage date, a storage time, and/or a transfer rule. The transfer server stores the user identifier of the second user and the resource transfer detail information in the corresponding relationship between the user identifier and the resource transfer detail information, as shown in table 3:
TABLE 3
For example, the transfer server obtains the resource information of the first user according to the user identifier of the first user, obtains the resource information of the second user according to the user identifier of the second user, reduces the resource value 10 from the resource information of the second user, and adds the reduced resource value 10 to the resource information of the first user.
After the transfer server transfers the resource information of the first user and the resource information of the second user, the second terminal corresponding to the second user may check the resource transfer detail information through steps 208 and 211.
Step 208: a second terminal corresponding to a second user sends a query request to a transfer server, wherein the query request at least carries a user identifier of the second user;
when a second user wants to check the resource transfer detail information, a second terminal corresponding to the second user sends an inquiry request to the transfer server, wherein the inquiry request at least carries a user identifier of the second user, and the inquiry request can also carry a storage date and the like.
For example, when the second user wants to view the resource transfer detail information, the second user sends an inquiry request to the second terminal for the second user to the transfer server, where the inquiry request carries at least the user identifier 25863 of the second user.
Step 209: the transfer server receives an inquiry request sent by a second terminal, and acquires resource transfer detail information according to the user identification of a second user, wherein the resource transfer detail information at least comprises a resource numerical value and the user identification of a first user;
and the transfer server stores the corresponding relation between the user identification and the resource transfer detail information. The transfer server receives an inquiry request sent by the second terminal, and acquires resource transfer detail information of the second terminal from a corresponding relation between the user identifier and the resource detail information, wherein the resource transfer detail information at least comprises a resource numerical value and the user identifier of the first user, and the resource transfer detail information also can comprise storage time, charging rules, the name of the first user and the like.
For example, the transfer server receives an inquiry request sent by a second terminal corresponding to the second user, and obtains the resource transfer detail information from table 3 according to the user identifier 25863 of the second user: resource value: 10, parking lot identification: 36985.
step 210: the transfer server sends the details of the resource transfer information to the second terminal;
after acquiring the resource transfer detail information, the transfer server sends the resource detail information to the second terminal, so that the second terminal is displayed to the second user, and step 211 is executed.
Step 211: and the second terminal receives the resource transfer detail information sent by the transfer server and displays the resource transfer detail information.
The second terminal displays the resource transfer detail information to a second user, and the second user can check the resource transfer history record according to the resource transfer detail information.
In the invention, when an article corresponding to a second user is taken out, a first terminal sends a transfer request to a transfer server, wherein the transfer request carries an article identifier and a user identifier of the first user; the transfer server obtains the resource value and the user identification of the second user bound with the article identification, and transfers the resource according to the resource value, the user identification of the first user and the user identification of the second user without the participation of the second user, so that the transfer success rate and the transfer efficiency are improved.
Example 3
The embodiment of the invention provides a resource transfer device. Referring to fig. 3, wherein the apparatus comprises:
a first receiving module 301, configured to receive a transfer request sent by a first terminal corresponding to a first user, where the transfer request at least carries an article identifier of an article corresponding to a second user and a user identifier of the first user, where the article identifier is obtained by scanning an article by the first terminal, and the user identifier of the first user is used to identify the first user in a transfer server;
a first obtaining module 302, configured to obtain a user identifier of a second user bound to the item identifier, where the user identifier of the second user is used to identify the second user in the transfer server;
a second obtaining module 303, configured to obtain a resource value;
a transfer module 304, configured to perform resource transfer according to the resource value, the user identifier of the first user, and the user identifier of the second user.
Preferably, the transfer request also carries a resource value;
a second obtaining module 303, configured to obtain a resource value from the transfer request, where the resource value is obtained by the first terminal through calculation according to the storage time of the article corresponding to the second user and the transfer rule; or,
the transfer request also carries the storage time of the article corresponding to the second user;
a second obtaining module 303, comprising:
the first obtaining unit is used for obtaining the transfer rule of the first user from a transfer rule list according to the user identification of the first user, and the transfer rule list is used for storing the corresponding relation between the user identification and the transfer rule;
and the calculating unit is used for calculating the resource numerical value according to the storage time carried in the transfer request and the acquired transfer rule.
Preferably, the apparatus further comprises:
the second receiving module is used for receiving the transfer rule sent by the first terminal;
and the adding module is used for adding the corresponding relation between the user identification of the first user and the transfer rule sent by the first terminal into the transfer rule list.
Preferably, the transfer module 304 includes:
a second obtaining unit, configured to obtain resource information of a first user according to a user identifier of the first user, and obtain resource information of a second user according to a user identifier of the second user;
and the transfer unit is used for reducing the resource value from the resource information of the second user and adding the reduced resource value to the resource information of the first user.
Preferably, the apparatus further comprises:
the third receiving module is used for receiving a query request sent by a second terminal corresponding to a second user, wherein the query request at least carries a user identifier of the second user;
the third acquisition module is used for acquiring resource transfer detail information according to the user identification of the second user, wherein the resource transfer detail information at least comprises a resource numerical value and the user identification of the first user;
and the first sending module is used for sending the resource transfer information detail information to the second terminal so that the second terminal displays the resource transfer detail information.
Preferably, the apparatus further comprises:
the fourth receiving module is used for receiving the article identification sent by the first terminal when the article corresponding to the first user is stored;
the judging module is used for judging whether the article identifier is bound with the user identifier;
and the second sending module is used for sending a transfer instruction to the first terminal if the user identifier is bound, so that the first terminal sends a transfer request when the article corresponding to the first user is taken out.
Preferably, the apparatus further comprises:
the fifth receiving module is used for receiving a binding request sent by a second terminal corresponding to a second user, wherein the binding request carries a user identifier of the second user and an article identifier of an article corresponding to the second user;
and the binding module is used for binding the user identifier and the article identifier of the second user.
In the invention, when an article corresponding to a second user is taken out, a first terminal sends a transfer request to a transfer server, wherein the transfer request carries an article identifier and a user identifier of the first user; the transfer server obtains the resource value and the user identification of the second user bound with the article identification, and transfers the resource according to the resource value, the user identification of the first user and the user identification of the second user without the participation of the second user, so that the transfer success rate and the transfer efficiency are improved.
Example 4
The embodiment of the invention provides a resource transfer device. Referring to fig. 4, wherein the apparatus comprises:
a fourth obtaining module 401, configured to scan an article corresponding to the second user, and obtain an article identifier of the article corresponding to the second user;
a fifth obtaining module 402, configured to obtain a user identifier of the first user, where the user identifier of the first user is used to identify the first user in the transfer server;
a third sending module 403, configured to send a resource transfer request to the transfer server, where the transfer request at least carries an article identifier of an article corresponding to the second user and a user identifier of the first user, so that the transfer server obtains a resource value, and performs resource transfer according to the article identifier, the user identifier of the first user, and the resource value.
Preferably, the transfer request further carries a storage time of an item corresponding to the second user, and the apparatus further includes:
the sixth obtaining module is used for obtaining the storage time of the article corresponding to the second user when the article corresponding to the second user is stored;
the seventh obtaining module is used for obtaining the taking-out time of the article corresponding to the second user when the article corresponding to the second user is taken out;
and the eighth acquisition module is used for acquiring the storage time of the article corresponding to the second user according to the storage time and the taking time.
Preferably, the transfer request further carries a transfer value, and the apparatus further includes:
the ninth obtaining module is used for obtaining the storage time of the article corresponding to the second user when the article corresponding to the second user is stored;
the tenth obtaining module is used for obtaining the taking-out time of the article corresponding to the second user when the article corresponding to the second user is taken out;
the eleventh acquisition module is used for acquiring the storage time of the article corresponding to the second user according to the storage time and the taking time;
and the calculation module is used for calculating a transfer value according to the storage time of the article corresponding to the second user and the transfer rule.
Preferably, the apparatus further comprises:
the fourth sending module is used for sending the article identifier to the transfer server so that the transfer server judges whether the article identifier is bound with the user identifier;
and a sixth receiving module, configured to receive a transfer instruction sent by the transfer server when it is determined that the article identifier is bound to the user identifier of the user, and execute a step of sending a resource transfer request to the transfer server according to the instruction of the transfer instruction when the article is taken out.
Preferably, the apparatus further comprises:
and the fifth sending module is used for sending the transfer rule and the user identification of the first user to the transfer server, so that the transfer server adds the corresponding relation between the user identification of the first user and the transfer rule sent by the first terminal to the transfer rule list.
In the invention, when an article corresponding to a second user is taken out, a first terminal sends a transfer request to a transfer server, wherein the transfer request carries an article identifier and a user identifier of the first user; the transfer server obtains the resource value and the user identification of the second user bound with the article identification, and transfers the resource according to the resource value, the user identification of the first user and the user identification of the second user without the participation of the second user, so that the transfer success rate and the transfer efficiency are improved.
Example 5
Fig. 5 is a schematic structural diagram of a transfer server according to an embodiment of the present invention. The transfer server 1900, which may vary considerably in configuration or performance, may include one or more Central Processing Units (CPUs) 1922 (e.g., one or more processors) and memory 1932, one or more storage media 1930 (e.g., one or more mass storage devices) that store applications 1942 or data 1944. Memory 1932 and storage medium 1930 can be, among other things, transient or persistent storage. The program stored in the storage medium 1930 may include one or more modules (not shown), each of which may include a series of instruction operations on the transfer server. Still further, a central processor 1922 may be provided in communication with the storage medium 1930 to carry out a series of instruction operations in the storage medium 1930 on the transfer server 1900.
The transfer server 1900 may also include one or more power supplies 1926, one or more wired or wireless network interfaces 1950, one or more input-output interfaces 1958, one or more keyboards 1956, and/or one or more operating systems 1941, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
The transfer server 1900 may include memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for:
receiving a transfer request sent by a first terminal corresponding to a first user, wherein the transfer request at least carries an article identifier of an article corresponding to a second user and a user identifier of the first user, the article identifier is obtained by scanning the article by the first terminal, and the user identifier of the first user is used for identifying the first user in a transfer server;
acquiring a user identifier of the second user bound with the item identifier, wherein the user identifier of the second user is used for identifying the second user in the transfer server;
acquiring a resource numerical value;
and transferring resources according to the resource numerical value, the user identification of the first user and the user identification of the second user.
Preferably, the transfer request further carries a resource value;
the acquiring of the resource value comprises:
acquiring the resource value from the transfer request, wherein the resource value is calculated by the first terminal according to the storage time of the article corresponding to the second user and the transfer rule; or,
the transfer request also carries the storage time of the article corresponding to the second user;
the acquiring of the resource value comprises:
and acquiring the transfer rule of the first user from a transfer rule list according to the user identification of the first user, wherein the transfer rule list is used for storing the corresponding relation between the user identification and the transfer rule, and calculating a resource numerical value according to the storage time carried in the transfer request and the acquired transfer rule.
Preferably, the method further comprises:
receiving a transfer rule sent by the first terminal;
and adding the corresponding relation between the user identification of the first user and the transfer rule sent by the first terminal into a transfer rule list.
Preferably, the resource transferring according to the resource value, the user identifier of the first user, and the user identifier of the second user includes:
acquiring resource information of the first user according to the user identification of the first user, and acquiring resource information of the second user according to the user identification of the second user;
and reducing the resource value from the resource information of the second user, and adding the reduced resource value to the resource information of the first user.
Preferably, after the resource transfer is performed according to the resource value, the user identifier of the first user, and the user identifier of the second user, the method further includes:
receiving a query request sent by a second terminal corresponding to a second user, wherein the query request at least carries a user identifier of the second user;
acquiring resource transfer detail information according to the user identification of the second user, wherein the resource transfer detail information at least comprises the resource numerical value and the user identification of the first user;
and sending the resource transfer information detail information to the second terminal, so that the second terminal displays the resource transfer detail information.
Preferably, before receiving the transfer request sent by the first terminal corresponding to the first user, the method further includes:
when the article corresponding to the first user is stored, receiving the article identification sent by the first terminal;
judging whether the article identifier is bound with a user identifier;
and if the user identification is bound, sending a transfer instruction to the first terminal, so that the first terminal sends the transfer request when the article corresponding to the first user is taken out.
Preferably, the method further comprises:
receiving a binding request sent by a second terminal corresponding to the second user, wherein the binding request carries a user identifier of the second user and an article identifier of an article corresponding to the second user;
and binding the user identification of the second user and the item identification.
In the invention, when an article corresponding to a second user is taken out, a first terminal sends a transfer request to a transfer server, wherein the transfer request carries an article identifier and a user identifier of the first user; the transfer server obtains the resource value and the user identification of the second user bound with the article identification, and transfers the resource according to the resource value, the user identification of the first user and the user identification of the second user without the participation of the second user, so that the transfer success rate and the transfer efficiency are improved.
Example 6
Referring to fig. 6, a schematic structural diagram of a first terminal with a touch-sensitive surface according to an embodiment of the present invention is shown, where the first terminal may be used to implement the method for verification of a verification code provided in the foregoing embodiment. Specifically, the method comprises the following steps:
the first terminal 900 may include RF (Radio Frequency) circuit 110, memory 120 including one or more computer-readable storage media, input unit 130, display unit 140, sensor 150, audio circuit 160, WiFi (wireless fidelity) module 170, processor 180 including one or more processing cores, and power supply 190. Those skilled in the art will appreciate that the first terminal structure shown in fig. 6 is not intended to be limiting of the first terminal and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information from a base station and then sends the received downlink information to the one or more processors 180 for processing; in addition, data relating to uplink is transmitted to the base station. In general, the RF circuitry 110 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like. In addition, the RF circuitry 110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), email, SMS (Short Messaging Service), and the like.
The memory 120 may be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by operating the software programs and modules stored in the memory 120. The memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the first terminal 900, and the like. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 120 may further include a memory controller to provide the processor 180 and the input unit 130 with access to the memory 120.
The input unit 130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 130 may include a touch-sensitive surface 131 as well as other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 131 (e.g., operations by a user on or near the touch-sensitive surface 131 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 131 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 180, and can receive and execute commands sent by the processor 180. Additionally, the touch-sensitive surface 131 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 131, the input unit 130 may also include other input devices 132. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 140 may be used to display information input by or provided to the user and various graphic user interfaces of the first terminal 900, which may be configured by graphics, text, icons, video, and any combination thereof. The Display unit 140 may include a Display panel 141, and optionally, the Display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 131 may cover the display panel 141, and when a touch operation is detected on or near the touch-sensitive surface 131, the touch operation is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event. Although in FIG. 6, touch-sensitive surface 131 and display panel 141 are shown as two separate components to implement input and output functions, in some embodiments, touch-sensitive surface 131 may be integrated with display panel 141 to implement input and output functions.
The first terminal 900 can also include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or the backlight when the first terminal 900 moves to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured in the first terminal 900, detailed descriptions thereof are omitted.
Audio circuitry 160, speaker 161, microphone 162 may provide an audio interface between a user and first terminal 900. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the processor 180 for processing, and then to the RF circuit 110 to be transmitted to, for example, another first terminal, or outputs the audio data to the memory 120 for further processing. The audio circuit 160 may also include an earbud jack to provide communication of a peripheral headset with the first terminal 900.
WiFi belongs to a short-distance wireless transmission technology, and the first terminal 900 can help a user send and receive e-mails, browse webpages, access streaming media, and the like through the WiFi module 170, and it provides a wireless broadband internet access for the user. Although fig. 6 shows the WiFi module 170, it is understood that it does not belong to the essential constitution of the first terminal 900 and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 180 is a control center of the first terminal 900, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the first terminal 900 and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the mobile phone. Optionally, processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
The first terminal 900 further includes a power supply 190 (e.g., a battery) for supplying power to various components, preferably, the power supply may be logically connected to the processor 180 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The power supply 190 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the first terminal 900 may further include a camera, a bluetooth module, etc., which will not be described herein. Specifically, in this embodiment, the display unit of the first terminal 900 is a touch screen display, the first terminal 900 further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for:
scanning an article corresponding to a second user to obtain an article identifier of the article corresponding to the second user;
acquiring a user identifier of a first user, wherein the user identifier of the first user is used for identifying the first user in a transfer server;
and sending a resource transfer request to the transfer server, wherein the transfer request at least carries the article identifier of the article corresponding to the second user and the user identifier of the first user, so that the transfer server obtains a resource numerical value, and performs resource transfer according to the article identifier, the user identifier of the first user and the resource numerical value.
Preferably, the transfer request further carries a storage time of an item corresponding to the second user, and the method further includes:
when the article corresponding to the second user is stored, acquiring the storage time of the article corresponding to the second user;
when the article corresponding to the second user is taken out, acquiring the taking-out time of the article corresponding to the second user;
and acquiring the storage time of the article corresponding to the second user according to the storage time and the taking time.
Preferably, the transfer request further carries a transfer value, and the method further includes:
when the article corresponding to the second user is stored, acquiring the storage time of the article corresponding to the second user;
when the article corresponding to the second user is taken out, acquiring the taking-out time of the article corresponding to the second user;
obtaining the storage time of the article corresponding to the second user according to the storage time and the taking time;
and calculating the transfer value according to the storage time of the article corresponding to the second user and the transfer rule.
Preferably, before sending the resource transfer request to the transfer server, the method further includes:
sending the article identifier to the transfer server, so that the transfer server judges whether the article identifier is bound with a user identifier;
receiving a transfer instruction sent by the transfer server when the article identification is judged to be bound with the user identification of the user, and executing the step of sending the resource transfer request to the transfer server according to the instruction of the transfer instruction when the article is taken out.
Preferably, the method further comprises:
and sending a transfer rule and a user identifier of the first user to the transfer server, so that the transfer server adds the corresponding relation between the user identifier of the first user and the transfer rule sent by the first terminal to a transfer rule list.
In the invention, when an article corresponding to a second user is taken out, a first terminal sends a transfer request to a transfer server, wherein the transfer request carries an article identifier and a user identifier of the first user; the transfer server obtains the resource value and the user identification of the second user bound with the article identification, and transfers the resource according to the resource value, the user identification of the first user and the user identification of the second user without the participation of the second user, so that the transfer success rate and the transfer efficiency are improved.
It should be noted that: in the resource transfer device provided in the foregoing embodiment, only the division of the functional modules is illustrated in the foregoing, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the resource transfer apparatus and the resource transfer method provided in the foregoing embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (20)

1. A method of resource transfer, the method comprising:
when an article corresponding to a second user is stored, receiving an article identifier of the article sent by a first terminal corresponding to a first user, judging whether the article identifier is bound with a user identifier, and if the article identifier is bound with the user identifier, sending a transfer instruction to the first terminal;
receiving a transfer request sent by a first terminal corresponding to a first user when the article is taken out, wherein the transfer request at least carries an article identifier of the article corresponding to a second user and a user identifier of the first user, the article identifier is obtained by scanning the article by the first terminal, and the user identifier of the first user is used for identifying the first user in a transfer server;
acquiring a user identifier of the second user bound with the item identifier, wherein the user identifier of the second user is used for identifying the second user in the transfer server;
acquiring a resource numerical value;
and transferring resources according to the resource numerical value, the user identification of the first user and the user identification of the second user.
2. The method of claim 1, wherein the transfer request further carries a resource value;
the acquiring of the resource value comprises:
acquiring the resource value from the transfer request, wherein the resource value is calculated by the first terminal according to the storage time of the article corresponding to the second user and the transfer rule; or,
the transfer request also carries the storage time of the article corresponding to the second user;
the acquiring of the resource value comprises:
and acquiring the transfer rule of the first user from a transfer rule list according to the user identification of the first user, wherein the transfer rule list is used for storing the corresponding relation between the user identification and the transfer rule, and calculating a resource numerical value according to the storage time carried in the transfer request and the acquired transfer rule.
3. The method of claim 1, wherein the method further comprises:
receiving a transfer rule sent by the first terminal;
and adding the corresponding relation between the user identification of the first user and the transfer rule sent by the first terminal into a transfer rule list.
4. The method of claim 1, wherein said transferring resources based on said resource value, said first user identification, and said second user identification comprises:
acquiring resource information of the first user according to the user identification of the first user, and acquiring resource information of the second user according to the user identification of the second user;
and reducing the resource value from the resource information of the second user, and adding the reduced resource value to the resource information of the first user.
5. The method of claim 1, wherein after the resource transfer according to the resource value, the user identifier of the first user, and the user identifier of the second user, further comprising:
receiving a query request sent by a second terminal corresponding to a second user, wherein the query request at least carries a user identifier of the second user;
acquiring resource transfer detail information according to the user identification of the second user, wherein the resource transfer detail information at least comprises the resource numerical value and the user identification of the first user;
and sending the resource transfer information detail information to the second terminal, so that the second terminal displays the resource transfer detail information.
6. The method of claim 1, wherein the method further comprises:
receiving a binding request sent by a second terminal corresponding to the second user, wherein the binding request carries a user identifier of the second user and an article identifier of an article corresponding to the second user;
and binding the user identification of the second user and the item identification.
7. A method of resource transfer, the method comprising:
when an article corresponding to a second user is stored, scanning the article, acquiring an article identifier of the article, and sending the article identifier to a transfer server, so that the transfer server judges whether the article identifier is bound with a user identifier;
receiving a transfer instruction sent by the transfer server when the article identifier is judged to be bound with the user identifier of the user, and scanning an article corresponding to a second user when the article is taken out to obtain the article identifier of the article corresponding to the second user;
acquiring a user identifier of a first user, wherein the user identifier of the first user is used for identifying the first user in a transfer server;
and sending a resource transfer request to the transfer server, wherein the transfer request at least carries the article identifier of the article corresponding to the second user and the user identifier of the first user, so that the transfer server obtains a resource numerical value, and performs resource transfer according to the article identifier, the user identifier of the first user and the resource numerical value.
8. The method of claim 7, wherein the transfer request further carries a storage time of an item corresponding to the second user, the method further comprising:
when the article corresponding to the second user is stored, acquiring the storage time of the article corresponding to the second user;
when the article corresponding to the second user is taken out, acquiring the taking-out time of the article corresponding to the second user;
and acquiring the storage time of the article corresponding to the second user according to the storage time and the taking time.
9. The method of claim 7, wherein the transfer request further carries a transfer value, the method further comprising:
when the article corresponding to the second user is stored, acquiring the storage time of the article corresponding to the second user;
when the article corresponding to the second user is taken out, acquiring the taking-out time of the article corresponding to the second user;
obtaining the storage time of the article corresponding to the second user according to the storage time and the taking time;
and calculating the transfer value according to the storage time of the article corresponding to the second user and the transfer rule.
10. The method of claim 7, wherein the method further comprises:
and sending a transfer rule and a user identifier of the first user to the transfer server, so that the transfer server adds the corresponding relation between the user identifier of the first user and the transfer rule sent by the first terminal to a transfer rule list.
11. An apparatus for resource transfer, the apparatus comprising:
the fourth receiving module is used for receiving the article identifier of the article, which is sent by the first terminal corresponding to the first user, when the article corresponding to the second user is stored;
the judging module is used for judging whether the article identifier is bound with a user identifier;
a second sending module, configured to send a transfer instruction to the first terminal if the user identifier is bound, so that the first terminal sends the transfer request when the article corresponding to the first user is taken out;
a first receiving module, configured to receive a transfer request sent by a first terminal corresponding to a first user when the item is taken out, where the transfer request at least carries an item identifier of the item corresponding to a second user and a user identifier of the first user, the item identifier is obtained by scanning the item by the first terminal, and the user identifier of the first user is used to identify the first user in a transfer server;
a first obtaining module, configured to obtain a user identifier of the second user bound to the item identifier, where the user identifier of the second user is used to identify the second user in the transfer server;
the second acquisition module is used for acquiring the resource numerical value;
and the transfer module is used for transferring resources according to the resource numerical value, the user identification of the first user and the user identification of the second user.
12. The apparatus of claim 11, wherein the transfer request further carries a resource value;
the second obtaining module is configured to obtain the resource value from the transfer request, where the resource value is obtained by the first terminal through calculation according to the storage time of the article corresponding to the second user and the transfer rule; or,
the transfer request also carries the storage time of the article corresponding to the second user;
the second obtaining module includes:
a first obtaining unit, configured to obtain a transfer rule of the first user from a transfer rule list according to a user identifier of the first user, where the transfer rule list is used to store a correspondence between the user identifier and the transfer rule;
and the calculating unit is used for calculating the resource numerical value according to the storage time carried in the transfer request and the acquired transfer rule.
13. The apparatus of claim 11, wherein the apparatus further comprises:
a second receiving module, configured to receive a transfer rule sent by the first terminal;
and the adding module is used for adding the corresponding relation between the user identification of the first user and the transfer rule sent by the first terminal into a transfer rule list.
14. The apparatus of claim 11, wherein the transfer module comprises:
a second obtaining unit, configured to obtain resource information of the first user according to the user identifier of the first user, and obtain resource information of the second user according to the user identifier of the second user;
a transferring unit, configured to reduce the resource value from the resource information of the second user, and add the reduced resource value to the resource information of the first user.
15. The apparatus of claim 11, wherein the apparatus further comprises:
a third receiving module, configured to receive an inquiry request sent by a second terminal corresponding to a second user, where the inquiry request at least carries a user identifier of the second user;
a third obtaining module, configured to obtain resource transfer detail information according to the user identifier of the second user, where the resource transfer detail information at least includes the resource value and the user identifier of the first user;
and the first sending module is used for sending the resource transfer information detail information to the second terminal so that the second terminal displays the resource transfer detail information.
16. The apparatus of claim 11, wherein the apparatus further comprises:
a fifth receiving module, configured to receive a binding request sent by a second terminal corresponding to the second user, where the binding request carries a user identifier of the second user and an item identifier of an item corresponding to the second user;
and the binding module is used for binding the user identifier of the second user and the item identifier.
17. An apparatus for resource transfer, the apparatus comprising:
a fourth sending module, configured to scan an article corresponding to a second user when the article is stored, obtain an article identifier of the article, send the article identifier to the transfer server, and enable the transfer server to determine whether the article identifier is bound to a user identifier;
a sixth receiving module, configured to receive a transfer instruction sent by the transfer server when it is determined that the item identifier is bound to the user identifier of the user;
when the article is taken out, a fourth obtaining module is used for scanning the article corresponding to a second user and obtaining the article identifier of the article corresponding to the second user;
a fifth obtaining module, configured to obtain a user identifier of a first user, where the user identifier of the first user is used to identify the first user in the transfer server;
a third sending module, configured to send a resource transfer request to the transfer server, where the transfer request at least carries an article identifier of an article corresponding to the second user and a user identifier of the first user, so that the transfer server obtains a resource value, and performs resource transfer according to the article identifier, the user identifier of the first user, and the resource value.
18. The apparatus of claim 17, wherein the transfer request further carries a storage time of an item corresponding to the second user, the apparatus further comprising:
the sixth obtaining module is used for obtaining the storage time of the article corresponding to the second user when the article corresponding to the second user is stored;
a seventh obtaining module, configured to obtain, when the article corresponding to the second user is taken out, a time for taking out the article corresponding to the second user;
and the eighth obtaining module is used for obtaining the storage time of the article corresponding to the second user according to the storage time and the taking time.
19. The apparatus of claim 17, wherein the transfer request further carries a transfer value, the apparatus further comprising:
a ninth obtaining module, configured to obtain a deposit time of the item corresponding to the second user when the item corresponding to the second user is deposited;
a tenth obtaining module, configured to obtain, when the article corresponding to the second user is taken out, a time for taking out the article corresponding to the second user;
the eleventh acquisition module is used for acquiring the storage time of the article corresponding to the second user according to the storage time and the taking time;
and the calculation module is used for calculating the transfer value according to the storage time and the transfer rule of the article corresponding to the second user.
20. The apparatus of claim 17, wherein the apparatus further comprises:
and a fifth sending module, configured to send the transfer rule and the user identifier of the first user to the transfer server, so that the transfer server adds the correspondence between the user identifier of the first user and the transfer rule sent by the first terminal to a transfer rule list.
CN201410430748.5A 2014-08-28 2014-08-28 A kind of method and apparatus of resource transfers Active CN104901992B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410430748.5A CN104901992B (en) 2014-08-28 2014-08-28 A kind of method and apparatus of resource transfers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410430748.5A CN104901992B (en) 2014-08-28 2014-08-28 A kind of method and apparatus of resource transfers

Publications (2)

Publication Number Publication Date
CN104901992A CN104901992A (en) 2015-09-09
CN104901992B true CN104901992B (en) 2016-10-05

Family

ID=54034389

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410430748.5A Active CN104901992B (en) 2014-08-28 2014-08-28 A kind of method and apparatus of resource transfers

Country Status (1)

Country Link
CN (1) CN104901992B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105915564B (en) * 2016-07-06 2018-10-23 腾讯科技(深圳)有限公司 A kind of nameplate binding method, device and application server
CN107508885B (en) * 2017-08-24 2021-02-26 维沃移动通信有限公司 Resource transfer method, related equipment and system
CN107886267A (en) * 2017-10-10 2018-04-06 国家电网公司 A kind of storehouse raw material arrival management method and system
CN108376314B (en) * 2018-02-08 2022-04-15 泰康保险集团股份有限公司 Material allocation method, device, server and storage medium
CN110310018B (en) * 2019-06-17 2023-08-25 深圳市幺柒零信息科技有限公司 License plate information processing method and device, electronic equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103856915A (en) * 2012-12-06 2014-06-11 阿里巴巴集团控股有限公司 Data resource transfer method and device
CN103761484B (en) * 2014-01-08 2015-09-30 腾讯科技(深圳)有限公司 A kind of methods, devices and systems of resource transfers management
CN103945321B (en) * 2014-04-18 2017-10-20 小米科技有限责任公司 The method and apparatus of resource transfers

Also Published As

Publication number Publication date
CN104901992A (en) 2015-09-09

Similar Documents

Publication Publication Date Title
CN107094294B (en) Network connection method and device
JP6467526B2 (en) Communication message transmission method and wearable device
CN107391259B (en) Resource processing method and device, computer readable storage medium and mobile terminal
US10304461B2 (en) Remote electronic service requesting and processing method, server, and terminal
CN105471931B (en) Method, device and system for inquiring service data
CN104852885B (en) Method, device and system for verifying verification code
CN105302452B (en) Operation method and device based on gesture interaction
CN106412818B (en) Method and device for positioning equipment
CN107786424B (en) Audio and video communication method, terminal and server
CN103455330A (en) Application program management method, terminal, equipment and system
CN107391198B (en) Method for scheduling task and device, computer readable storage medium, mobile terminal
CN108834132B (en) Data transmission method and equipment and related medium product
CN104518945B (en) A kind of transmission, the methods, devices and systems of reception social network information
CN104901992B (en) A kind of method and apparatus of resource transfers
CN105303427A (en) Article exchange method and article exchange device
CN108668328B (en) Network switching method and mobile terminal
CN106131930A (en) A kind of WiFi network connection control method, device and terminal
CN106203228A (en) Two-dimensional code information transmission method, device and equipment
CN109446435B (en) Information display apparatus, method, system, and computer-readable storage medium
CN107104930A (en) It is a kind of that the methods, devices and systems for checking authority are set
CN109688611B (en) Frequency band parameter configuration method, device, terminal and storage medium
CN107317828B (en) File downloading method and device
CN107423050A (en) A kind of method and apparatus for penetrating operation
CN105577712B (en) A kind of file uploading method, device and system
CN106339402B (en) Method, device and system for pushing recommended content

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant