Computing task processing method and optical gateway device

By dynamically utilizing the computing resources of optical gateway devices, optical line terminals, and computing devices in the optical network, the problem of insufficient computing power of optical network terminal devices is solved, enabling efficient and economical provision of intelligent services.

WO2026045248A1PCT designated stage Publication Date: 2026-03-05HUAWEI TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/085059
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-08-27
Filing Date
2025-03-26
Publication Date
2026-03-05

AI Technical Summary

Technical Problem

When optical network terminal equipment provides advanced intelligent services, the demand for computing power increases dramatically, leading to higher hardware costs and making it difficult to meet the needs of diverse intelligent services.

Method used

By deploying intelligent services and computing units on optical gateway devices, optical line terminals, and computing devices, the computing resources in the optical network can be utilized to dynamically call upon computing resources at each level to execute computing tasks, thereby reducing redundant configuration of hardware resources.

Benefits of technology

It effectively reduces the hardware cost of optical gateway devices, while improving the level of intelligence, reducing network latency and bandwidth consumption, and enhancing the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025085059_05032026_PF_FP_ABST
    Figure CN2025085059_05032026_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of optical fiber communications, and provides a computing task processing method and an optical gateway device. The method is applied to an optical network; the optical network comprises an optical gateway device, an optical line terminal communicatively connected to the optical gateway device, and a computing device communicatively connected to the optical line terminal; intelligent services and computing units for implementing the intelligent services are respectively deployed on the optical gateway device, the optical line terminal, and the computing device, and the intelligent services are used for executing a computing task. The method is executed by the optical gateway device, and comprises: acquiring a user instruction, and determining a target computing task to be executed in response to the user instruction; and acquiring an execution result of the target computing task, wherein the execution result is obtained by executing the target computing task by an intelligent service on the optical gateway device, an optical line terminal or a computing device. By means of the method, the computing capability and intelligence level of the optical gateway device are improved.
Need to check novelty before this filing date? Find Prior Art

Description

A method for processing computing tasks and an optical gateway device

[0001] This application claims priority to Chinese Patent Application No. 202411189846.4, filed on August 27, 2024, entitled "A Method for Processing Computational Tasks and an Optical Gateway Device", the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application relates to the field of optical fiber communication technology, and in particular to a method for processing computing tasks and an optical gateway device. Background Technology

[0003] With the continuous development of optical network technology, optical network terminal equipment is undergoing significant upgrades. These equipment not only handle data transmission but are increasingly integrating smart home and other smart service functionalities, providing users with a diverse range of intelligent service experiences. However, as smart services become more sophisticated and complex, the demand for computing power in optical network terminal equipment is also increasing dramatically. Advanced smart services, such as image recognition and data analysis, often require enormous computing power. To meet these high computing demands, the hardware cost of optical network terminal equipment needs to continuously increase. Summary of the Invention

[0004] This application provides a method for processing computing tasks and an optical gateway device, which improves the computing power and intelligence of the optical gateway device.

[0005] To achieve the above objectives, the embodiments of this application adopt the following technical solutions:

[0006] In a first aspect, embodiments of this application provide a method for processing computing tasks, applied to an optical network. The optical network includes an optical gateway device, an optical line terminal (OLT) communicatively connected to the optical gateway device, and a computing device communicatively connected to the OLT. Intelligent services and computing units for implementing the intelligent services are respectively deployed on the optical gateway device, the OLT, and the computing device. The intelligent services are used to execute computing tasks. This method is executed by the optical gateway device.

[0007] The method specifically includes: the optical gateway device acquiring a user instruction and determining the target computing task to be executed as instructed by the user instruction; and acquiring the execution result of the target computing task. The execution result is obtained by the intelligent service on the optical gateway device, optical line terminal, or computing device executing the target computing task.

[0008] As can be seen from the above embodiments, by combining the intelligent services of the end-side optical gateway device, the edge-side optical line terminal, and the cloud-side computing device, the execution result of the target computing task is obtained. This fully utilizes the computing resources in the optical network, enhancing the computing power of the optical gateway device through the computing power of the optical line terminal and the computing device. This enables the optical gateway device to handle more complex and advanced intelligent service requests, improving its intelligence level. Since the optical gateway device does not need to be equipped with corresponding hardware resources for all possible computing tasks, its hardware costs can be effectively controlled. While ensuring the supply of diverse intelligent services, this effectively reduces the hardware costs required for the end-side optical gateway device, bringing users a more economical, efficient, and intelligent network experience.

[0009] In one possible implementation, obtaining the execution result of the target computing task includes: if the optical gateway device does not deploy a target intelligent service capable of executing the target computing task, then sending a task request to the optical line terminal, the task request being used to request the optical line terminal to execute the target computing task; the optical line terminal is used to execute the target computing task using the target intelligent service if the target intelligent service is deployed, and to request the computing device to execute the target computing task if the target intelligent service is not deployed; and receiving the execution result of the target computing task returned by the optical line terminal, the execution result being obtained by the optical line terminal or the computing device.

[0010] In this implementation, firstly, since the optical gateway device does not need to be equipped with corresponding hardware resources for all possible computing tasks, its hardware costs can be effectively controlled. By utilizing other computing resources in the network to supplement the capabilities of the optical gateway device, cost-effectiveness is maximized. Secondly, by deploying computing resources at different levels of the optical network (end-side, edge-side, and cloud-side) and dynamically allocating these resources according to the needs of the computing tasks, the overall utilization rate of computing resources is significantly improved. In particular, tasks that can be handled at the end-side (e.g., optical gateway device) or edge-side (e.g., optical line terminal) do not require data transmission to the cloud for processing, thereby reducing network latency and bandwidth consumption.

[0011] In one possible implementation, obtaining the execution result of the target computing task includes: if a target intelligent service is deployed on the optical gateway device, then the target intelligent service is used to execute the target computing task and obtain the execution result.

[0012] In this implementation, since the computing task is executed directly on the optical gateway device without needing to be transmitted over the network to other devices, the response time and latency for the computing task can be significantly reduced. This is particularly important for computing tasks that require immediate feedback (such as voice interaction and real-time control). Furthermore, executing the computing task directly on the end-side optical gateway device avoids the transmission of the data required for the computing task through the optical network, thereby alleviating the pressure on network bandwidth.

[0013] In one possible implementation, obtaining the execution result of the target computing task includes: determining the target device that has deployed the target intelligent service capable of executing the target computing task, based on the computing power required by the target computing task and the intelligent services deployed on the optical gateway device, optical line terminal, and computing device; if the target device is an optical line terminal or a computing device, sending a task request to the target device, the task request being used to request the target device to execute the target computing task; and receiving the execution result returned by the target device.

