Service determination method, device, electronic device and storage medium

By determining the service allocation mode when receiving the service allocation request and configuring the target service based on the mode, the problem that service delivery in the prior art does not meet user needs is solved, and the effect of improving user transaction experience and enterprise management specifications is achieved.

CN114862414BActive Publication Date: 2025-02-25CHINA NAT OFFSHORE OIL CORP +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210344149.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-31
Publication Date
2025-02-25
Estimated Expiration
2042-03-31

AI Technical Summary

Technical Problem

In the prior art, by directly delivering services online, the delivered services do not meet the actual needs of users and the user's transaction experience is poor.

Method used

When receiving the service allocation request, determine the service allocation mode corresponding to the service to be allocated, and determine the service to be allocated based on the service allocation mode, the general service configuration corresponding to the service to be allocated, and the applied service configuration corresponding to the target tenant. The target service configuration of the target service, and then determines the target service based on the service to be allocated, the target service configuration, and at least one associated user associated with the target tenant, and generates a target access address corresponding to the target service.

Benefits of technology

It realizes the allocation of services to users to meet actual needs, improves user transaction experience, and avoids the arbitrary customization of services by associated users, and improves corporate management standards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114862414B_ABST
    Figure CN114862414B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a service determination method, device, electronic device and storage medium. The method comprises: upon receiving a service allocation request, determining a service allocation mode corresponding to the service to be allocated; determining a target service configuration corresponding to the service to be allocated based on the service allocation mode, the general service configuration corresponding to the service to be allocated and the applied service configuration corresponding to the target tenant; determining a target service based on the service to be allocated, the target service configuration and at least one associated user associated with the target tenant, and generating a target access address corresponding to the target service. The method solves the problem in the prior art that the delivered service does not meet the actual needs of the user and the transaction experience is poor by directly delivering the service online, and achieves the allocation of services that meet the actual needs of the user, thereby improving the user's transaction experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to computer processing technology, and more particularly to a service determination method, device, electronic device and storage medium. Background Art

[0002] With the development of Internet and e-commerce technologies, online transactions are becoming more and more convenient, and people are becoming more and more accustomed to online shopping, such as purchasing microservices on application platforms, which has greatly promoted the prosperity of e-commerce. Therefore, how to complete transactions when both buyers and sellers are satisfied has become a topic of increasing concern.

[0003] At present, the transaction method of online shopping is usually that the seller pre-prices the product. During the transaction, the buyer's transaction account on the third-party platform is called up, and direct online delivery is carried out based on the product price. After successful delivery, the product is directly provided to the buyer.

[0004] However, in actual industrial Internet scenarios, the products traded are usually microservices such as API (application programming interface) tools or AI (artificial intelligence) models. The delivery of these microservices often needs to meet the various needs of buyers, and frequent communication with sellers is required to deliver microservices that meet the needs of buyers. This online direct delivery method often fails to meet the actual needs of users and reduces the user experience. Summary of the invention

[0005] The embodiments of the present invention provide a service determination method, device, electronic device and storage medium to achieve the allocation of services that meet actual needs for users, thereby achieving the technical effect of improving user transaction experience.

[0006] In a first aspect, an embodiment of the present invention provides a service determination method, the method comprising:

[0007] Upon receiving a service allocation request, determining a service allocation mode corresponding to the service to be allocated; wherein the service allocation mode includes an exclusive mode and a shared mode;

[0008] Determine a target service configuration corresponding to the service to be allocated based on the service allocation mode, the common service configuration corresponding to the service to be allocated, and the applied service configuration corresponding to the target tenant;

[0009] Based on the service to be allocated, the target service configuration and at least one associated user associated with the target tenant, a target service is determined, and a target access address corresponding to the target service is generated so that the target service is applied based on a trigger operation on the target access address.

[0010] In a second aspect, an embodiment of the present invention further provides a service determination device, the device comprising:

[0011] A service allocation mode acquisition module, configured to determine a service allocation mode corresponding to the service to be allocated upon receiving a service allocation request; wherein the service allocation mode includes an exclusive mode and a shared mode;

[0012] A target service configuration determination module, configured to determine a target service configuration corresponding to the service to be allocated based on the service allocation mode, the common service configuration corresponding to the service to be allocated, and the applied service configuration corresponding to the target tenant;

[0013] A target access address generation module is used to determine a target service based on the service to be allocated, the target service configuration and at least one associated user associated with the target tenant, and generate a target access address corresponding to the target service so that the target service is applied based on a trigger operation on the target access address.

[0014] In a third aspect, an embodiment of the present invention further provides an electronic device, the device comprising:

[0015] one or more processors;

[0016] a storage device for storing one or more programs,

[0017] When the one or more programs are executed by the one or more processors, the one or more processors implement the service determination method as described in any one of the embodiments of the present invention.

[0018] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a service determination method as described in any one of the embodiments of the present invention.

