Patent ID: 11889133
Assignee: SHANGHAI HODE INFORMATION TECHNOLOGY CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 14:
15. A non-transitory computer-readable storage medium having a computer-readable program stored thereon, wherein the computer-readable program, when executed by a processor, implements operations of:
pre-configuring a buffer unit for storing marked service data;
obtaining a service request sent by a client computing device;
determining whether there is service data stored in the buffer unit matching the service request;
in response to determining that there is service data in the buffer unit matching the service request, sending the service data to the client computing device;
in response to determining that there is no service data in the buffer unit matching the service request, determining whether a request frequency associated with the service request is greater than a frequency threshold;
in response to determining that the request frequency is greater than the frequency threshold, allocating resources to a first service layer based on a service type of the service request, wherein the allocating resources to a first service layer based on a service type of the service request further comprises:
extracting a service identifier from the service request,
determining whether the request frequency associated with the service identifier is greater than the frequency threshold,
in response to determining that the request frequency associated with the service identifier is greater than the frequency threshold, identifying the service identifier as the offloading identifier,
obtaining a list of registered addresses for all service nodes in the first service layer, and
allocating the resources to a service node corresponding to a registered address in the list of registered addresses based on the service type corresponding to the offloading identifier;

sending the service request to the first service layer after the allocating resources to the first service layer, and obtaining corresponding service data from the first service layer; and
sending the obtained corresponding service data to the client computing device.