[0014] In this implementation, the computing power required by the target computing task is matched with the intelligent service capabilities provided by the optical gateway device, optical line terminal and computing device. The target computing task is then assigned to the device with sufficient computing power and corresponding intelligent services, so that the target computing task is assigned to the most suitable device for execution. This ensures that the target computing task is completed efficiently while avoiding the waste of computing resources.

[0015] In one possible implementation, the user instruction includes a voice instruction; determining the target computational task to be performed as instructed by the user instruction includes: determining the target computational task based on the semantics of natural language keywords contained in the voice instruction; wherein the task request contains natural language keywords.

[0016] In this implementation, users can interact with the device via voice without manual input or operation, greatly enhancing the convenience of intelligent services for the user experience. Simultaneously, semantic analysis technology based on natural language processing enables a more accurate understanding of user intent and needs, thereby more precisely determining the target computational task, reducing errors caused by misidentification, and improving the accuracy of intelligent services provided by the optical gateway device.

[0017] In one possible implementation, the computing unit includes one or more of the following: NPU, CPU, and GPU.

[0018] In this implementation, the NPU offers advantages such as high efficiency, low power consumption, and scalability. When handling computational tasks like deep learning and speech recognition, the NPU can significantly improve computational efficiency and reduce latency. GPUs excel at large-scale parallel processing, particularly in scientific computing and deep learning, capable of processing massive amounts of data in a short time and improving overall computational performance. Optical gateway devices can combine the different characteristics of NPUs, CPUs, and GPUs, flexibly allocating computing resources according to the needs of the computational task. For example, for computational tasks requiring high-speed parallel processing, the optical gateway device can utilize the GPU to a limited extent; for intelligent computing tasks such as deep learning, the efficiency of the NPU can be leveraged; and the CPU can be used for overall task scheduling. The optical gateway device combines multiple computing units, enabling it to reduce overall power consumption while ensuring computational performance through optimized resource allocation and task scheduling.

[0019] Secondly, a method for processing computing tasks is provided, applied to an optical network. The optical network includes an optical gateway device, an optical line terminal (OLT) communicatively connected to the optical gateway device, and a computing device communicatively connected to the OLT. Intelligent services and computing units for implementing the intelligent services are deployed on the optical gateway device, the OLT, and the computing device, respectively. The intelligent services are used to execute computing tasks. The method is executed by the OLT and includes: receiving a task request sent by the optical gateway device, the task request being used to request the execution of a target computing task; obtaining the execution result of the target computing task, the execution result being obtained by the target computing task of the intelligent service on the OLT or the computing device; and returning the execution result to the optical gateway device.

[0020] In this embodiment, the optical line terminal (OLT), as a key node in the optical network, possesses its own computing resources. Upon receiving a task request from the optical gateway device, it allocates the target computing task to a suitable device, such as itself or a computing device, based on the computing power required. This task allocation method ensures the effective utilization of the OLT and avoids the waste of computing resources.

[0021] In one possible implementation, obtaining the execution result of the target computing task includes: if no target intelligent service capable of executing the target computing task is deployed on the optical line terminal, then sending a task request to the computing device; and receiving the execution result returned by the computing device.

[0022] In this implementation, when the optical line terminal (OLT) is unable to execute the target computational task, it can utilize computing devices with greater computing power within the optical network to perform computational tasks it cannot directly handle. This significantly expands the OLT's task execution capabilities, enabling it to cope with more complex and diverse computational needs. This task processing method meets user requirements while reducing the hardware cost of the OLT. For users, they don't need to worry about which device the computational task is executed on, as long as the task is processed promptly and results are returned, thus enhancing user satisfaction.

[0023] In one possible implementation, obtaining the execution result of the target computing task includes: if the optical line terminal is equipped with a target intelligent service, then the target intelligent service is used to execute the target computing task and obtain the execution result.

[0024] In this implementation, since the target intelligent service capable of executing the target computing task is directly deployed on the optical line terminal, the target computing task can be executed directly through the edge optical line terminal without sending the request for the target computing task to the cloud computing device. This reduces network data transmission, ensures that the task can be responded to in a timely manner, and also reduces network load.

[0025] In one possible implementation, the task request includes natural language keywords, and the method further includes: the optical line terminal determining the target computing task based on the semantics of the natural language keywords.

[0026] In this implementation, considering the relatively limited computing power of optical gateway devices, they may not be able to perform sufficient semantic analysis on natural language keywords, leading to errors in identifying target computation tasks. Such errors may cause optical line terminals or computing devices to execute computation tasks that contradict the user's actual needs, thus affecting the user experience. Since the computing power of optical line terminals is often greater than that of optical gateway devices, instead of the optical gateway device directly uploading its identified computation tasks to the optical line terminal, in this embodiment, the optical line terminal independently determines the target computation task and utilizes its own computing power advantage to perform deeper and more complex semantic analysis, thereby more accurately understanding the user's intent and responding to the user's needs.

[0027] Thirdly, an optical gateway device is provided, including a processor, a memory, and a computing unit; the processor is connected to the memory, the memory is used to store computer execution instructions, and the processor executes the computer execution instructions stored in the memory to enable the optical gateway device to implement any of the methods provided in the first aspect; the computing unit is used to implement intelligent services deployed on the optical gateway device.

[0028] Fourthly, an optical line terminal is provided, including a processor, a memory, and a computing unit. The processor is connected to the memory, which stores computer-executable instructions. The processor executes the computer-executable instructions stored in the memory to enable the optical gateway device to implement any of the methods provided in the second aspect. The computing unit is used to implement intelligent services deployed on the optical line terminal.

[0029] Fifthly, an optical communication system is provided, comprising: an optical gateway device as described in the second aspect, an optical line terminal as described in the third aspect and connected to the optical gateway device, and a computing device communicatively connected to the optical line terminal.

[0030] In a sixth aspect, a chip is provided, comprising: a processor and an interface circuit; the interface circuit for receiving code instructions and transmitting them to the processor; and the processor for executing the code instructions to perform any one of the methods provided in the first, second, or third aspect above.

[0031] In a seventh aspect, a computer-readable storage medium is provided, storing computer-executable instructions that, when executed on a computer, cause the computer to perform any of the methods provided in the first, second, or third aspect above.

[0032] Eighthly, a computer program product is provided, including computer execution instructions that, when executed on a computer, cause the computer to perform any one of the methods provided in the first, second, or third aspects described above.

[0033] The technical effects of any of the implementation methods in aspects three through eight can be found in the technical effects of different implementation methods in aspects one or two, and will not be repeated here. Attached Figure Description

[0034] Figure 1 is a schematic diagram of an application scenario of a computing task processing method provided in an embodiment of this application;

[0035] Figure 2 is a system architecture diagram of an optical communication system provided in an embodiment of this application;

[0036] Figure 3 is a flowchart of a computing task processing method provided in an embodiment of this application;

[0037] Figure 4 is a schematic diagram of a scenario for implementing target intelligent services based on an optical gateway device according to an embodiment of this application;

