Order processing method and device suitable for cloud platform resource opening, equipment and medium

By introducing an order interface platform into the order processing system opened by cloud platform resources, calling product and data computing interfaces to process orders, and combining HTTPS and API gateway services for security control, the problems of low processing efficiency, poor scalability and insufficient security in the existing system are solved, and efficient and secure order processing and interface performance improvements are achieved.

CN119850306APending Publication Date: 2025-04-18SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202510106440.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-23
Publication Date
2025-04-18

AI Technical Summary

Technical Problem

The existing cloud platform resource opening order processing system has problems such as low processing efficiency, poor scalability, different docking interfaces required for different products, and insufficient security.

Method used

By introducing an order interface platform in the order processing system, calling the product interface to obtain product data for resource activation requests, calling the data calculation interface to determine the optional price data, and order submission and deduction operations are performed through the order submission interface, and data encryption and access control are carried out in combination with the HTTPS protocol and API gateway service.

Benefits of technology

It improves order processing efficiency and interface performance, meets the need to share an order submission interface in different quantities scenarios of different products, improves the docking efficiency and resource activation success rate of different products, and ensures the security of parameter transfer between the user console and the order center and direct order submission of the console.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119850306A_ABST
    Figure CN119850306A_ABST
Patent Text Reader

Abstract

The invention discloses an order processing method and device suitable for cloud platform resource opening, equipment and a medium, and relates to the technical field of computers, and the method comprises the steps: calling a product interface corresponding to an order interface platform based on a received resource opening request, so as to obtain the product data of a cloud product resource corresponding to the resource opening request, product data is displayed based on the system front end; calling a data calculation interface of the order interface platform according to the received matching request corresponding to the product data so as to determine matching price data, and feeding back the matching price data to the system front end; if a confirmation order corresponding to the matching price data is received, an order submission interface of the order interface platform is called to submit the confirmation order, and fee deduction operation is performed on an account corresponding to the user side based on the confirmation order; and if the fee deduction is successful, updating the state of the order, and carrying out a charging operation corresponding to the confirmed order. Therefore, the order processing efficiency can be improved in combination with a specific interface implementation method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to an order processing method, device, equipment and medium suitable for opening cloud platform resources. Background Art

[0002] As Internet technology evolves at an unprecedented speed, the pace of global digital transformation continues to accelerate, and public cloud has become an important infrastructure for enterprise information construction. On public cloud platforms, in order to meet customer needs, it is often necessary to provide hundreds of service products. The order processing system needs to handle a large number of order submission requests, and it also takes a lot of manpower and material resources to connect to many different products. Resource activation requires relying on many modules, and many problems may arise under high concurrency, which puts high demands on interface performance, docking efficiency, scalability and security. Especially in the scenario of parameter transmission between the user console and the order center, and direct order submission by the console, the existing interface design often has problems such as low processing efficiency, poor scalability, different docking interfaces need to be designed for different products, and insufficient security. Summary of the invention

[0003] In view of this, the purpose of the present invention is to provide an order processing method, device, equipment and medium suitable for the activation of cloud platform resources, which can be combined with a specific interface implementation method to improve order processing efficiency and interface performance, and meet the needs of sharing an order submission interface in different product and quantity scenarios. The specific scheme is as follows:

[0004] In a first aspect, the present application discloses an order processing method applicable to the provisioning of cloud platform resources, which is applied to an order processing system and includes:

[0005] If a resource activation request sent by the user end is received, the product interface corresponding to the order interface platform is called based on the resource activation request to obtain product data of the cloud product resource corresponding to the resource activation request through the product interface, and the product data is displayed based on the system front end;

[0006] Calling the data calculation interface of the order interface platform according to the received matching request corresponding to the product data, so as to determine matching price data through the data calculation interface, and feeding back the matching price data to the system front end;

[0007] If a confirmed order corresponding to the optional price data is received, the order submission interface of the order interface platform is called to submit the confirmed order, and the account corresponding to the user terminal is deducted based on the confirmed order;

[0008] If the deduction is successful, the order status is updated and the billing operation corresponding to the confirmed order is performed.

[0009] Optionally, if a resource activation request sent by a user terminal is received, a product interface corresponding to the order interface platform is called based on the resource activation request to obtain product data of the cloud product resource corresponding to the resource activation request through the product interface, and the product data is displayed based on the system front end, including:

[0010] If a resource activation request sent by a user terminal is received, the resource activation request is analyzed to determine a target service line corresponding to the resource activation request from a plurality of service lines;

[0011] Calling a product interface corresponding to the order interface platform based on the resource activation request, and calling product data of the cloud product resources corresponding to the target business line through the product interface;