[0019] The technical solution of the embodiment of the present invention determines the service allocation mode corresponding to the service to be allocated when receiving a service allocation request, determines the target service configuration corresponding to the service to be allocated based on the service allocation mode, the general service configuration corresponding to the service to be allocated and the applied service configuration corresponding to the target tenant, and then determines the target service based on the service to be allocated, the target service configuration and at least one associated user associated with the target tenant, and generates a target access address corresponding to the target service, so that the target service is applied based on the trigger operation of the target access address, which solves the problem in the prior art that the delivered service does not meet the actual needs of users and the user transaction experience is poor by directly delivering the service online, and realizes that when allocating services to the target tenant, by determining the service allocation mode corresponding to the service to be allocated, the corresponding target service configuration is determined for the service to be allocated, and the service to be allocated is configured based on the target service, and at the same time, the use right of the service to be allocated is granted to all associated users under the target tenant, and the target service is generated, and while allocating services that meet actual needs to users, it avoids the associated users from arbitrarily customizing services, improves enterprise management standards, and achieves the technical effect of improving user transaction experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, the following briefly introduces the drawings required to describe the embodiments. Obviously, the drawings introduced are only drawings of a part of the embodiments to be described in the present invention, rather than all the drawings. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0021] Figure 1 A flowchart of a service determination method provided in Embodiment 1 of the present invention;

[0022] Figure 2 A schematic diagram of a service determination method provided in Embodiment 2 of the present invention;

[0023] Figure 3 A structural block diagram of a service determination device provided in Embodiment 3 of the present invention;

[0024] Figure 4 This is a schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION

[0025] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0026] Embodiment 1

[0027] Figure 1 This is a flow chart of a service determination method provided in Embodiment 1 of the present invention. This embodiment is applicable to the case of allocating services. This method can be executed by a service determination device in an embodiment of the present invention. The device can be implemented in software and / or hardware. Optionally, it can be implemented by an electronic device. The electronic device can be a mobile terminal, a PC or a server. The device can be configured in a computing device. The service determination method provided in this embodiment specifically includes the following steps:

[0028] S110. When a service allocation request is received, a service allocation mode corresponding to the service to be allocated is determined.

[0029] Among them, the service to be allocated can be understood as a service that needs to be allocated. Optionally, the service to be allocated can be SaaS (Software-as-a-Service), or an API (Application Programming Interface) tool, an AI (Artificial Intelligence) model, or a small tool software. For example, in the industrial Internet platform, the supplier can deploy the service on the server, and the customer (also known as the tenant) can order the required services from the supplier through the Internet according to the actual work needs, and the service provided by the supplier can be used as a service to be allocated. The service allocation mode includes exclusive mode and shared mode. The exclusive mode can be understood as a mode in which a tenant exclusively enjoys a part of the server resources. For example, in the exclusive mode, the tenant exclusively enjoys a part of the server resources, and this part of the resources is completely independent of other tenants in terms of network / disk / CPU / memory and other resources. The shared mode can be understood as a mode in which multiple tenants share a server resource.

[0030] In this embodiment, when the tenant triggers the service allocation control on the platform page, it can be considered that the service allocation request has been received, or when the system receives the uploaded service order, it can be considered that the service allocation request has been received. At this time, the service allocation mode carried in the service allocation request can be obtained. It should be noted that in the service ordering scenario, the service allocation mode of the service is an exclusive mode or a shared mode, and the user can select the required service allocation mode when ordering. It can also be based on the ordering tenant, that is, the tenant identifier carried in the service allocation request can also be detected to determine the service allocation mode associated with the tenant identifier. So that the corresponding server resources can be determined for the service to be allocated based on the service allocation mode, for the tenant and all users under the tenant to apply.

[0031] It should also be noted that when a service allocation request is received and the service allocation mode corresponding to the service to be allocated is determined, the service allocation mode carried in the service allocation request can also be obtained by processing the service allocation request, such as parsing the service allocation request.

[0032] Optionally, when a service allocation request is received, a service allocation mode corresponding to the service to be allocated is determined, including: receiving a service allocation request generated based on a target tenant trigger operation; parsing the service allocation request to obtain a service allocation mode corresponding to the service to be allocated in the service allocation request.

[0033] In actual applications, tenants can order software services from a supplier store on the platform. When tenant A triggers the ordering control corresponding to a service B to be allocated, the tenant is the target tenant. At this time, it can be considered that a service allocation request has been received, and the service allocation request can be parsed to obtain the service allocation mode corresponding to the service B to be allocated carried in the service allocation request. The tenant identifier carried in the service allocation request can also be obtained. The tenant identifier can be used to represent the identity of tenant A, and then the service allocation mode corresponding to the tenant identifier can be called.

[0034] It should be noted that when the target tenant triggers the ordering control corresponding to a service to be allocated sold by the supplier, the target tenant needs to conduct a transaction with the supplier. After the transaction is successful, the supplier can configure corresponding server resources for the service to be allocated based on the service allocation mode.

[0035] Optionally, after receiving the service allocation request generated based on the target tenant trigger operation, it also includes: determining the transaction type in the service allocation request, and receiving the pending review information corresponding to the transaction type; reviewing the pending review information to obtain a target review result; if the target review result is consistent with the preset review result, determining the service allocation mode corresponding to the service to be allocated.

