CN112637328A - Cloud service method, device, equipment and storage medium - Google Patents

Cloud service method, device, equipment and storage medium Download PDF

Info

Publication number
CN112637328A
CN112637328A CN202011519718.3A CN202011519718A CN112637328A CN 112637328 A CN112637328 A CN 112637328A CN 202011519718 A CN202011519718 A CN 202011519718A CN 112637328 A CN112637328 A CN 112637328A
Authority
CN
China
Prior art keywords
tenant
namespace
service
target
subsystem
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
CN202011519718.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.)
Shanghai Sensetime Intelligent Technology Co Ltd
Original Assignee
Shanghai Sensetime Intelligent Technology 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 Shanghai Sensetime Intelligent Technology Co Ltd filed Critical Shanghai Sensetime Intelligent Technology Co Ltd
Priority to CN202011519718.3A priority Critical patent/CN112637328A/en
Publication of CN112637328A publication Critical patent/CN112637328A/en
Priority to PCT/CN2021/136850 priority patent/WO2022135167A1/en
Priority to TW110147089A priority patent/TW202225996A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Abstract

Disclosed are a cloud service method, apparatus, device and storage medium, wherein the method comprises: the method comprises the following steps: obtaining a service request of at least one tenant, wherein each tenant corresponds to a namespace, each namespace corresponds to at least one AI cloud service provided by the AI cloud platform system, and the AI cloud service is realized by at least one subsystem; responding to that the target cloud service requested by the tenant belongs to the namespace of the tenant, and providing the service by using a target subsystem corresponding to the target cloud service.

Description

