Service processing method and apparatus
Abstract
Implementations of the present specification provide a service processing method. The method is performed by a service platform, the service platform including multiple area sites corresponding to multiple service areas, and each area site including a corresponding buyer service site and seller service site. The method includes: splitting a whole-order service into a buyer service and a seller service; further, on one hand, routing the buyer service to a buyer service site in a service area that a corresponding buyer belongs to, for the buyer service site to process the buyer service through interconnection with the buyer based on an area user identifier, and to locally store processed data, where the area user identifier is determined based on multiple area identities associated with a domain-wide identity corresponding to the buyer; and on the other hand, routing the seller service to a seller service site in a service area that a corresponding seller belongs to, for the seller service site to process the seller service through interconnection with the seller, and to locally store processed data.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A method, comprising:
deploying a plurality of servers for implementing a plurality of area sites of a service platform, the plurality of area sites respectively corresponding to a plurality of geographic regions, the plurality of geographic regions not overlapping with one another, a server of each area site of the plurality of area sites physically located in a geographic region corresponding to the area site and configured to interconnect with a service in the geographic region and to locally store data generated through the interconnection with the service in the geographic region; assigning, by the service platform, a first domain-wide user identifier and a first plurality of area user identifiers to a first buyer, the first plurality of area user identifiers each linked to the first domain-wide user identifier and corresponding to a respective area site of the plurality of area sites; assigning, by the service platform, a second domain-wide user identifier and a second plurality of area user identifiers to a first seller, the second plurality of area user identifiers each linked to the second domain-wide user identifier and corresponding to a respective area site of the plurality of area sites; receiving a payment request initiated by the first buyer for a first order, a product in the first order being provided by the first seller, and the payment request including a selected payment channel; determining that a buyer payment service corresponding to the payment request belongs to a first geographic region, a first area site of the plurality of area sites corresponding to the first geographic region including a first buyer service site, the first buyer having a first area user identifier for the first area site, the first geographic region being determined based on a place of registration of a payment institution corresponding to the selected payment channel being located in the first geographic region; and routing the buyer payment service corresponding to the first order to the first buyer service site, for the first buyer service site to process the buyer payment service through interconnection with the selected payment channel and interconnection with the first buyer based on the first area user identifier of the first buyer, and to locally store at the first area site service data generated by the processing the buyer payment service.
2 . The method according to claim 1 , further comprising:
before the receiving the payment request initiated by the first buyer for the first order,
determining the first domain-wide user identifier corresponding to the first buyer in response to a successful login of the first buyer; and
creating the first order in response to receiving an order creation request initiated by the first buyer.
3 . The method according to claim 2 , wherein the determining the first domain-wide user identifier corresponding to the first buyer includes:
obtaining a user name of the first buyer; and obtaining the first domain-wide user identifier by at least one of performing a hash operation on the user name or querying the first domain-wide user identifier based on an existing mapping relationship between the user name and the first domain-wide user identifier.
4 . The method according to claim 2 , after the creating the first order and before the receiving the payment request initiated by the first buyer for the first order, further comprising:
obtaining location element information of the first buyer; determining a geographic region in which the first buyer is currently located based on the location element information, and using the geographic region as the first geographic region; determining the first area user identifier of the first buyer in the first geographic region based on the first plurality of area user identifiers; and obtaining a plurality of candidate payment channels for selection by the first buyer, wherein places of registration of payment institutions corresponding to the plurality of candidate payment channels are all located in the first geographic region.
5 . The method according to claim 4 , wherein the location element information includes at least one of longitude and latitude information, a network address, an Internet Protocol (IP) address, and a consignee address included in the first order.
6 . The method according to claim 4 , wherein the determining the first area user identifier of the first buyer in the first geographic region based on the plurality of area user identifiers corresponding to the plurality of geographic regions includes:
creating a previously presented user identifier as the first area user identifier in response to a user identifier corresponding to the first geographic region not existing in the plurality of area user identifiers; and classifying the first area user identifier into the plurality of area user identifiers.
7 . The method according to claim 1 , wherein the determining the first geographic region that the buyer payment service corresponding to the payment request belongs to includes:
determining a place of registration corresponding to the payment channel, and determining a geographic region in which the place of registration is located as the first geographic region.
8 . The method according to claim 7 , further comprising:
after the determining the first geographic region that the buyer payment service corresponding to the payment request belongs to, and before the routing the buyer payment service to the first buyer service site,
determining the first area user identifier of the first buyer in the first geographic region based on the first plurality of area user identifiers.
9 . The method according to claim 1 , further comprising:
before the receiving the payment request initiated by the first buyer for the first order,
querying a plurality of historical orders associated with the first plurality of area user identifiers from the plurality of area sites; and
recommending a product to the first buyer based on purchased products included in the plurality of historical orders.
10 . A method, comprising:
deploying a plurality of servers for implementing a plurality of area sites of a service platform, the plurality of area sites respectively corresponding to a plurality of geographic regions, the plurality of geographic regions not overlapping with one another, a server of each area site of the plurality of area sites physically located in a geographic region corresponding to the area site and configured to interconnect with a service in the geographic region and to locally store data generated through the interconnection with the service in the geographic region; assigning, by the service platform, a first domain-wide user identifier and a first plurality of area user identifiers to a first buyer, the first plurality of area user identifiers each linked to the first domain-wide user identifier and corresponding to a respective area site of the plurality of area sites; assigning, by the service platform, a second domain-wide user identifier and a second plurality of area user identifiers to a first seller, the second plurality of area user identifiers each linked to the second domain-wide user identifier and corresponding to a respective area site of the plurality of area sites; obtaining a payment success message corresponding to a payment request for a first order between the first buyer and the first seller, a product in the first order being provided by the first seller; determining that a seller delivery service corresponding to the first order belongs to a first geographic region, a first area site corresponding to the first geographic region including a first seller service site, the first seller having a first area user identifier for the first area site; and routing the seller delivery service to the first seller service site, for the first seller service site to process the seller delivery service through interconnection with the first seller based on the first area user identifier of the first seller, and to locally store at the first area site service data generated by the processing the seller delivery service.
11 . The method according to claim 10 , wherein the determining that the seller delivery service corresponding to the first order belongs to the first geographic region includes:
determining a place of registration of the first seller based on the payment success message, and determining a geographic region in which the place of registration is located as the first geographic region.
12 . The method according to claim 10 , further comprising:
after the routing the seller delivery service to the first seller service site,
routing an order settlement service corresponding to the first seller to the first seller service site, for the first seller service site to process the order settlement service through interconnection with the first seller, and to locally store service data generated by the processing the order settlement service.
13 . The method according to claim 10 , further comprising:
after the routing the seller delivery service to the second seller service site,
in response to an order viewing instruction sent by the first seller, querying order information of a plurality of orders associated with the second plurality of area user identifiers from the plurality of area sites for viewing by the first seller, wherein the plurality of orders include the first order.
14 . The method according to claim 10 , further comprising:
determining the second domain-wide user identifier corresponding to the first seller in response to a successful login of the first seller; and creating the first order in response to receiving an order creation request initiated by the first seller.
15 . The method according to claim 14 , wherein the determining the second domain-wide user identifier corresponding to the first seller includes:
obtaining a user name of the first seller; and obtaining the second domain-wide user identifier by at least one of performing a hash operation on the user name or querying the second domain-wide user identifier based on an existing mapping relationship between the user name and the second domain-wide user identifier.
16 . The method according to claim 15 , further comprising:
obtaining location element information of the first seller; determining a geographic region in which the first seller is currently located based on the location element information, and using the geographic region as the first geographic region; determining the first area user identifier of the first seller in the first geographic region based on the second plurality of area user identifiers; and obtaining a plurality of candidate seller delivery services for selection by the first seller, wherein places of registration of the plurality of candidate seller delivery service are all located in the first geographic region.
17 . The method according to claim 16 , wherein the location element information includes at least one of longitude and latitude information, a network address, an Internet Protocol (IP) address, and a consignee address included in the first order.
18 . The method according to claim 16 , wherein the determining the first area user identifier of the first seller in the first geographic region based on the second plurality of area user identifiers corresponding to the plurality of geographic regions includes:
creating a previously presented user identifier as the first area user identifier in response to a user identifier corresponding to the first geographic region not existing in the second plurality of area user identifiers; and classifying the first area user identifier into the second plurality of area user identifiers.
19 . A computing device, comprising a memory and a processor, the memory storing executable instructions, the executable instructions, when executed by the processor, enable the processor to implement acts including:
deploying a plurality of servers for implementing a plurality of area sites of a service platform, the plurality of area sites respectively corresponding to a plurality of geographic regions, the plurality of geographic regions not overlapping with one another, a server of each area site of the plurality of area sites physically located in a geographic region corresponding to the area site and configured to interconnect with a service in the geographic region and to locally store data generated through the interconnection with the service in the geographic region, each area site including a buyer service site and a seller service site; assigning, by the service platform, a first domain-wide user identifier and a first plurality of area user identifiers to a first user, the first plurality of area user identifiers each linked to the first domain-wide user identifier and corresponding to a respective area site of the plurality of area sites; determining that the first user having the first domain-wide identifier has logged in for a first service; determining the first plurality of area user identifiers of the first user based on the first domain-wide identifier; and routing the first service to an area site of the plurality of area sites for the area site to process the first service using an area user identifier of the first plurality of area user identifiers that corresponds to the area site, and to locally store at the area site service data generated by the processing the first service.
20 . The computing device according to claim 19 , wherein the acts include:
obtaining location element information of the first user; determining a geographic region in which the first buyer is currently located based on the location element information; and determining the area site based on the geographic region in which the first buyer is currently located.Join the waitlist — get patent alerts
Track US2022245604A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.