[0036] Among them, the transaction type includes online transactions or offline transactions. Online transactions can be understood as transactions conducted online through third-party financial accounts and online distribution services. Offline transactions can be understood as offline manual delivery and online distribution services. Information to be reviewed can be understood as credential information that needs to be reviewed. The preset review result can be understood as a successful review.

[0037] In actual applications, when the target tenant orders the service to be allocated on the service display page, the input device can be used to select whether the transaction type is an online transaction or an offline transaction in the transaction menu box. After determining the transaction type, the transaction control in the page can be clicked. At this time, if it is an online transaction, the third-party financial account of the target tenant can be retrieved and the transaction interface of the third-party financial account can be used for delivery. The platform account of the target tenant can also be retrieved for delivery to obtain the delivery result, and the transaction result can be used as the information to be reviewed. If it is an offline transaction, the target tenant needs to upload transaction vouchers based on the offline transaction situation, such as bank remittance receipts, etc. The uploaded transaction vouchers can be used as the information to be reviewed. Further, after the system receives the information to be reviewed, it can review the information to be reviewed and obtain the review result, that is, the target review result. For example, if the review fails, the target review result is a failed review. At this time, a transaction failure prompt can be generated to prompt the target tenant to complete the transaction in time. If the review passes, the target review result is a successful review. At this time, the order status corresponding to the service to be allocated will be changed to a successful transaction. When the target review result is a successful review, the service allocation mode corresponding to the service to be allocated can be further determined to continue to allocate services to the target tenant. For example, after the offline transaction (manual delivery) of the SaaS application is completed and the transaction voucher information is reviewed and approved, the service provider can enter the order details of the SaaS application in the order management of the [I am a service provider] console [Service progress] to confirm the delivery. After confirmation, the order delivery status will change to "Merchant confirmed". The target tenant can enter the order details of the SaaS application in the order management of the [I am a demander] console [Service progress] to confirm the delivery. After confirmation, the order delivery status will change to "Delivery completed", and then the service provider can allocate the corresponding SaaS application to the target tenant based on the service allocation model.

[0038] It should be noted that in order to improve the management standards of the platform and enterprises, account information that can be used to order services can be stored in the database in advance, and each account information can represent the corresponding target tenant. In other words, the service ordering operation on the platform can be open only to the target tenant corresponding to the account information stored in the database, preventing visitors or ordinary users under the target tenant from arbitrarily ordering services on the platform, causing unnecessary losses to the enterprise. For example, the target tenant can be understood as a company, and ordinary users can be understood as company employees. Later, when a target tenant orders a service to be allocated, it can be determined whether the target tenant has the right to order services by detecting whether the target tenant's account information is consistent with the stored account information. For example, the target tenant can go to the service page to order services. If a visitor or an ordinary user under the target tenant clicks the order button on the service page of the portal, it will prompt to contact the target tenant.

[0039] S120: Determine a target service configuration corresponding to the service to be allocated based on the service allocation mode, the common service configuration corresponding to the service to be allocated, and the applied service configuration corresponding to the target tenant.

[0040] Among them, the applied service configuration can be understood as an independent server resource that has been applied for and obtained. For example, when the target tenant orders service A in exclusive mode, service A needs to be deployed in the server resources. At this time, the target tenant needs to communicate with the service provider offline about the application of server resources. For example, when it comes to the application of LaaS (Infrastructure-as-a-Service) resources, the resource application can be made by the target tenant himself to the platform, or by entrusting the service provider to apply to the platform. The resources obtained by the application can be regarded as the applied service configuration. The general service configuration can be understood as shared server resources.

[0041] In this embodiment, the service resources that need to be configured for the service to be allocated, i.e., the target service configuration, can be determined based on the service allocation mode corresponding to the service to be allocated. For example, if the service allocation mode is the exclusive mode, it can be determined whether the applied service configuration of the target tenant meets the configuration requirements corresponding to the service to be allocated. If so, the applied service configuration can be used as the target service configuration, so that the service to be allocated can be deployed in the target service configuration and can be used normally.

[0042] It should be noted that if not, it means that the applied service configuration is not enough, and you can continue to apply for server resources and upgrade the applied service configuration so that the upgraded applied service configuration can meet the configuration requirements of the service to be allocated. If the target tenant feels that the target service configuration is not enough, you can also apply for expansion to upgrade the target service configuration, which greatly meets user needs.

[0043] Optionally, the service allocation mode is an exclusive mode, and the target service configuration corresponding to the service to be allocated is determined based on the service allocation mode, the common service configuration corresponding to the service to be allocated, and the applied service configuration corresponding to the target tenant, including: if the applied service configuration corresponding to the target tenant matches the benchmark service configuration corresponding to the service to be allocated, then the applied service configuration is used as the target service configuration corresponding to the service to be allocated; or, if the applied service configuration corresponding to the target tenant does not match the benchmark service configuration corresponding to the service to be allocated, then the service configuration to be used is determined, and based on the service configuration to be used and the applied service configuration, the target service configuration corresponding to the service to be allocated is determined.