[0012] A resource activation page is generated based on the product data through the system front end, and the resource activation page is displayed.

[0013] Optionally, the order interface platform is an independent platform for managing interface calls; the interface parameters of each interface in the order interface platform are preset custom parameters.

[0014] Optionally, calling a data calculation interface of the order interface platform according to the received matching request corresponding to the product data, so as to determine matching price data through the data calculation interface, and feeding back the matching price data to the system front end, comprises:

[0015] If a matching request corresponding to the product data is received, analyzing the matching request to determine matching options corresponding to the matching request;

[0016] The data calculation interface of the order interface platform is called based on the matching request to obtain matching data corresponding to the matching options through the data calculation interface, and matching price data is calculated based on the matching data, and then the matching price data is fed back to the system front end.

[0017] Optionally, if a confirmed order corresponding to the optional price data is received, calling an order submission interface of the order interface platform to submit the confirmed order, and deducting fees from an account corresponding to the user terminal based on the confirmed order, including:

[0018] Determine whether an order submission notification corresponding to the optional price data is received, and if the order submission notification is received, call the order submission interface of the order interface platform through the order submission notification, submit the confirmed order to the preset order center through the order submission interface, and then feed back the order confirmation verification code generated by the preset order center to the order processing system;

[0019] If the order confirmation verification code is received, determining whether a payment confirmation instruction is received, and deducting the fee from the account corresponding to the user terminal after receiving the payment confirmation instruction;

[0020] Or, if the order submission notification is received, a deduction operation is performed on the pre-charged account corresponding to the user terminal.

[0021] Optionally, if the deduction is successful, the order status is updated, and a billing operation corresponding to the confirmed order is performed, including:

[0022] If the deduction is successful, resources corresponding to the confirmed order are created at the front end of the system, and resource creation information is fed back;

[0023] The order status is updated according to the received resource creation information, and a billing operation corresponding to the confirmed order is performed.

[0024] Optionally, the order processing method applicable to the activation of cloud platform resources further includes:

[0025] Monitor the interface indicators of the order interface platform, generate an interface log based on the obtained current interface indicators, and save the interface log to a local database;

[0026] The current interface indicators are analyzed to determine whether each of the current interface indicators has an abnormal indicator greater than a corresponding indicator threshold. If the abnormal indicator exists, an indicator abnormality alarm is issued.

[0027] In a second aspect, the present application discloses an order processing device suitable for opening cloud platform resources, which is applied to an order processing system, including:

[0028] The product data calling module is used to call the product interface corresponding to the order interface platform based on the resource activation request if a resource activation request sent by the user terminal is received, so as to obtain the product data of the cloud product resource corresponding to the resource activation request through the product interface, and display the product data based on the system front end;

[0029] A price data determination module, configured to call a data calculation interface of the order interface platform according to a received matching request corresponding to the product data, so as to determine matching price data through the data calculation interface, and feed the matching price data back to the system front end;

[0030] An order submission module, for invoking an order submission interface of the order interface platform to submit the confirmed order if a confirmed order corresponding to the optional price data is received, and deducting fees from an account corresponding to the user terminal based on the confirmed order;

[0031] The order billing module is used to update the order status if the deduction is successful, and perform billing operations corresponding to the confirmed order.

[0032] In a third aspect, the present application discloses an electronic device, comprising:

[0033] Memory, used to store computer programs;

[0034] A processor is used to execute the computer program to implement the order processing method applicable to the activation of cloud platform resources as described above.

[0035] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the aforementioned order processing method applicable to the activation of cloud platform resources.

[0036] In the present application, if a resource activation request is received from a user terminal, the product interface corresponding to the order interface platform is called based on the resource activation request to obtain the product data of the cloud product resources corresponding to the resource activation request through the product interface, and the product data is displayed based on the system front end; the data calculation interface of the order interface platform is called according to the received matching request corresponding to the product data to determine the matching price data through the data calculation interface, and the matching price data is fed back to the system front end; if a confirmed order corresponding to the matching price data is received, the order submission interface of the order interface platform is called to submit the confirmed order, and the account corresponding to the user terminal is deducted based on the confirmed order; if the deduction is successful, the order status is updated, and the billing operation corresponding to the confirmed order is performed.

