Data processing method, device and computer-readable medium based on service grid

By converting data requests into resource information access requests in the embedded system, and using the FUSE mechanism of the service grid to capture the access requests, it solves the service access problems caused by resource limitations and development language diversity, and realizes the convenience of the service grid. Access and efficient resource access, simplifying business logic and improving efficiency.

CN118524143BActive Publication Date: 2024-10-18YICI NETCOM (HANGZHOU) TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410978439.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-10-18
Estimated Expiration
2044-07-22

Smart Images

  • Figure CN118524143B_ABST
    Figure CN118524143B_ABST
Patent Text Reader

Abstract

The present application discloses a data processing method, device and computer-readable medium based on a service grid, wherein the device to which the first service belongs converts the data request received by the first service into a resource information access request to be executed; the resource information access request is executed by calling the portable operating system interface POSIX to access the virtual file system VFS; the resource information access request is captured through the local service grid based on the user space file system interface FUSE; the second service is accessed through the local service grid according to the resource information to process the data request; the second service registers resources to the local service grid. There is no need to create a companion Sidecar process for the service or to load an additional SDK, and the service can be easily connected to the service grid, which greatly improves the feasibility of service access to the service grid and improves business efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of service grid technology, and in particular, to a data processing method, device and computer-readable medium based on a service grid. Background Art

[0002] The system can run various open source projects, third-party services, and self-developed services. How to enable business services to easily access basic services without actively identifying the interface differences of basic services has always been an important problem that needs to be solved. Service mesh is an important way to solve this problem. The sidecar mode of service mesh shields the communication bridge between services and exists as a companion process of the service, such as sharing the same POD with the service.

[0003] However, in embedded systems, due to resource limitations, it is impossible to create a sidecar companion process for each service; and because services have no source code or have open source restrictions and a wide variety of development languages, built-in software development kits (SDKs) are not provided for each service. Therefore, not all services can be connected to the service grid. Summary of the invention

[0004] The present application aims to solve one of the technical problems in the related art to a certain extent. To this end, the present application provides a data processing method, device and computer-readable medium based on a service grid.

[0005] As a first aspect of the present application, a service grid-based data processing method is provided, which is used for a device belonging to a first service; wherein the method comprises:

[0006] Converting the data request received by the first service into a resource information access request to be executed;

[0007] Accessing the virtual file system VFS by calling the portable operating system interface POSIX to execute the resource information access request;

[0008] Capturing the resource information access request based on the user space file system interface FUSE through the local service grid;

[0009] Through the local service grid, access the second service according to the resource information to process the data request; wherein the second service registers resources to the local service grid.

[0010] Optionally, the second service does not belong to the device; and the accessing the second service according to the resource information through the local service grid to process the data request includes:

[0011] Read the metadata of the resource information registered through the local service grid;

[0012] According to the metadata, the data request is sent to a gateway of a device to which the second service belongs, so that the gateway of the device to which the second service belongs routes the data request to the second service, wherein the second service registers resources on the local service grid through the gateway of the device to which the second service belongs.

[0013] Optionally, the second service belongs to the local device; and accessing the second service according to the resource information through the local service grid to process the data request includes:

[0014] Read the metadata of the resource information registered through the local service grid;

[0015] According to the metadata, data corresponding to the data request is acquired from the second service.

[0016] Optionally, the first service receives the data request from the service grid of other devices through the gateway of the local device, and the first service also registers resources to the service grid of the other devices through the gateway of the local device.

[0017] Optionally, the first service receives the data request from an application via a gateway of the device.

[0018] Optionally, the method further comprises:

[0019] When a static resource registration request is received, resource information of the corresponding service to be registered is updated to a configuration file or service code of the control plane service of the local service grid.

[0020] Optionally, the method further comprises:

[0021] Receiving a service resource operation request through a dynamic interface of a control plane service of the local service grid; wherein the service resource operation request includes a resource dynamic registration request;

[0022] According to the service resource operation request, updating corresponding resource information in local data;

[0023] Broadcast the updated resource information to the data plane service of the local service grid.

[0024] Optionally, the control plane service of the local service grid also serves as the data plane service of the local service grid.