[0038] Figure 5 is an information interaction diagram of a computing task processing method provided in an embodiment of this application;

[0039] Figure 6 is an information interaction diagram of another computing task processing method provided in an embodiment of this application;

[0040] Figure 7 is a schematic diagram of a scenario for implementing target intelligent services based on an optical line terminal according to an embodiment of this application;

[0041] Figure 8 is a flowchart of obtaining the execution result of a target computing task according to an embodiment of this application;

[0042] Figure 9 is a structural schematic diagram of an optical gateway device provided in an embodiment of this application;

[0043] Figure 10 is a schematic diagram of the structure of an optical line terminal provided in an embodiment of this application. Detailed Implementation

[0044] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.

[0045] In the description of this application, unless otherwise stated, " / " indicates that the objects before and after are in an "or" relationship. For example, A / B can mean A or B. "And / or" in this application is merely a description of the relationship between the related objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist simultaneously, and B exists alone. A and B can be singular or plural.

[0046] Furthermore, in the description of this application, unless otherwise stated, "multiple" means two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of a single item or a plurality of items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0047] Furthermore, to facilitate a clear description of the technical solutions in the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish identical or similar items with substantially the same function and effect. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and that "first" and "second" are not necessarily different. Meanwhile, in the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is being used as an example, illustration, or description. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of terms such as "exemplary" or "for example" is intended to present related concepts in a concrete manner for ease of understanding.

[0048] The following describes the terminology used in the embodiments of this application.

[0049] An all-optical network (AON) refers to a network where signals exist in optical form throughout the transmission and exchange process, with electrical-to-optical and optical-to-electrical conversions occurring only when entering or leaving the network. This network structure significantly reduces latency and energy consumption caused by signal conversion, improving data transmission speed and efficiency to meet the ever-increasing demands for data communication. In the embodiments of this application, the optical network is an all-optical network.

[0050] Fiber to the Room (FTTR) is a fiber optic access technology and an application of all-optical networks within homes or buildings. FTTR extends the fiber optic network directly to every room in a home, leveraging the data transmission characteristics of fiber optics to achieve high-speed, stable network coverage throughout the entire house. In this embodiment, the optical line terminal (OLT) and optical gateway device are key components of the FTTR network architecture. The OLT is responsible for transmitting optical signals from the external wide area network (WAN) through fiber optics to the optical gateway device located inside the user's home, and receiving uplink signals from the optical gateway device, thereby meeting the network requirements of access devices in the home fiber optic network. The optical gateway device is responsible for transmitting the optical signals output from the OLT through fiber optics into the user's home, and converting the optical signals into electrical signals for communication with access devices (such as computers and mobile phones) in the home fiber optic network.

[0051] Smart services refer to services that can automatically identify and meet user needs. Smart services include, but are not limited to, smart home control, smart voice assistants, network fault location, and smart security. Smart home control allows users to control smart devices in their homes, such as lights, air conditioners, curtains, and televisions, via voice commands, enabling intelligent management of the home environment. For example, a user can simply say, "Turn on the living room lights," and the smart lighting system will automatically adjust the living room lights to a suitable brightness. Smart voice assistants can interact with users using natural language, understand user needs, and provide corresponding assistance, such as checking the weather, playing music, recommending healthy recipes, and setting reminders. For example, a user can say, "What's the weather like today?" and the smart voice assistant will immediately check and announce the day's weather. Network fault location refers to quickly and accurately determining the specific location and cause of a fault in the home's fiber optic network. Smart security uses cameras, sensors, and other devices to monitor the home's security in real time and promptly notify the user or take appropriate measures when abnormal situations occur. For example, when the smart security system detects unauthorized intrusion, it will automatically activate the alarm system and send an alert to the user.

[0052] Computing power refers to a device's ability to process information. In this embodiment, computing power refers to the ability of the computing unit within the device to process information. Computing power can be measured by the number of floating-point operations per second (FLOPS) that the computing unit can perform. Higher computing power indicates a stronger ability to process information. Specifically, a device with high computing power can complete more computational tasks in a shorter time, process more complex datasets, execute higher-level algorithms, and support higher-level intelligent services. This means that, within the same timeframe, a device with high computing power can execute more computational tasks or complete the same computational task in a shorter time.

[0053] First, the application scenarios of the embodiments of this application will be introduced by way of example.

[0054] With the rapid development of optical network technology, optical gateway devices are constantly being upgraded to meet the growing needs of users. Optical gateway devices not only serve as key equipment in home fiber optic networks, connecting fiber optic cables to the home for whole-house coverage, but also provide diverse intelligent services, such as smart home integration, bringing users a rich and varied intelligent experience. However, the increasing sophistication and complexity of intelligent services significantly increases the demand for computing resources in optical gateway devices, especially for computationally intensive tasks such as image recognition and data analysis, which place higher demands on the computing power of these devices. To meet the diverse needs of intelligent services, it is inevitable to increase hardware investment in optical gateway devices, which greatly increases their hardware costs.

[0055] In view of this, embodiments of this application provide a method for processing computing tasks, applied to an optical network. The optical network includes optical gateway devices (such as optical network units (ONUs), optical network terminals (ONTs), FTTR devices, etc.), optical line terminals connected to the optical gateway devices, and computing devices connected to the optical line terminals. Intelligent services and computing units for implementing each intelligent service are deployed on the optical gateway devices, optical line terminals, and computing devices, respectively. The intelligent services are used to execute computing tasks. Figure 1 is a schematic diagram of an application scenario for a computing task processing method. As shown in Figure 1, the optical gateway device is located inside a home fiber optic network, serving as an end-side device in the home fiber optic network (also referred to as an end-side device in an all-optical network), connecting optical fibers to the user's home. The user's access devices (such as mobile phones, laptops, etc.) connect to the home fiber optic network through the optical gateway device. The optical line terminal, serving as a side-side device in the home fiber optic network (also referred to as a side-side device in an all-optical network), enables the connection between the home fiber optic network and an external wide area network. Compared to end-side devices and edge-side devices, computing devices, as cloud-side devices in all-optical networks, are located in the wide area network outside the home fiber optic network and are the furthest away from the access devices in the home fiber optic network.

[0056] In some embodiments, the processing method for the computing task is executed by an optical gateway device, specifically including: first, the optical gateway device obtains a user instruction and determines the target computing task to be executed as instructed by the user instruction; then, the optical gateway device obtains the execution result of the target computing task. The execution result is obtained by an intelligent service on the optical gateway device, optical line terminal, or computing device executing the target computing task.

