CN113467891B - Service processing method, device and storage medium - Google Patents

Service processing method, device and storage medium Download PDF

Info

Publication number
CN113467891B
CN113467891B CN202110787368.7A CN202110787368A CN113467891B CN 113467891 B CN113467891 B CN 113467891B CN 202110787368 A CN202110787368 A CN 202110787368A CN 113467891 B CN113467891 B CN 113467891B
Authority
CN
China
Prior art keywords
target
client
target client
processing result
server
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.)
Active
Application number
CN202110787368.7A
Other languages
Chinese (zh)
Other versions
CN113467891A (en
Inventor
郝少刚
封荣军
王威
邵明
黄顺
王震
张胜誉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202110787368.7A priority Critical patent/CN113467891B/en
Publication of CN113467891A publication Critical patent/CN113467891A/en
Application granted granted Critical
Publication of CN113467891B publication Critical patent/CN113467891B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Bioethics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the application relates to the technical field of computers, and discloses a service processing method, a service processing device and a storage medium. The service processing method comprises the following steps: receiving a task request sent by a target client in one or more clients, wherein the target client is any one of the one or more clients; and sending the task request to a target client server corresponding to the target client so that the target client server schedules a target virtual machine corresponding to the target client to process the task request according to the identity information of the target client, and obtaining a processing result of the task request. By adopting the embodiment of the application, the data isolation among the tenants can be ensured, and the data security of the tenants is ensured.

Description

Service processing method, device and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a service processing method and apparatus, and a storage medium.
Background
Multi-tenant technology (multi-tenant technology), or multi-tenancy technology, is a software architecture technology that shares the same system or program components in a multi-tenant environment in terms of discussion and implementation, and still ensures isolation of data among tenants, where a tenant corresponds to an organization and a tenant may include one or more users. The multi-tenant technology can realize sharing of the system instances among a plurality of tenants, and meanwhile, can realize personalized customization of the system instances of the tenants. The shared part of the system commonality can be ensured by using the multi-tenant technology, and the individual part is isolated independently, so that how to ensure the data isolation among tenants to ensure the data security of the tenants is the key research point at present in the multi-tenant technology.
Disclosure of Invention
The embodiment of the application provides a service processing method, a service processing device and a storage medium, which can ensure data isolation among tenants and ensure data security of the tenants.
In one aspect, an embodiment of the present application provides a service processing method, where the method is applied in a central server, a communication system to which the central server belongs includes one or more clients, a client server corresponding to each client in the one or more clients, a virtual machine corresponding to each client, and the central server, and the method includes:
receiving a task request sent by a target client in the one or more clients, wherein the target client is any one of the one or more clients;
and sending the task request to a target client server corresponding to the target client so that the target client server schedules a target virtual machine corresponding to the target client to process the task request according to the identity information of the target client to obtain a processing result of the task request.
In one aspect, an embodiment of the present application provides another service processing method, where the method is applied in a client server, a communication system to which the client server belongs includes one or more clients, a client server corresponding to each of the one or more clients, a virtual machine corresponding to each of the clients, and a central server, the client server is a target client server corresponding to a target client in the one or more clients, and the target client is any one of the one or more clients, where the method includes:
receiving a task request sent by the central server, wherein the task request is sent to the central server by the target client;
and scheduling the target virtual machine corresponding to the target client to process the task request according to the identity information of the target client, so as to obtain a processing result of the task request.
In one aspect, an embodiment of the present application provides a first service processing apparatus, where the apparatus runs in a central server, a communication system to which the central server belongs includes one or more clients, a client server corresponding to each client in the one or more clients, a virtual machine corresponding to each client, and the central server, and the apparatus includes:
the input unit is used for receiving a task request sent by a target client in the one or more clients, wherein the target client is any one of the one or more clients;
and the processing unit is used for sending the task request to a target client server corresponding to the target client so that the target client server schedules a target virtual machine corresponding to the target client to process the task request according to the identity information of the target client to obtain a processing result of the task request.
In one aspect, an embodiment of the present application provides a second service processing apparatus, where the apparatus runs in a client server, a communication system to which the client server belongs includes one or more clients, a client server corresponding to each of the one or more clients, a virtual machine corresponding to each of the one or more clients, and a central server, where the client server is a target client server corresponding to a target client in the one or more clients, and the target client is any one of the one or more clients, and the apparatus includes:
the input unit is used for receiving a task request sent by the central server, and the task request is sent to the central server by the target client;
and the processing unit is used for scheduling the target virtual machine corresponding to the target client to process the task request according to the identity information of the target client to obtain a processing result of the task request.
In one aspect, an embodiment of the present application provides a central server, where the central server includes an input interface and an output interface, and further includes:
a processor adapted to implement one or more instructions; and the number of the first and second groups,
a computer storage medium storing one or more instructions adapted to be loaded by the processor and to perform the above-described service processing method.
In one aspect, an embodiment of the present application provides a client server, where the client server includes an input interface and an output interface, and further includes:
a processor adapted to implement one or more instructions; and the number of the first and second groups,
a computer storage medium storing one or more instructions adapted to be loaded by the processor and to perform the above-described service processing method.
In one aspect, an embodiment of the present application provides a computer storage medium, where computer program instructions are stored in the computer storage medium, and when the computer program instructions are executed by a processor, the computer storage medium is configured to execute the service processing method.
In one aspect, embodiments of the present application provide a computer program product or a computer program, where the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium; the processor of the central server reads the computer instructions from the computer readable storage medium, and executes the computer instructions, and the computer instructions are executed by the processor to perform the service processing method.
In one aspect, embodiments of the present application provide another computer program product or computer program, where the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium; the processor of the client server reads the computer instructions from the computer readable storage medium, and executes the computer instructions, and the computer instructions, when executed by the processor, are used for executing the service processing method.
In the embodiment of the application, after receiving a task request sent by a target client in one or more clients, a central server sends the task request to a target client server corresponding to the target client, so that the target client server schedules a target virtual machine corresponding to the target client to process the task request according to identity information of the target client, and obtains a processing result of the task request, wherein the target client is any one of the one or more clients, the target client server corresponding to the target client is a client server leased by a target tenant to which a target user corresponding to the target client belongs, the target virtual machine corresponding to the target client is a virtual machine leased by a target tenant to which a target user corresponding to the target client belongs, and different tenants can use different client servers and different virtual machines, the data isolation among the tenants can be ensured, and the data security of the tenants is ensured.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, 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 of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a communication system according to an embodiment of the present application;
fig. 2 is an interaction diagram of a communication system according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a service processing method according to an embodiment of the present application;
fig. 4a is an interaction diagram of another communication system provided in the embodiments of the present application;
fig. 4b is an interaction diagram of another communication system provided in the embodiments of the present application;
fig. 4c is an interaction diagram of another communication system provided in the embodiments of the present application;
fig. 5a is a schematic diagram of a communication system provided in an embodiment of the present application when idle;
fig. 5b is a schematic diagram of another communication system provided in the embodiment of the present application when idle;
FIG. 6 is a schematic interaction diagram of a target user requesting a service according to an embodiment of the present application;
fig. 7 is a schematic flowchart of another service processing method provided in the embodiment of the present application;
fig. 8 is a schematic view of a tenant structure provided in an embodiment of the present application;
fig. 9 is a schematic structural diagram of a first service processing apparatus according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a second service processing apparatus according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a central server according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a client server according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In order to ensure data security of tenants in a multi-tenant application scenario, an embodiment of the present application provides a communication system, and referring to fig. 1, a schematic structural diagram of the communication system provided in the embodiment of the present application is provided. The communication system shown in fig. 1 may include one or more clients 101, a centralized server 102, one or more client servers 103, and one or more virtual machines 104. The client 101 may operate in a terminal device, and the terminal device may include any one or more of a smart phone, a tablet computer, a notebook computer, a desktop computer, an intelligent vehicle, and an intelligent wearable device. The central server 102, the client server 103, and the virtual machine 104 may be independent physical servers, may also be a server cluster or a distributed system formed by a plurality of physical servers, and may also be cloud servers that provide basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, Network services, cloud communication, middleware services, domain name services, security services, Content Delivery Networks (CDNs), and big data and artificial intelligence platforms. The client 101, the central server 102, the client server 103, and the virtual machine 104 may be directly or indirectly connected in a wired or wireless communication manner, and the present application is not limited herein.
In one embodiment, the central server 102, the client server 103, and the virtual machine 104 collectively provide service support for the client 101, for example, if the client 101 is a client providing a simulation supercomputing function for a scientific research user, the central server 102, the client server 103, and the virtual machine 104 collectively provide simulation supercomputing service support for the client. Further, different users can log in the client 101 through their user accounts to use the corresponding functions provided by the client 101, and since the user accounts of different users are independent of each other, after different users log in the client 101 using their user accounts, it means that different users correspond to different clients 101.
In one embodiment, the central server 102 is a server that provides business services, such as may be a business server that provides emulated supercomputing services; the client server 103 is a server running with micro services, and is mainly used for forwarding data to schedule cloud resources for data processing, wherein the virtual machine 104 may be scheduled by the client server 103 as a cloud resource. Data interaction between the client 101 and the central server 102, and between the central server 102 and the client server 103 can be realized through protocols such as hypertext Transfer Protocol (HTTP), remote invocation Protocol (grpc), and the like.
In one embodiment, a tenant may perform a resource lease, or service lease as it were, to a service provider to use a corresponding service provided by the service provider. Specifically, a person in charge of the tenant may submit a requirement for resource lease through the client 101, and the client 101 may generate a resource lease request according to the resource lease requirement submitted by the person in charge of the tenant, and send the resource lease request to the central server 102; after receiving the resource lease request, the central server 102 performs a resource configuration operation according to the resource lease request, which may specifically include: allocating corresponding resources to the tenant's responsible person (that is, allocating corresponding client server and virtual machine to the tenant's responsible person, allocating one client server to one tenant, and allocating one or more virtual machines to one tenant), and storing the corresponding relationship between the tenant and the allocated resources in the database of the central server 102; after completing resource configuration, the central server 102 returns a prompt message of successful lease to the client 101, so as to prompt the responsible person of the tenant that the resource lease is successful. After the principal of the tenant leases the resource to the service provider, the user included in the tenant can also use the resource leased by the tenant.
Further, the client server 103 and the virtual machine 104 included in the communication system are both the client server 103 and the virtual machine 104 leased by the tenant. One tenant corresponds to one client server 103, different tenants correspond to different client servers 103, and one client server 103 only provides services for the tenant renting the client server 103, that is, one client server 103 only provides services for the user under the tenant renting the client server 103, and no other tenant provides services; one tenant corresponds to one or more virtual machines 104, i.e., the tenant can lease one or more virtual machines on demand, and one tenant can use only the guest server or virtual machine that it leases, but not the guest server or virtual machine that the remaining users lease.
Further, the client server 103 can only communicate with the virtual machine 104 in addition to the central server 102, that is, the client servers 103 rented by different tenants cannot communicate with each other, and the client server 103 rented by one tenant can only communicate with the virtual machine 104 rented by the tenant in the virtual machine 104, but cannot communicate with the virtual machines 104 rented by the other tenants in the virtual machine 104. The virtual machines 104 of different tenants cannot communicate with each other, and the virtual machine 104 of one tenant can only communicate with the client server 103 of the tenant in the client server 103, but cannot communicate with the client servers 103 of the other tenants in the client server 103. When the central server 102 performs resource configuration operation according to the resource lease request, communication restrictions can be set on the client server 103 leased by the tenant and the virtual machine 104 leased by the tenant.
For example, as shown in fig. 2, an interaction diagram of a communication system provided in the embodiment of the present application is shown. If tenant a comprises user a1, user a2 and user A3, which respectively correspond to client a1, client a2 and client A3, the client server leased by tenant a is client server a, and the virtual machines leased by tenant a are virtual machine a1, virtual machine a2 and virtual machine A3; tenant B comprises a user B1 and a user B2, which respectively correspond to a client B1 and a client B2, wherein the client server corresponding to tenant B is client server B, and the virtual machines corresponding to tenant B are virtual machine B1 and virtual machine B2; tenant C comprises user C1 and user C2, which respectively correspond to client C1 and client C2, the client server corresponding to tenant C is client server C, and the virtual machine corresponding to tenant C is virtual machine C1; the client server a can only communicate with the virtual machine a1, the virtual machine a2, and the virtual machine A3 of the virtual machines, and the virtual machine a1, the virtual machine a2, and the virtual machine A3 can only communicate with the client server a of the client servers; the communication method between the client server B and the virtual machine B1 and the virtual machine B2 is similar to the communication method between the client server a and the virtual machine a1, the virtual machine a2 and the virtual machine A3, and the communication method between the client server C and the virtual machine C1 is similar to the communication method between the client server a and the virtual machine a1, the virtual machine a2 and the virtual machine A3, and thus, the description thereof is omitted.
In one embodiment, a target user can input a task requirement through a corresponding target client, and the target user can be any user included in a tenant leasing a client server and a virtual machine; the target client can generate a task request for requesting service according to the task requirement input by the target user and send the task request to the central server; after receiving the task request, the central server sends the task request to a target client server corresponding to the target client (the target client server corresponding to the target client is a client server leased by a target tenant to which the target user belongs); after receiving the task request, the target client server sends the task request to a target virtual machine corresponding to the target client (the target virtual machine corresponding to the target client is a virtual machine leased by a target tenant to which the target user belongs); and after receiving the task request, the target virtual machine processes the task request to obtain a processing result of the task request.
Based on the communication system, the embodiment of the present application provides a service processing method, where the service processing method may be applied in a multi-tenant application scenario, and the service processing method may be applied in a central server, where a communication system to which the central server belongs may include one or more clients, a client server corresponding to each client in the one or more clients, a virtual machine corresponding to each client, and the central server. The communication system to which the central server belongs may be the communication system shown in fig. 1 or fig. 2. The virtual machine corresponding to one client is a virtual machine leased by the tenant to which the user corresponding to the client belongs. Referring to fig. 3, a schematic flow chart of a service processing method provided in the embodiment of the present application is shown. The service processing method shown in fig. 3 may include the steps of:
s301, receiving a task request sent by a target client in one or more clients.
The target client is any one of one or more clients.
In one embodiment, the task request is used for requesting a service, and the task request is generated according to a task requirement input in a target client by a target user corresponding to the target client. For example, if the target client is a client providing a simulation supercomputing function, when the target user is performing experimental simulation, the target user may select a simulation tool, input simulation parameters, set an output format of a simulation result, and the like in the target client, and the target client generates a task request for requesting simulation according to task requirements of the simulation tool, the input simulation parameters, the set output format of the simulation result, and the like determined by the target user.
Further, the task request may carry a client identifier of the target client, where the client identifier of the target client is used to identify a target user corresponding to the target client, and may be a user account of the target user; after receiving the task request sent by the target client, the central server may send the task request to the target client server corresponding to the target client according to the client identifier of the target client carried in the task request, that is, step S302 is executed in turn.
S302, the task request is sent to a target client server corresponding to the target client, so that the target client server schedules a target virtual machine corresponding to the target client to process the task request according to the identity information of the target client, and a processing result of the task request is obtained.
The identity information of the target client may be used to schedule resources that can be used by a target user corresponding to the target client, that is, to schedule resources leased by a target tenant to which the target user belongs, that is, to schedule the target client server and the target virtual machine so as to use corresponding services provided by the target client server and the target virtual machine. The identity information of the target client may be security credential information of a target tenant to which a target user corresponding to the target client belongs, where the security credential information may include service tenant information (secret ID) and Key information (secret Key), and the service tenant information is used to identify a tenant leasing the client server and the virtual machine; one tenant corresponds to one set of security credential information, that is, one tenant corresponds to one set of secretID and secretKey, and all users under one tenant share one set of security credential information, that is, the identity information of the clients corresponding to all users under one tenant is the same and is the security credential information of the tenant. The security credential information of the tenant is stored in a memory of a client server leased by the tenant, the central server does not store the security credential information of the tenant, and since the client server leased by the tenant can only be used by the tenant and is isolated from the client servers leased by other tenants, the central server sends the received task request to the target client server, and then the target client server calls a target virtual machine corresponding to the target client to process the task request according to the identity information of the target client (namely, the security credential information of the target tenant to which the target user corresponding to the target client belongs), so that the security of the security credential information of the tenant can be protected.
In a specific implementation, the sending, by the central server, the task request to the target client server corresponding to the target client may include: searching a server identifier corresponding to the client identifier of the target client as a target server identifier according to a pre-established corresponding relationship between the client identifier and the server identifier of the client server; and sending the task request to a target client server corresponding to the target server identifier. After the tenant leases the client server and the virtual machine, the central server can acquire a client identifier of a client corresponding to a user under the tenant; and constructing a corresponding relation between the client identification and the server identification of the client server leased by the tenant based on the acquired client identification. The server identifier of the client server is used to uniquely identify the client server, and may be, for example, a host name of the client server, an IP address of the client server, and the like.
In one embodiment, when performing a resource configuration operation according to the resource lease request, the central server may store a correspondence between a tenant and a resource leased by the tenant, for example, may store a correspondence between a tenant identifier of the tenant and a server identifier of a client server leased by the tenant, where the tenant identifier is used to uniquely identify the tenant, and may be, for example, a name of the tenant. Then, the sending, by the central server, the task request to the target client server corresponding to the target client may include: determining a tenant identification of a target tenant to which a target user corresponding to a target client belongs according to the client identification of the target client, and taking the tenant identification as the target tenant identification; and sending the task request to a target client server corresponding to the target tenant identification.
In an embodiment, the communication system to which the central server belongs may further include cloud storages corresponding to the clients, as shown in fig. 4a, which is an interaction schematic diagram of another communication system provided in the embodiment of the present application, where the cloud storage corresponding to the client is a cloud storage leased by a tenant to which a user corresponding to the client belongs, and the cloud storage leased by one tenant communicates with a virtual machine leased by the tenant, so as to store a processing result produced by the virtual machine. That is to say, when the central server sends the task request to the target client server corresponding to the target client, so that the target client server schedules the target virtual machine corresponding to the target client to process the task request according to the identity information of the target client, and obtains a processing result of the task request, the target virtual machine may send the processing result to the target cloud storage corresponding to the target client; the target cloud storage stores the processing result to obtain a cloud storage address of the processing result, and sends the cloud storage address of the processing result to the target virtual machine; after receiving the cloud storage address of the processing result, the target virtual machine sends the cloud storage address of the processing result to the target client server; after receiving the cloud storage address of the processing result, the target client server sends the cloud storage address of the processing result to the central server; the central server can acquire the processing result from the target cloud storage according to the cloud storage address of the processing result and send the processing result to the target client.
That is to say, the central server sends the task request to a target client server corresponding to the target client, so that the target client server schedules a target virtual machine corresponding to the target client to process the task request according to the identity information of the target client, and after a processing result of the task request is obtained, a cloud storage address of the processing result sent by the target client server can be received, wherein the cloud storage address of the processing result is sent to the target client server by the target virtual machine, the cloud storage address of the processing result is obtained by the target virtual machine after the processing result is stored in a target cloud storage corresponding to the target client, and the cloud storage address of the processing result is a storage address of the processing result in the target cloud storage; and acquiring a processing result from the target cloud storage according to the cloud storage address of the processing result, and sending the processing result to the target client. After the target virtual machine obtains a processing result, the processing result is stored in a target cloud storage, and a cloud storage address of the processing result returned by the target cloud storage is sent to a central server through a target client server, so that the central server stores the cloud storage address of the processing result; the central server does not store the processing result, only stores the cloud storage address of the processing result, and calls the processing result based on the cloud storage address of the processing result when the processing result needs to be called, so that the data security of the tenant can be ensured.
Optionally, if the central server is a service server capable of providing a simulation supercomputing service, the client server is a server providing a Cloud container service (TKE), the TKE may run a micro service, the Virtual Machine is a Cloud Virtual Machine (CVM), and the Cloud Storage is a Cloud Storage providing an Object Cloud Storage service (COS), the interaction diagram of the communication system shown in fig. 4a may also be shown in fig. 4b, and includes a service front end, a service back end, the Cloud container service TKE, the Cloud Virtual Machine CVM, and the Object Cloud Storage service COS. The service front end directly interacts with the user through the client. Alternatively, when only one target user makes a service call, the interaction diagram of the communication system can be as shown in fig. 4 c.
In one embodiment, after the target virtual machine sends the cloud storage address of the processing result to the target client server, the target virtual machine is deallocated, so that other users under the tenant can call the target virtual machine after the deallocation. Fig. 5a is a schematic diagram of an idle time of a communication system according to an embodiment of the present application, where the idle time of the communication system is when no task request is processed in the communication system and all virtual machines in the communication system are unoccupied. Optionally, if the central server is a service server capable of providing a simulation supercomputing service, the client server is a server providing a Cloud container service (TKE), the TKE may run a micro service, the Virtual Machine is a Cloud Virtual Machine (CVM), and the Cloud Storage is a Cloud Storage providing a Cloud Object Storage service (COS), then the schematic diagram of the communication system shown in fig. 5a when it is idle may also be shown in fig. 5b, and includes a service front end, a service back end, and a Cloud container service TKE. The service front end directly interacts with the user through the client.
In one implementation, the target client server may schedule the target virtual machine corresponding to the target client according to the identity information of the target client through the batch computing interface, or alternatively, may be implemented through any other forwarding interface capable of sending the task request to the target virtual machine. When a plurality of users input respective task requirements in respective clients at the same time to request for service (namely, a plurality of target users and a plurality of target clients exist at the same time), the central server can respectively send the task requests corresponding to the target clients in the plurality of target clients to the target client servers corresponding to the target clients, so that the target client servers corresponding to the target clients schedule the target virtual machines corresponding to the target clients according to the identity information of the target clients, and process the task requests corresponding to the target clients to obtain the processing results of the task requests corresponding to the target clients; and the target client server corresponding to each target client schedules the target virtual machine corresponding to each target client according to the identity information of each target client through a batch computing interface. For example, if tenant a includes user a1, user a2, and user A3, which correspond to client a1, client a2, and client A3, respectively, the client server leased by tenant a is client server a, and the virtual machines leased by tenant a are virtual machine a1, virtual machine a2, and virtual machine A3; tenant B comprises a user B1 and a user B2, which respectively correspond to a client B1 and a client B2, wherein the client server corresponding to tenant B is client server B, and the virtual machines corresponding to tenant B are virtual machine B1 and virtual machine B2; tenant C comprises user C1 and user C2, which respectively correspond to client C1 and client C2, the client server corresponding to tenant C is client server C, and the virtual machine corresponding to tenant C is virtual machine C1; if the target user is user a1, user b1 and user c1, the target client server a may invoke one or more of the target virtual machine a1, the target virtual machine a2 and the target virtual machine A3 through the batch computing interface to process the task request correspondingly generated by the user a 1; the target client server B can call one or more of the target virtual machine B1 and the target virtual machine B2 through the batch computation interface to process the task request correspondingly generated by the user B1; the target client server C may call the target virtual machine C1 through the batch computation interface to process the task request generated by the user C1.
In an embodiment, as shown in fig. 6, for an interaction schematic diagram provided by the embodiment of the present application when a target user requests a service, the target user inputs a task requirement in a target client corresponding to the target user, and the target client may generate a task request for requesting the service according to the task requirement input by the target user and send the task request to a central server; after receiving the task request, the central server sends the task request to a target client server corresponding to a target client; after receiving the task request, the target client server can schedule a target virtual machine corresponding to the target client and send the task request to the target virtual machine so that the target virtual machine processes the task request to obtain a processing result of the task request; after the target virtual machine obtains the processing result of the task request, the processing result can be sent to a target cloud storage corresponding to the target client; the target cloud storage stores the processing result to obtain a cloud storage address of the processing result, and sends the cloud storage address of the processing result to the target virtual machine; after receiving the cloud storage address of the processing result, the target virtual machine sends the cloud storage address of the processing result to the target client server; the target client server sends the cloud storage address of the processing result to the central server; and the central server acquires the processing result from the target cloud storage according to the cloud storage address of the processing result and sends the processing result to the target client so as to display the processing result through the client.
In the embodiment of the application, after receiving a task request sent by a target client in one or more clients, a central server sends the task request to a target client server corresponding to the target client, so that the target client server schedules a target virtual machine corresponding to the target client to process the task request according to identity information of the target client, and obtains a processing result of the task request, wherein the target client is any one of the one or more clients, the target client server corresponding to the target client is a client server leased by a target tenant to which a target user corresponding to the target client belongs, the target virtual machine corresponding to the target client is a virtual machine leased by a target tenant to which a target user corresponding to the target client belongs, and different tenants can use different client servers and different virtual machines, the data isolation among the tenants can be ensured, and the data security of the tenants is ensured.
Based on the communication system embodiment and the service processing method embodiment, the present application embodiment provides another service processing method, where the service processing method may be applied in a multi-tenant application scenario, and the service processing method may be applied in a client server, where a communication system to which the client server belongs includes one or more clients, a client server corresponding to each client in the one or more clients, a virtual machine corresponding to each client, and a central server, where the client server is a target client server corresponding to a target client in the one or more clients, and the target client is any client in the one or more clients. The communication system to which the client server belongs is the same as the communication system to which the service processing method belongs, one user corresponds to one client, the client server to which one client corresponds is a client server leased by a tenant to which the user corresponding to the one client belongs, and the virtual machine to which one client corresponds is a virtual machine leased by the tenant to which the user corresponding to the one client belongs. Referring to fig. 7, a schematic flow chart of another service processing method provided in the embodiment of the present application is shown. The service processing method shown in fig. 7 may include the steps of:
s701, receiving a task request sent by a central server.
The task request is sent to the central server by the target client, and the task request is generated according to the task requirement input in the target client by the target user corresponding to the target client.
S702, the target virtual machine corresponding to the target client is dispatched to process the task request according to the identity information of the target client, and a processing result of the task request is obtained.
The target client server integrates an interface for calling cloud resources required by service logic, namely, integrates a calling interface of a virtual machine leased by a target tenant, and can call the virtual machine through the calling interface of the virtual machine.
In specific implementation, a target client server acquires identity information of a target client from a memory of the target client server; and sending the task request and the identity information of the target client to a target virtual machine corresponding to the target client so that the target virtual machine authenticates the target client according to the identity information of the target client, and if the target virtual machine passes the authentication of the target client, processing the task request to obtain a processing result of the task request. And if the target virtual machine fails to authenticate the target client, sending prompt information for representing that the target client fails to authenticate to a technician terminal so as to enable the technician terminal to carry out technical investigation.
In one embodiment, the communication system to which the target client server belongs may further include a cloud storage corresponding to each client. The target client server schedules a target virtual machine corresponding to the target client to process the task request according to the identity information of the target client, and after a processing result of the task request is obtained, a cloud storage address of the processing result sent by the target virtual machine can be received, wherein the cloud storage address of the processing result is obtained after the target virtual machine stores the processing result in a target cloud storage corresponding to the target client, and the cloud storage address of the processing result is a storage address of the processing result in the target cloud storage; and sending the cloud storage address of the processing result to the central server so that the central server obtains the processing result from the target cloud storage according to the cloud storage address of the processing result and sends the processing result to the target client.
In the embodiment of the application, after the target client server receives the task request sent by the central server, the target virtual machine corresponding to the target client can be scheduled to process the task request according to the identity information of the target client to obtain the processing result of the task request, wherein the task request is sent to the central server by a target client, the target client is any one of one or more clients, the target client server is a client server leased by a target tenant to which a target user corresponding to the target client belongs, a target virtual machine corresponding to the target client is a virtual machine leased by a target tenant to which a target user corresponding to the target client belongs, different tenants can use different client servers and different virtual machines, data isolation among the tenants can be ensured, and data security of the tenants is ensured.
In one embodiment, if the service provided by the communication system in the embodiment of the present application is a simulation supercomputing service, and if the tenant is a scientific research project group including a guide or a subject responsible person and a student as shown in fig. 8, if the guide or the subject responsible person creates a scientific research simulation project after completing the service rental and includes a user (which may be a student or another user) involved in the scientific research simulation project into the scientific research simulation project, the user who is included in the scientific research simulation project may use the service rented by the guide or the subject responsible person. For example, if a target user in the scientific research simulation project needs to perform an experimental simulation, the target user may input a task requirement in a corresponding target client, for example, select a simulation tool, input simulation parameters, set an output format of a simulation result, and the like; the target client can generate a task request for requesting simulation according to the task requirement input by the target user and send the task request to the central server; after receiving the task request, the central server sends the task request to a target client server corresponding to a target client, namely to a client server corresponding to the scientific research topic group; after receiving the task request, the target client server may schedule a target virtual machine corresponding to the target client (i.e., a virtual machine corresponding to the scientific research topic group) to process the task request, so as to obtain a processing result of the task request; after obtaining the processing result of the task request, the target virtual machine may store the processing result in a cloud storage corresponding to the target client (that is, in a cloud storage corresponding to the scientific research topic group) to obtain a cloud storage address of the processing result, send the cloud storage address of the processing result to the central server via the target client server, and send the cloud storage address of the processing result to the target client corresponding to the target user via the central server, so that the target user views the processing result. Optionally, the target virtual machine may also obtain an intermediate parameter of the processing result by processing the task request, and then perform subsequent processing by the central server according to the intermediate parameter of the processing result to obtain the processing result of the task request, for example, the intermediate parameter of the processing result obtained by the target virtual machine may be a simulation result parameter, and the central server may perform drawing of a simulation image according to the simulation result parameter, so as to obtain a final processing result.
Based on the above system embodiment and method embodiment, the present application provides a first service processing apparatus. Referring to fig. 9, a schematic structural diagram of a first service processing apparatus according to an embodiment of the present disclosure is provided, where the first service processing apparatus may include an input unit 901 and a processing unit 902. The first service processing apparatus shown in fig. 9 may be operated in a central server, where a communication system to which the central server belongs includes one or more clients, a client server corresponding to each client in the one or more clients, a virtual machine corresponding to each client, and the central server, and the apparatus may operate the following units:
an input unit 901, configured to receive a task request sent by a target client in the one or more clients, where the target client is any client in the one or more clients;
the processing unit 902 is configured to send the task request to a target client server corresponding to the target client, so that the target client server schedules a target virtual machine corresponding to the target client to process the task request according to the identity information of the target client, and obtain a processing result of the task request.
In one embodiment, the communication system further comprises a cloud storage corresponding to each client; the input unit 901 is further configured to receive a cloud storage address of the processing result sent by the target client server, where the cloud storage address of the processing result is sent to the target client server by the target virtual machine, the cloud storage address of the processing result is obtained by the target virtual machine after the processing result is stored in a target cloud storage corresponding to the target client, and the cloud storage address of the processing result is a storage address of the processing result in the target cloud storage;
the processing unit 902 is further configured to obtain the processing result from the target cloud storage according to the cloud storage address of the processing result, and send the processing result to the target client.
In one embodiment, the task request carries a client identifier of the target client; when the processing unit 902 sends the task request to the target client server corresponding to the target client, the following steps are specifically executed:
searching a server identifier corresponding to the client identifier of the target client as a target server identifier according to a pre-established corresponding relationship between the client identifier and the server identifier of the client server;
and sending the task request to a target client server corresponding to the target server identification.
In one embodiment, the number of the target clients is multiple; the processing unit 902 sends the task request to a target client server corresponding to the target client, so that the target client server schedules a target virtual machine corresponding to the target client to process the task request according to the identity information of the target client, and when a processing result of the task request is obtained, the following steps are specifically executed:
respectively sending the task request corresponding to each target client in the plurality of target clients to a target client server corresponding to each target client, so that the target client server corresponding to each target client schedules a target virtual machine corresponding to each target client according to the identity information of each target client, and processes the task request corresponding to each target client to obtain a processing result of the task request corresponding to each target client; and the target client server corresponding to each target client schedules the target virtual machine corresponding to each target client according to the identity information of each target client through a batch computing interface.
According to an embodiment of the present application, the steps involved in the service processing method shown in fig. 3 may be performed by units in the first service processing apparatus shown in fig. 9. For example, step S301 shown in fig. 3 may be performed by the input unit 901 in the first service processing apparatus shown in fig. 9, and step S302 shown in fig. 3 may be performed by the processing unit 902 in the first service processing apparatus shown in fig. 9.
According to another embodiment of the present application, the units in the first service processing apparatus shown in fig. 9 may be respectively or entirely combined into one or several other units to form the first service processing apparatus, or some unit(s) therein may be further split into multiple units smaller in function to form the first service processing apparatus, which may achieve the same operation without affecting the implementation of the technical effect of the embodiment of the present application. The units are divided based on logic functions, and in practical application, the functions of one unit can be realized by a plurality of units, or the functions of a plurality of units can be realized by one unit. In other embodiments of the present application, the first service processing apparatus based on logical function division may also include other units, and in practical applications, these functions may also be implemented with the assistance of other units, and may be implemented by cooperation of multiple units.
According to another embodiment of the present application, the first service processing apparatus as shown in fig. 9 may be constructed by running a computer program (including program codes) capable of executing the steps involved in the corresponding method as shown in fig. 3 on a general-purpose computing device such as a computer including a processing element such as a Central Processing Unit (CPU), a random access storage medium (RAM), a read-only storage medium (ROM), and a storage element, and implementing the service processing method of the embodiment of the present application. The computer program may be embodied on a computer-readable storage medium, for example, and loaded into and executed by the above-described computing apparatus via the computer-readable storage medium.
In the embodiment of the application, after receiving a task request sent by a target client in one or more clients, a first service processing device sends the task request to a target client server corresponding to the target client, so that the target client server schedules a target virtual machine corresponding to the target client to process the task request according to identity information of the target client, and obtains a processing result of the task request, wherein the target client is any one of the one or more clients, the target client server corresponding to the target client is a client server leased by a target tenant to which a target user corresponding to the target client belongs, the target virtual machine corresponding to the target client is a virtual machine leased by a target tenant to which a target user corresponding to the target client belongs, and different tenants can use different client servers and different virtual machines, the data isolation among the tenants can be ensured, and the data security of the tenants is ensured.
Based on the above system embodiment and method embodiment, the present application provides a second service processing apparatus. Referring to fig. 10, a schematic structural diagram of a second service processing apparatus according to an embodiment of the present disclosure is shown, where the second service processing apparatus may include an input unit 1001 and a processing unit 1002. The second service processing apparatus shown in fig. 10 may be executed in a client server, where a communication system to which the client server belongs includes one or more clients, a client server corresponding to each of the one or more clients, a virtual machine corresponding to each of the clients, and a central server, where the client server is a target client server corresponding to a target client in the one or more clients, and the target client is any one of the one or more clients, and the apparatus may execute the following units:
an input unit 1001, configured to receive a task request sent by the central server, where the task request is sent to the central server by the target client;
the processing unit 1002 is configured to schedule a target virtual machine corresponding to the target client to process the task request according to the identity information of the target client, so as to obtain a processing result of the task request.
In one embodiment, the communication system further comprises a cloud storage corresponding to each client; the second service processing apparatus further includes an output unit 1003;
the input unit 1001 is further configured to receive a cloud storage address of the processing result sent by the target virtual machine, where the cloud storage address of the processing result is obtained by the target virtual machine after the processing result is stored in a target cloud storage corresponding to the target client, and the cloud storage address of the processing result is a storage address of the processing result in the target cloud storage;
the output unit 1003 is configured to send the cloud storage address of the processing result to the central server, so that the central server obtains the processing result from the target cloud storage according to the cloud storage address of the processing result, and sends the processing result to the target client.
In an embodiment, the processing unit 1002 schedules the target virtual machine corresponding to the target client to process the task request according to the identity information of the target client, and when a processing result of the task request is obtained, the following steps are specifically executed:
acquiring identity information of the target client from a memory of the target client server;
and sending the task request and the identity information of the target client to a target virtual machine corresponding to the target client so that the target virtual machine authenticates the target client according to the identity information of the target client, and if the target virtual machine passes the authentication of the target client, processing the task request to obtain a processing result of the task request.
According to an embodiment of the present application, the steps involved in the service processing method shown in fig. 7 may be performed by units in the second service processing apparatus shown in fig. 10. For example, step S701 shown in fig. 7 may be executed by the input unit 1001 in the second service processing apparatus shown in fig. 10, and step S702 shown in fig. 7 may be executed by the processing unit 1002 in the second service processing apparatus shown in fig. 10.
According to another embodiment of the present application, the units in the second service processing apparatus shown in fig. 10 may be respectively or entirely combined into one or several other units to form the second service processing apparatus, or some unit(s) therein may be further split into multiple functionally smaller units to form the second service processing apparatus, which may achieve the same operation without affecting the achievement of the technical effect of the embodiment of the present application. The units are divided based on logic functions, and in practical application, the functions of one unit can be realized by a plurality of units, or the functions of a plurality of units can be realized by one unit. In other embodiments of the present application, the second service processing apparatus based on logical function division may also include other units, and in practical applications, these functions may also be implemented by being assisted by other units, and may be implemented by cooperation of multiple units.
According to another embodiment of the present application, the second service processing apparatus as shown in fig. 10 may be constructed by running a computer program (including program codes) capable of executing the steps involved in the corresponding method as shown in fig. 7 on a general-purpose computing device such as a computer including a processing element such as a Central Processing Unit (CPU), a random access storage medium (RAM), a read-only storage medium (ROM), and a storage element, and implementing the service processing method of the embodiment of the present application. The computer program may be embodied on a computer-readable storage medium, for example, and loaded into and executed by the above-described computing apparatus via the computer-readable storage medium.
In the embodiment of the application, after the second service processing device receives the task request sent by the central server, the target virtual machine corresponding to the target client can be scheduled to process the task request according to the identity information of the target client to obtain the processing result of the task request, wherein the task request is sent to the central server by a target client, the target client is any one of one or more clients, the target client server is a client server leased by a target tenant to which a target user corresponding to the target client belongs, a target virtual machine corresponding to the target client is a virtual machine leased by a target tenant to which a target user corresponding to the target client belongs, different tenants can use different client servers and different virtual machines, data isolation among the tenants can be ensured, and data security of the tenants is ensured.
Based on the method embodiment and the device embodiment, the embodiment of the application also provides a central server. Referring to fig. 11, a schematic structural diagram of a central server according to an embodiment of the present application is provided. The central server shown in fig. 11 may include at least a processor 1101, an input interface 1102, an output interface 1103, and a computer storage medium 1104. The processor 1101, the input interface 1102, the output interface 1103, and the computer storage medium 1104 may be connected by a bus or other means.
A computer storage medium 1104 may be stored in the memory of the central server, the computer storage medium 1104 being used to store a computer program comprising program instructions, the processor 1101 being used to execute the program instructions stored by the computer storage medium 1104. The processor 1101 (or CPU) is a computing core and a control core of the Central server, and is adapted to implement one or more instructions, and specifically, adapted to load and execute the one or more instructions so as to implement the service Processing method flow or the corresponding functions.
An embodiment of the present application further provides a computer storage medium (Memory), which is a Memory device in the central server and is used for storing programs and data. It is understood that the computer storage medium herein may include a built-in storage medium in the terminal, and may also include an extended storage medium supported by the terminal. The computer storage medium provides a storage space that stores an operating system of the terminal. Also stored in this memory space are one or more instructions, which may be one or more computer programs (including program code), suitable for loading and execution by the processor 1101. The computer storage medium may be a Random Access Memory (RAM) memory, or a non-volatile memory (non-volatile memory), such as at least one disk memory; and optionally at least one computer storage medium located remotely from the processor.
In an embodiment, the communication system to which the central server belongs includes one or more clients, a client server corresponding to each of the one or more clients, a virtual machine corresponding to each of the clients, and the central server, and one or more instructions stored in a computer storage medium may be loaded and executed by the processor 1101 and the input interface 1102 to implement the corresponding steps of the method in the service processing method embodiment described above with reference to fig. 3, in a specific implementation, the one or more instructions in the computer storage medium are loaded and executed by the processor 1101 and the input interface 1102 to implement the following steps:
an input interface 1102, configured to receive a task request sent by a target client in the one or more clients, where the target client is any client in the one or more clients;
the processor 1101 is configured to send the task request to a target client server corresponding to the target client, so that the target client server schedules a target virtual machine corresponding to the target client to process the task request according to the identity information of the target client, and obtain a processing result of the task request.
In one embodiment, the communication system further comprises a cloud storage corresponding to each client; the input interface 1102 is further configured to receive a cloud storage address of the processing result sent by the target client server, where the cloud storage address of the processing result is sent to the target client server by the target virtual machine, the cloud storage address of the processing result is obtained by the target virtual machine after the processing result is stored in a target cloud storage corresponding to the target client, and the cloud storage address of the processing result is a storage address of the processing result in the target cloud storage;
the processor 1101 is further configured to obtain the processing result from the target cloud storage according to the cloud storage address of the processing result, and send the processing result to the target client.
In one embodiment, the task request carries a client identifier of the target client;
when the processor 1101 sends the task request to the target client server corresponding to the target client, the following steps are specifically executed:
searching a server identifier corresponding to the client identifier of the target client as a target server identifier according to a pre-established corresponding relationship between the client identifier and the server identifier of the client server;
and sending the task request to a target client server corresponding to the target server identification.
In one embodiment, the number of the target clients is multiple;
the processor 1101 sends the task request to a target client server corresponding to the target client, so that the target client server schedules a target virtual machine corresponding to the target client to process the task request according to the identity information of the target client, and when a processing result of the task request is obtained, the following steps are specifically executed:
respectively sending the task request corresponding to each target client in the plurality of target clients to a target client server corresponding to each target client, so that the target client server corresponding to each target client schedules a target virtual machine corresponding to each target client according to the identity information of each target client, and processes the task request corresponding to each target client to obtain a processing result of the task request corresponding to each target client; and the target client server corresponding to each target client schedules the target virtual machine corresponding to each target client according to the identity information of each target client through a batch computing interface.
Based on the method embodiment and the device embodiment, the embodiment of the application also provides a client server. Referring to fig. 12, a schematic structural diagram of a client server provided in the embodiment of the present application is shown. The client server shown in fig. 12 may include at least a processor 1201, an input interface 1202, an output interface 1203, and a computer storage medium 1204. The processor 1201, the input interface 1202, the output interface 1203, and the computer storage medium 1204 may be connected by a bus or other means.
A computer storage medium 1204 may be stored in the memory of the client server, the computer storage medium 1204 being for storing a computer program comprising program instructions, the processor 1201 being for executing the program instructions stored by the computer storage medium 1204. The processor 1201 (or CPU) is a computing core and a control core of the client server, and is adapted to implement one or more instructions, and in particular, is adapted to load and execute the one or more instructions so as to implement the service Processing method flow or the corresponding functions.
An embodiment of the present application further provides a computer storage medium (Memory), which is a Memory device in the client server and is used for storing programs and data. It is understood that the computer storage medium herein may include a built-in storage medium in the terminal, and may also include an extended storage medium supported by the terminal. The computer storage medium provides a storage space that stores an operating system of the terminal. Also stored in the memory space are one or more instructions, which may be one or more computer programs (including program code), suitable for loading and execution by the processor 1201. The computer storage medium may be a Random Access Memory (RAM) memory, or a non-volatile memory (non-volatile memory), such as at least one disk memory; and optionally at least one computer storage medium located remotely from the processor.
In one embodiment, the communication system to which the client server belongs comprises one or more clients, a client server corresponding to each client in the one or more clients, a virtual machine corresponding to each client, and a central server, the client server is a target client server corresponding to a target client in the one or more clients, the target client is any one of the one or more clients, one or more instructions stored in a computer storage medium may be loaded and executed by processor 1201, input interface 1202, and output interface 1203, to implement the corresponding steps of the method in the service handling method embodiment described above in relation to fig. 7, in a specific implementation, one or more instructions in the computer storage medium are loaded by the processor 1201, the input interface 1202, and the output interface 1203 and perform the following steps:
an input interface 1202, configured to receive a task request sent by the central server, where the task request is sent to the central server by the target client;
and the processor 1201 is configured to schedule a target virtual machine corresponding to the target client to process the task request according to the identity information of the target client, so as to obtain a processing result of the task request.
In one embodiment, the communication system further comprises a cloud storage corresponding to each client; the input interface 1202 is further configured to receive a cloud storage address of the processing result sent by the target virtual machine, where the cloud storage address of the processing result is obtained by the target virtual machine after the processing result is stored in a target cloud storage corresponding to the target client, and the cloud storage address of the processing result is a storage address of the processing result in the target cloud storage;
the output interface 1203 is configured to send the cloud storage address of the processing result to the central server, so that the central server obtains the processing result from the target cloud storage according to the cloud storage address of the processing result, and sends the processing result to the target client.
In an embodiment, the processor 1201 schedules, according to the identity information of the target client, the target virtual machine corresponding to the target client to process the task request, and when a processing result of the task request is obtained, the following steps are specifically executed:
acquiring identity information of the target client from a memory of the target client server;
and sending the task request and the identity information of the target client to a target virtual machine corresponding to the target client so that the target virtual machine authenticates the target client according to the identity information of the target client, and if the target virtual machine passes the authentication of the target client, processing the task request to obtain a processing result of the task request.
Embodiments of the present application provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the central server reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the central server executes the method embodiment as shown in fig. 3. The computer-readable storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
Embodiments of the present application provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The computer instructions are read by a processor of the client server from the computer-readable storage medium and executed by the processor to cause the client server to perform the method embodiment described above and illustrated in fig. 7. The computer-readable storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A service processing method is applied to a central server, a communication system to which the central server belongs comprises one or more clients, a client server corresponding to each client in the one or more clients, a virtual machine corresponding to each client, a cloud storage corresponding to each client, and the central server, and the method comprises the following steps:
receiving a task request sent by a target client in the one or more clients, wherein the target client is any one of the one or more clients;
sending the task request to a target client server corresponding to the target client so that the target client server schedules a target virtual machine corresponding to the target client to process the task request according to the identity information of the target client to obtain a processing result of the task request;
receiving a cloud storage address of the processing result sent by the target client server, wherein the cloud storage address of the processing result is sent to the target client server by the target virtual machine, the cloud storage address of the processing result is obtained by the target virtual machine after the processing result is stored in a target cloud storage corresponding to the target client, and the cloud storage address of the processing result is a storage address of the processing result in the target cloud storage;
and acquiring the processing result from the target cloud storage according to the cloud storage address of the processing result, and sending the processing result to the target client.
2. The method of claim 1, wherein the task request carries a client identification of the target client;
the sending the task request to a target client server corresponding to the target client comprises:
searching a server identifier corresponding to the client identifier of the target client as a target server identifier according to a pre-established corresponding relationship between the client identifier and the server identifier of the client server;
and sending the task request to a target client server corresponding to the target server identification.
3. The method of claim 1, wherein the number of target clients is plural;
the sending the task request to a target client server corresponding to the target client so that the target client server schedules a target virtual machine corresponding to the target client to process the task request according to the identity information of the target client to obtain a processing result of the task request includes:
respectively sending the task request corresponding to each target client in the plurality of target clients to a target client server corresponding to each target client, so that the target client server corresponding to each target client schedules a target virtual machine corresponding to each target client according to the identity information of each target client, and processes the task request corresponding to each target client to obtain a processing result of the task request corresponding to each target client; and the target client server corresponding to each target client schedules the target virtual machine corresponding to each target client according to the identity information of each target client through a batch computing interface.
4. A service processing method is applied to a client server, a communication system to which the client server belongs comprises one or more clients, a client server corresponding to each client in the one or more clients, a virtual machine corresponding to each client, a cloud storage corresponding to each client, and a central server, wherein the client server is a target client server corresponding to a target client in the one or more clients, and the target client is any client in the one or more clients, and the method comprises the following steps:
receiving a task request sent by the central server, wherein the task request is sent to the central server by the target client;
scheduling a target virtual machine corresponding to the target client to process the task request according to the identity information of the target client to obtain a processing result of the task request;
receiving a cloud storage address of the processing result sent by the target virtual machine, where the cloud storage address of the processing result is obtained by the target virtual machine after the processing result is stored in a target cloud storage corresponding to the target client, and the cloud storage address of the processing result is a storage address of the processing result in the target cloud storage;
and sending the cloud storage address of the processing result to the central server, so that the central server obtains the processing result from the target cloud storage according to the cloud storage address of the processing result and sends the processing result to the target client.
5. The method of claim 4, wherein the scheduling, according to the identity information of the target client, the target virtual machine corresponding to the target client to process the task request to obtain a processing result of the task request comprises:
acquiring identity information of the target client from a memory of the target client server;
and sending the task request and the identity information of the target client to a target virtual machine corresponding to the target client so that the target virtual machine authenticates the target client according to the identity information of the target client, and if the target virtual machine passes the authentication of the target client, processing the task request to obtain a processing result of the task request.
6. A first service processing apparatus, wherein the apparatus runs in a central server, a communication system to which the central server belongs includes one or more clients, a client server corresponding to each of the one or more clients, a virtual machine corresponding to each of the clients, a cloud storage corresponding to each of the clients, and the central server, and the apparatus includes:
the input unit is used for receiving a task request sent by a target client in the one or more clients, wherein the target client is any one of the one or more clients;
the processing unit is used for sending the task request to a target client server corresponding to the target client so that the target client server schedules a target virtual machine corresponding to the target client to process the task request according to the identity information of the target client to obtain a processing result of the task request;
the input unit is further configured to receive a cloud storage address of the processing result sent by the target client server, where the cloud storage address of the processing result is sent to the target client server by the target virtual machine, the cloud storage address of the processing result is obtained by the target virtual machine after the processing result is stored in a target cloud storage corresponding to the target client, and the cloud storage address of the processing result is a storage address of the processing result in the target cloud storage;
the processing unit is further configured to obtain the processing result from the target cloud storage according to the cloud storage address of the processing result, and send the processing result to the target client.
7. A second service processing apparatus, wherein the apparatus is run in a client server, a communication system to which the client server belongs includes one or more clients, a client server corresponding to each of the one or more clients, a virtual machine corresponding to each of the clients, a cloud storage corresponding to each of the clients, and a central server, the client server is a target client server corresponding to a target client of the one or more clients, and the target client is any client of the one or more clients, the apparatus includes:
the input unit is used for receiving a task request sent by the central server, and the task request is sent to the central server by the target client;
the processing unit is used for scheduling a target virtual machine corresponding to the target client to process the task request according to the identity information of the target client to obtain a processing result of the task request;
the input unit is further configured to receive a cloud storage address of the processing result sent by the target virtual machine, where the cloud storage address of the processing result is obtained by the target virtual machine after the processing result is stored in a target cloud storage corresponding to the target client, and the cloud storage address of the processing result is a storage address of the processing result in the target cloud storage;
the processing unit is further configured to send the cloud storage address of the processing result to the central server, so that the central server obtains the processing result from the target cloud storage according to the cloud storage address of the processing result, and sends the processing result to the target client.
8. A computer storage medium having stored therein computer program instructions for performing a service processing method according to any one of claims 1-3, or for performing a service processing method according to claim 4 or 5, when executed by a processor.
9. A central server comprising a processor and a computer storage medium, wherein the computer storage medium is configured to store program instructions, and wherein the processor is configured to load and execute the program instructions to perform the service processing method of any one of claims 1-3.
10. A client server comprising a processor and a computer storage medium, wherein the computer storage medium is configured to store program instructions, and wherein the processor is configured to load and execute the program instructions to perform the service processing method of claim 4 or 5.
CN202110787368.7A 2021-07-12 2021-07-12 Service processing method, device and storage medium Active CN113467891B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110787368.7A CN113467891B (en) 2021-07-12 2021-07-12 Service processing method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110787368.7A CN113467891B (en) 2021-07-12 2021-07-12 Service processing method, device and storage medium

