CN114358839A - Resource processing method, user side, server side, device and storage medium - Google Patents

Resource processing method, user side, server side, device and storage medium Download PDF

Info

Publication number
CN114358839A
CN114358839A CN202111666721.2A CN202111666721A CN114358839A CN 114358839 A CN114358839 A CN 114358839A CN 202111666721 A CN202111666721 A CN 202111666721A CN 114358839 A CN114358839 A CN 114358839A
Authority
CN
China
Prior art keywords
resource
store
information
target
user
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.)
Pending
Application number
CN202111666721.2A
Other languages
Chinese (zh)
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.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online Technology 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 Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN202111666721.2A priority Critical patent/CN114358839A/en
Publication of CN114358839A publication Critical patent/CN114358839A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Abstract

The application discloses a resource processing method, a user side, a server side, equipment and a storage medium, and belongs to the technical field of computers. The method comprises the following steps: displaying an information display interface; responding to the triggering operation of the first processing option, sending an exchange verification request to the server, wherein the exchange verification request is used for requesting the server to verify resources, and returning store information and article information corresponding to the resource identifier under the condition that the resource verification is passed; displaying an information confirmation interface of the resource based on the store information and the article information, wherein the information confirmation interface comprises a confirmation option; in response to the triggering of the confirmation option, a usage request is sent to the server, and a notification of the use of the resource is sent to the merchant client over the target communication link to prepare the target item for the target store. The scheme enables the user to exchange the verification resources by himself without the participation of a shop assistant, and improves the order processing efficiency of the shop.

Description