[0037] It can be seen that if the method of the present application receives a resource activation request from the user end, the product interface of the order interface platform can be called to obtain the product data of the cloud product resources corresponding to the resource activation request through the product interface, and the product data can be displayed through the system front end so that the user can understand the corresponding product. Further, if a matching request corresponding to the product data sent by the user end is received, the data calculation interface of the order interface platform can be called to determine the matching price data corresponding to the matching request, and the matching price data can be fed back to the system front end so that the user can understand the price of the matching product. If a confirmation order corresponding to the matching price data is received, it indicates that the user has confirmed it, and it is necessary to submit the confirmed order through the order submission interface of the order interface platform to deduct the fee according to the confirmed order. Finally, if the deduction is successful, the order status needs to be updated and billing starts. In this way, the order processing efficiency and interface performance can be improved by combining the specific interface implementation method, and the demand for sharing an order submission interface in different product and quantity scenarios can be met, which effectively improves the docking efficiency with different products. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0039] Figure 1 A flowchart of an order processing method applicable to the activation of cloud platform resources disclosed in this application;

[0040] Figure 2 A flowchart of a specific order processing method applicable to the activation of cloud platform resources disclosed in this application;

[0041] Figure 3 This is a schematic diagram of the structure of an order processing device suitable for opening cloud platform resources disclosed in this application;

[0042] Figure 4 This is a schematic diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION

[0043] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0044] In the prior art, interface design often has problems such as low processing efficiency, poor scalability, different products need to design different docking interfaces, and insufficient security.

[0045] In order to overcome the above-mentioned technical problems, the present application discloses an order processing method, device, equipment and medium suitable for the activation of cloud platform resources, which can be combined with a specific interface implementation method to improve order processing efficiency and interface performance, and meet the needs of sharing one order submission interface in scenarios with different products and quantities.

[0046] See also Figure 1 The embodiment of the present invention discloses an order processing method applicable to the opening of cloud platform resources, which is applied to an order processing system and includes:

[0047] Step S11: If a resource activation request is received from the user terminal, the product interface corresponding to the order interface platform is called based on the resource activation request to obtain the product data of the cloud product resources corresponding to the resource activation request through the product interface, and the product data is displayed based on the system front end.

[0048] In this embodiment, the order processing for the opening of cloud platform resources can be realized through microservices, where the service system is the order processing system in this application, and the order processing system includes: a console, an order management system, a commodity and price system, an account and asset management system, and an MQ (Message Queue) message middleware. And the coupling between components can be reduced through the message middleware.

[0049] If the order processing system receives a resource activation request initiated by a user through the user terminal, the product interface corresponding to the order interface platform can be called according to the resource activation request to obtain the product data of the cloud product resources corresponding to the resource activation request through the product interface, and the product data can be displayed based on the system front end. Specifically, the user can click on each product business line to enter the console through the user terminal, and then enter the console by clicking on each product business line, that is, to initiate a resource activation request. If the order processing system receives a resource activation request from the user terminal, it will analyze the resource activation request to determine the target business line corresponding to the resource activation request from several business lines.

[0050] Furthermore, the product interface corresponding to the order interface platform can be called based on the resource activation request, and the product data of the cloud product resources corresponding to the target business line can be called through the product interface, where the product data of the cloud product resources corresponding to the target business line needs to be obtained by calling the commodity and price system through the product interface, and then the resource activation page can be generated based on the product data through the system front end, and the resource activation page can be displayed, where the system front end is the console.

[0051] It should be noted that the order interface platform is an independent platform for managing interface calls, which is decoupled from other parts of the order processing system, and the interface parameters of each interface in the order interface platform are preset custom parameters. Furthermore, when calling or transmitting data through the interface, the HTTPS (Hypertext Transfer Protocol Secure) protocol needs to be used to encrypt the transmitted data to prevent the data from being stolen or tampered with during transmission, and the request parameters need to be signed to ensure the integrity and authenticity of the parameters, where the signing algorithm includes but is not limited to the RSA (asymmetric encryption algorithm) signature algorithm, etc. It is also necessary to determine the role and authority of the user who initiates the request, so as to perform access control according to the user's role and authority, and ensure that only legitimate users can access and call the interface to ensure the security of the interface call. In this way, the input and output parameters of the order submission interface can be designed through custom interface parameters, which can meet the needs of sharing the same interface in different product application scenarios with different quantities at the same time, and if new products are launched later, there is no need to modify the interface, which effectively improves the docking efficiency with different products, and improves the order processing efficiency and interface performance.

[0052] Step S12: calling the data calculation interface of the order interface platform according to the received matching request corresponding to the product data, so as to determine the matching price data through the data calculation interface, and feeding back the matching price data to the system front end.