[0025] As a second aspect of the present application, an electronic device is provided, wherein the electronic device includes:

[0026] one or more processors;

[0027] A memory having one or more computer programs stored thereon, wherein when the one or more computer programs are executed by the one or more processors, the one or more processors implement the service grid-based data processing method described in the first aspect of the present application.

[0028] As a third aspect of the present application, a computer-readable medium is provided, on which a computer program is stored, wherein when the computer program is executed by a processor, the service grid-based data processing method described in the first aspect of the present application is implemented.

[0029] In the data processing method based on the service grid for the device to which the first service belongs provided in the embodiment of the present application, the data request received by the first service is converted into a resource information access request to be executed, and the virtual file system VFS is accessed by calling the portable operating system interface POSIX to execute the resource information access request, and the resource information access request is captured through the local service grid based on the user space file system interface FUSE, and the second service is accessed through the local service grid according to the resource information to process the data request, and the second service registers resources to the local service grid. The service only needs to register the resources on the service grid, and then use VFS as a communication bridge. When the resource information needs to be accessed, the service directly accesses VFS based on POSIX. The service grid can capture the access to the resource information through the FUSE mechanism, without creating a companion Sidecar process for the service or loading an additional SDK. The service can easily access the service grid, which greatly improves the feasibility of the service access to the service grid, so that the business service can conveniently access the basic service without actively identifying the interface differences of the basic service. In addition, the complexity of resource allocation and routing selection is moved to the service grid, which greatly simplifies the code logic of the business service and improves the business efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] The present application is further described below in conjunction with the accompanying drawings:

[0031] Figure 1 It is a flowchart of an implementation method of a data processing method based on a service grid provided in an embodiment of the present application;

[0032] Figure 2 This is a flowchart of an implementation method of accessing the second service provided in an embodiment of the present application;

[0033] Figure 3 is a flowchart of another implementation method of accessing the second service provided in an embodiment of the present application;

[0034] Figure 4 It is a flowchart of another implementation of the service grid-based data processing method provided in an embodiment of the present application;

[0035] Figure 5 It is a flowchart of another implementation of the data processing method based on the service grid provided in the embodiment of the present application;

[0036] Figure 6 It is a schematic diagram of the principle flow of the data processing method based on the service grid provided in an embodiment of the present application;

[0037] Figure 7 This is a system architecture diagram of an implementation method of a service grid-based data processing method provided in an embodiment of the present application;

[0038] Figure 8 is a schematic diagram of an implementation of an electronic device provided in an embodiment of the present application;

[0039] Fig. 9 It is a schematic diagram of a computer-readable medium provided in an embodiment of the present application.

[0040] Description of Reference Numerals

[0041] 101: Processor 102: Memory

[0042] 103: I / O interface 104: bus DETAILED DESCRIPTION

[0043] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The embodiments based on the embodiments are intended to be used to explain the present application and cannot be understood as limiting the present application.

[0044] References to "one embodiment" or "an example" or "an example" in this specification mean that a particular feature, structure, or characteristic described in conjunction with the embodiment itself may be included in at least one embodiment disclosed in the present application. The appearance of the phrase "in one embodiment" in various places in the specification does not necessarily refer to the same embodiment.

[0045] Currently, in embedded systems, due to resource limitations, it is impossible to create a sidecar companion process for each service; for services without source code or with open source restrictions, it is impossible to modify the source code of the service to introduce the SDK library for it; since services can be developed in a variety of development languages, it is also impossible to introduce the SDK library for each development language. Therefore, not all services can be connected to the service grid.

[0046] In this regard, the applicant of this application proposes that the service only needs to register resources on the service grid, and then use the virtual file system (VFS) as a communication bridge. When access to resource information is needed, the service directly accesses the VFS based on the portable operating system interface POSIX. The service grid can capture access to resource information through the user space file system (Filesystem inUserspace, FUSE) mechanism. There is no need to create a companion Sidecar process for the service or load an additional SDK, and the service can be easily connected to the service grid.

[0047] As a first aspect of an embodiment of the present application, a service grid-based data processing method is provided, which is used for a device belonging to a first service; wherein, Figure 1 As shown, the method may include:

[0048] In step S110, the data request received by the first service is converted into a resource information access request to be executed;

[0049] In step S120, the resource information access request is executed by calling the portable operating system interface POSIX to access the virtual file system VFS;

[0050] In step S130, the resource information access request is captured based on the user space file system interface FUSE through the local service grid;

[0051] In step S140, a second service is accessed according to the resource information through the local service grid to process the data request; wherein the second service registers resources to the local service grid.

[0052] It should be noted that in the embodiments of the present application, the "first" and "second" in "first service" and "second service" are mainly used to distinguish different services. The "local" in "local service grid" is relative to the device, and for devices other than the device, it is actually a remote service grid.

[0053] The first service and the second service are not specifically limited in the embodiments of the present application. For example, they can be backend services such as third-party application services and functional services that provide capabilities. The first service can be used as a business service for the second service, and the second service can be used as a basic service for the first service. It should be noted that the business service and basic service here are based on the roles played by the services, which means that the basic service can provide certain capabilities for the business service. One service can be used as a business service for another service and as a basic capability for another service at the same time.

[0054] Wherein, both step S110 and step S120 can be executed by the first service in the device itself. The embodiment of the present application does not specifically limit how to execute step S110, which is determined by the function of the first service. The way to execute step S110 may be different depending on the function of the first service. For example, when the data request is for requesting to open a user's information, the first service can convert the data request into reading the content of the file / a / b / c / user111.

[0055] Among them, the embodiments of the present application do not specifically limit the resources registered by the service to the service grid. For example, the resources may include the following various interface forms: POSIX interface from the system's internal file system, service interfaces such as (Google Remote Procedure Calls, GRPC) / Representational State Transfer (Representational State Transfer, REST) / SDK from the system's internal services, service interfaces such as GRPC / REST / SDK from remote system services, service interfaces from open source services or third-party services, etc. The service grid records the resources registered by the service through resource information.

[0056] The essence of the FUSE mechanism is to transfer the implementation of the file system from kernel state to user state. The first service calls POSIX to access VFS, which means it enters kernel state and hands the resource information access request to the FUSE mechanism via VFS. The local service grid will capture the resource information access request through the FUSE mechanism, and then access the second service based on the resource information to process the data request.

[0057] In the data processing method based on the service grid for the device to which the first service belongs provided in the embodiment of the present application, the data request received by the first service is converted into a resource information access request to be executed, and the virtual file system VFS is accessed by calling the portable operating system interface POSIX to execute the resource information access request, and the resource information access request is captured through the local service grid based on the user space file system interface FUSE, and the second service is accessed through the local service grid according to the resource information to process the data request, and the second service registers resources to the local service grid. The service only needs to register the resources on the service grid, and then use VFS as a communication bridge. When the resource information needs to be accessed, the service directly accesses VFS based on POSIX. The service grid can capture the access to the resource information through the FUSE mechanism, without creating a companion Sidecar process for the service or loading an additional SDK. The service can easily access the service grid, which greatly improves the feasibility of the service access to the service grid, so that the business service can conveniently access the basic service without actively identifying the interface differences of the basic service. In addition, the complexity of resource allocation and routing selection is moved to the service grid, which greatly simplifies the code logic of the business service and improves the business efficiency.

[0058] The embodiment of the present application does not specifically limit the device to which the second service belongs. The second service may belong to the present device or not. It should be noted that whether the second service belongs to the present device determines how the local service grid will access the second service according to the resource information to process the data request, which will be described in detail below.

[0059] In some embodiments, the second service does not belong to the device; the second service is accessed through the local service grid according to the resource information to process the data request (ie, involved in step S140), such as Figure 2 As shown, it may include:

[0060] In step S210, metadata for registering the resource information is read through the local service grid;

[0061] In step S210, based on the metadata, the data request is sent to the gateway of the device to which the second service belongs, so that the gateway of the device to which the second service belongs routes the data request to the second service, wherein the second service registers resources to the local service grid through the gateway of the device to which the second service belongs.