Resource processing method, user side, server side, device and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a resource processing method, a user side, a server side, a device, and a storage medium.
Background
The electronic ticket is an electronic form of any one of coupons, package tickets, group purchase tickets, discount tickets, cash vouchers and the like. Merchants in the entertainment industry often promote promotions by pushing out electronic coupons. The user can take or purchase the electronic ticket pushed by the merchant, go to the related store, and consume the electronic ticket in the store.
Taking the electronic coupon as an example, the process of consuming by the user using the electronic coupon is as follows: the user presents the graphic code of the electronic package coupon to a clerk, the clerk scans the graphic code for verification, and after the verification is passed, the clerk orders the corresponding package based on the electronic package coupon; or the user provides a coupon code of the electronic package coupon, the clerk inputs the coupon code on the ordering device to verify the electronic package coupon, and after the verification is passed, the clerk orders the corresponding package based on the electronic package coupon.
The use of the electronic ticket for consumption causes the clerk to additionally perform a verification operation on the electronic ticket, as opposed to the user directly ordering the ticket at the store. Therefore, the use process of the electronic ticket consumes more labor cost of the merchant, so that the order processing efficiency of the merchant is reduced, and especially in the customer service rush hour of the merchant, the influence on the order processing efficiency of the merchant is serious.
Disclosure of Invention
The embodiment of the application provides a resource processing method, a user side, a server side, equipment and a storage medium, so that a user can use resources to exchange articles by himself without the participation of store clerks, the workload of the store clerks is reduced, and the order processing efficiency of merchants is improved. The technical scheme is as follows:
in one aspect, a resource processing method is provided, and the method includes:
displaying an information display interface, wherein the information display interface comprises a resource identifier and a first processing option, and the resource identifier represents a resource for exchanging articles; responding to a triggering operation of the first processing option, sending a conversion verification request to a server, wherein the conversion verification request is used for requesting the server to verify the resource, and returning store information and article information corresponding to the resource identifier under the condition that the resource verification is passed, wherein the article information represents an article applicable to the resource, and the store information represents a store applicable to the resource; displaying an information confirmation interface of the resource based on the store information and the item information, wherein the information confirmation interface comprises a confirmation option, the information confirmation interface is used for confirming a target item needing to be exchanged and a target store providing the target item, and the confirmation option represents that a user confirms to exchange the target item by using the resource and obtains the target item from the target store; sending a use request to the server in response to the triggering operation of the confirmation option, and sending a use notification of the resource to a merchant client through a target communication link, wherein the use request carries the resource identifier and is used for instructing the server to adjust the state of the resource, the state represents the use condition of the resource, the merchant client is a client providing ordering service for the target store, and the use notification is a notification sent to the merchant client after the resource verification is successful and carries the item information of the target item so that the target store prepares the target item.
In one aspect, a resource processing method is provided, and the method includes:
receiving a conversion verification request submitted by a user client, wherein the conversion verification request carries a resource identifier which represents a resource for exchanging articles; verifying the resource based on the exchange verification request, and returning store information and article information corresponding to the resource identifier to the user client when the resource verification is passed, wherein the article information represents an article suitable for the resource, and the store information represents a store suitable for the resource; receiving a use request sent by the user client, wherein the use request carries the resource identifier, the item information of the target item and the store information of the target store, and represents that the user confirms to exchange the target item by adopting the resource and obtains the target item from the target store; based on the resource identification, adjusting the state of the resource, wherein the state represents the use condition of the resource; and sending a use notice of the resource to a merchant client based on store information of the target store, wherein the merchant client is a client providing ordering service for the target store, and the use notice is a notice sent to the merchant client after the resource is successfully checked and carries article information of the target article to enable the target store to prepare the target article.
In one aspect, a user terminal is provided, and the user terminal includes:
the display module is used for displaying an information display interface, the information display interface comprises a resource identifier and a first processing option, and the resource identifier represents a resource for exchanging articles; a sending module, configured to send, in response to a trigger operation on the first processing option, a redemption check request to a server, where the redemption check request is used to request the server to check the resource, and return store information and item information corresponding to the resource identifier when the resource check is passed, where the item information indicates an item to which the resource is applicable, and the store information indicates a store to which the resource is applicable; the display module is further configured to display an information confirmation interface of the resource based on the store information and the item information, where the information confirmation interface includes a confirmation option, the information confirmation interface is used to confirm a target item to be exchanged and a target store providing the target item, and the confirmation option indicates that a user confirms to exchange the target item with the resource and to obtain the target item from the target store; the sending module is further configured to send, in response to a trigger operation on the confirmation option, a use request to the server, and send, through a target communication link, a use notification of the resource to a merchant client, where the use request carries the resource identifier and is used to instruct the server to adjust a state of the resource, the state indicates a use condition of the resource, the merchant client is a client that provides ordering service for the target store, and the use notification is a notification sent to the merchant client after the resource is successfully verified and carries item information of the target item, so that the target store prepares the target item.
In one aspect, a server is provided, where the server includes:
the receiving module is used for receiving a conversion verification request submitted by a user client, wherein the conversion verification request carries a resource identifier, and the resource identifier represents a resource for exchanging articles; a sending module, configured to verify the resource based on the exchange verification request, and return store information and article information corresponding to the resource identifier to the user client when the resource verification passes, where the article information indicates an article to which the resource is applicable, and the store information indicates a store to which the resource is applicable; the receiving module is further configured to receive a use request sent by the user client, where the use request carries article information of a target article and store information of a target store, and indicates that the user confirms to exchange the target article with the resource and arrives at the target store to obtain the target article; the adjusting module is used for adjusting the state of the resource based on the resource identifier, wherein the state represents the use condition of the resource; the sending module is further configured to send a use notification of the resource to a merchant client based on store information of the target store, where the merchant client is a client that provides ordering service for the target store, and the use notification is a notification sent to the merchant client after the resource is successfully verified, and carries article information of the target article to enable the target store to prepare the target article.
In one aspect, a computer device is provided that includes one or more processors and one or more memories having at least one program code stored therein, the at least one program code being loaded by the one or more processors and executed to implement the operations performed by the resource processing method as described in any of the possible implementations above.
In one aspect, a computer-readable storage medium is provided, in which at least one program code is stored, the at least one program code being loaded by a processor and executed to implement the operations performed by the resource processing method according to any one of the above possible implementations.
In one aspect, there is provided a computer program or computer program product comprising: computer program code which, when executed by a computer, causes the computer to carry out operations performed by the resource processing method of any one of the possible implementations described above.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
according to the resource processing method, the user side, the server side, the equipment and the storage medium, provided by the embodiment of the application, through the provided first processing option of the resource, the user can exchange and verify the resource on the client side used by the user, a clerk is not required to participate, the workload of the clerk is reduced, the clerk can provide a target article corresponding to the resource for the user as soon as possible, and therefore the order processing efficiency of the merchant is improved.
In addition, the user exchanges and verifies the resources on the client used by the user, and does not need to wait for the processing of store personnel in a queue, so that the refund rate of the user is reduced, and the experience of the user is also improved. And before the user reaches the store, the user can exchange and verify the resources on the client side of the user, so that the waiting time of the user in the store can be reduced, and the efficiency of obtaining the target object is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic illustration of an implementation environment provided by an embodiment of the present application;
FIG. 2 is a schematic diagram of another implementation environment provided by embodiments of the present application;
fig. 3 is a schematic diagram of a resource processing method according to an embodiment of the present application;
FIG. 4 is a schematic diagram of an information presentation interface of a resource provided in an embodiment of the present application;
FIG. 5 is a schematic diagram of an information presentation interface of another resource provided by an embodiment of the present application;
fig. 6 is a schematic diagram of a resource processing method according to an embodiment of the present application;
fig. 7 is a schematic diagram of a resource processing method according to an embodiment of the present application;
FIG. 8 is a schematic diagram of an information confirmation interface provided by an embodiment of the present application;
FIG. 9 is a schematic view of another information confirmation interface provided by embodiments of the present application;
FIG. 10 is a schematic diagram of a target identification provided by an embodiment of the present application;
fig. 11 is a schematic diagram of a client structure according to an embodiment of the present application;
fig. 12 is a schematic diagram of a server side structure provided in an embodiment of the present application;
fig. 13 is a schematic diagram of another server side structure provided in the embodiment of the present application;
fig. 14 is a schematic structural diagram of a terminal provided in an embodiment of the present application;
fig. 15 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
It will be understood that the terms "first," "second," and the like as used herein may be used herein to describe various concepts, which are not limited by these terms unless otherwise specified. These terms are only used to distinguish one concept from another. For example, a first store may be referred to as a second store, and similarly, a second store may be referred to as a first store, without departing from the scope of the present application.
As used herein, the terms "at least one," "a plurality," "each," "any," and at least one includes one, two, or more, and a plurality includes two or more, and each refers to each of the corresponding plurality, and any refers to any one of the plurality, for example, the plurality of stores includes 3 stores, and each refers to each of the 3 stores, and any refers to any one of the 3 stores, which may be the first, the second, or the third.
The resource processing method provided by the embodiment of the application is executed by computer equipment. In one possible implementation, the computer device is a terminal, for example, the terminal is any type of terminal such as a desktop computer, a tablet computer, or a mobile phone. In another possible implementation, the computer device is a server. For example, the server may be a server, a server cluster composed of several servers, or a cloud computing service center. In another possible implementation, the computer device includes a terminal and a server.
In a possible implementation manner, an embodiment of the present application provides a resource processing system, and fig. 1 is a schematic diagram of a resource processing system provided in an embodiment of the present application, as shown in fig. 1, the resource processing system includes a first terminal 101, a second terminal 102, and a server 103. The first terminal 101 and the server 103 are connected through a wireless or wired network. The second terminal 102 and the server 103 are connected through a wireless or wired network.
Alternatively, the first terminal 101 is any type of terminal such as a desktop computer, a tablet computer, or a mobile phone. Alternatively, the second terminal 102 is any type of terminal such as a desktop computer, a tablet computer, or a mobile phone. Optionally, the server 103 is a server, or a server cluster composed of several servers, or a cloud computing service center.
Optionally, a first target application served by the server 103 is installed on the first terminal 101, and the first terminal 101 can implement functions such as data transmission, message interaction, and the like through the first target application. Optionally, the first target application is an application in an operating system of the first terminal 101 or an application provided by a third party. For example, the first target application is an e-commerce application having an order accepting function, but the e-commerce application can also have other functions, such as an order rejecting function, a communication function, and the like.
The second terminal 102 has installed thereon a second target application served by the server 103, through which the second terminal 102 can implement functions such as data transmission, message interaction, and the like. Optionally, the second target application is an application in the operating system of the second terminal 102, or an application provided by a third party. For example, the second target application is an e-commerce application, which has a shopping function, but can also have other functions, such as a comment function, a sharing function, and the like.
Optionally, the first target application and the second target application are the same; optionally, the first target application and the second target application are different. For example, the first target application is an application developed for a merchant, focusing on verifying and selling resources, processing orders, and the like; the second target application is an application developed for the user, focusing on purchasing resources, redeeming items using the resources, and the like.
Optionally, a third target application is installed on the first terminal 101, and the server 103 can perform functions such as data transmission and message interaction with the third target application through a third-party server providing a service for the third target application. Optionally, the third target application is an application in the operating system of the first terminal 101 or an application provided by a third party. For example, the third target application is an e-commerce application having an order accepting function, but of course, the e-commerce application can also have other functions, such as an order rejecting function, a communication function, and the like.
Optionally, the second terminal 102 displays an information presentation interface, where the information presentation interface includes a resource identifier and a first processing option, and the resource identifier represents a resource for exchanging an item; the second terminal 102 sends a redemption checking request to the server in response to the triggering operation of the first processing option, where the redemption checking request is used to request the server to return store information and item information corresponding to the resource identifier, where the item information indicates an item to which the resource is applicable, and the store information indicates a store to which the resource is applicable; the second terminal 102 displays an information confirmation interface of the resource based on the store information and the item information, wherein the information confirmation interface comprises a confirmation option, the information confirmation interface is used for confirming a target item needing to be exchanged and a target store providing the target item, and the confirmation option represents that a user confirms to exchange the target item by using the resource and obtains the target item from the target store; the second terminal 102 responds to the triggering operation of the confirmation option, and sends the use notice of the resource to a merchant client through a target communication link, wherein the merchant client is a terminal providing ordering service for a target store, the use notice is a notice sent to the merchant client after the resource is successfully verified, and the notice carries the article information of the target article so as to enable the target store to prepare the target article.
The resource identifier is an identifier capable of determining a unique resource, for example, a number of the resource, a graphic code of the resource, and the like.
It should be noted that in a possible implementation, after the merchant receives the resource usage notification through the first terminal 101, the ticket needs to be printed to retain the relevant credentials. Alternatively, if the merchant has a cash register, the ticket may be printed by the cash register; if the merchant does not have a cash register, the cloud printer may be instructed by the first terminal 101 to print the ticket.
In one possible implementation, the merchant does not have a cash register, the server 103 sends a usage notification of the resource to the first terminal 101, the first terminal 101 receives the usage notification, and based on the usage notification, the cloud is instructed to print the print ticket.
In another possible implementation, where the merchant has a cash register, then server 103 includes target application server 1031 and ISV (Independent Software developers) server 1032. As shown in fig. 2, fig. 2 is a schematic diagram of a resource processing system according to an embodiment of the present application. The ISV server 1032 is connected to the target application server 1031 via a wired or wireless network.
The target application server 1031 is a server that provides services for the first target application and the second target application, and the ISV server 1032 is an open platform for interfacing the target application server 1031 and the cash register. The target application server 1031 sends a usage notification of the resource to the ISV server 1032 and the first terminal 101, and the ISV server 1032 instructs the cash register of the corresponding merchant to print the ticket based on the usage notification.
If the merchant has a cash register, a usage notification is sent to the cash register via the ISV server, and the cash register prints a receipt. Optionally, the ticket includes at least one of an order ticket to a customer, an order ticket to a merchant self-service, or a ticket to a back office, etc.
It should be noted that if the system used by the merchant's cash register is adapted to the target application server, the target application server may send a usage notification directly to the cash register without going through the ISV server, or instruct the cash register to print a receipt based on the usage notification.
The resource processing method provided by the embodiment of the application can be applied to any scene of exchanging articles by using resources.
For example, it is applied to a scenario in which a restaurant cover ticket is used.
The user can purchase the package coupon of a certain restaurant on the network platform, after the user arrives at the restaurant, or on the way to the restaurant, the user can use the package coupon to redeem a corresponding package on the terminal of the user, after the user redeems the package coupon, the restaurant receives the use notice of the package coupon, and prepares corresponding dishes for the user, so that the user does not need to wait for a salesman to process the package coupon in a queue, and even can inform the restaurant to prepare related dishes in advance before arriving at the restaurant, the use efficiency of the package coupon is improved, the user can obtain the dishes purchased by the user more quickly, and the user experience is improved.
As another example, the method is applied to a scene that a flower shop exchanges bouquets.
The user can purchase a group purchase coupon of a certain flower shop on the network platform, and the group purchase coupon can be used for exchanging a corresponding bouquet before the bouquet is reached, so that a merchant prepares the bouquet in advance, the bouquet is directly taken away after the user arrives at the bouquet, the bouquet does not need to be bound by the bouquet at the flower shop, and the order processing efficiency is improved.
It should be noted that, the embodiment of the present application is only exemplified by using a package ticket in a restaurant and a group purchase ticket in a flower shop, and a scenario of exchanging an item using a resource is not limited. Optionally, the scene of exchanging articles by using resources can also be a scene of using coupons of drinks in a beverage store and the like.
Fig. 3 is a flowchart of a resource processing method according to an embodiment of the present application. The embodiment of the present application takes an execution subject as a user client for example, and the embodiment includes:
301. the user client displays an information display interface, wherein the information display interface comprises a resource identifier and a first processing option.
The user can purchase the resources through the user client, and the corresponding articles are exchanged by using the resources at the user client. Wherein the resource can be any type of coupon, voucher, fullfill coupon, discount coupon, etc. The embodiment of the application does not limit the types of the resource voucher. Optionally, the user client is provided with a target client, the user purchases the resource in the target client, and the resource can be used for exchanging goods in the target client.
The information presentation interface is an interface used for presenting relevant information of the resource, and provides a cancel/verify entry for canceling/verifying the resource for a user, where the cancel/verify entry is a first processing option corresponding to the resource. The self-service verification process of the resource, namely the exchange and verification process of the resource, can be triggered through the information display interface.
In this application embodiment, the information display interface may be any interface capable of displaying the relevant information of the resource, and the information display interface is not limited in this application embodiment. The information presentation interface is only exemplified by the following two interfaces.
In one possible implementation, the information presentation interface is a detail interface for the resource. The details interface is used for showing the details of the resource. For example, as shown in FIG. 4, the details interface includes a code for the resource, an item to which the resource applies, a store that can use the resource, a price for the resource, and the like. The user can use the resource sometimes after a period of time after purchasing the resource, and the user can know the detailed information of the resource by looking up the detailed interface of the resource, so that the user can accurately find the resource which the user wants to use. In the embodiment of the application, the first processing option is added in the detail interface of the resource, so that after a user views the detailed information of the resource in the detail interface, if the user determines to use the resource, the user can directly perform self-service verification and cancellation operation in the detail interface.
In another possible implementation manner, the information presentation interface is a purchase completion interface corresponding to the resource. After the user purchases the resource, the user client displays a purchase completion interface corresponding to the resource. Some users can use the resources immediately after purchasing the resources, and in order to facilitate user operation, in the embodiment of the application, a first processing option is added in a purchasing completion interface of the resources, so that the users can perform self-service verification through the first processing option after purchasing the resources, the operation of the users in the self-service verification process is reduced, and the user experience is improved.
For example, as shown in fig. 5, the resource transfer completion interface includes a "use" option, which is the first processing option provided in the embodiment of the present application, i.e., a self-service underwriting option.
302. The user client sends a conversion check request to the server in response to the triggering operation of the first processing option, the conversion check request is used for requesting the server to check the resource, and if the resource check is passed, store information and article information corresponding to the resource identifier are returned, wherein the article information represents an article applicable to the resource, and the store information represents a store applicable to the resource.
In this embodiment of the present application, the trigger operation may be any one or a combination of multiple types of click operation, slide operation, double-click operation, long-press operation, and the like, and the trigger operation is not limited in this embodiment of the present application.
In the process of checking and selling the resources shown by the user by the store clerk and ordering the article corresponding to the resources, the user needs to show the graphic code of the resources, the store clerk scans the graphic code by a handheld scanning device, identifies and checks the graphic code, determines that the graphic code is an available graphic code instead of a forged graphic code, a used graphic code or an inapplicable graphic code, and orders the article based on the resources. However, in the resource processing method provided by the application, the user checks and sells the resources on the user client of the user, and the store staff is not required to participate. In order to ensure that resources which are automatically verified and sold by a user client are legal resources, a server is added to assist in a verification process in the embodiment of the application. The client side sends a conversion verification request to the server to request the server to verify the resource, and the self-service verification process is continued only when the resource verification is passed. For example, when the resource check passes, the server returns store information and article information corresponding to the resource identifier, so that the client displays an information confirmation interface of the resource based on the store information and the article information. And under the condition that the resource check is not passed, the server returns prompt information, and the prompt information indicates that the resource cannot be verified.
Optionally, the exchange verification request carries a resource identifier, so that the server obtains store information and article information corresponding to the resource identifier based on the resource identifier, and returns the store information and the article information to the user client.
The store information is information of a store to which the resource is applied, and may be a store identifier, a store location, and the like of the store. The store identifier may be any identifier that can indicate a unique store, such as a name of the store. The store where the resource is applicable refers to: the resource may be used to redeem items in the store.
The article information is information of an article to which the resource is applied, and may be at least one of an article name, an article image, an article price, and the like. The article for which the resource is applicable is as follows: an item that can be redeemed using the resource.
303. The user client displays an information confirmation interface of the resource based on the store information and the article information, wherein the information confirmation interface comprises a confirmation option, the information confirmation interface is used for confirming the target article needing to be exchanged and the target store providing the target article, and the confirmation option represents that the user confirms to exchange the target article by using the resource and obtains the target article from the target store.
The information confirmation interface is an interface which is provided for the user so that the user can check and sell resources by himself. The information confirmation interface comprises a confirmation option, and the user verifies the resource by triggering the confirmation option, namely, the resource is used for exchanging the target article. Where the resource may be a ticket for redeeming an item, the user verifying that the resource is actually redeeming some item using the resource, and, after redeeming the item, the resource is invalidated. Since the resource is a ticket for redeeming an item, a target item to be redeemed by the user is also displayed in the redemption information confirmation interface, so that the user confirms whether to approve the resource for redeeming the target item.
The article information may be information of one article or information of a plurality of articles; the target object can be one object or a plurality of objects; the target article may be all articles indicated by the article information or may be a part of articles indicated by the article information. For example, the article information is article information of article a, article information of article B, and article information of article C; the target item may be any one of item a, item B, and item C, or the target item includes item a, item B, and item C.
And the second client displays an information confirmation interface of the resource based on the store information and the article information, namely, the store information and the article information are always displayed on the information confirmation interface.
In one possible implementation, the resource can only be redeemed for a particular item, the user cannot select, and the item, which is the target item, is redeemed by default. In another possible implementation, the resource is capable of redeeming at least one of a plurality of candidate items from which the user may select at least one item for redemption, the target item being the at least one item selected by the user from the plurality of candidate items.
Similarly, in one possible implementation, the resource can only be used by one designated store, which is the target store, and the user cannot select the resource. In yet another possible implementation, the resource is applicable to a plurality of stores from which the user may select one store in which to redeem the resource for items.
It should be noted that, if the item and the store cannot be selected by the user, the user determines, through the information confirmation interface, whether the item displayed in the information confirmation interface is an item that the user wants to exchange, and whether the store displayed in the information confirmation interface is a store that the user wants to provide the target item. If the item or store can be selected by the user, the user selects a target item that the user wants to redeem, or selects a target store that provides the target item, through the information confirmation interface.
304. The user client side responds to the triggering operation of the confirmation option, sends a use request to the server, and sends a use notice of the resource to the merchant client side through the target communication link, wherein the use request carries the resource identifier and is used for indicating the server to adjust the state of the resource, the merchant client side provides an ordering service client side for the target store, and the use notice is a notice sent to the merchant client side after the resource is successfully verified and carries the object information of the target object so that the target store prepares the target object.
In this embodiment of the present application, the trigger operation may be any one or a combination of multiple types of click operation, slide operation, double-click operation, long-press operation, and the like, and the trigger operation is not limited in this embodiment of the present application.
The user indicates that the user wants to use the resource to exchange the target item by triggering the confirmation option, and the merchant needs to provide the target item for the user. In the embodiment of the application, the user client sends the use notice of the resource to the merchant client in response to the triggering operation of the confirmation option so as to inform the merchant of preparing the target item for the user.
In the embodiment of the application, in order to enable the user client to communicate with the merchant client, the target communication link is added, and the ordering system of the user client and the merchant is opened, so that the user can operate on the client of the user to order the merchant client.
After the user uses the resource to exchange the target article, the resource is checked and cancelled, and therefore, in the embodiment of the application, the client sends a use request to the server in response to the triggering operation of the confirmation option, where the use request carries a resource identifier for instructing the server to adjust the state of the resource, and the state represents the use condition of the resource. For example, the status of the resource is a used status, which indicates that the resource has been checked out and is not available. As another example, the status of the resource is an unused status, indicating that the resource has not been used and is available. As another example, the state of the resource is available N times, which means that the resource can also be used N times.
In the related art, when a user uses a resource (e.g., an electronic ticket, etc.) to consume at a store, the store needs to verify whether the resource provided by the user is a resource available at the store, and after the resource provided by the user is a resource available at the store, an order is placed based on the resource. Whether the verification resources are available in the local store or not or the ordering is carried out is not carried out by manual operation, on one hand, the resources provided by the user can be verified only by operating the verification equipment by store personnel, on the other hand, the ordering can be carried out only by operating the ordering system of the store, only the store personnel have the authority to operate the ordering system of the store, and the pain point that the verification resources can only be operated by the store personnel is also located.
In the embodiment of the application, the processing process of the conventional resources for verification and sale is overturned, and a method for verifying and selling the resources by self is creatively provided, so that a store clerk is liberated from the verification and sale process of the resources. In the embodiment of the application, a self-service verification and sale function is provided in the user client, the user triggers the self-service verification and sale process, the server verifies resources, the self-service verification and sale process can be continued under the condition that the server verifies the resources, and the used resources are legal and effective under the condition that a salesman is not involved, so that the benefits of the merchant are guaranteed. In addition, in the self-service resource checking and selling method, an ordering system of the user side and the store is opened, so that the ordering of the user in the ordering system of the store can be realized by the operation of the user at the home terminal, and two pain points of resource checking and selling in the related technology are solved.
The resource processing method provided by the embodiment of the application does not need to wait for the processing of store personnel in a queue, reduces the refund rate of the user, and improves the experience of the user. And before the user reaches the store, the user can exchange and verify the resources on the client side of the user, so that the waiting time of the user in the store can be reduced, and the efficiency of obtaining the target object is improved.
Fig. 6 is a flowchart of a resource processing method according to an embodiment of the present application. The embodiment of the present application takes an execution subject as an example for an exemplary description, and the embodiment includes:
601. the server receives a conversion verification request submitted by a user client, wherein the conversion verification request carries a resource identifier, and the resource identifier represents a resource for exchanging goods.
In the embodiment of the application, the user client side exchanges the related goods through the resources by sending the exchange verification request to the server. The exchange verification request may be sent by the user client in response to a triggering operation of a first processing option for the resource, where the first processing option is used to trigger a self-service approval process for the resource, that is, a process for exchanging related items using the resource.
The user client sends a conversion and verification request to the server in response to the triggering operation of the first processing option corresponding to the resource, wherein the conversion and verification request carries the resource identifier of the resource and is used for accessing an information confirmation interface of the resource.
The resource identifier may be any identifier capable of determining a unique resource, such as a resource code, a resource graphic code, and a resource name, and the resource identifier is not limited in the embodiment of the present application.
602. And the server checks the resource based on the exchange check request, and returns store information and article information corresponding to the resource identifier to the user client when the resource check is passed, wherein the article information represents an article applicable to the resource, and the store information represents a store applicable to the resource.
The store information and the article information corresponding to the resource identifier are the same as the store information and the article information in step 302, and are not described in detail here.
In the embodiment of the application, after receiving the exchange verification request, the server verifies the resource corresponding to the resource identifier based on the resource identifier in the exchange verification request, and returns store information and article information corresponding to the resource identifier to the user client under the condition that the resource verification is passed. That is, the self-service verification process of the resource can be continued only when the resource passes the verification.
The store information and the article information corresponding to the resource identifier are stored in the server or a database connected with the server, and after the server receives the exchange verification request, the store information and the article information corresponding to the resource identifier can be acquired from a local storage or a corresponding database based on the resource identifier in the exchange verification request. Optionally, after the server acquires store information and article information corresponding to the resource identifier, directly returning the store information and the article information to the user client; optionally, after the server acquires store information and article information corresponding to the resource identifier, an information confirmation interface including the store information and the article information is generated, and the information confirmation interface is returned to the user client.
603. The server receives a use request sent by the user client, wherein the use request carries the resource identifier, the item information of the target item and store information of the target store, and indicates that the user confirms to exchange the target item by using the resource and arrives at the target store to obtain the target item.
After the user client acquires the item information and the store information, the user may determine the target item to be exchanged with the resource and the target store to provide the target item based on the item information and the store information. And, the user client may send a request for use to the server informing the server that the user determines the target item for redemption with the resource and the target store offering the target item.
604. And the server adjusts the state of the resource based on the resource identifier, wherein the state represents the use condition of the resource.
Successful core-cancellation of resources refers to: the target item is redeemed using the resource and the resource is adjusted from an unused state to a used state such that the resource is no longer available. In the embodiment of the application, the server receives the use request sent by the user client and indicates that the user agrees to cancel the resource, so that the server adjusts the state of the resource based on the resource identifier to cancel the resource.
605. The server sends a use notice of the resource to a merchant client based on store information of the target store, the merchant client is a client providing ordering service for the target store, the use notice is a notice sent to the merchant client after the resource is successfully verified, and the use notice carries object information of the target object so that the target store prepares the target object.
The resource processing method provided by the embodiment of the application does not need to wait for the processing of store personnel in a queue, reduces the refund rate of the user, and improves the experience of the user. And the user can exchange and verify the resource on the terminal of the user before reaching the store, so that the waiting time of the user in the store can be reduced, and the efficiency of obtaining the target object is improved.
Fig. 7 is a flowchart of a resource processing method according to an embodiment of the present application. In the embodiment of the present application, an execution subject is exemplified by the resource processing system shown in fig. 1, and the embodiment includes:
701. the user client displays an information presentation interface, the information presentation interface including a resource identifier and a first processing option, the resource identifier representing a resource for redeeming the item.
In the embodiment of the application, a first processing option is added in the information display interface, so that a user can perform a self-service resource verification process on the home terminal equipment. The first processing option can be added in each information display interface by default, so that a user can perform self-service verification and sale on any resource. Whether a self-service verification function is provided or not can be set by a merchant, and if the self-service verification function is set by the merchant providing the resource, a first processing option corresponding to the resource is displayed in an information display interface; if the merchant providing the resource does not set the self-service checking and selling function, the first processing option corresponding to the resource is not displayed in the information display interface, so that the user cannot trigger the self-service checking and selling process.
For example, when the merchant a opens the self-service verification function, the resources purchased from the merchant a can be verified by self-service. If the merchant B does not start the self-service checking and canceling function, the resources purchased from the merchant B cannot be checked and cancelled by self. Optionally, in a case that the information presentation interface does not include the first processing option, the graphical code may be verified by a store clerk by presenting the graphical code of the resource in the information presentation interface; or providing a fourth processing option in the information display interface, displaying the graphic code of the resource in the information display interface through triggering operation of the fourth processing option, and verifying the graphic code by a shop assistant.
The embodiment of the application takes the information display interface as a detail interface of the resource and a successful purchase completion interface of the resource as examples respectively, and exemplarily explains the process of displaying the information display interface.
In one possible implementation, the information display interface is a detail interface of the resource, and the user client displays the information display interface, including: a user client displays a resource list interface which is used for displaying resources to be used; the method comprises the steps that a user client responds to triggering operation of any resource in a resource list interface, and the function starting information of a store corresponding to the resource is determined based on a store identification corresponding to the resource, wherein the function starting information indicates whether the store starts a self-service check and sale function or not; and when the function opening information indicates that the store opens the self-service check-out function, the user client displays a detail interface containing the first processing option of the resource. And the user client displays a detail interface containing the resource identifier of the resource under the condition that the function opening information shows that the self-service check-out function is not opened in the store. The resource identification may be a code, graphic code, or the like of the resource that enables the clerk to verify.
In another possible implementation manner, the information display interface is a purchase completion interface corresponding to the resource, and the displaying, by the user client, the information display interface includes: after a user client side successfully purchases a resource, determining function opening information of a store corresponding to the resource based on a store identification corresponding to the resource, wherein the function opening information indicates whether the store opens a self-service check-out function; and displaying a purchase completion interface containing the first processing option and the resource identifier when the function opening information indicates that the self-service check-out function is opened by the store. And if the function opening information indicates that the self-service check-off function is not opened by the store, displaying a detail interface containing the resource identifier of the resource.
It should be noted that, in the embodiment of the present application, determining the function opening information of the store corresponding to the resource may be completed by the user client, or may be completed by the server, which is not limited in this embodiment of the present application. For example, a user client sends an access request to a server in response to a trigger operation on any resource in a resource list interface, wherein the access request carries an identifier of the resource and an interface identifier of a detail interface; the server determines a store identification corresponding to the resource identification based on the resource identification in the access request, and determines function opening information of the store based on the store identification, wherein the function opening information indicates whether the store opens a self-service check and sale function or not; the server returns a first detail interface containing a first processing option to the user client when the function opening information shows that the store opens the self-service check-out function; and the server returns a second detail interface which does not contain the first processing option to the user client under the condition that the function opening information indicates that the self-service check-out function is not opened in the store. And the user server receives and displays the detail interface returned by the server.
It should be noted that, in one possible implementation, the merchant may set the self-service verification function in the merchant client, for example, to turn on or turn off the self-service verification function. In another possible implementation, the backstage technician sets up a self-service underwriting function for the merchant. The setting mode of the self-service verification and sale function is not limited in the embodiment of the application.
The embodiment of the application also provides a method for determining whether to display the first processing option according to the distance between the user and the store, so that the user can take the corresponding item at the closer store, and the user is prevented from going far away to take the item. In one possible implementation, a user client displays an information presentation interface, including: a user client sends an access request of the information display interface to a server, wherein the access request carries an interface identifier of the information display interface and a login user identifier; the server receives an access request submitted by the user client, and determines a resource identifier corresponding to the user identifier based on a user identifier in the access request, wherein the resource identifier corresponding to the user identifier is a resource which is obtained based on the user identifier and is not used; determining a plurality of store identifications and article information corresponding to the resource identification based on the determined resource identification, wherein the store identifications represent stores suitable for the resource; the server acquires the positioning information of the user client and the position information corresponding to the plurality of store identifications, wherein the positioning information represents the current position of the user; the server determines the distance between each store and the current position based on the position information of the plurality of store identifications and the positioning information; under the condition that the distance between any store and the current position does not exceed the distance threshold, the server returns an information display interface comprising the resource identifier and a first processing option to the user client, wherein the first processing option is used for triggering the exchange verification process of the resource at the user client; and returning an information presentation interface comprising the resource identifier to the user client in the case that no store with the distance from the current position not exceeding the distance threshold exists. And the user client receives and displays the information display interface returned by the server.
The distance threshold may be any distance, such as any distance of 500 meters, 1 kilometer, and the like. Optionally, the distance threshold is a empirical value; optionally, the distance threshold is any value set by the technician; or a default value of the system, and the like, and the distance threshold is not limited in this embodiment of the application.
It should be noted that determining whether to display the first processing option according to the distance between the user and the store is only one optional implementation provided by the example of the present application, and the display of the first processing option may also be independent of the distance, that is, the resource may be used to exchange the item no matter how far away the current location is from the store. For example, before the user goes to work, the resource is used at home to exchange dishes of a store next downstairs of the company, and after the user reaches downstairs of the company, the user can directly obtain corresponding dishes from the store without waiting in a queue, so that the efficiency of the store and the user is improved.
702. The user client sends a conversion verification request to the server in response to the triggering operation of the first processing option, wherein the conversion verification request carries a resource identifier, the conversion verification request is used for requesting the server to verify the resource, and under the condition that the resource verification is passed, store information and article information corresponding to the resource identifier are returned, the article information represents an article suitable for the resource, and the store information represents a store suitable for the resource.
The step 702 is similar to the step 302, and is not described in detail herein.
703. The server receives the exchange verification request submitted by the user client, verifies the resource based on the exchange verification request, and returns store information and article information corresponding to the resource identifier to the user client under the condition that the resource verification is passed.
In the embodiment of the application, after receiving the exchange verification request of any resource, the server needs to verify the resource, and the exchange verification process can be continued only when the resource passes the verification, that is, the self-service verification process is continued.
The server checks the resource to verify whether the resource is available. For example, the applicable store of the resource is queried based on the resource identification of the resource, and if the applicable store is not queried, the resource identification is forged and unavailable. For another example, the available time period of the resource is queried based on the resource identifier of the resource, and if the current time belongs to the available time period, it is determined that the resource is available, that is, the check is passed; if the current time does not belong to the available time period, the resource is determined to be unavailable, i.e. the check is not passed.
In one possible implementation, the server verifying the resource includes at least one of:
(1) and inquiring the applicable store of the resource based on the resource identification of the resource, if the applicable store is inquired, determining that the resource check is passed, and if the applicable store is not inquired, determining that the resource check is not passed.
(2) If the inquired store is located in the current city, determining that the resource check is passed; and if the inquired store is not located in the current city, determining that the resource check fails.
(3) Acquiring business state information of the store based on the inquired store, and determining that the resource verification fails if the business state information indicates that the store is not currently in business; if the business status information indicates that the store is currently in business, determining that the resource check passes.
(4) Inquiring the available time period of the resource based on the resource identifier of the resource, and if the current time belongs to the available time period, determining that the resource passes the verification; if the current time does not belong to the available time period, determining that the resource check fails.
(5) Determining the state of the resource based on the resource identifier of the resource; if the status of the resource indicates that the resource is available, determining that the resource checks; if the status of the resource indicates that the resource is not available, the resource check is determined to have failed.
For example, if the status of the resource is a used status, an expired status, a refund status, a frozen status, etc., the status of the resource indicates that the resource is unavailable.
The article information corresponding to the resource may be article information of one article or article information of a plurality of articles. The store information corresponding to the resource identifier may be store information of one store, or store information of a plurality of stores.
As can be seen from the embodiments shown in fig. 3 and 6, in some cases, the resource is applicable to a plurality of stores. In order to help the user select a most suitable store from the plurality of stores, the server may also rank the plurality of stores based on their distances from the user, so that the user can select a most suitable store according to the order of the plurality of stores.
In one possible implementation, the store information includes at least one of store identification, an order in which the stores are arranged, a distance of the stores from the current location, and the like. Optionally, the step of returning, by the server, store information and item information corresponding to the resource identifier to the user client includes: a plurality of store identifications and article information corresponding to the resource identification; acquiring positioning information of the user client and position information corresponding to a plurality of store identifications, wherein the positioning information represents the current position of the user; determining the distance between each store and the current position based on the positioning information and the position information corresponding to the plurality of store identifications; and sequencing the plurality of store identifications according to the distance between each store and the current position, and returning the plurality of store identifications, the arrangement sequence of the plurality of store identifications and the item information corresponding to the resource identification to the user client so that the user client displays the plurality of store identifications according to the arrangement sequence.
It should be noted that the server may also return the distance between each store and the current location to the user client, so that the user can view the specific distance between the stores and the current location. Another point to be noted is that the server returns the arrangement order of the plurality of store identifiers to the user client, and the user client may display the store identifier located at the head in the information confirmation interface. If the store identifier at the head is not the ideal store of the user, the user can also perform store selection operation, and when the user selects the store, the user client displays the plurality of store identifiers according to the arrangement sequence, so that the user can select an ideal store from the plurality of store identifiers. The server returns the arrangement sequence of the plurality of store identifications to the user client, and the user client can display the plurality of store identifications directly according to the arrangement sequence so that the user can select a desired store from the plurality of store identifications.
In addition, the embodiment of the application also considers that the store may not provide corresponding articles for the user due to insufficient raw materials. In order to avoid that the merchant cannot provide the item after the user redeems the item, the embodiment of the application is implemented by taking inventory information provided by the merchant into consideration. In one possible implementation manner, the returning, by the server, store information and item information corresponding to the resource identifier to the user client includes: the server determines a store identification and article information corresponding to the resource identification; the server determines article inventory information corresponding to the store identification based on the store identification; and returning an information confirmation interface to the user client based on the store identification, the item inventory information corresponding to the store identification and the item information so as to enable the user client to display the information confirmation interface.
The article inventory information corresponding to the store identification is used for representing the articles provided by the store and the remaining inventory quantity of the articles; alternatively, the item inventory information corresponding to the store identifier is used to indicate the items provided by the store and whether or not the items remain in stock.
Optionally, the server returns an information confirmation interface to the user client based on the store identifier, the item inventory information corresponding to the store identifier, and the item information, where the information confirmation interface includes: based on the article information, inquiring the inventory information of the article suitable for the resource in the article inventory information corresponding to the store identification to obtain an inquiry result; and returning a corresponding information confirmation interface to the user client based on the query result.
In the case where the resource can only be used to redeem one item, the following three cases can be distinguished:
the first method comprises the following steps: and returning a first information confirmation interface to the user client under the condition that one article is suitable for the resource and the query result shows that the article suitable for the resource is not in stock, wherein the first information confirmation interface comprises first prompt information and confirmation options in an inoperable state, so that the user client cannot exchange and verify the resource, and the first prompt information is used for prompting the user that the stock quantity of the article suitable for the resource is insufficient.
And the second method comprises the following steps: and returning a third information confirmation interface to the user client under the condition that one article is suitable for the resource and the query result indicates that the article suitable for the resource is stored, wherein the third information confirmation interface comprises article information of the article and a confirmation option in an operable state.
And the third is that: and returning a second information confirmation interface to the user client under the condition that the resource is applicable to a plurality of articles and the query result indicates that any article applicable to the resource is sufficient in stock, wherein the second information confirmation interface comprises a first article in an operable state, a second article in an inoperable state and a confirmation option in the operable state, the first article is an article with sufficient stock quantity, and the second article is an article with insufficient stock quantity, so that the user client cannot select the second article.
The article suitable for the resource refers to an article which can be exchanged by adopting the resource.
In the case where the resource can be used to redeem N (N is an integer greater than 1) items, the following three cases can be distinguished:
in the first case: and returning a first information confirmation interface to the user client under the condition that the number of the articles applicable to the resource is N and the query result indicates that any article in the N articles is not in stock, wherein the first information confirmation interface comprises first prompt information and confirmation options in an inoperable state so that the user client cannot exchange and verify the resource, and the first prompt information is used for prompting the user that the stock number of the articles applicable to the resource is insufficient.
In the second case: and returning a second information confirmation interface to the user client when the items suitable for the resource are M (M is an integer larger than N) and the query result indicates that at least N items in the M items are stored, wherein the second information confirmation interface comprises a first item in an operable state, a second item in an inoperable state and a confirmation option in the operable state, the first item is an item with sufficient inventory quantity, and the second item is an item with insufficient inventory quantity, so that the user client cannot select the second item.
In the third case: and returning a first information confirmation interface to the user client under the condition that the number of the articles applicable to the resource is M (M is an integer larger than N) and the query result indicates that less than N articles in the M articles are stored, wherein the first information confirmation interface comprises first prompt information and confirmation options in an inoperable state so that the user client cannot redeem and verify the resource, and the first prompt information is used for prompting the user that the number of the articles applicable to the resource is insufficient.
The inoperable state may be a state of gray scale display, and the like, and the inoperable state is not limited in the embodiments of the present application.
704. And the user client receives the store information and the article information, and displays an information confirmation interface of the resource based on the store information and the article information, wherein the information confirmation interface comprises a confirmation option, the information confirmation interface is used for confirming the target article needing to be exchanged and the target store providing the target article, and the confirmation option represents that the user confirms to exchange the target article by using the resource and obtains the target article from the target store.
Optionally, the server returns store information and article information to the user client, and the user client displays an information confirmation interface of the resource based on the store information and the article information; for example, after acquiring store information and article information, the user client generates an information confirmation interface including the article information and the store information based on an interface template of the information confirmation interface, and displays the information confirmation interface. Or the server returns an information confirmation interface containing store information and article information to the user client, and the user client receives the information confirmation interface and displays the information confirmation interface.
It should be noted that the item that the resource can be exchanged may be designated, that is, the resource can only be exchanged for a certain item, and the user cannot select the item; alternatively, the resource-redeemable item is at least one of a plurality of candidate items, that is, the user may select at least one item from the plurality of candidate items for redemption.
In one possible implementation, the information confirmation interface further includes a second processing option for switching stores that provide the target item; the user client responds to the triggering operation of the second processing option and displays a plurality of stores suitable for the resource; in response to a selection operation for any one of the stores, the store is determined as a target store.
In order to make the user perceive that a certain store has been determined as the target store, the store may be set to the selected state, or only the store identifier of the store may be displayed in the information confirmation interface.
It should be noted that the display form of the second processing option is not limited in the embodiment of the present application. Alternatively, the second processing option may be a virtual key; alternatively, the second processing option is a triggerable area for displaying store identifications, for example, if a store closest to the user is displayed in the information confirmation interface, but the user does not want to exchange items in the store, the user can perform a triggering operation on the store to display a plurality of stores to which the resource is applicable.
Similarly, the user may also select items for redemption in the information confirmation interface. In one possible implementation, the resource is used for redeeming at least one item from a plurality of candidate items, and the information confirmation interface further includes a third processing option for selecting a target item for redemption with the resource; responding to the triggering operation of the third processing option, and displaying a plurality of candidate items corresponding to the resource; in response to the selection operation of at least one candidate item, the at least one candidate item is determined as the target item.
It should be noted that the plurality of candidate items may be presented in the self-service underwriting interface in a directly selectable state, or may be presented in the self-service underwriting interface in a non-directly selectable state. In one possible implementation, displaying an information confirmation interface includes: and the user client side displays a third processing option and a confirmation option in the information confirmation interface, wherein the third processing option is aggregated with a plurality of candidate items. Then, the user client responds to the triggering operation of the third processing option and displays a plurality of candidate items; and setting at least one candidate item to be in a selected state in response to the selection operation of the at least one candidate item. Wherein the target item is an item in a selected state.
For example, in response to a triggering operation on the third processing option, the user client displays a popup window, wherein the popup window includes the plurality of candidate items, and the plurality of candidate items are presented in the popup window in a directly selectable state.
It should be noted that, the embodiment of the present application is only an example of selecting a target item in an information confirmation interface, and the process of redeeming an item is exemplarily described.
705. And the user client sends a use request of the resource to the server in response to the trigger operation of the confirmation option, wherein the use request carries the resource identifier, the item information of the target item and the store information of the target store, and indicates that the user confirms to exchange the target item by using the resource and obtains the target item from the target store.
In the embodiment of the application, after the user performs a trigger operation on the confirmation option at the user client, the user client sends a use request of the resource to the server, and the server confirms that the target item is exchanged by using the resource.
706. The server receives the use request, adjusts the state of the resource based on the resource identifier, and sends a use notice of the resource to the merchant client based on store information of the target store, wherein the state represents the use condition of the resource, the merchant client is a client providing ordering service for the target store, and the use notice is a notice sent to the merchant client after the resource is successfully verified, and carries the article information of the target article to enable the target store to prepare the target article.
In the embodiment of the present application, after the resource is used, the state of the resource may also be adjusted. For example, a resource can be used only once, and after the resource is used, the state information of the resource is modified into a failure state or a used state. For another example, if the resource can be used for multiple times, after the resource is used, the number of times of using the resource is recorded until the number of times of using the resource reaches the target number of times, and the state information of the resource is modified into a failure state.
The server receives the use request, the use request carries the object information of the target object, and the server confirms the target object exchanged by the user by using the resource. In one possible implementation, the server receives the usage request, sends a usage notification of the resource to the merchant client based on store information of the target store, receives the usage request, generates an order for the target item based on the usage request, and sends the usage notification containing the order to the merchant client. And the merchant client performs ordering in an ordering system of the local terminal based on the use notice.
It should be noted that, after the user uses the resource to exchange the target item, the merchant prepares the target item and provides the target item to the user, and in order to enable the merchant to accurately provide the target item to the corresponding user, the server may further generate a target identifier for obtaining the target item, and send the target identifier to the merchant client and the user client, respectively. Thus, when the user fetches, the fetching can be carried out based on the target identification. In one possible implementation manner, the user client sends the use notification to the server in response to the triggering operation of the first processing option, the server generates a target identifier for acquiring the target item based on the use notification, returns the target identifier, and sends the use notification and the target identifier to the merchant client. And the user client receives the target identifier returned by the server, and displays the target identifier, wherein the target identifier represents the fetching voucher of the item, so that the merchant provides the item to the user based on the target identifier displayed by the user client.
In the embodiment of the present application, the target identifier may be generated in any manner, for example, 1 is added to the generated identifier for acquiring the item, so as to obtain the target identifier. Taking the item as an example of a dish, the target identifier is a meal taking number.
707. The merchant client receives the usage notification, instructing the cloud printer to print a receipt.
It should be noted that, the embodiments of the present application are only exemplified by a cloud printer. In yet another embodiment, the merchant client is not equipped with a cloud printer. In one possible implementation, the merchant client receives the usage notification, which is displayed in an interface.
It should be noted that, the embodiment of the present application is only exemplified by a process of verifying and canceling one resource. In yet another embodiment, a user may core multiple resources simultaneously. In one possible implementation, the multiple resources are resources used at the same store. In another possible implementation, the plurality of resources are resources used at different stores. Optionally, the displaying, by the user client, an information confirmation interface of the resource in response to the triggering operation of the first processing option includes: in response to the triggering operation of the first processing option corresponding to the multiple resources, displaying an information confirmation interface of the multiple resources, where the information confirmation interface of the multiple resources includes a confirmation option and a target item corresponding to each resource, as shown in fig. 9. The user client sends the use notice of the resource to the merchant client through the target communication link in response to the triggering operation of the confirmation option, and the use notice comprises the following steps: and responding to the triggering operation of the confirmation option, and sending a corresponding resource use notification to at least one merchant client, wherein the at least one merchant client is a client used by a merchant for providing target items corresponding to different resources.
The information confirmation interfaces corresponding to the multiple resources are similar to the information confirmation interface corresponding to one resource, and the target object corresponding to the resource and the store providing the target object can be selected.
In addition, the embodiment of the application also provides a mode for triggering the simultaneous core-sale of a plurality of resources. In one possible implementation manner, the information presentation interface includes a plurality of resources, and the displaying, by the user client, the information confirmation interface of the plurality of resources in response to the triggering operation of the first processing option corresponding to the plurality of resources includes: and under the condition that a plurality of resources in the information display interface are in a selected state, responding to the triggering operation of the first processing option, and displaying an information confirmation interface corresponding to the plurality of resources.
For example, a long press operation is performed on any resource identifier in the information display interface, at this time, a plurality of resource identifiers in the information display interface are in a selectable state, at least one resource identifier is selected from the plurality of resource identifiers, the first processing option is clicked, and the information confirmation interface of the at least one resource is displayed.
When a plurality of resources are checked and sold simultaneously, an order may be generated for each resource individually, or one order may be generated for a plurality of resources corresponding to the same store. For example, in response to a triggering operation on the confirmation option, in the case that a target store providing each target item is the same store, the user client places orders for the determined target items and sends the orders to a merchant client of the target store; and when the target stores of each provided target item are different stores, ordering the target items belonging to the same target store in the plurality of determined target items respectively, and sending corresponding orders to the merchant client of each target store respectively.
It should be noted that, in this embodiment of the application, when a plurality of resources are checked and sold simultaneously, the same target identifier may be generated for each resource, a different target identifier may be generated for each resource, and the same target identifier may be generated for at least one resource corresponding to the same store. The target identification is an identification used for obtaining a target article, and in the case that the resource is a coupon used for purchasing dishes, the target identification is a meal taking number. As shown in fig. 10.
It should be noted that, in the embodiment of the present application, the target communication link is taken as an example, and an exemplary description is given to "the user client sends the usage notification of the resource to the merchant client through the target communication link". In yet another embodiment, the server is a target application server, the target communication link includes the target application server, and the merchant client has installed a target application or a third party application; the method for sending the resource use notice to the merchant client by the user client through the target communication link comprises the following steps: the user client sends the usage notification to the target application server through the target application, which forwards the usage notification to the merchant client. For example, the user client is a target application client, and the user client sends a usage request to a target application server for sending a usage notification to the merchant client in response to the usage request.
In another embodiment, the server is a target application server, the target communication link includes the target application server and an ISV server, and the merchant client is a cash register or a cloud printer of the merchant; the method for sending the resource use notice to the merchant client by the user client through the target communication link comprises the following steps: and responding to the triggering operation of the first processing option, sending the use notification to the target application server through the target application, forwarding the use notification to the ISV server by the target application server, forwarding the use notification to the merchant client by the ISV server, wherein the ISV server is an open platform for the target application server and the merchant client to be in butt joint. For example, the user client is a target application client, the user client sends a usage request to a target application server, the target application server is configured to send a usage notification to the ISV server in response to the usage request, and the ISV server forwards the usage notification to the merchant client.
In yet another embodiment, the target communication link comprises a router located at the target store; the method for sending the resource use notice to the merchant client by the user client through the target communication link comprises the following steps: and sending a first forwarding request to the router, wherein the first forwarding request carries the use notification and the equipment identifier of the merchant client, so that the router forwards the use notification to the merchant client based on the equipment identifier, and the equipment identifier is acquired from the server after the resource verification is successful.
According to the resource processing method provided by the embodiment of the application, the user can exchange and verify the resource on the terminal used by the user through the provided first processing option of the resource, the participation of a shop assistant is not needed, the workload of the shop assistant is reduced, the shop assistant can provide the target object corresponding to the resource for the user as soon as possible, and therefore the order processing efficiency of the shop is improved.
In addition, the user exchanges and verifies the resources on the terminal used by the user, and does not need to wait for the processing of store personnel in a queue, so that the refund rate of the user is reduced, and the user experience is also improved. And the user can exchange and verify the resource on the terminal of the user before reaching the store, so that the waiting time of the user in the store can be reduced, and the efficiency of obtaining the target object is improved.
In addition, in the embodiment of the application, the merchant client is a terminal for providing ordering service for the store, so that the user operates at the user client in the embodiment of the application, and ordering can be performed on the merchant client.
And when the distance between the user and the corresponding store does not exceed the distance threshold, a first processing option is displayed so that the user can exchange and check corresponding resources on the local terminal, and the trouble that the user is far away from the store and is inconvenient to go to the store is avoided.
Fig. 11 is a schematic diagram of a client structure according to an embodiment of the present application, referring to fig. 11, the client includes:
a display module 1101, configured to display an information display interface, where the information display interface includes a resource identifier and a first processing option, and the resource identifier indicates a resource for exchanging an article;
a sending module 1102, configured to send, in response to a trigger operation on the first processing option, a redemption check request to a server, where the redemption check request is used to request the server to check the resource, and if the resource check is passed, store information and item information corresponding to the resource identifier are returned, where the item information indicates an item to which the resource is applicable, and the store information indicates a store to which the resource is applicable;
the display module 1101 is further configured to display an information confirmation interface of the resource based on the store information and the item information, where the information confirmation interface includes a confirmation option, the information confirmation interface is configured to confirm a target item to be exchanged and a target store providing the target item, and the confirmation option indicates that a user confirms to exchange the target item with the resource and obtain the target item from the target store;
the sending module 1102 is further configured to send, in response to a trigger operation on the confirmation option, a use request to the server, and send, through a target communication link, a use notification of the resource to a merchant client, where the use request carries the resource identifier and is used to instruct the server to adjust a state of the resource, the state indicates a use condition of the resource, the merchant client is a client that provides ordering service for the target store, and the use notification is a notification sent to the merchant client after the resource is successfully verified and carries item information of the target item, so that the target store prepares the target item.
In one possible implementation, the server is a target application server, the target communication link includes the target application server, and the merchant client is a target application client or a third party application client; the target application server is used for responding to the use request and sending a use notice of the resource to the merchant client; alternatively, the first and second electrodes may be,
the server is the target application server, the target communication link comprises the target application server and an independent software developer server, and the merchant client is a cash register or a cloud printer of the merchant; the target application server is used for responding to the use request, sending the use notification to the independent software developer server, and forwarding the use notification to the merchant client by the independent software developer server, wherein the independent software developer server is an open platform for butt joint of the target application server and the merchant client; alternatively, the first and second electrodes may be,
the target communication link includes a router located in the target store, and the sending module 1102 is configured to send a first forwarding request to the router, where the first forwarding request carries the usage notification and the device identifier of the merchant client, so that the router forwards the usage notification to the merchant client based on the device identifier, and the device identifier is obtained from the server after the resource check is successful.
In one possible implementation, the display module 1101 is further configured to perform at least one of the following:
the information confirmation interface further comprises a second processing option, wherein the second processing option is used for switching stores providing the target item; in response to the triggering operation of the second processing option, displaying a plurality of stores applicable to the resource; in response to a selection operation for any one store, determining the store as the target store;
the resource is used for exchanging at least one item from a plurality of candidate items, and the information confirmation interface further comprises a third processing option for selecting a target item to be exchanged by the resource; responding to the triggering operation of the third processing option, and displaying a plurality of candidate items corresponding to the resource; in response to the selection operation of at least one candidate item, the at least one candidate item is determined as the target item.
In a possible implementation manner, the sending module 1102 is configured to send the usage notification to the server in response to a triggering operation on the first processing option, generate, by the server, a target identifier for obtaining the target item based on the usage notification, return the target identifier, and send the usage notification and the target identifier to the merchant client;
the display module 1101 is further configured to receive the target identifier returned by the server, and display the target identifier, where the target identifier represents an article fetching certificate of the article, so that the merchant provides the article to the user based on the target identifier displayed by the user client.
Fig. 12 is a schematic structural diagram of a server according to an embodiment of the present application, and referring to fig. 12, the server includes:
a receiving module 1201, configured to receive a redemption check request submitted by a user client, where the redemption check request carries a resource identifier, and the resource identifier indicates a resource for redeeming an article;
a sending module 1202, configured to return store information and item information corresponding to the resource identifier to the user client based on the exchange verification request, where the item information indicates an item to which the resource is applicable, and the store information indicates a store to which the resource is applicable;
the receiving module 1201 is further configured to verify the resource based on the exchange verification request, and return store information and article information corresponding to the resource identifier to the user client when the resource verification is passed, where the article information indicates an article to which the resource is applicable, and the store information indicates a store to which the resource is applicable;
an adjusting module 1203, configured to adjust a state of the resource based on the resource identifier, where the state represents a usage of the resource;
the sending module 1202 is further configured to send, based on store information of the target store, a use notification of the resource to a merchant client, where the merchant client is a client that provides an ordering service for the target store, and the use notification is a notification sent to the merchant client after the resource is successfully verified, and carries article information of the target article, so that the target store prepares the target article.
As shown in fig. 13, in one possible implementation, the sending module 1202 includes:
a first determining unit 1212, configured to determine a plurality of store identifications and item information corresponding to the resource identification;
a first obtaining unit 1222, configured to obtain location information of the user client and location information corresponding to the plurality of store identifications, where the location information represents a current location of the user;
a second determining unit 1232, configured to determine, based on the location information and location information corresponding to the plurality of store identifications, a distance between each store and the current location;
a sorting unit 1242, configured to sort the plurality of store identifiers according to a distance between each store and the current location;
a sending unit 1252, configured to return the multiple store identifiers, the arrangement order of the multiple store identifiers, and the item information corresponding to the resource identifier to the user client, so that the user client displays the multiple store identifiers according to the arrangement order.
In one possible implementation manner, the server further includes:
the receiving module 1201 is further configured to receive an access request submitted by the user client, where the access request carries an interface identifier of an information display interface and a login user identifier;
a first determining module 1204, configured to determine, based on the user identifier, a resource identifier corresponding to the user identifier, where the resource identifier corresponding to the user identifier is a resource that is obtained based on the user identifier and is not yet used;
the first determining module 1204 is further configured to determine, based on the determined resource identifier, a plurality of store identifiers and item information corresponding to the resource identifier, where the store identifiers represent stores to which the resource is applicable;
an obtaining module 1205, configured to obtain location information of the user client and location information corresponding to the multiple store identifiers, where the location information represents a current location of the user;
a second determining module 1206, configured to determine a distance of each store from the current location based on the location information identified by the plurality of stores and the positioning information;
the sending module 1202 is further configured to, when a distance between any one store and the current location does not exceed a distance threshold, return an information presentation interface including the resource identifier and a first processing option to the user client, where the first processing option is used to trigger a redemption check process of the resource at the user client;
the sending module 1202 is further configured to return an information presentation interface including the resource identifier to the user client if there is no store whose distance from the current location does not exceed the distance threshold.
In one possible implementation, the sending module 1202 includes:
a first determining unit 1212, configured to determine a store identifier and item information corresponding to the resource identifier;
a third determining unit 1262, configured to determine, based on the store identifier, item inventory information corresponding to the store identifier;
a sending unit 1252, configured to return an information confirmation interface to the user client based on the store identifier, the item inventory information corresponding to the store identifier, and the item information, so that the user client displays the information confirmation interface.
In a possible implementation manner, the sending unit 1252 is configured to query, based on the item information, inventory information of an item to which the resource is applicable in the item inventory information corresponding to the store identifier to obtain a query result;
the sending unit 1252 is further configured to, when there is one article applicable to the resource and the query result indicates that the article applicable to the resource is out of stock, return a first information confirmation interface to the user client, where the first information confirmation interface includes first prompt information and a confirmation option in an inoperable state, so that the user client cannot redeem and verify the resource, and the first prompt information is used to prompt the user that the stock quantity of the article applicable to the resource is insufficient;
the sending unit 1252 is further configured to, when the number of items applicable to the resource is multiple and the query result indicates that the inventory of any item applicable to the resource is sufficient, return a second information confirmation interface to the user client, where the second information confirmation interface includes a first item in an operable state, a second item in the inoperable state, and a confirmation option in the operable state, where the first item is an item with a sufficient inventory quantity, and the second item is an item with a insufficient inventory quantity, so that the user client cannot select the second item.
It should be noted that: in the above embodiment, when the user side and the server side process resources, only the division of the functional modules is used for illustration, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the computer device is divided into different functional modules to complete all or part of the functions described above. In addition, the method embodiments of the user side and the server side provided by the above embodiments and the resource processing belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
In an exemplary embodiment, a computer device is provided, which comprises one or more processors and one or more memories, in which at least one program code is stored, which is loaded and executed by the one or more processors to implement the resource processing method as in the above embodiments.
Optionally, the computer device is provided as a terminal. Fig. 14 shows a block diagram of a terminal 1400 according to an exemplary embodiment of the present application. The terminal 1400 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. Terminal 1400 can also be referred to as user equipment, a portable terminal, a laptop terminal, a desktop terminal, or other names.
Terminal 1400 includes: a processor 1401, and a memory 1402.
Processor 1401 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so forth. The processor 1401 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 1401 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also referred to as a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1401 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing content that the display screen needs to display. In some embodiments, processor 1401 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 1402 may include one or more computer-readable storage media, which may be non-transitory. Memory 1402 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1402 is used to store at least one program code for execution by processor 1401 to implement the resource processing methods provided by method embodiments herein.
In some embodiments, terminal 1400 may further optionally include: a peripheral device interface 1403 and at least one peripheral device. The processor 1401, the memory 1402, and the peripheral device interface 1403 may be connected by buses or signal lines. Each peripheral device may be connected to the peripheral device interface 1403 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1404, a display 1405, a camera 1406, audio circuitry 1407, a positioning component 1408, and a power supply 1409.
The peripheral device interface 1403 can be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 1401 and the memory 1402. In some embodiments, the processor 1401, memory 1402, and peripheral interface 1403 are integrated on the same chip or circuit board; in some other embodiments, any one or both of the processor 1401, the memory 1402, and the peripheral device interface 1403 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 1404 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 1404 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 1404 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1404 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 1404 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 1404 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 1405 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1405 is a touch display screen, the display screen 1405 also has the ability to capture touch signals at or above the surface of the display screen 1405. The touch signal may be input to the processor 1401 for processing as a control signal. At this point, the display 1405 may also be used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards. In some embodiments, the display 1405 may be one, providing the front panel of the terminal 1400; in other embodiments, display 1405 may be at least two, respectively disposed on different surfaces of terminal 1400 or in a folded design; in still other embodiments, display 1405 may be a flexible display disposed on a curved surface or on a folded surface of terminal 1400. Even further, the display 1405 may be arranged in a non-rectangular irregular figure, i.e., a shaped screen. The Display 1405 can be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The camera assembly 1406 is used to capture images or video. Optionally, camera assembly 1406 includes a front camera and a rear camera. The front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 1406 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The positioning component 1408 serves to locate the current geographic position of the terminal 1400 for navigation or LBS (Location Based Service). The Positioning component 1408 may be a Positioning component based on the united states GPS (Global Positioning System), the chinese beidou System, the russian graves System, or the european union galileo System.
In some embodiments, terminal 1400 also includes one or more sensors 1410. The one or more sensors 1140 include, but are not limited to: acceleration sensor 1411, gyroscope sensor 1412, pressure sensor 1413, fingerprint sensor 1414, optical sensor 1415, and proximity sensor 1416.
Those skilled in the art will appreciate that the configuration shown in fig. 14 is not intended to be limiting with respect to terminal 1400 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be employed.
Optionally, the computer device is provided as a server. Fig. 15 is a schematic structural diagram of a server 1500 according to an embodiment of the present application, where the server 1500 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 1501 and one or more memories 1502, where at least one program code is stored in the memory 1502, and the at least one program code is loaded and executed by the processors 1501 to implement the methods provided by the method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the server may also include other components for implementing the functions of the device, which are not described herein again.
The server 1500 is configured to perform the steps performed by the server in the above method embodiments.
In an exemplary embodiment, a computer readable storage medium, such as a memory including program code, executable by a processor in a computer device to perform the image enhancement method in the above embodiments is also provided. For example, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program or a computer program product is also provided, which includes computer program code, which, when executed by a computer, causes the computer to implement the resource processing method in the above-described embodiments.
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, and 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 exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (13)