[0053] In this embodiment, after the user sees the generated resource activation page on the console, he can make selections on the resource activation page. After receiving the selection request corresponding to the product data, the order processing system can call the data calculation interface of the order interface platform through the selection request, and then determine the selection price corresponding to the selection request through the data calculation interface, and feed the selection price back to the system front end, that is, feed the selection price back to the console. Specifically, if a selection request corresponding to the product data is received, the selection request is analyzed to determine the selection options corresponding to the selection request, and then the data calculation interface of the order interface platform needs to be called based on the selection request to access the order management system through the data calculation interface. The order management system calls the product list price calculation interface of the commodity and price system to obtain the price data multiplied by the discount to determine the selection price data, and then returns the selection price data to the console to display the price selected by the tenant.

[0054] Step S13: If a confirmed order corresponding to the optional price data is received, the order submission interface of the order interface platform is called to submit the confirmed order, and the account corresponding to the user terminal is deducted based on the confirmed order.

[0055] In this embodiment, after the user sees the optional price on the console, he can confirm the order and submit the confirmation order. After receiving the confirmation order corresponding to the optional price data, the order processing system calls the order submission interface of the order interface platform to submit the confirmed order, and deducts the account corresponding to the user end based on the confirmed order. Specifically, it is necessary to determine whether the order submission notification corresponding to the optional price data is received, wherein the order submission notification is a notification generated after the user confirms the submission of the order. If the order submission notification is received, the deduction operation is divided into two specific situations. In the first case, it is necessary to call the order submission interface of the order interface platform through the order submission notification, and submit the confirmed order to the preset order center through the order submission interface, and then feed back the order confirmation verification code generated by the preset order center to the order processing system. In another case, if the order submission notification is received, the pre-charged account corresponding to the user end is deducted. It should be noted that in this case, the user needs to pre-charge before the deduction can be performed directly. In this way, different application scenarios are effectively adapted and the applicability of order processing is improved.

[0056] Step S14: If the deduction is successful, the order status is updated and a billing operation corresponding to the confirmed order is performed.

[0057] In this embodiment, if the deduction is successful, the order status needs to be updated and the billing operation needs to be performed. Specifically, if the deduction is successful, the system front end, that is, the console, monitors the MQ message to create resources, monitors the resource creation process, encapsulates the order processing result and sends it to the order management system, and encapsulates the creation process result information and sends it to the console. The order management system monitors the MQ resource creation message, updates the order status according to the order processing result, and performs the billing operation corresponding to the confirmed order.

[0058] It should be noted that in this embodiment, the interface indicators of the order interface platform can also be monitored, and an interface log can be generated based on the current interface indicators obtained, and the interface log can be saved to a local database. The current interface indicators are then analyzed to determine whether each interface indicator in the current interface indicators has an abnormal indicator that is greater than the corresponding indicator threshold. If there is an abnormal indicator, an indicator abnormality alarm is issued.

[0059] It can be seen that if the method of the present application receives a resource activation request from the user end, the product interface of the order interface platform can be called to obtain the product data of the cloud product resources corresponding to the resource activation request through the product interface, and the product data can be displayed through the system front end so that the user can understand the corresponding product. Further, if a matching request corresponding to the product data sent by the user end is received, the data calculation interface of the order interface platform can be called to determine the matching price data corresponding to the matching request, and the matching price data can be fed back to the system front end so that the user can understand the price of the matching product. If a confirmation order corresponding to the matching price data is received, it indicates that the user has confirmed it, and it is necessary to submit the confirmed order through the order submission interface of the order interface platform to deduct the fee according to the confirmed order. Finally, if the deduction is successful, the order status needs to be updated and billing starts. In this way, the order processing efficiency and interface performance can be improved by combining the specific interface implementation method, and the demand for sharing an order submission interface in different product and quantity scenarios can be met, which effectively improves the docking efficiency with different products.

[0060] Based on the above embodiments, it can be known that, through the method of the present application, when submitting an order in the order submission interface, it can be applied to different specific submission scenarios to submit the order, and then perform the corresponding deduction operation. For this reason, this embodiment describes in detail the order submission in different specific submission scenarios through the order submission interface, see Figure 2 The embodiment of the present invention discloses an order processing method applicable to the opening of cloud platform resources, which is applied to an order processing system and includes:

[0061] Step S21: If a resource activation request is received from the user terminal, the product interface corresponding to the order interface platform is called based on the resource activation request to obtain the product data of the cloud product resources corresponding to the resource activation request through the product interface, and the product data is displayed based on the system front end.

[0062] Step S22: calling the data calculation interface of the order interface platform according to the received matching request corresponding to the product data, so as to determine the matching price data through the data calculation interface, and feeding back the matching price data to the system front end.

[0063] Step S23, determine whether an order submission notification corresponding to the optional price data is received. If the order submission notification is received, call the order submission interface of the order interface platform through the order submission notification, and submit the confirmed order to the preset order center through the order submission interface, and then feed back the order confirmation verification code generated by the preset order center to the order processing system.