Cloud service method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a cloud service method, apparatus, device, and storage medium.
Background
With the rapid development of cloud computing technology, cloud platforms are more and more widely applied. The existing cloud computing platform generally adopts a method of virtualizing physical resources to realize a multi-tenant system so as to support different tenants to independently use computing services at the cloud, but the method has the problems of heavy resource use, high management and use overhead and the like.
Disclosure of Invention
The present disclosure provides a cloud service scheme.
According to one aspect of the disclosure, a cloud service method is provided, which is applied to an Artificial Intelligence (AI) cloud platform system, wherein the AI cloud platform system comprises a plurality of subsystems; the method comprises the following steps: obtaining a service request of at least one tenant, wherein each tenant corresponds to a namespace, each namespace corresponds to at least one AI cloud service provided by the AI cloud platform system, and the AI cloud service is realized by at least one subsystem; responding to that the target cloud service requested by the tenant belongs to the namespace of the tenant, and providing the service by using a target subsystem corresponding to the target cloud service.
In combination with any one of the embodiments provided by the present disclosure, the providing a service by using a target subsystem corresponding to the target cloud service includes: acquiring data to be processed aiming at the target cloud service; processing the data to be processed by utilizing the target subsystem; and transmitting and/or storing the data generated by the target subsystem under the name space corresponding to the tenant sending the service request.
In conjunction with any embodiment provided by the present disclosure, the transmitting and/or storing the data generated by the target subsystem under the namespace corresponding to the tenant that issued the service request includes at least one of the following manners: transmitting and/or storing data generated by the target subsystem with the name space identifier of the tenant sending the service request; and transmitting the data generated by the target subsystem in a channel corresponding to the namespace of the tenant sending the service request, and/or storing the data in a storage space corresponding to the namespace of the tenant sending the service request.
In combination with any embodiment provided by the present disclosure, the method further comprises: receiving tenant information, wherein the tenant information is used for indicating the authority of a tenant on at least one cloud service provided by the AI cloud platform system; and creating a name space corresponding to the tenant according to the tenant information, and/or establishing a corresponding relation between the name space and the subsystem.
In connection with any of the embodiments provided by the present disclosure, each of the subsystems has namespace resources; the establishing of the corresponding relationship between the name space and the subsystem according to the tenant information comprises: and mapping the namespace identifier corresponding to the tenant to the namespace resource information of the subsystem with the permission of the tenant.
In combination with any embodiment provided by the present disclosure, the method further comprises: mapping a service request of the at least one tenant into a namespace request, wherein the namespace request is used for indicating a namespace corresponding to the tenant and a target cloud service requested by the tenant; the providing the service by using the target subsystem corresponding to the target cloud service comprises: and determining a target subsystem corresponding to the target cloud service according to the namespace request.
In combination with any embodiment provided by the present disclosure, the AI cloud platform system at least includes at least one interface gateway, and the interface gateway is configured to obtain a namespace request of the at least one tenant, and call the target subsystem to provide a service according to the namespace request.
According to one aspect of the disclosure, a cloud service device is provided, which is applied to an artificial intelligence AI cloud platform system, wherein the AI cloud platform system comprises a plurality of subsystems; the device comprises: the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a service request of at least one tenant, each tenant corresponds to a namespace, each namespace corresponds to at least one AI cloud service provided by the AI cloud platform system, and the AI cloud service is realized by at least one subsystem; the service unit is used for responding to the name space of the tenant of the target cloud service requested by the tenant, and providing the service by using the target subsystem corresponding to the target cloud service.
In combination with any one of the embodiments provided by the present disclosure, the service unit is specifically configured to: acquiring data to be processed aiming at the target cloud service; processing the data to be processed by utilizing the target subsystem; and transmitting and/or storing the data generated by the target subsystem under the name space corresponding to the tenant sending the service request.
In connection with any embodiment provided by the present disclosure, when the service unit is configured to transmit and/or store data generated by the target subsystem in a namespace corresponding to a tenant that issued the service request, the service unit is specifically configured to: transmitting and/or storing data generated by the target subsystem with a namespace identifier corresponding to a tenant sending the service request; and transmitting the data generated by the target subsystem in a channel corresponding to the tenant sending the service request, and/or storing the data in a storage space corresponding to the tenant sending the service request.
In combination with any one of the embodiments provided by the present disclosure, the apparatus further includes an establishing unit, configured to receive tenant information, where the tenant information is used to indicate an authority of a tenant for at least one cloud service provided by the AI cloud platform system; and creating a name space corresponding to the tenant according to the tenant information, and/or establishing a corresponding relation between the name space and the subsystem.
In connection with any of the embodiments provided by the present disclosure, each of the subsystems has namespace resource information; the establishing unit, when being configured to establish a corresponding relationship between a namespace and the subsystem according to the tenant information, is specifically configured to: and mapping the namespace identifier corresponding to the tenant to the namespace resource information of the subsystem with the permission of the tenant.
In connection with any embodiment provided by the present disclosure, the apparatus further includes a determining unit, configured to map a service request of the at least one tenant into a namespace request, where the namespace request is used to indicate a namespace corresponding to the tenant and a target cloud service requested by the tenant; when the service unit provides a service by using a target subsystem corresponding to the target cloud service, the service unit is specifically configured to: and determining a target subsystem corresponding to the target cloud service according to the namespace request.
In combination with any embodiment provided by the present disclosure, the AI cloud platform system at least includes at least one interface gateway, and the interface gateway is configured to obtain a namespace request of the at least one tenant, and call the target subsystem to provide a service according to the namespace request.
According to an aspect of the present disclosure, there is provided an electronic device comprising a memory and a processor, the memory storing computer instructions executable on the processor, the processor being configured to execute the computer instructions to implement a cloud service method of any embodiment provided by the present disclosure.
According to an aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements the cloud service method of any embodiment provided by the present disclosure.
In the embodiment of the disclosure, an AI cloud platform system applied by a cloud service method includes a plurality of subsystems, the AI cloud platform system provides services capable of providing a plurality of cloud services, each cloud service is implemented by at least one subsystem, a service request of at least one tenant is acquired, each tenant corresponds to one namespace, each namespace corresponds to at least one AI cloud service provided by the AI cloud platform system, and in response to that a target cloud service requested by the tenant belongs to the namespace of the tenant, the target subsystem corresponding to the target cloud service is used for providing the service, so that multi-tenant design of the AI cloud service system and lightweight virtualization of a computing service layer can be realized; in addition, the sub-services which can be realized by each subsystem are recombined and arranged, so that other cloud services can be customized on the basis of the existing algorithms and service functions provided by the cloud platform system, and the provided AI cloud service has higher flexibility.
Drawings
In order to more clearly illustrate one or more embodiments or technical solutions in the prior art in the present specification, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in one or more embodiments of the present specification, and other drawings can be obtained by those skilled in the art without inventive exercise.
Fig. 1 is a flowchart of a cloud service method according to at least one embodiment of the present disclosure;
fig. 2 is a block diagram of a cloud platform system according to at least one embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a cloud service device according to at least one embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an electronic device according to at least one embodiment of the present disclosure.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in one or more embodiments of the present disclosure, the technical solutions in one or more embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in one or more embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all embodiments. All other embodiments that can be derived by one of ordinary skill in the art from one or more embodiments of the disclosure without making any creative effort shall fall within the scope of protection of the disclosure.
Fig. 1 is a flowchart of a cloud service method according to at least one embodiment of the present disclosure. The method is applied to an Artificial Intelligence (AI) cloud platform system, and the AI cloud platform system comprises a plurality of subsystems. As shown in fig. 1, a cloud service method provided by at least one embodiment of the present disclosure may include steps 101 to 102.
In step 101, a service request of at least one tenant is obtained.
In the embodiment of the disclosure, an AI cloud platform system applied by the cloud service method is used for providing cloud AI services to tenants in a cloud computing manner, where the AI cloud services include but are not limited to at least one of the following service items: the method comprises the steps of picture stream library-in, video stream creation, portrait analysis, structured analysis, video stream analysis, audio stream analysis, portrait library creation and the like, wherein the portrait analysis comprises but is not limited to operations of face recognition and the like, and the structured analysis operation comprises but is not limited to operations of classifying and analyzing other objects in front of a face, such as vehicles, human body parts, animals, plants, buildings and the like.
The AI cloud platform system may include a plurality of subsystems, each subsystem for performing at least one sub-service, such as a data access service, a data storage service, a data processing service, and the like. Each of the plurality of AI services provided by the AI cloud platform system is implemented by at least one subsystem, that is, one or more AI services can be implemented together through cooperation among the subsystems, including transmission of data, parameters, and instructions. For example, the video streaming face parsing service may be implemented by a data access subsystem, a video streaming face parsing subsystem, a data storage subsystem, and the like.
In the embodiment of the disclosure, each tenant corresponds to one namespace, and each namespace corresponds to at least one AI cloud service provided by the AI cloud platform system. That is, each tenant is mapped to a namespace of the cloud platform system, and a corresponding relationship between the namespace and the AI cloud service is established according to the authority of the AI cloud service possessed by the tenant, that is, the AI cloud service purchased by the tenant.
In step 102, in response to that the target cloud service requested by the tenant belongs to the namespace of the tenant, providing a service by using a target subsystem corresponding to the target cloud service.
The acquired service request of the tenant includes a target cloud service requested by the tenant, and the target service may be a request for an AI cloud service provided by an AI cloud platform system, such as a video stream facial resolution service request, an audio stream chinese resolution service request, and the like.
Since each AI cloud service in the cloud platform system is implemented by at least one subsystem, a target subsystem of the target cloud service may be executed for the target cloud service requested by the tenant.
And under the condition that the target cloud service requested by the tenant belongs to the namespace of the tenant, namely the tenant calls the AI cloud service, providing the service by using a target subsystem corresponding to the target cloud service.
For example, when the service request of the tenant is used to request an audio stream parsing service, if the namespace of the tenant includes the audio stream parsing service, a data access subsystem, a video stream face parsing subsystem, and a data storage subsystem that execute the video parsing service may be invoked to provide services together.
In the embodiment of the disclosure, an AI cloud platform system applied by a cloud service method includes a plurality of subsystems, the AI cloud platform system provides services capable of providing a plurality of cloud services, each cloud service is implemented by at least one subsystem, a service request of at least one tenant is acquired, each tenant corresponds to one namespace, each namespace corresponds to at least one AI cloud service provided by the AI cloud platform system, and in response to that a target cloud service requested by the tenant belongs to the namespace of the tenant, the target subsystem corresponding to the target cloud service is used for providing the service, so that multi-tenant design of the AI cloud service system and lightweight virtualization of a computing service layer can be realized; in addition, the sub-services which can be realized by each subsystem are recombined and arranged, so that other cloud services can be customized on the basis of the existing algorithms and service functions provided by the cloud platform system, and the provided AI cloud service has higher flexibility.
In some embodiments, a service may be provided by a target subsystem corresponding to the target cloud service by the following method.
Firstly, data to be processed for the target cloud service is acquired. The to-be-processed data may be data uploaded by a tenant for a requested target cloud service, or data of sensor data or other data sources acquired by a cloud platform system for the target cloud service, and the like. Then, the target subsystem is utilized to process the data to be processed, and the data generated by the target subsystem is transmitted and/or stored under the name space corresponding to the tenant sending the service request.
In an example, data generated by the target subsystem when the target service is executed may be transmitted and/or stored with a namespace identifier corresponding to a tenant that issues the service request, and then, for the data transmitted or stored in the AI cloud platform system, a namespace to which the data belongs may be determined, thereby implementing data isolation between multiple tenants. Specifically, the AI processing logic corresponding to the namespace, and data, machine learning models, feature data, configuration data, and the like generated during processing, all carry the namespace identifier for transmission and/or storage, thereby implementing lightweight virtualization of the AI cloud platform, and service isolation and data isolation at the AI service level.
In an example, the data generated by the target subsystem may be transmitted in a channel corresponding to a namespace of a tenant that issues the service request, and/or stored in a storage space corresponding to a namespace of a tenant that issues the service request, that is, the data belonging to different namespaces are transmitted through different channels and stored in different storage areas, so that the data is transmitted and/or stored in a namespace isolation manner, thereby implementing isolation of different namespace data. The subsystem can enable the transmitted and/or stored data to carry the name space identification, transmit the data of different name spaces through different channels and store the data of different name spaces in different areas, and therefore isolation of the data of different name spaces is achieved.
In the disclosed embodiment, the target subsystem supporting the namespace analyzes and processes the data to be processed, and performs operations such as isolation and scheduling on the processed data according to the namespace. The tenant only needs to purchase the required service, and the AI cloud platform system can configure the calling authority of the corresponding subsystem for the name space to which the tenant belongs, so that the requested target service can be realized, independent resources do not need to be purchased, and the investment in physical resources is reduced.
In the embodiment of the disclosure, one tenant may include multiple users, that is, the users included in the tenant may request an AI cloud service through a namespace corresponding to the tenant; meanwhile, the user can also access a plurality of tenants through authorization.
In some embodiments, the cloud service method further comprises: receiving tenant information, wherein the tenant information is used for indicating the authority of a tenant on at least one cloud service provided by the AI cloud platform system; and creating a name space corresponding to the tenant according to the tenant information, and/or establishing a corresponding relation between the name space and the subsystem. That is to say, in the AI cloud service method, a namespace may be created according to tenant information, and permission of one or more AI algorithm functions is granted to the namespace according to a right of a tenant for a cloud service, so that the namespace obtains a use right of a subsystem corresponding to the AI algorithm function.
The tenant information generally includes basic information of the tenant, such as a tenant name, a tenant attribute, and the like registered by the tenant in the cloud platform system, and may further include authority information of the tenant, where the authority information indicates an authority of the tenant for at least one cloud service provided by the AI cloud platform system, that is, a service item purchased by the tenant.
In some embodiments, the cloud platform system further includes a namespace control module for managing a namespace corresponding to the tenant. The namespace control module can be an independent module in a cloud platform system and can also be a module in the subsystem, specifically, the namespace control module can be used for receiving tenant information and creating a namespace corresponding to the tenant according to basic information in the tenant information, wherein the namespace identifier is obtained by mapping the tenant identifier, and the corresponding relation between the namespace and the subsystem is established according to authority information in the tenant information, namely, the use authority of the subsystem is allocated to the namespace.
Specifically, the namespace identifier corresponding to the tenant may be mapped to the namespace resource and logic of the subsystem that the tenant has permission to, that is, data generated by the target subsystem when executing the target service may be transmitted and/or stored in the namespace indicated by the namespace identifier.
In some embodiments, for a namespace corresponding to an existing tenant, a corresponding relationship between the namespace and a subsystem may also be established according to authority information in the tenant information; the corresponding relationship between the namespace and the subsystem (sub-service) can be changed by changing the authority information in the tenant information, that is, the sub-service arrangement in the namespace can be changed.
The namespace control module may be further to at least one of:
reading, updating and deleting the namespace;
controlling the life cycle of data under the name space;
authentication and authentication of the name space identifier;
tenant management and tenant organizational structure management.
In some embodiments, the namespace identification may be utilized to indicate the namespace corresponding to the tenant making the service request. The namespace identification is unique to a service request to table unique tenants requesting the service.
In some embodiments, the service request of the at least one tenant may be mapped to a namespace request indicating a namespace corresponding to the tenant and a target cloud service requested by the tenant; according to the namespace request, a target subsystem corresponding to the target cloud service can be determined.
In some embodiments, the namespace request includes a namespace identifier corresponding to a tenant, and a subsystem for which the tenant performing the request has a use permission can be determined according to the namespace identifier; in combination with the target cloud service included in the namespace request, the processing logic of the service can be realized to determine the sub-services to be called, that is, the subsystems to be called for executing the sub-services can be determined, so that the target subsystems which need to be called and can be called by the namespace request can be determined.
In one example, a tenant's service request may be mapped to a namespace request by an AI service virtualization Operating System (OS).
The AI service virtualization operating system provided by the embodiment of the present disclosure belongs to a scheduling and management system of virtual resources, and compared with a general virtualization operating system, the system does not monitor and schedule a CPU, a memory, and the like, but monitors and schedules virtualized resources such as AI computing power/data provided by an AI cloud platform system.
In this disclosure, the minimum function scheduling unit of the AI cloud platform system is a minimum unit providing an algorithm and a function in a namespace. For example, the video stream parsing service may be the smallest scheduling unit in the namespace, that is, the video stream parsing service may not be split into more specific services for calling.
For example, when the namespace request of the tenant includes a namespace identifier "42514", the namespace corresponding to the tenant may be determined according to the namespace identifier, and a subsystem corresponding to the namespace, that is, a subsystem to which the tenant has a use right, may be determined. Next, according to a target service included in the namespace request, for example, a video stream face parsing service request, determining processing logic, for example, determining that the video stream face parsing service can be completed jointly through sub-services such as data access, video stream face parsing, data storage, and the like, so that it can be determined that the sub-systems required to be invoked for executing the target request include a data access sub-system, a face parsing sub-system, and a data storage sub-system. When the subsystem corresponding to the namespace "42514" includes the above subsystem, it may be determined that the above subsystem is a target subsystem, and the target subsystem may be called to execute a video streaming face parsing service on the processing data acquired by the data access subsystem.
In the embodiment of the present disclosure, the AI cloud platform system at least includes at least one interface gateway, and the interface gateway is configured to obtain a namespace request of the at least one tenant, and call the target subsystem to provide a service according to the namespace request.
In some embodiments, the Interface gateway may include an Application Programming Interface (API) for providing services to the outside, that is, an outlet of the cloud platform system.
In some embodiments, the interface device may include a separate API for each subsystem. The format of the API may include, but is not limited to, one or more of the following: RESTFUL, CLI, XML, JSON, TCP/UDP, HTTP/HTTPS, and the like. And all subsystems are interacted and called through an API (application programming interface) so as to realize service functions together. The interaction among the subsystems supports various forms, such as HTTP, protocol buffer data serialization protocol, TCP/UDP and the like. The namespace can also be implemented in the API of the subsystems, so that interactions between the subsystems also support the namespace mechanism. And after entering the cloud platform system from the cloud platform system and an external API, the namespace identifier runs through the whole API process and the whole life cycle of the data. For example, the data transmitted between the subsystems always carries the name space identifier, and the processing performed after the data enters the subsystems also carries the name space identifier.
In embodiments of the present disclosure, the namespace may be a mechanism implemented in the API, for example, by adding namespace fields or structures and other arbitrary forms of data structures representing namespaces in the API. Taking an HTTP formatted API as an example, the namespace identifier may be an integer type field in an HTTP message header (header), such as "42514" in "AI _ namespace: 42514".
Fig. 2 is a structural diagram of an AI cloud platform system according to at least one embodiment of the present disclosure. For simplicity, fig. 2 shows some subsystems in the AI cloud platform system, and those skilled in the art will understand that fig. 2 is only an example, and the AI cloud platform system may further include other subsystems.
As shown in fig. 2, a service request sent by a tenant 1 to an AI cloud platform system is used to request a target cloud service of multiple AI cloud services provided by the AI cloud platform system: the video streaming human face analysis service uploads data to be processed to the AI cloud platform system, wherein the data to be processed can be data from a data source or data from a sensor.
The service request of the tenant 1 is mapped into a namespace request by the AI service virtualization OS 201, and the namespace request includes a namespace identifier obtained by mapping the tenant name and a target cloud service requested by the tenant 1. This namespace is created by namespace control module 203, in this example the namespace of tenant 1 is identified as "ns-1". Wherein the namespace indicated by the namespace identifier is read by the namespace control module 203 in the AI cloud platform system.
In FIG. 2, subsystems 204-209 of tenant 1 with usage right are shown, wherein each subsystem transmits and/or stores processing data under the namespace corresponding to the namespace identifier "ns-1" when receiving an instruction or data containing the namespace identifier "ns-1",
the light-weight virtualization of the AI cloud platform, the service isolation and the data isolation on the AI service level are realized.
Fig. 3 is a schematic structural diagram of a cloud service apparatus according to at least one embodiment of the present disclosure, as shown in fig. 3, applied to an artificial intelligence AI cloud platform system, where the AI cloud platform system includes a plurality of subsystems; the device comprises: an obtaining unit 301, configured to obtain a service request of at least one tenant, where each tenant corresponds to a namespace, each namespace corresponds to at least one AI cloud service provided by the AI cloud platform system, and the AI cloud service is implemented by at least one subsystem; a service unit 302, configured to provide a service using a target subsystem corresponding to a target cloud service in response to that the target cloud service requested by the tenant belongs to the namespace of the tenant.
In some embodiments, the service unit is specifically configured to: acquiring data to be processed aiming at the target cloud service; processing the data to be processed by utilizing the target subsystem; and transmitting and/or storing the data generated by the target subsystem under the name space corresponding to the tenant sending the service request.
In some embodiments, when the service unit is configured to transmit and/or store data generated by the target subsystem in a namespace corresponding to a tenant that issued the service request, the service unit is specifically configured to: transmitting and/or storing data generated by the target subsystem with a namespace identifier corresponding to a tenant sending the service request; and transmitting the data generated by the target subsystem in a channel corresponding to the tenant sending the service request, and/or storing the data in a storage space corresponding to the tenant sending the service request.
In some embodiments, the apparatus further includes an establishing unit configured to receive tenant information indicating an authority of a tenant for at least one cloud service provided by the AI cloud platform system; and creating a name space corresponding to the tenant according to the tenant information, and/or establishing a corresponding relation between the name space and the subsystem.
In some embodiments, each of the subsystems has namespace resource information; the establishing unit, when being configured to establish a corresponding relationship between a namespace and the subsystem according to the tenant information, is specifically configured to: and mapping the namespace identifier corresponding to the tenant to the namespace resource information of the subsystem with the permission of the tenant.
In some embodiments, the apparatus further includes a determining unit, configured to map a service request of the at least one tenant into a namespace request, where the namespace request indicates a namespace corresponding to the tenant and a target cloud service requested by the tenant; when the service unit provides a service by using a target subsystem corresponding to the target cloud service, the service unit is specifically configured to: and determining a target subsystem corresponding to the target cloud service according to the namespace request.
In some embodiments, the AI cloud platform system includes at least one interface gateway, and the interface gateway is configured to obtain a namespace request of the at least one tenant and call the target subsystem to provide a service according to the namespace request.
Fig. 4 is an electronic device provided in at least one embodiment of the present disclosure, and the electronic device includes a memory and a processor, where the memory is configured to store computer instructions executable on the processor, and the processor is configured to execute the computer instructions to implement the cloud service method according to any embodiment of the present specification.
At least one embodiment of the present specification also provides a computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing the cloud service method according to any one of the embodiments of the present specification.
As will be appreciated by one skilled in the art, one or more embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the data processing apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to part of the description of the method embodiment.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the acts or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Embodiments of the subject matter and the functional operations described in this specification can be implemented in: digital electronic circuitry, tangibly embodied computer software or firmware, computer hardware including the structures disclosed in this specification and their structural equivalents, or a combination of one or more of them. Embodiments of the subject matter described in this specification can be implemented as one or more computer programs, i.e., one or more modules of computer program instructions, encoded on a tangible, non-transitory program carrier for execution by, or to control the operation of, data processing apparatus. Alternatively or additionally, the program instructions may be encoded on an artificially generated propagated signal, e.g., a machine-generated electrical, optical, or electromagnetic signal, that is generated to encode and transmit information to suitable receiver apparatus for execution by the data processing apparatus. The computer storage medium may be a machine-readable storage device, a machine-readable storage substrate, a random or serial access memory device, or a combination of one or more of them.
The processes and logic flows described in this specification can be performed by one or more programmable computers executing one or more computer programs to perform corresponding functions by operating on input data and generating output. The processes and logic flows can also be performed by, and apparatus can also be implemented as, special purpose logic circuitry, e.g., an FPGA (field programmable gate array) or an ASIC (application-specific integrated circuit).
Computers suitable for executing computer programs include, for example, general and/or special purpose microprocessors, or any other type of central processing unit. Generally, a central processing unit will receive instructions and data from a read-only memory and/or a random access memory. The basic components of a computer include a central processing unit for implementing or executing instructions and one or more memory devices for storing instructions and data. Generally, a computer will also include, or be operatively coupled to receive data from or transfer data to, or both, one or more mass storage devices for storing data, e.g., magnetic, magneto-optical disks, or optical disks. However, a computer does not necessarily have such a device. Moreover, a computer may be embedded in another device, e.g., a mobile telephone, a Personal Digital Assistant (PDA), a mobile audio or video player, a game console, a Global Positioning System (GPS) receiver, or a portable storage device such as a Universal Serial Bus (USB) flash drive, to name a few.
Computer-readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media and memory devices, including by way of example semiconductor memory devices (e.g., EPROM, EEPROM, and flash memory devices), magnetic disks (e.g., an internal hard disk or a removable disk), magneto-optical disks, and CD ROM and DVD-ROM disks. The processor and the memory can be supplemented by, or incorporated in, special purpose logic circuitry.
While this specification contains many specific implementation details, these should not be construed as limitations on the scope of any invention or of what may be claimed, but rather as descriptions of features specific to particular embodiments of particular inventions. Certain features that are described in this specification in the context of separate embodiments can also be implemented in combination in a single embodiment. In other instances, features described in connection with one embodiment may be implemented as discrete components or in any suitable subcombination. Moreover, although features may be described above as acting in certain combinations and even initially claimed as such, one or more features from a claimed combination can in some cases be excised from the combination, and the claimed combination may be directed to a subcombination or variation of a subcombination.
Similarly, while operations are depicted in the drawings in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. In some cases, multitasking and parallel processing may be advantageous. Moreover, the separation of various system modules and components in the embodiments described above should not be understood as requiring such separation in all embodiments, and it should be understood that the described program components and systems can generally be integrated together in a single software product or packaged into multiple software products.
Thus, particular embodiments of the subject matter have been described. Other embodiments are within the scope of the following claims. In some cases, the actions recited in the claims can be performed in a different order and still achieve desirable results. Further, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some implementations, multitasking and parallel processing may be advantageous.
The above description is only for the purpose of illustrating the preferred embodiments of the one or more embodiments of the present disclosure, and is not intended to limit the scope of the one or more embodiments of the present disclosure, and any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the one or more embodiments of the present disclosure should be included in the scope of the one or more embodiments of the present disclosure.

