Service processing method and device

US12225012B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12225012-B2
Application numberUS-202318194616-A
CountryUS
Kind codeB2
Filing dateMar 31, 2023
Priority dateJan 28, 2021
Publication dateFeb 11, 2025
Grant dateFeb 11, 2025

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

The embodiments of the present disclosure relate to the technical field of content delivery network, and disclose a service processing method. The service processing method includes: receiving a customized service logic issued by a CDN user, receiving a user request corresponding to the customized service logic, loading the customized service logic and the user request to at least one execution process of a restricted namespace, where the restricted namespace is restricted to at least one of accessing CDN system files, calling key system interfaces, and using system resources, and processing and responding to the user request in the at least one execution process according to the customized service logic.

First claim

Opening claim text (preview).

What is claimed is: 1. A service processing method, comprising: receiving a customized service logic issued by a user of a content delivery network (CDN); receiving a user request corresponding to the customized service logic; loading the customized service logic and the user request to at least one execution process of a restricted namespace, wherein the restricted namespace is restricted to at least one of accessing CDN system files, calling key system interfaces, and using system resources; and processing and responding to the user request according to the customized service logic in the at least one execution process. 2. The service processing method according to claim 1 , wherein the operation of loading the customized service logic and the user request to the at least one execution process of the restricted namespace comprises: loading code and configuration files corresponding to the customized service logic to the at least one execution process; forwarding the user request to the at least one execution process through a management process for managing the at least one execution process in the restricted namespace. 3. The service processing method according to claim 1 , wherein the operation of receiving the user request corresponding to the customized service logic comprises: a CDN node server process forwarding the user request to a management process of an edge application according to a filtering condition of the user request, the filtering condition comprising at least one of a domain name of the user request, a customized request header and a customized uniform resource locator (URL) parameter, and the CDN node server process interacting with the management process through inter-process communication; the operation of loading the customized service logic and the user request to the at least one execution process of the restricted namespace comprises: forwarding qualified user requests to the management process through the filtering condition of the user request. 4. The service processing method according to claim 1 , wherein the operation of loading the customized service logic and the user request to the at least one execution process of the restricted namespace comprises: a management process of an edge application calling the customized service logic based on the user request, and forwarding the user request and the customized service logic to the at least one execution process. 5. The service processing method according to claim 1 , further comprising: forwarding the customized service logic to one of the at least one execution process through a management process before receiving the user request; and the operation of loading the customized service logic and the user request to the at least one execution process of the restricted namespace comprising: forwarding the user request to an execution process which the customized service logic resides in through the management process. 6. The service processing method according to claim 5 , the operation of forwarding the customized service logic to one of the at least one execution process through the management process before receiving the user request comprising: forwarding a plurality of customized service logics to one of the at least one execution process through the management process before receiving the user request; and the operation of processing and responding to the user request according to the customized service logic in the at least one execution process comprising: in response to there being more than one user request forwarded, dynamically switching amongst different customized service logics according to different user requests, and processing and responding to the different user requests. 7. The service processing method according to claim 2 , wherein the management process is further configured to adjust loads of different execution processes in a CDN node. 8. The service processing method according to claim 3 , wherein the CDN node server process, the management process, and the at least one execution process are deployed in a same CDN node or node cluster. 9. The service processing method according to claim 1 , further comprising: terminating an execution process which a user request, an execution time of the user request in the execution process being greater than a preset time threshold, resides in. 10. The service processing method according to claim 1 , further comprising: creating an execution process in response to receiving an updated customized service logic and a customized service logic before updating being in a running state; wherein a created execution process is configured to execute the updated customized service logic; an execution process which the customized service logic before updating resides in is cancelled after the customized service logic before updating finishes running. 11. The service processing method according to claim 1 , wherein each of the at least one execution process is a dynamic resolver supporting dynamic interpretation of a high-level programming language. 12. The service processing method according to claim 3 , wherein the CDN node server process performs a back-to-source process in response to the CDN node not hitting a cache. 13. The service processing method according to claim 3 , further comprising: the at least one execution process forwarding the user request back to the CDN node server process after processing and responding to the user request according to the customized service logic in the at least one execution process. 14. The service processing method according to claim 1 , wherein the customized service logic comprises code and configuration files issued by the CDN user. 15. The service processing method according to claim 3 , wherein the management process starts a monitoring service to wait for receiving the user request, and execution of the customized service logic is triggered by starting the monitoring service to receive a user request forwarded by the CDN node server process. 16. The service processing method according to claim 1 , wherein execution of the customized service logic is voluntarily started by setting a regular task. 17. The service processing method according to claim 3 , wherein the edge application runs in the restricted namespace. 18. The service processing method according to claim 3 , wherein the edge application runs in any one of a sandbox environment, a container and a virtual machine. 19. A service processing device, comprising: at least one processor, and a memory in communicative connection with the at least one processor; wherein the memory at least stores an instruction executable by the at least one processor, and the instruction is executed by the at least one processor to cause the at least one processor to perform a service processing method; wherein the service processing method includes: receiving a customized service logic issued by a user of a content delivery network (CDN); receiving a user request corresponding to the customized service logic; loading the customized service logic and the user request to at least one execution process of a restricted namespace, wherein the restricted namespace is restricted to at least one of accessing CDN system files, calling key system interfaces, and using system resources; and processing and responding to the user request according to the customized service logic in the at least one execution process. 20. A non-transitory computer-readable storage medium, storin

Assignees

Inventors

Classifications

  • to features or functions of an application · CPC title

  • by executing in a restricted environment, e.g. sandbox or secure virtual machine · CPC title

  • using domain name system [DNS] · CPC title

  • for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS] · CPC title

  • based on web technology, e.g. hypertext transfer protocol [HTTP] · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12225012B2 cover?
The embodiments of the present disclosure relate to the technical field of content delivery network, and disclose a service processing method. The service processing method includes: receiving a customized service logic issued by a CDN user, receiving a user request corresponding to the customized service logic, loading the customized service logic and the user request to at least one execution…
Who is the assignee on this patent?
Wangsu Science & Tech Co Ltd, Wangsu Science And Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification H04L63/10. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Feb 11 2025 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 4 related publications on this page (citations in our corpus or others sharing the same primary CPC).