[0044] In actual applications, if the service to be allocated is deployed in exclusive mode, it means that the target tenant will exclusively use a part of the server resources. The system needs to first check whether the applied service configuration corresponding to the target tenant exceeds the baseline service configuration required by the service to be allocated. If so, the applied service configuration can be used as the target service configuration and the service to be allocated can be deployed to the target service configuration. If not, it means that the service configuration already has is not enough. At this time, it is necessary to apply for IaaS resources. The applied IaaS resources can be used as the service configuration to be used, and then the service configuration to be used and the applied service configuration can be used as the final target service configuration, so that the service to be allocated can be applied normally when deployed in an independent target service configuration.

[0045] It should be noted that if the service to be allocated is deployed in a shared mode, it means that the target tenant will share the server resources corresponding to the service to be allocated with other tenants. The server resources can be configured as a common service, and the service to be allocated can be deployed in the common service configuration.

[0046] Optionally, the service allocation mode is a shared mode, and the target service configuration corresponding to the service to be allocated is determined based on the service allocation mode, the general service configuration corresponding to the service to be allocated, and the applied service configuration corresponding to the target tenant, including: obtaining the general service configuration corresponding to the service to be allocated, and using the general service configuration as the target service configuration corresponding to the service to be allocated.

[0047] Specifically, if the service allocation mode is the sharing mode, it means that the service to be allocated needs to be deployed in the sharing mode. At this time, the common service configuration corresponding to the service to be allocated allocated to other tenants can be used as the target service configuration of the service to be allocated.

[0048] On the basis of the above scheme, the service provider can also provide the target tenant with a trial version of the service to be allocated, and can configure corresponding restrictions in the service transaction of the trial version of the service to be allocated, such as 0 yuan transaction, target tenant number limit, validity period, etc. For example, the trial version of the service to be allocated can be a SaaS application with a 0 yuan transaction, allowing 5 target tenants and using it for 1 month. In actual application, when the target tenant submits the transaction form corresponding to the trial version of the SaaS application, he can directly enter the order center by shaking the transaction page, and upload the access address corresponding to the SaaS application to the workspace of the target tenant. The target tenant can log in to the SaaS application and use it with the trial account provided by the service provider according to the provided access address. When 1 month is reached, the access address can be automatically deleted from the workspace.

[0049] S130. Determine a target service based on the service to be allocated, the target service configuration, and at least one associated user associated with the target tenant, and generate a target access address corresponding to the target service, so that the target service is applied based on a trigger operation on the target access address.

[0050] The associated user can be understood as a common user under the target tenant. For example, if the target tenant is company A, the associated user can be an employee under company A. Alternatively, if the target tenant is department B, the associated user can be an employee under department B.

[0051] In this embodiment, after determining the target service configuration, the service to be assigned can be deployed in the target service configuration. At this time, it is also necessary to configure corresponding login information for all associated users under the target tenant and synchronize it to the service to be assigned to obtain the target service, so that each associated user can log in and use the target service based on the corresponding login information. The access address corresponding to the target service can also be synchronized to the workspace of the target tenant, so that the target service can be entered and used based on the access operation of the access address.

[0052] It should be noted that when determining the target service based on the service to be allocated, the target service configuration and at least one associated user associated with the target tenant, when the transaction between the target tenant and the service provider is successful, when the service to be allocated is deployed in the target service configuration, the permission to use the service to be allocated can be granted to all associated users under the target tenant, and then the target service can be generated, so that the associated users who subsequently have the permission to use can use the target service normally.

[0053] Optionally, determining the target service based on the service to be allocated, the target service configuration and at least one associated user associated with the target tenant includes: performing instance processing on the service to be allocated based on the target service configuration and at least one associated user associated with the target tenant to obtain the target service.

[0054] In actual applications, when deploying the service to be allocated to the target service configuration, corresponding login information can be assigned to each associated user associated with the target tenant, and each login information can be synchronized to the service to be allocated. Then, the background can create an instance of the service to be allocated as the target service with one click. At this time, the associated user has the authority to access and use the target service.

[0055] It should be noted that in order to improve the convenience of service allocation, when the allocated service is instanced based on the target service configuration and at least one associated user associated with the target tenant and the target service is obtained, the account information of each associated user on the platform can also be obtained, and each account information can be used as login information for subsequent login to the target service.

[0056] Optionally, based on the target service configuration and at least one associated user associated with the target tenant, instance processing is performed on the service to be allocated to obtain the target service, including: obtaining account information corresponding to at least one associated user associated with the target tenant; synchronizing each account information to the service to be allocated to obtain the service to be processed; processing the service to be processed based on the target service configuration to create the target service.

[0057] Specifically, the account information of each associated user associated with the target tenant on the platform, such as the account ID and password, can be obtained, and each account information can be synchronized to the service to be assigned, and the synchronized service can be obtained as the service to be processed. The service to be processed can be deployed in the target service configuration, and a service instance can be created as the target service. This allows subsequent associated users to log in to the target service and use it based on their own account information on the platform.