[0062] In the embodiment of the present application, the second service on device B is used as the basic service of the first service on device A, that is, the first service and the second service are located on two different devices. The gateway of device B can uniformly register all or part of the resources of device B to the service grid of device A, thereby cascading the service grid of device B to the service grid of device A, so that all or part of the services of device B provide certain capabilities for certain services of device A.

[0063] It can be understood that after the gateway of the device to which the second service belongs routes the data request to the second service, the second service also receives the data request. At this time, the device to which the second service belongs can use the second service as a service that plays the role of the first service to execute the service grid-based data processing method provided in this application.

[0064] Metadata, also known as intermediary data or relay data, is data that describes data. In the embodiment of the present application, the metadata of the second service registration resource information is data that describes the resource information. The local service grid can identify whether the second service belongs to the device based on the metadata of the second service registration resource information, that is, whether the second service is local or remote. In other words, the local service grid can first read the metadata of the registration resource information and then decide how to access the second service to process the data request.

[0065] Accordingly, in some embodiments, the second service belongs to the device; the second service is accessed through the local service grid according to the resource information to process the data request (ie, the step S140 involved), such as Figure 3 As shown, it may include:

[0066] In step S310, metadata for registering the resource information is read through the local service grid;

[0067] In step S320, data corresponding to the data request is acquired from the second service according to the metadata.

[0068] In the embodiment of the present application, the second service on device A is used as the basic service of the first service on device A, that is, the first service and the second service are located on the same device. At this time, the local service grid can call the second service interface according to the resource information and obtain the corresponding data from the second service to respond to the data request.

[0069] As described above, a service may receive a data request through a gateway of a device to which the service belongs. Accordingly, in some embodiments, the first service receives the data request from a service grid of another device through the gateway of the device, and the first service also registers resources to the service grid of the other device through the gateway of the device.

[0070] In the embodiment of the present application, it involves the situation that other devices (hereinafter referred to as "device C") execute the data processing method based on the service grid provided by the present application, send the data request to the gateway of device A, and the gateway of device A routes the data request to the first service of device A. The gateway of device A can uniformly register all or part of the resources of device A to the service grid of device C, thereby cascading the service grid of device A to the service grid of device C, so that all or part of the services of device A provide certain capabilities for certain services of device C. It can be understood that in this case, the first service of device A actually plays the role of the second service at the device C level, that is, the first service of device A provides capabilities for certain services of device C as a basic service.

[0071] As for how the first service of device A accesses the second service to process the data request after receiving the data request, it has been described in detail above and will not be repeated here.

[0072] It is understandable that in the embodiment of the present application, since it supports cascading the service grid of one device to the service grid of another device, a service grid cascade of two or more devices can be formed. For example, in the embodiment of the present application, the service grid of device A is cascaded to the service grid of device C. Then, when the second service does not belong to the present device, the service grid of the device to which the second service belongs is cascaded to the service grid of device A, forming at least three service grid cascades; when the second service belongs to the present device, at least two service grid cascades are formed.

[0073] In addition to the above situation, there is also a situation where the first service of device A directly receives the data request from an application (Application, APP). Accordingly, in some embodiments, the first service receives the data request from the application through the gateway of the device.

[0074] The service grid can logically divide services into control plane services and data plane services. The control plane services have the following capabilities: building a resource tree locally with resources as the granularity, discovering resource registration requests (including dynamic resource registration requests and static resource registration requests) and mounting the successfully registered resource information at the appropriate location of the resource tree, monitoring the changes of specified resources and uninstalling expired or to-be-cancelled resource information from the trunk / leaves of the resource tree, limiting the access traffic of the trunk / leaves of the resource tree, collecting and analyzing the telemetry data of the trunk / leaves of the resource tree, and controlling the access authentication of the trunk / leaves of the resource tree. The data plane services have the following capabilities: taking over the output traffic of the service and forwarding the traffic to the appropriate destination, complying with the control policy of the control plane services to achieve routing, forwarding, health checks, load balancing, authentication, authorization, production monitoring data, etc.

[0075] In the embodiments of the present application, there is no specific limitation on how the service registers resources to the service grid. For example, a static registration method or a dynamic registration method may be used. Figure 4 As shown, the method may also include:

[0076] In step S410, when a static resource registration request is received, resource information of the corresponding service to be registered is updated to a configuration file or service code of a control plane service of the local service grid.

[0077] The resource information may include forwarding relationships, which may be recorded inside the control layer service, for example, the resource information of the service may be recorded in a configuration file of the control layer service, or may be fixed in the code of the control layer service. In other words, the service does not need to modify any code.

[0078] In addition, the control plane service of the local service grid can also provide a dynamic interface for the service to perform resource-related operations such as registering resources, deleting resources, and updating resources. Figure 5 As shown, the method may also include:

[0079] In step S510, a service resource operation request is received through a dynamic interface of a control plane service of the local service grid; wherein the service resource operation request includes a resource dynamic registration request;

[0080] In step S520, corresponding resource information is updated in local data according to the service resource operation request;

[0081] In step S530, the updated resource information is broadcast to the data plane service of the local service grid.

[0082] The service resource operation request may include a resource dynamic registration request, a resource deletion request, a resource update request, etc. Whenever the control plane service receives a service resource operation request, it first updates the local data and then broadcasts the update result to the data plane service.

[0083] It can be understood that since the services of this device and the services of devices other than this device can register resources on the service grid of this device, the service resource operation requests received by the dynamic interface of the control layer service of the local service grid can come from the services of this device or from the services of devices other than this device.

[0084] In an embedded system, in order to save resources, the control plane and the data plane can be combined into one in the service grid, that is, the service can be used as a control plane service and a data plane service at the same time. Accordingly, in some embodiments, the control plane service of the local service grid also serves as the data plane service of the local service grid.

[0085] The following reference Figure 6 To illustrate the principle of the data processing method based on the service grid provided by this application, as follows Figure 6 As shown, it is a schematic diagram of the principle flow of the data processing method based on the service grid provided in an embodiment of the present application. The front-end application accesses the business service to request to obtain data. The business service recognizes that the data is provided by the back-end basic service, converts the data request into a resource information access request, and executes the resource information access request by calling the POSIX interface to access the VFS. The service grid captures the resource information access request through the FUSE mechanism, obtains data from the basic service and returns it to the business service.

[0086] The following reference Figure 7 The data processing method based on the service grid provided by this application is described in conjunction with a most specific embodiment. Figure 7 As shown, this is a system architecture diagram of an implementation method of a service grid-based data processing method provided in an embodiment of the present application. The gateway of device B uniformly registers all resources of device B to the service grid of device A, thereby cascading the service grid of device B to the service grid of device A.

[0087] The application sends a data request to service x through the gateway of device A. Service x, as the first service, finds the resource information whose data source is service y, converts the data request into an access request to the resource information of service y, and calls POSIX access VFS to execute the access request. The service grid of device A captures the access request based on the FUSE mechanism, reads the metadata of the resource information of registered service y, and sends the data request to the gateway of device B according to the access method provided by the metadata, and the gateway of device B routes the data request to service y.

[0088] Service y, as the first service, finds the resource information of service z as the data source, converts the data request into an access request to the resource information of service z, and calls POSIX to access VFS to execute the access request. The service grid of device B captures the access request based on the FUSE mechanism, reads the metadata of the resource information of registered service z, and accesses service z to obtain the data according to the access method provided by the metadata.

[0089] It can be seen that when the data processing method based on the service grid provided in the present application is executed at the device A level, service x is used as the first service and service y is used as the second service, while when the data processing method based on the service grid provided in the present application is executed at the device B level, service y is used as the first service and service z is used as the second service. In general, service x is used as the business service of service y and service y is used as the basic service of service x, service y is used as the business service of service z and service z is used as the basic service of service y.

[0090] It is understandable that the service grid of device A may include other services in addition to service y, and the service grid of device B may include other services in addition to service z.

[0091] In the embodiment of the present application, although the intermediate access link may be long, since VFS is used as a communication bridge, for business services it is still as simple as accessing a file in the local file system.

[0092] As a second aspect of the embodiments of the present application, an electronic device is provided, wherein: Figure 8 As shown, the electronic device includes:

[0093] One or more processors 101;

[0094] The memory 102 stores one or more computer programs. When the one or more computer programs are executed by the one or more processors 101, the one or more processors 101 implement the service grid-based data processing method provided in the first aspect of the embodiment of the present application.

[0095] The electronic device may further include one or more I / O interfaces 103 connected between the processor 101 and the memory 102 and configured to implement information interaction between the processor 101 and the memory 102 .

[0096] Among them, the processor 101 is a device with data processing capabilities, including but not limited to a central processing unit (CPU), etc.; the memory 102 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH); the I / O interface (read-write interface) is connected between the processor and the memory, and can realize information exchange between the processor and the memory, including but not limited to a data bus (Bus), etc.

[0097] In some embodiments, the processor 101 , the memory 102 , and the I / O interface 103 are connected to each other via a bus 104 , and further connected to other components of the computing device.

[0098] As a third aspect of the embodiment of the present application, Fig. 9 As shown, a computer-readable medium is provided, on which a computer program is stored, wherein when the computer program is executed by a processor, the service grid-based data processing method provided in the first aspect of the embodiment of the present application is implemented.

[0099] It will be understood by those skilled in the art that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. Accordingly, the computer program can be stored in a non-volatile computer-readable storage medium, and the computer program can implement the method of any of the above-mentioned embodiments when executed. Among them, any reference to memory, storage, database or other media used in the embodiments provided in the embodiments of the present application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0100] The above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Those skilled in the art should understand that the present application includes but is not limited to the contents described in the drawings and the above specific embodiments. Any modification that does not deviate from the functional and structural principles of the present application will be included in the scope of the claims.

Claims

1. A data processing method based on a service grid, used for a device belonging to a first service; characterized in that: The method comprises: Converting the data request received by the first service into a resource information access request to be executed; Accessing the virtual file system VFS by calling the portable operating system interface POSIX to execute the resource information access request; Capturing the resource information access request based on the user space file system interface FUSE through the local service grid; Through the local service grid, access the second service according to the resource information to process the data request; wherein the second service registers resources to the local service grid, and the local service grid records the resources registered by the second service through the resource information.

2. The method according to claim 1, characterized in that The second service does not belong to the device; and accessing the second service according to the resource information through the local service grid to process the data request includes: Read the metadata of the resource information registered through the local service grid; According to the metadata, the data request is sent to a gateway of a device to which the second service belongs, so that the gateway of the device to which the second service belongs routes the data request to the second service, wherein the second service registers resources on the local service grid through the gateway of the device to which the second service belongs.

3. The method according to claim 1, characterized in that The second service belongs to the local device; and accessing the second service according to the resource information through the local service grid to process the data request includes: Read the metadata of the resource information registered through the local service grid; According to the metadata, data corresponding to the data request is acquired from the second service.

4. The method according to claim 2 or 3, characterized in that: The first service receives the data request from the service grid of the other device through the gateway of the local device, and the first service also registers resources on the service grid of the other device through the gateway of the local device.

5. The method according to claim 2 or 3, characterized in that: The first service receives the data request from the application through the gateway of the device.

6. The method according to claim 1, characterized in that The method further comprises: When a static resource registration request is received, resource information of the corresponding service to be registered is updated to a configuration file or service code of the control plane service of the local service grid.

7. The method according to claim 1, characterized in that The method further comprises: Receiving a service resource operation request through a dynamic interface of a control plane service of the local service grid; wherein the service resource operation request includes a resource dynamic registration request; According to the service resource operation request, updating corresponding resource information in local data; Broadcast the updated resource information to the data plane service of the local service grid.

8. The method according to claim 6 or 7, characterized in that: The control plane service of the local service grid also serves as the data plane service of the local service grid.

9. An electronic device, characterized in that: The electronic device comprises: one or more processors; A memory having one or more computer programs stored thereon, wherein when the one or more computer programs are executed by the one or more processors, the one or more processors implement the service grid-based data processing method according to any one of claims 1-8.

10. A computer readable medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the service grid-based data processing method according to any one of claims 1 to 8 is implemented.