Order processing method and apparatus, storage medium, and electronic device
By generating and synchronizing product orders through the game server, and combining the legality verification of application identifiers and product identifiers, the problem of inaccurate product orders in the iOS system was solved, and accurate product order processing under multiple payment methods was achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- NETEASE (HANGZHOU) NETWORK CO LTD
- Filing Date
- 2022-10-17
- Publication Date
- 2026-05-08
AI Technical Summary
In existing operating systems, the accuracy of product orders is relatively weak, especially in iOS systems, where users cannot purchase products from the App Store through third-party payment channels, making it impossible for the operations server to determine the specific type of goods to be shipped.
The game server receives purchase requests from terminal devices, generates product orders, and synchronizes them to the operations server after payment information is confirmed. It then verifies the legitimacy of the orders by combining application and product identifiers, supports multiple payment methods, and ensures the accuracy and security of the orders.
This allows users to purchase goods using any payment method while the operations server accurately grasps the attributes of the goods purchased by the terminal device, improving the accuracy and security of product orders.
Smart Images

Figure CN115545842B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of game technology, and more particularly to an order processing method, a computer-readable storage medium, and an electronic device. Background Technology
[0002] Currently, some operating systems only support one payment method. For example, iOS (Internetworking Operating System - Cisco, a complex operating system optimized for the Internet) only supports IAP (in-app purchases) for each application in the App Store, and users cannot purchase goods through third-party payment channels.
[0003] In-App Purchase (IAP) payments are made by linking an Apple (the company behind iOS) account to purchase any item within an app in the App Store, rather than by using the app's own account. The operations server operates independently of Apple; it only confirms the purchased item information upon receiving feedback from the user after completing the IAP payment and then ships the item accordingly.
[0004] However, some identical products are listed as different apps in the App Store. For example, the base game and cloud game versions of the same game are listed as two different apps in the App Store. Each app has a different product ID (Identity Document), meaning there are situations where different product IDs correspond to the same product. The operations server can only receive the product information after the user completes payment and can only ship the product based on that information. However, it cannot determine whether the shipped product belongs to the base game or the cloud game.
[0005] Therefore, the accuracy of product orders is currently weak in some operating systems. Summary of the Invention
[0006] This disclosure provides an order processing method, a computer-readable storage medium, and an electronic device that enable more accurate product orders.
[0007] In a first aspect, one embodiment of this disclosure provides an order processing method applied to a game server, including:
[0008] Receive a purchase request for a target product sent by a terminal device; wherein the purchase request includes at least: the product identifier and commodity identifier of the target product, and the application identifier of the application in which the target product is located;
[0009] Generate a product order for the target product based on the purchase request, and send the product order to the terminal device;
[0010] After receiving payment information for a product order from the terminal device, the product order is synchronized to the corresponding operation server for the target product, so that the operation server can publish the target product to the account corresponding to the purchase request.
[0011] In an optional embodiment of this disclosure, before generating a product order for the target product based on the purchase request, the order processing method further includes:
[0012] The operating system of the terminal device is determined based on the device identifier of the terminal device;
[0013] If the payment method corresponding to the operating system is the default in-app payment, then a product order for the target product will be generated based on the purchase request.
[0014] In an optional embodiment of this disclosure, before generating a product order for the target product based on the purchase request, the order processing method further includes:
[0015] The purchase request is validated based on the application identifier and the product identifier.
[0016] If the purchase request is verified as valid, a product order for the target product will be generated based on the purchase request.
[0017] In an optional embodiment of this disclosure, if the verification result of the purchase request is valid, a product order for the target product is generated based on the purchase request, including:
[0018] If the application identifier is in the preset application whitelist, the product identifier is in the preset product whitelist, and the application identifier matches the product identifier, then a product order for the target product will be generated based on the purchase request.
[0019] In an optional embodiment of this disclosure, the order processing method further includes:
[0020] If the application identifier is not in the preset application whitelist, and / or the product identifier is not in the preset product whitelist, and / or the application identifier matches the product identifier, then an illegal request information is generated for the purchase request and sent to the terminal device.
[0021] In one optional embodiment of this disclosure, the product order is synchronized to the operation server corresponding to the target product, so that the operation server can publish the target product to the account corresponding to the purchase request, including:
[0022] After receiving payment information for a product order from the terminal device, the payment information is sent to the operation server corresponding to the target product, so that the operation server can verify the payment information through the application store server corresponding to the terminal device.
[0023] If the verification result is successful, the receiving operation server will publish the target product to the account corresponding to the purchase request.
[0024] Secondly, one embodiment of this disclosure provides an order processing method applied to a terminal device, the order processing method comprising:
[0025] Send a purchase request for the target product to the game server; the purchase request shall include at least: the product identifier and the item identifier of the target product, and the application identifier of the application in which the target product is located;
[0026] Receive product orders generated by the game server in response to purchase requests;
[0027] In response to a payment operation for a product order, generate payment information for the product order based on the payment operation;
[0028] Payment information is sent to the game server so that the game server can synchronize the product order to the corresponding operation server of the target product.
[0029] In an optional embodiment of this disclosure, generating payment information for a product order based on a payment operation includes:
[0030] A payment request for the target product is generated based on the payment operation, and the payment request is sent to the application store server for the application store server to verify the payment request;
[0031] Receive the verification result for the payment request sent by the app store server;
[0032] If the verification result is successful, payment information for the product order will be generated.
[0033] Thirdly, one embodiment of this disclosure provides an order processing apparatus applied to a game server, the order processing apparatus comprising:
[0034] The first receiving module is used to receive a purchase request for a target product sent by a terminal device; wherein the purchase request includes at least: the product identifier and commodity identifier of the target product, and the application identifier of the application to which the target product is located;
[0035] The first generation module is used to generate a product order for the target product based on the purchase request and send the product order to the terminal device;
[0036] The first synchronization module is used to synchronize the product order to the corresponding operation server after receiving the payment information for the product order sent by the terminal device, so that the operation server can publish the target product to the account corresponding to the purchase request.
[0037] Fourthly, one embodiment of this disclosure provides an order processing apparatus applied to a terminal device, the order processing apparatus comprising:
[0038] The sending module is used to send a purchase request for a target product to the game server; the purchase request includes at least: the product identifier and item identifier of the target product, and the application identifier of the application in which the target product is located;
[0039] The second receiving module is used to receive the product order generated by the game server in response to the purchase request;
[0040] The second generation module is used to respond to payment operations for product orders and generate payment information for product orders based on the payment operations.
[0041] The second synchronization module is used to send payment information to the game server so that the game server can synchronize the product order to the corresponding operation server of the target product.
[0042] Fifthly, one embodiment of this disclosure provides a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the method described above.
[0043] In a sixth aspect, one embodiment of this disclosure provides an electronic device, including: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform the above-described method by executing the executable instructions.
[0044] The technical solution disclosed herein has the following beneficial effects:
[0045] The above order processing method first receives a purchase request for a target product from a terminal device, then generates a product order for the target product based on the purchase request, and sends the product order to the terminal device. Finally, after receiving payment information for the product order from the terminal device, the product order is synchronized to the corresponding operation server for the target product. This allows the operation server to publish the target product to the account corresponding to the purchase request. Users can pay using any payment method set by the terminal device, satisfying any form of payment requirement. At the same time, the operation server can monitor the application attributes of the products purchased by the terminal device in real time based on the product order, thus solving the technical problem of weak accuracy of product orders in some operating systems and making product orders more accurate.
[0046] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0047] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure. It is obvious that the drawings described below are merely some embodiments of this disclosure, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort.
[0048] Figure 1 This illustration shows an application scenario diagram of an order processing method according to this exemplary embodiment;
[0049] Figure 2 A flowchart of an order processing method in this exemplary embodiment is shown;
[0050] Figure 3 A flowchart of an order processing method in this exemplary embodiment is shown;
[0051] Figure 4 A flowchart of an order processing method in this exemplary embodiment is shown;
[0052] Figure 5 A flowchart of an order processing method in this exemplary embodiment is shown;
[0053] Figure 6 A flowchart illustrating another order processing method in this exemplary embodiment is shown;
[0054] Figure 7 A flowchart of an order processing method in this exemplary embodiment is shown;
[0055] Figure 8 This illustration shows an interaction diagram between different terminals of an order processing method in this exemplary embodiment;
[0056] Figure 9 This diagram illustrates the structure of an order processing device according to this exemplary embodiment.
[0057] Figure 10 This illustration shows a schematic diagram of another order processing apparatus structure in this exemplary embodiment;
[0058] Figure 11 A schematic diagram of the structure of an electronic device in this exemplary embodiment is shown. Detailed Implementation
[0059] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided to make this disclosure more comprehensive and complete, and to fully convey the concept of exemplary embodiments to those skilled in the art. The described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a full understanding of embodiments of this disclosure. However, those skilled in the art will recognize that the technical solutions of this disclosure can be practiced with one or more specific details omitted, or other methods, components, apparatus, steps, etc., can be employed. In other instances, well-known technical solutions are not shown or described in detail to avoid obscuring various aspects of this disclosure.
[0060] Furthermore, the accompanying drawings are merely illustrative of this disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and therefore repeated descriptions of them will be omitted. Some block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0061] The flowchart shown in the attached diagram is merely an illustrative example and does not necessarily include all steps. For example, some steps may be broken down, while others may be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.
[0062] Among related technologies, cloud gaming, proposed by Onlive, has consistently attracted attention from companies like Google, Microsoft, and Sony since its launch, maintaining its popularity and prompting various game developers to launch their own cloud games. Currently, some operating systems only support one payment method. For example, iOS (Internetworking Operating System - Cisco, a complex operating system optimized for internet connectivity) only supports IAP (in-app purchases) for apps in the App Store; users cannot purchase goods through third-party payment channels. IAP payments are made through a linked Apple (the company behind iOS) account to purchase any item within an app in the App Store, not based on the app's corresponding account. The operations server is independent of Apple; it can only confirm the purchased item information upon receiving feedback from the user after completing the IAP payment and then fulfills the order based on that information.
[0063] However, some identical products are listed as different apps in the App Store. For example, the base game and cloud game versions of the same game are listed as two different apps in the App Store. Each app has a different product ID (Identity Document), meaning different product IDs correspond to the same product. The operations server can only receive product information after the user completes payment and can only ship the product based on that information. However, it cannot determine whether the shipped product belongs to the base game or the cloud game. Therefore, the accuracy of product orders is currently weak in some operating systems.
[0064] In view of the above problems, this disclosure provides an order processing method that makes product orders more accurate. The following is a brief introduction to the application environment of the order processing method provided by this disclosure:
[0065] Please see Figure 1 The application environment of the order processing method provided in this embodiment includes at least: terminal device 110, game server 120, operation server 130, and application store server 140, wherein:
[0066] The terminal device 110 refers to a device that provides an operating interface for players, enabling them to interact with the game and make purchases. This device can be a computer, laptop, tablet, or mobile phone. The terminal device 110 is equipped with an operating system that includes an App Store containing multiple applications, such as the basic game application and cloud gaming applications for a specific game. Different games offer different in-game items for players to choose from.
[0067] Game server 120 refers to the backend server running the game application on the terminal device. Game server 120 receives various operation commands sent by the terminal device, performs game interactions based on these commands, and sends the interaction results back to the terminal device in the form of video and audio to achieve interaction with the player. Game server 120 can be a single server running different versions of the same game; it can also be multiple servers or a server cluster. For example, a game may have a basic version and a cloud version. The basic version runs on a basic server, while the cloud version runs on a cloud server, with different servers running different versions of the game.
[0068] The operation server 130 refers to the server used to process players' purchasing behavior during the game, such as maintaining order confirmation, product delivery, and other transaction-related information, and belongs to the game manufacturer's side. It should be explained that the operation server 130 can be independent of the aforementioned game server 120, or it can be integrated into one, handling game operation and order processing functions in the same space. This embodiment of the disclosure does not impose specific limitations and can be specifically set according to the actual situation.
[0069] App Store Server 140 refers to the server-side server corresponding to the operating system or app store on the terminal device, such as the Apple server for iOS and the Android server for Android. Specifically, in the iOS App Store, apps can only purchase items via IAP (In-App Purchase). A payment request must first be sent to the Apple server, and the purchase can only be completed after receiving confirmation of successful payment from the Apple server.
[0070] The following explanation uses the game server 120 as the executing entity and illustrates how this order processing method is applied to the game server 120 to allow a user to place an order for goods in an application in the App Store on the terminal device 110. Please refer to... Figure 2 The order processing method provided in this embodiment includes the following steps 201-203:
[0071] Step 201: The game server receives a purchase request for the target product sent by the terminal device.
[0072] The purchase request must include at least: a product identifier for the target product, such as the product ID; an application identifier for the application containing the target product, such as the App Bundle ID; and a product identifier for the target product, such as the Apple Product ID. The product identifier is the identifier configured by the manufacturer for the product; the application identifier identifies the application in which the product resides, such as whether it's part of a base game within a game or a cloud gaming application; and the product identifier is the identifier configured by the App Store service provider for the target product after it is published and launched on the App Store.
[0073] Users initiate purchase information for a target product through preset operations on their terminal devices, such as product type and quantity. The terminal further determines the product identifier, application identifier of the application, and product identifier in the App Store based on the product type. Based on the product identifier, application identifier, and product identifier, the terminal generates a purchase request for the target product and sends the purchase request to the game server, which can then receive the purchase request.
[0074] Step 202: The game server generates a product order for the target product based on the purchase request and sends the product order to the terminal device.
[0075] The product order generated based on the purchase request contains the product identifier, application identifier, and product identifier from the purchase request. The game server can then determine the specific product corresponding to the current purchase request, as well as the application to which the product belongs.
[0076] Step 203: After receiving the payment information for the product order sent by the terminal device, the game server synchronizes the product order to the operation server corresponding to the target product, so that the operation server can publish the target product to the account corresponding to the purchase request.
[0077] After receiving the order, the terminal device displays it on the user interface. The user completes the payment for the order through the payment operation, and after successful payment, the payment information is sent to the game server. The game server then synchronizes the order to the operation server of the application to which the target product belongs. The operation server can then determine which specific application the target product corresponding to the current purchase request belongs to, so that the application terminal can obtain the actual purchase status of the product more accurately.
[0078] The order processing method provided in this disclosure first receives a purchase request for a target product from a terminal device, then generates a product order for the target product based on the purchase request, and sends the product order to the terminal device. Finally, after receiving payment information for the product order from the terminal device, the product order is synchronized to the operation server corresponding to the target product, so that the operation server can publish the target product to the account corresponding to the purchase request. Users can make payments through any payment method set by the terminal device, satisfying any form of payment regulations. At the same time, the operation server can realize the application attributes of the product purchased by the terminal device in real time based on the product order, thereby solving the technical problem of weak accuracy of product orders in some current operating systems, making product orders more accurate.
[0079] Please see also Figure 3 and Figure 8 In an optional embodiment of this disclosure, before step 202, where the game server generates a product order for the target product based on the purchase request, the order processing method further includes the following steps 301-302:
[0080] Step 301: The game server determines the operating system of the terminal device based on the device identifier of the terminal device.
[0081] As mentioned above, different terminal devices have different operating systems. By pre-building a mapping table between device identifiers and operating systems, the corresponding operating system can be quickly determined by looking up the table after obtaining the device identifier of the terminal device.
[0082] Step 302: If the payment method corresponding to the operating system is the preset in-app payment, the game server will generate a product order for the target product based on the purchase request.
[0083] Different operating systems have different payment methods. For example, iOS only supports IAP (in-app payment), while Android only supports third-party payment. Once the payment method is in-app payment, the user's purchase behavior is relatively limited. Therefore, in this embodiment of the disclosure, the game server will only generate a product order for the target product based on the purchase request if the payment method corresponding to the terminal device's operating system is determined to be the preset in-app payment. In other cases, payment can be made through a third-party payment platform, thereby reducing excessive interaction and computation, and thus improving order processing efficiency and the efficiency of users purchasing products.
[0084] Please see also Figure 4 and Figure 8 In an optional embodiment of this disclosure, before step 202, where the game server generates a product order for the target product based on the purchase request, the order processing method further includes the following steps 401-402:
[0085] Step 401: The game server verifies the legitimacy of the purchase request based on the application identifier and the product identifier.
[0086] The download process from the App Store on a mobile device already includes authentication and establishes a mapping between the application and the device, which is then synchronized to the game server. Subsequent purchases of items within the application can then be validated based on the application's identifier and the item's identifier.
[0087] Step 402: If the verification result of the purchase request is valid, the game server will generate a product order for the target product based on the purchase request.
[0088] This embodiment of the disclosure generates a product order for the target product only when the purchase request is legitimate, in order to prevent unauthorized intrusion based on the purchase request, thereby improving the security of the product order and the security of the user's purchase payment.
[0089] In one optional embodiment of this disclosure, after the legality verification in step 401 above, the following two situations may occur:
[0090] In the first scenario, if the application identifier is in the preset application whitelist, the product identifier on the game server is in the preset product whitelist, and the application identifier matches the product identifier, then a product order for the target product will be generated based on the purchase request.
[0091] In the second scenario, if the application identifier is not in the preset application whitelist, and / or the product identifier is not in the preset product whitelist, and / or the application identifier matches the product identifier, the game server will generate illegal request information for the purchase request and send the illegal request information to the terminal device.
[0092] The preset app whitelist refers to all apps published and available in the App Store's app library, from which users can download the apps they need. The preset product whitelist refers to a pre-defined whitelist of products successfully published in the App Store. Matching app identifiers with product identifiers can be determined based on a pre-defined mapping table, or by determining whether a product identifier belongs to a legitimate product within the app identifier's corresponding app.
[0093] Therefore, in this embodiment of the disclosure, only when the application identifier is in the preset application whitelist, the product identifier of the game server is in the preset product whitelist, and the application identifier and product identifier match, will a product order for the target product be generated according to the purchase request. This avoids invalid or even insecure product orders due to terminal device failure, illegal intrusion, or other unexpected situations, thereby ensuring the reliability and security of product orders.
[0094] At the same time, if the above judgment conditions are not met, an illegal request information is generated for the purchase request and sent to the terminal device to remind the user on the terminal device that the current purchase request is illegal and the purchase of the target product is invalid, so that the terminal device or user can be informed in a timely manner and take corresponding measures to deal with it in a timely manner.
[0095] Please see also Figure 5 and Figure 8 In an optional embodiment of this disclosure, after the game server receives the payment information for the product order sent by the terminal device in step 203 above, the method further includes the following steps 501-502:
[0096] Step 501: Send the payment information to the operation server corresponding to the target product, so that the operation server can verify the payment information through the application store server corresponding to the terminal device.
[0097] Step 502: If the verification result is successful, the game server will receive the target product from the operation server and send it to the account corresponding to the purchase request.
[0098] After receiving payment information for a product order from a terminal device, the game server sends the payment information to the app store server for further verification to determine its legality and accuracy. The app store server then sends the verification result to the operations server. Upon receiving the verification result, the billing system on the operations server, if successful, sends a delivery notification to the order system on the operations server. The order system then publishes the target product to the cloud for the account corresponding to the purchase request on the game server. Once the target product becomes available on the game server, the purchase is complete.
[0099] In this embodiment of the present disclosure, after receiving payment information for a product order sent by a terminal device, the payment information is sent to the operation server corresponding to the target product. The operation server verifies the payment information through the application store server corresponding to the terminal device. If the verification result is successful, the target product is then published to the account corresponding to the purchase request, which can improve the security of product publication.
[0100] Please see also Figure 6 and Figure 8 The following describes the order processing method provided in this embodiment of the present disclosure using the aforementioned terminal device as the execution subject. The order processing method includes the following steps 601-604:
[0101] Step 601: The terminal device sends a purchase request for the target product to the game server.
[0102] The purchase request must include at least: the product identifier and commodity identifier of the target product, and the application identifier of the application on which the target product is located.
[0103] Step 602: The terminal device receives the product order generated by the game server in response to the purchase request.
[0104] Step 603: The terminal device responds to the payment operation for the product order and generates payment information for the product order based on the payment operation.
[0105] Step 604: The terminal device sends the payment information to the game server so that the game server can synchronize the product order to the corresponding operation server of the target product.
[0106] The definitions and operating procedures involved in this embodiment have been explained in detail in the above embodiments and will not be repeated here.
[0107] The order processing method provided in this disclosure can generate payment information for a product order based on any payment method when making payment for a generated order, satisfying any form of payment regulations. Simultaneously, this disclosure can synchronously send order information and payment information to the game server, allowing the game server to synchronize the product order to the corresponding operation server. This enables the operation server to monitor the application attributes of the products purchased by the terminal device in real time based on the product order, thereby solving the technical problem of weak accuracy of product orders in some current operating systems and achieving the technical effect of improving the accuracy of product orders.
[0108] Please see also Figure 7 and Figure 8 In an optional embodiment of this disclosure, step 603, where the terminal device generates payment information for the product order based on the payment operation, includes the following steps 701-703:
[0109] Step 701: The terminal device generates a payment request for the target product based on the payment operation and sends the payment request to the application store server so that the application store server can verify the payment request.
[0110] The verification content includes, but is not limited to: whether the target product is legitimate, whether the application containing the target product is legitimate, whether the payment value is less than the preset value of the target product, and whether the account corresponding to the payment request is legitimate.
[0111] Step 702: The terminal device receives the verification result for the payment request sent by the application store server.
[0112] For example, the verification result can include two possibilities: verification successful and verification unsuccessful.
[0113] Step 703: If the verification result is successful, the terminal device generates payment information for the product order.
[0114] If the verification result of the payment information is successful, the terminal device generates payment information for the product order and sends the payment information to the operation server based on the description in step 502 above. After receiving the verification result, if the verification result is successful, the billing system in the operation server can send a delivery notification to the order system in the operation server. The order system publishes the target product to the cloud of the account corresponding to the purchase request in the game server. After the target product becomes effective in the game server, the purchase of the product is completed.
[0115] Before generating payment information, this embodiment first generates a payment request for the target product based on the payment operation and sends the payment request to the application mall server so that the application mall server can verify the payment request. Only when the verification is successful is the payment information for the product order generated. This can improve the reliability and security of payment and prevent the shipment of the target product in the event of illegal payment behavior or insufficient payment amount, thus providing higher security and reliability.
[0116] Please see Figure 9 In order to implement the above order processing method, one embodiment of this disclosure provides an order processing device 900, which is applied to the above-mentioned game server. Figure 9 A schematic architecture diagram of an order processing device 900 is shown, including: a first receiving module 910, a first generating module 920, and a first synchronization module 930, wherein:
[0117] The first receiving module 910 is used to receive a purchase request for a target product sent by a terminal device; wherein the purchase request includes at least: the product identifier and commodity identifier of the target product, and the application identifier of the application to which the target product is located;
[0118] The first generation module 920 is used to generate a product order for the target product based on the purchase request and send the product order to the terminal device;
[0119] The first synchronization module 930 is used to synchronize product orders to the operation server corresponding to the target product, so that the operation server can publish the target product to the account corresponding to the purchase request.
[0120] In an optional embodiment, the first generation module 920 is further configured to determine the operating system of the terminal device based on the device identifier of the terminal device; if the payment method corresponding to the operating system is a preset in-app payment, then generate a product order for the target product based on the purchase request.
[0121] In an optional embodiment, the first generation module 920 is further configured to perform a legality verification of the purchase request based on the application identifier and the product identifier; if the verification result of the purchase request is legal, then generate a product order for the target product based on the purchase request.
[0122] In an optional embodiment, the first generation module 920 is specifically used to generate a product order for the target product based on the purchase request if the application identifier is in a preset application whitelist, the product identifier is in a preset product whitelist, and the application identifier matches the product identifier.
[0123] In an optional embodiment, the first generation module 920 is further configured to generate illegal request information for the purchase request if the application identifier is not in the preset application whitelist, and / or the product identifier is not in the preset product whitelist, and / or the application identifier matches the product identifier, and send the illegal request information to the terminal device.
[0124] In an optional embodiment, the first synchronization module 930 is specifically used to, after receiving payment information for a product order sent by the terminal device, send the payment information to the operation server corresponding to the target product, so that the operation server can verify the payment information through the application store server corresponding to the terminal device; if the verification result is successful, the operation server will send the target product to the account corresponding to the purchase request.
[0125] Please see Figure 10 In order to implement the above order processing method, one embodiment of this disclosure provides an order processing device 1000, which is applied to the aforementioned terminal device. Figure 10 A schematic architecture diagram of an order processing device 1000 is shown, including: a sending module 1010, a second receiving module 1020, a second generating module 1030, and a second synchronization module 1040, wherein:
[0126] The sending module 1010 is used to send a purchase request for a target product to the game server; wherein the purchase request includes at least: the product identifier and commodity identifier of the target product, and the application identifier of the application in which the target product is located;
[0127] The second receiving module 1020 is used to receive a product order generated in response to a purchase request sent by the game server;
[0128] The second generation module 1030 is used to generate payment information for the product order in response to a payment operation for the product order.
[0129] The second synchronization module 1040 is used to send payment information to the game server so that the game server can synchronize the product order to the corresponding operation server of the target product.
[0130] In an optional embodiment, the second generation module 1030 is specifically configured to: generate a payment request for the target product based on the payment operation, and send the payment request to the application mall server for the application mall server to verify the payment request; receive the verification result for the payment request sent by the application mall server; and if the verification result is successful, generate payment information for the product order.
[0131] Exemplary embodiments of this disclosure also provide a computer-readable storage medium that can be implemented as a program product including program code, which, when run on an electronic device, causes the electronic device to perform the steps described in the "Exemplary Methods" section of this specification according to various exemplary embodiments of this disclosure. In one embodiment, the program product can be implemented as a portable compact disc read-only memory (CD-ROM) including program code and can run on an electronic device, such as a personal computer. However, the program product of this disclosure is not limited thereto. In this document, the readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0132] The program product may employ any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of readable storage media include: electrical connections having one or more wires, portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0133] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium, capable of sending, propagating, or transmitting programs for use by or in conjunction with an instruction execution system, apparatus, or device.
[0134] The program code contained on the readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical fiber, RF, etc., or any suitable combination thereof.
[0135] Program code for performing the operations of this disclosure can be written in any combination of one or more programming languages, including object-oriented programming languages such as Java and C++, and conventional procedural programming languages such as C or similar languages. The program code can execute entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider). In embodiments of this disclosure, the program code stored in a computer-readable storage medium, when executed, can implement any step of the order processing method described above.
[0136] Please see Figure 11 Exemplary embodiments of this disclosure also provide an electronic device 1100, which can be a backend server for an information platform. Reference is made below. Figure 11 The electronic device 1100 will be described below. It should be understood that... Figure 11 The electronic device 1100 shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments disclosed herein.
[0137] like Figure 11 As shown, the electronic device 1100 is presented in the form of a general-purpose computing device. The components of the electronic device 1100 may include, but are not limited to: at least one processing unit 1110, at least one storage unit 1120, and a bus 1130 connecting different system components (including storage unit 1120 and processing unit 1110).
[0138] The storage unit stores program code, which can be executed by the processing unit 1110 to perform the steps described in the "Exemplary Methods" section of this specification according to various exemplary embodiments of the present invention. For example, the processing unit 1110 can perform actions such as... Figure 2 The methods and steps shown are as follows.
[0139] Storage unit 1120 may include volatile storage units, such as random access memory (RAM) 1121 and / or cache memory 1122, and may further include read-only memory (ROM) 1123.
[0140] Storage unit 1120 may also include a program / utility 1124 having a set (at least one) program module 1125, such program module 1125 including but not limited to: operating system, one or more application programs, other program modules and program data, each or some combination of these examples may include an implementation of a network environment.
[0141] Bus 1130 may include a data bus, an address bus, and a control bus.
[0142] Electronic device 1100 can also communicate with one or more external devices 2000 (e.g., keyboards, pointing devices, Bluetooth devices, etc.) via input / output (I / O) interface 1140. Electronic device 1100 can also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via network adapter 1150. As shown, network adapter 1150 communicates with other modules of electronic device 1100 via bus 1130. It should be understood that, although not shown in the figures, other hardware and / or software modules can be used in conjunction with electronic device 1100, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0143] In this embodiment of the disclosure, the program code stored in the electronic device can be executed to perform any of the steps in the order processing method described above.
[0144] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to exemplary embodiments of this disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0145] Those skilled in the art will understand that various aspects of this disclosure can be implemented as systems, methods, or program products. Therefore, various aspects of this disclosure can be embodied in entirely hardware implementations, entirely software implementations (including firmware, microcode, etc.), or implementations combining hardware and software aspects, collectively referred to herein as “circuit,” “module,” or “system.” Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and embodiments are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the claims.
[0146] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is defined only by the appended claims.
Claims
1. An order processing method, characterized in that, Applied to game servers, including: The system receives a purchase request for a target product from a terminal device. The purchase request includes at least: a product identifier and a commodity identifier for the target product, and an application identifier for the application in which the target product is located. The application identifier is used to represent the application in which the product is located. The application is a basic game application or a cloud game application. The target product contained in the basic game application and the cloud game application represents the same product with different product identifiers. The operating system of the terminal device is determined based on the device identifier of the terminal device. If the payment method corresponding to the operating system is a preset in-app payment, a product order for the target product is generated according to the purchase request, and the product order is sent to the terminal device so that the game server can determine the target product corresponding to the current purchase request and the application to which the target product belongs based on the product identifier, application identifier and product identifier in the purchase request contained in the product order. After receiving the payment information for the product order sent by the terminal device, the product order is synchronized to the operation server corresponding to the target product, so that the operation server can publish the target product to the account corresponding to the purchase request. The payment information for the product order sent by the terminal device is the payment information formed after payment is made through any payment method set by the terminal device.
2. The order processing method according to claim 1, characterized in that, Before generating a product order for the target product based on the purchase request, the method further includes: The legality of the purchase request is verified based on the application identifier and the product identifier; If the verification result of the purchase request is valid, then a product order for the target product is generated based on the purchase request.
3. The order processing method according to claim 2, characterized in that, If the verification result of the purchase request is valid, then generating a product order for the target product based on the purchase request includes: If the application identifier is in a preset application whitelist, the product identifier is in a preset product whitelist, and the application identifier matches the product identifier, then a product order for the target product is generated based on the purchase request.
4. The order processing method according to claim 2, characterized in that, The method further includes: If the application identifier is not in the preset application whitelist, and / or the product identifier is not in the preset product whitelist, and / or the application identifier matches the product identifier, then an illegal request information is generated for the purchase request, and the illegal request information is sent to the terminal device.
5. The order processing method according to claim 1, characterized in that, After receiving payment information for the product order sent by the terminal device, the method further includes: The payment information is sent to the operation server corresponding to the target product, so that the operation server can verify the payment information through the application store server corresponding to the terminal device; If the verification result is successful, the operation server will send the target product to the account corresponding to the purchase request.
6. An order processing method, characterized in that, Applied to a terminal device, the method includes: Send a purchase request for a target product to the game server; wherein the purchase request includes at least: the product identifier and product identifier of the target product, and the application identifier of the application in which the target product is located, wherein the application identifier is used to represent the application in which the product is located, wherein the application is a basic game application or a cloud game application, and the target product contained in the basic game application and the cloud game application represents the same product with different product identifiers; The game server receives a product order generated in response to the purchase request. Based on the product identifier, application identifier, and product identifier in the purchase request contained in the product order, the game server determines the target product corresponding to the current purchase request and the application to which the target product belongs. The product order is generated by the game server based on the device identifier of the terminal device to determine the operating system of the terminal device. If the payment method corresponding to the operating system is a preset in-app payment, then the product order is generated based on the purchase request. In response to a payment operation for the product order, payment information for the product order is generated based on the payment operation. The payment information is generated after payment is made through any payment method autonomously set by the terminal device. The payment information is simultaneously sent to the game server so that the game server can synchronize the product order to the operation server corresponding to the target product.
7. The order processing method according to claim 6, characterized in that, The step of generating payment information for the product order based on the payment operation includes: A payment request for the target product is generated based on the payment operation, and the payment request is sent to the application store server for verification. Receive the verification result for the payment request sent by the application store server; If the verification result is successful, the payment information for the product order is generated.
8. An order processing device, characterized in that, The device, used in a game server, includes: The first receiving module is used to receive a purchase request for a target product sent by a terminal device; wherein the purchase request includes at least: the product identifier and the commodity identifier of the target product, and the application identifier of the application in which the target product is located, wherein the application identifier is used to represent the application in which the product is located, and the application is a basic game application or a cloud game application, and the target product contained in the basic game application and the cloud game application represents the same product with different product identifiers; The first generation module is used to determine the operating system of the terminal device based on the device identifier of the terminal device. If the payment method corresponding to the operating system is a preset in-app payment, then a product order for the target product is generated according to the purchase request, and the product order is sent to the terminal device so that the game server can determine the target product corresponding to the current purchase request and the application to which the target product belongs based on the product identifier, application identifier and product identifier in the purchase request contained in the product order. The first synchronization module is used to synchronize the product order to the operation server corresponding to the target product after receiving the payment information for the product order sent by the terminal device, so that the operation server can publish the target product to the account corresponding to the purchase request. The payment information for the product order sent by the terminal device is the payment information formed after payment is made through any payment method set by the terminal device.
9. An order processing device, characterized in that, Applied to a terminal device, the device includes: The sending module is used to send a purchase request for a target product to the game server; wherein the purchase request includes at least: the product identifier and the item identifier of the target product, and the application identifier of the application in which the target product is located. The application identifier is used to represent the application in which the product is located. The application is a basic game application or a cloud game application, and the target product contained in the basic game application and the cloud game application represents the same product with different product identifiers. The second receiving module is used to receive a product order generated in response to the purchase request sent by the game server, so that the game server can determine the target product corresponding to the current purchase request and the application to which the target product belongs based on the product identifier, application identifier and product identifier in the purchase request contained in the product order. The product order is generated by the game server based on the device identifier of the terminal device to determine the operating system of the terminal device. If the payment method corresponding to the operating system is a preset in-app payment, then the product order is generated based on the purchase request. The second generation module is used to respond to the payment operation for the product order and generate payment information for the product order based on the payment operation. The payment information is generated after payment is made through any payment method set by the terminal device. The second synchronization module is used to synchronously send the payment information to the game server so that the game server can synchronize the product order to the operation server corresponding to the target product.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method described in any one of claims 1 to 7.
11. An electronic device, characterized in that, include: processor; as well as Memory for storing the executable instructions of the processor; The processor is configured to execute the method of any one of claims 1 to 7 by executing the executable instructions.
Citation Information
Patent Citations
Processing system and method for purchase orders within application
CN106203881A
Game order generation method, game order payment method, device and equipment
CN113018872A