[0058] The technical solution of this embodiment, by determining the service allocation mode corresponding to the service to be allocated when receiving a service allocation request, determining the target service configuration corresponding to the service to be allocated based on the service allocation mode, the general service configuration corresponding to the service to be allocated and the applied service configuration corresponding to the target tenant, and then determining the target service based on the service to be allocated, the target service configuration and at least one associated user associated with the target tenant, and generating a target access address corresponding to the target service, so that the target service is applied based on the trigger operation of the target access address, solving the problem that the delivered service does not meet the actual needs of the user and the user transaction experience is poor by directly delivering the service online in the prior art, and realizing that when allocating services to the target tenant, by determining the service allocation mode corresponding to the service to be allocated, determining the corresponding target service configuration for the service to be allocated, and configuring the service to be allocated based on the target service, and at the same time granting the use rights of the service to be allocated to all associated users under the target tenant, generating the target service, allocating services that meet the actual needs to users, avoiding the associated users from arbitrarily customizing services, and improving the enterprise management specifications. At the same time, based on this technical solution, the problems of online and offline transaction services of energy enterprises can be well solved, and the functions of the industrial Internet platform application market can be enriched.

[0059] Embodiment 2

[0060] As an alternative embodiment of the above embodiment, Figure 2 This is a schematic diagram of a service determination method provided by Embodiment 2 of the present invention. For details, please refer to the following specific content.

[0061] See also Figure 2, the target tenant can select the service to be allocated on the service application page. The service to be allocated may include the SaaS application, AI model, API service, gadget and application service developed by the platform itself. When the target tenant orders the application service developed by the platform itself and generates an order, the order type of the service to be allocated can be determined. If the order type is a 0-yuan transaction, after confirming the order, shake the transaction page to directly enter the order center. The background automatically creates a connection between the target tenant and the service provider, automatically switches to the target tenant, and only gives [Read] permission, can preview the page, and delete it from the target tenant's workspace when the expiration date is reached. If the order type is not a 0-yuan transaction, the transaction type of the service to be allocated is detected. If the transaction type is an online transaction, the service to be allocated is automatically migrated to the target tenant's workspace and the target tenant is granted the right to use it. If the transaction type is an offline transaction, the target tenant needs to upload the transaction voucher, that is, the information to be reviewed. For example, if it is a bank remittance, a receipt needs to be uploaded. If it is an online transaction, you can choose whether to upload the transaction voucher information. If the information to be reviewed passes the review, the service to be allocated can be automatically migrated to the workspace of the target tenant and the target tenant can be granted the right to use it. When the target tenant orders at least one of the services to be allocated from the service provider's SaaS application, AI model, and API service and generates an order, the order type of the service to be allocated can be determined. If the order type is a 0-yuan transaction, after confirming the order, shake the transaction page to directly enter the order center. The service provider can provide the target tenant with the access address of the service to be allocated in the shared mode. The target tenant can log in and use it with the provided trial account. When the expiration date is reached, the trial account will expire. If the order type is not a 0-yuan order, determine the service configuration mode of the service to be allocated. If the service configuration mode is a shared mode, determine the transaction type of the service to be allocated. If the transaction type is an online transaction, synchronize the account information of all associated users under the target tenant to the service to be allocated, and deploy the service to be allocated to the general service configuration. If the transaction type is an offline transaction, the target tenant is required to upload the transaction voucher, that is, the information to be reviewed. If the information to be reviewed passes the review, the account information of all associated users under the target tenant can be synchronized to the service to be allocated, and the service to be allocated can be deployed to the general service configuration. If the service configuration mode is exclusive mode, it is necessary to determine the transaction type of the service to be allocated. If the transaction type is an online transaction, the account information of all associated users under the target tenant is synchronized to the service to be allocated, and then check whether the target tenant's applied service configuration is sufficient to configure the service to be allocated, that is, whether it is compatible with the baseline service configuration of the service to be allocated. If so, the applied service configuration is used as the target service configuration, and the service to be allocated is deployed to the target service configuration.If the transaction type is an offline transaction, the target tenant is required to upload the transaction voucher, that is, the information to be reviewed. If the information to be reviewed passes the review, the account information of all associated users under the target tenant can be synchronized to the service to be allocated, and check whether the target tenant's applied service configuration is sufficient to configure the service to be allocated, that is, whether it is compatible with the benchmark service configuration of the service to be allocated. If so, the applied service configuration is used as the target service configuration, and the service to be allocated is deployed to the target service configuration. The background creates an instance to generate the target service with one click. After the target tenant has a 0 yuan transaction gadget and generates an order, you can directly enter the order center by shaking the delivery page. The list page of the order center provides the access address of the gadget. It should be noted that when the service provider creates the service to be allocated, packages it and uploads it to the application platform, it provides the service access address. After the transaction review is passed, it can be uploaded to the workspace of the target tenant by itself, so that the target tenant can enter the service through the service access address and use it.