Claims (10)

1. The cloud service method is characterized by being applied to an Artificial Intelligence (AI) cloud platform system, wherein the AI cloud platform system comprises a plurality of subsystems; the method comprises the following steps:
obtaining a service request of at least one tenant, wherein each tenant corresponds to a namespace, each namespace corresponds to at least one AI cloud service provided by the AI cloud platform system, and the AI cloud service is realized by at least one subsystem;
responding to that the target cloud service requested by the tenant belongs to the namespace of the tenant, and providing the service by using a target subsystem corresponding to the target cloud service.
2. The method of claim 1, wherein providing the service using the target subsystem corresponding to the target cloud service comprises:
acquiring data to be processed aiming at the target cloud service;
processing the data to be processed by utilizing the target subsystem;
and transmitting and/or storing the data generated by the target subsystem under the name space corresponding to the tenant sending the service request.
3. The method according to claim 2, wherein the transmitting and/or storing the data generated by the target subsystem in the namespace corresponding to the tenant that issued the service request comprises at least one of:
transmitting and/or storing data generated by the target subsystem with the name space identifier of the tenant sending the service request;
and transmitting the data generated by the target subsystem in a channel corresponding to the namespace of the tenant sending the service request, and/or storing the data in a storage space corresponding to the namespace of the tenant sending the service request.
4. The method according to any one of claims 1 to 3, further comprising:
receiving tenant information, wherein the tenant information is used for indicating the authority of a tenant on at least one cloud service provided by the AI cloud platform system;
and creating a name space corresponding to the tenant according to the tenant information, and/or establishing a corresponding relation between the name space and the subsystem.
5. The method of claim 4, wherein each of the subsystems has namespace resource information; the establishing of the corresponding relationship between the name space and the subsystem according to the tenant information comprises:
and mapping the namespace identifier corresponding to the tenant to the namespace resource of the subsystem with the permission of the tenant.
6. The method according to any one of claims 1 to 5, further comprising:
mapping a service request of the at least one tenant into a namespace request, wherein the namespace request is used for indicating a namespace corresponding to the tenant and a target cloud service requested by the tenant;
the providing the service by using the target subsystem corresponding to the target cloud service comprises:
and determining a target subsystem corresponding to the target cloud service according to the namespace request.
7. The method according to claim 6, wherein the AI cloud platform system comprises at least one interface gateway, and the interface gateway is configured to obtain a namespace request of the at least one tenant and invoke the target subsystem to provide a service according to the namespace request.
8. The cloud service device is applied to an Artificial Intelligence (AI) cloud platform system, and the AI cloud platform system comprises a plurality of subsystems; the device comprises:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a service request of at least one tenant, each tenant corresponds to a namespace, each namespace corresponds to at least one AI cloud service provided by the AI cloud platform system, and the AI cloud service is realized by at least one subsystem;
the service unit is used for responding to the name space of the tenant of the target cloud service requested by the tenant, and providing the service by using the target subsystem corresponding to the target cloud service.
9. An electronic device comprising a memory and a processor, the memory storing computer instructions executable on the processor, the processor being configured to execute the computer instructions to implement the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of any one of claims 1 to 7.
CN202011519718.3A 2020-12-21 2020-12-21 Cloud service method, device, equipment and storage medium Pending CN112637328A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202011519718.3A CN112637328A (en) 2020-12-21 2020-12-21 Cloud service method, device, equipment and storage medium
PCT/CN2021/136850 WO2022135167A1 (en) 2020-12-21 2021-12-09 Cloud service method and apparatus, device and storage medium
TW110147089A TW202225996A (en) 2020-12-21 2021-12-16 Cloud service methods and apparatuses, devices and storage media

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011519718.3A CN112637328A (en) 2020-12-21 2020-12-21 Cloud service method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112637328A true CN112637328A (en) 2021-04-09