[0057] The computing task processing method provided in this application combines intelligent services from end-side optical gateway devices, edge-side optical line terminals, and cloud-side computing devices to obtain the execution result of the target computing task. It fully utilizes the computing resources of each device in the optical network, enhancing the computing power of the optical gateway device through the computing power of the optical line terminal and the computing devices, enabling the optical gateway device to handle more complex and advanced intelligent service requests and improving its intelligence level. Since the optical gateway device does not need to be equipped with corresponding hardware resources for all possible computing tasks, its hardware costs can be effectively controlled. While ensuring the supply of diverse intelligent services, it effectively reduces the hardware costs required for end-side optical gateway devices, bringing users a more economical, efficient, and intelligent network experience.

[0058] The system architecture of the embodiments of this application will be described below by way of example.

[0059] This application provides an optical communication system. Figure 2 is a system architecture diagram of an optical communication system provided in this application. The optical communication system includes an end-side optical gateway device, an edge-side optical line terminal connected to the optical gateway device, and a computing device communicatively connected to the cloud-side optical line terminal.

[0060] In some embodiments, the optical gateway device may be an ONU device, an ONT device, an FTTR device, etc., without specific limitations.

[0061] In some embodiments, the optical gateway device first obtains a user instruction, determines the target computing task to be executed as instructed by the user instruction, and then obtains the execution result of the target computing task.

[0062] The result of the target computation task is obtained by the intelligent service on the optical gateway device, optical line terminal or computing device.

[0063] In some embodiments, the optical gateway device includes a processor, a memory, and a computing unit.

[0064] The processor is connected to the memory, which stores computer execution instructions. The processor executes these instructions to perform the aforementioned computational tasks. The computing unit of the optical gateway device is used to implement intelligent services deployed on the gateway device (such as smart home control, intelligent voice assistant, gateway fault location, etc.). These intelligent services are used to perform computational tasks.

[0065] The computing unit in the optical gateway device can be one or more of the following: neural processing unit (NPU), central processing unit (CPU), and graphics processing unit (GPU).

[0066] For example, an NPU is a new type of processor designed specifically for deep learning and neural network operations. It focuses on handling complex neural network computing tasks and can significantly improve the efficiency and speed of such computing, making it an important hardware support for the fields of artificial intelligence and machine learning.

[0067] For example, a CPU includes key components such as an arithmetic and logical unit (ALU), registers, and a control unit, and is capable of performing various arithmetic and logical operations.

[0068] For example, a GPU is a processor specifically designed for graphics rendering and computation. GPUs have a large number of parallel processing units, enabling them to process large amounts of graphics data simultaneously, thereby significantly improving the speed and quality of graphics rendering.

[0069] In this way, optical gateway devices can combine the different characteristics of NPUs, CPUs, and GPUs to flexibly allocate computing resources according to the needs of computing tasks. For example, for computing tasks requiring high-speed parallel processing, optical gateway devices can make limited use of GPUs; for intelligent computing tasks such as deep learning, the efficiency of NPUs can be utilized; and the CPU can be used for overall task scheduling. Optical gateway devices combine multiple computing units, which can reduce overall power consumption while ensuring computing performance through optimized resource allocation and task scheduling.

[0070] Optionally, user commands may include voice commands. The optical gateway device includes a microphone for receiving user voice commands. The optical gateway device receives user voice commands via the microphone, parses the voice commands using a processor to understand the user's intent, determines the target computational task, and then the computing unit executes the target computational task.

[0071] For example, voice commands could be "Wake me up at 7 a.m. tomorrow" or "Play music," etc.

[0072] Optionally, user instructions may include text instructions. The optical gateway device includes an input device (such as a keyboard) for receiving user text instructions. The optical gateway device obtains the user's text instructions (such as "check the weather") through the input device, parses the text instructions using the processor, determines the target computation task, and finally executes the target computation task by the computing unit.

[0073] Optionally, user instructions include gesture instructions. Users can instruct on corresponding computational tasks through preset gestures (such as drawing circles in the air) or facial expressions (such as opening their mouths, blinking, etc.). The optical gateway device includes a camera for receiving video or image feeds from the user and sending them to the processor within the optical gateway device. The processor of the optical gateway device parses the gesture instructions based on the video or image feeds, determines the target computational task, and finally, the computing unit executes the target computational task.

[0074] Optionally, the optical gateway device may also include a display device. Users can input commands into the optical gateway device by sliding or pressing buttons on the display device; no specific limitations are imposed. Furthermore, when the execution result includes video data, the display device can also be used to display the result to the user. For example, when a user issues a computational task to the system to "play video," the system plays the video to the user through the display device in the optical gateway device.

[0075] Optionally, the optical gateway device includes a speaker for providing voice feedback to the user regarding the execution result. For example, when a user gives the task of "playing music," the system provides audio feedback to the user via the speaker.

[0076] In some embodiments, the optical line terminal includes a processor, a memory, and a computing unit.

[0077] The processor is connected to the memory, which stores computer execution instructions. The processor executes these instructions to perform the aforementioned computational tasks. The computing unit of the optical line terminal (OLT) is used to implement the intelligent services deployed on the OLT. These intelligent services are used to perform computational tasks.

[0078] Similarly, the computing unit in the optical line terminal is similar to the computing unit in the optical gateway device, and will not be described in detail here.

[0079] In some embodiments, the computing device may include a server, etc. The server may be a single physical server, or two or more physical servers that share different responsibilities and cooperate to achieve the various functions of the server.

[0080] For example, the server can be a blade server, a high-density server, a rack server, or a tower server, etc.

[0081] It should be noted that the embodiments of this application do not limit the device form of the computing device. In the following embodiments, the computing device is taken as a server as an example to illustrate the system architecture of the optical communication system provided in the embodiments of this application.

[0082] It should be noted that the system architecture and application scenarios described in the embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. As those skilled in the art will know, with the evolution of system architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.

[0083] The following embodiments of this application will be divided into two parts to exemplarily describe the scheme of processing methods for computing tasks.

[0084] The first part, in conjunction with Figures 3 to 7, introduces the processing method for computing tasks provided in the embodiments of this application, aiming to introduce the specific working process of each device in an optical network communication system successively matching the target computing task and obtaining the execution result.

[0085] The second part, in conjunction with Figure 8, introduces the processing method of the computing task provided in the embodiments of this application, which aims to introduce the implementation method of determining the target device by the optical gateway device and obtaining the execution result by the target device.

