Search

CN-115545842-B - Order processing method, device, storage medium and electronic equipment

CN115545842BCN 115545842 BCN115545842 BCN 115545842BCN-115545842-B

Abstract

The disclosure provides an order processing method, an order processing device, a storage medium and electronic equipment, and relates to the technical field of games. The order processing method comprises the steps of receiving a purchase request for a target commodity sent by a terminal device, wherein the purchase request at least comprises a product identifier and a commodity identifier of the target commodity and an application identifier of an application where the target commodity is located, generating a commodity order for the target commodity according to the purchase request and sending the commodity order to the terminal device, and synchronizing the commodity order to an operation server corresponding to the target commodity after receiving payment information for the commodity order sent by the terminal device, so that the operation server can issue the target commodity to an account corresponding to the purchase request. The technical problem that the accuracy of commodity orders in partial operation systems at present is weaker is solved, so that the commodity orders are more accurate.

Inventors

  • DENG WEI
  • WU YISHENG
  • XU ZHANPENG
  • LIU LIANGJIE
  • HUANG WEIGUO
  • ZHANG HONGYE
  • HE ZHUOBIN

Assignees

  • 网易(杭州)网络有限公司

Dates

Publication Date
20260508
Application Date
20221017

Claims (11)

  1. 1. An order processing method is characterized by being applied to a game server and comprising the following steps: Receiving a purchase request for a target commodity sent by a terminal device, wherein the purchase request at least comprises a product identifier and a commodity identifier of the target commodity and an application identifier of an application where the target commodity is located, wherein the application identifier is used for representing the application where the commodity is located, the application is a basic game application and a cloud game application, and the basic game application and the target commodity contained in the cloud game application represent the same commodity with different product identifiers; Determining an operating system of the terminal equipment according to the equipment identifier of the terminal equipment, if a payment mode corresponding to the operating system is payment in a preset application, generating a commodity order for the target commodity according to the purchase request, and sending the commodity order to the terminal equipment, so that the game server determines the target commodity corresponding to the purchase request and an application to which the target commodity belongs based on a product identifier, an application identifier and a commodity identifier in the purchase request contained in the commodity order; After receiving payment information for the commodity order sent by the terminal equipment, synchronizing the commodity order to an operation server corresponding to the target commodity so that the operation server can issue the target commodity to an account corresponding to the purchase request, wherein the payment information for the commodity order sent by the terminal equipment is formed after payment is carried out in any payment mode set independently by the terminal equipment.
  2. 2. The order processing method of claim 1, wherein prior to said generating a merchandise order for the target merchandise from the purchase request, the method further comprises: Verifying the validity of the purchase request based on the application identifier and the commodity identifier; and if the verification result of the purchase request is legal, generating the commodity order aiming at the target commodity according to the purchase request.
  3. 3. The order processing method according to claim 2, wherein if the verification result of the purchase request is legal, generating the commodity order for the target commodity according to the purchase request includes: if the application identifier is in a preset application white list, the commodity identifier is in a preset commodity white list, and the application identifier is matched with the commodity identifier, generating the commodity order for the target commodity according to the purchase request.
  4. 4. The order processing method of claim 2, wherein the method further comprises: If the application identifier is not in the preset application white list, and/or the commodity identifier is not in the preset commodity white list, and/or the application identifier is matched with the commodity identifier, generating illegal request information aiming at the purchase request, and sending the illegal request information to the terminal equipment.
  5. 5. The order processing method according to claim 1, wherein after receiving payment information for the commodity order sent by the terminal device, the method further comprises: The payment information is sent to the operation server corresponding to the target commodity, so that the operation server can verify the payment information through the application mall server corresponding to the terminal equipment; And if the verification result is that the verification is successful, the operation server side is received to issue the target commodity to the account corresponding to the purchase request.
  6. 6. An order processing method, applied to a terminal device, comprising: The method comprises the steps of sending a purchase request for a target commodity to a game server, wherein the purchase request at least comprises a product identifier and a commodity identifier of the target commodity and an application identifier of an application where the target commodity is located, wherein the application identifier is used for representing the application where the commodity is located, the application is a basic game application and a cloud game application, and the basic game application and the target commodity contained in the cloud game application represent the same commodity with different product identifiers; receiving a commodity order generated for the purchase request and sent by the game server, so that the game server determines a target commodity corresponding to the purchase request and an application to which the target commodity belongs currently based on a product identifier, an application identifier and a commodity identifier in the purchase request contained in the commodity order, wherein the commodity order is a commodity order generated according to the purchase request if the game server determines an operating system of the terminal device according to the device identifier of the terminal device and if a payment mode corresponding to the operating system is payment in a preset application; Responding to the payment operation for the commodity order, and generating payment information for the commodity order according to the payment operation, wherein the payment information is formed after payment is carried out in any payment mode set independently by the terminal equipment; and synchronously transmitting the payment information to the game server side so that the game server side can synchronize the commodity order to an operation server side corresponding to the target commodity.
  7. 7. The order processing method of claim 6, wherein the generating payment information for the merchandise order from the payment operation comprises: Generating a payment request for the target commodity according to the payment operation, and sending the payment request to the application mall server for the application mall server to verify the payment request; Receiving a verification result for the payment request sent by the application mall server; And if the verification result is that the verification is successful, generating the payment information aiming at the commodity order.
  8. 8. An order processing device, applied to a game server, comprising: the first receiving module is used for receiving a purchase request for a target commodity sent by a terminal device, wherein the purchase request at least comprises a product identifier of the target commodity, a commodity identifier and an application identifier of an application where the target commodity is located, wherein the application identifier is used for representing the application where the commodity is located, the application is a basic game application and a cloud game application, and the basic game application and the target commodity contained in the cloud game application represent the same commodity with different product identifiers; The first generation module is used for determining an operating system of the terminal equipment according to the equipment identifier of the terminal equipment, if a payment mode corresponding to the operating system is payment in a preset application, generating a commodity order for the target commodity according to the purchase request, and sending the commodity order to the terminal equipment, so that the game server side determines the target commodity corresponding to the purchase request and an application to which the target commodity belongs based on a product identifier, an application identifier and a commodity identifier in the purchase request contained in the commodity order; The first synchronization module is configured to synchronize the commodity order to an operation server corresponding to the target commodity after receiving payment information for the commodity order sent by the terminal device, so that the operation server issues the target commodity to an account corresponding to the purchase request, and the payment information for the commodity order sent by the terminal device is payment information formed after payment is performed in any payment mode autonomously set by the terminal device.
  9. 9. An order processing apparatus, applied to a terminal device, comprising: The system comprises a game server, a sending module, a receiving module and a receiving module, wherein the game server is used for sending a purchase request for a target commodity, and the purchase request at least comprises a product identifier of the target commodity, a commodity identifier and an application identifier of an application where the target commodity is located, wherein the application identifier is used for representing the application where the commodity is located, the application is a basic game application and a cloud game application, and the basic game application and the target commodity contained in the cloud game application represent the same commodity with different product identifiers; The second receiving module is used for receiving a commodity order generated by the game server for the purchase request, so that the game server determines a target commodity corresponding to the purchase request and an application to which the target commodity belongs currently based on a product identifier, an application identifier and a commodity identifier in the purchase request contained in the commodity order, wherein the commodity order is that the game server determines an operating system of the terminal device according to the device identifier of the terminal device, and if a payment mode corresponding to the operating system is payment in a preset application, the commodity order generated according to the purchase request; The second generation module is used for responding to the payment operation for the commodity order, generating payment information for the commodity order according to the payment operation, wherein the payment information is formed after payment is carried out in any payment mode set by the terminal equipment; And the second synchronization module is used for synchronously sending the payment information to the game server side so that the game server side can synchronize the commodity order to the operation server side corresponding to the target commodity.
  10. 10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the method of any of claims 1 to 7.
  11. 11. An electronic device, comprising: processor, and A memory for storing executable instructions of the processor; wherein the processor is configured to perform the method of any one of claims 1 to 7 via execution of the executable instructions.