Publications (2)

Publication Number Publication Date
CN113467891A CN113467891A (en) 2021-10-01
CN113467891B true CN113467891B (en) 2022-03-15

Family

ID=77879944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110787368.7A Active CN113467891B (en) 2021-07-12 2021-07-12 Service processing method, device and storage medium

Country Status (1)

Country Link
CN (1) CN113467891B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115840956A (en) * 2022-12-16 2023-03-24 上海派拉软件股份有限公司 File processing method, device, server and medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6175869B1 (en) * 1998-04-08 2001-01-16 Lucent Technologies Inc. Client-side techniques for web server allocation
US6604046B1 (en) * 1999-10-20 2003-08-05 Objectfx Corporation High-performance server architecture, methods, and software for spatial data
CN103377330A (en) * 2012-04-23 2013-10-30 佛山市智慧岛信息技术有限公司 Virtual resource distribution method and virtual resource distribution system
CN103442030A (en) * 2013-07-31 2013-12-11 北京京东尚科信息技术有限公司 Method and system for sending and processing service request messages and client-side device
CN108965480A (en) * 2018-09-07 2018-12-07 平安科技(深圳)有限公司 Cloud desktop login management-control method, device and computer readable storage medium
CN110289999A (en) * 2019-06-21 2019-09-27 深圳前海微众银行股份有限公司 A kind of data processing method, system and device
CN110908774A (en) * 2018-09-14 2020-03-24 阿里巴巴集团控股有限公司 Resource scheduling method, device, system and storage medium
CN112235400A (en) * 2020-10-14 2021-01-15 腾讯科技(深圳)有限公司 Communication method, communication system, communication apparatus, server, and storage medium
CN112597039A (en) * 2020-12-28 2021-04-02 南方电网深圳数字电网研究院有限公司 Virtual machine access method, system, device and computer readable storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10498807B2 (en) * 2015-10-19 2019-12-03 Citrix Systems, Inc. Multi-tenant multi-session catalogs with machine-level isolation
CN106850710B (en) * 2015-12-03 2020-02-28 杭州海康威视数字技术股份有限公司 Data cloud storage system, client terminal, storage server and application method
CN108322472B (en) * 2016-05-11 2019-06-25 甲骨文国际公司 For providing method, system and the medium of identity based on cloud and access management

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6175869B1 (en) * 1998-04-08 2001-01-16 Lucent Technologies Inc. Client-side techniques for web server allocation
US6604046B1 (en) * 1999-10-20 2003-08-05 Objectfx Corporation High-performance server architecture, methods, and software for spatial data
CN103377330A (en) * 2012-04-23 2013-10-30 佛山市智慧岛信息技术有限公司 Virtual resource distribution method and virtual resource distribution system
CN103442030A (en) * 2013-07-31 2013-12-11 北京京东尚科信息技术有限公司 Method and system for sending and processing service request messages and client-side device
CN108965480A (en) * 2018-09-07 2018-12-07 平安科技(深圳)有限公司 Cloud desktop login management-control method, device and computer readable storage medium
CN110908774A (en) * 2018-09-14 2020-03-24 阿里巴巴集团控股有限公司 Resource scheduling method, device, system and storage medium
CN110289999A (en) * 2019-06-21 2019-09-27 深圳前海微众银行股份有限公司 A kind of data processing method, system and device
CN112235400A (en) * 2020-10-14 2021-01-15 腾讯科技(深圳)有限公司 Communication method, communication system, communication apparatus, server, and storage medium
CN112597039A (en) * 2020-12-28 2021-04-02 南方电网深圳数字电网研究院有限公司 Virtual machine access method, system, device and computer readable storage medium