Family

ID=75320528

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011519718.3A Pending CN112637328A (en) 2020-12-21 2020-12-21 Cloud service method, device, equipment and storage medium

Country Status (3)

Country Link
CN (1) CN112637328A (en)
TW (1) TW202225996A (en)
WO (1) WO2022135167A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114422456A (en) * 2022-03-31 2022-04-29 阿里云计算有限公司 Task processing method and device
CN115981847A (en) * 2022-12-14 2023-04-18 北京百度网讯科技有限公司 Service grid deployment method and device, electronic equipment and storage medium
CN116389194A (en) * 2023-06-06 2023-07-04 天津市天河计算机技术有限公司 VPN service generation method, system, equipment and medium based on cloud computing platform

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115766725B (en) * 2022-12-06 2023-11-07 北京国联视讯信息技术股份有限公司 Data processing method and system based on industrial Internet

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120215918A1 (en) * 2011-02-21 2012-08-23 Microsoft Corporation Multi-tenant services gateway
US20140040999A1 (en) * 2012-03-19 2014-02-06 Empire Technology Development Llc Hybrid multi-tenancy cloud platform
US20140101299A1 (en) * 2012-10-06 2014-04-10 International Business Machines Corporation Techniques for implementing information services with tentant specific service level agreements
CN110198231A (en) * 2018-05-08 2019-09-03 腾讯科技(深圳)有限公司 Capacitor network management method and system and middleware for multi-tenant
CN110990150A (en) * 2019-11-15 2020-04-10 北京浪潮数据技术有限公司 Tenant management method and system of container cloud platform, electronic device and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9825905B2 (en) * 2014-10-13 2017-11-21 Vmware Inc. Central namespace controller for multi-tenant cloud environments
CN111159134B (en) * 2019-12-17 2023-09-26 复旦大学 Multi-tenant oriented distributed file system security access control method and system
CN111324456A (en) * 2020-02-14 2020-06-23 苏州浪潮智能科技有限公司 Method and system for isolating resources among cloud tenants based on namespace binding

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120215918A1 (en) * 2011-02-21 2012-08-23 Microsoft Corporation Multi-tenant services gateway
US20140040999A1 (en) * 2012-03-19 2014-02-06 Empire Technology Development Llc Hybrid multi-tenancy cloud platform
US20140101299A1 (en) * 2012-10-06 2014-04-10 International Business Machines Corporation Techniques for implementing information services with tentant specific service level agreements
CN110198231A (en) * 2018-05-08 2019-09-03 腾讯科技(深圳)有限公司 Capacitor network management method and system and middleware for multi-tenant
CN110990150A (en) * 2019-11-15 2020-04-10 北京浪潮数据技术有限公司 Tenant management method and system of container cloud platform, electronic device and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114422456A (en) * 2022-03-31 2022-04-29 阿里云计算有限公司 Task processing method and device
CN114422456B (en) * 2022-03-31 2022-08-16 阿里云计算有限公司 Task processing method and device
CN115981847A (en) * 2022-12-14 2023-04-18 北京百度网讯科技有限公司 Service grid deployment method and device, electronic equipment and storage medium
CN116389194A (en) * 2023-06-06 2023-07-04 天津市天河计算机技术有限公司 VPN service generation method, system, equipment and medium based on cloud computing platform
CN116389194B (en) * 2023-06-06 2023-08-11 天津市天河计算机技术有限公司 VPN service generation method, system, equipment and medium based on cloud computing platform