Description

Order processing method, device, storage medium and electronic equipment Technical Field The present disclosure relates to the field of game technologies, and in particular, to an order processing method, a computer readable storage medium, and an electronic device. Background Currently, part of the operating systems only support one payment mode, for example, the iOS system (Internetworking Operating System-Cisco, a complex operating system optimized for internetworking) supports IAP (in-app purchases, in-app purchase) payment for each application in an AppStore, and the user cannot make a purchase of goods through a third party payment channel. IAP payment is to purchase any commodity in each application in an AppStore through a bound Apple (company corresponding to the iOS system) account, rather than purchasing based on an application account corresponding to the application. The operation server side is independent of Apple, and the operation server side can only determine the purchased commodity information after receiving feedback information after the user side finishes paying through the IAP, and then performs delivery based on the commodity information. However, some of the same products belong to different applications in the AppStore, for example, a base game and a cloud game of the same game belong to two different applications in the AppStore, and game products in each application have different product IDs (Identity document, identity identifiers), that is, the situation that different product IDs correspond to the same product occurs. The operation server side can only receive commodity information after the user side finishes commodity payment and carry out delivery based on the commodity information, but cannot determine whether the delivered commodity belongs to a basic game or a cloud game. Therefore, the accuracy of commodity orders in some current operating systems is poor. Disclosure of Invention The present disclosure provides an order processing method, a computer-readable storage medium, and an electronic device, so that a commodity order is more accurate. In a first aspect, an embodiment of the present disclosure provides an order processing method, applied to a game server, including: Receiving a purchase request for a target commodity sent by a terminal device, wherein the purchase request at least comprises a product identifier of the target commodity, a commodity identifier and an application identifier of an application where the target commodity is located; generating a commodity order for the target commodity according to the purchase request, and sending the commodity order to the terminal equipment; After receiving payment information for the commodity order sent by the terminal equipment, synchronizing the commodity order to an operation server corresponding to the target commodity so that the operation server can issue the target commodity to an account corresponding to the purchase request. In an alternative embodiment of the present disclosure, before generating the commodity order for the target commodity according to the purchase request, the order processing method further includes: Determining an operating system of the terminal equipment according to the equipment identifier of the terminal equipment; And if the payment mode corresponding to the operating system is payment in the preset application, generating a commodity order for the target commodity according to the purchase request. In an alternative embodiment of the present disclosure, before generating the commodity order for the target commodity according to the purchase request, the order processing method further includes: Verifying the validity of the purchase request based on the application identifier and the commodity identifier; if the verification result of the purchase request is legal, generating a commodity order for the target commodity according to the purchase request. In an alternative embodiment of the present disclosure, if the verification result of the purchase request is legal, generating a commodity order for the target commodity according to the purchase request includes: If the application identifier is in the preset application white list, the commodity identifier is in the preset commodity white list, and the application identifier is matched with the commodity identifier, a commodity order for the target commodity is generated according to the purchase request. In an alternative embodiment of the present disclosure, the order processing method further includes: If the application identifier is not in the preset application white list and/or the commodity identifier is not in the preset commodity white list and/or the application identifier is matched with the commodity identifier, illegal request information aiming at the purchase request is generated and sent to the terminal equipment. In an optional embodiment of the present disclosure, synchronizing a commodity order to an ope