Communication method and communication apparatus
By receiving and sending capability information in the communication network, a connection is established between intelligent agents and devices, solving the connection problem between intelligent agents and devices and improving the intelligence and maintenance efficiency of the network.
Patent Information
- Application Number
- PCT/CN2025/089279
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-04-30
- Filing Date
- 2025-04-16
- Publication Date
- 2025-11-06
AI Technical Summary
How to establish connections between intelligent agents and devices in communication networks to improve network intelligence and maintenance efficiency.
By receiving and sending capability information, including AGI level, API level, and log level, a communication connection is established between the agent and the device, thereby improving the device's initiative and the agent's task planning and scheduling capabilities.
It enables effective connectivity between intelligent agents and devices, improving the intelligence level and maintenance efficiency of the network.
Smart Images

Figure CN2025089279_06112025_PF_FP_ABST
Abstract
Description
Communication method and communication apparatus
[0001] The present application claims priority to the Chinese patent application No. 202410545551.X, filed on April 30, 2024, and entitled "A communication method and communication apparatus", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD
[0002] The present application relates to the field of communication, in particular to a communication method and communication apparatus. BACKGROUND
[0003] The current field of computer sciences (CS) proposes that any entity that can independently think and interact with the environment can be abstracted as an agent. The basic characteristics of an agent are: it can react to changes in the environment and then automatically adjust its behavior and state, and different agents can interact with other agents according to their own intentions.
[0004] How to establish a connection between an agent and a device in a communication network becomes a problem to be solved. SUMMARY
[0005] The present application provides a communication method to establish a connection between an agent and a device in a communication network.
[0006] In the first aspect, the method can be executed by an agent. In the absence of special description, the "agent" in the present application can refer to the agent itself, a component (for example, a processor, a chip, or a chip system, etc.) in the agent, or a logic module or software that can realize all or part of the functions of the agent.
[0007] The method comprises: receiving capability information from a first device; and establishing a communication connection with the first device according to the capability information, wherein the capability information comprises at least one of the following information: indication information of an artificial general intelligence (AGI) level, indication information of an application programming interface (API) level, or indication information of a log level, the indication information of the AGI level is used to indicate the intelligent degree supported by the first device, the indication information of the API level is used to indicate the function opening degree supported by the first device, and the indication information of the log level is used to indicate the log opening degree of the first device.
[0008] Based on the technical solution, the first device can provide the capability information indicating itself to the agent, so that the agent can learn the capability of the first device, and determine the interaction mode between the first device and the agent. For example, the capability information includes the AGI level of the first device, indicating the intelligent degree of the first device; for another example, the capability information includes the API level of the first device, indicating the function opening degree supported by the first device; for yet another example, the capability information includes the log level of the first device, indicating the log opening degree of the first device. In this technical solution, the first device can establish a communication connection with the agent. The first device can be a device in a communication network, so as to support network access to the agent and improve the intelligent degree of the network. In addition, introducing the agent into the network can improve the efficiency of network maintenance and / or operation.
[0009] With reference to the first aspect, in some implementations of the first aspect, the higher the AGI level, the higher the intelligent degree of the first device; and / or, the higher the API level, the higher the function opening degree of the first device; and / or, the higher the log level, the higher the log opening degree of the first device.
[0010] With reference to the first aspect, in some implementations of the first aspect, before the receiving the capability information from the first device, the method further includes: sending a first request message to the first device, the first request message being used to request to establish a communication connection with the first device.
[0011] Based on the technical solution, the process of establishing a communication connection between the first device and the agent can be triggered by the agent. For example, the agent can request the first device to establish a communication connection through a first request message. Determining the process of establishing a communication connection between the agent and the device improves the initiative of the agent.
[0012] With reference to the first aspect, in some implementations of the first aspect, before the receiving the capability information from the first device, the method further includes: receiving a second request message from the first device, the second request message being used to request to establish a communication connection with the agent; and sending a query message to the first device in response to the second request message, the query message being used to query the capability information of the first device.
[0013] With reference to the first aspect, in some implementations of the first aspect, the receiving the capability information from the first device includes: receiving a third request message from the first device, the third request message being used to request to establish a communication connection with the agent, and the capability information being included in the third request message.
[0014] Based on the technical solution, the process of establishing a communication connection between the first device and the agent can be triggered by the first device, for example, the first device sends a request message (such as the second request message and / or the third request message described above) to the agent to request the establishment of a communication connection. The process of establishing a communication connection between the first device and the agent is determined by the first device, which improves the initiative of the first device.
[0015] In combination with the first aspect, in some implementations of the first aspect, the method further includes: receiving registration information from the first device, the registration information including an identifier of the first device and at least one of the following information: a version identifier of each of the at least one function, interface information of each of the at least one function, an identifier of each of the at least one function, source indication information of each of the at least one function, generation time information of each of the at least one function, a name of each of the at least one function, an annotation of each of the at least one function, or information of an associated function of each of the at least one function, wherein the at least one function is a function in the first device.
[0016] Based on the technical solution, after the first device and the agent establish a connection, the information of the at least one function saved locally can be registered in the agent, and the information of the at least one function can be used as knowledge (such as background knowledge, knowledge base, etc.) of the agent, so that the agent can perform subsequent task planning and scheduling based on the information of the at least one function.
[0017] In combination with the first aspect, in some implementations of the first aspect, when the API level is greater than a first threshold, the method further includes: sending a first message to the first device, the first message being used to indicate a first function required by the agent; and receiving information of the first function from the first device, wherein the information of the first function includes at least one of the following information: a version identifier of the first function, interface information of the first function, an identifier of the first function, source indication information of the first function, generation time information of the first function, a name of the first function, an annotation of the first function, or information of an associated function of the first function.
[0018] Based on the technical solution, when the API level of the first device is high (for example, the API level of the first device is greater than a first threshold, which can be predefined, determined by the first device, or negotiated between the first device and the agent, and the first threshold is not limited), the first device can report the information of the generated new function to the agent, and provide information required for task planning and scheduling of the agent in a timely manner.
[0019] With reference to the first aspect, in some implementations of the first aspect, the method further includes receiving a log from the first device, the log including a running log of the first device, and / or a log of the agent control.
[0020] Based on the above technical solution, the first device can further report the running log of the first device and / or the log of the agent control to the agent, to provide information required for task planning and scheduling of the agent.
[0021] With reference to the first aspect, in some implementations of the first aspect, the agent includes an artificial intelligence (AI) model, a tool management unit, and a data management unit, wherein the tool management unit includes tools called by the AI model, and the data management unit is configured to manage data related to running of the agent.
[0022] With reference to the first aspect, in some implementations of the first aspect, the information of the agent includes at least one of the following: an identifier of the agent, domain information corresponding to the agent, role information of the agent, information indicating whether the agent supports interaction with a human, tool library information of the agent, initial knowledge information of the agent, an identifier of an AI model included in the agent, or capability information of the AI model.
[0023] In a second aspect, a communication method is provided, which can be performed by a first device. In the absence of special description, the "first device" in the present application can refer to the first device itself (for example, an access network device, a terminal device, or a core network device, etc.), a component in the first device (for example, a processor, a chip, or a chip system, etc.), or a logic module or software capable of realizing all or part of the functions of the first device.
[0024] The method includes determining capability information of the first device, and sending the capability information of the first device to an agent, wherein the capability information includes at least one of the following: indication information of an artificial general intelligence (AGI) level, indication information of an application programming interface (API) level, or indication information of a log level, the indication information of the AGI level being used to indicate an intelligent degree supported by the first device, the indication information of the API level being used to indicate a function opening degree supported by the first device, and the indication information of the log level being used to indicate a log opening degree of the first device.
[0025] With reference to the second aspect, in some implementations of the second aspect, the higher the AGI level, the higher the intelligence level of the first device; and / or, the higher the API level, the higher the function opening level of the first device; and / or, the higher the log level, the higher the log opening level of the first device.
[0026] With reference to the second aspect, in some implementations of the second aspect, before the capability information of the first device is sent to the agent, the method further includes: receiving a first request message from the agent, the first request message being used to request to establish a communication connection with the first device.
[0027] With reference to the second aspect, in some implementations of the second aspect, before the capability information of the first device is sent to the agent, the method further includes: sending a second request message to the agent, the second request message being used to request to establish a communication connection with the agent; receiving a query message from the agent, the query message being used to query the capability information of the first device.
[0028] With reference to the second aspect, in some implementations of the second aspect, the sending of the capability information of the first device to the agent includes: sending a third request message to the agent, the third request message being used to request to establish a communication connection with the agent, and the capability information being included in the third request message.
[0029] With reference to the second aspect, in some implementations of the second aspect, the method further includes: sending registration information to the agent, the registration information including an identifier of the first device and at least one of the following information: a version identifier of each function of at least one function, interface information of each function of the at least one function, an identifier of each function of the at least one function, source indication information of each function of the at least one function, generation time information of each function of the at least one function, a name of each function of the at least one function, an annotation of each function of the at least one function, or information of an associated function of each function of the at least one function, wherein the at least one function is a function in the first device.
[0030] With reference to the second aspect, in some implementations of the second aspect, when the API level is greater than the first threshold, the method further includes: receiving a first message from the agent, the first message being used to indicate a first function required by the agent; generating the first function in response to the first message; and sending information of the first function to the agent, wherein the information of the first function comprises at least one of the following: a version identifier of the first function, interface information of the first function, an identifier of the first function, source indication information of the first function, generation time information of the first function, a name of the first function, an annotation of the first function, or information of an associated function of the first function.
[0031] With reference to the second aspect, in some implementations of the second aspect, before the information of the first function is sent to the agent, the method further includes: verifying the first function.
[0032] Based on the above technical solutions, after generating a new function, the first device can verify the newly generated function, so as to improve security.
[0033] With reference to the second aspect, in some implementations of the second aspect, the method further includes: sending a log to the agent, the log comprising a running log of the first device and / or a log of the agent control.
[0034] The technical effects of the method according to the second aspect and possible designs thereof can refer to the technical effects of the first aspect and possible designs thereof.
[0035] In a third aspect, a communication apparatus is provided, which is configured to execute the method according to the first aspect. Specifically, the communication apparatus can include units and / or modules for performing the method according to any of the implementations of the first aspect, such as a processing unit and an obtaining unit.
[0036] In one implementation, the transceiving unit can be a transceiver, or an input / output interface; and the processing unit can be at least one processor. Optionally, the transceiver can be a transceiving circuit. Optionally, the input / output interface can be an input / output circuit.
[0037] In another implementation, the transceiving unit can be an input / output interface, an interface circuit, an output circuit, an input circuit, a pin, or related circuitry on the chip, chip system, or circuit; and the processing unit can be at least one processor, processing circuit, or logic circuit.
[0038] In a fourth aspect, a communication apparatus is provided. The communication apparatus is configured to perform the method of the second aspect. Specifically, the communication apparatus can include units and / or modules for performing the method of the second aspect, such as a processing unit and an obtaining unit.
[0039] In an implementation form, the transceiving unit can be a transceiver, or an input / output interface. The processing unit can be at least one processor. Optionally, the transceiver can be a transceiving circuit. Optionally, the input / output interface can be an input / output circuit.
[0040] In another implementation form, the transceiving unit can be an input / output interface, an interface circuit, an output circuit, an input circuit, a pin or related circuitry on the chip, chip system or circuit. The processing unit can be at least one processor, a processing circuit or a logic circuit.
[0041] In a fifth aspect, a processor is provided. The processor is configured to perform the method of any of the implementation forms of the first and second aspects.
[0042] For the sending and obtaining / receiving operations of the processor, if no special description is provided, or if it does not contradict the actual role or inherent logic in the related description, it can be understood as the processor outputting and receiving, inputting, etc. operations, or as the sending and receiving operations performed by the radio frequency circuit and the antenna, which are not limited in the present application.
[0043] In a sixth aspect, a computer readable storage medium is provided. The computer readable storage medium stores program codes for execution by an apparatus. The program codes include codes for performing the method of any of the implementation forms of the first and second aspects.
[0044] In a seventh aspect, a computer program product containing instructions is provided. When the computer program product is run on a computer, the computer is caused to perform the method of any of the implementation forms of the first and second aspects.
[0045] In an eighth aspect, a chip is provided. The chip includes one or more processors and a communication interface. The processor reads computer programs or instructions stored on a memory through the communication interface, and performs the method of any of the implementation forms of the first and second aspects.
[0046] Optionally, as an implementation form, the chip further includes a memory. The memory stores computer programs or instructions. The processor is configured to execute the computer programs or instructions stored on the memory. When the computer programs or instructions are executed, the processor is configured to perform the method of any of the implementation forms of the first and second aspects.
[0047] In a ninth aspect, a communication system is provided, comprising the communication apparatus of the third aspect and the communication apparatus of the fourth aspect. BRIEF DESCRIPTION OF DRAWINGS
[0048] FIG. 1 is a schematic diagram of a communication system suitable for use with the present application.
[0049] FIG. 2 is a schematic diagram of an AI network element built in a communication system.
[0050] FIG. 3 is a schematic diagram of an agent.
[0051] FIG. 4 is a schematic flowchart of a communication method provided by the present application.
[0052] FIG. 5 is a schematic flowchart of another communication method provided by the present application.
[0053] FIG. 6 is a schematic flowchart of yet another communication method provided by the present application.
[0054] FIG. 7 is a schematic block diagram of a communication apparatus provided by an embodiment of the present application.
[0055] FIG. 8 is a schematic diagram of another communication apparatus provided by an embodiment of the present application. DETAILED DESCRIPTION
[0056] In order to facilitate understanding of the embodiments of the present application, the following points are first explained.
[0057] First, in the present application, “for indicating” can include for directly indicating and for indirectly indicating. When describing that certain indication information is for indicating A, it can include that the indication information directly indicates A or indirectly indicates A, and does not mean that A must be carried in the indication information.
[0058] The information indicated by the indication information is referred to as to-be-indicated information, and there are many ways to indicate the to-be-indicated information in the specific implementation process, for example but not limited to, the to-be-indicated information can be directly indicated, such as the to-be-indicated information itself or an index of the to-be-indicated information. The to-be-indicated information can also be indirectly indicated by indicating other information, where the other information and the to-be-indicated information have an association relationship. The to-be-indicated information can also be only indicated in part, and the other part of the to-be-indicated information is known or agreed in advance. For example, the indication of a specific information can also be achieved by means of the arrangement order of each information agreed in advance (for example, a protocol stipulates), thereby reducing the indication overhead to a certain extent. Meanwhile, the common part of each information can also be identified and uniformly indicated, so as to reduce the indication overhead caused by separately indicating the same information.
[0059] Second, "at least one" in the present application means one or more, and "more than one" means two or more (including two). In addition, in the embodiments of the present application, "first", "second", and various numerical numbers (for example, "#1", "#2", and the like) are only used for the convenience of description and do not limit the scope of the embodiments of the present application. The size of the serial number of each process below does not mean the order of execution, and the execution order of each process should be determined according to its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. It should be understood that the objects thus described can be interchanged under appropriate circumstances, so as to be able to describe solutions other than the embodiments of the present application. In addition, in the embodiments of the present application, "S410" and the like are only used for the convenience of description and are not limited to the order of execution steps.
[0060] Third, in the embodiments of the present application, "exemplary" or "for example" and the like are used to represent an example, illustration or description. Any embodiment or design scheme described as "exemplary" or "for example" in the present application should not be interpreted as more preferred or more advantageous than other embodiments or design schemes. Rather, the use of "exemplary" or "for example" and the like is intended to present the relevant concept in a specific manner.
[0061] Fourth, "save" in the embodiments of the present application can mean saving in one or more memories. The one or more memories can be separately arranged or integrated in the encoder or decoder, processor, or communication device. The one or more memories can be partially separately arranged and partially integrated in the processor or communication device. The type of memory can be any form of storage medium, which is not limited in the present application.
[0062] Fifth, in the embodiments of the present application, "protocol" can refer to a standard protocol in the communication field, which can include a new radio (NR) protocol and related protocols applied to future communication systems, which are not limited in the present application.
[0063] Sixth, in the embodiments of the present application, "of", "corresponding", "corresponding" and "associated" can be used interchangeably at times, and it should be pointed out that their meanings are consistent when their differences are not emphasized.
[0064] Seventh, in the embodiments of the present application, "in the case of", "when", "if" can be used interchangeably at times, and it should be pointed out that their meanings are consistent when their differences are not emphasized.
[0065] Eighth, the term "and / or" in this document is only a description of the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can represent three cases of A alone, A and B together, and B alone. In addition, the character " / " in this document generally represents that the front and rear associated objects are in an "or" relationship.
[0066] Ninth, "message", "information", or "information element (IE)" and the like can be used interchangeably in this document, and the name of the message or information is not limited in any way as long as the corresponding function can be realized.
[0067] In this application, "sending" and "receiving" represent the direction of signal transmission. For example, "sending information to XX" can be understood as the destination of the information being XX, and "sending information" can include direct sending or indirect sending through other units or modules. "Receiving information from YY" can be understood as the source of the information being YY, and "receiving information" can include direct reception from YY or indirect reception from YY through other units or modules. In addition, "sending" can also be understood as the "output" of the chip interface, and "receiving" can also be understood as the "input" of the chip interface. In other words, "sending" or "receiving" can be carried out between devices, for example, between network devices and terminal devices through the air interface, and "sending" or "receiving" can also be carried out within the device, for example, between components, modules, chips, software modules or hardware modules within the device through the bus, wire or interface.
[0068] The technical solutions in this application will be described below with reference to the accompanying drawings.
[0069] The technical solutions of the embodiments of the present application can be applied to various communication systems, for example: long term evolution (LTE) system, LTE frequency division duplex (FDD) system, LTE time division duplex (TDD), universal mobile communication system (UMTS), worldwide interoperability for microwave access (WiMAX) communication system, 5th generation (5G) system, NR, and future communication systems, vehicle-to-X (V2X), which can include vehicle to network (V2N), vehicle to vehicle (V2V), vehicle to infrastructure (V2I), vehicle to pedestrian (V2P), etc., vehicle-to-vehicle communication long term evolution technology (LTE-V), Internet of Vehicles, machine type communication (MTC), Internet of Things (IoT), inter-machine communication long term evolution technology (LTE-M), machine to machine (M2M), etc.
[0070] In addition, the embodiments of the present application are applicable to homogeneous network and heterogeneous network scenarios, and there is no limitation on the transmission point, which can be multi-point cooperative transmission between macro base stations and macro base stations, micro base stations and micro base stations, and macro base stations and micro base stations, etc. The embodiments of the present application are applicable to low frequency scenarios (sub 6G) and high frequency scenarios (6G and above), terahertz, optical communication, etc.
[0071] FIG. 1 is a schematic diagram of a communication system applicable to the present application. As shown in FIG. 1, the communication system 100 includes at least one network device, such as at least one of the network device 111, the network device 112, and the network device 113 shown in FIG. 1; the communication system 100 can also include at least one terminal device, such as at least one of the terminal device 121 and the terminal device 122 shown in FIG. 1; the communication system 100 can also include at least one AI network element, such as the AI network element 131 shown in FIG. 1. The network device and the terminal device in the communication system can communicate with each other through a wireless link, and in turn exchange information. It can be understood that the network device and the terminal device can also be referred to as communication devices or communication apparatuses.
[0072] A network device is a network-side device with wireless transceiving function. The network device can be a device in a radio access network (RAN) that provides wireless communication function for a terminal device, referred to as a RAN device. The RAN can be a 3rd generation partnership project (3GPP)-related cellular system, such as a 5G mobile communication system or a future communication system. The RAN can also be an open radio access network (O-RAN or ORAN), a cloud radio access network (CRAN), or a wireless fidelity (WiFi) system. For example, the network device can be a base station, an evolved NodeB (eNodeB), a next generation NodeB (gNB) in a 5G mobile communication system, a base station of a future communication system, a transmission reception point (TRP), an access node in a WiFi system, a wireless relay node, a wireless backhaul node, etc. In a communication system using different radio access technologies (RATs), the name of the device with base station function can be different. For example, in an LTE system, it can be referred to as an eNB or eNodeB, and in a 5G system or an NR system, it can be referred to as a gNB. The present application does not limit the specific name of the base station. The network device can include one or more co-sited or non-co-sited transmission reception points.
[0073] For another example, the network device can include at least one of one or more central units (CUs), one or more distributed units (DUs), one or more radio units (RUs). The CU (or CU-control plane (CP), CU-user plane (UP)), DU or RU can also have different names in different systems, but a person skilled in the art can understand their meanings. For example, in an ORAN system, the CU can also be referred to as an open CU (O-CU), the DU can also be referred to as an open DU (O-DU), the CU-CP can also be referred to as an open CU-CP (O-CU-CP), the CU-UP can also be referred to as an open CU-UP (O-CU-UP), and the RU can also be referred to as an open RU (O-RU). Any of the CU (or CU-CP, CU-UP), DU and RU in this application can be implemented by a software module, a hardware module, or a combination of a software module and a hardware module. Exemplarily, the functions of the CU can be implemented by one entity or different entities. For example, the functions of the CU are further divided, i.e., the control plane and the user plane are separated and implemented by different entities, which are the control plane CU entity (i.e., the CU-CP entity) and the user plane CU entity (i.e., the CU-UP entity), respectively. The CU-CP entity and the CU-UP entity can be coupled with the DU to jointly complete the functions of the access network device. For example, the CU is responsible for processing non-real-time protocols and services, implementing radio resource control (RRC), and functions of the packet data convergence protocol (PDCP) layer. The DU is responsible for processing physical layer protocols and real-time services, implementing functions of the radio link control (RLC) layer, the media access control (MAC) layer, and the physical (PHY) layer. In this way, the functions of the wireless access network device can be implemented by multiple network function entities. These network function entities can be network elements in hardware devices, or software functions running on dedicated hardware, or virtualized functions instantiated on a platform (e.g., a cloud platform). The network device can also include an active antenna unit (AAU). The AAU implements part of the physical layer processing function, the radio frequency processing function, and the related function of the active antenna.Since the information of the RRC layer will eventually become the information of the PHY layer, or be transformed from the information of the PHY layer, under this architecture, high-layer signaling, such as RRC layer signaling, can also be considered as being sent by the DU, or by the DU+AAU. It can be understood that the network device can be a device including one or more of the CU node, the DU node, and the AAU node. In addition, the CU can be divided into a network device in the RAN, or can be divided into a network device in the core network (CN), which is not limited in the present application. For example, in vehicle to everything (V2X) technology, the access network device can be a road side unit (RSU). The plurality of access network devices in the communication system can be the same type of base station, or different types of base stations. The base station can communicate with the terminal device, or can communicate with the terminal device through the relay station. In the embodiments of the present application, the device for realizing the function of the network device can be the network device itself, or can be a device capable of supporting the network device to realize the function, such as a chip system or a combination device or component capable of realizing the function of the access network device, which can be installed in the network device. In the embodiments of the present application, the chip system can be composed of a chip, or can include a chip and other discrete devices.
[0074] The terminal device is a user-side device with wireless transceiving function, which can be a fixed device, a mobile device, a handheld device (such as a mobile phone), a wearable device, a vehicle-mounted device, or a wireless device (such as a communication module, a modem, or a chip system) built into the above devices. The terminal device is used to connect people, things, machines, etc., and can be widely used in various scenarios, such as cellular communication, device-to-device (D2D) communication, V2X communication, machine-to-machine / machine-type communications (M2M / MTC) communication, Internet of Things, virtual reality (VR), augmented reality (AR), industrial control, self-driving, remote medical treatment, smart grid, smart furniture, smart office, smart wear, smart transportation, smart city, unmanned aerial vehicle, robot, etc. Exemplarily, the terminal device can be a handheld terminal in cellular communication, a communication device in D2D, an Internet of Things device in MTC, a monitoring camera in smart transportation and smart city, or a communication device on an unmanned aerial vehicle, etc. The terminal device can be referred to as user equipment (UE), user terminal, user device, user unit, user station, terminal, access terminal, access station, UE station, remote station, mobile device, or wireless communication device, etc. The terminal device can also be a terminal device in an IoT system. IoT is an important part of future information technology development, and its main technical feature is to connect objects through communication technology and network, so as to realize the intelligent network of man-machine interconnection and object-object interconnection. In the embodiments of the present application, IoT technology can achieve massive connection, deep coverage, and terminal power saving through, for example, narrow band (NB) technology. In the embodiments of the present application, the device for realizing the function of the terminal device can be a terminal device, or a device capable of supporting the terminal device to realize the function, such as a chip system or a combination device or component that can realize the function of the terminal device, which can be installed in the terminal device.
[0075] An AI network element can implement part or all of AI-related operations. Among them, the AI network element can also be referred to as an AI node, an AI device, an AI entity, an AI module, an AI model, or an AI unit, etc. The AI model can be considered as a specific method to implement AI functions. The AI model represents the mapping relationship or function between the input and output of the model. The AI function can include one or more of the following: data collection, model training (or model learning), model information publishing, model inference (or model reasoning, reasoning, or prediction, etc.), model monitoring or model verification, or inference result publishing, etc. The AI function can also be referred to as an AI (related) operation, or an AI-related function.
[0076] The AI module is used to implement the corresponding AI function. The AI modules deployed in different network elements can be the same or different. The model of the AI module can implement different functions according to different parameter configurations. The model of the AI module can be configured based on one or more of the following parameters: structure parameters (such as at least one of the number of neural network layers, the width of the neural network, the connection relationship between layers, the weight of neurons, the activation function of neurons, or the bias in the activation function), input parameters (such as the type of input parameters and / or the dimension of input parameters), or output parameters (such as the type of output parameters and / or the dimension of output parameters). Among them, the bias in the activation function can also be referred to as the bias of the neural network.
[0077] One AI module can have one or more models. One model can infer an output, which includes one parameter or multiple parameters. The learning process, training process, or inference process of different models can be deployed in different nodes or devices, or can be deployed in the same node or device.
[0078] Exemplarily, the AI network element can be built-in in a communication system. For example, the AI network element can be an AI module built-in in an access network device, a core network device, a cloud server, or an operation, administration and maintenance (OAM), to implement AI-related functions. Among them, the core network device includes but is not limited to network elements such as access and mobility management function (AMF), user plane function (UPF), or session management function (SMF). The OAM can be the network management of the core network device and / or the network management of the access network device. Alternatively, the AI network element can also be a network element independently set in the communication system. Optionally, the terminal or the chip built-in in the terminal can also include an AI entity, for implementing AI-related functions.
[0079] For ease of understanding, the fusion of the AI module and the communication system is briefly introduced in conjunction with FIG. 2. As shown in FIG. 2, the network elements in the communication system are connected through interfaces (such as NG, Xn) or air interfaces. One or more AI modules are arranged in one or more of the network element nodes, such as a core network device, an access network node (RAN node), a terminal, or an OAM (for clarity, only one AI module is shown in FIG. 2). The access network node can serve as a separate RAN node or can include multiple RAN nodes, for example, including a CU and a DU. The CU and / or DU can also be provided with one or more AI modules. Optionally, the CU can also be split into a CU-CP and a CU-UP. One or more AI models are arranged in the CU-CP and / or CU-UP.
[0080] The network device, the terminal device, and the AI network element can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; can also be deployed on water; and can also be deployed on aircraft, balloons, and satellites in the air. The scenarios in which the network device, the terminal device, and the core network device are located are not limited in the embodiments of the present application.
[0081] For ease of understanding the embodiments of the present application, the basic concepts involved in the present application are first described.
[0082] 1. AI: AI can enable machines to have human intelligence, for example, enabling machines to apply computer hardware and software to simulate certain intelligent behaviors of humans. To achieve artificial intelligence, a machine learning method can be used. In the machine learning method, the machine learns (or trains) a model using training data. The model represents the mapping between the input and the output. The learned model can be used for inference (or prediction), that is, the model can be used to predict the output corresponding to a given input. The output can also be referred to as an inference result (or a prediction result).
[0083] 2. Large model technology: A large model refers to a neural network model that contains a super large number of parameters (usually more than one billion) and has the following characteristics:
[0084] 1) Huge size: A large model contains tens of billions of parameters, and the model size can reach hundreds of gigabytes (GB) or even larger. Such a huge model size provides a large model with strong expression and learning capabilities.
[0085] 2) Multi-task learning: A large model usually learns multiple different natural language processing (NLP) tasks, such as machine translation, text summarization, or question and answer systems. This can enable the model to learn more extensive and generalized language understanding capabilities.
[0086] 3) Strong computing resources: Training large models often requires hundreds or even thousands of graphics processor units (GPUs) and a significant amount of time, usually weeks to months. This can accelerate the training process while preserving the capabilities of large models.
[0087] 4) Abundant data: Large models require a large amount of data for training, and only a large amount of data can take advantage of the parameter scale advantage of large models.
[0088] Large models are widely used in natural language processing and are changing the state of NLP tasks, giving rise to more powerful and intelligent language technology. Large models are an important direction of AI development. At the same time, large models also have excellent performance in various natural language processing tasks, such as text classification, sentiment analysis, abstract generation, or translation, etc. In addition, large models can also be used in automatic writing, chat robots, virtual assistants, voice assistants, or automatic translation, etc. in multiple application fields.
[0089] It should be understood that the application of large models in networks requires a series of supporting functions to truly realize their potential. This system engineering can be called an AI agent (AI Agent). The AI agent is briefly described below.
[0090] 3、Agent: is a concept in the field of artificial intelligence, any entity that can think independently and interact with the environment can be abstracted as an agent. The basic characteristics of an agent are: an agent can respond to changes in the environment and then automatically adjust its behavior and state. Different agents can also interact with other agents according to their intentions. An agent can belong to a kind of AI module.
[0091] For example, an agent can use a large language model (LLM) as the core, including a memory module, a tool module, a planning module, and an action module, etc. Among them, the memory module is used to realize the long-term memory and / or short-term memory function; the tool module includes multiple callable external tools; the planning module includes multiple planning algorithms, for example, the agent can plan the external input task according to the content in the memory; the action module supports the agent to make actions according to the planning results, such as calling tools, etc.
[0092] As shown in FIG. 3, in the autonomous agent system supported by LLM, LLM acts as the brain of the agent (or agent), and is supplemented by several key components:
[0093] 1) Planning, including but not limited to:
[0094] Subgoal decomposition: Agents break down large tasks into smaller, manageable subgoals, enabling them to handle complex tasks more efficiently. For example, by instructing the model to "think step by step" through a chain of thoughts (CoT), more testing time is used to compute the breakdown of difficult tasks into smaller, simpler steps. CoT transforms large tasks into multiple manageable tasks and elucidates the explanation of the model's thought process.
[0095] Reflection and Improvement: Intelligent agents can engage in self-criticism and self-reflection on past behaviors, learn from mistakes, and improve future steps, thereby enhancing the quality of the final result.
[0096] 2) Memory, including but not limited to:
[0097] Short-term memory: Learning by utilizing the short-term memory of models.
[0098] Long-term memory: Provides agents with the ability to retain and recall (unlimited) information for a long time, usually by utilizing external vector storage and fast retrieval.
[0099] 3) Tool usage, including but not limited to:
[0100] Agent learning calls external application programming interfaces (APIs) to obtain additional information missing from the model weights (which is usually difficult to change after pre-training), including current information, code execution capabilities, and access to proprietary information sources.
[0101] 4) Task execution (action): The model performs a specific task and records the results.
[0102] 4. Prompt: In large AI models, the primary role of a prompt is to provide the model with contextual information about the input and the model's parameters. When training supervised or unsupervised learning models, a prompt helps the model better understand the intent of the input and respond accordingly. Furthermore, a prompt can improve the model's interpretability and accessibility.
[0103] In layman's terms, a prompt is to provide an AI model with a "hint" or "guidance" to help it better understand and complete tasks.
[0104] Exemplarily, the prompt is not only a user input question or query, but also contains multiple parts such as instructions, external information (context), output indicators, etc. Among them, the user output or query: usually (but not always) is a query input into the system by the user (i.e. the prompter); the instruction: tells the model what to do, how to use the external information (if provided), how to process the query and build the output; the external information (context): acts as an additional source of knowledge for the model. These can be manually inserted into the prompt, obtained through a vector database (retrieval augmentation), or introduced through other means (API, computation, etc.); the output indicator: marks the beginning of the text to be generated.
[0105] 5、Over the top (OTT) service / content: refers to providing various application services to users through the Internet. This application is different from the communication services currently provided by operators. It uses the network of the operator, and the service is provided by a third party outside the operator. At present, typical OTT services include Internet television services, application stores, etc.
[0106] 6、Retrieval augmented generation (RAG): aims to enhance the function of large language models by integrating an information retrieval system that provides supporting data. The introduction of this system allows precise control of the data sources on which the LLM relies when constructing responses. In enterprise applications, the RAG architecture ensures that the contextual information of the generative AI is limited within the enterprise's vectorized documents, images, audio, and video resources. Selecting the appropriate information retrieval system is crucial as it defines the quality of the LLM's input. An ideal retrieval system can have the following characteristics: efficient indexing strategies, capable of large-scale and real-time updates of all content to meet the required update frequency. Strong query capabilities and adjustable relevance algorithms ensure the accuracy of the retrieval results. The results should be presented in a compact form to adapt to the token length limitations of the LLM input, ensuring the integrity of the information.
[0107] The above briefly introduces the scenario to which the communication method provided by the embodiments of the present application can be applied in combination with FIG. 1, and introduces the basic concepts that may be involved in the embodiments of the present application, and introduces the concept of agent in the basic concepts. As known from the above, the agent can realize multiple functions and has high intelligence.
[0108] The present application provides a communication method which can be applied in the communication system shown in FIG. 1, so as to establish a connection between the agent and the device in the communication network, and improve the intelligence of the communication network.
[0109] It should be understood that the embodiments shown below do not particularly limit the specific structure of the subject performing the method provided by the embodiments of the present application, as long as the subject can communicate according to the method provided by the embodiments of the present application by running a program in which the code of the method provided by the embodiments of the present application is recorded. For example, the subject performing the method provided by the embodiments of the present application can be a device, or a functional module in the device that can call and execute a program.
[0110] FIG. 4 is a schematic flowchart of a communication method provided by the present application. The method includes the following steps:
[0111] S410, the first device sends capability information to the agent, and correspondingly, the agent receives the capability information from the first device.
[0112] Exemplarily, the first device in this embodiment can be a device in a communication network, including but not limited to an access network device, a terminal device, or a core network device, etc.
[0113] In the present application, an agent is generally considered as an agent that can autonomously complete a set target through action capability. The agent is inseparable from intelligence; it has some intelligent capabilities and behaviors similar to humans, such as learning, reasoning, decision-making, and execution capabilities. Alternatively, the agent can be replaced by other terms, for example, artificial general intelligence (AGI), artificial intelligence, or intelligent agent, etc.
[0114] Alternatively, in the communication apparatus, the agent can be integrated in the existing hardware / software of the communication apparatus, or the agent can be independent of the existing hardware / software of the communication apparatus. For example, the existing hardware / software can include a chip, a baseband chip, a modem chip, a system on chip (SoC) chip containing a modem core, a system in package (SIP) chip, a communication module, a chip system, a processor, a logic module, or software, etc.
[0115] Exemplarily, the agent in this embodiment includes an AI model, a tool management unit, and a data management unit, wherein the tool management unit includes tools called by the AI model, and the data management unit is used to manage data related to the running of the first agent.
[0116] Optionally, the AI model can be understood as the core of the agent, such as an LLM core or a large model. The LLM can recognize not only natural language but also other languages, such as machine language. The AI model is used to coordinate other components (such as a tool management unit and a data management unit) to plan and schedule tasks based on task requirements. The name of the AI model in this application is not limited in any way, as long as it can perform the corresponding function.
[0117] Optionally, the tool management unit includes tools that can be called by the AI model, and the tools include at least one of a function, data, a model, and an algorithm. For example, the tool management unit includes a code compiler, an interpreter, performance monitoring, digital twinning, ray tracing, or network function virtualization, so that the first agent can perform the corresponding function.
[0118] Optionally, the data management unit can be used to manage, for example, device operation logs, agent operation logs, domain knowledge, device-supported functions, and device-sensed state measurements. For example, the data management unit is used to store a data set including at least one of historical task information, log information of one or more communication devices, perception data of one or more communication devices, measurement data of one or more communication devices, and domain knowledge. Through the storage and use of various data by the database module, the agent can provide relevant knowledge and historical experience required during task processing to improve the processing performance of the agent.
[0119] For example, the agent-related information includes at least one of the following:
[0120] The identification (ID) of the agent, the domain information corresponding to the agent, the role information of the agent, the information indicating whether the agent supports human interaction, the tool library information of the agent, or the initial knowledge information of the agent.
[0121] The identification of the agent is used to indicate the agent, and different agents can be distinguished based on different agent identifications. For example, the identification of the agent can be called an agent identification (Agent ID). For example, the identification of the agent #1 is Agent ID #1, and the identification of the agent #2 is Agent ID #2.
[0122] It should be understood that the agent in this embodiment can also be called an AI controller, an intelligent unit, or an intelligent entity. The name of the agent in this embodiment is not limited in any way, as long as it can perform the corresponding function.
[0123] The domain information corresponding to the agent is used to indicate the domain that the agent is good at. For example, the domain information corresponding to the agent is used to indicate that the agent is good at processing wireless communication data. Also for example, the domain information corresponding to the agent is used to indicate that the agent is good at processing multi-modal perception data.
[0124] The role information of the agent is used to indicate the role that the agent is good at. For example, the role information of the agent is used to indicate that the agent is good at being a processing unit of data and / or control information. Also for example, the role information of the agent is used to indicate that the agent is good at being a network management and optimization unit.
[0125] The prompt information of the agent is used to indicate the base prompt corresponding to the agent. For example, the prompt information of the agent is used to indicate that the prompt corresponding to the agent can be a question or query input by a user. Also for example, the prompt information of the agent is used to indicate that the prompt corresponding to the agent can be an instruction, external information, an output prompter, or a preset prompt word template (such as limiting the output format, content, etc.) and the like.
[0126] The information of whether the agent supports interaction with a human is used to indicate whether the agent supports interaction with a human. Optionally, the information of whether the agent supports interaction with a human can be referred to as a human interaction interface identifier. For example, the information of whether the agent supports interaction with a human is used to indicate that the agent does not support interaction with a human. Also for example, the information of whether the agent supports interaction with a human is used to indicate that the agent supports interaction with a human.
[0127] The tool library information of the agent is used to indicate the tools supported by the agent for invocation. For example, the tool library information of the agent is used to indicate that the agent supports invocation of a code compiler, an interpreter, a performance monitor (monitor), a digital twin, ray tracing, or network function virtualization and the like.
[0128] The initial knowledge information of the agent is used to indicate the initial knowledge or background knowledge corresponding to the agent. The initial knowledge includes but is not limited to a data set corresponding to the domain in which the agent is located, a data set corresponding to the role / task of the agent, or a historical log or example of task planning of the agent and the like.
[0129] Specifically, the capability information is used to indicate the intelligent capability of the first device.
[0130] By way of example and without limitation, the capability information includes at least one of the following information:
[0131] The AGI information of the first device, the API information of the first device, or the log information of the first device. The AGI information of the first device is used to indicate a level of intelligence supported by the first device; the API information of the first device is used to indicate a level of function interface exposed by the first device; and the log information of the first device is used to indicate a level of log exposed by the first device.
[0132] Specifically, the higher the AGI level, the higher the intelligence level of the first device; the higher the API level, the higher the function exposure level of the first device; and the higher the log level, the higher the log exposure level of the first device.
[0133] For ease of understanding, the intelligence capability of the first device in this embodiment is briefly introduced in combination with Table 1.
[0134] Table 1
[0135] Exemplarily, it can be seen from Table 1 that the AGI information of the first device indicates that the level of intelligence supported by the first device includes but is not limited to AGI level 0, AGI level 1, AGI level 2, and AGI level 3, wherein AGI level 0 indicates that the first device does not support intelligence; AGI level 1 indicates that the first device supports AI parameter completion capability in intelligence, for example, the first device supports local generation of function parameters when accepting a call of a function by an intelligent agent, without the need for the intelligent agent to obtain local related data of the first device to generate parameters; AGI level 2 indicates that the first device supports AI parameter completion capability and function generation capability in intelligence, for example, the first device supports a function temporarily unsupported by the first device when accepting intelligent agent configuration, the intelligent agent provides a function name (and a function description), an input, and an output, and the first device can generate a corresponding function; and AGI level 3 indicates that the first device supports AI parameter completion capability, function generation capability, and flow generation capability in intelligence, for example, the first device supports local planning of a task, generation of a task processing flow, and generation of related functions and parameters when receiving intelligent agent configuration, and the intelligent agent only provides a prompt word or a task target.
[0136] The API information of the first device indicates a level of opening function interfaces of the first device, including but not limited to API level 0, API level 1, API level 2, and API level 3. The API level 0 indicates that the first device does not open API. The API level 1 indicates that the first device supports opening part of API, such as opening part of preset API. The API level 2 indicates that the first device supports opening all API. The API level 3 indicates that the first device supports generating function API feedback, such as reporting a new function API to the agent when the first device generates a new function. In addition, the function in this application refers to an interface of the agent for controlling and / or interacting with the device.
[0137] The log information of the first device indicates a level of opening logs of the first device, including but not limited to log level 0, log level 1, log level 2, and log level 3. The log level 0 indicates that the first device does not open logs. The log level 1 indicates that the first device supports opening part of historical logs. The log level 2 indicates that the first device supports opening part of historical logs and agent operation logs. The log level 3 indicates that the first device supports opening all logs.
[0138] Further, after the first device provides the above-mentioned capability information to the agent, the interaction mode between the first device and the agent can be determined based on the capability information, and the method flow described in FIG. 4 further includes:
[0139] S420, a communication connection is established between the first device and the agent.
[0140] Specifically, the first device establishes a connection based on the capability information and the agent, and correspondingly, the agent can also establish a connection based on the capability information and the first device.
[0141] It should be understood that in this embodiment, the establishment of the connection between the first device and the agent can be understood as configuring parameters of the first device in the agent, such as saving the capability information of the first device in the agent. For example, the first device is a terminal device, the agent is registered in an access network device, the first device can access the agent deployed in the access network device, and a communication connection is established between the first device and the agent, so that the agent can obtain the capability of the first device, and call functions in the first device to perform task planning. For another example, the first device is an agent #0, and the above-mentioned agent is an agent #1. The agent #0 can establish a communication connection with the agent #1, so that the agents can call each other to complete corresponding task planning. The agent #0 and the agent #1 can be deployed in different devices, can be deployed in the same device, or can be independently deployed, without any limitation.
[0142] As a possible implementation, the process of establishing the connection between the first device and the agent is triggered by the agent, and in this implementation, the method flow shown in FIG. 4 further includes:
[0143] S411, the agent sends a first request message to the first device, and correspondingly, the first device receives the first request message from the agent.
[0144] Specifically, the first request message is used to request to establish a connection with the first device.
[0145] In this implementation, after the first device receives the first request message, the first device can perform the step S410 described above.
[0146] As another possible implementation, the process of establishing the connection between the first device and the agent is triggered by the first device, and in this implementation, the method flow shown in FIG. 4 further includes:
[0147] S412, the first device sends a second request message to the agent, and correspondingly, the agent receives the second request message from the first device.
[0148] Specifically, the second request message is used to request to establish a connection with the agent.
[0149] S413, the agent sends a query message to the first device, and correspondingly, the first device receives the query message from the agent.
[0150] Specifically, the query message is used to query the capability information of the first device.
[0151] It should be understood that the step S413 is an optional step, and the agent can not send the query message to the first device. For example, the first device sends a third request message to the agent, the third request message is used to request to establish a communication connection with the agent, and the third request message includes the capability information.
[0152] The method flow shown in FIG. 4 describes the process of establishing the connection between the first device and the agent, and the first device can be a device in a communication network, thereby supporting the network access agent and improving the network intelligence. In addition, the introduction of the agent in the network can improve the efficiency of network maintenance and / or operation.
[0153] Further, after the first device and the agent establish the connection, the connection can be interacted. The registration flow of function information after the first device and the agent establish the connection will be described in detail below in combination with FIG. 5.
[0154] FIG. 5 is a schematic flowchart of a communication method provided by the present application. The following steps are included:
[0155] S510, the first device sends registration information to the agent, and correspondingly, the agent receives the registration information from the first device.
[0156] Specifically, the registration information includes the identifier of the first device and at least one of the following information: version identifier of each function in the at least one function, interface information of each function in the at least one function, identifier of each function in the at least one function, source indication information of each function in the at least one function, generation time information of each function in the at least one function, name of each function in the at least one function, annotation of each function in the at least one function, or information of an associated function of each function in the at least one function, wherein the at least one function is a function in the first device.
[0157] For example, when the API level of the first device is greater than 0, the first device can register the function API of the first device in the agent after establishing a connection with the agent, as the knowledge of the agent for subsequent task planning and scheduling.
[0158] The identifier of the first device is used to indicate the first device and distinguish different devices.
[0159] The identifier of the version of the function is used to indicate the version of the function interface.
[0160] The identifier of the function is used to indicate the function and distinguish different functions.
[0161] The function source indication information is used to indicate the source of the function, such as distinguishing whether the function source is AI or human (Human).
[0162] The function generation time information is used to indicate the function generation timestamp.
[0163] The function annotation contains the function function and the definition of the input and output variables.
[0164] The information of the associated function of the function: contains the information of the associated function of the function, such as the function function similar to the function, the pre-function of the function, the post-function of the function, or the mutual exclusion function of the function.
[0165] Further, when the API level of the first device is greater than 0, the first device can generate a new function and report the information of the function, and in this implementation manner, the method flow shown in FIG. 5 can further include:
[0166] S520, the agent sends a first message to the first device, and correspondingly, the first device receives the first message from the agent.
[0167] Specifically, the first message is used to indicate the first function required by the agent. The first message can be referred to as a function description message. For example, in the case that the API level of the first device is greater than a first threshold, the agent can send a first message to the first device, where the first threshold can be predefined, determined by the first device, or negotiated between the first device and the agent, without any limitation to the first threshold.
[0168] S530, the first device generates the first function.
[0169] In this embodiment, the first device generating the first function includes that the first device (or the agent in the first device) generates a corresponding first function subject according to the first message received from the agent, and obtains the information of the first function. The first message contains information such as function name, function function, function input and output, or function complexity limit.
[0170] By way of example and not limitation, after the first device generates the first function, the first function can be verified. Illustratively, the first device verifies the first function, including that the first device (or the agent in the first device) invokes an interpreter and / or a compiler to run the code according to the generated first function, and verifies the correctness of the first function by the output of the code running or the change of the system state.
[0171] S540, the first device sends the information of the first function to the agent, and correspondingly, the agent receives the information of the first function from the first device.
[0172] Similar to the function information included in the registration information described above, when the first device provides the information of the newly generated first function to the agent, the information of the first function includes at least one of the following information:
[0173] The version identifier of the first function, the interface information of the first function, the identifier of the first function, the source indication information of the first function, the generation time information of the first function, the name of the first function, the annotation of the first function, or the information of the associated function of the first function.
[0174] The registration process of the log after the first device and the agent establish a connection will be described in detail below in conjunction with FIG. 6.
[0175] FIG. 6 is a schematic flowchart of a communication method provided by the present application. The following steps are included:
[0176] S610, the first device sends a log to the agent, and correspondingly, the agent receives the log from the first device.
[0177] Specifically, the log includes the running log of the first device, and / or the log controlled by the agent.
[0178] Exemplarily, when the log level of the first device > 0, the history log of the first device is reported after the connection between the first device and the agent is established, and the history log of the first device can be used as the long-term memory of the agent. Optionally, the history log of the first device includes but is not limited to:
[0179] the running log of the first device, the history agent control log, or the history agent control preset log, the running log including but not limited to: the number of UEs, throughput, quality of service (QoS), fairness, and other device running related logs; the agent control log refers to the operation of the agent on the device, such as the running function, the generated configuration change, and the like.
[0180] The running log of the first device is used to obtain the current network state; the history agent control log and the history agent control preset log are used to align the agent language preferences, such as for in-context learning.
[0181] Exemplarily, when the log level of the first device > 1, the first device can still report logs during running, and the logs during the running period can be generally used as the short-term memory of the agent. Optionally, the running log of the first device includes but is not limited to: the running log of the first device and / or the current agent control log, wherein the current agent control log is used for fine-tuning of subsequent sub-tasks and / or planning.
[0182] Optionally, the agent control log includes: task description, agent ID, planning result, and task key performance indicator (KPI) achievement information.
[0183] It should be understood that the size of the serial number of the above processes does not mean the order of execution, and the execution order of each process should be determined according to its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0184] It should also be understood that in various embodiments of the present application, the terms and / or descriptions of different embodiments are consistent and can be mutually referred to if there is no special description and logical conflict, and the technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationship.
[0185] It should also be understood that in some of the above embodiments, the existing network architecture is mainly exemplarily illustrated by taking the device as an example, and it should be understood that the specific form of the device is not limited by the embodiments of the present application. For example, devices that can achieve the same function in the future are also applicable to the embodiments of the present application.
[0186] It can be understood that, in each of the above method embodiments, the method and operation implemented by the device (such as the first device, the agent) can also be implemented by a component (such as a chip or a circuit) that can be used for the device.
[0187] It can also be understood that some optional features in the embodiments of the present application can not depend on other features in some scenarios, or can be combined with other features in some scenarios, without limitation. In addition, simple modifications of the embodiments of the present application are also within the protection scope of the present application, for example, the interaction between the first device and the agent shown in FIG. 5 and / or FIG. 6 can be after the first device and the agent establish a communication connection shown in FIG. 5; or the interaction between the first device and the agent shown in FIG. 5 and / or FIG. 6 is after the first device and the agent establish a communication connection, but the way in which the first device and the agent establish a communication connection can be a way other than the way shown in FIG. 5, which is not repeated here.
[0188] The above describes the communication method provided by the embodiments of the present application in detail in combination with FIG. 4 to FIG. 5. The above communication method is mainly introduced from the perspective of the first device and the agent. It can be understood that, in order to implement the above functions, the first device and the agent contain the corresponding hardware structure and / or software module for executing each function.
[0189] Those skilled in the art should realize that, in combination with the units and algorithm steps of the examples described in the embodiments disclosed herein, the present application can be realized in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0190] The following describes the communication apparatus provided by the embodiments of the present application in detail in combination with FIG. 7 and FIG. 8. It should be understood that the description of the apparatus embodiments corresponds to the description of the method embodiments, therefore, the content not described in detail can be referred to the above method embodiments, and some content is not repeated for brevity.
[0191] The embodiments of the present application can divide the function modules of the sending end device or the receiving end device according to the above method examples. For example, each function module can be divided according to each function, or two or more functions can be integrated in one processing module. The integrated module can be realized in the form of hardware or in the form of a software function module. It should be noted that the division of the modules in the embodiments of the present application is illustrative, and is only a logical function division. In actual implementation, another division manner can be used. The following will be described by taking the division of each function module according to each function as an example.
[0192] FIG. 7 is a schematic block diagram of the communication apparatus 10 provided by the embodiments of the present application. The communication apparatus 10 includes a transceiver module 11 and a processing module 12. The transceiver module 11 can realize corresponding communication functions, and the processing module 12 is configured to perform data processing. In other words, the transceiver module 11 is configured to perform receiving and sending related operations, and the processing module 12 is configured to perform other operations except receiving and sending. The transceiver module 11 can also be referred to as a communication interface or a communication unit. The transceiver module 11 can include a receiving module and / or a sending module. The receiving module is configured to perform receiving related operations, and the sending module is configured to perform sending related operations.
[0193] Optionally, the communication apparatus 10 can further include a storage module 13. The storage module 13 can be configured to store computer programs or instructions and / or data. The processing module 12 can read the computer programs or instructions and / or data in the storage module, so that the apparatus realizes the actions of the device in the foregoing method embodiments. The above modules can also be referred to as units, such as a transceiver unit, a processing unit, a storage unit, and the like.
[0194] In one design, the communication apparatus 10 can correspond to the first device in the above method embodiments, or be a component (such as a chip) of the first device.
[0195] The communication apparatus 10 can realize the steps or processes performed by the first device in the above method embodiments. The transceiver module 11 can be configured to perform the receiving and sending related operations of the first device in the above method embodiments, and the processing module 12 can be configured to perform the processing related operations of the first device in the above method embodiments.
[0196] In a possible implementation, the processing module 12 is configured to determine the capability information of the first device. The transceiver module 11 is configured to send the capability information of the first device to the agent; wherein the capability information comprises at least one of the following information: indication information of an artificial general intelligence (AGI) level, indication information of an application programming interface (API) level, or indication information of a log level, the indication information of the AGI level is used to indicate the intelligent degree supported by the first device, the indication information of the API level is used to indicate the function opening degree supported by the first device, and the indication information of the log level is used to indicate the log opening degree of the first device.
[0197] When the communication apparatus 10 is configured to perform the method in FIG. 4, the transceiver module 11 can be configured to perform the steps of receiving and sending information in the method, such as steps S411, S412, S413 and S410; and the processing module 12 can be configured to perform the processing steps in the method, such as step S420.
[0198] When the communication apparatus 10 is configured to perform the method in FIG. 5, the transceiver module 11 can be configured to perform the steps of receiving and sending information in the method, such as steps S510, S520 and S540; and the processing module 12 can be configured to perform the processing steps in the method, such as step S530.
[0199] When the communication apparatus 10 is configured to perform the method in FIG. 6, the transceiver module 11 can be configured to perform the steps of receiving and sending information in the method, such as step S610; and the processing module 12 can be configured to perform the processing steps in the method.
[0200] It should be understood that the specific process of each unit performing the corresponding steps described above has been described in detail in the above method embodiments, and for the sake of brevity, will not be repeated here.
[0201] In another design, the communication apparatus 10 can correspond to the agent in the above method embodiments, or be a component (such as a chip) of the agent.
[0202] The communication apparatus 10 can implement the steps or processes performed by the agent corresponding to the above method embodiments, wherein the transceiver module 11 can be configured to perform the transceiving-related operations of the agent in the above method embodiments, and the processing module 12 can be configured to perform the processing-related operations of the agent in the above method embodiments.
[0203] In a possible implementation, the transceiver module 11 is configured to receive capability information from the first device. The processing module 12 is configured to establish a communication connection with the first device according to the capability information, wherein the capability information comprises at least one of the following: indication information of an artificial general intelligence (AGI) level, indication information of an application programming interface (API) level, or indication information of a log level, the indication information of the AGI level being used to indicate an intelligent level supported by the first device, the indication information of the API level being used to indicate an open function level supported by the first device, and the indication information of the log level being used to indicate an open log level of the first device.
[0204] When the communication apparatus 10 is configured to perform the method in FIG. 4, the transceiver module 11 can be configured to perform the steps of receiving and / or sending information in the method, such as steps S411, S412, S413 and S410; and the processing module 12 can be configured to perform the processing steps in the method, such as step S420.
[0205] When the communication apparatus 10 is configured to perform the method in FIG. 5, the transceiver module 11 can be configured to perform the steps of receiving and / or sending information in the method, such as steps S510, S520 and S540; and the processing module 12 can be configured to perform the processing steps in the method.
[0206] When the communication apparatus 10 is configured to perform the method in FIG. 6, the transceiver module 11 can be configured to perform the steps of receiving and / or sending information in the method, such as step S610; and the processing module 12 can be configured to perform the processing steps in the method.
[0207] It should be understood that the specific process in which each module or unit performs the corresponding steps described above has been described in detail in the method embodiments described above, and thus will not be described here again for the sake of brevity.
[0208] It should also be understood that the communication apparatus 10 herein is embodied in the form of functional modules. The term "module" herein can refer to an application specific integrated circuit (ASIC), an electronic circuit, a processor (shared, dedicated or group) and memory that execute one or more software or firmware programs, a combinational logic circuit, and / or other suitable components that provide the described functionality. In one optional example, those skilled in the art can understand that the apparatus 10 can be embodied in the mobile management network element in the above embodiments, and can be used to execute the processes and / or steps corresponding to the mobile management network element in the above method embodiments; or the apparatus 10 can be embodied in the terminal device in the above embodiments, and can be used to execute the processes and / or steps corresponding to the terminal device in the above method embodiments, which will not be repeated here to avoid repetition.
[0209] The communication apparatus 10 of each of the above schemes has the function of implementing the corresponding steps performed by the device (such as the first device, the agent) in the above method. The function can be implemented by hardware, or implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions; for example, the transceiver module can be replaced by a transceiver (for example, the sending module in the transceiver module can be replaced by a transmitter, and the receiving module in the transceiver module can be replaced by a receiver), and other units such as the processing module can be replaced by a processor, which respectively performs the transceiving operation and related processing operation in each method embodiment.
[0210] In addition, the above transceiver module 11 can also be a transceiver circuit (for example, it can include a receiving circuit and a sending circuit), and the processing module can be a processing circuit.
[0211] FIG. 8 is a schematic diagram of another communication apparatus 20 provided by the embodiments of the present application. The communication apparatus 20 includes a processor 21, which is used to execute the computer program or instruction stored in a memory 22, or read the data / signaling stored in the memory 22, to perform the method in the above method embodiments. Optionally, the processor 21 is one or more.
[0212] Optionally, as shown in FIG. 8, the communication apparatus 20 further includes a transceiver 23 for receiving and / or sending signals. For example, the processor 21 is used to control the transceiver 23 to receive and / or send signals. The transceiver 23 can include a receiver for receiving signals and / or a transmitter for sending signals; if the communication apparatus 20 is a chip, the transceiver 23 is an input / output interface of the chip, wherein the output corresponds to the sending, and the input corresponds to the receiving.
[0213] Optionally, as shown in FIG. 8, the communication apparatus 20 further includes a memory 22, which is configured to store computer programs or instructions and / or data. The memory 22 can be integrated with the processor 21, or can be separately arranged. Optionally, the memory 22 is one or more.
[0214] As an option, the communication apparatus 20 is configured to implement the operations performed by the first device, the agent in each of the above method embodiments.
[0215] It should be understood that the processor mentioned in the embodiments of the present application can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor.
[0216] It should also be understood that the memory referred to in the embodiments of the application can be a volatile memory and / or a non-volatile memory. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically EPROM (EEPROM) or a flash memory. The volatile memory can be a random access memory (RAM). For example, the RAM can be used as an external cache. As an example but not limitation, the RAM includes the following various forms: static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchlink DRAM (SLDRAM) and direct rambus RAM (DR RAM).
[0217] It should be noted that when the processor is a general processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, the memory (storage module) can be integrated in the processor.
[0218] It should also be noted that the memory described herein is intended to include, but not limited to, these and any other suitable type of memory.
[0219] The embodiments of the application provide a chip system. The chip system (or also can be called processing system) includes a logic circuit and an input / output interface.
[0220] Among them, the logic circuit can be a processing circuit in the chip system. The logic circuit can be coupled to the storage unit, call the instructions in the storage unit, so that the chip system can realize the method and function of the embodiments of the application. The input / output interface can be an input / output circuit in the chip system, output the information processed by the chip system, or input the data or signaling information to be processed into the chip system for processing.
[0221] As a solution, the chip system is configured to implement operations performed by the first device, the agent in each of the above method embodiments.
[0222] For example, the logic circuit is configured to implement operations related to processing performed by the first device, the agent in each of the above method embodiments; and the input / output interface is configured to implement operations related to sending and / or receiving performed by the first device, the agent in each of the above method embodiments.
[0223] The embodiments of the present application further provide a computer readable storage medium, having stored thereon computer instructions for implementing the method performed by the device in each of the above method embodiments.
[0224] For example, the computer program, when executed by a computer, enables the computer to implement the method performed by the first device, the agent in each of the above method embodiments.
[0225] The embodiments of the present application further provide a computer program product, comprising a computer program or instructions, which, when executed by a computer, implement the method performed by the first device, the agent in each of the above method embodiments.
[0226] The embodiments of the present application further provide a communication system, comprising the first device and the agent as described above.
[0227] The explanations and beneficial effects of the related contents in any of the above apparatuses can refer to the corresponding method embodiments provided above, and will not be repeated here.
[0228] Those skilled in the art can understand that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be realized in electronic hardware or a combination of computer software and electronic hardware. Whether the functions are realized in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0229] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described system, apparatus and unit can refer to the corresponding processes in the above method embodiments, and will not be repeated here.
[0230] In several embodiments provided in the present application, it should be understood that the disclosed system, device and method can be implemented in other manners. For example, the described device embodiments are merely schematic. The division of the units is merely logical function division. There can be other division manners in actual implementation. For example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections can be indirect couplings or communication connections through some interfaces, devices or units, and can be in electrical, mechanical or other forms.
[0231] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, i.e., can be located in one place, or can be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
[0232] In addition, each functional unit in the various embodiments of the present application can be integrated into a processing unit, or each unit can be a physically separate unit, or two or more units can be integrated into one unit.
[0233] If the functions are realized in the form of software function units and sold or used as independent products, they can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application can be embodied in the form of a software product, and the computer software product is stored in a storage medium, and includes a number of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes.
[0234] The above is merely specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A communication method characterized by comprising: The method is applied to an agent, and comprises: receiving capability information from a first device; establishing a communication connection with the first device according to the capability information; wherein the capability information comprises at least one of the following information: indication information of an artificial general intelligence (AGI) level, indication information of an application programming interface (API) level, or indication information of a log level, the indication information of the AGI level being used to indicate an intelligent degree supported by the first device, the indication information of the API level being used to indicate a function opening degree supported by the first device, and the indication information of the log level being used to indicate a log opening degree of the first device.
2. The method of claim 1, wherein: the higher the AGI level, the higher the intelligent degree of the first device; and / or the higher the API level, the higher the function opening degree of the first device; and / or the higher the log level, the higher the log opening degree of the first device. Before the receiving of the capability information from the first device, the method further comprises:
3. The method according to claim 1 or 2, characterized in that, sending a first request message to the first device, the first request message being used to request the establishment of the communication connection with the first device. Before the receiving of the capability information from the first device, the method further comprises:
4. The method according to claim 1 or 2, characterized in that, receiving a second request message from the first device, the second request message being used to request the establishment of the communication connection with the agent; in response to the second request message, sending a query message to the first device, the query message being used to query the capability information of the first device. The receiving of the capability information from the first device comprises:
5. The method according to claim 1 or 2, characterized in that, receiving a third request message from the first device, the third request message being used to request the establishment of the communication connection with the agent, and the capability information being included in the third request message. The method further comprises:
6. The method according to any one of claims 1 to 5, characterized in that, receiving registration information from the first device, the registration information comprising an identifier of the first device and at least one of the following information: a version identifier of each function of at least one function, interface information of each function of the at least one function, an identifier of each function of the at least one function, source indication information of each function of the at least one function, generation time information of each function of the at least one function, a name of each function of the at least one function, an annotation of each function of the at least one function, or information of an associated function of each function of the at least one function, wherein the at least one function is a function in the first device. In a case where the API level is greater than a first threshold, the method further comprises:
7. The method according to any one of claims 1 to 6, characterized in that, sending a first message to the first device, the first message being used to indicate a first function required by the agent; receiving information of the first function from the first device; wherein the information of the first function comprises at least one of the following information: the version identifier of the first function, the interface information of the first function, the identifier of the first function, the source indication information of the first function, the generation time information of the first function, the name of the first function, the annotation of the first function, or the information of the associated function of the first function.
8. The method according to any one of claims 1 to 7, characterized in that, The method further includes: receiving a log from the first device, the log including a running log of the first device, and / or a log controlled by the agent.
9. A communication method characterized by comprising: The method is applied to a first device, and includes: determining capability information of the first device; sending the capability information of the first device to an agent; wherein the capability information includes at least one of the following information: indication information of an artificial general intelligence (AGI) level, indication information of an application programming interface (API) level, or indication information of a log level, the indication information of the AGI level being used to indicate an intelligent degree supported by the first device, the indication information of the API level being used to indicate a function opening degree supported by the first device, and the indication information of the log level being used to indicate a log opening degree of the first device.
10. The method of claim 9, wherein: the higher the AGI level, the higher the intelligent degree of the first device; and / or the higher the API level, the higher the function opening degree of the first device; and / or the higher the log level, the higher the log opening degree of the first device. Before the sending of the capability information of the first device to the agent, the method further includes:
11. The method according to claim 9 or 10, characterized in that, receiving a first request message from the agent, the first request message being used to request a communication connection with the first device. Before the sending of the capability information of the first device to the agent, the method further includes:
12. The method according to claim 9 or 10, characterized in that, sending a second request message to the agent, the second request message being used to request a communication connection with the agent; receiving a query message from the agent, the query message being used to query the capability information of the first device. The sending of the capability information of the first device to the agent includes:
13. The method of claim 9 or 10, wherein, sending a third request message to the agent, the third request message being used to request a communication connection with the agent, and the capability information being included in the third request message. The method further includes:
14. The method according to any one of claims 9 to 13, characterized in that, sending registration information to the agent, the registration information including the identifier of the first device and at least one of the following information: a version identifier of each function of at least one function, interface information of each function of the at least one function, an identifier of each function of the at least one function, source indication information of each function of the at least one function, generation time information of each function of the at least one function, a name of each function of the at least one function, an annotation of each function of the at least one function, or information of an associated function of each function of the at least one function, wherein the at least one function is a function in the first device. In a case where the API level is greater than a first threshold, the method further includes:
15. The method according to any one of claims 9 to 14, characterized in that, receiving a first message from the agent, the first message being used to indicate a first function required by the agent; generating the first function in response to the first message; sending information of the first function to the agent, wherein the information of the first function comprises at least one of the following information: version identification of the first function, interface information of the first function, identification of the first function, source indication information of the first function, generation time information of the first function, name of the first function, annotation of the first function, or information of an associated function of the first function.
16. The method of claim 15, wherein, Before the sending information of the first function to the agent, the method further comprises: verifying the first function.
17. The method according to any one of claims 9 to 16, characterized in that, The method further comprises: sending a log to the agent, the log comprising a running log of the first device, and / or a log of the agent control.
18. A communications device, characterized by comprising: one or more functional modules for performing the method according to any one of claims 1 to 8; or, one or more functional modules for performing the method according to any one of claims 9 to 17.
19. A communications device, characterized by comprising: a processor for executing a computer program stored in a memory, so as to cause the apparatus to perform the method according to any one of claims 1 to 8; or, so as to cause the apparatus to perform the method according to any one of claims 9 to 17.
20. A computer program product, characterised in that, The computer program product comprises instructions for performing the method according to any one of claims 1 to 17.
21. A computer-readable storage medium, comprising: comprising: The computer readable storage medium stores a computer program or instructions; the computer program or instructions, when running on a computer, cause the computer to perform the method according to any one of claims 1 to 17.
22. A chip, characterized by The chip is installed in a communication apparatus, the chip comprises a processor and a communication interface, the processor reads and runs the computer program or instructions through the communication interface, so as to cause the communication apparatus to perform the method according to any one of claims 1 to 17.
Citation Information
Patent Citations
Information transmission method and device, communication equipment and storage medium
CN111819872A
AI information transmission method and equipment
CN116137595A
Communication method and communication device
CN116996453A
Communication method and device
CN117768875A