[0062] Based on the above scheme, for example, in the application market at the front desk of the energy industry industrial Internet platform portal, the service ordering operation is currently open only to the target tenant. The target tenant can order the service on the service application page. If a visitor or an ordinary user under the target tenant clicks the order button, it will prompt to contact the target tenant. Currently, there are two types of transactions: online transactions and offline transactions. Among them, online transactions support platform account transactions and other online transaction methods. Offline transactions require uploading transaction voucher information after the service order is generated. After the platform role reviews the transaction voucher information, the service order status will change to traded. Take the offline transaction of SaaS application as an example. After the service order is created and the transaction is successful, the service provider needs to enter the [Service Progress] in the order details of the order management of the [I am a service provider] console to confirm the transaction. After confirmation, the order delivery status will change to "Merchant confirmed". If the service provider wants to provide a trial version of the service to users, it can set corresponding restrictions in the service transaction configuration of the trial version of the service, such as 0 yuan transaction, target tenant number limit, validity period, etc. There are two service allocation modes for non-zero-yuan transactions: shared mode and exclusive mode. The shared mode can be understood as server resources being shared by everyone. When the service provider receives the target tenant's successful order information, it can synchronize the account information of all associated users under the target tenant and provide the account and password for access. In the exclusive mode, the service provider must first check whether the target tenant's resource situation (the service configuration has been applied for) is sufficient to meet the configuration of the service to be allocated. If it is sufficient, the backend will create an instance with one click. If the resources are insufficient, it is necessary to apply for IaaS resources. When the target tenant's resource situation (the service configuration has been applied for) is sufficient to meet the configuration of the service to be allocated, the target service is generated.

[0063] The technical solution of this embodiment, by determining the service allocation mode corresponding to the service to be allocated when receiving a service allocation request, determining the target service configuration corresponding to the service to be allocated based on the service allocation mode, the general service configuration corresponding to the service to be allocated and the applied service configuration corresponding to the target tenant, and then determining the target service based on the service to be allocated, the target service configuration and at least one associated user associated with the target tenant, and generating a target access address corresponding to the target service, so that the target service is applied based on the trigger operation of the target access address, solving the problem that the delivered service does not meet the actual needs of the user and the user transaction experience is poor by directly delivering the service online in the prior art, and realizing that when allocating services to the target tenant, by determining the service allocation mode corresponding to the service to be allocated, determining the corresponding target service configuration for the service to be allocated, and configuring the service to be allocated based on the target service, and at the same time granting the use rights of the service to be allocated to all associated users under the target tenant, generating the target service, allocating services that meet the actual needs to the user, avoiding the associated user from arbitrarily customizing the service, improving the enterprise management specifications, and achieving the technical effect of improving the user transaction experience. . At the same time, based on this technical solution, the problems of online and offline transaction services of energy enterprises can be well solved, and the functions of the industrial Internet platform application market can be enriched.

[0064] Embodiment 3

[0065] Figure 3 This is a structural block diagram of a service determination device provided by Embodiment 3 of the present invention. The device comprises: a service allocation mode acquisition module 310 , a target service configuration determination module 320 and a target access address generation module 330 .

[0066] Among them, the service allocation mode acquisition module 310 is used to determine the service allocation mode corresponding to the service to be allocated when a service allocation request is received; wherein the service allocation mode includes an exclusive mode and a shared mode; the target service configuration determination module 320 is used to determine the target service configuration corresponding to the service to be allocated based on the service allocation mode, the general service configuration corresponding to the service to be allocated and the applied service configuration corresponding to the target tenant; the target access address generation module 330 is used to determine the target service based on the service to be allocated, the target service configuration and at least one associated user associated with the target tenant, and generate a target access address corresponding to the target service, so that the target service is applied based on the trigger operation of the target access address.

[0067] The technical solution of this embodiment, when receiving a service allocation request, determines the service allocation mode corresponding to the service to be allocated, determines the target service configuration corresponding to the service to be allocated based on the service allocation mode, the general service configuration corresponding to the service to be allocated and the applied service configuration corresponding to the target tenant, and then determines the target service based on the service to be allocated, the target service configuration and at least one associated user associated with the target tenant, and generates a target access address corresponding to the target service, so that the target service is applied based on the trigger operation of the target access address, which solves the problem in the prior art that the delivered service does not meet the actual needs of users and the user transaction experience is poor by directly delivering the service online, and realizes that when allocating services to the target tenant, by determining the service allocation mode corresponding to the service to be allocated, the corresponding target service configuration is determined for the service to be allocated, and the service to be allocated is configured based on the target service, and at the same time, the use right of the service to be allocated is granted to all associated users under the target tenant, and the target service is generated, and while allocating services that meet actual needs to users, it avoids the associated users from arbitrarily customizing services, improves enterprise management standards, and achieves the technical effect of improving user transaction experience.

[0068] On the basis of the above device, optionally, the service allocation mode acquisition module 310 includes a service allocation request receiving unit and a service allocation mode determining unit.

[0069] A service allocation request receiving unit, configured to receive a service allocation request generated based on a target tenant trigger operation;