Also Published As

Publication number Publication date
WO2022135167A1 (en) 2022-06-30
TW202225996A (en) 2022-07-01

Similar Documents

Publication Publication Date Title
US11146455B2 (en) End-to-end quality of service in edge computing environments
CN112637328A (en) Cloud service method, device, equipment and storage medium
CN110032447B (en) Method and apparatus for allocating resources
Kovachev et al. Adaptive computation offloading from mobile devices into the cloud
US9407944B1 (en) Resource allocation optimization for cloud-based video processing
US10165058B2 (en) Dynamic local function binding apparatus and method
CN112583882A (en) Methods, systems, articles of manufacture, and apparatus for managing telemetry data in an edge environment
US20210021431A1 (en) Methods, apparatus and systems to share compute resources among edge compute nodes using an overlay manager
CN112615731B (en) Method and device for distributing multi-operator combined network slice resources
EP3974981A1 (en) Methods and apparatus to schedule workloads based on secure edge to device telemetry
CN110391938B (en) Method and apparatus for deploying services
US10038759B2 (en) Method, management server, and computer-readable storage medium for supporting provision of service desired by client terminal by adaptively modifying network topology depending on properties of service
US20210014301A1 (en) Methods and apparatus to select a location of execution of a computation
EP3985500A1 (en) Methods and apparatus for re-use of a container in an edge computing environment
CN111580974B (en) GPU instance allocation method, device, electronic equipment and computer readable medium
KR20220165763A (en) Media Streaming Using Edge Computing
US20150149615A1 (en) Process cage providing attraction to distributed storage
US20210319281A1 (en) Subtask Assignment for an Artificial Intelligence Task
US20230300406A1 (en) Methods for media streaming content preparation for an application provider in 5g networks
CN113157398A (en) Cloud service method, device, equipment and storage medium
CN109862069B (en) Message processing method and device
WO2023077866A1 (en) Multimedia data processing method and apparatus, electronic device, and storage medium
CN110730109A (en) Method and apparatus for generating information
CN112650578A (en) Data processing method, scheduling platform, video storage platform and video processing engine
CN111367592B (en) Information processing method and device

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40040770

Country of ref document: HK

RJ01 Rejection of invention patent application after publication

Application publication date: 20210409

RJ01 Rejection of invention patent application after publication