Edge cloud network system, scheduling method, device, system and storage medium
Through the edge cloud network system and scheduling method, the interfaces of different data processing service providers are uniformly scheduled and adapted, solving the problems of interface differences and single points of failure, and realizing convenient invocation and high availability of data processing services.
Patent Information
- Application Number
- CN202210646468.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-08
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2042-06-08
AI Technical Summary
Different data processing service providers have different interface parameters, calling forms, and return value definitions, causing users to face inconvenience when calling data processing services, and the failure of a single data processing service provider will affect the robustness of user applications.
Design an edge cloud network system and scheduling method to obtain attribute information of multiple data processing service providers through scheduling nodes, select the target edge node, and convert the access request into the access format supported by the target edge node to achieve different data processing Unified calling and dynamic scheduling of service providers.
It improves the convenience and robustness of calling data processing services. Users do not need to master the interface parameters and calling methods of each data processing service provider, and even if an exception occurs in a data processing service provider, the access request can be dispatched to other providers. , reducing the impact on user-side applications.
Smart Images

Figure CN115002229B
Abstract
Description
Technical Field
[0001] The present application relates to the field of cloud service technology, and in particular to an edge cloud network system, scheduling method, device, system and storage medium. Background Art
[0002] As artificial intelligence and machine learning technologies become increasingly mature, more and more data processing capabilities for common scenarios have evolved into mature products, such as optical character recognition (OCR), natural language processing (NLP), text-to-speech (TTS) services, etc. Data processing service providers usually provide out-of-the-box data processing service capabilities in the form of APIs, and users call related data processing services according to the interface parameters defined by the data processing service provider.
[0003] However, different data processing service providers have different definitions of interface parameters, calling forms and return values. Therefore, even if the data processing services are for the same scenario, the calling methods of the data processing service interfaces of different data processing service providers are not exactly the same, which brings great inconvenience to users calling data processing services. Summary of the invention
[0004] Multiple aspects of the present application provide an edge cloud network system, scheduling method, device, system and storage medium to provide a unified data processing service scheduling method, which can improve the convenience of service calls from different data service providers.
[0005] The embodiment of the present application also provides an edge cloud network system, including: a client, a scheduling node and a plurality of edge nodes; the plurality of edge nodes are used to provide data processing services; the access formats of the data services provided by the plurality of edge nodes are different;
[0006] The client is used to provide an access request for a data processing service to the scheduling node;
[0007] The scheduling node is used to obtain attribute information of data processing services provided by multiple edge clouds; select a target edge cloud from the multiple edge clouds based on the access request and the attribute information; convert the access request into a target access format supported by the target edge cloud to obtain an access request in the target access format; and use the access request in the target format to call the data processing service of the target edge cloud.
[0008] The present application provides a scheduling method, including:
[0009] Obtain access requests for data processing services;
[0010] Obtaining attribute information of data processing services provided by multiple data processing service providers;
[0011] selecting a target data processing service provider from the plurality of data service providers according to the access request and the attribute information;
[0012] Converting the access request into a target access format supported by the target data processing service provider to obtain an access request in the target access format;
[0013] The data processing service of the target data processing service provider is called using the access request in the target access format.
[0014] The embodiment of the present application also provides a scheduling system, including: a client, a scheduling end and a plurality of data processing service providers; the scheduling end includes: a scheduling component, a monitoring component and a driving component;
[0015] The scheduling component is used to obtain an access request for a data processing service provided by the client;
[0016] The monitoring component is used to obtain attribute information of data processing services provided by multiple data service providers;
[0017] The scheduling component is further used to select a target data processing service provider from the multiple data service providers according to the access request and the attribute information;
[0018] The driver component is used to convert the access request into a target access format supported by the target data processing service provider to obtain an access request in the target access format; and to call the data processing service of the target data processing service provider using the access request in the target format.
[0019] The embodiment of the present application further provides a computing device, comprising: a memory, a processor, and a communication component; wherein the memory is used to store a computer program;
[0020] The processor is coupled to the memory and the communication component, and is configured to execute the computer program to perform the steps in the above-mentioned data processing service scheduling method.
[0021] An embodiment of the present application also provides a computer-readable storage medium storing computer instructions. When the computer instructions are executed by one or more processors, the one or more processors are caused to execute the steps in the above-mentioned data processing service scheduling method.
[0022] In an embodiment of the present application, a scheduling terminal is added to the data processing service scheduling system. The scheduling terminal can schedule the target data processing service provider that provides data processing services for the access request based on the attribute information and access requests of multiple data processing service providers for the access request of the data processing service. Furthermore, a driver layer (i.e., a driver component) for calling the data processing service interface is added to the scheduling terminal, which can convert the access request of the data processing service into the target access format supported by the target data processing service provider, adapt the formats of different data processing service providers, and realize the unified calling of different data processing service providers. For users, there is no need to master the interface parameter form and calling method of each data processing service provider, which can improve the convenience of service calling of different data service providers.
[0023] On the other hand, according to the attribute information and access requests of multiple data processing service providers, the target data processing service provider that provides data processing services for the access request is scheduled to realize dynamic calling of data processing service providers, so that the data processing service call no longer depends on a single data processing service provider. In this way, even if the data processing service provided by a data processing service provider is abnormal, the access request can be scheduled to other data processing service providers, which helps to improve the robustness of the data processing service and reduce the impact on user-side applications. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0025] Figure 1 and Figure 2 A schematic diagram of the structure of the scheduling system provided in the embodiment of the present application;
[0026] Figure 3 A schematic diagram of the process of data processing service scheduling by the scheduling system provided in an embodiment of the present application;
[0027] Figure 4a A schematic diagram of the structure of the edge cloud network system provided in the embodiment of the present application;
[0028] Figure 4b A flowchart of a scheduling method provided in an embodiment of the present application;
[0029] Figure 5 A schematic diagram of the structure of a computing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0031] Data processing services refer to services that provide various data processing methods. Data include: character data, image data, video data, audio data, etc., but are not limited to these. The data processing services provided by data processing service providers can be implemented as software as a service (SaaS) products. Data processing services include: artificial intelligence (AI) services and other data processing services, such as data storage services, data query services, and data addition, deletion, and modification services. AI services refer to data processing services involved in the field of artificial intelligence. For example, optical character recognition (OCR), natural language processing (NLP), text-to-speech conversion (TTS), object recognition, etc.
[0032] Data processing service providers usually provide out-of-the-box data processing service capabilities in the form of APIs, and users call related data processing services according to the interface parameters defined by the data processing service provider. For example, users can initiate HTTP calls to the designated interface of the data processing service provider according to the interface parameters defined by the data processing service provider, as well as the pre-applied access key ID (AK) and secret access key (SK), and receive HTTP responses as data processing results.
[0033] However, the definitions of interface parameters, calling forms and return values of different data processing service providers are often not completely consistent. Taking the widely used OCR service as an example, some data processing service providers A require the request parameter of the image URL, which is represented by the "image" field; at the same time, configuration parameters such as "minimum height of text in the image", "probability of outputting text boxes", "whether to turn off text line direction prediction", etc. need to be passed in the form of json. The return value is a json array, and each part of the json array contains "text content", "text area probability", "area coordinates", etc. Another data processing service provider that also provides OCR services has an interface including: image address URL, represented by the "ImageUrl" field; recognition language type, represented by the "LanguageType" field; whether to open PDF recognition, represented by the "IsPdf" field. The return value includes text line content, confidence, text line coordinates, coordinates after text line rotation correction, language type, etc. It can be seen that even if the data processing services are for the same scenario, the service interface calling methods of different data processing service providers are not exactly the same.
[0034] On the other hand, more and more applications and services are built based on the data processing service interfaces of third-party data processing service providers, which puts strong demands on the use cost and availability of data processing service interfaces. If a service interface of a single data processing service provider fails, in the absence of a backup interface, the user's own application will be greatly affected. At the same time, the payment methods and latency of the interfaces of different data processing service providers are different. If you can flexibly choose the appropriate data processing service provider for user requests in different regions and of different sizes, you will achieve a better balance between use cost, user experience and service availability.
[0035] In order to solve the above technical problems, in some embodiments of the present application, a scheduling end is added to the data processing service scheduling system. The scheduling end can schedule the target data processing service provider that provides data processing services for the access request based on the attribute information and access requests of multiple data processing service providers for the access request of the data processing service. Furthermore, a driver layer (i.e., a driver component) for calling the data processing service interface is added to the scheduling end, which can convert the access request of the data processing service into the target access format supported by the target data processing service provider, adapt to the formats of different data processing service providers, and realize the unified calling of different data processing service providers. For users, there is no need to master the interface parameter form and calling method of each data processing service provider, which can improve the convenience of service calling of different data service providers.
[0036] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0037] It should be noted that the same reference numerals denote the same objects in the following drawings and embodiments, and therefore, once an object is defined in one drawing or embodiment, it does not need to be further discussed in the subsequent drawings and embodiments.
[0038] Figure 1 This is a schematic diagram of the structure of the scheduling system provided in the embodiment of the present application. Figure 1 As shown, the system mainly includes: a client 10, a scheduling terminal 20 and a plurality of data processing service providers 30. A plurality refers to two or more.
[0039] In this embodiment, the client 10 refers to a computer device used by a user and having the computing, Internet access, communication and other functions required by the user, such as a mobile phone, a tablet computer, a personal computer, a wearable device, etc.
[0040] The data processing service provider 30 refers to a service provider that provides data processing services to users. The data processing service provider 30 can deploy data processing services through a server-side device to provide users with SaaS-style services. The server-side device can be a single server device, a cloud-based server array, or a virtual machine (VM) running in a cloud-based server array. In addition, the server-side device can also refer to other computing devices with corresponding service capabilities, such as computers and other terminal devices (running service programs), etc.
[0041] In an embodiment of the present application, the data processing service provided by the data processing service provider 30 can be deployed on the server-side device of the central cloud, or can be deployed in the edge cloud of the edge cloud network. An edge cloud can be a computer room, a data center (DC) or an Internet data center (IDC), etc. For an edge cloud network, each edge cloud may include a series of edge infrastructures, including but not limited to: distributed data centers (DCs), wireless computer rooms or clusters, operators' communication networks, core network equipment, base stations, edge gateways, home gateways, computing devices or storage devices and other edge devices and corresponding network environments, etc. It should be noted that the locations, capabilities and infrastructures contained in different edge nodes may be the same or different.
[0042] In an embodiment of the present application, among multiple data processing service providers 30, at least two data processing service providers 30 provide data processing service interfaces whose interface parameters and / or scheduling forms are defined differently. In an embodiment of the present application, in order to realize unified scheduling of multiple data processing service providers 30 with different interface scheduling, a scheduling terminal 20 is added. Among them, the scheduling terminal 20 refers to a computing device that can respond to the access request of the client 10 for the data processing service provided by the data processing service provider 30 and schedule multiple data processing service providers 30. The scheduling terminal 20 can be one or more server-side devices. Regarding the implementation form of the server-side device, please refer to the above-mentioned related content, which will not be repeated here.
[0043] In this embodiment, the client 10 and the dispatching end 20 may be connected wirelessly or by wire. Optionally, the client 10 may be connected to the dispatching end 20 through a mobile network. Accordingly, the network standard of the mobile network may be any one of 2G (GSM), 2.5G (GPRS), 3G (WCDMA, TD-SCDMA, CDMA2000, UTMS), 4G (LTE), 4G+ (LTE+), 5G, WiMax, etc. Optionally, the client 10 may also be connected to the dispatching end 20 through Bluetooth, WiFi, infrared, etc.
[0044] Of course, the dispatching end 20 and the data processing service provider 30 can also be connected in communication. The communication connection method can refer to the communication connection method between the client 10 and the dispatching end 20 mentioned above, which will not be repeated here.
[0045] In the embodiment of the present application, the dispatching terminal 20 can provide a data processing service provider dispatching service. Specifically, Figure 1 As shown, the scheduling end 20 may include: a scheduling component 201, a driving component 202 and a monitoring component 203. The scheduling component 201, the driving component 202 and the monitoring component 203 may all be logical function modules, and may be deployed on the same physical machine or on different physical machines.
[0046] In the embodiment of the present application, Figure 1-Figure 3 When a user needs to call a data processing service for data processing, he can send an access request for the data processing service to the scheduling terminal 20 through the client 10 (corresponding to Figure 3Step 7). The access request may carry access request parameters. The access request parameters may include: the type of data processing service to be accessed and the data to be processed. The types of data processing services are different, and the forms of the data to be processed are also different. For example, the data to be processed may be character data, image data, video data, audio data, etc., but are not limited thereto. The data to be processed may be the data itself, or an identifier of the data to be processed. For example, the data to be processed is image data. Accordingly, the data to be processed may be the image itself, or a Uniform Resource Locator (URL) of the image, etc.
[0047] The scheduling end 20 can obtain the access request for the data processing service sent by the client 10, and schedule the data processing service for the access request. Specifically, Figure 1 and Figure 2 As shown, the scheduling end 20 can obtain the attribute information of data processing services provided by multiple data processing service providers 30. The attribute information of data processing services provided by the data processing service provider 30 refers to the information used to evaluate the quality of the data processing services provided by the data processing service provider 30, including but not limited to: value attribute information, performance attribute information, access quota of the data processing service provided by the data processing service provider 30, the number of accesses to the data processing service provided by the data processing service provider 30 by the target user providing the access request, and the resource package information corresponding to the data processing service, etc. For the edge cloud network, the attribute information of data processing services provided by multiple data processing service providers 30 can be represented as the attribute information of data processing services provided by multiple edge nodes corresponding to the multiple data processing service providers 30.
[0048] The value attribute information of the data processing service provided by the data processing service provider 30 may be reflected in the charging standards of the data processing service provided by the data processing service provider 30. The performance attribute information of the data processing service provided by the data processing service provider 30 refers to information reflecting the performance of the data processing service provided by the data processing service provider 30, including but not limited to: the availability and access delay of the interface service corresponding to the data processing service provided by the data processing service provider 30, but not limited to this.
[0049] The access quota of the above-mentioned data processing service is used to: limit the maximum number of times a user can access the data processing service provided by the data processing service provider 30 within a set period, or limit the maximum number of times a user can access the data processing service provided by the data processing service provider 30 in total. For example, the access quota of the data processing service can be "1000 times / day", that is, the maximum number of times a user can access the data processing service provided by the data processing service provider 30 in one day is 1000 times. For another example, the access quota of the data processing service can be "10000 times", that is, the maximum number of times a user can access the data processing service provided by the data processing service provider 30 in total is 10000 times.
[0050] The resource package information corresponding to the data processing service refers to the type of data processing service provided by the data processing service provider 30. For example, the type of data processing service is used to reflect the function of the data processing service. For example, in some embodiments, the type of data processing service is OCR, TTS or speech recognition, etc.
[0051] In the embodiment of the present application, the specific implementation method of obtaining the attribute information of the data processing services provided by the multiple data processing service providers 30 is not limited. Figure 2 and Figure 3 As shown, the user can register the configuration information of the data processing service provider 30 with the dispatch terminal 20 (corresponding to Figure 3 Steps 1 and 2). The data processing service provider 30 registered by the user is generally a data processing service provider subscribed or rented by the user. The user can register the configuration information of the data processing service provider 30 in the form of a template set by the scheduling terminal 20.
[0052] The configuration information of the data processing service provider 30 may include: the identifier of the data processing service provider 30 (such as name, number or other identifier, etc.), the user name and access key information of the user in the data processing service provider 30, and the resource package information and access quota of the data processing service of the data processing service provider applied for, ordered or rented by the user. The access key information includes: Access Key ID (AK ID) and Secret Access Key (SK).
[0053] Accordingly, the registrar 204 of the scheduling terminal 20 may obtain the configuration information of the data processing service provider 30 provided by the user; and store the configuration information of the data processing service provider 30. Figure 2 and Figure 3 The registrar 204 can store the configuration information of the data processing service provider 30 provided by the user in the database 206 (corresponding to Figure 3Step 3). Further, the monitoring component 203 can monitor the data processing service provider 30 according to the configuration information of the data processing service provider 30 registered by the user to obtain the attribute information of the data processing service provider 30 (corresponding to Figure 3 Steps 4 and 5). The monitoring component 203 can read the configuration information of multiple data processing service providers 30 from the database 206. In the embodiment of the present application, the multiple data processing service providers 30 can be data processing service providers registered by the target user providing the access request. Of course, the multiple data processing service providers 30 can also include: data processing service providers registered by the target user providing the access request and data processing service providers registered by other users.
[0054] Further, the monitoring component 203 can obtain the user name and access key information that provides the configuration information from the configuration information of the data processing service provider 30; and use the user name and access key information to monitor multiple data processing providers to obtain attribute information (corresponding to the attribute information of the data processing service provider 30) Figure 3 Step 5). In the embodiment of the present application, the user name and access key information refer to the user name and access key information of the user who registers the configuration information of the data processing service provider 30.
[0055] For the edge cloud network, the monitoring component 203 can obtain the attribute information of the data processing services provided by the multiple edge nodes provided by the user as the attribute information of the multiple data processing service providers 30. Specifically, the monitoring component 203 can monitor the multiple edge nodes using the user name and access key information to obtain the attribute information of the data processing services provided by the multiple edge nodes.
[0056] In the embodiment of the present application, the process of monitoring the multiple data processing service providers 30 by the monitoring component 203 may occur before receiving the access request or after receiving the access request. In some embodiments, the monitoring component 203 may periodically monitor the multiple data processing service providers 30 according to the set monitoring period to obtain the attribute information of the multiple data processing service providers 30. Figure 2 and Figure 3 As shown, the monitoring component 203 can store the acquired attribute information of the plurality of data processing service providers 30 in the database 206 (corresponding to Figure 3 Step 6).
[0057] Since the attribute information of the data processing service provider 30 can reflect the quality of the data processing service provided by the data processing service provider 30, in this embodiment, for the scheduling component 201, a target data processing service provider can be selected from multiple data service providers 30 based on the access request and the attribute information of the data processing services provided by multiple data processing service providers 30.
[0058] For the scheduling component 201, the attribute information (corresponding to the attribute information of the data processing services provided by the multiple data processing service providers 30) can be read from the database 206. Figure 3 Step 8). It is worth noting that, in some embodiments, the multiple data processing service providers 30 that participate in the data processing service provider scheduling of the access request provided by the client 10 may be data processing service providers registered by the target user providing the access request. In other embodiments, the multiple data processing service providers 30 that participate in the data processing service provider scheduling of the access request provided by the client 10 may include: a data processing service provider registered by the target user providing the access request, and data processing service providers registered by other users.
[0059] Accordingly, for the scheduling component 201, when scheduling the data processing service provider for the access request provided to the client 10, the attribute information of the data processing service provider registered by the target user providing the access request can be read from the database 206 as the attribute information of the data processing service provider 30 participating in the scheduling of the access request provided to the client 10.
[0060] In other embodiments, the scheduling component 201 may provide scheduling query information to the client 10 before scheduling the data processing service provider for the access request provided by the client 10. The scheduling query information is used for the target user to choose whether to agree to call the data processing service provider registered by other users. Accordingly, if the target user agrees to call the data processing service provider registered by other users, a corresponding confirmation operation may be triggered. For the scheduling component 201, in response to the confirmation operation for the scheduling query information, the attribute information of the target user providing the access request and the multiple data processing service providers registered by other users may be read from the database as the attribute information of the data processing service provider 30 participating in the access request scheduling provided for the client 10. Accordingly, if the target user does not agree to call the data processing service provider registered by other users, a corresponding negative operation may be triggered. For the scheduling component 201, in response to the negative operation for the scheduling query information, the attribute information of the multiple data processing service providers registered by the target user providing the access request may be read from the database as the attribute information of the data processing service provider 30 participating in the access request scheduling provided for the client 10.
[0061] After obtaining the attribute information of the multiple data processing service providers 30 that participate in the access request scheduling provided to the client 10, the scheduling component 201 can select a target data processing service provider (corresponding to the target data processing service provider) from the multiple data service providers 30 according to the access request and the attribute information of the data processing services provided by the multiple data processing service providers 30. Figure 3 Step 9).
[0062] Specifically, the scheduling component 201 can obtain the target data processing type corresponding to the access request from the access request; and obtain the target attribute information of multiple data processing service providers 30 for the target data processing type from the attribute information of multiple data service providers 30; further, the target data processing service provider can be selected from multiple data processing service providers 30 based on the target attribute information of multiple data processing service providers 30 for the target data processing type.
[0063] Specifically, for any data processing service provider P i , can be obtained from the data processing service provider P i From the target attribute information, obtain the data processing service provider P i value attribute information and performance attribute information of the data processing service provider P i The value attribute information and performance attribute information of the data processing service provider P are weighted to obtain i service evaluation parameters.
[0064] Optionally, in the case of a data processing service provider P i Before weighting the value attribute information and performance attribute information of i The target user providing the access request is obtained from the attribute information of the data processing service provider P. i Number of visits to the target data processing type n i ; Determine the number of visits n i Is it less than the target user's accessible data processing service provider P? i The target data processing type's number of times quota q i If the result of the judgment is yes, the data processing service provider P i The value attribute information and performance attribute information of the data processing service provider P are weighted to obtain i service evaluation parameters.
[0065] Accordingly, if the judgment result is the number of visits n i Greater than or equal to the target user's accessible data processing service provider P i The target data processing type's number of times quota q i, indicating the data processing service provider P i There is no more capacity available for the target user to call, and the data processing service provider P can be determined i The service evaluation parameter is 0.
[0066] The above calculation process can be expressed as the following formula (1):
[0067]
[0068] In formula (1), i represents the i-th data processing service provider, i=1, 2, ..., n. n represents the total number of multiple data processing service providers. i represents the i-th data processing service provider P i service evaluation parameters. c(i), a(i) and l(i) represent the i-th data processing service provider P i Value attribute information (such as single call cost), service availability and service access delay. c , a and λ l Respectively represent the i-th data processing service provider P i The value attribute information (such as the cost of a single call), service availability, and the weight of service access delay.
[0069] After obtaining the service evaluation parameters of multiple data processing service providers, a target data processing service provider may be selected from the multiple data processing service providers according to the service evaluation parameters of the multiple data processing service providers. For example, a data processing service provider with the largest service evaluation parameter may be selected from the multiple data processing service providers as the target data processing service provider. For another example, a data processing service provider with a service evaluation parameter greater than or equal to a set service evaluation parameter threshold may be selected from the multiple data processing service providers as the target data processing service provider, and so on.
[0070] The above-mentioned data processing service scheduling process can select a medium-to-high performance target data processing service provider for the access request according to the attribute information of the data processing service provider, thereby realizing dynamic scheduling of data processing service providers and facilitating the selection of a medium-to-high performance data processing service provider for users.
[0071] After determining the target data processing service provider, the driver component 202 may convert the access request into the target access format supported by the target data processing service provider to obtain the access request in the target access format. Specifically, the driver component 202 may obtain the target access format supported by the target data processing service provider from the correspondence between the set data processing service provider and the access format; and convert the access request into the target access format supported by the target data processing service provider to obtain the access request in the target access format. The correspondence between the set data processing service provider and the access format may be set in the driver component 202 or in the database 206.
[0072] The correspondence between the data processing service provider and the access format can be obtained by the developers of the scheduling end 20 according to the technical documents provided by the data processing service provider, and set in the driver component 202 or the database 206.
[0073] Further, the driver component 202 can use the access request of the target access format to dispatch the data processing service of the target data processing service provider (corresponding to Figure 3 Step 10). Since the access request in the target access format is in the form of a data processing service interface adapted by the target data processing provider, the driver component 202 can schedule the data processing service of the target data processing service provider. In the embodiment of the present application, through interface driver adaptation, the interfaces of different data processing service providers in the same scenario can be loaded into the call framework in the form of plug-ins.
[0074] For the target data processing service provider, the data processing service can be used to process the access request to obtain the data processing result. Specifically, the data processing service provided by the target data processing service provider can obtain the data to be processed according to the access request. In some embodiments, the data processing service provided by the target data processing service provider can parse the data to be processed from the access request. In other embodiments, the data processing service provided by the target data processing service provider can parse the identifier of the data to be processed from the access request; and obtain the data to be processed according to the identifier of the data to be processed. For example, if the data to be processed is an image, and the identifier of the data to be processed is the URL of the image, then the data processing service provided by the target data processing service provider can obtain the image according to the URL of the image as the data to be processed, and so on. Further, the data processing service provided by the target data processing service provider can use the set data processing logic to process the data to be processed to obtain the data processing result.
[0075] Further, the target data processing service provider may return the data processing result to the driver component 202 (corresponding to Figure 3Step 11). Since the data processing result is provided by the target data processing service provider and meets the data format requirements of the target data processing service provider, the driver component 202 can also perform data format conversion on the data processing result to obtain the set data format (corresponding to Figure 3 Step 12). The set data format is the data transmission format between the components of the scheduling end 20. Further, the driver component 202 can send the data processing result with the set data format to the client 10, so that the client 10 can output the data processing result (corresponding to Figure 3 Step 13).
[0076] In an embodiment of the present application, a scheduling terminal is added to the data processing service scheduling system. The scheduling terminal can schedule the target data processing service provider that provides data processing services for the access request based on the attribute information and access requests of multiple data processing service providers for the access request of the data processing service. Furthermore, a driver layer (i.e., a driver component) for calling the data processing service interface is added to the scheduling terminal, which can convert the access request of the data processing service into the target access format supported by the target data processing service provider, adapt the formats of different data processing service providers, and realize the unified calling of different data processing service providers. For users, there is no need to master the interface parameter form and calling method of each data processing service provider, which can improve the convenience of service calling of different data service providers.
[0077] On the other hand, according to the attribute information and access requests of multiple data processing service providers, the target data processing service provider that provides data processing services for the access request is scheduled to realize dynamic calling of data processing service providers, so that the data processing service call no longer depends on a single data processing service provider. In this way, even if the data processing service provided by a data processing service provider is abnormal, the access request can be scheduled to other data processing service providers, which helps to improve the robustness of the data processing service and reduce the impact on user-side applications.
[0078] The data processing service scheduling system provided in the embodiment of the present application can be implemented as a central cloud scheduling, or can be implemented as an edge cloud network scheduling. Accordingly, the embodiment of the present application also provides an edge cloud network system. The edge cloud network system provided in the embodiment of the present application is exemplarily described below.
[0079] Figure 4a This is a schematic diagram of the structure of the edge cloud network provided in the embodiment of the present application. Figure 4aAs shown, the edge cloud network includes: a client 41, a scheduling node 42 and multiple edge nodes 43. Multiple refers to 2 or more. For the description of the implementation of the client 41 and the edge node 43, please refer to the relevant content in the above-mentioned scheduling system embodiment, which will not be repeated here. For the description of the scheduling node 42, please refer to the relevant content of the scheduling end 20 in the above-mentioned scheduling system embodiment, which will not be repeated here.
[0080] In the embodiment of the present application, multiple edge nodes 43 are used to provide data processing services; the access formats of the data services provided by the multiple edge nodes 43 are different. Among them, the different access formats of the data services provided by the multiple edge nodes 43 means that the access formats of the data processing services provided by at least two edge nodes among the multiple edge nodes 43 are different, such as different definitions of interface parameters and / or scheduling forms of the interfaces. The multiple edge nodes 43 may belong to the same data processing service provider, or may belong to different data processing service providers.
[0081] In the embodiment of the present application, when a user needs to call a data processing service for data processing, he can send an access request for the data processing service to the scheduling node 42 through the client 41. For the description of the access request, please refer to the relevant content of the above scheduling system embodiment, which will not be repeated here.
[0082] In the embodiment of the present application, in order to realize the unified scheduling of data processing services provided by multiple edge nodes 43 with different interface scheduling, the scheduling node 42 can obtain the access request for the data processing service sent by the client 41; and perform data processing service scheduling on the access request. Specifically, the scheduling node 42 can obtain the attribute information of the data processing services provided by the multiple edge nodes 43. For the description of the attribute information of the data processing services provided by the edge nodes 43, please refer to the relevant content of the attribute information of the data processing services provided by the data processing service provider 30, which will not be repeated here.
[0083] In the embodiment of the present application, the specific implementation method of obtaining the attribute information of multiple edge nodes 43 providing data processing services is not limited. In some embodiments, the user can register the configuration information of the edge node 43 with the scheduling node 42. The edge node 43 registered by the user is generally an edge node of the data processing service provider subscribed or rented by the user. The user can register the configuration information of the edge node 43 in the form of a template set by the scheduling node 42. For the description of the configuration information of the edge node 43, please refer to the relevant content of the configuration information of the data processing service provider 30 mentioned above, which will not be repeated here.
[0084] Accordingly, the scheduling node 42 may obtain the configuration information of the edge node 43 provided by the user; and store the configuration information of the edge node 43. Optionally, the configuration information of the edge node 43 provided by the user may be stored in a database (. Further, the scheduling node 42 may monitor the edge node 43 according to the configuration information of the edge node 43 registered by the user to obtain the attribute information of the data processing service provided by the edge node 43. In the embodiment of the present application, the plurality of edge nodes 43 may be edge nodes of the data processing service provider registered by the target user providing the access request. Of course, the plurality of edge nodes 43 may also include: edge nodes of the data processing service provider registered by the target user providing the access request and data processing service providers registered by other users.
[0085] Further, the scheduling node 42 may obtain the user name and access key information of the configuration information provided by the edge node 43 from the configuration information of the edge node 43, and monitor the plurality of edge nodes 43 using the user name and access key information to obtain the attribute information of the data processing service provided by the edge node 43. In the embodiment of the present application, the user name and access key information refer to the user name and access key information of the user who registered the configuration information of the data processing service provider.
[0086] In the embodiment of the present application, the process of the scheduling node 42 monitoring the multiple edge nodes 43 may occur before receiving the above-mentioned access request, or may occur after receiving the above-mentioned access request. In some embodiments, the scheduling node 42 may periodically monitor the multiple edge nodes 43 according to the set monitoring cycle to obtain the attribute information of the multiple edge nodes 43. Further, the scheduling node 42 may store the obtained attribute information of the multiple edge nodes 43 in the database 2.
[0087] Since the attribute information of the edge node 43 can reflect the quality of the data processing service provided by the edge node 43, in this embodiment, for the scheduling node 42, a target edge node can be selected from multiple edge nodes 43 based on the access request and the attribute information of the data processing service provided by the multiple edge nodes 43.
[0088] For the scheduling node 42, the attribute information of the data processing services provided by the multiple edge nodes 43 can be read from the database. It is worth noting that, in some embodiments, the multiple edge nodes 43 that participate in the data processing service provider scheduling of the access request provided by the client 41 can be the edge nodes of the data processing service provider registered by the target user providing the access request. In other embodiments, the multiple edge nodes of the data processing service provider that participate in the data processing service provider scheduling of the access request provided by the client 41 can include: the edge nodes of the data processing service provider registered by the target user providing the access request, and the edge nodes of the data processing service provider registered by other users.
[0089] Correspondingly, for the scheduling node 42, when scheduling the data processing service provider for the access request provided by the client 41, the attribute information of the edge node of the data processing service provider registered by the target user providing the access request can be read from the database as the attribute information of multiple edge nodes 43 participating in the scheduling of the access request provided to the client 41.
[0090] In other embodiments, the scheduling node 42 may provide scheduling query information to the client 41 before scheduling the data processing service provider for the access request provided by the client 41. The scheduling query information is used for the target user to choose whether to agree to call the edge node of the data processing service provider registered by other users. Accordingly, if the target user agrees to call the edge node of the data processing service provider registered by other users, a corresponding confirmation operation may be triggered. For the scheduling node 42, in response to the confirmation operation for the scheduling query information, the attribute information of the edge nodes of the target user providing the access request and the multiple data processing service providers registered by other users may be read from the database as the attribute information of the edge node 43 participating in the access request scheduling provided to the client 41. Accordingly, if the target user does not agree to call the data processing service provider registered by other users, a corresponding negative operation may be triggered. For the scheduling node 42, in response to the negative operation for the scheduling query information, the attribute information of the edge nodes of the multiple data processing service providers registered by the target user providing the access request may be read from the database as the attribute information of the edge node 43 participating in the access request scheduling provided to the client 41.
[0091] After acquiring the attribute information of multiple edge nodes 43 participating in the access request scheduling provided to the client 41 , the scheduling node 42 may select a target edge node from the multiple edge nodes 43 according to the access request and the attribute information of the data processing services provided by the multiple edge nodes 43 .
[0092] Specifically, the scheduling node 42 may obtain the target data processing type corresponding to the access request from the access request; and obtain the target attribute information of the multiple edge nodes 43 for the target data processing type from the attribute information of the multiple edge nodes 43; further, the target edge node may be selected from the multiple edge nodes 43 according to the target attribute information of the multiple edge nodes 43 for the target data processing type. For the specific implementation of selecting the target edge node from the multiple edge nodes 43 according to the target attribute information of the multiple edge nodes 43 for the target data processing type, please refer to the above-mentioned content of selecting the target data processing service provider from the multiple data processing service providers according to the target attribute information of the target data processing type, which will not be repeated here.
[0093] After determining the target edge node, the scheduling node 42 may convert the access request into the target access format supported by the target edge node to obtain the access request in the target access format. Specifically, the scheduling node 42 may obtain the target access format supported by the target edge node from the correspondence between the set edge node and the access format; and convert the access request into the target access format supported by the target edge node to obtain the access request in the target access format. The correspondence between the set edge node and the access format may be set in the scheduling node 42 or in a database.
[0094] The correspondence between the data processing service provider and the access format can be obtained by the developer of the scheduling node 42 according to the technical documents provided by the data processing service provider, and set in the scheduling node 42 or the database.
[0095] Further, the scheduling node 42 can use the access request in the target access format to schedule the data processing service provided by the target edge node. Since the access request in the target access format is in the form of a data processing service interface adapted by the target edge node, the scheduling node 42 can schedule the data processing service of the target edge node. In the embodiment of the present application, through interface-driven adaptation, the interfaces of different edge nodes in the same scenario can be loaded into the call framework in the form of plug-ins.
[0096] For the target edge node, the data processing service can be used to process the access request to obtain the data processing result. Specifically, the data processing service provided by the target edge node can obtain the data to be processed according to the access request. In some embodiments, the data processing service provided by the target edge node can parse the data to be processed from the access request. In other embodiments, the data processing service provided by the target edge node can parse the identifier of the data to be processed from the access request; and obtain the data to be processed according to the identifier of the data to be processed. For example, the data to be processed is an image, and the identifier of the data to be processed is the URL of the image. The data processing service provided by the target edge node can obtain the image according to the URL of the image as the data to be processed, and so on. Furthermore, the data processing service provided by the target edge node can process the data to be processed using the set data processing logic to obtain the data processing result.
[0097] Furthermore, the target edge node may return the data processing result to the scheduling node 42. Since the data processing result is provided by the target edge node and meets the data format requirements of the target edge node, the scheduling node 42 may also perform data format conversion on the data processing result to obtain a set data format. The set data format is the data transmission format of the components between the scheduling nodes 42. Furthermore, the scheduling node 42 may send the data processing result with the set data format to the client 41, so that the client 41 can output the data processing result (corresponding to Figure 3 Step 13).
[0098] In an embodiment of the present application, a scheduling node is added to the edge cloud network system. The scheduling node can schedule the target edge node that provides data processing services for the access request based on the attribute information and access requests of multiple edge nodes for the access request of the data processing service. Furthermore, a driver layer for calling the data processing service interface is added to the scheduling node, which can convert the access request of the data processing service into the target access format supported by the target edge node, adapt the access format of different edge nodes, and realize the unified call of the data processing services provided by different edge nodes. For users, there is no need to master the interface parameter form and calling method of each edge node, which can improve the convenience of service calling of different edge nodes.
[0099] On the other hand, according to the attribute information and access requests of multiple edge nodes, the target edge nodes that provide data processing services for the access requests are scheduled to realize dynamic calls to edge nodes, so that data processing service calls no longer rely on a single data processing service provider. In this way, even if the data processing service provided by an edge node is abnormal, the access request can be scheduled to other edge nodes, which helps to improve the robustness of the data processing service and reduce the impact on user-side applications.
[0100] In addition to the above-mentioned system embodiments, the embodiments of the present application also provide a data processing service scheduling method, which is exemplified below in conjunction with specific embodiments.
[0101] Figure 4b The following is a flow chart of the scheduling method provided in the embodiment of the present application. Figure 4b As shown, the method mainly includes:
[0102] 401. Access request for data processing services.
[0103] 402. Obtain attribute information of data processing services provided by multiple data processing service providers.
[0104] 403. Select a target data processing service provider from multiple data service providers according to the access request and the attribute information.
[0105] 404. Convert the access request into a target access format supported by the target data processing service provider to obtain an access request in the target access format.
[0106] 405. Call the data processing service of the target data processing service provider using the access request in the target access format.
[0107] In the embodiment of the present application, when a user needs to call a data processing service for data processing, the user can send an access request for the data processing service to the scheduling end through the client. The access request can carry access request parameters. Among them, the access request parameters may include: the type of data processing service to be accessed and the data to be processed, etc.
[0108] For the scheduling end, in step 401, an access request for a data processing service provided by a client may be obtained; and data processing services may be scheduled for the access request. Specifically, in step 402, attribute information of data processing services provided by multiple data processing service providers may be obtained. For a description of the attribute information of data processing services provided by data processing service providers, please refer to the relevant contents of the above embodiment, which will not be repeated here.
[0109] In the embodiments of the present application, the specific implementation method of obtaining the attribute information of the data processing services provided by multiple data processing service providers is not limited. In some embodiments, the user can register the configuration information of the data processing service provider with the dispatching end. Among them, the data processing service provided by the data processing service provider can be deployed in the central cloud or in the edge node of the edge cloud network.
[0110] Accordingly, the configuration information of the data processing service provider provided by the user may be obtained; and the configuration information of the data processing service provider may be stored. Optionally, the configuration information of the data processing service provider provided by the user may be stored in a database.
[0111] Further, the data processing service provider may be monitored according to the configuration information of the data processing service provider registered by the user to obtain the attribute information of the data processing service provider. The monitoring component may read the configuration information of multiple data processing service providers from the database. In an embodiment of the present application, multiple data processing service providers may be data processing service providers registered by the target user providing the access request. Of course, multiple data processing service providers may also include: a data processing service provider registered by the target user providing the access request and data processing service providers registered by other users.
[0112] Furthermore, the user name and access key information that provide the configuration information can be obtained from the configuration information of the data processing service provider; and the user name and access key information are used to monitor multiple data processing providers to obtain the attribute information of the data processing service providers. In the embodiment of the present application, the user name and access key information refer to the user name and access key information of the user who registered the configuration information of the data processing service provider.
[0113] For edge cloud networks, data processing services of multiple data service providers are deployed on edge nodes. Accordingly, attribute information of data processing services provided by multiple edge nodes corresponding to multiple data processing service providers can be obtained as attribute information of multiple data processing service providers. Specifically, multiple edge nodes can be monitored using user names and access key information to obtain attribute information of data processing services provided by multiple edge nodes.
[0114] In the embodiment of the present application, the process of monitoring multiple data processing service providers may occur before receiving the above-mentioned access request, or may occur after receiving the above-mentioned access request. In some embodiments, multiple data processing service providers may be periodically monitored according to a set monitoring cycle to obtain attribute information of multiple data processing service providers. Further, the acquired attribute information of multiple data processing service providers may be stored in a database.
[0115] Since the attribute information of the data processing service provider can reflect the quality of the data processing services provided by the data processing service provider, in this embodiment, in step 403, a target data processing service provider can be selected from multiple data service providers based on the access request and the attribute information of the data processing services provided by the multiple data processing service providers.
[0116] Optionally, the attribute information of data processing services provided by multiple data processing service providers may be read from the database. It is worth noting that, in some embodiments, the multiple data processing service providers that participate in the data processing service provider scheduling of the access request provided by the client may be data processing service providers registered by the target user providing the access request. In other embodiments, the multiple data processing service providers that participate in the data processing service provider scheduling of the access request provided by the client may include: a data processing service provider registered by the target user providing the access request, and data processing service providers registered by other users.
[0117] Accordingly, an optional implementation of step 402 is: when scheduling the data processing service provider for the access request provided to the client, the attribute information of the data processing service provider registered by the target user providing the access request can be read from the database as the attribute information of the data processing service provider participating in the scheduling of the access request provided to the client.
[0118] In other embodiments, before the data processing service provider for the access request provided to the client is scheduled, scheduling query information may be provided to the client. The scheduling query information is used for the target user to choose whether to agree to call the data processing service provider registered by other users. Accordingly, if the target user agrees to call the data processing service provider registered by other users, a corresponding confirmation operation may be triggered. In response to the confirmation operation for the scheduling query information, the attribute information of the target user providing the access request and multiple data processing service providers registered by other users may be read from the database as the attribute information of the data processing service provider participating in the scheduling of the access request provided to the client. Accordingly, if the target user does not agree to call the data processing service provider registered by other users, a corresponding negation operation may be triggered. Accordingly, in response to the negation operation for the scheduling query information, the attribute information of multiple data processing service providers registered by the target user providing the access request may be read from the database as the attribute information of the data processing service provider participating in the scheduling of the access request provided to the client.
[0119] After obtaining the attribute information of multiple data processing service providers participating in the access request scheduling for the client, in step 403, a target data processing service provider may be selected from the multiple data service providers according to the access request and the attribute information of the data processing services provided by the multiple data processing service providers.
[0120] Specifically, the target data processing type corresponding to the access request can be obtained from the access request; and the target attribute information of multiple data processing service providers for the target data processing type can be obtained from the attribute information of multiple data service providers; further, the target data processing service provider can be selected from multiple data processing service providers based on the target attribute information of multiple data processing service providers for the target data processing type.
[0121] Specifically, for any data processing service provider P i , can be obtained from the data processing service provider P i From the target attribute information, obtain the data processing service provider P i value attribute information and performance attribute information of the data processing service provider P i The value attribute information and performance attribute information of the data processing service provider P are weighted to obtaini service evaluation parameters.
[0122] Optionally, in the case of a data processing service provider P i Before weighting the value attribute information and performance attribute information of i The target user providing the access request is obtained from the attribute information of the data processing service provider P. i Number of visits to the target data processing type n i ; Determine the number of visits n i Is it less than the target user's accessible data processing service provider P? i The target data processing type's number of times quota q i If the result of the judgment is yes, the data processing service provider P i The value attribute information and performance attribute information of the data processing service provider P are weighted to obtain i service evaluation parameters.
[0123] Accordingly, if the judgment result is the number of visits n i Greater than or equal to the target user's accessible data processing service provider P i The target data processing type's number of times quota q i , indicating the data processing service provider P i There is no more capacity available for the target user to call, and the data processing service provider P can be determined i The service evaluation parameter is 0.
[0124] After obtaining the service evaluation parameters of the multiple data processing service providers, a target data processing service provider may be selected from the multiple data processing service providers according to the service evaluation parameters of the multiple data processing service providers.
[0125] The above-mentioned data processing service scheduling process can select a medium-to-high performance target data processing service provider for the access request according to the attribute information of the data processing service provider, thereby realizing dynamic scheduling of data processing service providers and facilitating the selection of a medium-to-high performance data processing service provider for users.
[0126] After the target data processing service provider is determined, in step 404, the access request may be converted into a target access format supported by the target data processing service provider to obtain an access request in the target access format. Specifically, the target access format supported by the target data processing service provider may be obtained from the correspondence between the set data processing service provider and the access format; and the access request may be converted into the target access format supported by the target data processing service provider to obtain an access request in the target access format. The correspondence between the set data processing service provider and the access format may be set in the driver component or in the database.
[0127] Further, in step 405, the data processing service of the target data processing service provider can be scheduled using the access request in the target access format. Since the access request in the target access format is in the form of a data processing service interface adapted by the target data processing provider, the data processing service of the target data processing service provider can be scheduled. In the embodiment of the present application, through interface driver adaptation, the interfaces of different data processing service providers in the same scenario can be loaded into the calling framework in the form of plug-ins.
[0128] For the target data processing service provider, the data processing service can be used to process the access request to obtain the data processing result. For the target data processing service provider, the specific implementation method of using the data processing service to process the access request can be found in the relevant content of the above system embodiment, which will not be repeated here.
[0129] Furthermore, the target data processing service provider may return the data processing result to the driving component. Since the data processing result is provided by the target data processing service provider and meets the data format requirements of the target data processing service provider, the data processing result may also be converted into a data format to obtain a set data format. The set data format is the data transmission format of the components between the scheduling ends. Furthermore, the data processing result with the set data format may be sent to the client so that the client can output the data processing result.
[0130] In an embodiment of the present application, for access requests to data processing services, a target data processing service provider that provides data processing services for the access requests can be scheduled based on the attribute information and access requests of multiple data processing service providers. Furthermore, a driver layer (i.e., a driver component) for calling the data processing service interface is added at the scheduling end, which can convert the access request to the data processing service into a target access format supported by the target data processing service provider, adapt the formats of different data processing service providers, and realize unified calling of different data processing service providers. For users, there is no need to master the interface parameter form and calling method of each data processing service provider, which can improve the convenience of service calling of different data service providers.
[0131] On the other hand, according to the attribute information and access requests of multiple data processing service providers, the target data processing service provider that provides data processing services for the access request is scheduled to realize dynamic calling of data processing service providers, so that the data processing service call no longer depends on a single data processing service provider. In this way, even if the data processing service provided by a data processing service provider is abnormal, the access request can be scheduled to other data processing service providers, which helps to improve the robustness of the data processing service and reduce the impact on user-side applications.
[0132] It should be noted that the execution subject of each step of the method provided in the above embodiment can be the same device, or the method can be executed by different devices. For example, the execution subject of steps 401 and 402 can be device A; for another example, the execution subject of step 401 can be device A, and the execution subject of step 402 can be device B; and so on.
[0133] In addition, in some of the processes described in the above embodiments and the accompanying drawings, multiple operations appearing in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this document or may be executed in parallel, and the sequence numbers of the operations, such as 401, 402, etc., are only used to distinguish between different operations, and the sequence numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel.
[0134] Accordingly, an embodiment of the present application also provides a computer-readable storage medium storing computer instructions. When the computer instructions are executed by one or more processors, the one or more processors are caused to execute the steps in the above-mentioned data processing service scheduling method.
[0135] Figure 5 This is a schematic diagram of the structure of a computing device provided in an embodiment of the present application. Figure 5As shown, the computing device includes: a memory 50a, a processor 50b and a communication component 50c; wherein the memory 50a is used to store computer programs;
[0136] The processor 50b is coupled to the memory 50a and the communication component 50c, and is used to execute a computer program for: obtaining an access request for a data processing service through the communication component 50c; obtaining attribute information of data processing services provided by multiple data processing service providers; selecting a target data processing service provider from the multiple data service providers based on the access request and the attribute information; converting the access request into a target access format supported by the target data processing service provider to obtain an access request in the target access format; and calling the data processing service of the target data processing service provider using the access request in the target access format through the communication component 50c.
[0137] In some embodiments, the processor 50b is further used to: obtain configuration information of multiple data processing service providers provided by the user through the communication component 50c. Optionally, when the processor 50b obtains the attribute information of the data processing services provided by the multiple data service providers, it is specifically used to: monitor the multiple data processing service providers according to the configuration information to obtain the attribute information.
[0138] Specifically, when the processor 50b monitors multiple data processing service providers based on their configuration information, it is specifically used to: obtain the user name and access key information that provides the configuration information from the configuration information; and use the user name and access key information to monitor multiple data processing providers to obtain attribute information.
[0139] In other embodiments, when the processor 50b selects a target data processing service provider from multiple data service providers, it is specifically used to: obtain, from the access request, a target data processing type corresponding to the access request; obtain, from the attribute information, target attribute information of multiple data processing service providers for the target data processing type; and select a target data processing service provider from the multiple data processing service providers based on the target attribute information.
[0140] Furthermore, when the processor 50b selects a target data processing service provider from multiple data processing service providers based on the target attribute information, it is specifically used to: for any data processing service provider, obtain the value attribute information and performance attribute information of any data processing service provider from the target attribute information of any data processing service provider; perform weighted processing on the value attribute information and performance attribute information for any data processing service provider to obtain the service evaluation parameters of any data processing service provider; and, based on the service evaluation parameters of multiple data processing service providers, select a target data processing service provider from multiple data processing service providers.
[0141] Optionally, the processor 50b is further configured to: before weighting the value attribute information and the performance attribute information for any data processing service provider to obtain the service evaluation parameter for any data processing service provider, obtain the number of accesses of the target user providing the access request to the target data processing type of any data processing service provider from the attribute information of any data processing service provider; determine whether the number of accesses is less than the number of times the target user can access the target data processing type of any data processing service provider; if the judgment result is yes, weighting the value attribute information and the performance attribute information for any data processing service provider to obtain the service evaluation parameter for any data processing service provider. Correspondingly, if the judgment result is no, determine that the service evaluation parameter of any data processing service provider is 0.
[0142] In some embodiments, when acquiring the attribute information of data processing services provided by multiple data processing service providers, the processor 50b is specifically configured to: read from a database the attribute information of multiple data processing service providers registered by the target user providing the access request.
[0143] In other embodiments, data processing services of multiple data service providers are deployed on edge nodes. Accordingly, when the processor 50b obtains the attribute information of data processing services provided by multiple data processing service providers, it is specifically used to: obtain the attribute information of data processing services provided by multiple edge nodes corresponding to the multiple data processing service providers as the attribute information of the multiple data processing service providers.
[0144] Optionally, when acquiring the attribute information of data processing services provided by multiple data processing service providers, the processor 50b is further used to: provide scheduling query information to the client providing the access request through the communication component 50c; the scheduling query information is used for the target user to choose whether to agree to call the data processing service provider registered by other users; in response to the confirmation operation of the scheduling query information, acquire the attribute information of the target user providing the access request and the multiple data processing service providers registered by other users from the database. Alternatively, in response to the negative operation of the scheduling query information, read the attribute information of the multiple data processing service providers registered by the target user providing the access request from the database.
[0145] Optionally, the processor 50b is further configured to: obtain a target access format supported by the target data processing service provider from a set correspondence relationship between the data processing service provider and the access format.
[0146] In some embodiments, the processor 50b is also used to: receive the data processing result corresponding to the access request returned by the target data processing service provider through the communication component 50c; convert the data format of the data processing result to obtain a set data format; and send the data processing result with the set data format to the client that provides the access request through the communication component 50c, so that the client can output the data processing result.
[0147] In some optional embodiments, such as Figure 5 As shown, the computing device may further include: a power supply component 50d and other components. In some embodiments, the computing device may be implemented as a terminal device such as a mobile phone or a computer. Accordingly, the computing device may further include: a display component 50e and an audio component 50f and other components. Figure 5 The components are shown schematically only and do not necessarily include Figure 5 The components shown do not necessarily mean that the computing device can only include Figure 5 Components shown.
[0148] The computing device provided in this embodiment can dispatch the target data processing service provider that provides data processing services for the access request based on the attribute information and access request of multiple data processing service providers for the access request. Furthermore, a driver layer (i.e., a driver component) for calling the data processing service interface is added at the scheduling end, which can convert the access request of the data processing service into the target access format supported by the target data processing service provider, adapt the formats of different data processing service providers, and realize the unified calling of different data processing service providers. For users, there is no need to master the interface parameter form and calling method of each data processing service provider, which can improve the convenience of service calling of different data service providers.
[0149] On the other hand, according to the attribute information and access requests of multiple data processing service providers, the target data processing service provider that provides data processing services for the access request is scheduled to realize dynamic calling of data processing service providers, so that the data processing service call no longer depends on a single data processing service provider. In this way, even if the data processing service provided by a data processing service provider is abnormal, the access request can be scheduled to other data processing service providers, which helps to improve the robustness of the data processing service and reduce the impact on user-side applications.
[0150] In an embodiment of the present application, the memory is used to store a computer program and can be configured to store various other data to support operations on the device where it is located. Among them, the processor can execute the computer program stored in the memory to implement the corresponding control logic. The memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0151] In the embodiment of the present application, the processor can be any hardware processing device that can execute the logic of the above method. Optionally, the processor can be a central processing unit (CPU), a graphics processing unit (GPU) or a microcontroller unit (MCU); it can also be a field programmable gate array (FPGA), a programmable array logic device (PAL), a general array logic device (GAL), a complex programmable logic device (CPLD) and other programmable devices; or an advanced reduced instruction set (RISC) processor (Advanced RISC Machines, ARM) or a system on chip (System on Chip, SOC), etc., but not limited to this.
[0152] In an embodiment of the present application, the communication component is configured to facilitate wired or wireless communication between the device in which it is located and other devices. The device in which the communication component is located can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G, 5G or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component can also be implemented based on near field communication (NFC) technology, radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology or other technologies.
[0153] In an embodiment of the present application, the display component may include a liquid crystal display (LCD) and a touch panel (TP). If the display component includes a touch panel, the display component may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
[0154] In an embodiment of the present application, a power supply component is configured to provide power to various components of the device in which it is located. The power supply component may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device in which the power supply component is located.
[0155] In an embodiment of the present application, the audio component may be configured to output and / or input audio signals. For example, the audio component includes a microphone (MIC), and when the device where the audio component is located is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal may be further stored in a memory or sent via a communication component. In some embodiments, the audio component also includes a speaker for outputting an audio signal. For example, for a device with a language interaction function, voice interaction with a user can be achieved through an audio component.
[0156] It should be noted that the descriptions such as “first” and “second” in this article are used to distinguish different messages, devices, modules, etc., and do not represent the order of precedence, nor do they limit “first” and “second” to different types.
[0157] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0158] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0159] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0160] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0161] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0162] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0163] The storage medium of a computer is a readable storage medium, which may also be referred to as a readable medium. The readable storage medium includes permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. The information can be computer-readable instructions, data structures, modules of programs or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0164] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0165] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. An edge cloud network system, It is characterized in that include: Client, scheduling node and multiple edge nodes; The multiple edge nodes belong to different data processing service providers, the multiple data processing service providers provide the same data processing service, the same data processing service provided by the data processing service providers is deployed on the corresponding edge nodes, the multiple data processing service providers define different access formats for calling the same data processing service through an API, and the different access formats refer to different interface parameters and / or calling forms; The client is used to provide the scheduling node with an access request for invoking the same data processing service; The scheduling node is used to obtain attribute information of multiple edge nodes corresponding to multiple data processing service providers providing the same data processing service; According to the access request and the attribute information, a target edge node corresponding to a target data processing service provider is selected from a plurality of edge nodes corresponding to the plurality of data processing service providers; the access request is converted into a target access format of the same data processing service defined by the target data processing service provider to which the target edge node belongs, by calling the same data processing service through an API, so as to obtain an access request in a target access format; and, the same data processing service deployed by the target data processing service provider on the target edge node is called using the access request in the target access format.
2. A scheduling method, It is characterized in that Applied to a scheduling system, the scheduling system includes a client, a scheduling node and multiple data processing service providers, the multiple data processing service providers provide the same data processing service, the multiple data processing service providers define different access formats for calling the same data processing service through an API, the different access formats refer to different interface parameters and / or calling forms, the method is executed by the scheduling node, and the method includes: Obtaining an access request provided by the client for invoking the same data processing service; Acquire attribute information of the same data processing service provided by multiple data processing service providers; selecting a target data processing service provider from the plurality of data processing service providers according to the access request and the attribute information; Converting the access request into a target access format defined by the target data processing service provider to call the same data processing service through an API, so as to obtain an access request in the target access format; The same data processing service of the target data processing service provider is called by using an access request in the target access format.
3. The method according to claim 2, It is characterized in that Also includes: Acquire configuration information of the multiple data processing service providers provided by a user; The obtaining of attribute information of data processing services provided by multiple data processing service providers includes: The plurality of data processing service providers are monitored according to the configuration information to obtain the attribute information.
4. The method according to claim 3, It is characterized in that The step of monitoring the multiple data processing service providers according to the configuration information of the multiple data processing service providers to obtain the attribute information includes: From the configuration information, obtain the user name and access key information that provides the configuration information; The plurality of data processing providers are monitored using the user name and access key information to obtain the attribute information.
5. The method according to claim 2, It is characterized in that The step of selecting a target data processing service provider from the plurality of data processing service providers according to the access request and the attribute information includes: Acquire, from the access request, a target data processing type corresponding to the access request; acquiring target attribute information of the plurality of data processing service providers for the target data processing type from the attribute information; A target data processing service provider is selected from the plurality of data processing service providers according to the target attribute information.
6. The method according to claim 5, It is characterized in that The step of selecting a target data processing service provider from the plurality of data processing service providers according to the target attribute information includes: For any data processing service provider, obtaining value attribute information and performance attribute information of any data processing service provider from the target attribute information of the data processing service provider; Performing weighted processing on the value attribute information and performance attribute information for any data processing service provider to obtain a service evaluation parameter of the any data processing service provider; A target data processing service provider is selected from the plurality of data processing service providers according to the service evaluation parameters of the plurality of data processing service providers.
7. The method according to claim 6, It is characterized in that Before weighting the value attribute information and the performance attribute information for any data processing service provider to obtain the service evaluation parameter for any data processing service provider, the method further includes: acquiring, from the attribute information of any one of the data processing service providers, the number of accesses by the target user providing the access request to the target data processing type of any one of the data processing service providers; Determining whether the number of accesses is less than a quota of the number of times that the target user can access the target data processing type of any data processing service provider; If the judgment result is yes, weighted processing is performed on the value attribute information and performance attribute information for any data processing service provider to obtain a service evaluation parameter of the any data processing service provider.
8. The method according to claim 2, It is characterized in that The same data processing service provided by the multiple data processing service providers is deployed on an edge node of an edge cloud network; and the obtaining of attribute information of the same data processing service provided by the multiple data processing service providers includes: Attribute information of the same data processing service provided by multiple edge nodes corresponding to the multiple data processing service providers is obtained as the attribute information of the same data processing service provided by the multiple data processing service providers.
9. The method according to claim 2, It is characterized in that The obtaining of attribute information of the same data processing service provided by multiple data processing service providers includes: Providing scheduling query information to the client that provides the access request; the scheduling query information is used for the target user that provides the access request to choose whether to agree to call the data processing service provider registered by other users; In response to the confirmation operation of the scheduling inquiry information, attribute information of a plurality of data processing service providers registered by the target user who provides the access request and other users is obtained from a database.
10. The method according to claim 9, It is characterized in that Also includes: In response to a negative operation of the scheduling inquiry information, attribute information of a plurality of data processing service providers registered by the target user providing the access request is read from a database.
11. The method according to claim 2, It is characterized in that Also includes: Receiving a data processing result corresponding to the access request returned by the target data processing service provider; Performing data format conversion on the data processing result to obtain a set data format; The data processing result in the set data format is sent to the client that provides the access request, so that the client can output the data processing result.
12. A scheduling system, It is characterized in that include: A client, a scheduling terminal and multiple data processing service providers, wherein the multiple data processing service providers provide the same data processing service, and the multiple data processing service providers define different access formats for calling the same data processing service through an API, wherein the different access formats refer to different interface parameters and / or calling forms; The dispatching end includes: a dispatching component, a monitoring component and a driving component; The scheduling component is used to obtain an access request provided by the client for a user to call the same data processing service; The monitoring component is used to obtain attribute information of the same data processing service provided by multiple data processing service providers; The scheduling component is further used to select a target data processing service provider from the multiple data processing service providers according to the access request and the attribute information; The driver component is used to convert the access request into a target access format defined by the target data processing service provider for calling the same data processing service through an API to obtain an access request in the target access format; and to call the same data processing service of the target data processing service provider using the access request in the target access format.
13. A computing device, It is characterized in that include: Memory, processor and communication components; wherein the memory is used to store computer programs; The processor is coupled to the memory and the communication component, and is configured to execute the computer program to perform the steps in the method according to any one of claims 2 to 11.
14. A computer-readable storage medium storing computer instructions, It is characterized in that When the computer instructions are executed by one or more processors, the one or more processors are caused to execute the steps in the method according to any one of claims 2 to 11.