[0086] In some embodiments, within an optical communication system, intelligent services are deployed on optical gateway devices, optical line terminals, and computing devices, leveraging their computing resources. The target computational task is executed by the computing unit within the optical gateway device, optical line terminal, or computing device to obtain the execution result. Considering the increasing computing power of the optical gateway device (typically 1-10T floating-point operations per second), the optical line terminal (typically 10-100T floating-point operations per second), and the computing device (typically over 100T floating-point operations per second), in the optical network communication system, the target computational task is matched device by device in the order of optical gateway device, optical line terminal, and computing device until a device capable of executing the target intelligent service is found, thus obtaining the execution result of the target computational task. By matching computing resources step by step, it can be ensured that computational tasks with low computing power requirements do not occupy high-computing-power devices, thereby achieving optimal allocation of computing resources. Meanwhile, by starting the matching process from the optical gateway device, it can be ensured that, where possible, the device closer to the user is used to handle computing tasks, reducing data transmission latency and bandwidth consumption, and improving response speed. When the optical gateway device or optical line terminal cannot handle complex computing tasks, the process is then gradually moved up to a device with stronger computing power, effectively achieving load balancing of computing resources and avoiding overload of a single device. Through the embodiments of this application, while providing diversified intelligent services, the computing resources of devices in the all-optical network are fully utilized, reducing the hardware requirements of the optical gateway device and effectively lowering its hardware cost. In addition, through the collaborative work of multiple devices, redundant processing of computing tasks can be achieved. When one device fails, the computing task can be quickly transferred to other devices in the optical network communication system, ensuring system reliability.

[0087] Figure 3 is a flowchart illustrating a method for processing a computing task according to an exemplary embodiment. Exemplarily, the method is executed by an optical gateway device in an optical network communication system, including the following steps S301-S302.

[0088] S301: The optical gateway device obtains user instructions and determines the target computing task to be executed as instructed by the user instructions.

[0089] In one possible implementation, user commands include voice commands. Voice commands refer to the user sending a target computing task to the optical gateway device by inputting a voice signal. For example, in a smart home scenario, the user says "turn on the living room lights" to the optical gateway device, which then performs voice recognition and obtains the target computing task.

[0090] Optionally, the optical gateway device determines the target computing task based on the semantics of natural language keywords contained in the voice command.

[0091] For example, optical gateway devices use natural language processing technology to analyze voice commands, obtain natural language keywords, and determine the target computing task based on the semantics of the natural language keywords.

[0092] In one possible implementation, user instructions include text instructions. Text instructions refer to commands entered by the user via a keyboard, touchscreen, or other input device, in the form of combinations of characters such as letters, numbers, and symbols. These instructions can be simple command words, complex query statements, program code snippets, etc.

[0093] In one possible implementation, user commands include gesture commands. Gesture commands typically consist of a series of predefined hand movements or postures, which are recognized by the optical gateway device and mapped to corresponding computing tasks. Users can issue commands by changing the position, direction, speed, or shape of their fingers, as well as by opening and closing their palms, swinging their arms, etc. The optical gateway device can capture these gestures using hardware devices such as cameras and sensors in the display screen, and analyze them using image recognition, machine learning, and other technologies to determine the target computing task.

[0094] In one possible implementation, the computational tasks include, but are not limited to, smart home control, optical network fault location and maintenance, and intelligent voice assistants. Taking optical network fault location as an example, it refers to the process by which an optical network communication system quickly and accurately locates and determines the cause of a fault when one occurs in a home fiber optic network. For instance, the optical network communication system can utilize big data and machine learning algorithms to analyze historical fault data and real-time network status, quickly pinpointing the fault and providing repair suggestions. Furthermore, the computational tasks can also optimize the optical network performance, adjusting network configurations based on actual network operation, optimizing bandwidth utilization and latency, and improving network performance.

[0095] S302: The optical gateway device obtains the execution result of the target computing task.

[0096] The execution result is obtained by the intelligent service on the optical gateway device, optical line terminal or computing device to perform the target computing task.

[0097] In this embodiment of the application, considering that the computing power of optical gateway devices, optical line terminals, and computing devices gradually increases, in this embodiment of the application, the target computing task is matched with the intelligent service deployed by each device in the order of optical gateway device, optical line terminal, and computing device, until a target intelligent service matching the target computing task is found. The device with the target intelligent service is then used to execute the target computing task and obtain the execution result of the target computing task.

[0098] In the embodiments of this application, obtaining the execution result of the target computing task includes multiple implementation scenarios, which are illustrated below through scenarios 1 to 3.

[0099] Scenario 1: The execution result of the target computation task is obtained by the optical gateway device.

[0100] In Scenario 1, if a target intelligence service capable of performing target computing tasks is deployed on the optical gateway device, the optical gateway device uses the target intelligence service to perform the target computing tasks and obtain the execution results.

[0101] For example, when a user issues the command "turn on the living room lights," the optical gateway device can control the living room lights to turn on through the smart home system. In this case, the result is that the living room lights are on.

[0102] Figure 4 is a schematic diagram of a scenario for implementing a target intelligent service based on an optical gateway device. In Figure 4, the process by which the optical gateway device obtains the execution result of the target computing task includes: First, acquiring the user's voice command (such as "turn on the living room lights") through the built-in microphone; then, the built-in processor determines the target computing task based on natural language keywords in the voice command; next, if the optical gateway device is equipped with a target intelligent service capable of executing the target computing task, the built-in computing unit executes the target computing task and obtains the execution result; finally, the execution result is displayed to the user through built-in speakers, a display, etc.

[0103] In this way, since the computing task is executed directly on the optical gateway device without needing to be transmitted over the network to other devices, the response time and latency for that computing task can be significantly reduced. This is especially important for computing tasks that require immediate feedback (such as voice interaction, real-time control, etc.). Furthermore, executing the computing task directly on the end-side optical gateway device avoids the transmission of the data required for the computing task through the optical network, thereby reducing the pressure on network bandwidth.

[0104] Scenario 2: The execution result of the target computation task is obtained by the optical line terminal.

[0105] In scenario 2, if the optical gateway device does not deploy the target intelligent service, but the optical line terminal deploys the target intelligent service capable of performing the target computing task, the optical line terminal uses the target intelligent service to perform the target computing task and obtain the execution result.

[0106] Figure 5 is an information interaction diagram illustrating a method for processing a computing task according to an exemplary embodiment. Exemplarily, the method includes the following steps S501-S504.

[0107] S501: The optical gateway device obtains user instructions and determines the target computing task to be executed as instructed by the user instructions.

[0108] The implementation method of S501 is the same as that of S301, and will not be described in detail here.

[0109] S502: If the optical gateway device does not have a target intelligence service that can perform the target computing task deployed, the optical gateway device sends a task request to the optical line terminal.

[0110] The task request is used to request the optical line terminal to execute the target computing task.

[0111] In one possible implementation, the task request includes natural language keywords, and the optical line terminal determines the target computing task based on the semantics of the natural language keywords.

[0112] For example, the optical line terminal determines the target computing task in the following way:

[0113] First, the optical line terminal obtains text information from natural language keywords based on a pre-built speech-to-text model.

[0114] Then, the optical line terminal inputs the text information into a pre-built semantic understanding model to obtain the semantics of natural language keywords, thereby determining the target computing task.