[0064] In this embodiment, the order submission interface can be applied to two specific scenarios. The first scenario is used when parameters are passed when jumping between the user console selection page and the order confirmation page. When the user clicks Submit on the console's selection page, the console calls the order submission interface through ajax (Asynchronous Javascript AndXML) to cache the information in the redis of the order center for the product and attributes selected by the user. The console then determines the status returned by the ajax of the order center. If successful, it jumps to the order confirmation page with the key returned by the order submission interface, that is, the order confirmation verification code returned by the order submission interface. The user clicks Confirm Payment or Confirm on the order confirmation page to complete the order confirmation.

[0065] In step S24, if the order confirmation verification code is received, it is determined whether a payment confirmation instruction is received, and after receiving the payment confirmation instruction, a deduction operation is performed on the account corresponding to the user terminal.

[0066] In this embodiment, if an order confirmation verification code is received, the order processing system needs to determine whether a payment confirmation instruction is received, that is, whether the user clicks to confirm payment or confirm. If a payment confirmation instruction is received, the account corresponding to the user end can be deducted.

[0067] Step S25: If the order submission notification is received, deduct the fee from the pre-charged account corresponding to the user terminal.

[0068] In this embodiment, in another OpenAPI scenario, if an order submission notification is received, it indicates that the user has confirmed the payment. At this time, if the corresponding account of the user end has been pre-charged, the account can be directly deducted. Among them, OpenAPI is an application programming interface (API, Application Programming Interface), which encapsulates the services of the website into a series of interfaces and opens them to third-party developers. This behavior is called open API, and the open API is called OpenAPI. OpenAPI is a format used to describe RESTful APIs so that both humans and machines can understand the functions of the service without accessing source code or documents. The platform that provides open APIs is itself called an open platform. Open platforms usually have a second-level domain name, mainly for developers, providing online interface documents, and supporting developers to view and manage accounts, core business data and other functions. In this way, the need to share this order submission interface in different product and quantity scenarios is met, which effectively improves the docking efficiency with different products, solves many problems that may arise under high concurrency, and improves the efficiency and success rate of resource activation of different products. At the same time, it meets the needs of parameter transmission between the user console and the order center and direct order submission by the console.

[0069] Step S26: If the deduction is successful, the order status is updated and a billing operation corresponding to the confirmed order is performed.

[0070] It can be seen that in this embodiment, when submitting an order in combination with different specific submission scenarios and then performing the corresponding deduction operation, it is first necessary to determine whether an order submission notification corresponding to the optional price data is received. If an order submission notification is received, the order submission interface of the order interface platform is called through the order submission notification, and the confirmed order is submitted to the preset order center through the order submission interface, and then the order confirmation verification code generated by the preset order center is fed back to the order processing system. If the order confirmation verification code is received, it is determined whether a payment confirmation instruction is received, and after receiving the payment confirmation instruction, the corresponding account of the user terminal is deducted. In another scenario, if an order submission notification is received, the corresponding pre-charged account of the user terminal is deducted. In this way, the demand for sharing this order submission interface in different quantity scenarios of multiple different products is met, the docking efficiency with different products is effectively improved, and many problems that may arise under high concurrency are solved, and the resource activation efficiency and success rate of different products are improved. At the same time, the parameter transmission between the user console and the order center and the direct order submission of the console are met.

[0071] The embodiment of the present invention discloses an interface design specification for an order processing method applicable to the provisioning of cloud platform resources, including:

[0072] In this application, it is necessary to customize the interface request method, interface URL (uniform resource locator), interface input and output parameters, response results and exception handling, and follow the RESTful principle to ensure that the interface is easy to understand and use. Specific interfaces are designed for parameter transmission between the user console and the order center, and for the scenarios of direct order submission by the console. In particular, the design of input and output parameters can simultaneously meet the needs of sharing the same order submission interface in multiple scenarios of different products and quantities, thereby improving the efficiency of docking with different products and order processing efficiency. Among them, the interface request method is POST, the interface URL is https: / / xx.xx.xx.xx:8086 / order / confirm, and the interface input parameters are shown in Table 1:

[0073] Table 1

[0074]

[0075] Among them, the message receiving route is various types of cloud servers, cloud hard disks, physical hosts and other devices; the billing method is monthly: monthly billing, hourlySettlement: hourly real-time settlement, dailyVolume: daily volume real-time settlement, etc.; purchase duration: the billing method is effective when it is valid for hours, all annual and monthly packages are converted into months, 9 months is filled in as 9, 3 years is filled in as 36, and the default value is 1 (unit: month); the value range of the purchase duration unit: M (month), the default value: M (case-sensitive), valid when the order type is annual and monthly packages; order nature: formal, tryout; order source: where the order is initiated, the default is console order, console: console order, openApi: openapi order; order purpose: direct purchase new, renewal renew, changeConfigure, regularization regular, unsubscribe; whether the resource is automatically renewed: true for automatic renewal, false for non-automatic renewal, pass this field in the order of newly purchased resources. The default is non-automatic renewal and it is a non-mandatory parameter. The product line codes are the products corresponding to the message receiving routes, among which ECS is the cloud server, EBS is the cloud hard disk, EIP is the elastic IP, SLB is the load balancing, RDS_MySQL is the cloud database MySQL, OSS is the object storage, CPS is the cloud physical host, DDoS is the high-protection IP (High-Protection IP), WAF is the WAF (Web Application Firewall) firewall, CDN is the CDN (Content Delivery Network), and SCDN is the CDN security acceleration.

[0076] The message output parameters are shown in Table 2:

[0077] Table 2

[0078]

[0079] Furthermore, in the interface design, the HTTPS protocol is used to encrypt the transmitted data to prevent the data from being stolen or tampered with during transmission. The request parameters are signed to ensure the integrity and authenticity of the parameters. Access control can be performed according to the user's role and authority to ensure that only legitimate users can access and call the interface. At the same time, the API gateway service is used to configure routing, current limiting, monitoring, etc. to further optimize the management and security of the interface. The interface logic is written in Java language to implement data processing and business logic. The Springboot framework is used to accelerate the development process. At the same time, the authentication and authorization mechanism is integrated to ensure the security of interface calls. The monitoring tool Prometheus is used to monitor the interface's access volume, response time, error rate and other indicators to promptly discover and solve problems; the interface's access log and error log are recorded to facilitate subsequent analysis and troubleshooting.

[0080] In this way, through the custom interface, the input and output parameters of the order submission interface can be designed through the custom interface parameters, which can simultaneously meet the needs of sharing the same interface in multiple scenarios of different product applications and different quantities. If new products are launched later, there is no need to modify the interface, which effectively improves the docking efficiency with different products, and improves the order processing efficiency and interface performance.

[0081] See also Figure 3 The embodiment of the present invention discloses an order processing device suitable for opening cloud platform resources, which is applied to an order processing system and includes:

[0082] The product data calling module 11 is used to call the product interface corresponding to the order interface platform based on the resource activation request if a resource activation request sent by the user terminal is received, so as to obtain the product data of the cloud product resource corresponding to the resource activation request through the product interface, and display the product data based on the system front end;

[0083] The price data determination module 12 is used to call the data calculation interface of the order interface platform according to the received matching request corresponding to the product data, so as to determine the matching price data through the data calculation interface, and feed the matching price data back to the system front end;

[0084] The order submission module 13 is used to call the order submission interface of the order interface platform to submit the confirmed order if a confirmed order corresponding to the optional price data is received, and to deduct the fee from the account corresponding to the user terminal based on the confirmed order;

[0085] The order billing module 14 is used to update the order status if the deduction is successful, and to perform a billing operation corresponding to the confirmed order.

[0086] In this embodiment, if a resource activation request is received from a user terminal, the product interface corresponding to the order interface platform is called based on the resource activation request to obtain the product data of the cloud product resources corresponding to the resource activation request through the product interface, and the product data is displayed based on the system front end; the data calculation interface of the order interface platform is called according to the received matching request corresponding to the product data to determine the matching price data through the data calculation interface, and the matching price data is fed back to the system front end; if a confirmed order corresponding to the matching price data is received, the order submission interface of the order interface platform is called to submit the confirmed order, and the account corresponding to the user terminal is deducted based on the confirmed order; if the deduction is successful, the order status is updated, and the billing operation corresponding to the confirmed order is performed. It can be seen that if the method of the present application receives a resource activation request from the user end, the product interface of the order interface platform can be called to obtain the product data of the cloud product resources corresponding to the resource activation request through the product interface, and the product data can be displayed through the system front end so that the user can understand the corresponding product. Further, if a matching request corresponding to the product data sent by the user end is received, the data calculation interface of the order interface platform can be called to determine the matching price data corresponding to the matching request, and the matching price data can be fed back to the system front end so that the user can understand the price of the matching product. If a confirmation order corresponding to the matching price data is received, it indicates that the user has confirmed it, and it is necessary to submit the confirmed order through the order submission interface of the order interface platform to deduct the fee according to the confirmed order. Finally, if the deduction is successful, the order status needs to be updated and billing starts. In this way, the order processing efficiency and interface performance can be improved by combining the specific interface implementation method, and the demand for sharing an order submission interface in different product and quantity scenarios can be met, which effectively improves the docking efficiency with different products.

[0087] In some embodiments, the product data calling module 11 may specifically include:

[0088] A service line determination unit, configured to, upon receiving a resource activation request sent by a user terminal, analyze the resource activation request to determine a target service line corresponding to the resource activation request from among a plurality of service lines;

[0089] A data calling unit, configured to call a product interface corresponding to the order interface platform based on the resource activation request, and call product data of the cloud product resources corresponding to the target business line through the product interface;

[0090] The first data display unit is used to generate a resource activation page based on the product data through the system front end, and display the resource activation page.

[0091] In some embodiments, the order interface platform is an independent platform for managing interface calls; the interface parameters of each interface in the order interface platform are preset custom parameters.

[0092] In some embodiments, the price data determination module 12 may specifically include:

[0093] a request analysis unit, configured to, if receiving a matching request corresponding to the product data, analyze the matching request to determine matching options corresponding to the matching request;

[0094] The second data display unit calls the data calculation interface of the order interface platform based on the matching request to obtain the matching data corresponding to the matching options through the data calculation interface, calculates the matching price data based on the matching data, and then feeds back the matching price data to the system front end.

[0095] In some embodiments, the order submission module 13 may specifically include:

[0096] a data feedback unit, used to determine whether an order submission notification corresponding to the optional price data is received, and if the order submission notification is received, call the order submission interface of the order interface platform through the order submission notification, submit the confirmed order to the preset order center through the order submission interface, and then feed back the order confirmation verification code generated by the preset order center to the order processing system;

[0097] A first deduction unit is used to determine whether a payment confirmation instruction is received if the order confirmation verification code is received, and to deduct the fee from the account corresponding to the user terminal after receiving the payment confirmation instruction;

[0098] The second deduction unit is used to deduct the pre-charged account corresponding to the user terminal if the order submission notification is received.

[0099] In some embodiments, the order billing module 14 may specifically include:

[0100] An information feedback unit, configured to create resources corresponding to the confirmed order at the front end of the system if the deduction is successful, and provide feedback on the resource creation information;

[0101] The billing unit is used to update the order status according to the received resource creation information and perform a billing operation corresponding to the confirmed order.

[0102] In some embodiments, the order processing device for opening cloud platform resources may further include:

[0103] A log generating unit, used to monitor the interface indicators of the order interface platform, generate an interface log based on the obtained current interface indicators, and save the interface log to a local database;

[0104] The indicator abnormality alarm unit is used to analyze the current interface indicators to determine whether each interface indicator in the current interface indicators has an abnormal indicator greater than the corresponding indicator threshold value. If the abnormal indicator exists, an indicator abnormality alarm is issued.

[0105] Furthermore, the present application also discloses an electronic device. Figure 4 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content in the diagram cannot be regarded as any limitation on the scope of use of the present application.

[0106] Figure 4 A schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the order processing method for cloud platform resource activation disclosed in any of the aforementioned embodiments. In addition, the electronic device 20 in this embodiment may specifically be an electronic computer.

[0107] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0108] In addition, the memory 22 as a carrier for resource storage may be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon may include an operating system 221, a computer program 222, etc., and the storage method may be temporary storage or permanent storage.

[0109] The operating system 221 is used to manage and control the hardware devices on the electronic device 20 and the computer program 222, which can be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program that can be used to complete the order processing method for cloud platform resource provisioning executed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks.

[0110] Furthermore, the present application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the above-disclosed order processing method applicable to the provisioning of cloud platform resources is implemented. The specific steps of the method can refer to the corresponding contents disclosed in the above-mentioned embodiments, and will not be repeated here.

[0111] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0112] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0113] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0114] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0115] The technical solution provided by the present application is introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for general technicians in this field, according to the idea of ​​the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. An order processing method suitable for cloud platform resource activation, characterized in that: Applied to order processing systems, including: If a resource activation request sent by the user end is received, the product interface corresponding to the order interface platform is called based on the resource activation request to obtain product data of the cloud product resource corresponding to the resource activation request through the product interface, and the product data is displayed based on the system front end; Calling the data calculation interface of the order interface platform according to the received matching request corresponding to the product data, so as to determine matching price data through the data calculation interface, and feeding back the matching price data to the system front end; If a confirmed order corresponding to the optional price data is received, the order submission interface of the order interface platform is called to submit the confirmed order, and the account corresponding to the user terminal is deducted based on the confirmed order; If the deduction is successful, the order status is updated and the billing operation corresponding to the confirmed order is performed.

