PROCESSING DATA SERVICE
An example method for processing data service includes the following operations: acquiring a data service request initiated by a first user to a second user, the data service request carrying a service limit of the data service; acquiring a data source list adopted by the second user in accordance with the data service request; and transferring an amount of funds for the service limit to a first account corresponding to the first user in accordance with the data source list. The technical solution of the present disclosure transfers a service limit to the first account corresponding to the first user in accordance with the data source list, which avoids an interruption of the data service caused by an insufficient single data source, and thus facilitates the data service, and enhances a quality of service of the data service.
1 . A method comprising:
acquiring a data service request initiated by a first user to a second user, the data service request carrying a service limit of a data service;
acquiring a data source list adopted by the second user in accordance with the data service request; and
transferring an amount of funds for the service limit to a first account corresponding to the first user in accordance with the data source list.
2 . The method of claim 1 , wherein acquiring the data source list adopted by the second user in accordance with the data service request includes:
determining a type of the data service in accordance with the data service request; and
determining the data source list adopted by the second user in accordance with the type of the data service.
3 . The method of claim 1 , wherein transferring the amount of funds for the service limit to the first account corresponding to the first user in accordance with the data source list includes:
determining limit parameter information of a respective data source in the data source list;
determining a data limit transferred out of the respective data source in accordance with the limit parameter information of the respective data source; and
transferring the amount of funds for the data limit to the first account corresponding to the first user in accordance with the data limit transferred out of the respective data source.
4 . The method of claim 3 , wherein the limit parameter information includes:
a current limit of the respective data source;
a maximum transfer-out limit of the respective data source; and
a reserved limit of the respective data source.
5 . The method of claim 4 , wherein the determining the data limit transferred out of the respective data source in accordance with the limit parameter information of the respective data source includes:
determining a size relation between the current limit of the respective data source and the maximum transfer-out limit of the respective data source; and
in response to determining that the current limit is less than the maximum transfer-out limit, transferring a limit corresponding to a difference between the current limit and the reserved limit to the first account.
6 . The method of claim 4 , wherein the transferring the amount of funds for the data limit to the first account corresponding to the first user in accordance with the data limit transferred out of the respective data source includes:
transferring a respective data limit transferred out of the respective data source into an intermediate account; and
transferring the amount of funds for the data limit to the first account corresponding to the first user via the intermediate account.
7 . The method of claim 1 , further comprising sending a prompt message of data service failure to the first user in response to determining that a transfer-out limit determined in accordance with the data source list is less than the service limit.
8 . A server comprising:
a first acquisition module that acquires a data service request initiated by a first user to a second user, the data service request carrying a service limit of a data service;
a second acquisition module that acquires a data source list adopted by the second user in accordance with the data service request; and
a transfer module that transfers an amount of funds for the service limit to a first account corresponding to the first user in accordance with the data source list.
9 . The server of claim 8 , wherein the second acquisition module includes:
a first determination unit that determines a type of the data service in accordance with the data service request; and
a second determination unit that determining the data source list adopted by the second user in accordance with the type of the data service.
10 . The server of claim 8 , wherein the transfer module includes:
a third determination unit that determines limit parameter information of a respective data source in the data source list;
a fourth determination unit that determines a data limit transferred out of the respective data source in accordance with the limit parameter information of the respective data source; and
a transfer unit that transfers the amount of funds for the data limit to the first account corresponding to the first user in accordance with the data limit transferred out of the respective data source.
11 . The server of claim 10 , wherein the limit parameter information includes:
a current limit of the respective data source;
a maximum transfer-out limit of the respective data source; and
a reserved limit of the respective data source.
12 . The server of claim 11 , wherein the fourth determination unit includes:
a first determination sub-unit that determines a size relation between the current limit of the respective data source and the maximum transfer-out limit of the respective data source; and
a second determination sub-unit that, in response to determining that the current limit is less than the maximum transfer-out limit, transfers a limit corresponding to a difference between the current limit and the reserved limit to the first account.
13 . The server of claim 11 , wherein the transfer unit includes:
a transfer-in sub-unit that transfers a respective data limit transferred out of the respective data source into an intermediate account; and
a transfer-out sub-unit that transfers the amount of funds for the data limit to the first account corresponding to the first user via the intermediate account.
14 . The server of claim 8 , further comprising a sending module that sends a prompt message of data service failure to the first user in response to determining that a transfer-out limit determined in accordance with the data source list is less than the service limit.
15 . One or more memories having stored thereon computer-executable instructions that are executable by one or more processors to perform operations comprising:
acquiring a data service request initiated by a first user to a second user, the data service request carrying a service limit of a data service;
acquiring a data source list adopted by the second user in accordance with the data service request; and
transferring an amount of funds for the service limit to a first account corresponding to the first user in accordance with the data source list.
16 . The one or more memories of claim 15 , wherein acquiring the data source list adopted by the second user in accordance with the data service request includes:
determining a type of the data service in accordance with the data service request; and
determining the data source list adopted by the second user in accordance with the type of the data service.
17 . The one or more memories of claim 16 , wherein transferring the amount of funds for the service limit to the first account corresponding to the first user in accordance with the data source list includes:
determining limit parameter information of a respective data source in the data source list;
determining a data limit transferred out of the respective data source in accordance with the limit parameter information of the respective data source; and
transferring the amount of funds for the data limit to the first account corresponding to the first user in accordance with the data limit transferred out of the respective data source.
18 . The one or more memories of claim 17 , wherein the limit parameter information includes:
a current limit of the respective data source;
a maximum transfer-out limit of the respective data source; and
a reserved limit of the respective data source.
19 . The one or more memories of claim 18 , wherein the determining the data limit transferred out of the respective data source in accordance with the limit parameter information of the respective data source includes:
determining a size relation between the current limit of the respective data source and the maximum transfer-out limit of the respective data source; and
in response to determining that the current limit is less than the maximum transfer-out limit, transferring a limit corresponding to a difference between the current limit and the reserved limit to the first account.
20 . The one or more memories of claim 18 , wherein the transferring the amount of funds for the data limit to the first account corresponding to the first user in accordance with the data limit transferred out of the respective data source includes:
transferring a respective data limit transferred out of the respective data source into an intermediate account; and
transferring the amount of funds for the data limit to the first account corresponding to the first user via the intermediate account.