[0115] Compared to the optical gateway device's semantic determination of the target computation task based on natural language keywords, in this embodiment, since the optical line terminal has a greater computing power than the optical gateway device, the optical line terminal can run more complex natural language processing algorithms and models, and analyze the semantic information in the user's instructions more deeply. Therefore, by using the optical line terminal to redetermine the target computation task, misunderstandings of the target computation task caused by insufficient computing power of the optical gateway device can be reduced, and the accuracy of task execution can be improved.

[0116] In one possible implementation, the task request includes user instructions. The optical line terminal redetermines natural language keywords based on the user instructions, and then redetermines the target computation task based on the redetermined natural language keywords to further improve the accuracy of parsing the target computation task.

[0117] For example, when the user command is a voice command, the optical line terminal first preprocesses the voice command (such as noise reduction, echo cancellation, automatic gain control, etc.) and identifies natural language keywords; then it obtains the semantics in the natural language keywords through a pre-built semantic understanding model, thereby determining and executing the target computing task and obtaining the execution result.

[0118] In one possible implementation, the task request includes a target computing task. The optical line terminal directly determines whether it has deployed the target intelligent service corresponding to the target computing task based on the target computing task determined by the optical gateway device. This helps to save the response time of the optical line terminal.

[0119] S503: If the optical line terminal is equipped with a target intelligent service, then the target intelligent service is used to perform the target computing task and obtain the execution result.

[0120] For example, when a user issues the command "network fault diagnosis", the optical line terminal responds to the command by checking the network link status of the all-optical network and locating network faults based on performance indicators such as network traffic data, latency, and packet loss rate, and uses the network fault diagnosis results as the execution result.

[0121] S504: The optical line terminal returns the execution result to the optical gateway device.

[0122] Taking the network fault diagnosis in S503 as an example, the optical line terminal returns the execution result to the optical gateway device in the form of voice or voice + text through a pre-built text-to-speech model. The optical gateway device then feeds back the execution result to the user through its built-in speaker, display, etc.

[0123] In Scenario 2, considering that optical line terminals usually have higher computing power than optical gateway devices, when the gateway device itself cannot handle complex computing tasks, it can automatically forward task requests to the more powerful optical line terminal, thereby ensuring that user instructions are processed in a timely and effective manner without increasing the hardware cost of the optical gateway device, thus improving the user experience and satisfaction.

[0124] Scenario 3: The execution result of the target computing task is obtained by the computing device.

[0125] In scenario 3, if neither the optical gateway device nor the optical line terminal has deployed the target intelligent service, the computing device uses the target intelligent service to execute the target computing task and obtain the execution result.

[0126] Figure 6 is an information interaction diagram illustrating another method for processing a computing task according to an exemplary embodiment. Exemplarily, the method includes the following steps S601-S606.

[0127] S601: The optical gateway device obtains user instructions and determines the target computing task to be executed as instructed by the user instructions.

[0128] The implementation method of S601 is the same as that of S301, and will not be described in detail here.

[0129] S602: If the optical gateway device does not have a target intelligence service that can perform the target computing task deployed, the optical gateway device sends a task request to the optical line terminal.

[0130] The task request is used to request the optical line terminal to execute the target computing task. The task request sent by the optical gateway device to the optical line terminal has been described in Scenario 2 and will not be repeated here.

[0131] S603: If the optical line terminal does not have a target intelligence service capable of performing the target computing task deployed on it, the optical line terminal sends a task request to the computing device.

[0132] S604: The computing device responds to the task request, executes the target computing task, and obtains the execution result.

[0133] In one possible implementation, the task request sent by the optical line terminal to the computing device is similar to the task request sent by the optical gateway device to the optical line terminal. The task request may include user instructions or natural language keywords, which will not be elaborated here.

[0134] In this way, since the computing power of the computing device is higher than that of the optical gateway device and the optical line terminal, compared with the optical gateway device and the optical line terminal, the computing device can more accurately parse and understand the user instructions by utilizing its powerful computing resources, which helps to reduce the occurrence of misunderstanding of tasks and improve the accuracy of task execution.

[0135] Of course, the task request sent from the optical line terminal to the computing device can also be a target computing task. In this way, the computing device can directly execute the target computing task sent from the optical line terminal, which can shorten the response time of the computing device.

[0136] For example, when a user issues the instruction "play ** video", the computing device parses the task request, identifies the user's intent, obtains the video based on the network location of "** video", and returns the video as the execution result to the optical line terminal.

[0137] S605: The computing device returns the execution result to the optical line terminal.

[0138] S606: The optical line terminal returns the execution result to the optical gateway device.

[0139] Figure 7 is a schematic diagram of a scenario for implementing a target intelligent service based on an optical line terminal (OLT). In Figure 7, the process by which the optical gateway device obtains the execution result of the target computing task specifically includes: First, the optical gateway device acquires the user's voice command (such as "turn on the living room lights") through its built-in microphone; then, the built-in processor determines the target computing task based on the natural language keywords in the voice command. If the optical gateway device does not have a target intelligent service deployed capable of executing the target computing task, the optical gateway device sends a task request containing the natural language keywords to the OLT; next, the OLT responds to the task request by determining the target computing task through its built-in processor (specifically including: inputting the natural language keywords into a pre-built...). The speech-to-text model is used to obtain the text information in the voice command, and the text information is input into a pre-built semantic understanding model to obtain the semantics of natural language keywords, thereby determining the target computing task. Finally, if the optical line terminal is equipped with a service capable of executing the target intelligent service, the computing unit of the optical line terminal is used to execute the target computing task. Alternatively, if the optical line terminal is not equipped with a service capable of executing the target intelligent service, a task request is sent to the computing device, which executes the target computing task, obtains the execution result, and returns the execution result to the optical gateway device. The built-in speaker, display, etc. of the optical gateway device then feeds back the execution result to the user.

[0140] In some embodiments, when a communication link between the optical gateway device and the optical line terminal (OLT), or between the OLT and the computing device, fails, the optical gateway device in the optical communication system can still provide intelligent services independent of the OLT or computing device, such as smart home control, based on its own computing power. Similarly, when the communication link between the optical gateway device and the OLT is normal, but the communication link between the OLT and the computing device fails, the optical communication system can still provide intelligent services independent of the computing device, based on the computing power of the optical gateway device and the OLT. In this way, by splitting intelligent services according to computing resources, even if some communication links in the optical communication system fail, some intelligent services can still be provided to users, improving the user experience.

[0141] In the first part of this application's embodiments, by combining the intelligent services of the optical gateway device, optical line terminal, and computing device, the target computing task is allocated to a suitable computing unit. Firstly, since the optical gateway device does not need to be equipped with corresponding hardware resources for all possible computing tasks, its hardware cost can be effectively controlled. By utilizing other computing resources in the network to supplement the capabilities of the optical gateway device, cost-effectiveness is maximized. Secondly, by deploying computing resources at different levels of the optical network (end-side, edge-side, and cloud-side) and dynamically calling upon each computing resource according to the needs of the computing task, the overall utilization rate of computing resources is significantly improved. In particular, tasks that can be handled at the end-side (e.g., optical gateway device) or edge-side (e.g., optical line terminal) do not require data transmission to the cloud side for processing, thereby reducing network latency and bandwidth consumption.