1. A method for processing resources, the method comprising:
displaying an information display interface, wherein the information display interface comprises a resource identifier and a first processing option, and the resource identifier represents a resource for exchanging articles;
responding to a triggering operation of the first processing option, sending a conversion verification request to a server, wherein the conversion verification request is used for requesting the server to verify the resource, and returning store information and article information corresponding to the resource identifier under the condition that the resource verification is passed, wherein the article information represents an article applicable to the resource, and the store information represents a store applicable to the resource;
displaying an information confirmation interface of the resource based on the store information and the item information, wherein the information confirmation interface comprises a confirmation option, the information confirmation interface is used for confirming a target item needing to be exchanged and a target store providing the target item, and the confirmation option represents that a user confirms to exchange the target item by using the resource and obtains the target item from the target store;
sending a use request to the server in response to the triggering operation of the confirmation option, and sending a use notification of the resource to a merchant client through a target communication link, wherein the use request carries the resource identifier and is used for instructing the server to adjust the state of the resource, the state represents the use condition of the resource, the merchant client is a client providing ordering service for the target store, and the use notification is a notification sent to the merchant client after the resource verification is successful and carries the item information of the target item so that the target store prepares the target item.
2. The method of claim 1, wherein said sending a notification of use of said resource to a merchant client over a target communication link comprises:
the server is a target application server, the target communication link comprises the target application server, and the merchant client is a target application client or a third party application client; the target application server is used for responding to the use request and sending a use notice of the resource to the merchant client; alternatively, the first and second electrodes may be,
the server is the target application server, the target communication link comprises the target application server and an independent software developer server, and the merchant client is a cash register or a cloud printer of the merchant; the target application server is used for responding to the use request, sending the use notification to the independent software developer server, and forwarding the use notification to the merchant client by the independent software developer server, wherein the independent software developer server is an open platform for butt joint of the target application server and the merchant client; alternatively, the first and second electrodes may be,
the target communication link comprises a router located in the target store, and a first forwarding request is sent to the router, the first forwarding request carries the use notification and the equipment identifier of the merchant client, so that the router forwards the use notification to the merchant client based on the equipment identifier, and the equipment identifier is obtained from the server after the resource verification is successful.
3. The method of claim 1, wherein after displaying the information confirmation interface of the resource, the method further comprises at least one of:
the information confirmation interface further comprises a second processing option, and the second processing option is used for switching stores providing the target items; in response to the triggering operation of the second processing option, displaying a plurality of stores applicable to the resource; determining the store as the target store in response to a selection operation for any store;
the resource is used for redeeming at least one item from a plurality of candidate items, and the information confirmation interface further comprises a third processing option for selecting a target item for redemption with the resource; responding to the triggering operation of the third processing option, and displaying a plurality of candidate items corresponding to the resources; in response to the selection operation of at least one candidate item, determining the at least one candidate item as the target item.
4. The method of claim 1, wherein said sending a notification of use of said resource to a merchant client over a target communication link comprises:
in response to the triggering operation of the first processing option, sending the use notification to the server, generating a target identifier for acquiring the target item by the server based on the use notification, returning the target identifier, and sending the use notification and the target identifier to the merchant client;
the method further comprises the following steps:
and receiving the target identifier returned by the server, and displaying the target identifier, wherein the target identifier represents the fetching voucher of the item, so that the merchant provides the item to the user based on the target identifier displayed by the user client.
5. A method for processing resources, the method comprising:
receiving a conversion verification request submitted by a user client, wherein the conversion verification request carries a resource identifier which represents a resource for exchanging articles;
verifying the resource based on the exchange verification request, and returning store information and article information corresponding to the resource identifier to the user client when the resource verification is passed, wherein the article information represents an article suitable for the resource, and the store information represents a store suitable for the resource;
receiving a use request sent by the user client, wherein the use request carries the resource identifier, the item information of the target item and the store information of the target store, and represents that the user confirms to exchange the target item by adopting the resource and obtains the target item from the target store;
based on the resource identification, adjusting the state of the resource, wherein the state represents the use condition of the resource;
and sending a use notice of the resource to a merchant client based on store information of the target store, wherein the merchant client is a client providing ordering service for the target store, and the use notice is a notice sent to the merchant client after the resource is successfully checked and carries article information of the target article to enable the target store to prepare the target article.
6. The method according to claim 5, wherein the returning store information and item information corresponding to the resource identifier to the user client comprises:
determining a plurality of store identifications and item information corresponding to the resource identification;
acquiring positioning information of the user client and position information corresponding to the plurality of store identifications, wherein the positioning information represents the current position of the user;
determining the distance between each store and the current position based on the positioning information and the position information corresponding to the plurality of store identifications;
sequencing the plurality of store identifications according to the distance between each store and the current position;
and returning the plurality of store identifications, the arrangement sequence of the plurality of store identifications and the item information corresponding to the resource identification to the user client, so that the user client displays the plurality of store identifications according to the arrangement sequence.
7. The method of claim 5, wherein prior to receiving a redemption verification request submitted by a user client, the method further comprises:
receiving an access request submitted by the user client, wherein the access request carries an interface identifier of an information display interface and a logged user identifier;
determining a resource identifier corresponding to the user identifier based on the user identifier, wherein the resource identifier corresponding to the user identifier is a resource which is obtained based on the user identifier and is not used;
determining a plurality of store identifications and item information corresponding to the resource identifications based on the determined resource identifications, wherein the store identifications represent stores suitable for the resource;
acquiring positioning information of the user client and position information corresponding to the plurality of store identifications, wherein the positioning information represents the current position of the user;
determining a distance of each store from the current location based on the location information and the positioning information identified by the plurality of stores;
returning an information display interface comprising the resource identifier and a first processing option to the user client under the condition that the distance between any store and the current position does not exceed a distance threshold, wherein the first processing option is used for triggering the exchange verification process of the resource at the user client;
and returning an information presentation interface comprising the resource identifier to the user client under the condition that no store with the distance from the current position not exceeding the distance threshold exists.
8. The method according to claim 5, wherein the returning store information and item information corresponding to the resource identifier to the user client comprises:
determining store identification and article information corresponding to the resource identification;
determining article inventory information corresponding to the store identification based on the store identification;
and returning an information confirmation interface to the user client based on the store identification, the item inventory information corresponding to the store identification and the item information, so that the user client displays the information confirmation interface.
9. The method according to claim 8, wherein returning an information confirmation interface to the user client based on the store identification, the item inventory information corresponding to the store identification, and the item information comprises:
based on the article information, inquiring the inventory information of the articles suitable for the resources in the article inventory information corresponding to the store identification to obtain an inquiry result;
when the number of the articles suitable for the resource is one and the query result indicates that the articles suitable for the resource are not in stock, returning a first information confirmation interface to the user client, wherein the first information confirmation interface comprises first prompt information and a confirmation option in an inoperable state, so that the user client cannot exchange and verify the resource, and the first prompt information is used for prompting the user that the stock number of the articles suitable for the resource is insufficient;
and returning a second information confirmation interface to the user client under the condition that the resource is applicable to a plurality of articles and the query result shows that the inventory of any article applicable to the resource is sufficient, wherein the second information confirmation interface comprises a first article in an operable state, a second article in an inoperable state and a confirmation option in the operable state, the first article is an article with sufficient inventory quantity, and the second article is an article with insufficient inventory quantity, so that the user client cannot select the second article.
10. A user terminal, the user terminal comprising:
the display module is used for displaying an information display interface, the information display interface comprises a resource identifier and a first processing option, and the resource identifier represents a resource for exchanging articles;
a sending module, configured to send, in response to a trigger operation on the first processing option, a redemption check request to a server, where the redemption check request is used to request the server to check the resource, and return store information and item information corresponding to the resource identifier when the resource check is passed, where the item information indicates an item to which the resource is applicable, and the store information indicates a store to which the resource is applicable;
the display module is further configured to display an information confirmation interface of the resource based on the store information and the item information, where the information confirmation interface includes a confirmation option, the information confirmation interface is used to confirm a target item to be exchanged and a target store providing the target item, and the confirmation option indicates that a user confirms to exchange the target item with the resource and to obtain the target item from the target store;
the sending module is further configured to send, in response to a trigger operation on the confirmation option, a use request to the server, and send, to a merchant client through a target communication link, a use notification of the resource, where the use request carries the resource identifier and is used to instruct the server to adjust a state of the resource, the state indicates a use condition of the resource, the merchant client is a client that provides ordering service for the target store, and the use notification is a notification sent to the merchant client after the resource is successfully verified and carries item information of the target item, so that the target store prepares the target item.
11. A server, characterized in that the server comprises:
the receiving module is used for receiving a conversion verification request submitted by a user client, wherein the conversion verification request carries a resource identifier, and the resource identifier represents a resource for exchanging articles;
a sending module, configured to verify the resource based on the exchange verification request, and return store information and article information corresponding to the resource identifier to the user client when the resource verification passes, where the article information indicates an article to which the resource is applicable, and the store information indicates a store to which the resource is applicable;
the receiving module is further configured to receive a use request sent by the user client, where the use request carries the resource identifier, the item information of the target item, and store information of the target store, and indicates that the user confirms to exchange the target item with the resource and arrives at the target store to obtain the target item;
the adjusting module is used for adjusting the state of the resource based on the resource identifier, wherein the state represents the use condition of the resource;
the sending module is further configured to send a use notification of the resource to a merchant client based on store information of the target store, where the merchant client is a client that provides ordering service for the target store, and the use notification is a notification sent to the merchant client after the resource is successfully verified, and carries article information of the target article to enable the target store to prepare the target article.
12. A computer device comprising one or more processors and one or more memories having at least one program code stored therein, the at least one program code loaded into and executed by the one or more processors to perform operations performed by the resource processing method of any one of claims 1 to 4; or to implement the operations performed by the resource handling method of any of claims 5 to 9.
13. A computer-readable storage medium, having stored therein at least one program code, which is loaded and executed by a processor to perform operations performed by the resource handling method of any one of claims 1 to 4; or to implement the operations performed by the resource handling method of any of claims 5 to 9.
CN202111666721.2A 2021-12-31 2021-12-31 Resource processing method, user side, server side, device and storage medium Pending CN114358839A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111666721.2A CN114358839A (en) 2021-12-31 2021-12-31 Resource processing method, user side, server side, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111666721.2A CN114358839A (en) 2021-12-31 2021-12-31 Resource processing method, user side, server side, device and storage medium