[0070] The service allocation mode determining unit is used to parse the service allocation request to obtain the service allocation mode corresponding to the service to be allocated in the service allocation request.

[0071] On the basis of the above-mentioned device, optionally, the device further includes an information review module, wherein the information review module includes a unit for determining information to be reviewed, a unit for determining a target review result, and a review passing unit.

[0072] A pending-review information determination unit, configured to determine a transaction type in the service allocation request and receive pending-review information corresponding to the transaction type; wherein the transaction type includes an online transaction or an offline transaction;

[0073] A target audit result determination unit, used to audit the information to be audited and obtain a target audit result;

[0074] The service allocation mode determining unit is used to determine the service allocation mode corresponding to the service to be allocated if the target audit result is consistent with the preset audit result.

[0075] On the basis of the above device, the service allocation mode is an exclusive mode. Optionally, the target service configuration module 320 includes a first unit for determining the target service configuration.

[0076] The target service configuration determines a first unit, which is used to use the applied service configuration as the target service configuration corresponding to the service to be allocated if the applied service configuration corresponding to the target tenant is compatible with the reference service configuration corresponding to the service to be allocated; or

[0077] If the applied service configuration corresponding to the target tenant does not match the reference service configuration corresponding to the service to be allocated, the service configuration to be used is determined, and based on the service configuration to be used and the applied service configuration, the target service configuration corresponding to the service to be allocated is determined.

[0078] On the basis of the above device, the service allocation mode is a sharing mode. Optionally, the target service configuration module 320 includes a second unit for determining the target service configuration.

[0079] The target service configuration determines the second unit, which is used to obtain the common service configuration corresponding to the service to be allocated, and use the common service configuration as the target service configuration corresponding to the service to be allocated.

[0080] Based on the above device, optionally, the target access address generation module 320 includes a target service determination unit.

[0081] The target service determining unit is configured to perform instance processing on the service to be allocated based on the target service configuration and at least one associated user associated with the target tenant to obtain the target service.

[0082] On the basis of the above device, optionally, the target service determination unit includes an account information determination unit, a to-be-processed service determination unit and a target service creation unit.

[0083] An account information determining unit, configured to obtain account information corresponding to at least one associated user associated with the target tenant;

[0084] A service to be processed determining unit, used for synchronizing each account information to the service to be allocated to obtain the service to be processed;

[0085] The target service creation unit is used to process the service to be processed based on the target service configuration to create a target service.

[0086] The service determination device provided in the embodiment of the present invention can execute the service determination method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0087] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present invention.

[0088] Embodiment 4

[0089] Figure 4 This is a schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present invention. Figure 4 A block diagram of an exemplary electronic device 40 suitable for implementing exemplary embodiments of the present invention is shown. Figure 4 The electronic device 40 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0090] like Figure 4 As shown, the electronic device 40 is in the form of a general computing device. The components of the electronic device 40 may include but are not limited to: one or more processors or processing units 401, a system memory 402, and a bus 403 connecting different system components (including the system memory 402 and the processing unit 401).

[0091] Bus 403 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnect (PCI) bus.

[0092] The electronic device 40 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device 40, including volatile and non-volatile media, removable and non-removable media.

[0093] System memory 402 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 404 and / or cache memory 405. Electronic device 40 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 406 may be used to read and write non-removable, non-volatile magnetic media ( Figure 4 not shown, usually called a "hard drive"). Although Figure 4Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 403 via one or more data medium interfaces. Memory 402 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of various embodiments of the present invention.

[0094] A program / utility 408 having a set (at least one) of program modules 407 may be stored, for example, in memory 402, such program modules 407 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. Program modules 407 generally perform the functions and / or methods of the embodiments described herein.

[0095] The electronic device 40 may also communicate with one or more external devices 409 (e.g., keyboards, pointing devices, displays 410, etc.), may communicate with one or more devices that enable a user to interact with the electronic device 40, and / or may communicate with any device that enables the electronic device 40 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface 411. Furthermore, the electronic device 40 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 412. As shown, the network adapter 412 communicates with other modules of the electronic device 40 via the bus 403. It should be understood that although Figure 4 Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 40, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0096] The processing unit 401 executes various functional applications and data processing by running the programs stored in the system memory 402, such as implementing the service determination method provided in the embodiment of the present invention.

[0097] Embodiment 5

[0098] Embodiment 5 of the present invention further provides a storage medium containing computer executable instructions, wherein the computer executable instructions are used to perform a service determination method when executed by a computer processor. The method includes:

[0099] Upon receiving a service allocation request, determining a service allocation mode corresponding to the service to be allocated; wherein the service allocation mode includes an exclusive mode and a shared mode;

[0100] Determine a target service configuration corresponding to the service to be allocated based on the service allocation mode, the common service configuration corresponding to the service to be allocated, and the applied service configuration corresponding to the target tenant;

[0101] Based on the service to be allocated, the target service configuration and at least one associated user associated with the target tenant, a target service is determined, and a target access address corresponding to the target service is generated so that the target service is applied based on a trigger operation on the target access address.

