Business processing method and device and storage medium
Through flexible management and resource scheduling of AI services and business services, the problem of low resource utilization efficiency and high cost caused by AI service deployment methods in the existing technology is solved, and flexible adaptive resource control and resource optimization scheduling of AI services are realized. .
Patent Information
- Application Number
- CN202310403327.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-14
- Publication Date
- 2024-10-18
AI Technical Summary
The existing AI service deployment method makes the network unaware of the AI service, making it difficult to efficiently utilize computing power and network resources, resulting in high AI service costs and difficulty in achieving optimal scheduling of the network and computing power.
Provide a business processing method to achieve flexible management and resource scheduling of AI services and business services by receiving AI service registration, modification, deletion and metering requests, as well as AI business service deployment, modification and termination requests, based on the attributes of the AI service Information is comprehensively distributed and scheduled across network and computing resources.
It realizes flexible adaptive network resource control of AI services and collaborative optimization scheduling of computing/network resources, reducing the cost of AI services and improving resource utilization efficiency.
Smart Images

Figure CN118802440A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network management, and in particular to a service processing method, device and storage medium. Background Art
[0002] At present, artificial intelligence (AI) services are often deployed in the cloud or on the terminal side, and the services are usually deployed in a centralized manner. In one case, all AI business services are deployed in the cloud computing center, and the data is transmitted to the cloud computing center through the network. The cloud computing center will then feed back the results after the calculation is completed; in another case, the AI business service is deployed as a whole on the terminal side, and all processing is completed on the terminal side.
[0003] During this process, the network is unaware of all AI services and relies entirely on upper-layer services for control. All computing resources need to be deployed in place before business implementation. Summary of the invention
[0004] In view of this, the main purpose of the present invention is to provide a service processing method, device and storage medium.
[0005] To achieve the above object, the technical solution of the present invention is achieved as follows:
[0006] An embodiment of the present invention provides a service processing method, which is applied to an operation device, and the method includes:
[0007] receiving a first request from a first service device, and / or receiving a second request from a second service device;
[0008] performing a first operation according to the first request, and / or performing a second operation according to the second request;
[0009] The first request includes at least one of the following: an AI service registration request, an AI service modification request, an AI service deletion request, and an AI service metering request;
[0010] The second request includes at least one of the following: an AI business service request, an AI business service modification request, and an AI business service termination request.
[0011] In the above solution, the first request includes an AI service registration request, and the performing the first operation according to the first request includes:
[0012] Determine attribute information corresponding to the AI service according to the AI service registration request;
[0013] After the identity authentication of the first service device is passed, registering the corresponding AI service according to the attribute information corresponding to the AI service;
[0014] Sending a service code of the registered AI service to the first service device;
[0015] Among them, the attribute information corresponding to the AI service includes but is not limited to at least one of the following: AI service category, AI service applicable scenarios, AI service computing power requirements, AI service performance parameters, AI service input and output parameters, AI service warehouse address, data requirements required for the AI service, and AI service pricing method.
[0016] In the above solution, the first request includes an AI service modification request, and performing the first operation according to the first request includes:
[0017] Determine, according to the AI service modification request, the AI service to be modified, the AI service attributes to be modified, and the target AI service attribute information;
[0018] Determine a second service device that uses the AI service to be modified, send a service change request to the second service device that uses the AI service to be modified, and receive a service change result message sent by the second service device that uses the AI service to be modified;
[0019] When it is determined that the second service device using the AI service to be modified agrees to the change, a service change is performed on the AI service according to the AI service attribute to be modified and the target AI service attribute information.
[0020] In the above solution, the number of the second service devices using the AI service to be modified is one or more; and the method further includes:
[0021] When it is determined that modifying the AI service to be modified does not affect the currently used service, modify the attribute of the AI service to be modified according to the attribute of the AI service to be modified and the target AI service attribute information;
[0022] When it is determined that modifying the AI service to be modified affects the currently used service, a service change message is sent to all second service devices using the AI service to be modified; and a service change result message is received from all second service devices using the AI service to be modified;
[0023] Determining that all second service devices using the AI service to be modified have completed service change, and marking the changed AI service as a new AI service;
[0024] When it is determined that some of the second service devices using the AI service to be modified permanently refuse the service change, marking the service modification status of the AI service as partially modified;
[0025] When it is determined that all the second service devices using the AI service to be modified permanently refuse the service change, the service modification status of the AI service is marked as modification failure.
[0026] In the above solution, the first request includes an AI service deletion request, and performing the first operation according to the first request includes:
[0027] Determining an AI service to be deleted according to the AI service deletion request;
[0028] When it is determined that deleting the AI service will not affect the currently used services, the deletion operation is performed;
[0029] When it is determined that deleting the AI service affects the currently used service, a deletion service request is sent to a second service device that uses the AI service to be deleted to request the second service device to determine whether to agree to the deletion; and a deletion result message sent by the second service device is received.
[0030] In the above solution, the first request includes an AI service metering request, and the performing the first operation according to the first request includes:
[0031] Determine the AI service to be measured according to the AI service measurement request;
[0032] Perform billing according to the billing policy of the AI service to be measured and generate a billing invoice;
[0033] The billing bills of at least one service cycle are merged, and the merged bill is sent to the first service device and / or the second service device.
[0034] In the above solution, the second request includes an AI business service request, and performing the second operation according to the second request includes:
[0035] Determine, according to the AI business service request, the attribute information required for the requested AI business service;
[0036] After the identity authentication of the second service device is passed, the service deployment is performed according to the attribute information required by the AI service.
[0037] In the above solution, the attribute information required by the AI service includes, but is not limited to, at least one of the following: AI business capability requirements, AI computing power requirements, AI service performance requirements, AI service combination sequence, whether to agree to the network to adjust the service sequence, and the fees willing to pay;
[0038] The performing service deployment according to the attribute information required by the AI service includes at least one of the following:
[0039] The attribute information required for the AI business service includes an AI service combination sequence, and all AI services corresponding to the AI service combination sequence are available services. According to the business capability requirements, the AI computing power requirements, the AI service performance requirements, and the cost situation, a topological relationship of AI capabilities, network devices, and computing power resources, as well as resource reservation information and billing information are generated; the AI capabilities, network devices, and computing power resources are scheduled to relevant nodes;
[0040] The attribute information required by the AI business service includes an AI service combination sequence, and some AI services corresponding to the AI service combination sequence are unavailable services, a service sequence adjustment request is sent to the second service device, an adjusted AI service combination sequence is determined, and a topological relationship of AI capabilities, network devices, and computing power resources, as well as resource reservation information and billing information are generated according to the adjusted AI service combination sequence, the business capability requirements, the AI computing power requirements, the AI service performance requirements, and the cost situation; the AI capabilities, network devices, and computing power resources are scheduled to relevant nodes;
[0041] The attribute information required for the AI business service does not include an AI service combination sequence, an AI service combination sequence is generated according to the attribute information required for the AI business service, and a topological relationship of AI capabilities, network devices, and computing resources, as well as resource reservation information and billing information are generated for the generated AI service combination sequence; the AI capabilities, network devices, and computing resources are scheduled to relevant nodes.
[0042] In the above solution, the second request includes an AI business service modification request, and performing the second operation according to the second request includes:
[0043] According to the AI business service modification request, determine the AI business service to be modified, the AI business service attribute to be modified, and the target AI business service attribute information to be modified;
[0044] For the AI business service to be modified, performing modification legality analysis on the AI business service to be modified according to the AI business service attributes to be modified and the target AI business service attribute information;
[0045] Determine that the modification legality analysis passes, generate a new AI business service list, routing path, resource reservation information, billing information, and topological relationship of AI capabilities, network devices, and computing resources according to the target AI business service attribute information; and schedule the new AI capabilities, network devices, and computing resources to relevant nodes;
[0046] The method further comprises:
[0047] A business service change message is sent to the second service device using the AI business service.
[0048] In the above scheme, the method further comprises:
[0049] Determine that the AI business service state has changed, the operation policy has changed, and / or the resource information has changed, and send an AI business service modification request carrying the attribute information to be modified to the second service device;
[0050] After receiving the modification confirmation message from the second service device, a new AI business service list, routing path, resource reservation information, billing information, and topological relationship of AI capabilities, network equipment, and computing resources are generated according to the modified attribute information; and the new AI capabilities, network equipment, and computing resources are scheduled to relevant nodes.
[0051] In the above solution, the second request includes an AI business service termination request, and performing the second operation according to the second request includes:
[0052] Determine the AI business service to be terminated according to the AI business service termination request;
[0053] Determine the node corresponding to the AI business service to be terminated;
[0054] Sending a service termination message to a determined node;
[0055] Receive a termination confirmation message from the node.
[0056] In the above scheme, the method further comprises:
[0057] When it is determined that the AI business service state has changed, the operation policy has changed, the resource information has changed, and / or other business service termination conditions are met, an AI business service termination request message is sent to the second service device, where the AI business service termination request message carries the business service identifier to be terminated and the termination reason;
[0058] After receiving the termination confirmation message from the second service device, determining the node corresponding to the AI business service to be terminated;
[0059] Sending a service termination message to a determined node;
[0060] Receive a termination confirmation message from the node.
[0061] An embodiment of the present invention provides a service processing device, which is applied to an operation device, and includes:
[0062] A receiving module, configured to receive a first request from a first service device; and / or receive a second request from a second service device;
[0063] a processing module, configured to perform a first operation according to the first request, and / or perform a second operation according to the second request;
[0064] The first request includes at least one of the following: an AI service registration request, an AI service modification request, an AI service deletion request, and an AI service metering request;
[0065] The second request includes at least one of the following: an AI business service request, an AI business service modification request, and an AI business service termination request.
[0066] In the above solution, the first request includes an AI service registration request;
[0067] The processing module is used to determine the attribute information corresponding to the AI service according to the AI service registration request; after the identity authentication of the first service device is passed, register the corresponding AI service according to the attribute information corresponding to the AI service;
[0068] The apparatus further includes: a sending module, configured to send a service code of the registered AI service to the first service device;
[0069] Among them, the attribute information corresponding to the AI service includes but is not limited to at least one of the following: AI service category, AI service applicable scenarios, AI service computing power requirements, AI service performance parameters, AI service input and output parameters, AI service warehouse address, data requirements required for the AI service, and AI service pricing method.
[0070] In the above solution, the first request includes an AI service modification request;
[0071] The processing module is used to determine the AI service to be modified, the AI service attributes to be modified, and the target AI service attribute information according to the AI service modification request;
[0072] The sending module is further used to determine a second service device that uses the AI service to be modified, and send a service change request to the second service device that uses the AI service to be modified;
[0073] The receiving module is further configured to receive a service change result message sent by the second service device using the AI service to be modified;
[0074] The processing module is further configured to, when determining that the second service device using the AI service to be modified agrees to the change, perform a service change on the AI service according to the AI service attribute to be modified and the target AI service attribute information.
[0075] In the above solution, the number of the second service devices using the AI service to be modified is one or more;
[0076] The processing module is configured to modify the attributes of the AI service to be modified according to the attributes of the AI service to be modified and the target AI service attribute information when it is determined that modifying the AI service to be modified does not affect the currently used service;
[0077] When it is determined that modifying the AI service to be modified affects the currently used service, a service change message is sent to all second service devices using the AI service to be modified; and a service change result message is received from all second service devices using the AI service to be modified;
[0078] Determining that all second service devices using the AI service to be modified have completed service change, and marking the changed AI service as a new AI service;
[0079] When it is determined that some of the second service devices using the AI service to be modified permanently refuse the service change, marking the service modification status of the AI service as partially modified;
[0080] When it is determined that all the second service devices using the AI service to be modified permanently refuse the service change, the service modification status of the AI service is marked as modification failure.
[0081] In the above solution, the first request includes an AI service deletion request; the processing module is used to determine the AI service to be deleted according to the AI service deletion request;
[0082] When it is determined that deleting the AI service will not affect the currently used services, the deletion operation is performed;
[0083] When it is determined that deleting the AI service affects the currently used service, a deletion service request is sent to a second service device that uses the AI service to be deleted to request the second service device to determine whether to agree to the deletion; and a deletion result message sent by the second service device is received.
[0084] In the above solution, the first request includes an AI service metering request;
[0085] The processing module is used to determine the AI service to be measured according to the AI service metering request; perform billing according to the billing policy of the AI service to be measured and generate a billing bill; merge the billing bills of at least one business cycle;
[0086] The sending module is further configured to send the combined bill to the first service device and / or the second service device.
[0087] In the above solution, the second request includes an AI business service request;
[0088] The processing module is used to determine the attribute information required for the requested AI business service according to the AI business service request;
[0089] After the identity authentication of the second service device is passed, the service deployment is performed according to the attribute information required by the AI service.
[0090] In the above solution, the attribute information required by the AI service includes, but is not limited to, at least one of the following: AI business capability requirements, AI computing power requirements, AI service performance requirements, AI service combination sequence, whether to agree to the network to adjust the service sequence, and the fees willing to pay;
[0091] The processing module is used to perform at least one of the following:
[0092] The attribute information required for the AI business service includes an AI service combination sequence, and all AI services corresponding to the AI service combination sequence are available services. According to the business capability requirements, the AI computing power requirements, the AI service performance requirements, and the cost situation, a topological relationship of AI capabilities, network devices, and computing power resources, as well as resource reservation information and billing information are generated; the AI capabilities, network devices, and computing power resources are scheduled to relevant nodes;
[0093] The attribute information required by the AI business service includes an AI service combination sequence, and some AI services corresponding to the AI service combination sequence are unavailable services, a service sequence adjustment request is sent to the second service device, an adjusted AI service combination sequence is determined, and a topological relationship of AI capabilities, network devices, and computing power resources, as well as resource reservation information and billing information are generated according to the adjusted AI service combination sequence, the business capability requirements, the AI computing power requirements, the AI service performance requirements, and the cost situation; the AI capabilities, network devices, and computing power resources are scheduled to relevant nodes;
[0094] The attribute information required for the AI business service does not include an AI service combination sequence, an AI service combination sequence is generated according to the attribute information required for the AI business service, and a topological relationship of AI capabilities, network devices, and computing resources, as well as resource reservation information and billing information are generated for the generated AI service combination sequence; the AI capabilities, network devices, and computing resources are scheduled to relevant nodes.
[0095] In the above solution, the second request includes an AI business service modification request;
[0096] The processing module is used to determine the AI business service to be modified, the AI business service attributes to be modified, and the target AI business service attribute information to be modified according to the AI business service modification request;
[0097] For the AI business service to be modified, performing modification legality analysis on the AI business service to be modified according to the AI business service attributes to be modified and the target AI business service attribute information;
[0098] Determine that the modification legality analysis passes, generate a new AI business service list, routing path, resource reservation information, billing information, and topological relationship of AI capabilities, network devices, and computing resources according to the target AI business service attribute information; and schedule the new AI capabilities, network devices, and computing resources to relevant nodes;
[0099] The sending module is used to send a business service change message to the second service device using the AI business service.
[0100] In the above solution, the sending module is further used to determine that the AI business service state has changed, the operation policy has changed, and / or the resource information has changed, and send an AI business service modification request carrying the attribute information to be modified to the second service device;
[0101] The processing module is used to generate a new AI business service list, routing path, resource reservation information, billing information, and topological relationship of AI capabilities, network devices and computing resources according to the modified attribute information after receiving the modification confirmation message from the second service device; and schedule the new AI capabilities, network devices and computing resources to relevant nodes.
[0102] In the above solution, the second request includes an AI business service termination request, and the processing module is used to determine the AI business service to be terminated according to the AI business service termination request;
[0103] Determine the node corresponding to the AI business service to be terminated;
[0104] The sending module is further used to send service termination information to the determined node;
[0105] The receiving module is also used to receive a termination confirmation message from the node.
[0106] In the above scheme, the sending module is further used to send an AI business service termination request message to the second service device when it is determined that the AI business service state has changed, the operation policy has changed, the resource information has changed, and / or other business service termination conditions are met. The AI business service termination request message carries the business service identifier to be terminated and the termination reason;
[0107] The receiving module is further configured to determine the node corresponding to the AI business service to be terminated after receiving the termination confirmation message from the second service device;
[0108] The sending module is further used to send service termination information to the determined node;
[0109] The receiving module is also used to receive a termination confirmation message from the node.
[0110] An embodiment of the present invention provides a business processing device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any business processing method when executing the program.
[0111] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any business processing method are implemented.
[0112] A business processing method, device and storage medium provided by an embodiment of the present invention, the method comprising: an operating device receives a first request from a first service device, and / or receives a second request from a second service device; performs a first operation according to the first request, and / or performs a second operation according to the second request; wherein the first request includes at least one of the following: an AI service registration request, an AI service modification request, an AI service deletion request, and an AI service metering request; the second request includes at least one of the following: an AI business service request, an AI business service modification request, and an AI business service termination request. In this way, the operating device can register an AI service, modify an AI service, delete an AI service, and meter an AI service according to the request sent by the first service device and / or the second service device, and can also modify or terminate the AI business service after deployment, thereby achieving elastic, flexible and adaptive network resource control, and optimizing scheduling based on collaborative computing / network resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0113] Figure 1A flowchart of a service processing method provided by an embodiment of the present invention;
[0114] Figure 2 A schematic diagram of a network structure of a device-edge network cloud provided by an embodiment of the present invention;
[0115] Figure 3 A schematic diagram of an AI business service deployment provided by an embodiment of the present invention;
[0116] Figure 4 A schematic diagram of an on-line AI computing provided by an embodiment of the present invention;
[0117] Figure 5 A schematic diagram of the structure of a service processing device provided by an embodiment of the present invention;
[0118] Figure 6 A schematic diagram of the structure of another service processing device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0119] As mentioned above, AI services are often deployed in the cloud or on the terminal side, and the services are usually deployed in a centralized manner. As a result, the network is unaware of all AI services, resulting in the following problems:
[0120] 1. AI services under existing technologies are often deployed and provided through centralized data center or end-side deployment. In fact, the data of AI services is identified and transmitted through the network. Network capabilities and performance are often not considered in current AI services. As the scale and complexity of AI services increase, existing AI services often have high computing power investment or network bandwidth consumption costs due to network and computing power performance, making it difficult to efficiently utilize computing power and network resources, resulting in high AI scale costs.
[0121] 2. The current computing power network tends to combine computing power and network for comprehensive scheduling. However, the demand for computing power and network depends on the characteristics and needs of the business itself. How the business is distributed is the core that ultimately determines how computing power and network are scheduled. Therefore, it is unreasonable to talk about computing power and network scheduling without considering how the business is distributed. It is difficult to achieve the optimization of network and computing power, especially for the high computing power requirements and large differences in service characteristics of AI services. It is necessary to achieve comprehensive distribution and scheduling of business, computing power, and network.
[0122] Based on this, an embodiment of the present invention provides a business processing method, receiving a first request from a first service device, and / or receiving a second request from a second service device; performing a first operation according to the first request, and / or performing a second operation according to the second request; wherein the first request includes at least one of the following: an AI service registration request, an AI service modification request, an AI service deletion request, and an AI service metering request; the second request includes at least one of the following: an AI business service request, an AI business service modification request, and an AI business service termination request.
[0123] The present invention will be further described in detail below in conjunction with the embodiments.
[0124] Figure 1 A flowchart of a business processing method provided by an embodiment of the present invention; Figure 1 As shown, the method can be applied to operating equipment, such as servers, computers and other equipment; the method includes:
[0125] Step 101: receiving a first request from a first service device, and / or receiving a second request from a second service device;
[0126] Step 102: Execute a first operation according to the first request, and / or execute a second operation according to the second request;
[0127] The first request includes at least one of the following: an AI service registration request, an AI service modification request, an AI service deletion request, and an AI service metering request;
[0128] The second request includes at least one of the following: an AI business service request, an AI business service modification request, and an AI business service termination request;
[0129] Accordingly, the performing of the first operation includes at least one of the following: registering an AI service, modifying an AI service, deleting an AI service, and measuring an AI service;
[0130] The performing of the second operation includes at least one of the following: providing an AI business service, modifying an AI business service, and terminating an AI business service.
[0131] Among them, the operation device is a device of the AI service network operator, which can be used to perform network operation management, send requests, messages, etc. to the first service device and the second service device, and receive requests, messages, etc. sent by the first service device and the second service device.
[0132] The first service device is a device of the AI service provider, which can be used to send requests, messages, etc. to the operation device, and receive requests, messages, etc. sent by the operation device.
[0133] The second service device is a device of the AI business demander and / or the AI service application party, and can be used to send requests, messages, etc. to the operating device, as well as to receive requests, messages, etc. sent by the operating device. Here, the AI business demander refers to a user who wants to use a certain AI service, such as a user who wants to use the voice transcription function. The AI service application party refers to a user who has confirmed that he is using the AI service, such as a user who has used the voice transcription function. In actual application, a user can be only an AI service application party or an AI service application party; or can be both an AI service application party and an AI service application party at the same time.
[0134] The first service device and the second service device can at least communicate with the operation device.
[0135] In some embodiments, the first request includes an AI service registration request, and performing the first operation according to the first request includes:
[0136] Determine attribute information corresponding to the AI service according to the AI service registration request;
[0137] After the identity authentication of the first service device is passed, registering the corresponding AI service according to the attribute information corresponding to the AI service;
[0138] Sending a service code of the registered AI service to the first service device;
[0139] The AI service registration request carries attribute information corresponding to the relevant AI service;
[0140] The attribute information corresponding to the AI service includes but is not limited to at least one of the following: AI service category, AI service applicable scenarios, AI service computing power requirements, AI service performance parameters, AI service input and output parameters, AI service warehouse address, data requirements required for the AI service, AI service pricing method and other information.
[0141] Specifically, the process of registering AI services may include:
[0142] Step 001: The device of the AI service provider (such as the first service device) initiates an AI service registration request to the device of the AI service network operator (such as the operation device); the AI service registration request carries the AI service corresponding attribute information corresponding to the relevant AI service;
[0143] Step 002: After receiving the AI service registration request, the operating device authenticates the AI service provider to confirm the legitimacy of the AI service provider's identity. During this process, the service call availability and AI service performance can also be evaluated. After the evaluation is passed, a unique AI service identifier (such as AIID 001) is generated for the AI service requested for registration, and the AI service is included in the list of available services.
[0144] Step 003: The operation device sends the service code of the registered AI service to the device of the AI service provider.
[0145] In some embodiments, the first request includes an AI service modification request, and performing the first operation according to the first request includes:
[0146] Determine, according to the AI service modification request, the AI service to be modified, the AI service attributes to be modified, and the target AI service attribute information;
[0147] Determine a second service device that uses the AI service to be modified (i.e., a second service device of an AI service application party that uses the AI service), send a service change request to the second service device that uses the AI service to be modified, and receive a service change result message sent by the second service device that uses the AI service to be modified;
[0148] When it is determined that the second service device using the AI service to be modified agrees to the change, a service change is performed on the AI service according to the AI service attribute to be modified and the target AI service attribute information.
[0149] In some embodiments, after receiving the AI service modification request, the method further includes:
[0150] Conduct modification feasibility analysis and / or performance evaluation on the AI service to be modified;
[0151] Determine that the modification feasibility analysis and / or performance measurement is passed, and perform a service change on the AI service to be modified according to the AI service attribute to be modified and the target AI service attribute information.
[0152] Here, the feasibility analysis and performance evaluation can be modified and analyzed and evaluated according to preset rules respectively, and there is no limitation on the adopted rules.
[0153] In some embodiments, the number of the second service devices using the AI service to be modified is one or more; and the method further includes:
[0154] When it is determined that modifying the AI service to be modified does not affect the currently used service, modify the attribute of the AI service to be modified according to the attribute of the AI service to be modified and the target AI service attribute information;
[0155] When it is determined that modifying the AI service to be modified affects the currently used service, a service change message is sent to all second service devices using the AI service to be modified; and a service change result message sent by all second service devices using the AI service to be modified is received.
[0156] Here, when the service change result message is a service change acceptance message, it indicates confirmation of agreement to the service change;
[0157] When the service change result message is a service change rejection message, the service change rejection message may carry a rejection type (the rejection type is divided into temporary rejection and permanent rejection), a rejection period, and a rejection reason.
[0158] In some embodiments, the method further comprises:
[0159] Determining that all second service devices using the AI service to be modified have completed service change, and marking the changed AI service as a new AI service;
[0160] When it is determined that some of the second service devices using the AI service to be modified permanently refuse the service change, marking the service modification status of the AI service as partially modified;
[0161] When it is determined that all the second service devices using the AI service to be modified permanently refuse the service change, the service modification status of the AI service is marked as modification failure.
[0162] In some embodiments, the method may further include: sending a modification result message to the first service device.
[0163] Here, in actual application, the second service device using the AI service can be one or more, determined according to the actual situation, and is not limited here. In the case where there are multiple second service devices using the AI service, a service change request can be sent to each second service device and a service change result can be received. According to the service change result of each second service device, it is determined whether to modify or mark the AI service.
[0164] Specifically, the AI service attributes that need to be modified include at least one of the following: AI service applicable scenarios, AI service computing power requirements, AI service performance parameters, AI service input and output parameters, AI service warehouse address, data requirements required for the AI service, AI service pricing methods, etc.
[0165] The target AI service attribute information may include the data to which the above-mentioned AI service attributes to be modified specifically need to be modified. The contents of the AI service attributes to be modified and the target AI service attribute information are determined based on the actual application scenario, business situation and / or AI service related information, and are not limited here.
[0166] The service change includes at least one of the following: creating a new AI service, adjusting network routing, and adjusting computing power. The service change method can be pre-specified and set according to the actual application scenario, network conditions, business conditions, and / or AI service related information. The service change method is not limited here.
[0167] Specifically, there are two situations in the AI service modification process. One is the related process initiated by the AI service provider due to changes in its service attributes. The other is the modification process initiated by the AI service operator due to resources or other reasons.
[0168] In one example, modifying an AI service may include:
[0169] Step 0011: The device of the AI service provider (such as the first service device) initiates a service modification request to the operation device of the AI service network operator;
[0170] The AI service modification request carries at least one of the following: an AI service identifier (such as AIID), AI service attributes to be modified (such as AI service applicable scenarios, AI service computing power requirements, AI service performance parameters, AI service input and output parameters, AI service warehouse address, data requirements required for the AI service, AI service pricing method, etc.), and specific target AI service attribute information that needs to be modified.
[0171] Step 0012: The operating device receives the service modification request, performs feasibility and performance evaluation on the service modification, and generates a list of services to be modified for the AI service after the evaluation passes.
[0172] Step 0013: The operating device determines whether the modification has an impact on the currently provided service;
[0173] If this modification will affect the currently ongoing AI service, go to step 0014;
[0174] If this modification will not affect the currently ongoing AI service, the operating device will directly modify the service in the service list. After the modification is completed, the service will be deleted from the list of services to be modified and go to step 0111.
[0175] Step 0014: The operating device initiates a service change request to all AI service application devices (such as the second service device) that are using the AI service, carrying the AI service ID and specific change information.
[0176] Step 0015: The device of the AI service application receives the change information request and determines whether to agree to the change based on the current business needs;
[0177] If you agree to this change, go to step 0016;
[0178] If you do not agree to the change, go to step 0110.
[0179] Step 0016: The AI service application device sends a service change acceptance message to the operation device to confirm that it agrees to the service change.
[0180] Step 0017: The operation device performs the service change for the AI service application party, which may include creating new services, adjusting network routes, adjusting computing power, etc., and notifies the above adjustments to the relevant execution nodes; after the above work is completed, the operation device sends a service change completion message to the device of the AI service application party, carrying the above adjustment information, and goes to step 0111;
[0181] Step 0018. The device of the AI service application party changes the routing topology information of the subsequent new services according to the received service change completion message, and determines whether all services have been migrated to the new AI service. If they have been migrated to the new AI service, a service change completion confirmation message is sent to the operation device.
[0182] Step 0019: After the operating device receives the service change completion confirmation message sent by the device of the AI service application party, it deletes the AI service application party from the original service object list, and adds the AI service application party and the corresponding AI business service ID to the service list of the new service.
[0183] Step 0110: The AI service application device sends a service change rejection message to the operation device, and carries the rejection type (rejection type is divided into temporary rejection and permanent rejection), rejection period, and rejection reason. Go to step 0011.
[0184] Step 0111, the operation equipment evaluates the reason for the AI service application's rejection. If it is a temporary reason, the change request will be initiated after the rejection period expires. If it is a permanent rejection, the service application is marked as refusing to change the service.
[0185] Step 0112: The operating device continuously monitors whether the current AI service application parties have been changed, until all the AI service application parties have changed to the service change completion state or permanently refused to change the service state. When it is determined that all AI service application parties are in the change completion state, the service modification state is marked as completed, and the service is modified to a new service in the service list. After the modification is completed, the service is deleted from the list of services to be modified;
[0186] If some AI service application parties of the AI service application party permanently refuse the service change, the service modification status will be marked as partial modification;
[0187] If the AI service application parties corresponding to the AI service permanently reject the service change, the service modification will be marked as failed.
[0188] Step 0113: The operating device returns the service modification status to the device of the AI service provider (such as the first service device), including completed modification, partial modification, and modification failure. In the case of failure, the reason for the failure should be included.
[0189] Step 0114: The AI service provider's device decides whether to continue to maintain the original AI service or initiate an AI service deletion process based on the feedback information.
[0190] In actual application, it is considered that the AI service operator may also initiate a modification process due to resources or other reasons. Based on this, in some embodiments, the method further includes:
[0191] Detect the resources occupied by at least one AI service;
[0192] When it is determined that the resources occupied by the at least one AI service meet the first condition, determining an AI service to be modified among the at least one AI service;
[0193] Modifying the AI service to be modified, where the resources occupied by the at least one AI service after modification meet the second condition;
[0194] The satisfying of the first condition includes: the resources occupied by the at least one AI service exceeds a first threshold;
[0195] The satisfying the second condition includes: resources occupied by the at least one AI service are lower than a first threshold.
[0196] Here, the first threshold is a preset resource threshold.
[0197] In actual application, the AI service operator may also initiate a modification process for other reasons. The above is only an example of resource detection and initiation of a modification process, which is not limited here.
[0198] In some embodiments, the first request includes an AI service deletion request, and performing the first operation according to the first request includes:
[0199] Determining an AI service to be deleted according to the AI service deletion request;
[0200] When it is determined that deleting the AI service will not affect the currently used services, the deletion operation is performed;
[0201] When it is determined that deleting the AI service affects the currently used service, sending a deletion service request to a second service device that uses the AI service to be deleted, to request the second service device to determine whether to agree to the deletion; and receiving a deletion result message sent by the second service device;
[0202] The deletion result message is a service deletion acceptance message, indicating confirmation of consent to the AI service deletion;
[0203] The deletion result message is a service deletion rejection message, indicating that the AI service deletion is not agreed to. The message may carry the rejection type (rejection types are divided into temporary rejection and permanent rejection), rejection period, and rejection reason.
[0204] In some embodiments, the number of second service devices using the AI service to be deleted is one or more. The method further includes:
[0205] Receiving a deletion result message sent by all second service devices using the AI service to be deleted; the deletion result information is a service deletion rejection message or a service deletion rejection message; the service deletion rejection message carries at least a rejection type;
[0206] When it is determined that all deletion result messages of the second service devices are service deletion rejection messages, deleting the AI service from the service list;
[0207] When it is determined that there is a device that sends a service deletion rejection message, determine the rejection type carried by each service deletion rejection message; if the rejection type is determined to be a temporary reason, then initiate a change request again after the rejection period expires; if the rejection type is determined to be a permanent rejection, it means that the corresponding second service device refuses to delete the service, and the AI service is identified as a refused deletion service.
[0208] Specifically, the process of deleting an AI service may include:
[0209] Step 021: The device of the AI service provider initiates a service deletion request to the operating device of the AI service operator, and carries the ID of the AI service in the service deletion request.
[0210] Step 022: The operation device determines whether the service deletion has an impact on the currently provided service;
[0211] If the deletion will affect the currently ongoing service, go to step 023;
[0212] If this deletion will not affect the currently ongoing service, the operating device will directly delete the service from the service list and go to step 029.
[0213] Step 023: The operating device initiates a service deletion application to all AI service application devices (such as the second service device) that are using the service, carrying the AI service ID.
[0214] Step 024: The device of the AI service application receives the change information request and determines whether to agree to the deletion based on the current business needs;
[0215] If you agree to the deletion, go to step 025;
[0216] If you do not agree to the deletion, go to step 026.
[0217] Step 025. The device of the AI service application sends a service deletion acceptance message to the operation device to confirm that it agrees to the deletion of the AI service, and then goes to step 027.
[0218] Step 026: The AI service application device sends a service deletion rejection message to the operation device, and carries the rejection type (rejection type is divided into temporary rejection and permanent rejection), rejection period, and rejection reason. Go to step 029.
[0219] Step 027, the operating equipment evaluates the reasons for rejection by each AI service application party. If it is a temporary reason, the service deletion request will be initiated after the rejection period expires. If it is a permanent rejection, it means that the service application party refuses to delete the service, and the AI service is marked as a refused deletion service.
[0220] Step 028: When all AI service application services agree to delete the AI service, delete the service from the service list. After the service list is modified, delete the service from the service list.
[0221] Step 029: The operating device returns the service deletion status to the device of the AI service application party, including deletion success and deletion failure. In the case of failure, the reason for failure should be included.
[0222] In some embodiments, the first request includes an AI service metering request, and performing a first operation according to the first request includes:
[0223] Determine the AI service to be measured according to the AI service measurement request;
[0224] Perform billing according to the billing policy of the AI service to be measured and generate a billing invoice;
[0225] The billing bills of at least one service cycle are merged, and the merged bill is sent to the first service device and / or the second service device.
[0226] Here, the billing strategy can be set and saved in advance for each AI service based on actual needs, and the specific billing strategy is not limited here.
[0227] Specifically, the AI service billing or metering process includes:
[0228] Step 031: The operating equipment of the AI service operator detects that the AI service application is calling the AI service identified as IDXXX.
[0229] Step 032. The operating device generates a billing or metering bill for the AI service of the ID according to the billing or metering strategy of the AI service (such as charging by the number of services, charging by the service duration, charging by service performance indicators, etc.). The bill should include the caller ID of the AI service, the AI service provider ID, and service metering unit statistics.
[0230] Step 033: The operating device merges the relevant bills according to the business cycle, and sends the bill information to the AI service application party's device (such as the second service device) and the AI service provider's device (such as the first service device) for confirmation.
[0231] Step 034: The operating device issues an order based on the confirmed billing information.
[0232] In some embodiments, the second request includes an AI business service request; and performing a second operation according to the second request includes:
[0233] Determine, according to the AI business service request, the attribute information required for the requested AI business service;
[0234] After the identity authentication of the second service device is passed, the service deployment is performed according to the attribute information required by the AI service.
[0235] The attribute information required for the AI business service includes, but is not limited to, at least one of the following: AI business capability requirements, AI computing power requirements, AI service performance requirements (such as service accuracy, latency, etc.), AI service combination sequence, whether to agree to the network to adjust the service sequence, and the fees willing to pay;
[0236] Performing service deployment according to the attribute information required by the AI service includes at least one of the following:
[0237] The attribute information required for the AI business service includes an AI service combination sequence, and all AI services corresponding to the AI service combination sequence are available services. According to the business capability requirements, the AI computing power requirements, the AI service performance requirements, and the cost situation, a topological relationship of AI capabilities, network devices, and computing power resources, as well as resource reservation information and billing information are generated; the AI capabilities, network devices, and computing power resources are scheduled to relevant nodes;
[0238] The attribute information required by the AI business service includes an AI service combination sequence, and some AI services corresponding to the AI service combination sequence are unavailable services, a service sequence adjustment request is sent to the second service device, an adjusted AI service combination sequence is determined, and a topological relationship of AI capabilities, network devices, and computing power resources, as well as resource reservation information and billing information are generated according to the adjusted AI service combination sequence, the business capability requirements, the AI computing power requirements, the AI service performance requirements, and the cost situation; the AI capabilities, network devices, and computing power resources are scheduled to relevant nodes;
[0239] The attribute information required for the AI business service does not include an AI service combination sequence, an AI service combination sequence is generated according to the attribute information required for the AI business service, and a topological relationship of AI capabilities, network devices, and computing resources, as well as resource reservation information and billing information are generated for the generated AI service combination sequence; the AI capabilities, network devices, and computing resources are scheduled to relevant nodes.
[0240] Here, an AI business service may refer to a business formed by a combination of one or more AI services, that is, an AI business service may include one or more AI services, and there may be an association relationship between any two AI services.
[0241] The AI service combination sequence includes one or more AI services.
[0242] Specifically, the AI business service request process includes:
[0243] Step 041: A device of an AI service application party or an AI service demand party (such as a second service device) initiates an AI service request to an operation device of an AI service operator;
[0244] The AI business service request carries attribute information required for the service request, including but not limited to: AI business capability requirements, AI computing power requirements, AI service performance requirements (such as service accuracy, latency, etc.), AI service combination sequence, whether to agree to the network to adjust the service sequence, and the fees willing to pay;
[0245] Among them, the AI service combination sequence can be provided by the AI business demander or the AI service application party, or the AI service provider can flexibly arrange the AI service combination sequence according to the needs of the AI business demander or the AI service application party to generate the AI service combination sequence.
[0246] Step 042: After receiving the AI business service request initiated by the AI service application party or the AI business demand party, the operating device authenticates the AI service application party or the AI business demand party to confirm the legitimacy of the identity of the business user. This process can be authenticated through the contract registration data of the business user or the account policy data of the user. After the authentication is passed, a unique business service ID will be generated for the user's business demand this time, which will serve as the unique identifier of the AI business throughout its life cycle.
[0247] Step 043: The operating device parses the key attribute information of the request and takes different actions according to the parsed information:
[0248] a. When the AI service request carries an AI service combination sequence, the operation device determines whether all services in the service combination sequence are available services. If all services are available services, the operation device will generate the topological relationship, routing path, resource reservation information and billing information of capabilities, networks and computing resources according to the business capability requirements, AI computing power requirements, AI service performance requirements, cost situation, etc. in this request according to the comprehensive scheduling strategy, and schedule the relevant capabilities, computing power and network equipment to the relevant nodes, initiate the AI service application party or AI service demand party to feedback the service acceptance situation, and feedback the above information to the equipment of the AI service application party or AI service demand party for confirmation, and jump to step 044.
[0249] b. When the AI service request carries an AI service combination sequence, but some services are in an unavailable state, the operation device determines whether the AI service application party or the AI service demand party agrees to the operation device to adjust the service sequence. If the AI service application party or the AI service demand party does not agree to the change of the service sequence, the service request ends, and a service request failure flag is fed back to the AI service request party, and the process jumps to step 045. When the AI service application party or the AI service demand party agrees to adjust the service sequence, the operation device generates a new service sequence for the service request based on the AI service capability requirements, AI service performance requirements, configuration strategy or optimization algorithm, and on this basis, generates the topological relationship of capabilities, networks and computing resources, routing paths and resource reservation information, and at the same time feeds back the service sequence and corresponding topological relationship information to the device of the AI service application party or the AI service demand party for confirmation, and the process jumps to step 046.
[0250] c. When the AI business service request does not carry the AI service combination sequence, the operating device generates a service sequence for this service request according to the AI business capability requirements, AI service performance requirements, etc., according to the configuration strategy or optimization algorithm, and on this basis generates AI service capabilities, topological relationships of network and computing resources, routing paths and resource reservation information, and at the same time feeds back information such as the service sequence and corresponding topological relationships to the device of the AI service application party or the AI business demand party for confirmation, and jumps to step 406.
[0251] Step 044: After receiving the service acceptance request, the device of the AI service application party or the AI business demand party confirms the topological resources, routing path, resource information and billing information corresponding to the service. After confirmation, the service confirmation is sent to the operation device, and this process ends.
[0252] Step 045: After receiving the service rejection request, the device of the AI service application party or the AI business demand party may adjust the service sequence or service request requirement strategy to re-initiate the request, otherwise it initiates a service rejection confirmation message and the process ends.
[0253] Step 046: The device of the AI service application party or the AI business demand party receives the service reception sequence and the corresponding service topology, routing path, resource information and billing information for confirmation. After confirmation, a service confirmation message is sent to the operation device, and this process ends.
[0254] In some embodiments, the second request includes an AI business service modification request; and performing a second operation according to the second request includes:
[0255] According to the AI business service modification request, determine the AI business service to be modified, the AI business service attribute to be modified, and the target AI business service attribute information to be modified;
[0256] For the AI business service to be modified, performing modification legality analysis on the AI business service to be modified according to the AI business service attributes to be modified and the target AI business service attribute information;
[0257] Determine that the modification legality analysis passes, generate a new AI business service list, routing path, resource reservation information, billing information, and topological relationship of AI capabilities, network devices, and computing resources according to the target AI business service attribute information; and schedule the new AI capabilities, network devices, and computing resources to relevant nodes;
[0258] The method further comprises:
[0259] A business service change message is sent to the second service device using the AI business service.
[0260] Specifically, the AI business service modification process includes two situations. One situation is the AI business service modification process initiated by the AI service application party or the AI business demand party due to changes in their own business needs. The other situation is the AI business service modification process triggered by the AI service operator due to changes in the AI service status, operation strategy or resource information.
[0261] Here, the first case is: the AI service application party or the AI service demand party initiates the AI service modification process due to changes in their own business needs. The AI service modification process includes:
[0262] Step 051. The device of the AI service application party or the AI service demand party (such as the second service device) initiates an AI business service modification request to the operation device of the AI service operator, carrying the business service ID and the AI business service attribute information to be modified this time, including but not limited to: AI business capability requirements, AI computing power requirements, AI service performance requirements (such as service accuracy, latency, etc.), AI service combination sequence, whether to agree to the network to adjust the service sequence, and the fees willing to pay.
[0263] Step 052: After receiving the AI business service modification request, the operating device searches for the current service status of the business service ID, and verifies the AI business service request attribute information carried with the contract information of the AI service application party or the AI business demand party. If the request is legal, the operating device generates the latest service list, capabilities, network and computing resource topology relationships, routing paths, resource reservation information and billing information based on the attribute information of the request change and the corresponding strategy, and schedules or sends the relevant capabilities, computing power and network topology to the relevant nodes. After the scheduling is completed, the above information is returned to the device of the AI service application party or the AI business demand party.
[0264] Step 053: After receiving the information, the device of the AI service application party or the AI business demand party confirms that the AI business service modification is completed, modifies the corresponding policy according to the issued routing information, and feeds back the confirmation information to the operation device.
[0265] In some embodiments, the method further comprises:
[0266] Determine that the AI business service state has changed, the operation policy has changed, and / or the resource information has changed, and send an AI business service modification request carrying the attribute information to be modified to the second service device;
[0267] After receiving the modification confirmation message from the second service device, a new AI business service list, routing path, resource reservation information, billing information, and topological relationship of AI capabilities, network equipment, and computing resources are generated according to the modified attribute information; and the new AI capabilities, network equipment, and computing resources are scheduled to relevant nodes.
[0268] Here, the second case is: the AI business service modification process triggered by the AI service operator. The AI business service modification process includes:
[0269] Step 061: When the AI service operator finds that the AI service status has changed, the operation strategy has changed (such as a rate change), or the resource information has changed (such as the current performance cannot meet business needs), the operation device initiates an AI service modification request to the device of the AI service application party or the AI business demand party, and carries the attribute information to be modified.
[0270] Step 062: After the device of the AI service application party or the AI business demand party receives the AI service modification request, it comprehensively confirms whether it can accept the modification based on its own business needs and strategies. If it is confirmed to be acceptable, it will feedback an acceptance message to the operating device and jump to step 063; if it is not acceptable, it will feedback a rejection of the modification to the operating device and jump to step 065.
[0271] Step 063. After receiving the modification confirmation information, the operating device recalculates the service list, capabilities, topological relationships of network and computing resources, routing paths, resource reservation information and billing information corresponding to this service according to the modified information, and sends the policy to relevant nodes. After the scheduling is completed, the above information is returned to the device of the AI service application party or the AI business demand party.
[0272] Step 064: After receiving the information, the second service device confirms that the AI business service modification is completed, modifies the corresponding policy according to the sent routing information, and feeds back confirmation information to the operation device.
[0273] Step 065: After receiving the modification rejection information, the operating device confirms whether the rejection will affect the user's business. If the business cannot run normally, the AI business service termination process is initiated to the device of the AI service application party or the AI business demand party. If the business can still run normally, the service will continue to be maintained.
[0274] In some embodiments, the second request includes an AI business service termination request, and performing the second operation according to the second request includes:
[0275] Determine the AI business service to be terminated according to the AI business service termination request;
[0276] Determine the node corresponding to the AI business service to be terminated;
[0277] Sending a service termination message to a determined node;
[0278] Receive a termination confirmation message from the node.
[0279] In actual application, it is considered that the operating equipment can also initiate the AI business service termination process by itself.
[0280] Based on this, in some embodiments, the method further includes:
[0281] When it is determined that the AI business service state has changed, the operation policy has changed, the resource information has changed, and / or other business service termination conditions are met, an AI business service termination request message is sent to the second service device, where the AI business service termination request message carries the business service identifier to be terminated and the termination reason;
[0282] After receiving the termination confirmation message from the second service device, determining the node corresponding to the AI business service to be terminated;
[0283] Sending a service termination message to a determined node;
[0284] Receive a termination confirmation message from the node.
[0285] Specifically, the AI business service termination process includes two situations. One is the AI business service termination process initiated by the AI service application party or the AI business demand party due to changes in their own business needs. The other is the AI business service termination process triggered by the AI service operator due to changes in AI service status, operation strategy or resource information.
[0286] Here, in the first case, the AI service application party or AI service demand party initiates the AI service termination process due to changes in their own business needs, which specifically includes:
[0287] Step 071: The device of the AI service application party or the AI service demand party initiates an AI service termination request to the operation device of the AI service operator, carrying the service ID.
[0288] Step 072: After receiving the message, the operating device checks the capability, computing power, and network node information corresponding to the business service ID, and sends a service termination process to the relevant node, carrying the business service ID.
[0289] Step 073: The relevant node feeds back service termination confirmation information to the operating equipment.
[0290] Step 074: After receiving the service termination confirmation message, the operating device feeds back the AI service termination message to the device of the AI service application party or the AI business demand party.
[0291] Step 075: After receiving the confirmation message, the AI service application party or the AI business demand party replies to the operating device that the termination is complete.
[0292] The second case is the AI service termination process initiated by the operating equipment of the AI service operator, which specifically includes:
[0293] Step 081: When the operating device finds that it cannot provide services due to changes in AI service status, operating strategy, resource information, or user contract / account information, it initiates an AI business service termination request message to the device of the AI service application party or the AI business demand party, carrying the business service ID and termination reason.
[0294] Step 082: After the device of the AI service application party or the AI business demand party receives the AI business service termination request message, it determines the reason for the service termination. If the AI service application party or the AI business demand party accepts the AI business service termination message, it feeds back the service termination reception message to the operating device and proceeds to step 083. If the device of the AI service application party or the AI business demand party wishes to modify certain service attribute information to modify the service instead of terminating the service, it sends a service modification message to the operating device of the AI service operator, carries the attribute information that is expected to be modified, and jumps to step 087.
[0295] Step 083: After the operating device receives the termination service reception message fed back by the AI service application party or the AI business demand party, it checks the capability, computing power, and network node information corresponding to the business service ID, and sends a termination service process to the relevant node, carrying the business service ID.
[0296] Step 084: The relevant node feeds back service termination confirmation information to the operating equipment.
[0297] Step 085: After receiving the service termination confirmation message, the operating device sends an AI service termination confirmation message to the AI service application party or the AI service demand party.
[0298] Step 086: After receiving the confirmation message, the AI service application party or the AI business demand party replies to the operating device that the termination is complete.
[0299] Step 087: After the operating device receives the service modification message fed back by the AI service application party or the AI business demand party, it determines the rejection reason and the attribute information that is expected to be modified, and determines whether it can continue to provide services to the AI service application party or the AI business demand party by modifying the attribute information based on its own strategy. If so, it goes to the process of the first case. If not, it directly feeds back the service modification rejection to the AI service application party or the AI business demand party, and then goes to step 083 to continue to perform related operations related to service termination.
[0300] In some embodiments, the AI service is split into multiple atomic AI computing units, and each AI computing unit exchanges data information through tensors; each AI computing unit is distributed on the network nodes through which the data flows.
[0301] Among them, the network nodes include cloud, terminals, computing nodes, etc.
[0302] Here, the operating device can split the AI service to obtain multiple atomic AI computing units.
[0303] The embodiment of the present invention provides a service processing method, which is different from Figure 2 The traditional AI services shown are only identified, perceived and calculated on the business side of the terminal and the cloud. In the embodiments of the present invention, all AI services and capabilities can be identified, perceived, registered, authenticated, authorized, distributed, scheduled and measured through the communication network. Among them, all AI service providers can register the AI services they provide on the network, including but not limited to: atomic AI model components, AI capability training and optimization services, AI capability components, AI data processing services, AI data labeling services, etc. All AI services are identified on the network by a unique identifier; accordingly, each AI service has corresponding attribute information including but not limited to: AI service category, AI service applicable scenarios, AI service computing power requirements, AI service performance parameters, AI service input and output parameters, AI service warehouse address, data requirements required for AI services, and other related information. By designing standardized interactive interfaces for AI models and AI capability components, we can achieve registration and authentication of AI models and AI capability components on the network, and support evaluation, metering, and billing of AI services based on the relevant information provided by AI services. At the same time, we can return the relevant computing power or network conditions currently allocated to the capability to the AI service. When facing differentiated network or computing resources, AI models and AI capability components can achieve automatic scaling of models based on different computing power or network resources.
[0304] The above process can be divided into the following four processes: AI service registration initiation process, AI service modification process, AI service deletion process, and AI service metering process. All process interaction signaling should be transmitted through the existing signaling layer of the communication network. The AI service registration initiation process, AI service modification process, AI service deletion process, and AI service metering process have been Figure 1 The method is described in detail and will not be repeated here.
[0305] Furthermore, according to the method of the embodiment of the present invention, an AI service application party or an AI business demander may propose AI business service requirements to a network operator, including but not limited to: AI business capability requirements, AI computing power requirements, AI service performance requirements (such as service accuracy, latency, etc.), AI service combination sequence, fees willing to pay, etc., wherein the AI service combination sequence may be provided by a network business demander (such as an AI service application party or an AI service application party), or the AI service network operator may flexibly arrange the AI service combination sequence according to the requirements of the AI service application party or the AI business demander to generate an AI service combination sequence.
[0306] Figure 3 A schematic diagram of an AI business service deployment provided by an embodiment of the present invention; Figure 3 As shown, the AI service application party or the AI service demand party can apply for an AI service request to the AI service distribution network through the service request interface. The AI service distribution network constructed by the AI service network operator generates the AI service node computing path, AI service distribution strategy and network resource strategy based on the business request requirements of the AI service application party or the AI service demand party, combined with the current network resource situation and computing resource situation, and implements the distribution and routing scheduling of AI services according to the strategy. During the service process, the performance of the current service will be monitored, and the distribution, routing and network resource strategies will be adjusted in time according to the dynamic changes in service performance, so as to achieve elastic, flexible and adaptive network resource control, and optimize the scheduling based on the collaborative optimization of computing / network resources. The above process can be divided into three main business processes, including: AI business service request process, AI business service modification process, and AI business service termination process. The AI business service request process, AI business service modification process, and AI business service termination process have been described in. Figure 1 The method is described in detail and will not be repeated here.
[0307] Figure 4 A schematic diagram of an on-line AI computing provided by an embodiment of the present invention; Figure 4As shown, an on-line AI computing technology is proposed in an embodiment of the present invention. In this technology, the AI service process can be divided into multiple atomic AI computing units. Each AI computing unit exchanges data information in a tensor manner. Each AI computing unit is distributed on the network node through which the data flows. The distribution of the AI computing unit can be selected according to the computing characteristics on the network node, that is, the computing units in the above network scheduling (such as specifically referring to the network and computing resources, the topological relationship of the network and computing resources, the routing path, the resource reservation information and other related calculations) are not only in the cloud and end stages, but also can be distributed on the network nodes; according to the optimal scheduling strategy, the AI service distribution network distributes and deploys all the computing units required for the AI service on demand in the end-to-end network based on the computing resource characteristics (such as convolution computing enhancement chips). The AI service can realize computing while transmitting, and all the network element nodes can be calculated, so that the calculation is completed when the data is transmitted.
[0308] Figure 5 A schematic diagram of the structure of a service processing device provided by an embodiment of the present invention; Figure 5 As shown, the device is applied to operating equipment, and the device includes:
[0309] A receiving module, configured to receive a first request from a first service device; and / or receive a second request from a second service device;
[0310] a processing module, configured to perform a first operation according to the first request, and / or perform a second operation according to the second request;
[0311] The first request includes at least one of the following: an AI service registration request, an AI service modification request, an AI service deletion request, and an AI service metering request;
[0312] The second request includes at least one of the following: an AI business service request, an AI business service modification request, and an AI business service termination request.
[0313] It should be noted that: the business processing device provided in the above embodiment only uses the division of the above program modules as an example when implementing the corresponding business processing method. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the operating equipment is divided into different program modules to complete all or part of the processing described above. In addition, the device provided in the above embodiment and the embodiment of the corresponding method belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0314] Figure 6 A schematic diagram of the structure of another service processing device provided by an embodiment of the present invention, such as Figure 6As shown, the business processing device 60 includes: a processor 601 and a memory 602 for storing a computer program that can be run on the processor; when the processor 601 is used to run the computer program, it executes: receiving a first request from a first service device, and / or receiving a second request from a second service device; performing a first operation according to the first request, and / or performing a second operation according to the second request; wherein the first request includes at least one of the following: an AI service registration request, an AI service modification request, an AI service deletion request, and an AI service metering request; the second request includes at least one of the following: an AI business service request, an AI business service modification request, and an AI business service termination request. Specifically, the business processing device can also perform the following Figure 1 The method shown, and Figure 1 The business processing method embodiments shown belong to the same concept, and their specific implementation processes are detailed in the method embodiments, which will not be repeated here.
[0315] In actual application, the service processing device 60 may further include: at least one network interface 603. The various components in the service processing device 60 are coupled together via a bus system 604. It is understood that the bus system 604 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 604 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Figure 6 In the figure, various buses are marked as bus system 604. There may be at least one processor 601. The network interface 603 is used for wired or wireless communication between the service processing device 60 and other devices.
[0316] The memory 602 in the embodiment of the present invention is used to store various types of data to support the operation of the service processing device 60 .
[0317] The method disclosed in the above embodiment of the present invention can be applied to the processor 601, or implemented by the processor 601. The processor 601 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 601 or the instruction in the form of software. The above processor 601 can be a general processor, a digital signal processor (DSP, DiGital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 601 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiment of the present invention. The general processor can be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present invention, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in the memory 602. The processor 601 reads the information in the memory 602 and completes the steps of the above method in combination with its hardware.
[0318] In an exemplary embodiment, the business processing device 60 can be implemented by one or more application specific integrated circuits (ASIC), DSP, programmable logic device (PLD), complex programmable logic device (CPLD), field programmable gate array (FPGA), general processor, controller, microcontroller (MCU), microprocessor, or other electronic components to execute the aforementioned method.
[0319] An embodiment of the present invention also provides a computer-readable storage medium having a computer program stored thereon; when the computer program is executed by a processor, the computer program executes: receiving a first request from a first service device, and / or receiving a second request from a second service device; performing a first operation according to the first request, and / or performing a second operation according to the second request; wherein the first request includes at least one of the following: an AI service registration request, an AI service modification request, an AI service deletion request, and an AI service metering request; the second request includes at least one of the following: an AI business service request, an AI business service modification request, and an AI business service termination request. Specifically, the computer program can also execute the following: Figure 1 The method shown, and Figure 1 The business processing method embodiments shown belong to the same concept, and their specific implementation processes are detailed in the method embodiments, which will not be repeated here.
[0320] In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0321] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0322] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0323] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), disks or optical disks, etc. Various media that can store program codes.
[0324] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.
[0325] It should be noted that: "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0326] In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.
[0327] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A business processing method, characterized in that: Applied to operating equipment, the method comprises: receiving a first request from a first service device, and / or receiving a second request from a second service device; performing a first operation according to the first request, and / or performing a second operation according to the second request; The first request includes at least one of the following: an artificial intelligence AI service registration request, an AI service modification request, an AI service deletion request, and an AI service metering request; The second request includes at least one of the following: an AI business service request, an AI business service modification request, and an AI business service termination request.
2. The method according to claim 1, characterized in that The first request includes an AI service registration request, and performing a first operation according to the first request includes: Determine attribute information corresponding to the AI service according to the AI service registration request; After the identity authentication of the first service device is passed, registering the corresponding AI service according to the attribute information corresponding to the AI service; Sending a service code of the registered AI service to the first service device; Among them, the attribute information corresponding to the AI service includes but is not limited to at least one of the following: AI service category, AI service applicable scenarios, AI service computing power requirements, AI service performance parameters, AI service input and output parameters, AI service warehouse address, data requirements required for the AI service, and AI service pricing method.
3. The method according to claim 1, characterized in that The first request includes an AI service modification request, and performing a first operation according to the first request includes: Determine, according to the AI service modification request, the AI service to be modified, the AI service attributes to be modified, and the target AI service attribute information; Determine a second service device that uses the AI service to be modified, send a service change request to the second service device that uses the AI service to be modified, and receive a service change result message sent by the second service device that uses the AI service to be modified; When it is determined that the second service device using the AI service to be modified agrees to the change, a service change is performed on the AI service according to the AI service attribute to be modified and the target AI service attribute information.
4. The method according to claim 3, characterized in that The number of the second service devices using the AI service to be modified is one or more; and the method further includes: When it is determined that modifying the AI service to be modified does not affect the currently used service, modify the attribute of the AI service to be modified according to the attribute of the AI service to be modified and the target AI service attribute information; When it is determined that modifying the AI service to be modified affects the currently used service, a service change message is sent to all second service devices using the AI service to be modified; and a service change result message is received from all second service devices using the AI service to be modified; Determining that all second service devices using the AI service to be modified have completed service change, and marking the changed AI service as a new AI service; When it is determined that some of the second service devices using the AI service to be modified permanently refuse the service change, marking the service modification status of the AI service as partially modified; When it is determined that all the second service devices using the AI service to be modified permanently refuse the service change, the service modification status of the AI service is marked as modification failure.
5. The method according to claim 1, characterized in that The first request includes an AI service deletion request, and performing a first operation according to the first request includes: Determining an AI service to be deleted according to the AI service deletion request; When it is determined that deleting the AI service will not affect the currently used services, the deletion operation is performed; When it is determined that deleting the AI service affects the currently used service, a deletion service request is sent to a second service device that uses the AI service to be deleted to request the second service device to determine whether to agree to the deletion; and a deletion result message sent by the second service device is received.
6. The method according to claim 1, characterized in that The first request includes an AI service metering request, and performing a first operation according to the first request includes: Determine the AI service to be measured according to the AI service measurement request; Perform billing according to the billing policy of the AI service to be measured and generate a billing invoice; The billing bills of at least one service cycle are merged, and the merged bill is sent to the first service device and / or the second service device.
7. The method according to claim 1, characterized in that The second request includes an AI business service request, and performing a second operation according to the second request includes: Determine, according to the AI business service request, the attribute information required for the requested AI business service; After the identity authentication of the second service device is passed, the service deployment is performed according to the attribute information required by the AI service.
8. The method according to claim 7, characterized in that The attribute information required for the AI service includes, but is not limited to, at least one of the following: AI business capability requirements, AI computing power requirements, AI service performance requirements, AI service combination sequence, whether the network agrees to adjust the service sequence, and the fees willing to pay; The performing service deployment according to the attribute information required by the AI service includes at least one of the following: The attribute information required for the AI business service includes an AI service combination sequence, and all AI services corresponding to the AI service combination sequence are available services. According to the business capability requirements, the AI computing power requirements, the AI service performance requirements, and the cost situation, a topological relationship of AI capabilities, network devices, and computing power resources, as well as resource reservation information and billing information are generated; the AI capabilities, network devices, and computing power resources are scheduled to relevant nodes; The attribute information required by the AI business service includes an AI service combination sequence, and some AI services corresponding to the AI service combination sequence are unavailable services, a service sequence adjustment request is sent to the second service device, an adjusted AI service combination sequence is determined, and a topological relationship of AI capabilities, network devices, and computing power resources, as well as resource reservation information and billing information are generated according to the adjusted AI service combination sequence, the business capability requirements, the AI computing power requirements, the AI service performance requirements, and the cost situation; the AI capabilities, network devices, and computing power resources are scheduled to relevant nodes; The attribute information required for the AI business service does not include an AI service combination sequence, an AI service combination sequence is generated according to the attribute information required for the AI business service, and a topological relationship of AI capabilities, network devices, and computing resources, as well as resource reservation information and billing information are generated for the generated AI service combination sequence; the AI capabilities, network devices, and computing resources are scheduled to relevant nodes.
9. The method according to claim 1, characterized in that: The second request includes an AI business service modification request, and performing a second operation according to the second request includes: According to the AI business service modification request, determine the AI business service to be modified, the AI business service attribute to be modified, and the target AI business service attribute information to be modified; For the AI business service to be modified, performing modification legality analysis on the AI business service to be modified according to the AI business service attributes to be modified and the target AI business service attribute information; Determine that the modification legality analysis passes, generate a new AI business service list, routing path, resource reservation information, billing information, and topological relationship of AI capabilities, network devices, and computing resources according to the target AI business service attribute information; and schedule the new AI capabilities, network devices, and computing resources to relevant nodes; The method further comprises: A business service change message is sent to the second service device using the AI business service.
10. The method according to claim 1, characterized in that The method further comprises: Determine that the AI business service state has changed, the operation policy has changed, and / or the resource information has changed, and send an AI business service modification request carrying the attribute information to be modified to the second service device; After receiving the modification confirmation message from the second service device, a new AI business service list, routing path, resource reservation information, billing information, and topological relationship of AI capabilities, network equipment, and computing resources are generated according to the modified attribute information; and the new AI capabilities, network equipment, and computing resources are scheduled to relevant nodes.
11. The method according to claim 1, characterized in that: The second request includes an AI business service termination request, and performing a second operation according to the second request includes: Determine the AI business service to be terminated according to the AI business service termination request; Determine the node corresponding to the AI business service to be terminated; Sending a service termination message to a determined node; Receive a termination confirmation message from the node.
12. The method according to claim 11, characterized in that The method further comprises: When it is determined that the AI business service state has changed, the operation policy has changed, the resource information has changed, and / or other business service termination conditions are met, an AI business service termination request message is sent to the second service device, where the AI business service termination request message carries the business service identifier to be terminated and the termination reason; After receiving the termination confirmation message from the second service device, determining the node corresponding to the AI business service to be terminated; Sending a service termination message to a determined node; Receive a termination confirmation message from the node.
13. A service processing device, characterized in that: The device is applied to operating equipment, and the device includes: A receiving module, configured to receive a first request from a first service device; and / or receive a second request from a second service device; a processing module, configured to perform a first operation according to the first request, and / or perform a second operation according to the second request; The first request includes at least one of the following: an AI service registration request, an AI service modification request, an AI service deletion request, and an AI service metering request; The second request includes at least one of the following: an AI business service request, an AI business service modification request, and an AI business service termination request.
14. A service processing device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the method according to any one of claims 1 to 12 are implemented.
15. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 12 are implemented.
Citation Information
Cited By
Method and apparatus for service control
WO2026179866A1