Publications (1)

Publication Number Publication Date
CN114358839A true CN114358839A (en) 2022-04-15

Family

ID=81106245

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111666721.2A Pending CN114358839A (en) 2021-12-31 2021-12-31 Resource processing method, user side, server side, device and storage medium

Country Status (1)

Country Link
CN (1) CN114358839A (en)

Similar Documents

Publication Publication Date Title
US11361298B2 (en) Shared mobile payments
US10600049B2 (en) Digital wallet-based transaction method, apparatus, and system
JP6101366B2 (en) System and method for providing payment authorization information
US8422949B1 (en) Public kiosk providing near field communication services
US9946999B2 (en) Customer interaction manager on a point of sale computer
US20120089471A1 (en) System and method of capturing point-of-sale data and providing real-time advertising content
US20100228627A1 (en) Method, System and Apparatus for Electronic Business Suited for Conventional Retailing
KR20150035877A (en) Method, system and recording medium for transaction processing using real time conversation
US20090119183A1 (en) Method and System For Service Provider Access
US20130103461A1 (en) Coupon distribution
CN110188903B (en) Method and device for processing order pre-ordering information
CN109478281A (en) For capturing and the system, apparatus and method of managerial marketing point transactional related data
US9100456B2 (en) Waiting ticket operation system and method
US20150073840A1 (en) Information processing device, program and electronic receipt system
JP7064046B1 (en) Application programs, service delivery systems, and terminal devices
CN114358839A (en) Resource processing method, user side, server side, device and storage medium
KR20200000606A (en) Method for processing delivery order and payment terminal thereof
JP2019057272A (en) Information processing apparatus, information processing method, information processing program, terminal apparatus, terminal control method and terminal control program
KR101505032B1 (en) Electronic commerce management server using url, and method thereof
KR101505033B1 (en) Electronic commerce management server using url, and method thereof
JP6422545B1 (en) Information processing apparatus, information processing method, and information processing program
CN112686724A (en) Information recommendation method and device, electronic equipment and storage medium
US20180341449A1 (en) Display control method, order management method, display control device, and recording medium
US20180300781A1 (en) Trial system, trial method, trial processing device, and trial processing method
US20240054469A1 (en) Store mobile terminal device, customer mobile terminal device, system, method, and recording medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination