CN115705566A - Cloud data processing method and device, computer equipment and storage medium - Google Patents

Cloud data processing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN115705566A
CN115705566A CN202110902164.3A CN202110902164A CN115705566A CN 115705566 A CN115705566 A CN 115705566A CN 202110902164 A CN202110902164 A CN 202110902164A CN 115705566 A CN115705566 A CN 115705566A
Authority
CN
China
Prior art keywords
cloud service
target
cloud
order
resource
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110902164.3A
Other languages
Chinese (zh)
Inventor
吴景旺
温源
谢俊
李斌
黄浩宇
周洪飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202110902164.3A priority Critical patent/CN115705566A/en
Publication of CN115705566A publication Critical patent/CN115705566A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application relates to a cloud data processing method and device, computer equipment and a storage medium. The method comprises the following steps: receiving a cloud service acquisition request of a target user for a target cloud service; sending an order creating request to a cloud server corresponding to the target cloud service according to the cloud service obtaining request, wherein the order creating request is used for requesting the cloud server to create a target cloud service order; executing resource transfer operation according to the target cloud service order, and transferring out resources with values corresponding to the target cloud service from a user resource account corresponding to the target user through the resource transfer operation; and sending a resource transfer request aiming at the target cloud service order to the cloud server based on the resource transfer operation trigger, wherein the resource transfer request is used for triggering the cloud server to transfer out the resources of the value corresponding to the target cloud service from the agent resource account corresponding to the cloud agent, and configuring the cloud service resources corresponding to the target cloud service for the target user. By adopting the method, the cloud service acquisition efficiency can be improved.

Description

Cloud data processing method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of cloud technologies, and in particular, to a cloud data processing method and apparatus, a computer device, and a storage medium.
Background
With the development of cloud technology, in many cases, a user needs to use a cloud service, and the user can obtain the cloud service on the internet, for example, can obtain a public cloud service and/or a private cloud service.
In the prior art, when a user needs to obtain a public cloud service, a public cloud charging mode is adopted for charging of a public cloud, so that a public cloud account needs to be opened, and payment is performed through a public cloud wallet. When the private cloud service needs to be acquired, the charging of the private cloud service adopts a private cloud charging mode, so that a private cloud account needs to be opened, and payment is carried out through a private cloud wallet. That is, the user needs to pay with different payment purses as required, resulting in low cloud service acquisition efficiency.
Disclosure of Invention
In view of the foregoing, it is necessary to provide a cloud data processing method, an apparatus, a computer device, and a storage medium capable of improving cloud service acquisition efficiency.
A cloud data processing method, the method comprising: receiving a cloud service acquisition request of a target user for a target cloud service; sending an order creating request to a cloud server corresponding to the target cloud service according to the cloud service obtaining request, wherein the order creating request is used for requesting the cloud server to create a target cloud service order; executing resource transfer operation according to the target cloud service order, and transferring out resources with values corresponding to the target cloud service from a user resource account corresponding to the target user through the resource transfer operation; sending a resource transfer request aiming at the target cloud service order to the cloud service terminal based on the resource transfer operation trigger, wherein the resource transfer request is used for triggering the cloud service terminal to transfer out the resource of the value corresponding to the target cloud service from the proxy resource account corresponding to the cloud proxy terminal, and configuring the cloud service resource corresponding to the target cloud service for the target user.
A cloud data processing apparatus, the apparatus comprising: the cloud service acquisition request receiving module is used for receiving a cloud service acquisition request of a target user for a target cloud service; an order creating request sending module, configured to send an order creating request to a cloud server corresponding to the target cloud service according to the cloud service acquisition request, where the order creating request is used to request the cloud server to create a target cloud service order; the resource transfer module is used for executing resource transfer operation according to the target cloud service order and transferring out the resources of the numerical value corresponding to the target cloud service from the user resource account corresponding to the target user through the resource transfer operation; a resource transfer request sending module, configured to send a resource transfer request for the target cloud service order to the cloud server based on the resource transfer operation trigger, where the resource transfer request is used to trigger the cloud server to transfer a resource of a value corresponding to the target cloud service from an agent resource account corresponding to the cloud agent, and configure a cloud service resource corresponding to the target cloud service for the target user.
A computer device comprising a memory storing a computer program and a processor implementing the following steps when the computer program is executed: receiving a cloud service acquisition request of a target user for a target cloud service; sending an order creation request to a cloud server corresponding to the target cloud service according to the cloud service acquisition request, wherein the order creation request is used for requesting the cloud server to create a target cloud service order; executing resource transfer operation according to the target cloud service order, and transferring out the resources of the value corresponding to the target cloud service from the user resource account corresponding to the target user through the resource transfer operation; sending a resource transfer request aiming at the target cloud service order to the cloud service end based on the resource transfer operation trigger, wherein the resource transfer request is used for triggering the cloud service end to transfer out the resource of the value corresponding to the target cloud service from the agent resource account corresponding to the cloud agent end, and configuring the cloud service resource corresponding to the target cloud service for the target user.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of: receiving a cloud service acquisition request of a target user for a target cloud service; sending an order creating request to a cloud server corresponding to the target cloud service according to the cloud service obtaining request, wherein the order creating request is used for requesting the cloud server to create a target cloud service order; executing resource transfer operation according to the target cloud service order, and transferring out the resources of the value corresponding to the target cloud service from the user resource account corresponding to the target user through the resource transfer operation; sending a resource transfer request aiming at the target cloud service order to the cloud service end based on the resource transfer operation trigger, wherein the resource transfer request is used for triggering the cloud service end to transfer out the resource of the value corresponding to the target cloud service from the agent resource account corresponding to the cloud agent end, and configuring the cloud service resource corresponding to the target cloud service for the target user.
According to the cloud data processing method, the cloud data processing device, the computer equipment and the storage medium, after a cloud service acquisition request of a target user for a target cloud service is received, an order creation request is sent to a cloud service end corresponding to the target cloud service according to the cloud service acquisition request to instruct the cloud service end to create a target cloud service order, a resource transfer operation is executed based on the target cloud service order, a resource value corresponding to the target cloud service is transferred from a user resource account corresponding to the target user to a resource account corresponding to the cloud agent end through the resource transfer operation, a resource transfer request aiming at the target cloud service order is sent to the cloud service end based on the resource transfer operation trigger, the resource transfer request can trigger the cloud service end to transfer a resource corresponding to the target cloud service from an agent resource account corresponding to the cloud agent end, and the target user is configured with cloud service resources corresponding to the target cloud service, so that the cloud service can be provided for the target user, resource transfer of the cloud service end through the user resource account corresponding to the target user can be completed through resource transfer at the cloud service end, and the charging modes of the cloud service can be adopted when the cloud service is transferred, the cloud service acquisition of the cloud service can be shielded, and the charging modes of the cloud service can be obtained by the cloud service.
A cloud data processing method, executed by a cloud server, the method comprising: receiving an order creation request for a target cloud service; the order creation request is generated by the cloud agent according to a cloud service acquisition request of a target user for the target cloud service; creating a target cloud service order corresponding to the target cloud service according to the order creation request; the target cloud service order is used for instructing the cloud agent to execute resource transfer operation, and transferring out resources with values corresponding to the target cloud service from a user resource account corresponding to the target user through the resource transfer operation; receiving a resource transfer request aiming at the target cloud service order, transferring out resources with values corresponding to the target cloud service from an agent resource account corresponding to the cloud agent terminal according to the resource transfer request, and configuring cloud service resources corresponding to the target cloud service for the target user; the resource transfer request is triggered based on the resource transfer operation.
A cloud data processing apparatus, the apparatus comprising an order creation request receiving module to receive an order creation request for a target cloud service; the order creating request is generated by the cloud agent according to a cloud service acquisition request of a target user for the target cloud service; the cloud service order creating module is used for creating a target cloud service order corresponding to the target cloud service according to the order creating request; the target cloud service order is used for instructing the cloud agent to execute resource transfer operation, and transferring out resources with values corresponding to the target cloud service from a user resource account corresponding to the target user through the resource transfer operation; the resource transfer module is used for receiving a resource transfer request aiming at the target cloud service order, transferring out a resource with a numerical value corresponding to the target cloud service from an agent resource account corresponding to the cloud agent terminal according to the resource transfer request, and configuring cloud service resources corresponding to the target cloud service for the target user; the resource transfer request is triggered based on the resource transfer operation.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program: receiving an order creation request for a target cloud service; the order creating request is generated by the cloud agent according to a cloud service acquisition request of a target user for the target cloud service; creating a target cloud service order corresponding to the target cloud service according to the order creation request; the target cloud service order is used for instructing the cloud agent to execute resource transfer operation, and transferring out the resources of the numerical value corresponding to the target cloud service from the user resource account corresponding to the target user through the resource transfer operation; receiving a resource transfer request aiming at the target cloud service order, transferring out resources with values corresponding to the target cloud service from an agent resource account corresponding to the cloud agent terminal according to the resource transfer request, and configuring cloud service resources corresponding to the target cloud service for the target user; the resource transfer request is triggered based on the resource transfer operation.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of: receiving an order creation request for a target cloud service; the order creating request is generated by the cloud agent according to a cloud service acquisition request of a target user for the target cloud service; creating a target cloud service order corresponding to the target cloud service according to the order creation request; the target cloud service order is used for instructing the cloud agent to execute resource transfer operation, and transferring out the resources of the numerical value corresponding to the target cloud service from the user resource account corresponding to the target user through the resource transfer operation; receiving a resource transfer request aiming at the target cloud service order, transferring out resources with values corresponding to the target cloud service from an agent resource account corresponding to the cloud agent terminal according to the resource transfer request, and configuring cloud service resources corresponding to the target cloud service for the target user; the resource transfer request is triggered based on the resource transfer operation.
According to the cloud data processing method, the cloud data processing device, the computer equipment and the storage medium, after an order creating request for a target cloud service is received, a target cloud service order corresponding to the target cloud service is created according to the order creating request, a resource transfer request for the target cloud service order is received, resources with values corresponding to the target cloud service are transferred from an agent resource account corresponding to a cloud agent terminal according to the resource transfer request, and cloud service resources corresponding to the target cloud service are configured for a target user.
Drawings
FIG. 1A is a diagram illustrating a related art cloud data processing method in one embodiment;
FIG. 1B is a diagram of an application environment of a cloud data processing method in one embodiment;
FIG. 2 is a schematic flow chart diagram illustrating a cloud data processing method according to an embodiment;
FIG. 3 is a flowchart illustrating a cloud data processing method according to another embodiment;
FIG. 4 is a flowchart illustrating a cloud data processing method according to another embodiment;
fig. 5 is a block flow diagram illustrating a particular method for cloud data processing in some particular embodiments;
FIG. 6 is a block flow diagram of a cloud resource processing method in further specific embodiments;
FIG. 7 is a block diagram illustrating a flow diagram of cloud payment in some embodiments;
FIG. 8 is a flowchart illustrating a cloud data processing method according to another embodiment;
FIG. 9 is a timing diagram of a cloud data processing method in one embodiment;
FIG. 10 is a block diagram showing the structure of a cloud data processing apparatus according to one embodiment;
fig. 11 is a block diagram showing a configuration of a cloud data processing apparatus according to another embodiment;
FIG. 12 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
According to the cloud data processing method provided by the embodiment of the application, data related in the operation process of the method, such as a resource numerical value corresponding to a user resource account, a target cloud service order, a resource numerical value corresponding to an agent resource account corresponding to a cloud agent end, and the like, can be stored in the block chain. The block chain can generate different query codes for different data and return the query codes to the computer device, and the computer device can query corresponding data from the block chain based on the query codes. For example, based on the query code corresponding to the user resource account, the resource value and the historical resource transfer record corresponding to the account can be queried from the blockchain.
The cloud data processing method provided by the application relates to a cloud technology, and the following related concepts of the cloud technology are explained firstly:
cloud technology refers to a hosting technology for unifying series of resources such as hardware, software, and network in a wide area network or a local area network to realize calculation, storage, processing, and sharing of data. Cloud computing technology will be an important support for cloud technology. Background services of technical network systems require a large amount of computing and storage resources, such as video websites, picture-like websites and more portal websites.
Cloud computing (cloud computing) is a computing model that distributes computing tasks over a pool of resources formed by a large number of computers, enabling various application systems to obtain computing power, storage space, and information services as needed. The network that provides the resources is referred to as the "cloud". Resources in the "cloud" appear to the user as being infinitely expandable and available at any time, available on demand, expandable at any time, and paid for on-demand.
Private Cloud (Private Cloud) is a method for creating Cloud infrastructure and software and hardware resources in a firewall so that each department in an organization or enterprise can share the resources in a data center. A private cloud is created, typically with cloud equipment as a Service (IaaS) software in addition to hardware resources. The private cloud computing also comprises three layers of cloud hardware, a cloud platform and cloud service. In contrast, the cloud hardware is the user's own personal computer or server, not the cloud computing vendor's data center. Cloud computing vendors build data centers to provide public cloud services for millions of users, and therefore need to have tens of millions of servers. Private cloud computing serves only friends and family for an individual, and only employees of the enterprise and customers and providers for the enterprise, so that the personal computer or server of the individual or enterprise is sufficient to provide cloud services.
Public Cloud (Public Cloud) generally refers to a Cloud that can be used and provided by a third-party provider for a user, the Public Cloud can be generally used through the Internet and can be free or low-cost, and the core attribute of the Public Cloud is a shared resource service. There are many instances of such a cloud that can provide services throughout the open public network today.
Hybrid Cloud (Hybrid Cloud) blends Public Cloud (Public Cloud) and Private Cloud (Private Cloud), which is the main mode and development direction of Cloud computing in recent years. Private clouds are mainly enterprise-oriented users, and for security reasons, enterprises prefer to store data in the private clouds, but also desire to have access to the computing resources of the public cloud.
In one embodiment, as shown in fig. 1A, in a hybrid cloud charging mode, when a user needs to obtain a public cloud service, the cloud platform charges in a public cloud charging mode, the user is required to pay through a public cloud wallet to obtain the cloud service, when the user needs to obtain a private cloud service, the cloud platform charges in a private cloud charging mode, the user is required to pay through a private cloud wallet to obtain the cloud service, and only a public cloud voucher can be used when the public cloud service is obtained, while only a private cloud voucher can be used when the private cloud service is obtained, during an invoicing process, the private cloud is invoiced by a local operator, while the public cloud is invoiced by a public cloud provider, during a refund process, the public cloud refunds to a user public cloud wallet, and the private cloud refunds to a user private cloud wallet, because two different charging modes are involved, the user needs to pay by using two wallets, thereby resulting in a low efficiency in obtaining the cloud service. The private cloud service can be a service provided by a local computer device deployed by the hybrid cloud platform, so that cloud service resources provided by the private cloud service can be called local resources, private cloud charging can be called local charging, and a private cloud wallet is called a local wallet.
The present application mainly relates to a hybrid cloud technology in cloud technologies, and is specifically described by the following embodiments:
the cloud data processing method provided by the application can be applied to the application environment shown in fig. 1B. The terminal 102 and the cloud server 106 are respectively in communication with the cloud agent 104 through a network. The terminal 102 is a terminal corresponding to a target user, the cloud server 106 is a cloud server corresponding to a target cloud service, the cloud agent 104 is a cloud agent corresponding to the target cloud service, and the cloud agent can provide both private cloud service and public cloud service for the user to realize a hybrid cloud.
The terminal 102 may send a cloud service acquisition request for a target cloud service to the cloud agent 104, the cloud agent 104 may send an order creation request for creating a cloud order to the cloud service 106 according to the cloud service acquisition request, the cloud service 106 may create the target cloud service order according to the request, for example, in fig. 1B, a cloud service product module of the cloud agent receives the order creation request, the cloud service product module sends the order creation request to a cloud charging module for placing an order in the cloud, the cloud service 106 may send an order creation message carrying a cloud order identifier corresponding to the target cloud service order to the cloud agent 104, the cloud agent 104 may create an order locally according to the cloud order identifier, for example, in fig. 1B, a mixed cloud charging module corresponding to the cloud agent creates an order locally to obtain a mixed cloud order, the cloud agent 104 may call a local resource transfer interface to perform a resource transfer operation on the locally created order, the resource transfer operation may trigger the cloud agent 104 to send a resource transfer request carrying a user identifier to the cloud service end, for example, in fig. 1B, the mixed cloud service module calls a local resource transfer interface to perform a resource transfer operation on the locally created order, and further account carrying a customer identifier of the cloud agent account, wherein the customer identifier is understood as a customer account number map of a customer account, which the customer identifier of the customer account carried by the customer account. The cloud agent 104 may determine a corresponding cloud service user identifier according to the user identifier carried in the resource transfer request, so as to determine an agent cloud account corresponding to the cloud service user identifier, perform resource transfer on the agent cloud account, and configure cloud service resources corresponding to the target cloud service for the target user, for example, a cloud charging module of the cloud agent in fig. 1B determines a corresponding agent cloud account through a user account, so as to determine an agent cloud account corresponding to the agent cloud account, and the cloud charging module notifies a cloud service product module to deliver goods, that is, configures cloud service resources corresponding to the target cloud service for the target user. Therefore, the cloud data processing method provided by the embodiment of the application can provide a new mixed cloud charging mode, two charging modes of public cloud charging and private cloud charging are communicated, the difference of the cloud charging and the local charging in use of a user is shielded by using a mode of local payment and cloud payment, the platform is ensured to be in a uniform charging access mode, and the public charging and the local charging are also adapted from the upper layer, so that when the user uses the mixed cloud charging, wallets, invoicing, coupons and refunds are all the same experience, and the fundamental problems of the cloud charging and the local charging are really solved.
The cloud agent 104 may be an independent physical server, or may be a server cluster or a distributed system formed by a plurality of physical servers. Cloud server 106 may be a cloud server that provides cloud computing services. The terminal 102 may be, but is not limited to, a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, a vehicle-mounted terminal, a smart television, and the like. The terminal 102 and the cloud agent 104 may be directly or indirectly connected through wired or wireless communication, which is not limited herein.
In the method or the apparatus for processing resource transfer data provided in the embodiment of the present application, a plurality of servers may be combined into a blockchain, and a server corresponding to the cloud agent 104 of the present application may be a node on the blockchain.
In an embodiment, as shown in fig. 2, a cloud data processing method is provided, which is described by taking an example that the method is applied to a cloud agent in fig. 1, and includes the following steps:
step 202, receiving a cloud service acquisition request of a target user for a target cloud service.
The cloud service refers to a service which can be provided by a computer device of a cloud service provider. The cloud Service may include at least one of an Infrastructure as a Service (IaaS), a Platform as a Service (PaaS), and a Software as a Service (SaaS), where the Infrastructure as a Service may be provided by cloud computing resources in a cloud computing resource pool, and multiple types of virtual resources may be deployed in the resource pool, and the virtual resources may include at least one of computing devices (which are virtualization machines, including operating systems), storage devices, and network devices. PaaS is a platform on which software runs, such as a database or a web container. SaaS is a wide variety of business software, such as web portal or sms.
The target cloud service refers to a cloud service selected by a target user. The target cloud service may include a public cloud service or a private cloud service. The public cloud service is at least one type of service in infrastructure as a service, platform as a service and software as a service which can be provided by the cloud service end. The private cloud service comprises at least one type of service in infrastructure as a service, platform as a service and software as a service which can be provided by the cloud agent. The cloud service acquisition request is used for requesting to acquire a target cloud service from a cloud service provider, and the cloud service provider can be a cloud agent or a cloud service. For example, the acquisition request for the target cloud service may be a service requesting cloud storage space, a service requesting acquisition of cloud information, or a service requesting cloud computing capability. Data can be stored through the cloud storage space service. By acquiring the cloud computing service, the data to be processed can be sent to the cloud service end for data processing.
The target user refers to a user who sends a cloud service acquisition request. It is understood that the user herein refers to a user registered at the cloud agent side. It can also be understood that the target user is paid for obtaining the target cloud service, a service provider corresponding to the target cloud service needs to collect resources with values such as the target cloud service, and the resources may be specifically the fee to be paid for obtaining the cloud service.
Specifically, a terminal corresponding to a target user may display a selection list corresponding to a plurality of cloud servers, a cloud service name corresponding to each cloud service may be displayed in the selection list, the target user may select a desired cloud service as a target cloud service based on the selection list, when the target user selects any one cloud service as the target cloud service, the terminal corresponding to the target user may enter a purchase page corresponding to the target cloud service, a purchase control for purchasing the cloud service is displayed in the purchase page, for example, a "purchase" button may be used, when the terminal corresponding to the target user receives a selection operation acting on the purchase control, a cloud service acquisition request for the target cloud service is generated, the terminal corresponding to the target user sends the generated cloud service acquisition request to a cloud agent, and the cloud agent receives the cloud service acquisition request for the target cloud service. The selection operation comprises at least one of a click selection operation, a voice control selection operation and a gesture selection operation.
In an embodiment, the cloud service acquisition request may carry at least one of a user identifier of the target user and a service identifier corresponding to the target cloud service. The user identifier is used for uniquely identifying a user at the cloud agent side, and the user identifier can be an account number registered by the user. And the service identifier corresponding to the target cloud service is used for uniquely identifying one cloud service.
In one embodiment, the cloud service terminal may provide the cloud service according to a time period when providing the cloud service, and each time the cloud service acquisition request corresponds to a target cloud service of the time period. In another embodiment, a terminal corresponding to a target user may provide a function of automatically renewing a certain cloud service for the user, and when the user selects to use the function to automatically acquire a certain target cloud service, the terminal corresponding to the target user automatically resends a cloud service acquisition request for the target cloud service to the cloud agent when each time period in a time period in which the function is effective ends.
Step 204, sending an order creating request to a cloud service end corresponding to the target cloud service according to the cloud service obtaining request, wherein the order creating request is used for requesting the cloud service end to create a target cloud service order.
The order creating request is a request for creating a cloud service order corresponding to the target cloud service. The target cloud service is provided by the cloud server, so that the order creating request is used for requesting the cloud server to create a cloud service order corresponding to the target cloud service. The target cloud service order is a cloud service order corresponding to the target cloud service. The cloud service order is an order of the cloud agent.
Specifically, since the target cloud service is provided for payment by the cloud service side, after receiving the cloud service acquisition request, the cloud agent side can generate an order creation request according to the cloud service acquisition request and send the order creation request to the cloud service side corresponding to the target cloud service, so as to obtain the target cloud service for payment from the service provider corresponding to the target cloud service. After receiving the order creation request, the cloud server corresponding to the target cloud service responds to the order creation request, and creates a target cloud service order corresponding to the order creation request.
In one embodiment, a cloud service acquisition request carries a service identifier of a target cloud service, a cloud agent terminal analyzes the cloud service acquisition request to obtain the service identifier of the target cloud service, the type of the target cloud service can be judged according to the service identifier, when the target cloud service is public cloud service, the cloud agent terminal generates an order creation request which also carries the service identifier, so that after the cloud service terminal corresponding to the target cloud service receives the order creation request, the corresponding cloud service is determined according to the service identifier in the order creation request, a value corresponding to the cloud service is obtained, and a target cloud service order is created according to the resource value; when the target cloud service is the private cloud service, the cloud agent side directly creates an order corresponding to the target cloud service locally without sending an order creation request to the cloud service. The cloud service corresponding value is used for measuring the specific value of the cloud service, for example, the cloud service corresponding value may be a price of the cloud service, and the price of the cloud service determines the amount of the fee required to be charged by the cloud service provider when the cloud service is provided.
In another embodiment, the cloud service acquisition request carries a user identifier of a target user, the cloud agent analyzes the cloud service acquisition request to obtain the user identifier of the target user, and generates an order creation request also carrying the user identifier, so that after receiving the order creation request, a cloud service end corresponding to the target cloud service creates a target cloud service order for the target user at the cloud service end according to the user identifier, and a corresponding relationship can exist between the target cloud service order and the user identifier.
And step 206, executing resource transfer operation according to the target cloud service order, and transferring out the resources with the values corresponding to the target cloud service from the user resource account corresponding to the target user through the resource transfer operation.
The resource transfer operation refers to transfer operation performed on the virtual resource, that is, the virtual resource is transferred from one resource account to another resource account, and in the resource transfer operation process, the resource value corresponding to the account from which the virtual resource is transferred decreases and the resource value of the account to which the virtual resource is transferred increases. The virtual resource is different from the physical resource and is a virtual article, and specifically may include but is not limited to at least one of account value, fund, stock, bond, avatar product, virtual rechargeable card or game equipment. The resource account is an account corresponding to the virtual resource. The cloud service correspondence value refers to a resource value. The resource with the value corresponding to the cloud service means that the resource value corresponding to the resource is consistent with the resource value corresponding to the cloud service.
The user resource account corresponding to the target user refers to a resource account set for the target user, and the user resource account corresponding to the target user may be a resource account set for the target user by the cloud agent, or a resource account set for the target user by a third-party resource transfer server specially used for resource transfer. The corresponding numerical value of the target cloud service is used for measuring the amount of virtual resources required to be paid by the target user when the target cloud service is acquired, and the larger the numerical value is, the more virtual resources are required to be paid by the target user when the target cloud service is acquired. In a specific application, in the hybrid cloud charging mode, a user resource account corresponding to a target user may be used to obtain a public cloud service or a private cloud service, and thus may be referred to as a hybrid cloud charging wallet.
Specifically, the target cloud service order is a cloud service order corresponding to the target cloud service, and includes order data related to the target cloud service, such as cloud order identification, cost, and the like, the target user is a user registered at the cloud agent, and then the cloud agent can perform a resource transfer operation on a user resource account corresponding to the target user according to the order data corresponding to the target cloud service order, transfer a resource of a value corresponding to the cloud service from the user resource account corresponding to the target user through the resource transfer operation, and after the transfer is successful, reduce the value corresponding to the target cloud service by the resource value of the user resource account corresponding to the target user. For example, if the resource value of the user resource account corresponding to the target user is originally 1000, and the value corresponding to the target cloud service is 100, the remaining resource value of the user resource account corresponding to the target user is 900 after the resource of the value corresponding to the target cloud service is transferred from the user resource account corresponding to the target user.
In one embodiment, the order data corresponding to the target cloud service order includes a target cloud service corresponding numerical value and a user identifier corresponding to the target user, and after receiving the target cloud service order, the cloud agent executes a resource transfer operation, where the resource transfer operation may be: and querying a user resource account corresponding to the target user according to the user identification, and transferring resources with values corresponding to the target cloud service from the queried user resource account.
In one embodiment, the order data corresponding to the target cloud service order includes a target cloud service corresponding numerical value and a user identifier corresponding to the target user, and after receiving the target cloud service order, the cloud agent performs a resource transfer operation, where the resource transfer operation may be: and sending a resource transfer request carrying the numerical value corresponding to the target cloud service and the user identification corresponding to the target user to a third-party resource transfer server, inquiring a user resource account corresponding to the target user after the third-party resource transfer server receives the resource transfer request, and transferring out the resource of the numerical value corresponding to the target cloud service from the inquired user resource account.
In one embodiment, the resource with the value corresponding to the target cloud service is transferred from the user resource account corresponding to the target user, and the resource with the value corresponding to the target cloud service can be transferred to the resource account corresponding to the cloud agent, and after the transfer is successful, the value of the resource account corresponding to the cloud agent is increased by the value corresponding to the target cloud service. For example, assuming that the value corresponding to the target cloud service is 100 and the original value of the resource account corresponding to the cloud agent is 500, after the resource with the value corresponding to the target cloud service is transferred to the resource account corresponding to the cloud agent, the value of the resource account corresponding to the cloud agent is changed to 600. The resource account corresponding to the cloud agent refers to a resource account set up for an agent corresponding to the cloud agent, and the resource account corresponding to the cloud agent may be a resource account set up for an agent corresponding to the cloud agent by the cloud agent, or a resource account set up for an agent corresponding to the cloud agent by a third-party resource transfer server specially used for resource transfer. In the embodiment, the resources of the numerical values corresponding to the target cloud service transferred from the user resource account corresponding to the target user are directly transferred into the resource account corresponding to the cloud agent, and the subsequent cloud agent can use the agent resource transfer account at the cloud agent to replace the user to transfer the resources aiming at the target cloud service order at the cloud agent, so that the target user can conveniently and quickly purchase the target cloud service directly through the user resource account.
In one embodiment, the resources with the numerical value corresponding to the target cloud service transferred from the user resource account corresponding to the target user can be transferred to the third-party supervision account, and when the cloud agent terminal successfully replaces the user with the agent resource transfer account of the cloud service terminal to perform resource transfer for the target cloud service order, the resources with the numerical value corresponding to the target cloud service are transferred from the third-party supervision account to the resource account corresponding to the cloud agent terminal.
And 208, sending a resource transfer request aiming at the target cloud service order to the cloud service terminal based on the resource transfer operation trigger, wherein the resource transfer request is used for triggering the cloud service terminal to transfer out resources with the numerical value corresponding to the target cloud service from the proxy resource account corresponding to the cloud proxy terminal, and configuring cloud service resources corresponding to the target cloud service for the target user.
The agent resource account corresponding to the cloud agent terminal refers to a resource account which is set up by the cloud service terminal for an agent corresponding to the cloud agent terminal, and the agent resource account can replace a user of the cloud agent terminal to perform resource transfer at the cloud service terminal. The corresponding numerical value of the target cloud service is used for measuring the amount of virtual resources required to be paid by the cloud agent for resource transfer on the cloud service side instead of the target user, and the larger the numerical value is, the more virtual resources are required to be paid by the cloud agent for resource transfer on the cloud service side instead of the target user. The cloud service resources corresponding to the target cloud service refer to computer resources providing the target cloud service.
It can be understood that the numerical value corresponding to the resource transferred from the proxy resource account corresponding to the cloud agent and the numerical value corresponding to the resource transferred from the user resource account corresponding to the target user may be the same or different. In one embodiment, the value corresponding to the resource transferred from the proxy resource account corresponding to the cloud proxy end may be smaller than the value corresponding to the resource transferred from the user resource account corresponding to the target user. For example, in practical applications, the agent is used as an agent seller of the cloud service, a certain agent fee may be collected for each transaction, and the cloud agent may deduct the agent fee and transfer the result to the cloud service provider after collecting the fee of the user, at this time, a value corresponding to a resource transferred from an agent resource account corresponding to the cloud agent may be smaller than a value corresponding to a resource transferred from a user resource account corresponding to the target user.
Specifically, the cloud agent end can trigger generation of a resource transfer request for a target cloud service order based on resource transfer operation, and sends the generated resource transfer request to the cloud server end, after receiving the resource transfer request, the cloud server end transfers resources with corresponding numerical values of the target cloud service from an agent resource account corresponding to the cloud agent end according to the resource transfer request, and configures cloud service resources corresponding to the target cloud service for a target user, so that the cloud server end can provide the target cloud service required by the target user through the cloud agent end.
In one embodiment, after the resource transfer operation is completed, that is, the cloud agent successfully transfers the resources of the value corresponding to the target cloud service from the user resource account corresponding to the target user to the target resource account, a resource transfer request for the target cloud service order is generated and sent to the cloud service end. The target resource account can be a third party supervision account or a resource account corresponding to the cloud agent terminal.
In another embodiment, when the cloud agent side executes the resource transfer operation, whether the current numerical value of the user resource account corresponding to the target user is larger than the numerical value corresponding to the target cloud service or not may be judged, and if so, the resource transfer request for the target cloud service order may be generated in parallel and sent to the cloud service side while the resource transfer operation is executed. By executing the resource transfer operation and sending the resource transfer request aiming at the target cloud service order in parallel, the cloud data processing efficiency can be improved.
In one embodiment, the resource of the value corresponding to the target cloud service transferred from the proxy resource account corresponding to the cloud proxy by the cloud server can be transferred into the resource account corresponding to the cloud server, and after the transfer is successful, the value of the resource account corresponding to the cloud server is increased by the value corresponding to the target cloud service. In another embodiment, the resource of the value corresponding to the target cloud service transferred from the agent resource account corresponding to the cloud agent by the cloud service side may be transferred to a third party supervision account, and after the cloud service side successfully provides the cloud service for the target user, the resource of the value corresponding to the target cloud service may be transferred from the third party supervision account to the resource account corresponding to the cloud service side. The resource account corresponding to the cloud server refers to a resource account of a supplier corresponding to the cloud server.
In an embodiment, the specific step of configuring, by the cloud service end, the cloud service resource corresponding to the target cloud service for the target user may be that after the resource transfer is successful, that is, the cloud service end successfully transfers the resource of the value corresponding to the target cloud service from the proxy resource account corresponding to the cloud proxy end to the target account, where the target account may be a third party supervision account or a resource account corresponding to the cloud service end. In another embodiment, specifically, after the cloud server starts to perform resource transfer, if the cloud server determines that the current value of the proxy resource account corresponding to the cloud proxy is greater than the value corresponding to the target cloud service, the cloud server may configure the cloud service resource corresponding to the target cloud service for the target user, so as to provide the cloud service for the target user.
For example, assuming that the target cloud service is a cloud storage service, the cloud agent may configure the capacity of a cloud storage space corresponding to the cloud storage service for the target user, and when the computer device logged in by the target user needs to store data by using the cloud storage space, the data to be stored may be sent to the cloud server for storage; assuming that the target cloud service is a cloud computing capability service, the cloud server configures corresponding computing resources for the target user, and the computer device logged in by the target user can send data to be processed to the cloud server and process the data through the configured computing resources; assuming that the target cloud service is a software service of a certain cloud service software, the cloud agent can configure the usage right information corresponding to the cloud service software for the target user, and the computer device logged in by the target user can download and use the service software to execute a corresponding service process.
In the cloud resource processing method, after a cloud service acquisition request of a target user for a target cloud service is received, an order creation request is sent to a cloud service terminal corresponding to the target cloud service according to the cloud service acquisition request to instruct the cloud service terminal to create a target cloud service order, a resource transfer operation is executed according to the target cloud service order, a resource value corresponding to the target cloud service is transferred from a user resource account corresponding to the target user to a resource account corresponding to a cloud agent terminal through the resource transfer operation, a resource transfer request for the target cloud service order is sent to the cloud service terminal based on the resource transfer operation trigger, the resource transfer request can trigger the cloud service terminal to transfer a resource corresponding to the target cloud service from an agent resource account corresponding to the cloud agent terminal, and the target user is configured with cloud service resources corresponding to the target cloud service, so that the cloud service can be provided for the target user, resource transfer at the cloud agent terminal through the user resource account corresponding to the target user can be performed at the cloud agent terminal, and charging modes of the cloud service agent terminal can be adopted when the cloud service agent terminal performs resource transfer, so that the cloud service can be obtained in a uniform charging mode, and the cloud service charging efficiency of the cloud service can be improved.
In one embodiment, the resource transfer operation is executed according to the target cloud service order, and transferring out the resources of the value corresponding to the target cloud service from the user resource account corresponding to the target user through the resource transfer operation includes: receiving an order creation message corresponding to a target cloud service order sent by a cloud server, and creating a cloud proxy order in response to the order creation message; and executing resource transfer operation based on the cloud agent order, and transferring out the resources of the numerical value corresponding to the target cloud service from the user resource account corresponding to the target user through the resource transfer operation.
The order creating message is used for representing that the cloud service end has successfully created the target cloud service order and indicating the cloud agent end to create the cloud agent order. The cloud agent order is an order created locally by the cloud agent. The order creating message may carry one of an order identifier corresponding to the target cloud service order, money amount information corresponding to the target cloud service order, or cloud service identifier information corresponding to the target cloud service order.
Specifically, after a target cloud service order corresponding to the target cloud service is successfully created by the cloud service end, an order creating message is generated and sent to the cloud agent end, the cloud agent end receives the order creating message and responds to the order creating message to create the cloud agent order, and then resource transfer operation can be executed based on the cloud agent order, and resources of a value corresponding to the target cloud service are transferred from a user resource account corresponding to a target user through the resource transfer operation.
In one embodiment, the order creation message carries numerical information corresponding to the target cloud service order, the numerical information is used for representing the value of the target cloud service, for example, the numerical information may be money amount information, the numerical information is determined based on a value determination policy established by a cloud service provider, the cloud agent also needs to determine the numerical information when creating the cloud agent order, and the numerical information determined by the cloud agent may be the same as the numerical information corresponding to the target cloud service order. In one embodiment, an agent corresponding to the cloud agent may also formulate a value determination policy, so that when the cloud agent creates a cloud agent order, the determined numerical information may not be the same as the numerical information corresponding to the target cloud service order. It can be understood that the numerical value information corresponding to the cloud agent order is used for determining a numerical value corresponding to the target cloud service when the cloud agent performs the resource transfer operation, that is, when the resource transfer is performed, the cloud agent takes the numerical value information corresponding to the cloud agent order as a numerical value corresponding to the cloud service.
In one embodiment, the order creating message carries a user identifier corresponding to the target cloud service order, when the cloud agent creates the cloud agent order through the order creating message, the cloud agent end creates the cloud agent order based on the user identifier corresponding to the target cloud service order, the target cloud service order and the cloud agent order can be associated through the user identifier, and therefore when the cloud agent order is paid successfully, the cloud agent order needing to be paid can be determined based on the association relation.
In this embodiment, the cloud agent order is created, and the cloud agent side can perform resource transfer operation based on the cloud agent order, and the cloud agent order is a local order, so that the processing process is more flexible and easy to manage compared with a target cloud service order.
In one embodiment, the receiving of an order creating message corresponding to a target cloud service order sent by a cloud server, and the creating of a cloud agent order in response to the order creating message comprises: receiving an order establishment message corresponding to a target cloud service order sent by a cloud server; the order creating message carries a cloud order identification corresponding to the target cloud service order; responding to the order creating message to create a cloud proxy order, and creating an identification corresponding relation between a proxy order identification corresponding to the cloud proxy order and the cloud order identification; the step of sending a resource transfer request aiming at a target cloud service order to a cloud service terminal based on the triggering of the resource transfer operation comprises the following steps: acquiring an agent order identification corresponding to a cloud agent order corresponding to the resource transfer operation, and determining a target cloud order identification based on the agent order identification and the identification corresponding relation; and sending a resource transfer request carrying the target cloud order identification to a cloud server.
The cloud order identification is used for uniquely identifying one order at the cloud server, and specifically can be an order number. The identifier correspondence is a one-to-one correspondence between identifiers, and the identifier correspondence may be stored in the form of an identifier pair. The agent order identification is used for uniquely identifying one order at the cloud agent end, and specifically can be an order number.
Specifically, since the cloud service end and the cloud agent end respectively create an order, the target cloud service order created by the cloud service end is processed at the cloud service end, and the cloud agent order created by the cloud agent end is processed at the cloud agent end, when the cloud agent order is created in response to the order creation message, an identification corresponding relationship between an agent order identification corresponding to the cloud agent order and the cloud order identification can be created according to the cloud order identification corresponding to the target cloud service order carried by the order creation message, and when the cloud agent end performs a resource transfer operation, the agent order identification corresponding to the cloud agent order corresponding to the resource transfer operation can be obtained, the agent order identification is matched with the established identification corresponding relationship, another identification in the matched identification corresponding relationship is determined as the target cloud order identification, and the target cloud order identification is carried in the resource transfer request sent to the cloud service end, so that the cloud service end determines the cloud service order to be processed, and performs resource transfer for the cloud service order to be processed.
In the above embodiment, by establishing the identifier correspondence between the agent order identifier corresponding to the cloud agent order and the cloud order identifier, the target cloud order identifier can be determined based on the identifier correspondence, and thus, an error is avoided when the cloud server transfers resources.
In one embodiment, as shown in fig. 3, there is provided a cloud data processing method, executed by a cloud agent, including the following steps:
step 302, receiving a cloud service acquisition request of a target user for a target cloud service.
Step 304, according to the cloud service acquisition request, sending an order creation request to a cloud service end corresponding to the target cloud service, where the order creation request is used to request the cloud service end to create the target cloud service order.
Step 306, receiving an order creation message corresponding to a target cloud service order sent by a cloud service end; the order creating message carries a cloud order identification corresponding to the target cloud service order.
And 308, responding to the order creating message to create a cloud agent order, and establishing an identification corresponding relation between an agent order identification corresponding to the cloud agent order and the cloud order identification.
And 310, sending a resource transfer message to a terminal corresponding to the target user, wherein the resource transfer message carries an agent order identifier.
And step 312, receiving a resource transfer instruction sent by the terminal, wherein the resource transfer instruction carries an agent order identifier.
Specifically, after receiving the resource transfer message, the terminal corresponding to the target user may display a corresponding resource transfer page, where the resource transfer page may be, for example, an order processing page, and the payment page may display order data corresponding to the cloud agent order, where the order data may include one of an agent order identifier, an order amount, and a cloud service name, and the order payment page may further include a "payment" control, and when the terminal receives a selection operation on the "payment" control, a resource transfer instruction carrying the agent order identifier is generated, the terminal sends the resource transfer instruction to the cloud agent end through the network, and the cloud agent end receives the resource transfer instruction.
And step 314, triggering resource transfer operation according to the resource transfer instruction, and transferring out the resources with the numerical values corresponding to the target cloud service from the user resource account corresponding to the target user through the resource transfer operation.
Specifically, the resource transfer instruction is sent by a terminal corresponding to the target user, and inevitably carries a user identifier corresponding to the target user, the cloud agent triggers resource transfer operation after receiving the resource transfer instruction, in the resource transfer operation process, a user resource account corresponding to the target user can be determined according to the user identifier carried by the resource transfer instruction, and a resource of a value corresponding to the target cloud service is transferred from the user resource account.
And step 316, taking the agent order mark carried by the resource transfer instruction as an agent order mark corresponding to the cloud agent order corresponding to the resource transfer operation.
Specifically, since the resource transfer operation is triggered by the resource transfer instruction, the resource transfer operation is performed according to the order indicated by the resource transfer instruction, and therefore, the cloud agent can use the agent order identifier carried by the resource transfer instruction as the agent order identifier corresponding to the cloud agent order corresponding to the resource transfer operation.
Step 318, acquiring an agent order identifier corresponding to the cloud agent order corresponding to the resource transfer operation, determining a target cloud order identifier based on the agent order identifier and the identifier corresponding relationship, and sending a resource transfer request carrying the target cloud order identifier to the cloud server.
The resource transfer request is used for triggering the cloud service end to transfer the resource of the value corresponding to the target cloud service from the agent resource account corresponding to the cloud agent end, and the cloud service resource corresponding to the target cloud service is configured for the target user.
Specifically, the cloud agent side obtains agent order identifications corresponding to the cloud agent orders corresponding to the determined resource transfer operation, matches the agent order identifications with the identifications in the identification corresponding relation, and determines the identifications corresponding to the identifications successfully matched as target cloud order identifications, so that the target cloud order identifications can be determined as orders to be processed by the cloud server side, and resource transfer requests carrying the target cloud order identifications are sent to the cloud server side.
According to the cloud data processing method, the resource transfer operation is triggered by the resource transfer instruction, and the agent order identification corresponding to the cloud agent order corresponding to the resource transfer operation is also carried by the resource transfer instruction, so that the order aimed by the cloud agent side for executing the resource transfer operation and the order aimed by the server side for executing the resource transfer operation can be ensured to be the same user, and the accuracy of resource transfer is further ensured.
In one embodiment, sending an order creation request to a cloud server corresponding to a target cloud service according to a cloud service acquisition request includes: the method comprises the steps of sending an order creating request to a cloud server corresponding to a target cloud service according to a cloud service obtaining request, wherein the order creating request carries a target user identifier corresponding to a target user, and the order creating request is used for triggering the cloud server to determine the cloud service user identifier corresponding to the target user according to the target user identifier and establish a target corresponding relation between the cloud service user identifier and a cloud order identifier corresponding to the target cloud service order.
The target user is a user registered at the cloud agent end, for each user at the cloud agent end, a corresponding cloud service user can be automatically registered at the cloud service end, a one-to-one corresponding relationship exists between the user at the cloud agent end and the cloud service user at the cloud service end, the corresponding relationship can be stored in a corresponding mode of a user identification pair formed by a user identification of the user at the cloud agent end and a cloud service user identification of the cloud service user at the cloud service end, and when one user identification is given, the other user identification can be determined based on the pre-stored corresponding relationship.
Specifically, the order creating request carries a target user identifier corresponding to a target user, after receiving the order creating request, the cloud service end matches a corresponding relationship between the target user identifier carried in the order creating request and a pre-established user identifier to determine a cloud service user identifier corresponding to the target user, after creating the target cloud service order, establishes a target corresponding relationship between the cloud service user identifier and a cloud order identifier corresponding to the target cloud service order, and the cloud service end can store the target corresponding relationship, so that the target cloud service order can be subsequently determined based on the target corresponding relationship under the condition that the target user identifier is obtained.
In this embodiment, the sending a resource transfer request for a target cloud service order to a cloud server based on the triggering of the resource transfer operation includes: sending a resource transfer request aiming at a target cloud service order to a cloud service terminal based on resource transfer operation triggering; the resource transfer request carries a cloud order identification corresponding to the target cloud service order; the resource transfer request is used for triggering the cloud service end to determine a cloud service user identification according to the cloud order identification and the target corresponding relation, and determining a corresponding proxy resource account according to the cloud service user identification.
The proxy resource account is a resource account corresponding to the cloud proxy terminal, and resource transfer aiming at the cloud service order can be executed based on the proxy resource account. The agent resource account and the agent party identification corresponding to the cloud agent end have a one-to-one corresponding relation, the cloud service user identification and the agent party identification have a corresponding relation, and the corresponding relations are stored in the cloud service end.
Specifically, the resource transfer request carries a cloud order identification corresponding to a target cloud service order, the cloud server acquires the cloud order identification carried in the resource transfer request after receiving the resource transfer request, the cloud service user identification corresponding to the cloud order identification is inquired according to a target corresponding relation between the stored cloud service user identification and the cloud order identification, an agent identification is determined according to a corresponding relation between the stored cloud service user identification and the agent identification, the agent identification is determined as an agent resource account at the moment, and the agent resource account replaces the target user to perform resource transfer at the cloud server.
In the embodiment, the target corresponding relationship between the cloud service user identifier and the cloud order identifier corresponding to the target cloud service order is established, and then the cloud service user identifier of the target user at the cloud service end is accurately determined in the subsequent resource transfer operation based on the target corresponding relationship, so that the proxy resource account can be accurately acquired, the resource transfer of the cloud service end can be smoothly performed, and the user can be enabled to smoothly acquire the required target cloud service by the resource transfer operation of the user at the cloud proxy end.
In one embodiment, the sending an order creation request to a cloud server corresponding to a target cloud service according to a cloud service acquisition request includes: acquiring a first virtual resource identifier carried in a cloud service acquisition request, and sending an order creation request to a cloud server corresponding to a target cloud service when the first virtual resource identifier is a virtual resource identifier corresponding to the cloud server; the order creating request carries a first virtual resource identifier, and the order creating request is used for requesting the cloud service end to determine a resource numerical value corresponding to the target cloud service order according to the first virtual resource corresponding to the first virtual resource identifier.
The virtual resource identifier is used for identifying a virtual resource, and the training resource may be one of a coupon, a voucher, or a discount coupon. The virtual resource identifier corresponding to the cloud server indicates that the virtual resource identified by the virtual resource identifier is the virtual resource of the cloud server.
Specifically, the cloud service acquisition request may carry a first virtual resource identifier, the cloud agent obtains the carried first virtual resource identifier when receiving the cloud service acquisition request sent by the terminal corresponding to the target user, sends an order creation request carrying the first virtual resource identifier to the cloud server corresponding to the target cloud service when judging that the first virtual resource identifier is the virtual resource identifier corresponding to the cloud server, determines the corresponding first virtual resource according to the carried first virtual resource identifier after the cloud server receives the order creation request, obtains a standard resource value corresponding to the target cloud service order, and obtains a resource value corresponding to the target cloud service order according to the first virtual resource and the standard resource value.
In an embodiment, the obtaining of the resource value corresponding to the target cloud service order according to the first virtual resource and the standard resource value may specifically be: and subtracting the resource value corresponding to the first virtual resource from the standard resource value corresponding to the target cloud service order to obtain the resource value corresponding to the target cloud service order. For example, assuming that the first virtual resource is a voucher with a value of 100 yuan, and a certain target cloud service is priced to 5000 yuan, after the cloud service end receives an order creation request carrying the first virtual resource, the resource value corresponding to the determined target cloud service order is 4900.
In this embodiment, the resource transfer operation is executed according to the target cloud service order, and transferring out the resource value corresponding to the target cloud service from the user resource account corresponding to the target user through the resource transfer operation includes: and determining a transfer value of the target cloud service at an agent side of the cloud agent side based on the resource value corresponding to the target cloud service order, and transferring out the resource of the transfer value at the agent side from a user resource account corresponding to the target user through resource transfer operation.
The value transferred by the target cloud service at the agent side of the cloud agent side refers to a target resource value when the cloud agent side transfers resources for the target cloud service, namely a resource value corresponding to a cloud agent order.
In one embodiment, the cloud service side can determine the resource value corresponding to the target cloud service order as an agent side transfer value of the target cloud service at the cloud agent side, and transfer the resource of the agent side transfer value from a user resource account corresponding to the target user through resource transfer operation.
In some specific embodiments, the cloud agent sends the order creation request to the cloud server corresponding to the target cloud service, and the order creation request calls an order creation interface of the cloud server, and when the order creation interface is called, a voucher ID (identification) may be transmitted as one of input parameters of the interface.
In the embodiment, the first virtual resource identifier is carried in the cloud service acquisition request, so that the order creation request can carry the first virtual resource identifier, and the first virtual resource of the first virtual resource identifier can be used for deduction when the resource value corresponding to the cloud service order is determined, so that when the agent end performs resource transfer, the agent end transfer value of the target cloud service at the cloud agent end is determined based on the resource value obtained after deduction to perform resource transfer, the purpose of using the virtual resource of the cloud service end at the cloud agent end is realized, and the flexibility of the resource transfer process is improved.
In one embodiment, determining an agent transfer value of the target cloud service at the cloud agent based on the resource value corresponding to the target cloud service order comprises: acquiring a second virtual resource identifier carried in the cloud service acquisition request; and when the second virtual resource identifier is the virtual resource identifier corresponding to the cloud agent terminal, determining an agent terminal transfer value of the target cloud service at the cloud agent terminal based on the resource value corresponding to the target cloud service order and the second virtual resource corresponding to the second virtual resource identifier.
The virtual resource identifier corresponding to the cloud agent terminal indicates that the virtual resource identified by the virtual resource identifier is the virtual resource of the cloud agent terminal.
Specifically, the cloud service acquisition request may further include a second virtual resource identifier, when the cloud agent obtains the second virtual resource identifier included in the cloud service acquisition request and determines that the second virtual resource identifier is a virtual resource identifier corresponding to the cloud agent, the cloud agent determines the second virtual resource according to the virtual resource identifier, and obtains an agent transfer value of the cloud agent according to a resource value corresponding to the target cloud service order and the second virtual resource.
In an embodiment, obtaining the agent-side transfer value of the cloud agent according to the resource value corresponding to the target cloud service order and the second virtual resource may specifically be obtaining the agent-side transfer value by discounting the resource value corresponding to the target cloud service order by using discount data of the second virtual resource. For example, assuming that the resource value corresponding to the target cloud service order is 4000, and the second virtual resource is a local discount coupon of 8-fold, the cloud agent determines that the agent transfer value is 3200.
In this embodiment, the resource transfer can be realized by simultaneously using the virtual resource of the cloud server and the virtual resource of the cloud agent, so that the flexibility of the resource transfer is further improved.
In one embodiment, the method further comprises: receiving a resource transfer certificate acquisition request sent by a terminal corresponding to a target user; acquiring a resource transfer certificate corresponding to the request creation target cloud service based on the resource transfer certificate; and sending the resource transfer certificate to a terminal corresponding to the target user.
In one embodiment, the method further comprises: when a resource refund request aiming at the target cloud service and sent by a terminal corresponding to the target user is received, transferring a resource value corresponding to the target cloud service from an agent resource account corresponding to a cloud agent terminal to a user resource account corresponding to the target user based on the resource refund request.
In one embodiment, as shown in fig. 4, there is provided a cloud data processing method, including the steps of:
step 402, receiving a cloud service acquisition request of a target user for a target cloud service.
Step 404, determining the type of the target cloud service according to the cloud service acquisition request.
Specifically, the cloud service acquisition request may carry a cloud service identifier corresponding to a target cloud service, where the cloud service identifier is used to uniquely identify the cloud service, the cloud agent receives the cloud service acquisition request, determines the type of the target cloud service according to the cloud service identifier in the cloud service acquisition request, and when the target cloud service is a private cloud service corresponding to the cloud agent, step 406 is performed; and when the target cloud service is a public cloud service corresponding to the cloud agent, entering step 410.
Step 406, when the target cloud service requested by the cloud service acquisition request is a private cloud service corresponding to the cloud agent, creating a private cloud service order corresponding to the private cloud service.
And step 408, executing resource transfer operation based on the private cloud service order, and configuring cloud service resources corresponding to the private cloud service for the target user.
The private cloud service may be a cloud service locally provided by the cloud agent, and may also be a third-party application provided by the cloud agent, where the third application may be, for example, a third-party social application, a video application, and the like. In this embodiment, when receiving a cloud service acquisition request for a target cloud service sent by a terminal corresponding to a target user, a cloud agent determines whether the target cloud service requested by the cloud service acquisition request is a private cloud service or a public cloud service, and when the target cloud service requested by the cloud service acquisition request is the private cloud service corresponding to the cloud agent, creates a private cloud service order corresponding to the private cloud service, and executes a resource transfer operation based on the private cloud service order. The private cloud service order is created locally by the cloud agent, and may also be referred to as a local order.
Step 410, when the target cloud service requested by the cloud service acquisition request is the public cloud service corresponding to the cloud service end, sending an order creation request to the cloud service end corresponding to the target cloud service according to the cloud service acquisition request, where the order creation request is used for requesting the cloud service end to create the target cloud service order.
And step 412, executing a resource transfer operation according to the target cloud service order, and transferring out the resource with the value corresponding to the target cloud service from the user resource account corresponding to the target user through the resource transfer operation.
Step 414, sending a resource transfer request aiming at the target cloud service order to the cloud service end based on the resource transfer operation trigger, where the resource transfer request is used for triggering the cloud service end to transfer out a resource with a value corresponding to the target cloud service from an agent resource account corresponding to the cloud agent end, and configuring a cloud service resource corresponding to the target cloud service for the target user.
In some specific embodiments, a specific flow diagram of the cloud data processing method is shown in fig. 5. Referring to fig. 5, in the embodiment of the present application, two types of orders may be created, where a local order is created when a user purchases a local product of a cloud agent, and a cloud service order is created when a user purchases a product of a cloud service, where the local product of the cloud agent is a private cloud service that can be provided by the cloud agent, and the private cloud service may include at least one of various infrastructure services, platform services, or software services that can be provided by the cloud agent, where the infrastructure service may be, for example, a computing service or a storage service, the platform service may be, for example, a database, a web container, and the software service may be software developed locally by the agent or a third-party application, such as a web portal, a short message group sender, and the like. With continued reference to fig. 5, for the local order, a local payment may be made at the cloud agent, during which the user charges money into his wallet at the cloud agent, and a fee is deducted from the wallet through the local billing service, and the agent charges the fee; for a cloud service order, local payment is firstly carried out at a cloud agent end, in the payment process, a user charges money to a wallet of the user at the cloud agent end, fee deduction is carried out from the wallet through a local charging service, the agent side charges the fee, after the local payment is finished, cloud payment on behalf of the user is carried out, the cloud payment on behalf of the user is strong, the cloud service end can carry out forced fee deduction from the wallet of the cloud service end at the agent side corresponding to the cloud agent end through a cloud charging module under the condition that agreement of the agent side is not passed, payment is carried out at the cloud service end instead of the user, and in the strong payment process, a service provider corresponding to the cloud service end charges the fee. In addition, no matter the order is a local order or a cloud service order, the call back is carried out after the payment is finished.
As can be seen from fig. 5, in the embodiment of the present application, instead of initiating a cloud payment by a user through a local payment + proxy payment, a cloud payment is replaced by a local payment, and for the user, only the local payment is seen, and only one wallet, that is, a local wallet, is involved. It will be appreciated that the wallet of figure 5, i.e. the resource account in the above embodiment, and the process involved in the deduction and charging, i.e. the above resource transfer process. Local is from the perspective of the agent.
In some specific embodiments, as shown in fig. 6, a flowchart of a cloud resource processing method in a specific embodiment is shown. In this embodiment, a hybrid cloud service may be provided for a user, where the cloud agent is docked with the cloud server and serves as a front end of the cloud server, so that the hybrid cloud may be deployed in an environment of a private cloud. It is to be understood that the cloud product in fig. 6 refers to the cloud service above. Referring to fig. 6, mainly comprising 3 parts:
1. and (4) order creation. In the aspect of order creation, local resources (private cloud services) of a cloud agent end and cloud services of a cloud service end are the same, pricing information is imported to enable a service provider to determine prices, a user can acquire the prices through price inquiry when purchasing at a terminal, and then order creation can be initiated through the terminal.
2. And (4) paying the order. In the payment process, only the local payment interface provided by the agent party is exposed to the user, and the cloud payment capability of the agent party is started to pay money for the user in the cloud end, so that the payment of cloud end commodities (cloud service) is completed. As shown in fig. 6, no matter the product is a cloud product or a local product, local payment is performed first after the order is created, and after the local payment is completed, if the product is a local private cloud resource, the payment process is completed. And if the cloud service is adopted, cloud payment for others (strong payment for others) is called, and the user is helped to pay for others at the cloud end by deducting money of the cloud end wallet of the agent side. In addition, when an order is created, coupons can be used, the coupons comprise cloud coupons and local coupons, and the cloud coupons are timed and synchronized from the public cloud.
3. Invoicing and refunding. The billing process is unified, and the billing is uniformly performed on the user by the agent side no matter the local resource (private cloud service) of the cloud agent side and the cloud service of the cloud service side. The refund process is unified, and the refund is uniformly refunded to the user by the agent party no matter the local resources (private cloud service) of the cloud agent side and the cloud service of the cloud service side.
In the embodiment, the difference of cloud charging and local charging on the use of the user is shielded by using a mode of local payment and cloud payment instead, the platform is ensured to be in a uniform charging access mode to the outside, and public charging and local charging are also adapted from the upper layer, so that when the user uses mixed cloud charging, wallets, invoicing, coupons and refunds are all the same experience, and the fundamental problems of the cloud charging and the local charging are really solved.
In some specific embodiments, as shown in fig. 7, a corresponding flow diagram is provided for cloud payment. Referring to fig. 7, a hybrid cloud is deployed in a private cloud environment, wherein a cloud agent is deployed in the private cloud environment, the cloud agent corresponding to the private cloud may include a hybrid cloud voucher module, a hybrid cloud order creation module, and a hybrid cloud payment module, and the cloud server corresponding to the public cloud may include a cloud voucher module, a cloud service product module, and a public cloud billing module, specifically, the cloud voucher in the public cloud may be synchronized to the hybrid cloud voucher module of the private cloud, the cloud agent may obtain the cloud voucher, call an order creation interface of the cloud server, send a cloud voucher identification, create a cloud service order through the cloud billing module, then the cloud agent may call a local order creation interface to create a hybrid cloud order and send a cloud service order, the hybrid cloud order is a local order, the cloud agent establishes a corresponding relationship between an identification of the hybrid cloud order and an identification of the cloud service order, after the cloud agent calls the local order creation interface to create the hybrid cloud agent, determine a payment account of the hybrid cloud agent according to the corresponding relationship, determine a strong payment of the cloud agent account number of the cloud agent, and send the payment request to the cloud agent. The user account is an account registered by the user at the cloud proxy terminal and is authenticated by the cloud proxy terminal, and the user account is the user identifier above; the guest-replacing account is an account registered by the cloud service terminal for the target user, namely the cloud service user identifier in the foregoing.
In an embodiment, as shown in fig. 8, a cloud data processing method is provided, which is described by taking an example that the method is applied to a cloud server in fig. 1, and includes the following steps:
step 802, receiving an order creation request for a target cloud service; the order creating request is generated by the cloud agent according to a cloud service acquisition request of a target user for the target cloud service.
Specifically, the cloud agent receives a cloud service acquisition request for a target cloud service sent by a terminal corresponding to a user, generates an order creation request for the target cloud service according to the cloud service acquisition request, and sends the order creation request to the cloud server, and the cloud server receives the order creation request.
Step 804, a target cloud service order corresponding to the target cloud service is created according to the order creation request; the target cloud service order is used for instructing the cloud agent terminal to execute resource transfer operation, and transferring out the resources of the value corresponding to the target cloud service from the user resource account corresponding to the target user through the resource transfer operation.
Specifically, after receiving an order creating request, the cloud service end creates a target cloud service order corresponding to the target cloud service according to the order creating request, sends the target cloud service order to the cloud agent end, the cloud agent end executes resource transfer operation according to the target cloud service order, and transfers resources of a value corresponding to the target cloud service from a user resource account corresponding to the target user through the resource transfer operation.
Step 806, receiving a resource transfer request for the target cloud service order, transferring a resource with a value corresponding to the target cloud service from an agent resource account corresponding to the cloud agent according to the resource transfer request, and configuring a cloud service resource corresponding to the target cloud service for the target user; the resource transfer request is triggered based on a resource transfer operation.
Specifically, a resource transfer request for the target cloud service order can be triggered and generated by a resource transfer operation executed by the cloud agent, and the resource transfer request is sent to the cloud server, after the cloud server receives the resource transfer request, resources of a value corresponding to the target cloud service are transferred from an agent resource account corresponding to the cloud agent according to the resource transfer request, and cloud service resources corresponding to the target cloud service are configured for the target user, so that the required target cloud service can be provided for the target user through the cloud agent in the subsequent process.
According to the cloud data processing method, after an order creation request for a target cloud service is received, a target cloud service order corresponding to the target cloud service is created according to the order creation request, a resource transfer request for the target cloud service order is received, resources corresponding to the target cloud service are transferred from an agent resource account corresponding to a cloud agent terminal according to the resource transfer request, and cloud service resources corresponding to the target cloud service are configured for a target user.
In one embodiment, creating a target cloud service order corresponding to the target cloud service according to the order creation request includes: creating a target cloud service order corresponding to the target cloud service according to the order creation request; sending order creation information corresponding to the target cloud service order to a cloud agent end; the order creating message is used for indicating the cloud agent terminal to create a cloud agent order, executing resource transfer operation based on the cloud agent order, and transferring out the resources of the value corresponding to the target cloud service from the user resource account corresponding to the target user through the resource transfer operation.
In one embodiment, the order creation message may carry a cloud order identifier corresponding to the target cloud service order; after receiving the order creating message corresponding to the target cloud service order sent by the cloud service end, the cloud agent end creates a cloud agent order in response to the order creating message, establishes an identification corresponding relationship between an agent order identification corresponding to the cloud agent order and the cloud order identification, so that the cloud agent end can obtain the agent order identification corresponding to the cloud agent order corresponding to the resource transfer operation, determines the target cloud order identification based on the agent order identification and the identification corresponding relationship, and sends a resource transfer request carrying the target cloud order identification to the cloud service end.
In one embodiment, the cloud agent side performs the resource transfer operation based on the cloud agent order, and the resource transferring operation to transfer out the resource of the value corresponding to the target cloud service from the user resource account corresponding to the target user may specifically be: sending a resource transfer message to a terminal corresponding to the target user, wherein the resource transfer message carries the agent order identification; receiving a resource transfer instruction sent by the terminal, wherein the resource transfer instruction carries the agent order mark; triggering resource transfer operation according to the resource transfer instruction, and transferring out the resources of the numerical values corresponding to the target cloud service from the user resource account corresponding to the target user through the resource transfer operation; and taking the agent order mark carried by the resource transfer instruction as an agent order mark corresponding to the cloud agent order corresponding to the resource transfer operation.
In one embodiment, the order creation request carries a target user identifier corresponding to a target user; creating a target cloud service order corresponding to the target cloud service according to the order creation request comprises: determining a cloud service user identifier corresponding to a target user according to the target user identifier; establishing a target corresponding relation between a cloud service user identifier and a cloud order identifier corresponding to a target cloud service order; the resource transfer request carries a cloud order identification corresponding to the target cloud service order; transferring the resources of the value corresponding to the target cloud service from the agent resource account corresponding to the cloud agent terminal according to the resource transfer request comprises the following steps: and determining a cloud service user identifier according to the cloud order identifier and the target corresponding relation, and determining a corresponding proxy resource account according to the cloud service user identifier.
In one embodiment, when the cloud service acquisition request carries a virtual resource identifier corresponding to a cloud server; receiving an order creation request for a target cloud service includes: receiving an order creation request carrying a virtual resource identifier and aiming at a target cloud service; creating a target cloud service order corresponding to the target cloud service according to the order creation request comprises: determining a resource numerical value corresponding to the target cloud service order according to the virtual resource corresponding to the virtual resource identifier, and creating a target cloud service order corresponding to the target cloud service according to the resource numerical value corresponding to the target cloud service order; the target cloud service order is used for instructing the cloud agent to determine an agent transfer value of the target cloud service at the cloud agent according to the resource value, and transferring the resource of the agent transfer value from a user resource account corresponding to the target user through resource transfer operation.
In an embodiment, the determining, by the cloud agent, the agent transfer value of the target cloud service at the cloud agent according to the resource value may specifically be: acquiring a second virtual resource identifier carried in the cloud service acquisition request; when the second virtual resource identifier is the virtual resource identifier corresponding to the cloud agent, determining an agent transfer value of the target cloud service at the cloud agent based on the resource value corresponding to the target cloud service order and the second virtual resource corresponding to the second virtual resource identifier.
The application also provides an application scenario, and the application scenario applies the resource processing method. Specifically, in the application scenario, a user purchases a public cloud service provided by a public cloud service provider through a hybrid cloud built in an enterprise, and referring to fig. 9, the application of the cloud data processing method in the application scenario is as follows:
902. and entering a payment confirmation page. After the user selects the required target cloud service through the terminal, the terminal enters a payment confirmation page, the user can confirm payment information on the page, the payment information comprises specific cloud service information, price and the like, and confirmation information is sent to the cloud agent terminal.
904. And acquiring the cloud voucher. And after receiving the confirmation message of the user, the cloud agent side acquires the cloud voucher from the cloud service side, and the cloud service side returns the cloud voucher.
906. And selecting the cloud voucher. Specifically, the user clicks the cloud voucher through the terminal to select.
908. And acquiring cloud service. Specifically, a user clicks a 'payment confirmation' button through a payment confirmation page of the terminal, and the terminal generates a cloud service acquisition request and sends the cloud service acquisition request to the cloud agent terminal.
910. And (5) placing the order (including the ticket). Specifically, the cloud agent sends an order creation request carrying a cloud voucher identifier to the cloud server, and the order creation request also carries a user identifier.
912. And creating a cloud service order. Specifically, the cloud agent end receives a voucher which is searched for correspondingly according to the cloud voucher identification, determines the order amount according to the voucher and the standard price of the cloud service, and then creates a cloud service order. Meanwhile, the cloud agent establishes a corresponding relation between the user identification and the agent account in advance, the agent account of the order can be determined according to the user identification, the order is marked as 'strong payment', the strong payment relation is indicated between the agent account and the payment account of the order, and payment is carried out through the corresponding payment account under the strong payment relation. And in the application scene, the depayment user identification is the user identification of the agent party, and the depayment account is the account of the agent party at the cloud service end.
914. And returning to the cloud service order identification. Specifically, the cloud server may also return a user identifier, so that the cloud agent may create a local order corresponding to the user identifier, and establish an order correspondence between the local order identifier and the cloud service order identifier.
916. A local order is created. Specifically, the cloud agent creates a local order corresponding to the cloud service order locally.
918. And returning the local order identification. Specifically, the cloud agent may return a local order identifier to a terminal corresponding to the user.
920. Payment is made for the local order. Specifically, a user calls a local payment interface of the cloud agent end through the terminal to pay a local order, the user identification is transmitted to serve as an interface parameter, the cloud agent end carries out fee deduction from a local wallet corresponding to the user identification, and the wallet of the cloud agent end carries out charging.
922. And cloud payment. Specifically, after the cloud agent end completes payment of a local order, the cloud service order identification to be paid is determined according to the local order identification and the established order corresponding relation, a payment interface of the cloud service end is called to carry out cloud payment on behalf of a customer, the cloud service order identification and the user identification are transmitted to serve as interface parameters, the cloud agent end recognizes that the corresponding cloud service order is a strong payment order according to the cloud service order identification, the strong payment relation is a relation of the customer and an agent party, the customer account is determined according to the user identification, then the agent party cloud account corresponding to the customer account is inquired to carry out fee deduction, and local cloud payment on behalf of the customer is completed. After the payment is completed, the cloud service terminal can configure cloud service resources corresponding to the target cloud service for the target user, so that the cloud service can be provided for the user through the cloud agent terminal, a feedback message of successful payment can be returned to the cloud agent terminal, and the feedback message of successful payment can be returned to the user terminal by the cloud agent terminal.
It should be understood that although the various steps in the flow charts of fig. 2-9 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-9 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or stages is not necessarily sequential, but may be performed alternately or alternatingly with other steps or at least some of the other steps or stages.
In one embodiment, as shown in fig. 10, there is provided a cloud data processing apparatus 1000, where the apparatus 1000 may be a part of a computer device using a software module or a hardware module, or a combination of the two, and the apparatus specifically includes:
a cloud service acquisition request receiving module 1002, configured to receive a cloud service acquisition request for a target cloud service from a target user;
an order creating request sending module 1004, configured to send an order creating request to a cloud server corresponding to the target cloud service according to the cloud service acquisition request, where the order creating request is used to request the cloud server to create a target cloud service order;
a resource transfer module 1006, configured to perform a resource transfer operation according to the target cloud service order, and transfer out a resource of a value corresponding to the target cloud service from a user resource account corresponding to the target user through the resource transfer operation;
the resource transfer request sending module 1008 is configured to send a resource transfer request for a target cloud service order to the cloud server based on the resource transfer operation trigger, where the resource transfer request is used to trigger the cloud server to transfer a resource of a value corresponding to the target cloud service from an agent resource account corresponding to the cloud agent, and configure a cloud service resource corresponding to the target cloud service for the target user.
According to the cloud data processing device, after a cloud service acquisition request of a target user for a target cloud service is received, an order creation request is sent to a cloud service end corresponding to the target cloud service according to the cloud service acquisition request to indicate the cloud service end to create a target cloud service order, a resource transfer operation is executed according to the target cloud service order, a resource value corresponding to the target cloud service is transferred from a user resource account corresponding to the target user to a resource account corresponding to a cloud agent end through the resource transfer operation, a resource transfer request for the target cloud service order is sent to the cloud service end based on the resource transfer operation trigger, the resource transfer request can trigger the cloud service end to transfer a resource corresponding to the target cloud service from an agent resource account corresponding to the cloud agent end, and the target user is configured with cloud service resources corresponding to the target cloud service, so that the cloud service can be provided for the target user, resource transfer at the cloud agent end through the user resource account corresponding to the target user can be performed, charging modes of the cloud service end can be shielded, and the charging efficiency of the cloud service can be improved.
In one embodiment, the resource transfer module is further configured to receive an order creation message corresponding to the target cloud service order sent by the cloud server, and create a cloud agent order in response to the order creation message; and executing resource transfer operation based on the cloud agent order, and transferring out the resources of the numerical value corresponding to the target cloud service from the user resource account corresponding to the target user through the resource transfer operation.
In one embodiment, the resource transfer module is further configured to receive an order creation message corresponding to a target cloud service order sent by a cloud server; the order creating message carries a cloud order identification corresponding to the target cloud service order; responding to the order creating message to create a cloud proxy order, and creating an identification corresponding relation between a proxy order identification corresponding to the cloud proxy order and the cloud order identification; the resource transfer request sending module is used for acquiring an agent order identifier corresponding to a cloud agent order corresponding to the resource transfer operation and determining a target cloud order identifier based on the agent order identifier and the identifier corresponding relation; and sending a resource transfer request carrying the target cloud order identification to a cloud server.
In one embodiment, the resource transfer module is further configured to send a resource transfer message to a terminal corresponding to the target user, where the resource transfer message carries an agent order identifier; receiving a resource transfer instruction sent by a terminal, wherein the resource transfer instruction carries an agent order identification; triggering resource transfer operation according to the resource transfer instruction, and transferring out resources with values corresponding to the target cloud service from a user resource account corresponding to the target user through the resource transfer operation; and taking the agent order mark carried by the resource transfer instruction as an agent order mark corresponding to the cloud agent order corresponding to the resource transfer operation.
In one embodiment, the order creating request sending module is further configured to send an order creating request to a cloud service end corresponding to a target cloud service according to a cloud service acquisition request, where the order creating request carries a target user identifier corresponding to a target user, and the order creating request is used to trigger the cloud service end to determine the cloud service user identifier corresponding to the target user according to the target user identifier, and establish a target corresponding relationship between the cloud service user identifier and a cloud order identifier corresponding to the target cloud service order; the resource transfer request sending module is further used for sending a resource transfer request aiming at the target cloud service order to the cloud service terminal based on the resource transfer operation trigger; the resource transfer request carries a cloud order identification corresponding to the target cloud service order; the resource transfer request is used for triggering the cloud service terminal to determine a cloud service user identifier according to the cloud order identifier and the target corresponding relation, and determining a corresponding proxy resource account according to the cloud service user identifier.
In one embodiment, the order creation request sending module is further configured to obtain a first virtual resource identifier carried in the cloud service obtaining request, and send the order creation request to a cloud server corresponding to the target cloud service when the first virtual resource identifier is a virtual resource identifier corresponding to the cloud server; the order creating request carries a first virtual resource identifier, and is used for requesting the cloud service end to determine a resource numerical value corresponding to the target cloud service order according to the first virtual resource corresponding to the first virtual resource identifier; and the resource transfer module is also used for determining an agent transfer value of the target cloud service at the cloud agent side based on the resource value corresponding to the target cloud service order, and transferring out the resource of the agent transfer value from the user resource account corresponding to the target user through resource transfer operation.
In an embodiment, the resource transfer module is further configured to obtain a second virtual resource identifier carried in the cloud service obtaining request; and when the second virtual resource identifier is the virtual resource identifier corresponding to the cloud agent terminal, determining the agent terminal transfer value of the target cloud service at the cloud agent terminal based on the resource value corresponding to the target cloud service order and the second virtual resource corresponding to the second virtual resource identifier.
In one embodiment, the apparatus further includes an order creation module, configured to create a private cloud service order corresponding to the private cloud service when a target cloud service requested by the cloud service acquisition request is a private cloud service corresponding to the cloud agent, perform a resource transfer operation based on the private cloud service order, and configure a cloud service resource corresponding to the private cloud service for the target user; and when the target cloud service requested by the cloud service acquisition request is the public cloud service corresponding to the cloud service terminal, executing a step of sending an order creation request to the cloud service terminal corresponding to the target cloud service according to the cloud service acquisition request.
In one embodiment, as shown in fig. 11, there is provided a cloud data processing apparatus 1100, where the apparatus 1100 may be a part of a computer device using a software module or a hardware module, or a combination of the two, and the apparatus specifically includes:
an order creation request receiving module 1102, configured to receive an order creation request for a target cloud service; the order creating request is generated by the cloud agent according to a cloud service acquisition request of a target user for the target cloud service;
a cloud service order creation module 1104, configured to create a target cloud service order corresponding to the target cloud service according to the order creation request; the target cloud service order is used for instructing the cloud agent terminal to execute resource transfer operation, and transferring out resources with values corresponding to the target cloud service from a user resource account corresponding to the target user through the resource transfer operation;
a resource transfer module 1106, configured to receive a resource transfer request for a target cloud service order, transfer a resource of a value corresponding to the target cloud service from an agent resource account corresponding to a cloud agent according to the resource transfer request, and configure a cloud service resource corresponding to the target cloud service for a target user; the resource transfer request is triggered based on a resource transfer operation.
According to the cloud data processing device, after an order creation request for a target cloud service is received, a target cloud service order corresponding to the target cloud service is created according to the order creation request, a resource transfer request for the target cloud service order is received, resources corresponding to the target cloud service are transferred from an agent resource account corresponding to a cloud agent terminal according to the resource transfer request, and cloud service resources corresponding to the target cloud service are configured for a target user.
In one embodiment, the cloud service order creating module is further configured to create a target cloud service order corresponding to the target cloud service according to the order creating request; sending order creation information corresponding to the target cloud service order to a cloud server; the order creating message is used for indicating the cloud agent terminal to create a cloud agent order, executing resource transfer operation based on the cloud agent order, and transferring out the resources of the value corresponding to the target cloud service from the user resource account corresponding to the target user through the resource transfer operation.
In one embodiment, the order creation request carries a target user identifier corresponding to a target user; the cloud service order creating module is also used for determining a cloud service user identifier corresponding to the target user according to the target user identifier; establishing a target corresponding relation between a cloud service user identifier and a cloud order identifier corresponding to a target cloud service order; the resource transfer request carries a cloud order identification corresponding to the target cloud service order; and the resource transfer module is used for determining a cloud service user identifier according to the cloud order identifier and the target corresponding relation, and determining a corresponding proxy resource account according to the cloud service user identifier.
In one embodiment, when the cloud service acquisition request carries a virtual resource identifier corresponding to a cloud server; the order creation request receiving module is used for receiving an order creation request which carries a virtual resource identifier and aims at the target cloud service; the cloud service order creating module is used for determining a resource numerical value corresponding to the target cloud service order according to the virtual resource corresponding to the virtual resource identifier, and creating the target cloud service order corresponding to the target cloud service according to the resource numerical value corresponding to the target cloud service order; the target cloud service order is used for instructing the cloud agent to determine an agent transfer value of the target cloud service at the cloud agent according to the resource value, and transferring the resource of the agent transfer value from a user resource account corresponding to the target user through resource transfer operation.
For specific definition of the cloud data processing apparatus, the above definition of the cloud data processing method may be referred to, and details are not described herein. The modules in the cloud data processing apparatus may be wholly or partially implemented by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, and the computer device may be a cloud agent side or a cloud service side, and the internal structure diagram of the computer device may be as shown in fig. 12. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operating system and the computer program to run on the non-volatile storage medium. The database of the computer device is used for storing order data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a cloud data processing method.
Those skilled in the art will appreciate that the architecture shown in fig. 12 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In an embodiment, a computer device is further provided, which includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the above method embodiments when executing the computer program.
In an embodiment, a computer-readable storage medium is provided, in which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
In one embodiment, a computer program product or computer program is provided that includes computer instructions stored in a computer-readable storage medium. The computer instructions are read by a processor of a computer device from a computer-readable storage medium, and the computer instructions are executed by the processor to cause the computer device to perform the steps in the above-mentioned method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (15)

1. A cloud data processing method is executed by a cloud agent, and the method comprises the following steps:
receiving a cloud service acquisition request of a target user for a target cloud service;
sending an order creation request to a cloud server corresponding to the target cloud service according to the cloud service acquisition request, wherein the order creation request is used for requesting the cloud server to create a target cloud service order;
executing resource transfer operation according to the target cloud service order, and transferring out resources with values corresponding to the target cloud service from a user resource account corresponding to the target user through the resource transfer operation;
sending a resource transfer request aiming at the target cloud service order to the cloud service terminal based on the resource transfer operation trigger, wherein the resource transfer request is used for triggering the cloud service terminal to transfer out the resource of the value corresponding to the target cloud service from the proxy resource account corresponding to the cloud proxy terminal, and configuring the cloud service resource corresponding to the target cloud service for the target user.
2. The method according to claim 1, wherein the performing a resource transfer operation according to the target cloud service order, and transferring out a resource corresponding to the target cloud service value from a user resource account corresponding to the target user through the resource transfer operation comprises:
receiving an order creating message corresponding to the target cloud service order sent by the cloud service terminal, and creating a cloud agent order in response to the order creating message;
and executing resource transfer operation based on the cloud agent order, and transferring out the resources of the value corresponding to the target cloud service from the user resource account corresponding to the target user through the resource transfer operation.
3. The method according to claim 2, wherein the receiving an order creation message corresponding to the target cloud service order sent by the cloud server, and creating a cloud agent order in response to the order creation message comprises:
receiving an order creation message corresponding to the target cloud service order sent by the cloud server; the order creating message carries a cloud order identification corresponding to the target cloud service order;
responding to the order creating message to create a cloud agent order, and creating an identification corresponding relation between an agent order identification corresponding to the cloud agent order and the cloud order identification;
the triggering, based on the resource transfer operation, a resource transfer request for the target cloud service order to be sent to the cloud server includes:
acquiring an agent order mark corresponding to the cloud agent order corresponding to the resource transfer operation, and determining a target cloud order mark based on the agent order mark and the mark corresponding relation;
and sending a resource transfer request carrying the target cloud order mark to the cloud server.
4. The method according to claim 3, wherein the performing a resource transfer operation based on the cloud agent order, and transferring out a resource corresponding to the value of the target cloud service from a user resource account corresponding to the target user through the resource transfer operation comprises:
sending a resource transfer message to a terminal corresponding to the target user, wherein the resource transfer message carries the agent order identification;
receiving a resource transfer instruction sent by the terminal, wherein the resource transfer instruction carries the agent order mark;
triggering resource transfer operation according to the resource transfer instruction, and transferring out the resources of the numerical values corresponding to the target cloud service from the user resource account corresponding to the target user through the resource transfer operation;
and taking the agent order mark carried by the resource transfer instruction as an agent order mark corresponding to the cloud agent order corresponding to the resource transfer operation.
5. The method according to claim 1, wherein the sending an order creation request to the cloud server corresponding to the target cloud service according to the cloud service acquisition request comprises:
sending an order creating request to a cloud service end corresponding to the target cloud service according to the cloud service obtaining request, wherein the order creating request carries a target user identifier corresponding to the target user, and the order creating request is used for triggering the cloud service end to determine a cloud service user identifier corresponding to the target user according to the target user identifier and establish a target corresponding relation between the cloud service user identifier and a cloud order identifier corresponding to the target cloud service order;
the triggering, based on the resource transfer operation, a resource transfer request for the target cloud service order to be sent to the cloud server includes:
sending a resource transfer request aiming at the target cloud service order to the cloud service terminal based on the resource transfer operation trigger; the resource transfer request carries a cloud order identification corresponding to a target cloud service order; the resource transfer request is used for triggering the cloud service end to determine the cloud service user identification according to the cloud order identification and the target corresponding relation, and determining the corresponding proxy resource account according to the cloud service user identification.
6. The method according to claim 1, wherein the sending an order creation request to the cloud server corresponding to the target cloud service according to the cloud service acquisition request comprises:
acquiring a first virtual resource identifier carried in the cloud service acquisition request, and sending an order creation request to a cloud server corresponding to the target cloud service when the first virtual resource identifier is a virtual resource identifier corresponding to the cloud server; the order creating request carries the first virtual resource identifier, and is used for requesting the cloud service end to determine a resource numerical value corresponding to the target cloud service order according to the first virtual resource corresponding to the first virtual resource identifier;
the executing a resource transfer operation according to the target cloud service order, and transferring a resource value corresponding to the target cloud service from a user resource account corresponding to the target user through the resource transfer operation includes:
determining a value transferred by the target cloud service at an agent side of the cloud agent side based on the resource value corresponding to the target cloud service order, and transferring out the resource of the value transferred by the agent side from a user resource account corresponding to the target user through the resource transfer operation.
7. The method of claim 6, wherein the determining the value of the target cloud service transferred at the agent of the cloud agent based on the resource value corresponding to the target cloud service order comprises:
acquiring a second virtual resource identifier carried in the cloud service acquisition request;
when the second virtual resource identifier is the virtual resource identifier corresponding to the cloud agent terminal, determining an agent terminal transfer value of the target cloud service at the cloud agent terminal based on the resource value corresponding to the target cloud service order and the second virtual resource corresponding to the second virtual resource identifier.
8. The method of claim 1, further comprising:
when the target cloud service requested by the cloud service acquisition request is the private cloud service corresponding to the cloud agent terminal, creating a private cloud service order corresponding to the private cloud service, executing resource transfer operation based on the private cloud service order, and configuring cloud service resources corresponding to the private cloud service for the target user;
when the target cloud service requested by the cloud service acquisition request is the public cloud service corresponding to the cloud service terminal, executing a step of sending an order creation request to the cloud service terminal corresponding to the target cloud service according to the cloud service acquisition request.
9. A cloud data processing method is executed by a cloud server, and the method comprises the following steps:
receiving an order creation request for a target cloud service; the order creating request is generated by the cloud agent according to a cloud service acquisition request of a target user for the target cloud service;
creating a target cloud service order corresponding to the target cloud service according to the order creation request; the target cloud service order is used for instructing the cloud agent to execute resource transfer operation, and transferring out resources with values corresponding to the target cloud service from a user resource account corresponding to the target user through the resource transfer operation;
receiving a resource transfer request aiming at the target cloud service order, transferring out resources with values corresponding to the target cloud service from an agent resource account corresponding to the cloud agent terminal according to the resource transfer request, and configuring cloud service resources corresponding to the target cloud service for the target user; the resource transfer request is triggered based on the resource transfer operation.
10. The method of claim 9, wherein creating the target cloud service order corresponding to the target cloud service according to the order creation request comprises:
creating a target cloud service order corresponding to the target cloud service according to the order creation request;
sending an order creating message corresponding to the target cloud service order to the cloud agent terminal;
the order creating message is used for indicating the cloud agent terminal to create a cloud agent order, executing resource transfer operation based on the cloud agent order, and transferring out the resources of the value corresponding to the target cloud service from the user resource account corresponding to the target user through the resource transfer operation.
11. The method according to claim 9, wherein the order creation request carries a target user identifier corresponding to the target user; the creating of the target cloud service order corresponding to the target cloud service according to the order creating request comprises:
determining a cloud service user identifier corresponding to the target user according to the target user identifier;
establishing a target corresponding relation between the cloud service user identification and the cloud order identification corresponding to the target cloud service order;
the resource transfer request carries a cloud order identification corresponding to a target cloud service order; the transferring out the resources of the value corresponding to the target cloud service from the proxy resource account corresponding to the cloud proxy terminal according to the resource transfer request comprises:
and determining the cloud service user identification according to the cloud order identification and the target corresponding relation, and determining the corresponding proxy resource account according to the cloud service user identification.
12. The method according to claim 9, wherein when the cloud service acquisition request carries a virtual resource identifier corresponding to the cloud server; the receiving an order creation request for a target cloud service comprises:
receiving an order creation request carrying the virtual resource identifier and aiming at the target cloud service;
the creating of the target cloud service order corresponding to the target cloud service according to the order creating request includes:
determining a resource numerical value corresponding to the target cloud service order according to the virtual resource corresponding to the virtual resource identifier, and creating a target cloud service order corresponding to the target cloud service according to the resource numerical value corresponding to the target cloud service order; the target cloud service order is used for instructing the cloud agent to determine an agent transfer value of the target cloud service at the cloud agent according to a resource value, and transferring out the resource of the agent transfer value from a user resource account corresponding to the target user through the resource transfer operation.
13. A cloud data processing apparatus, the apparatus comprising:
the cloud service acquisition request receiving module is used for receiving a cloud service acquisition request of a target user for a target cloud service;
an order creation request sending module, configured to send an order creation request to a cloud server corresponding to the target cloud service according to the cloud service acquisition request, where the order creation request is used to request the cloud server to create a target cloud service order;
the resource transfer module is used for executing resource transfer operation according to the target cloud service order and transferring out the resources of the value corresponding to the target cloud service from the user resource account corresponding to the target user through the resource transfer operation;
and a resource transfer request sending module, configured to send a resource transfer request for the target cloud service order to the cloud server based on the resource transfer operation trigger, where the resource transfer request is used to trigger the cloud server to transfer a resource of a value corresponding to the target cloud service from an agent resource account corresponding to a cloud agent, and configure a cloud service resource corresponding to the target cloud service for the target user.
14. A cloud data processing apparatus, characterized in that the apparatus comprises:
the order creation request receiving module is used for receiving an order creation request aiming at the target cloud service; the order creating request is generated by the cloud agent according to a cloud service acquisition request of a target user for the target cloud service;
the cloud service order creating module is used for creating a target cloud service order corresponding to the target cloud service according to the order creating request; the target cloud service order is used for instructing the cloud agent to execute resource transfer operation, and transferring out the resources of the numerical value corresponding to the target cloud service from the user resource account corresponding to the target user through the resource transfer operation;
the resource transfer module is used for receiving a resource transfer request aiming at the target cloud service order, transferring out a resource of a value corresponding to the target cloud service from an agent resource account corresponding to the cloud agent terminal according to the resource transfer request, and configuring a cloud service resource corresponding to the target cloud service for the target user; the resource transfer request is triggered based on the resource transfer operation.
15. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 12.
CN202110902164.3A 2021-08-06 2021-08-06 Cloud data processing method and device, computer equipment and storage medium Pending CN115705566A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110902164.3A CN115705566A (en) 2021-08-06 2021-08-06 Cloud data processing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110902164.3A CN115705566A (en) 2021-08-06 2021-08-06 Cloud data processing method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115705566A true CN115705566A (en) 2023-02-17

Family

ID=85179895

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110902164.3A Pending CN115705566A (en) 2021-08-06 2021-08-06 Cloud data processing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115705566A (en)

Similar Documents

Publication Publication Date Title
US20180096416A1 (en) Virtual resource transfer method, client device, application server, and system
US20200211092A1 (en) Adaptive product listing using blockchain inventory and smart contracts
TWI640937B (en) Online payment method and equipment
US10970758B2 (en) Electronic marketplace for hosted service images
US20110238570A1 (en) System of Online Trading Through Intermediary Platform and Methods Thereof
EP2850582A1 (en) Advertiser supported bandwidth platform
JP2015528934A (en) Payment method and apparatus
US11769123B2 (en) Payment method and apparatus, related device, and system
US20140379564A1 (en) Cloud service integration pay trading system
CN110796440A (en) Payment method, device and system, payment service architecture, electronic equipment and medium
CN108389268B (en) Payment method, system and equipment
CN110135922A (en) A kind of method and apparatus of business processing
US20020035479A1 (en) Access contract changing method for automatically changing an access contract between a prepaid contract and a postpaid contract
CN110753323B (en) Card resource allocation method and server
CN115705566A (en) Cloud data processing method and device, computer equipment and storage medium
CN115695210A (en) Cloud server deployment method and device, electronic equipment and storage medium
WO2017076217A1 (en) Client end configuration method, system, server, and client end
US11488155B2 (en) Proxy checkout and payment transaction services
CN112837131A (en) Sales application development method, device, equipment and storage medium
CN110599146A (en) Data processing method, device, terminal, node equipment and storage medium
CN111833151B (en) Cloud ecological service method, cloud server, system, device and readable storage medium
JP7178475B2 (en) Information processing device, information processing method, and program
KR20130012196A (en) System and method for providing social commerce service
WO2018119516A1 (en) Customer acquisition and loyalty by personal localized promotional messaging with multiple point levels and jurisdictions
US11361326B2 (en) Distributed machine learning decentralized application platform

Legal Events

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