[0142] The above is the first part of the embodiments of this application. Below, with reference to FIG8, we will describe the implementation method in which the optical gateway device determines the target device and the target device obtains the execution result.

[0143] In some embodiments, in the first part of the above embodiments, during the process of matching target computing tasks device by device, it is necessary to frequently exchange information between devices, which may lead to an increase in network traffic. Therefore, in the second part of the embodiments of this application, the optical gateway device directly determines the target device for executing the target computing task based on the computing power required to execute the target computing task, reducing unnecessary communication overhead during the process of matching devices in sequence, and making the entire task execution process more efficient.

[0144] Figure 8 is a flowchart illustrating an embodiment of obtaining the execution result of a target computing task. The method is executed by an optical gateway device. Exemplarily, the method includes the following steps S801-S804.

[0145] S801: The optical gateway device obtains user instructions and determines the target computing task to be executed as instructed by the user instructions.

[0146] The implementation method of S801 is the same as that of S301, and will not be described in detail here.

[0147] S802: The optical gateway device determines the target device that has deployed the target intelligent service capable of executing the target computing task based on the computing power required for the target computing task and the intelligent services deployed on the optical gateway device, optical line terminal and computing device.

[0148] The computing power of the intelligent services deployed on the target device is sufficient to meet the computing power required for the target computing task.

[0149] In one possible implementation, when the optical gateway device, optical line terminal, and computing device are all deployed with the target intelligent service, the optical gateway device can select the target device according to the actual situation.

[0150] Optionally, the optical gateway device can select the device closest to the user's access device among the three as the target device. This reduces data exchange between devices, enabling the optical gateway device to respond quickly to user needs. Furthermore, reducing inter-device communication minimizes unnecessary network bandwidth usage and significantly lowers the risk of network congestion.

[0151] Optionally, the optical gateway device may select the device with the highest computing power among the three as the target device. This is because devices with higher computing power typically possess more advanced processors, larger memory, and faster storage systems. These hardware advantages enable the device to process complex data and algorithms more accurately, reducing computational errors and biases. Generally, among the optical gateway device, optical line terminal, and computing device, the computing device has the highest computing power. Therefore, when all three devices—optical gateway device, optical line terminal, and computing device—are deployed with target intelligent services, if the user has high requirements for the accuracy of the target computing task, the optical gateway device can select the computing device as the target device, allowing the computing device to execute the target computing task.

[0152] S803: When the target device is an optical line terminal or a computing device, the optical gateway device sends a task request to the target device. The task request is used to request the target device to execute the target computing task.

[0153] The task requests sent by the optical gateway device are similar to those in the first part above, and will not be described in detail here.

[0154] S804: The optical gateway device receives the execution result returned by the target device.

[0155] In other embodiments, when multiple devices are deployed with the target intelligent service, the optical gateway device can use other devices with the target intelligent service as new target devices if the target device fails, thereby ensuring that the target computing task is executed smoothly, improving the reliability of the optical communication system in executing computing tasks, and enhancing user satisfaction.

[0156] In the second part of this application embodiment, the computing power required by the target computing task is matched with the intelligent service capabilities provided by the optical gateway device, optical line terminal and computing device, and the target computing task is allocated to the device with sufficient computing power and corresponding intelligent services, so that the target computing task is allocated to the most suitable device for execution, ensuring that the target computing task is completed efficiently while avoiding the waste of computing resources.

[0157] This application also provides an optical gateway device 100. As shown in FIG9, the optical gateway device 100 includes: a bus 102, a processor 104, a memory 106, a computing unit 107, and a communication interface 108. The processor 104, memory 106, computing unit 107, and communication interface 108 communicate with each other via the bus 102. The optical gateway device 100 can be a server or a terminal device. It should be understood that this application does not limit the number of processors and memories in the optical gateway device 100.

[0158] Bus 102 can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, only one line is used in Figure 9, but this does not imply that there is only one bus or one type of bus. Bus 102 can include pathways for transmitting information between various components of the optical gateway device 100 (e.g., memory 106, processor 104, communication interface 108).

[0159] The processor 104 may include any one or more processors such as a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).

[0160] Memory 106 may include volatile memory, such as random access memory (RAM). Processor 104 may also include non-volatile memory, such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid state drive (SSD).

[0161] The memory 106 stores executable program code, and the processor 104 executes the executable program code to implement the aforementioned processing methods for performing computational tasks. That is, the memory 106 stores instructions for executing processing methods for computational tasks.

[0162] The computing unit 107 is used to implement intelligent services deployed on the optical gateway device 100.

[0163] The communication interface 108 uses transceiver modules such as, but not limited to, network interface cards and transceivers to enable communication between the optical gateway device 100 and other devices or communication networks.

[0164] This application also provides an optical line terminal 200. As shown in FIG10, the optical line terminal 200 includes: a bus 202, a processor 204, a memory 206, a computing unit 207, and a communication interface 208. The processor 204, memory 206, computing unit 207, and communication interface 208 communicate with each other via the bus 202. The optical line terminal 200 can be a server or a terminal device. It should be understood that this application does not limit the number of processors and memories in the optical line terminal 200.

[0165] Bus 202 can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, only one line is used in Figure 10, but this does not imply that there is only one bus or one type of bus. Bus 202 can include pathways for transmitting information between various components of the optical line terminal 200 (e.g., memory 206, processor 204, communication interface 208).

[0166] Processor 204 may include any one or more processors such as a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).

[0167] Memory 206 may include volatile memory, such as random access memory (RAM). Processor 204 may also include non-volatile memory, such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid state drive (SSD).

[0168] The memory 206 stores executable program code, and the processor 204 executes the executable program code to implement the aforementioned processing methods for performing the computational tasks. That is, the memory 206 stores instructions for executing the processing methods for performing the computational tasks.

[0169] The computing unit 207 is used to implement intelligent services deployed on the optical line terminal 200.

[0170] The communication interface 208 uses transceiver modules such as, but not limited to, network interface cards and transceivers to enable communication between the optical line terminal 200 and other devices or communication networks.

[0171] This application also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium that a computing device can store, or a data storage device such as a data center that includes one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive). The computer-readable storage medium includes instructions that instruct the computing device to perform a processing method for a computing task, or instruct the computing device to perform a processing method for a computing task.

