A method of using artificial intelligence services at a communication network end side and an apparatus therefor
By deploying artificial intelligence models on the communication network end side and using local or neighboring nodes to acquire and process data, the problems of high latency and centralized access are solved, achieving efficient model acquisition and collaborative application, and reducing communication latency and resource waste.
Patent Information
- Application Number
- CN202210619617.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-02
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2042-06-02
AI Technical Summary
In existing technologies, deploying artificial intelligence models on Internet servers leads to high latency and centralized access paralysis problems, while the acquisition efficiency of models not deployed is low, and the collaborative application of multiple models cannot be realized.
Deploy artificial intelligence models on the communication network end side, obtain the required models through local node storage or neighboring nodes, process data directly or online to obtain processing results, and optimize model acquisition and collaborative applications.
It reduces latency between the "end-side and communication network", avoids system paralysis caused by centralized access, improves model update and transmission efficiency, supports multi-model collaborative processing, and reduces communication latency and server concurrency.
Smart Images

Figure CN117221127B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of communication technology, and in particular to a method and apparatus for using artificial intelligence services on the end side of a communication network. Background Technology
[0002] In the future intelligent interconnected communication network, network nodes are trending towards intelligence. This intelligence leads to a rapid expansion of the information space, even resulting in a dimensional disaster, exacerbating the difficulty of representing the information carrying space. This makes it difficult for traditional network service capabilities to match the high-dimensional information space, resulting in excessively large data transmission volumes and an inability of information service systems to continuously meet people's complex, diverse, and intelligent information transmission needs. However, using artificial intelligence models to encode, propagate, and decode business information can significantly reduce the amount of data transmitted in communication services, greatly improving information transmission efficiency. These models are relatively stable and possess reusability and propagation capabilities. The propagation and reuse of these models will help enhance network intelligence while reducing overhead and resource waste, forming an intelligent and simplified communication network with highly intelligent nodes and a simplified network.
[0003] In current AI services, vendors train AI models and deploy them on their provided internet servers for users to use or download. Using models deployed on internet servers results in high latency between the device and the communication network. Furthermore, internet servers are more centralized than communication network servers, and excessive concurrent access can cause them to crash. Moreover, current technologies typically use pre-deployed models without considering how to obtain undeployed models; therefore, users need to spend time searching for models on the internet, and there's a possibility that multiple models from different vendors may not be able to collaborate.
[0004] Therefore, the current issue is how to efficiently access and use artificial intelligence services. Summary of the Invention
[0005] This disclosure provides a method and apparatus for using artificial intelligence services on the communication network end side.
[0006] According to a first aspect of this disclosure, a method for using artificial intelligence services on the communication network end side is provided, comprising:
[0007] Obtain the data to be processed;
[0008] In response to the local node storing a first model required for the data to be processed, the first model is used to process the data to be processed, and the processing result is obtained;
[0009] In response to the fact that the local node does not store the first model, the first method or the second method is selected to obtain the processing result;
[0010] The first method involves: obtaining the first model from a first neighboring node that provides the first model download, processing the data to be processed based on the first model, and obtaining the processing result.
[0011] The second method involves sending the data to be processed to a second neighboring node that provides online processing of the first model, so that the second neighboring node uses the first model to process the data to be processed online and generates the processing result; the local node obtains the processing result from the second neighboring node.
[0012] According to a second aspect of this disclosure, an apparatus for using artificial intelligence services on the communication network end side is provided, comprising:
[0013] The acquisition unit acquires the data to be processed.
[0014] The first processing unit, in response to the first model required by the local node storing the data to be processed, processes the data to be processed using the first model and obtains the processing result;
[0015] The second processing unit, in response to the fact that the local node does not store the first model, selects a first method or a second method to obtain the processing result;
[0016] The first method involves: obtaining the first model from a first neighboring node that provides the first model download, processing the data to be processed based on the first model, and obtaining the processing result.
[0017] The second method involves sending the data to be processed to a second neighboring node that provides online processing of the first model, so that the second neighboring node uses the first model to process the data to be processed online and generates the processing result; the local node obtains the processing result from the second neighboring node.
[0018] According to a third aspect of this disclosure, an electronic device is provided, comprising:
[0019] At least one processor; and
[0020] A memory that is communicatively connected to at least one processor; wherein,
[0021] The memory stores instructions that can be executed by at least one processor, such that at least one processor can perform the methods described above.
[0022] According to a fourth aspect of this disclosure, a non-transitory computer-readable storage medium is provided storing computer instructions, wherein the computer instructions are used to cause a computer to perform the methods described above.
[0023] The beneficial effects of the technical solution provided in this disclosure are:
[0024] The ability to use communication networks to provide artificial intelligence model services enables the provision and use of artificial intelligence model services between the "device side and communication network", reducing latency;
[0025] The ability to provide artificial intelligence model services using communication networks has good distribution, avoiding system paralysis caused by centralized access;
[0026] Taking into account the impact of factors such as the processing capacity and communication latency at the communication network end, the preferred scheme minimizes the time required to obtain the processing result, thereby reducing latency;
[0027] It supports multiple models to collaboratively process the same data to be processed; it reduces the size of a single model and improves the efficiency of model updates and transmission; thereby reducing communication latency and server concurrency, and solves the model update problem when the local node does not store the first model.
[0028] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0029] The accompanying drawings are provided to better understand this solution and do not constitute a limitation of this disclosure. Wherein:
[0030] Figure 1 This is a flowchart illustrating a method for using artificial intelligence services on the communication network end side according to Embodiment 1 of this disclosure;
[0031] Figure 2 This is a schematic diagram of a device for using artificial intelligence services on the communication network end side according to Embodiment 2 of this disclosure;
[0032] Figure 3 This is a schematic diagram of an electronic device provided according to Embodiment 3 of this disclosure. Detailed Implementation
[0033] The exemplary embodiments of this disclosure are described below with reference to the accompanying drawings, including various details of the embodiments to aid understanding, and should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this disclosure. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.
[0034] In the intelligent and simplified communication network, service information is primarily disseminated through artificial intelligence (AI) models. By using AI models to compress the initial service information into a second service information related to the AI model, the data volume in the network is significantly reduced, with compression efficiency far exceeding traditional compression algorithms. Specifically, the sending device uses a pre-configured first model to extract the initial service information and obtain the second service information to be transmitted; the sending device then transmits the second service information to the receiving device. The receiving device receives the second service information and uses the pre-configured second model to reconstruct it into a third service information. While the third service information reconstructed by the second model may have slight quality differences compared to the original first service information, the content is identical, providing a virtually indistinguishable user experience. Before the sending device transmits the second service information to the receiving device, an update module determines whether the receiving device needs to update the second model. If an update is required, the module transmits the pre-configured third model to the receiving device, which then uses the third model to update the second model. By processing service information using a pre-trained AI model, the data transmission volume in communication services can be significantly reduced, greatly improving information transmission efficiency. These models are relatively stable and possess reusability and propagation capabilities. Model propagation and reuse help enhance network intelligence while reducing overhead and resource waste. A model can be divided into several model slices according to different segmentation rules. These model slices can also be transferred between different network nodes, and the slices can be assembled into a model. Model slices can be stored distributed across multiple network nodes. When a network node discovers that it is missing or needs to update a certain model or model slice, it can request it from nearby nodes that may possess that slice.
[0035] The transmission of service information and models both occur within the communication network, based on network protocols. The network nodes traversed along the transmission paths include intelligent routers. The functions of intelligent routers include, but are not limited to, service information transmission, model transmission, model self-updating, and security protection. The transmission function of intelligent routers involves transmitting service information or models from source nodes to destination nodes, with multiple paths existing between them. The model transmission function of intelligent routers can transmit model slices, improving transmission speed by strategically arranging model slices to travel along multiple paths.
[0036] In the Simplified Communication Network, a limited number of models from relatively mature fields can be incorporated into the Simplified Standard. These models are defined and deployed within the communication network by the Simplified Communication Protocol. For users of AI models, model acquisition and access are convenient, whether for local or remote use. For AI model providers, there is no need to train or deploy models; they can earn revenue based on their model's share within the standard.
[0037] Example 1
[0038] Figure 1 This disclosure illustrates a method for using artificial intelligence services on the communication network end side, as provided in an embodiment of the present disclosure. Figure 1 As shown, the local node applied to the communication network end side includes:
[0039] Step S110: Obtain the data to be processed;
[0040] Step S120: In response to the local node storing the first model required for the data to be processed, the first model is used to process the data to be processed to obtain the processing result;
[0041] Step S130: In response to the fact that the local node does not store the first model, select the first method or the second method to obtain the processing result;
[0042] The first method involves: obtaining the first model from a first neighboring node that provides the first model download, processing the data to be processed based on the first model, and obtaining the processing result.
[0043] The second method involves sending the data to be processed to a second neighboring node that provides online processing of the first model, so that the second neighboring node uses the first model to process the data to be processed online and generates the processing result; the local node obtains the processing result from the second neighboring node.
[0044] Specifically, the local node is the node that executes the method; the local node may be a computing device on the communication network end side, including but not limited to mobile terminals, IoT terminals, computers, servers, etc.
[0045] Specifically, the data to be processed can come from an application within the local node or from other nodes connected to the local node.
[0046] This disclosure achieves communication between the "end-to-communication network" and the "end-to-communication network" by obtaining the first model through the first neighboring node or the processing result through the second neighboring node when the local node does not store the first model. Compared with "end-to-communication network-Internet", this disclosure reduces communication latency and server concurrency, and solves the model update problem when the local node does not store the first model.
[0047] Specifically, this disclosure deploys the model on a communication network, so that local nodes on the end side can obtain the required processing results directly or indirectly from remote nodes when the first model is not stored.
[0048] In this disclosure, the number of the first model is greater than or equal to 1; the number of the first neighboring nodes is greater than or equal to 1; and the number of the second neighboring nodes is greater than or equal to 1.
[0049] For example, when the number of the first models is 2, all the models required for the request can be obtained from one or more of the first neighboring nodes, thereby enabling the local node to obtain multiple models and realize the collaborative application of multiple artificial intelligence models.
[0050] It should be noted that the steps of the corresponding methods are not necessarily performed in the order shown and described in this specification in other embodiments. In some other embodiments, the methods may include more or fewer steps than described in this specification. Furthermore, a single step described in this disclosure may be broken down into multiple steps in other embodiments; and multiple steps described in this specification may be combined into a single step in other embodiments.
[0051] This disclosure provides a possible implementation, and step S130 specifically includes the following steps:
[0052] The goal is to minimize the time required to obtain the processing result, and the goal is to select either the first method or the second method to obtain the processing result using the goal strategy.
[0053] Specifically, the target strategy can be a strategy determined and executed by the local node itself; or it can be a target strategy jointly executed by the local node and other nodes. The target strategy can be transmitted from other nodes to the local node, and can be updated within the relevant node range when the target strategy changes. In particular, the target strategy can be part of the communication network standard, and executing the target strategy among communication network nodes within a certain range optimizes the overall quality of the communication network within that range.
[0054] Specifically, when a local node has a task to execute, it can first determine whether the current local node has the required computing power resources. If the required computing power resources do not exist, it is not necessary to check whether the local node has the first model, and the second method can be directly selected to obtain the processing result. That is, the following steps are included before step S120:
[0055] If the local node does not have the computing power resources required to process the data to be processed, then steps S120 and S130 are skipped, and the second method is selected to obtain the processing result.
[0056] This disclosure provides a possible implementation, wherein the step of using the target strategy to select the first method or the second method to obtain the processing result specifically includes:
[0057] Obtain a first estimated time, which is the estimated time required for the local node to obtain the first model from the first neighboring nodes, plus the estimated time required for the local node to process the data to be processed according to the first model to obtain the processing result;
[0058] Obtain a second estimated time, which is the estimated time required from the local node to transmit the data to be processed to the second neighboring node, and from the local node to the neighboring node to obtain the processing result from the neighboring node.
[0059] Determine whether the first estimated time is less than the second estimated time;
[0060] If so, select the first method to obtain the processing result;
[0061] If not, select the second method to obtain the processing result.
[0062] Specifically, the second estimated time is the time it takes for the local node to transmit the data to be processed to the first neighboring node, plus the time required for the second neighboring node to provide the first model locally or obtain it from a third-party node, plus the time required for the second neighboring node to perform task scheduling and process the data to be processed, plus the time required for the second neighboring node to transmit the processing result to the local node.
[0063] Specifically, the estimated time required for the local node to obtain the first model from the first neighboring node can be estimated based on the size of the first model and the data transmission rate in the historical connection data between the local node and the first neighboring node. If there is no historical connection data between the local node and the first neighboring node, the local node can select the data transmission rate of other neighboring nodes in the historical connection data to simulate the data transmission rate of the first neighboring node.
[0064] Specifically, the estimated time required for the local node to process the data to be processed according to the first model and obtain the processing result can be estimated based on the computing resource requirements of the first model, the computing power of the local node, and the task scheduling status. If the local node cannot obtain the computing resource requirements of the first model, it can estimate them based on the computing resource requirements required to process similar tasks in the local node's historical records.
[0065] Specifically, the time it takes for the local node to transmit the data to be processed to the second neighboring node can be estimated based on the size of the data to be processed and the data transmission rate in the historical connection data between the local model and the second neighboring node. If there is no historical connection data between the local node and the second neighboring node, the local node can select the data transmission rate of other neighboring nodes in the historical connection data to simulate the data transmission rate of the second neighboring node.
[0066] Specifically, the time required for the second neighboring node to provide the first model from its local storage can be estimated by the second neighboring node based on the time required for it to read the first model from its memory.
[0067] Specifically, the time required for the second neighboring node to obtain the first model from the third-party node can be estimated based on the request communication time between the second neighboring node and the third-party node, plus the time required for the third-party node to read the first model from its local storage, plus the time required for the third-party node to send the first model to the second neighboring node.
[0068] Specifically, since the local node cannot directly call the resources of the second neighboring node and the third-party node to perform various estimated time calculations, the local node can make an estimate based on similar situations in its historical records; the second neighboring node and the third-party node can also expose the above estimates as service interfaces, and the service interfaces respond to the local node's estimated time request by sending the estimated time to the local node.
[0069] Specifically, the first estimated time corresponds to the first method; the second estimated time corresponds to the second method. The first method does not involve data transmission, which can improve data security; while the second method requires transmitting the data to be transmitted to a remote location, which poses a risk of data leakage.
[0070] This disclosure provides a possible implementation, which further includes the following steps:
[0071] The first neighboring node provides the download of the first model, but the first neighboring node does not store the first model locally, and obtains the first model from a third-party node.
[0072] For example, taking the first model as an image generation model, the data to be processed is specifically a piece of text; the processing result is an image generated based on this text. The method of using the artificial intelligence service for image generation on the communication network end side includes the following steps:
[0073] Step A1: Determine whether the local node contains the computing resources required to generate the image;
[0074] If so, proceed to step A2;
[0075] If not, select the second method below to obtain the processing result.
[0076] Assuming the local node contains the computing resources needed to generate the image, proceed to step A2.
[0077] Step A2: Determine whether the local node includes the generated image model;
[0078] If so, the text is processed directly using the image generation model in the local node to obtain the generated image;
[0079] If not, proceed to steps A3 through A5.
[0080] Assuming the local node does not include the generated image model, proceed with steps A3 to A5;
[0081] Step A3: Locate multiple surrounding nodes around the local node that provide downloads of the generated image model;
[0082] Assuming the local node obtains the estimated time for generating the image model from the surrounding nodes as 0.2 seconds and 0.4 seconds respectively, the node with the estimated time of 0.2 seconds is selected as the first neighboring node.
[0083] The first estimated time is obtained, which is the estimated time required for the local node to obtain the generated image model from the first neighboring node (0.2 seconds as mentioned above), plus the estimated time required for the local node to process the text according to the generated image model to obtain the generated image (assumed to be 0.1 seconds); then the first estimated time is 0.2 seconds plus 0.1 seconds, that is, 0.3 seconds.
[0084] Step A4: Locate multiple surrounding nodes around the local node that provide the generated image model for online processing;
[0085] Assuming the local node obtains two neighboring nodes with second estimated times of 0.1 seconds and 0.3 seconds respectively from its surrounding nodes, the neighboring node with the second estimated time of 0.1 seconds is selected as the second neighboring node.
[0086] Step A5: Determine whether the first estimated time is less than the second estimated time of the second neighboring node;
[0087] If so, select the first method to obtain the generated image;
[0088] If not, select the second method to obtain the generated image.
[0089] As mentioned above, the first estimated time for the local node in the first method is 0.3 seconds, and the second estimated time for the second neighboring node in the second method is 0.1 seconds. Therefore, the second method is chosen to obtain the generated image.
[0090] Again, exemplarily, taking the first model as an image generation model and an image enhancement model as an example, the data to be processed is specifically a piece of text; firstly, the image generation model is used to generate an image based on this text; then, the image enhancement model is used to generate an enhanced image based on the generated image; the processing result is the enhanced image. The method for using artificial intelligence services for image generation and image enhancement on the communication network end side includes the following steps:
[0091] Step B1: Determine whether the local node includes the computing resources required to generate and enhance the image;
[0092] If so, proceed to step B2;
[0093] If not, select the second method below to obtain the processing result;
[0094] Assuming the local node contains the computing resources needed to generate the image, proceed to step B2.
[0095] Step B2: Determine whether the local node includes the generated image model and the beautified image model;
[0096] If so, the generated image is obtained by directly using the image generation model and image enhancement model in the local node to process the text.
[0097] If not, proceed to steps B3 through B5;
[0098] Assuming the local node includes the generated image model but not the beautified image model, proceed with steps B3 to B5.
[0099] Step B3: Locate multiple surrounding nodes around the local node that provide the download of the beautified image model;
[0100] Assuming the estimated time for the local node to obtain the image enhancement model from the surrounding nodes is 0.2 seconds and 0.4 seconds respectively, the node with the estimated time of 0.2 seconds is selected as the first neighboring node.
[0101] The first estimated time is obtained as follows: the estimated time (0.2 seconds) required for the local node to obtain the beautified image model from the first neighboring node; plus the estimated time (assuming 0.1 seconds) required for the local node to process the text according to the generated image model to obtain the generated image, and then the estimated time (assuming 0.1 seconds) required to process the generated image according to the beautified image model to obtain the beautified image; then the first estimated time is 0.2 seconds plus 0.1 seconds plus 0.1 seconds, which is 0.4 seconds.
[0102] Step A4: Locate multiple surrounding nodes around the local node that provide the generated image model and the beautified image model;
[0103] Table 1 Second estimated time for multiple surrounding nodes.
[0104]
[0105] Assume there are surrounding nodes A and B. Node A has both a generated image model and a beautified image model locally. Node B does not have a generated image model locally, but it does have a beautified image model. The generated image model needed by node B can be uploaded from its local node or transferred from a third-party node.
[0106] Therefore, three schemes were formed: (1) Surrounding node A; (2) Surrounding node B (upload and generate image model from local node); (3) Surrounding node B (upload and generate image model from third-party node). The second estimated time for each is shown in the "Total" column of Table 1.
[0107] It can be seen that, due to the stronger computing resources of surrounding nodes A and B, the same image model takes 0.1 seconds to compute on the local node, but only 0.01 seconds on surrounding nodes A and B. Similarly, the communication between surrounding nodes and third-party nodes is also faster. Uploading the generated image model between the local node and surrounding node B takes 0.2 seconds, but sending the generated image model from the third-party node to surrounding node B only takes 0.1 seconds.
[0108] The surrounding node with the shortest second estimated time is selected as the second neighboring node; that is, surrounding node A is selected as the second neighboring node, and its second estimated time is 0.24 seconds.
[0109] Step A5: Determine whether the first estimated time is less than the second estimated time of the second neighboring node;
[0110] If so, choose the first method to obtain the processing result;
[0111] If not, select the second method to obtain the processing result.
[0112] As mentioned above, the first estimated time for the local node in the first method is 0.4 seconds, and the second estimated time for the second neighboring node in the second method is 0.24 seconds. Therefore, the second method is chosen to obtain the beautified image.
[0113] Example 2
[0114] The above describes a method for using artificial intelligence services on the communication network end side. The following describes an apparatus for using artificial intelligence services on the communication network end side.
[0115] Figure 2 An apparatus 200 for using artificial intelligence services on the communication network end side, as shown in an embodiment of this disclosure, includes:
[0116] Acquisition unit 210 acquires the data to be processed;
[0117] The first processing unit 220, in response to the local node storing a first model required for the data to be processed, processes the data to be processed using the first model and obtains the processing result;
[0118] The second processing unit 230, in response to the fact that the local node does not store the first model, selects a first method or a second method to obtain the processing result;
[0119] The first method involves obtaining the first model from a first neighboring node that provides the first model download, processing the data to be processed based on the first model, and obtaining the processing result.
[0120] The second method involves sending the data to be processed to a second neighboring node that provides online processing of the first model, so that the second neighboring node uses the first model to process the data to be processed online and generates the processing result; the local node obtains the processing result from the second neighboring node.
[0121] The beneficial effects achieved by the embodiments of this disclosure are the same as those described above in the method embodiments for using artificial intelligence services on the communication network end side, and will not be repeated here.
[0122] Example 3
[0123] According to embodiments of this disclosure, this disclosure also provides an electronic device and a readable storage medium.
[0124] The electronic device includes:
[0125] At least one processor; and
[0126] A memory that is communicatively connected to at least one processor; wherein,
[0127] The memory stores instructions that can be executed by at least one processor, which enables the at least one processor to perform the method described in the above embodiment of the method for using artificial intelligence services on the communication network end side.
[0128] The non-transitory computer-readable storage medium stores computer instructions for causing a computer to perform the methods described in the above-described embodiments of the method for using artificial intelligence services on the communication network end side.
[0129] The beneficial effects achieved by the embodiments of this disclosure are the same as those described above in the method embodiments for using artificial intelligence services on the communication network end side, and will not be repeated here.
[0130] Figure 3 A schematic block diagram of an example electronic device 300 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0131] like Figure 3 As shown, device 300 includes a computing unit 301, which can perform various appropriate actions and processes based on a computer program stored in read-only memory (ROM) 302 or a computer program loaded from storage unit 308 into random access memory (RAM) 303. The RAM 303 may also store various programs and data required for the operation of device 300. The computing unit 301, ROM 302, and RAM 303 are interconnected via bus 304. Input / output (I / O) interface 307 is also connected to bus 304.
[0132] Multiple components in device 300 are connected to I / O interface 305, including: input unit 306, such as keyboard, mouse, etc.; output unit 307, such as various types of monitors, speakers, etc.; storage unit 308, such as disk, optical disk, etc.; and communication unit 309, such as network card, modem, wireless transceiver, etc. Communication unit 309 allows device 300 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0133] The computing unit 301 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 301 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 301 performs the various methods and processes described above, such as the method of using artificial intelligence services on the communication network end side. For example, in some embodiments, the method of using artificial intelligence services on the communication network end side can be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 307. In some embodiments, part or all of the computer program can be loaded and / or installed on device 300 via ROM 302 and / or communication unit 309. When the computer program is loaded into RAM 303 and executed by the computing unit 301, one or more steps of the method of using artificial intelligence services on the communication network end side described above can be performed. Alternatively, in other embodiments, computing unit 301 may be configured by any other suitable means (e.g., by means of firmware) to perform a method of using artificial intelligence services on the communication network end side.
[0134] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0135] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0136] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0137] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0138] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with embodiments of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.
[0139] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact via communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other. Servers can be cloud servers, servers in distributed systems, or servers incorporating blockchain technology.
[0140] It should be understood that the various forms of processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.
[0141] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.
Claims
1. A method for using artificial intelligence services on the communication network end side, characterized in that, Local nodes applied on the communication network end side include: Obtain the data to be processed; In response to the local node storing a first model required for the data to be processed, the first model is used to process the data to be processed, and the processing result is obtained; In response to the fact that the local node does not store the first model, the objective strategy is to minimize the time required to obtain the processing result, and the first method or the second method is selected to obtain the processing result using the objective strategy. The first method involves: obtaining the first model from a first neighboring node around the local node that provides the first model download, processing the data to be processed based on the first model, and obtaining the processing result; The second method involves sending the data to be processed to a second neighboring node that provides online processing of the first model around the local node, so that the second neighboring node uses the first model to process the data to be processed online and generates the processing result; the local node then obtains the processing result from the second neighboring node. The step of selecting the first method or the second method to obtain the processing result using the target strategy specifically includes: Obtain a first estimated time, which is the estimated time required for the local node to obtain the first model from the first neighboring nodes, plus the estimated time required for the local node to process the data to be processed according to the first model to obtain the processing result; A second estimated time is obtained, which is the estimated time required from the local node to transmit the data to be processed to the second neighboring node, and from the local node to the local node to obtain the processing result from the second neighboring node. Determine whether the first estimated time is less than the second estimated time; If so, select the first method to obtain the processing result; If not, select the second method to obtain the processing result; Wherein, the second estimated time is the time it takes for the local node to transmit the data to be processed to the second neighboring node, plus the time required for the second neighboring node to provide the first model locally or obtain it from a third-party node, plus the time required for the second neighboring node to perform task scheduling and process the data to be processed, plus the time required for the second neighboring node to transmit the processing result to the local node.
2. The method for using artificial intelligence services on the communication network end side as described in claim 1, wherein, Obtaining the first model from the first neighboring node that provides the first model download specifically includes the following steps: Obtain the application environment information of the local node, and obtain the first model that matches the application environment information.
3. The method for using artificial intelligence services on the communication network end side as described in claim 1, wherein, The first model includes multiple second models: the multiple second models may be the same or different models; the multiple second models collaboratively process the data to be processed; The first neighboring node that provides the download of the first model is a third neighboring node that provides the entire second model, or it includes a set of multiple fourth neighboring nodes that each provide a portion of the second model.
4. The method for using artificial intelligence services on the communication network end side as described in claim 3, wherein, In the first method, the local node obtains the plurality of second models from the third neighboring node, or the local node obtains the plurality of second models from the plurality of fourth neighboring nodes: In the second method, the local node transmits the data to be processed to the second neighboring node for processing.
5. A device for using artificial intelligence services on the communication network end side, characterized in that, Local nodes applied on the communication network end side include: The acquisition unit acquires the data to be processed. The first processing unit, in response to the first model required by the local node storing the data to be processed, processes the data to be processed using the first model and obtains the processing result; The second processing unit, in response to the fact that the local node does not store the first model, takes minimizing the time required to obtain the processing result as the objective strategy, and selects either the first method or the second method to obtain the processing result using the objective strategy; The first method involves: obtaining the first model from a first neighboring node around the local node that provides the first model download, processing the data to be processed based on the first model, and obtaining the processing result; The second method involves sending the data to be processed to a second neighboring node that provides online processing of the first model around the local node, so that the second neighboring node uses the first model to process the data to be processed online and generates the processing result; the local node then obtains the processing result from the second neighboring node. The second processing unit is specifically used for: Obtain a first estimated time, which is the estimated time required for the local node to obtain the first model from the first neighboring nodes, plus the estimated time required for the local node to process the data to be processed according to the first model to obtain the processing result; A second estimated time is obtained, which is the estimated time required from the local node to transmit the data to be processed to the second neighboring node, and from the local node to the local node to obtain the processing result from the second neighboring node. Determine whether the first estimated time is less than the second estimated time; If so, select the first method to obtain the processing result; If not, select the second method to obtain the processing result; Wherein, the second estimated time is the time it takes for the local node to transmit the data to be processed to the second neighboring node, plus the time required for the second neighboring node to provide the first model locally or obtain it from a third-party node, plus the time required for the second neighboring node to perform task scheduling and process the data to be processed, plus the time required for the second neighboring node to transmit the processing result to the local node.
6. An electronic device, comprising: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-4.
7. A non-transitory computer-readable storage medium storing computer instructions, wherein, The computer instructions are used to cause the computer to perform the method according to any one of claims 1-4.
Citation Information
Patent Citations
Method, system and equipment for accelerating model data rendering and storage medium
CN113901571A
Task processing method and device, electronic equipment and computer readable storage medium
CN114238237A