Also Published As

Publication number Publication date
CN113467891A (en) 2021-10-01

Similar Documents

Publication Publication Date Title
US11409719B2 (en) Co-locating microservice persistence containers within tenant-specific database
CN108737325B (en) Multi-tenant data isolation method, device and system
CN110290189A (en) A kind of container cluster management method, apparatus and system
CN110363026B (en) File operation method, device, equipment, system and computer readable storage medium
US10116642B2 (en) Identity management over multiple identity providers
CN107111519A (en) For managing the system with scheduling container
CN112925647A (en) Cloud edge coordination system, and control method and device of cluster resources
CN103973770A (en) Information processing system
CN112765648B (en) Document processing method, device, equipment and storage medium
US20200412736A1 (en) Dynamic security policy consolidation
CN101378329B (en) Distributed business operation support system and method for implementing distributed business
US11405328B2 (en) Providing on-demand production of graph-based relationships in a cloud computing environment
CN112087520A (en) Data processing method, device, equipment and computer readable storage medium
US9350738B2 (en) Template representation of security resources
CN113467891B (en) Service processing method, device and storage medium
CN112991064B (en) Service processing method, device, computer equipment and storage medium
CN111241504B (en) Identity verification method, device, electronic equipment and storage medium
CN111414349A (en) Interactive unified big data programming computing platform
CN112448909A (en) Electronic lock management method, device, system and storage medium
CN111045928A (en) Interface data testing method, device, terminal and storage medium
CN106778193B (en) Client and UI interaction method
CN112667441A (en) Service module scheduling method, system and storage medium based on fault-tolerant function
CN115145976A (en) Data processing method and device based on block chain, computer equipment and medium
CN113691575A (en) Communication method, device and system
CN112433821B (en) Method and device for building business model, electronic equipment and medium

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
GR01 Patent grant
GR01 Patent grant