2. The order processing method applicable to cloud platform resource activation according to claim 1, characterized in that: If a resource activation request is received from the user end, a product interface corresponding to the order interface platform is called based on the resource activation request to obtain product data of the cloud product resource corresponding to the resource activation request through the product interface, and the product data is displayed based on the system front end, including: If a resource activation request sent by a user terminal is received, the resource activation request is analyzed to determine a target service line corresponding to the resource activation request from a plurality of service lines; Calling a product interface corresponding to the order interface platform based on the resource activation request, and calling product data of the cloud product resources corresponding to the target business line through the product interface; A resource activation page is generated based on the product data through the system front end, and the resource activation page is displayed.

3. The order processing method applicable to cloud platform resource activation according to claim 1, characterized in that: The order interface platform is an independent platform for managing interface calls; the interface parameters of each interface in the order interface platform are preset custom parameters.

4. The order processing method applicable to cloud platform resource activation according to claim 1, characterized in that: The step of calling the data calculation interface of the order interface platform according to the received matching request corresponding to the product data, determining matching price data through the data calculation interface, and feeding back the matching price data to the system front end includes: If a matching request corresponding to the product data is received, analyzing the matching request to determine matching options corresponding to the matching request; The data calculation interface of the order interface platform is called based on the matching request to obtain matching data corresponding to the matching options through the data calculation interface, and matching price data is calculated based on the matching data, and then the matching price data is fed back to the system front end.

5. The order processing method applicable to cloud platform resource activation according to claim 1, characterized in that: If a confirmed order corresponding to the optional price data is received, the order submission interface of the order interface platform is called to submit the confirmed order, and a fee is deducted from the account corresponding to the user terminal based on the confirmed order, including: Determine whether an order submission notification corresponding to the optional price data is received, and if the order submission notification is received, call the order submission interface of the order interface platform through the order submission notification, submit the confirmed order to the preset order center through the order submission interface, and then feed back the order confirmation verification code generated by the preset order center to the order processing system; If the order confirmation verification code is received, determining whether a payment confirmation instruction is received, and deducting the fee from the account corresponding to the user terminal after receiving the payment confirmation instruction; Or, if the order submission notification is received, a deduction operation is performed on the pre-charged account corresponding to the user terminal.

6. The order processing method applicable to cloud platform resource activation according to claim 1, characterized in that: If the deduction is successful, the order status is updated and the billing operation corresponding to the confirmed order is performed, including: If the deduction is successful, resources corresponding to the confirmed order are created at the front end of the system, and resource creation information is fed back; The order status is updated according to the received resource creation information, and a billing operation corresponding to the confirmed order is performed.

7. The order processing method applicable to the cloud platform resource activation according to any one of claims 1 to 6, characterized in that: Also includes: Monitor the interface indicators of the order interface platform, generate an interface log based on the obtained current interface indicators, and save the interface log to a local database; The current interface indicators are analyzed to determine whether each of the current interface indicators has an abnormal indicator greater than a corresponding indicator threshold. If the abnormal indicator exists, an indicator abnormality alarm is issued.

8. An order processing device suitable for opening cloud platform resources, characterized in that: Applied to order processing systems, including: The product data calling module is used to call the product interface corresponding to the order interface platform based on the resource activation request if a resource activation request sent by the user terminal is received, so as to obtain the product data of the cloud product resource corresponding to the resource activation request through the product interface, and display the product data based on the system front end; A price data determination module, configured to call a data calculation interface of the order interface platform according to a received matching request corresponding to the product data, so as to determine matching price data through the data calculation interface, and feed the matching price data back to the system front end; An order submission module, for invoking an order submission interface of the order interface platform to submit the confirmed order if a confirmed order corresponding to the optional price data is received, and deducting fees from an account corresponding to the user terminal based on the confirmed order; The order billing module is used to update the order status if the deduction is successful, and perform billing operations corresponding to the confirmed order.

9. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor is used to execute the computer program to implement the order processing method suitable for cloud platform resource activation as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: Used to store a computer program, wherein when the computer program is executed by a processor, the order processing method applicable to the activation of cloud platform resources as described in any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Cloud data self-service delivery and use amount management platform realization method

    CN108629473A

  • Creation system and creation method for creating cloud service package by public cloud service

    CN111652605A

  • Resource management method, device and equipment, and computer readable storage medium

    CN112187840A

  • Price estimation method and device based on cloud platform service, equipment and storage medium

    CN117372105A

  • Public cloud scene-oriented selling transaction method and system

    CN117372114A