[0172] This application also provides a chip. The chip integrates a control circuit for implementing the functions of the aforementioned computer device and one or more ports. Optionally, the functions supported by the chip can be referred to above, and will not be repeated here. Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium. The aforementioned storage medium can be a read-only memory, random access memory, etc. The aforementioned processing unit or processor can be a central processing unit, a general-purpose processor, an application-specific integrated circuit (ASIC), a microprocessor (digital signal processor, DSP), a field-programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof.

[0173] This application also provides a computer program product containing instructions. The computer program product may be software or program products containing instructions, capable of running on a computing device or stored on any usable medium. When the computer program product is run on at least one computing device, it causes the at least one computing device to perform a computing task.

[0174] It should be noted that the devices for storing computer instructions or computer programs provided in the embodiments of this application, such as but not limited to the memory, computer-readable storage medium and communication chip, are all non-transitory.

[0175] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented using software programs, implementation can be, in whole or in part, in the form of a computer program product. This computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the flow or function according to the embodiments of this application is generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions can be transmitted from one website, computer, server, or data center to another via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device containing one or more servers, data centers, etc., that can be integrated with the medium. The available media can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid-state disks, SSDs).

[0176] Although this application has been described herein in conjunction with various embodiments, those skilled in the art, by reviewing the accompanying drawings, the disclosure, and the appended claims, will understand and implement other variations of the disclosed embodiments in carrying out the claimed application. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude multiple instances. A single processor or other unit can implement several functions listed in the claims. While different dependent claims may recite certain measures, this does not mean that these measures cannot be combined to produce good results.

[0177] Although this application has been described in conjunction with specific features and embodiments, it is obvious that various modifications and combinations can be made thereto without departing from the spirit and scope of this application. Accordingly, this specification and drawings are merely exemplary illustrations of this application as defined by the appended claims, and are considered to cover any and all modifications, variations, combinations, or equivalents within the scope of this application. Clearly, those skilled in the art can make various alterations and modifications to this application without departing from the spirit and scope of this application. Thus, if such modifications and modifications of this application fall within the scope of the claims of this application and their equivalents, this application is also intended to include such modifications and modifications.

Claims

1. A method for processing computing tasks, applied to an optical network, the optical network comprising an optical gateway device, an optical line terminal communicatively connected to the optical gateway device, and a computing device communicatively connected to the optical line terminal, characterized in that, The optical gateway device, the optical line terminal, and the computing device are respectively deployed with intelligent services and computing units for implementing the intelligent services, and the intelligent services are used to perform computing tasks; The method is executed by an optical gateway device and includes: Obtain user instructions and determine the target computing task to be executed as instructed by the user instructions; The execution result of the target computing task is obtained, and the execution result is obtained by the optical gateway device, the optical line terminal or the intelligent service on the computing device executing the target computing task.

2. The processing method according to claim 1, characterized in that, Obtaining the execution result of the target computation task includes: If the optical gateway device does not deploy a target intelligent service capable of executing the target computing task, a task request is sent to the optical line terminal. The task request is used to request the optical line terminal to execute the target computing task. The optical line terminal is used to execute the target computing task using the target intelligent service when the target intelligent service is deployed, and to request the computing device to execute the target computing task when the target intelligent service is not deployed. The system receives the execution result of the target computing task returned by the optical line terminal, and the execution result is obtained by the optical line terminal or the computing device.

3. The processing method according to claim 2, characterized in that, Obtaining the execution result of the target computation task includes: If the target intelligent service is deployed on the optical gateway device, the target intelligent service is used to execute the target computing task and obtain the execution result.

4. The processing method according to claim 1, characterized in that, Obtaining the execution result of the target computation task includes: Based on the computing power required for the target computing task and the intelligent services deployed on the optical gateway device, the optical line terminal, and the computing device, a target device capable of executing the target computing task is determined. When the target device is the optical line terminal or the computing device, a task request is sent to the target device, the task request being used to request the target device to execute the target computing task; Receive the execution result returned by the target device.

5. The processing method according to claim 2 or 4, characterized in that, The user instructions include voice instructions; determining the target computational task to be executed according to the user instructions includes: The target computation task is determined based on the semantics of the natural language keywords contained in the voice command; The task request includes the natural language keywords.

6. The processing method according to any one of claims 1-5, characterized in that, The computing unit includes one or more of NPU, CPU, and GPU.

7. A method for processing a computing task, applied to an optical network, the optical network comprising an optical gateway device, an optical line terminal communicatively connected to the optical gateway device, and a computing device communicatively connected to the optical line terminal, characterized in that, The optical gateway device, the optical line terminal, and the computing device are respectively deployed with intelligent services and computing units for implementing the intelligent services, and the intelligent services are used to perform computing tasks; The method is executed by the optical line terminal and includes: Receive a task request sent by the optical gateway device, the task request being used to request the execution of a target computing task; The execution result of the target computing task is obtained, and the execution result is obtained by the intelligent service of the target computing task on the optical line terminal or the computing device; The execution result is returned to the optical gateway device.

8. The processing method according to claim 7, characterized in that, Obtaining the execution result of the target computation task includes: If the optical line terminal does not have a target intelligent service capable of performing the target computing task deployed, then the task request is sent to the computing device; Receive the execution result returned by the computing device.

9. The processing method according to claim 8, characterized in that, Obtaining the execution result of the target computation task includes: If the optical line terminal is equipped with a service capable of executing the target intelligent service, then the target intelligent service is used to execute the target computing task and obtain the execution result.

10. The processing method according to any one of claims 7-9, characterized in that, The task request includes natural language keywords, and the method further includes: The optical line terminal determines the target computing task based on the semantics of the natural language keywords.

11. An optical gateway device, characterized in that, Includes processor, memory, and computing units; The processor is connected to a memory, which stores computer execution instructions. The processor executes the computer execution instructions stored in the memory to enable the optical gateway device to implement the method as described in any one of claims 1-6. The computing unit is used to implement the intelligent services deployed on the optical gateway device.

12. An optical line terminal, characterized in that, Includes processor, memory, and computing units; The processor is connected to a memory for storing computer execution instructions. The processor executes the computer execution instructions stored in the memory to enable the optical gateway device to implement the method as described in any one of claims 7-10. The computing unit is used to implement the intelligent services deployed on the optical line terminal.

13. An optical communication system, characterized in that, It includes the optical gateway device as described in claim 11, the optical line terminal as described in claim 11 and connected to the optical gateway device, and a computing device communicatively connected to the optical line terminal.

14. A computer-readable storage medium, characterized in that, The device stores computer instructions that, when executed on a computing device, cause the computing device to perform the method as described in any one of claims 1 to 10.

Citation Information

Patent Citations

  • Computing power distribution method and device and edge network

    CN115292031A

  • Method, device and equipment for processing task by using computing power network, and medium

    CN116820757A

  • Calculation task processing method and related device

    CN118277046A

  • Computing power service method and apparatus, and terminal

    WO2023246757A1

  • Computing power task migration method and apparatus, and device

    WO2024037439A1