[0102] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0103] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0104] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0105] Computer program code for performing the operation of embodiments of the present invention may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0106] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A service determination method, characterized in that: include: Upon receiving a service allocation request, determining a service allocation mode corresponding to the service to be allocated; wherein the service allocation mode includes an exclusive mode and a shared mode; Determine a target service configuration corresponding to the service to be allocated based on the service allocation mode, the common service configuration corresponding to the service to be allocated, and the applied service configuration corresponding to the target tenant; wherein the applied service configuration is an independent server resource that has been applied for and obtained; Determine a target service based on the service to be allocated, the target service configuration and at least one associated user associated with the target tenant, and generate a target access address corresponding to the target service so that the target service is applied based on a triggering operation on the target access address; The service allocation mode is an exclusive mode, and determining the target service configuration corresponding to the service to be allocated based on the service allocation mode, the general service configuration corresponding to the service to be allocated, and the applied service configuration corresponding to the target tenant includes: If the applied service configuration corresponding to the target tenant is compatible with the reference service configuration corresponding to the service to be allocated, the applied service configuration is used as the target service configuration corresponding to the service to be allocated; or, If the applied service configuration corresponding to the target tenant is incompatible with the reference service configuration corresponding to the service to be allocated, determining the service configuration to be used, and determining the target service configuration corresponding to the service to be allocated based on the service configuration to be used and the applied service configuration; The service allocation mode is a sharing mode, and determining the target service configuration corresponding to the service to be allocated based on the service allocation mode, the common service configuration corresponding to the service to be allocated, and the applied service configuration corresponding to the target tenant includes: The general service configuration corresponding to the service to be allocated is obtained, and the general service configuration is used as the target service configuration corresponding to the service to be allocated.

2. The method according to claim 1, characterized in that The step of determining a service allocation mode corresponding to the service to be allocated upon receiving the service allocation request comprises: receiving a service allocation request generated based on a target tenant trigger operation; The service allocation request is parsed to obtain a service allocation mode corresponding to the service to be allocated in the service allocation request.

3. The method according to claim 2, characterized in that After receiving the service allocation request generated based on the target tenant trigger operation, the method further includes: Determine the transaction type in the service allocation request, and receive the pending review information corresponding to the transaction type; wherein the transaction type includes online transactions or offline transactions; Review the information to be reviewed to obtain a target review result; If the target audit result is consistent with the preset audit result, a service allocation mode corresponding to the service to be allocated is determined.

4. The method according to claim 1, characterized in that: The determining the target service based on the service to be allocated, the target service configuration and at least one associated user associated with the target tenant includes: Based on the target service configuration and at least one associated user associated with the target tenant, instance processing is performed on the service to be allocated to obtain a target service.

5. The method according to claim 4, characterized in that The step of performing instance processing on the service to be allocated based on the target service configuration and at least one associated user associated with the target tenant to obtain the target service includes: Obtaining account information corresponding to at least one associated user associated with the target tenant; Synchronize each account information to the service to be assigned to obtain the service to be processed; The service to be processed is processed based on the target service configuration to create a target service.

6. A service determination device, characterized in that: include: A service allocation mode acquisition module, configured to determine a service allocation mode corresponding to the service to be allocated upon receiving a service allocation request; wherein the service allocation mode includes an exclusive mode and a shared mode; a target service configuration determination module, configured to determine a target service configuration corresponding to the service to be allocated based on the service allocation mode, the common service configuration corresponding to the service to be allocated, and the applied service configuration corresponding to the target tenant; wherein the applied service configuration is an independent server resource that has been applied for and obtained; a target access address generation module, configured to determine a target service based on the service to be allocated, the target service configuration and at least one associated user associated with the target tenant, and to generate a target access address corresponding to the target service so that the target service is applied based on a triggering operation on the target access address; The service allocation mode is an exclusive mode, and the target service configuration module includes a first unit for determining target service configuration; The target service configuration determining first unit is configured to use the applied service configuration as the target service configuration corresponding to the service to be allocated if the applied service configuration corresponding to the target tenant is compatible with the reference service configuration corresponding to the service to be allocated; or If the applied service configuration corresponding to the target tenant is incompatible with the reference service configuration corresponding to the service to be allocated, determining the service configuration to be used, and determining the target service configuration corresponding to the service to be allocated based on the service configuration to be used and the applied service configuration; The service allocation mode is a sharing mode, and the target service configuration module includes a target service configuration determining second unit; The target service configuration determines a second unit, which is used to obtain a common service configuration corresponding to the service to be allocated, and use the common service configuration as a target service configuration corresponding to the service to be allocated; The target access address generation module includes a target service determination unit; The target service determining unit is configured to perform instance processing on the service to be allocated based on the target service configuration and at least one associated user associated with the target tenant to obtain the target service.

7. An electronic device, characterized in that: The device comprises: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the service determination method as described in any one of claims 1 to 5.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the service determination method as described in any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Container cloud computing service platform based on resource pool

    CN111352737A

  • Micro-service-based request processing method and device, electronic equipment and medium

    CN113824712A