Communication method and related apparatus
By utilizing mapping relationships to determine semantic similarity and translate message formats in future communication networks, the problem of difficult interaction between intelligent agents and traditional network elements is solved, achieving efficient communication translation and system flexibility.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Filing Date
- 2025-11-11
- Publication Date
- 2026-05-21
Smart Images

Figure CN2025134016_21052026_PF_FP_ABST
Abstract
Description
Communication methods and related devices
[0001] This application claims priority to Chinese Patent Application No. 202411655366.2, filed on November 15, 2024, entitled "Communication Method and Related Apparatus", the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of communication technology, and in particular to a communication method and related apparatus. Background Technology
[0003] Future communication networks need to support new business scenarios such as the integration of artificial intelligence (AI) with communication, and the fusion of perception and communication. Examples include smart cities and digital healthcare. Different business scenarios have different performance requirements; therefore, future communication networks need strong customization capabilities to integrate end-to-end network functions, application functions, and various resources (e.g., communication resources, computing resources, data resources) to build end-to-end application networks. The large number of future application networks, each involving the flexible assembly of multiple functions and multi-dimensional resources with complex parameter configurations, presents significant challenges to application network design and management. However, agents based on large language models (LLMs) are considered an effective way to solve these problems due to their powerful intent understanding, reasoning abilities, and the ability to interact with the environment and evolve independently. Therefore, in future communication networks, reconstructing the core network based on agents will become a trend, meaning the core network will include multiple agents.
[0004] However, end-to-end application networks rarely consist entirely of intelligent agents. For example, terminal devices, base stations, and parts of the core network (such as mobility management functions) still rely on traditional network elements. This means future communication networks will involve the coexistence of multiple intelligent agents and multiple traditional network elements. Intelligent agents parse declarative interface messages carried in forms such as natural language, while traditional network elements parse command-line interface standard signaling messages. Intelligent agents and traditional network elements cannot parse the messages sent by each other. Therefore, how intelligent agents and traditional network elements interact with each other is a problem that urgently needs to be solved. Summary of the Invention
[0005] This application provides a communication method and related apparatus for a first entity to receive a first message from a second entity, the first message being in a first format. The first entity then selects a target first format message based on the semantic similarity between the first message and various first format messages indicated in a first mapping relationship. If the semantic similarity between the first message and the target first format message is greater than or equal to a first threshold, the first entity sends a second format message corresponding to the target first format message in the first mapping relationship to a third entity. This enables the first entity to translate the received first message into a target second format message. Specifically, it translates the first message (i.e., a declarative interface message) into a command interface standard signaling message so that the third entity can understand the first message. This enables communication between the second entity (e.g., a first intelligent network element) and the third entity (e.g., an access network device, a terminal device, or a traditional network element).
[0006] This application provides a communication method, which is applied to a first entity or a device within a first entity; the method is described below using a first entity as an example. The method includes: the first entity receiving a first message from a second entity, the first message being in a first format; the first entity determining the semantic similarity between the first message and various first format messages indicated in a first mapping relationship, the first mapping relationship including a mapping relationship between at least one first format message and at least one second format message; the first entity selecting a target first format message based on the semantic similarity between the first message and the various first format messages indicated in the first mapping relationship, the target first format message being one of the first format messages indicated in the first mapping relationship; if the semantic similarity between the first message and the target first format message is greater than or equal to a first threshold, the first entity sending a second format message corresponding to the target first format message in the first mapping relationship to a third entity.
[0007] In the above technical solution, a first entity receives a first message from a second entity, the first message being in a first format. Then, the first entity selects a target first format message based on the semantic similarity between the first message and each first format message indicated in the first mapping relationship. If the semantic similarity between the first message and the target first format message is greater than or equal to a first threshold, the first entity sends a second format message corresponding to the target first format message in the first mapping relationship to the third entity. This achieves the first entity translating the received first message into a target second format message. In other words, the first message (i.e., a declarative interface message) is translated into a command interface standard signaling message so that the third entity can understand the first message. This enables communication between the second entity and the third entity (e.g., access network equipment, terminal equipment, or traditional network elements).
[0008] Based on the first aspect, in one possible implementation, the method further includes: if the semantic similarity between the first message and the target first format message is less than a first threshold, then the first entity sends a second message to the second entity, the second message indicating that the first message does not have a matching second format message. This facilitates instructing the second entity to update the first message to provide a suitable message to the first entity, and facilitates the first entity to translate the updated first message into a suitable second format message and forward it to a third entity (e.g., access network equipment, terminal equipment, or traditional network element).
[0009] Based on the first aspect, in one possible implementation, the target first format message is the first format message with the highest semantic similarity to the first message among the first format messages indicated by the first mapping relationship. This is beneficial for improving translation accuracy.
[0010] Based on the first aspect, in one possible implementation, the second message also carries information from the target first format message. This allows the second entity to refer to the information in the target first format message to provide a suitable message to the first entity, facilitating the first entity to provide translation functionality.
[0011] Based on the first aspect, in one possible implementation, after the first entity sends the second message to the second entity, the method further includes: the first entity receiving a third message from the second entity, the third message being obtained by updating the first message based on the second message. This provides the first entity with an updated first message, facilitating the first entity to translate the updated first message into a suitable second-format message and forward it to the third entity (e.g., access network equipment, terminal equipment, or traditional network element).
[0012] Based on the first aspect, one possible implementation further includes: a first entity receiving first configuration information, the first configuration information being used to configure a first mapping relationship; and the first entity translating a first-format message into a second-format message based on the first mapping relationship.
[0013] Based on the first aspect, in one possible implementation, the first configuration information is also used to configure the first threshold.
[0014] A second aspect of this application provides a communication method, which is applied to a second entity or to a device within the second entity; the method is described below using the second entity as an example. The method includes: the second entity sending a first message to a first entity, the first message being in a first format; and the second entity receiving a second message from the first entity, the second message indicating that the first message does not match a second format message.
[0015] In the above technical solution, the second entity sends a first message in a first format to the first entity. Then, the second entity receives a second message. The second message indicates that there is no matching second-format message in the first message. This allows the second entity to know the translation status of the first message by the first entity. Furthermore, the second entity can update the first message based on the second message to provide an updated first message. This facilitates the first entity providing translation capabilities to the second entity and forwarding the translated first message to the third entity. This enables communication between the second entity and the third entity (e.g., access network equipment, terminal equipment, or traditional network elements).
[0016] Based on the second aspect, in one possible implementation, the second message further carries information from the target first format message. The target first format message is selected based on the semantic similarity between the first message and each first format message indicated in the first mapping relationship. The target first format message is one of the first format messages indicated by the first mapping relationship, which includes a mapping relationship between at least one first format message and at least one second format message. In this implementation, the second message also carries information from the target first format message, which facilitates the second entity updating the first message by referring to the information in the target first format message, and makes it easier to provide a first format message that the second entity can translate.
[0017] Based on the second aspect, in one possible implementation, the target first format message is the first format message with the highest semantic similarity to the first message among the first format messages indicated by the first mapping relationship. This facilitates the second entity providing a suitable first format message to the first entity, making it easier for the first entity to translate the first format message.
[0018] Based on the second aspect, in one possible implementation, the method further includes: the second entity sending a third message to the first entity, the third message being obtained by updating the first message based on the second message. This enables the second entity to update and send the first message. It facilitates the first entity to translate the third message into a second format message and forward it to the third entity. This enables communication between the second entity and the third entity (e.g., access network equipment, terminal equipment, or traditional network elements).
[0019] A third aspect of this application provides a communication method, which is applied to a first entity or a device within the first entity; the method is described below using the first entity as an example. The method includes: the first entity receiving a second message from a fourth entity, the second message being in a second format; the first entity determining a first format message corresponding to the second message based on a first mapping relationship, the first mapping relationship including a mapping relationship between at least one first format message and at least one second format message; and the first entity sending the first format message corresponding to the second message to a fifth entity.
[0020] In the above technical solution, the first entity receives a second message from the fourth entity. The second message is in a second format. The first entity determines the first format message corresponding to the second message based on a first mapping relationship. Then, the first entity sends the first format message corresponding to the second message to the fifth entity. This enables the first entity to translate the second message into a first format message. That is, the second message (command-based interface standard signaling message) is translated into a first format message (i.e., a declarative interface message) so that the fifth entity can understand the second message. This enables communication between the fourth entity (e.g., a terminal device, access network device, or traditional network element) and the fifth entity (e.g., an intelligent network element).
[0021] Based on the third aspect, in one possible implementation, the method further includes: a first entity receiving second configuration information, the second configuration information being used to configure a first mapping relationship, so that the first entity can translate the second message into a first format message.
[0022] This application provides a fourth aspect of a communication method, which is applied to a first entity or a device within the first entity; the method is described below using the first entity as an example. The method includes: the first entity receiving a third message, the third message being in a first format or a second format; the first entity determining a prompt template format based on the third message, wherein the third message is in the first format and the prompt template format is used to convert the third message into a second format message, or the third message is in the second format and the prompt template format is used to convert the third message into a first format message; the first entity generating a first prompt based on the prompt template format and the third message; and the first entity sending the first prompt to a sixth entity.
[0023] In the above technical solution, the first entity receives a third message. The format of the third message is either a first format or a second format. The first entity determines the prompt template format based on the third message. Then, the first entity generates a first prompt based on the prompt template format and the third message, and sends the first prompt to the sixth entity. This facilitates the sixth entity in translating declarative interface messages into command-based interface standard signaling messages, or in implementing the translation of command-based interface standard messages into declarative interface messages.
[0024] Based on the fourth aspect, in one possible implementation, the method further includes: a first entity receiving a fourth message from a sixth entity, wherein if the third message is in a first format, the fourth message is a second format message corresponding to the third message; or, if the third message is in a second format, the fourth message is a first format message corresponding to the third message. This implements the translation of the third message into the fourth message.
[0025] Based on the fourth aspect, in one possible implementation, the method further includes: a first entity receiving third configuration information, the third configuration information being used to configure a prompt template library, the prompt template library including at least one prompt template format. This allows the first entity to select an appropriate prompt template format based on the third message to generate a first prompt.
[0026] Based on the fourth aspect, in one possible implementation, the first entity receives the third message, including: the first entity receives the third message from the seventh entity.
[0027] This application provides a fifth aspect of a communication method, which is applied to a sixth entity or a device within the sixth entity; the method is described below using the sixth entity as an example. The method includes: the sixth entity receiving a first prompt from a first entity, the first prompt being generated based on a prompt template format and a third message, the prompt template format being determined based on the third message, the third message being in either a first format or a second format; the sixth entity inputting the first prompt into a first model to obtain a fourth message output by the first model, where the third message is in the first format and the fourth message is in the second format corresponding to the third message, or the third message is in the second format and the fourth message is in the first format corresponding to the third message. This achieves the translation of the third message into a fourth message.
[0028] Based on the fifth aspect, one possible implementation method also includes: the sixth entity sending a fourth message to the first entity.
[0029] The sixth aspect of this application provides a communication device, comprising:
[0030] The transceiver module is used to receive a first message from a second entity, and the format of the first message is a first format;
[0031] The processing module is configured to determine the semantic similarity between the first message and each first format message indicated in the first mapping relationship, wherein the first mapping relationship includes a mapping relationship between at least one first format message and at least one second format message; and select a target first format message based on the semantic similarity between the first message and each first format message indicated in the first mapping relationship, wherein the target first format message is one of the first format messages indicated by the first mapping relationship.
[0032] The transceiver module is also configured to send a second format message corresponding to the target first format message in the first mapping relationship to a third entity if the semantic similarity between the first message and the target first format message is greater than or equal to a first threshold.
[0033] Based on the sixth aspect, in one possible implementation, the sending and receiving module is further configured to: if the semantic similarity between the first message and the target first format message is less than a first threshold, then send a second message to the second entity, the second message being used to indicate that the first message does not have a matching second format message.
[0034] Based on the sixth aspect, in one possible implementation, the target first format message is the first format message with the greatest semantic similarity to the first message among the first format messages indicated by the first mapping relationship.
[0035] Based on the sixth aspect, in one possible implementation, the second message also carries information from the target first format message.
[0036] Based on the sixth aspect, in one possible implementation, the transceiver module is also used to: receive a third message from the second entity, the third message being obtained by updating the first message based on the second message.
[0037] Based on the sixth aspect, in one possible implementation, the transceiver module is further configured to: receive first configuration information, which is used to configure a first mapping relationship.
[0038] Based on the sixth aspect, in one possible implementation, the first configuration information is also used to configure the first threshold.
[0039] A seventh aspect of this application provides a communication device, comprising:
[0040] The transceiver module is used to send a first message to a first entity, the first message being in a first format; and to receive a second message from the first entity, the second message being used to indicate that the first message does not have a matching second format message.
[0041] Based on the seventh aspect, in one possible implementation, the second message also carries information from the target first format message, which is selected based on the semantic similarity between the first message and each first format message indicated in the first mapping relationship. The target first format message is one of the first format messages indicated by the first mapping relationship, which includes a mapping relationship between at least one first format message and at least one second format message.
[0042] Based on the seventh aspect, in one possible implementation, the target first format message is the first format message with the greatest semantic similarity to the first message among the first format messages indicated by the first mapping relationship.
[0043] Based on the seventh aspect, in one possible implementation, the sending and receiving module is also used to: send a third message to the first entity, wherein the third message is obtained by updating the first message based on the second message.
[0044] The eighth aspect of this application provides a communication device, comprising:
[0045] The transceiver module is used to receive a second message from a fourth entity, the second message being in a second format; determine the first format message corresponding to the second message according to a first mapping relationship, the first mapping relationship including a mapping relationship between at least one first format message and at least one second format message; and send the first format message corresponding to the second message to a fifth entity.
[0046] Based on the eighth aspect, in one possible implementation, the transceiver module is further configured to: receive second configuration information, which is used to configure the first mapping relationship.
[0047] The ninth aspect of this application provides a communication device, comprising:
[0048] The transceiver module is used to receive third messages, which are in either the first or second format.
[0049] The processing module is used to determine the prompt template format based on the third message. If the third message is in the first format, the prompt template format is used to convert the third message into a second format message, or if the third message is in the second format, the prompt template format is used to convert the third message into a first format message; and to generate a first prompt based on the prompt template format and the third message.
[0050] The transceiver module is also used to send the first prompt to the sixth entity.
[0051] Based on the ninth aspect, in one possible implementation, the transceiver module is further configured to: receive a fourth message from the sixth entity, wherein if the third message is in a first format, the fourth message is a second format message corresponding to the third message; or, if the third message is in a second format, the fourth message is a first format message corresponding to the third message.
[0052] Based on the ninth aspect, in one possible implementation, the transceiver module is further configured to: receive third configuration information, the third configuration information being used to configure a prompt template library, the prompt template library including at least one prompt template format.
[0053] Based on the ninth aspect, in one possible implementation, the transceiver module is also used to: receive a third message from the seventh entity.
[0054] The tenth aspect of this application provides a communication device, comprising:
[0055] The transceiver module is used to receive a first prompt from a first entity. The first prompt is generated based on a prompt template format and a third message. The prompt template format is determined based on the third message, which has a first format or a second format.
[0056] The processing module is used to input the first prompt into the first model and obtain the fourth message output by the first model. The third message is in the first format and the fourth message is in the second format corresponding to the third message, or the third message is in the second format and the fourth message is in the first format corresponding to the third message.
[0057] Based on the tenth aspect, in one possible implementation, the transceiver module is also used to: send a fourth message to the first entity.
[0058] The eleventh aspect of this application provides a communication device, which may be a first entity, or a module or unit (e.g., a chip, chip system, or circuit) in the first entity that performs the methods, operations, steps, or actions described in the first, third, or fourth aspects, or a communication device that can be used in conjunction with the first entity.
[0059] The twelfth aspect of this application provides a communication device. The communication device may be a second entity, or a module or unit (e.g., a chip, chip system, or circuit) within the second entity that performs the methods, operations, steps, or actions described in the second aspect, or a communication device capable of being used in conjunction with the second entity. Alternatively, the communication device may be a sixth entity, or a module or unit (e.g., a chip, chip system, or circuit) within the sixth entity that performs the methods, operations, steps, or actions described in the fifth aspect, or a communication device capable of being used in conjunction with the sixth entity.
[0060] The thirteenth aspect of this application provides a communication device including a processor for calling a computer program or computer instructions in memory, such that the processor is used to execute any implementation of any of the first to fifth aspects.
[0061] Optionally, the communication device also includes a transceiver, the processor being used to control the transceiver to perform any of the implementations of any one of the first to fifth aspects.
[0062] Optionally, the processor is integrated with the memory.
[0063] The fourteenth aspect of this application provides a computer program product including computer instructions, which, when run on a computer, causes the computer to perform any of the implementations of any one of the first to fifth aspects.
[0064] The fifteenth aspect of this application provides a computer-readable storage medium including computer instructions that, when executed on a computer, cause the computer to perform any of the implementations of any one of the first to fifth aspects.
[0065] The sixteenth aspect of this application provides a chip device including a processor for calling a computer program or computer instructions in memory to cause the processor to execute any one of the implementations of the first to fifth aspects described above.
[0066] Optionally, the processor is coupled to the memory via an interface.
[0067] The seventeenth aspect of this application provides a communication system comprising the communication devices shown in the sixth aspect and the seventh aspect. Alternatively, the communication system comprises the communication devices shown in the third aspect and the fifth aspect.
[0068] This application provides a communication method applied to a first entity. The first entity receives a first message from a second entity, the first message being in a first format. Then, the first entity determines the semantic similarity between the first message and each first format message indicated in a first mapping relationship. The first mapping relationship includes a mapping relationship between at least one first format message and at least one second format message. The Multi-Format Message Function (MPF) selects a target first format message based on the semantic similarity between the first message and each first format message indicated in the first mapping relationship, the target first format message being one of the first format messages indicated in the first mapping relationship. If the semantic similarity between the first message and the target first format message is greater than or equal to a first threshold, the first entity sends the second format message corresponding to the target first format message in the first mapping relationship to a third entity. Thus, the technical solution of this application introduces a first entity, which can select a target first format message based on the semantic similarity between the first message and each first format message indicated in the first mapping relationship. If the semantic similarity between the first message and the target first format message is greater than or equal to a first threshold, the first entity sends the second format message corresponding to the target first format message in the first mapping relationship to the third entity. This enables the first entity to translate the received first message into a target second format message. The first message (i.e., the declarative interface message) is translated into a command interface standard signaling message so that the third entity can understand the first message. This enables communication between the second entity (e.g., the first intelligent network element) and the third entity (e.g., access network equipment, terminal equipment, or traditional network element). Attached Figure Description
[0069] Figure 1 is a schematic diagram of a communication system according to an embodiment of this application;
[0070] Figure 2 is a schematic diagram of the structure of a non-access stratum (NAS) message according to an embodiment of this application;
[0071] Figure 3 is a schematic diagram of the value of the Extended Protocol Discriminator (EPD) information element in the NAS message of an embodiment of this application;
[0072] Figure 4 is a schematic diagram of an embodiment of the communication method of this application;
[0073] Figure 5 is a schematic diagram of another embodiment of the communication method of this application;
[0074] Figure 6 is a schematic diagram of yet another embodiment of the communication method of this application;
[0075] Figure 7 is a schematic diagram of yet another embodiment of the communication method of this application;
[0076] Figure 8 is a schematic diagram of another embodiment of the communication method of this application;
[0077] Figure 9 is a schematic diagram of the prompt template format in an embodiment of this application;
[0078] Figure 10 is a structural schematic diagram of a communication device according to an embodiment of this application;
[0079] Figure 11 is another structural schematic diagram of the communication device according to an embodiment of this application;
[0080] Figure 12 is another structural schematic diagram of the communication device according to an embodiment of this application;
[0081] Figure 13 is another structural schematic diagram of the communication device according to an embodiment of this application. Detailed Implementation
[0082] This application provides a communication method and related apparatus for a first entity to receive a first message from a second entity, the first message being in a first format. The first entity then selects a target first format message based on the semantic similarity between the first message and various first format messages indicated in a first mapping relationship. If the semantic similarity between the first message and the target first format message is greater than or equal to a first threshold, the first entity sends a second format message corresponding to the target first format message in the first mapping relationship to a third entity. This achieves the first entity translating the received first message into a target second format message. Specifically, it translates the first message (i.e., a declarative interface message) into a command interface standard signaling message so that the third entity can understand the first message. This enables communication between the second entity and the third entity (e.g., an access network device, a terminal device, or a traditional network element).
[0083] References to "one embodiment" or "some embodiments" as described in this application mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0084] In the description of this application, unless otherwise stated, " / " means "or". For example, A / B can mean A or B. "And / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. Furthermore, "at least one" means one or more, and "multiple" means two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or multiple items. For example, at least one of a, b, or c can represent: a, b, c, a and b, a and c, b and c, or a and b and c. Where a, b, and c can be single or multiple.
[0085] The following describes some of the technical terms used in this application.
[0086] Declarative: Describes the desired result without focusing on how it will be achieved. For example, declarative API messages.
[0087] Imperative: Describes the operation to be performed.
[0088] Application network: A logical network composed of a series of network functions, application functions, communication resources, computing resources, etc. For example, an end-to-end application network.
[0089] Future communication networks need to support new business scenarios such as the integration of AI and communication, and the convergence of sensing and communication. Examples include smart cities and digital healthcare. Different business scenarios have different performance requirements; therefore, future communication networks need strong customization capabilities to integrate end-to-end network functions, application functions, and various resources (e.g., communication resources, computing resources, data resources) to build end-to-end application networks. The large number of future application networks, each involving the flexible assembly of multiple functions and multi-dimensional resources with complex parameter configurations, presents significant challenges to application network design and management. However, LLM-based agents, with their powerful intent understanding, reasoning capabilities, and the ability to interact with the environment and evolve independently, are considered an effective way to solve these problems. Therefore, in future communication networks, reconstructing the core network based on agents will become a trend, meaning the core network will include multiple agents.
[0090] However, end-to-end application networks rarely consist entirely of intelligent agents. For example, terminal devices, base stations, and parts of the core network (e.g., mobility management functions) still rely on traditional network elements. This means future communication networks will involve the coexistence of multiple intelligent agents and multiple traditional network elements. Intelligent agents parse declarative interface messages carried in forms such as natural language, while traditional network elements parse command-line interface standard signaling messages. Intelligent agents and traditional network elements cannot send messages to each other. Therefore, how intelligent agents and traditional network elements interact with messages is a problem that urgently needs to be solved. This application provides corresponding technical solutions, which can be found in the following descriptions of the embodiments.
[0091] The following describes a possible communication system provided by this application with reference to Figure 1. Figure 1 is a schematic diagram of a communication system according to an embodiment of this application. Referring to Figure 1, the communication system includes a core network, an access network, and a terminal device 101. As shown in Figure 1, the access network includes an access network device 102. The core network may include an access management function (AM) 103, a mobility management function (MM) 104, a policy management function (PM) 105, an identity management function (IDM) 106, a planning agent 107, an assemble agent 108, a connection agent 109, an execution agent 110, and a message proxy function (MPF) 111.
[0092] Terminal device 101 can be connected to AM103, or it can be connected to AM103 through access network device 102.
[0093] AM103 is responsible for the registration and access of terminal devices. It should be noted that this application does not limit the name of the AM, nor does it impose any specific limitations. For example, the AM can also be called an access function, entity, or intelligent network element.
[0094] MM104 can update sessions based on the location of the terminal device. PM105 is responsible for policy control. IDM106 is responsible for generating the terminal device's identifier. It should be noted that this application does not limit the name of MM, nor does it limit its specific meaning. For example, MM can also be called a mobility function, entity, or intelligent network element.
[0095] The orchestration agent 107 is used to understand complex tasks and decompose them into a series of simple and easy-to-execute subtasks. It should be noted that the orchestration agent can also be called a planning agent, a scheduling agent, an entity, or an intelligent network element; this application does not limit the name of the orchestration agent.
[0096] The assembled intelligent agent 108 is responsible for intelligently selecting the execution function based on the input task or subtask description. It should be noted that the assembled intelligent agent can also be called a composite intelligent agent, entity, or intelligent network element, etc., and this application does not limit the name of the assembled intelligent agent.
[0097] The connecting agent 109 is responsible for connection management, including configuring terminal device functions and base station functions, and establishing and updating the application network topology and connections according to service requirements. It should be noted that the connecting agent can also be called a connected agent, interconnected agent, entity, or intelligent network element, etc. This application does not specifically limit the name of the connecting agent.
[0098] The executing intelligent agent 110 is responsible for computing resource management, including the deployment, updating, and deletion of functional instances, and the dynamic scheduling of computing resources. It should be noted that the executing intelligent agent can also be called a running intelligent agent, entity, or intelligent network element, etc. This application does not limit the name of the executing intelligent agent.
[0099] MPF111 is responsible for translating declarative interface messages sent by intelligent agents into command interface standard signaling messages, and translating command interface standard signaling messages sent by traditional network elements into declarative interface messages. Declarative interface messages are semantic messages carried in the form of natural language or image language. Besides natural language and image language, other expressions are also possible, and no limitation is made here. Declarative interface messages are represented in an unstructured or semi-structured format. Command interface standard signaling messages can be represented in binary, and command interface standard signaling messages are represented in a structured format. It should be noted that MPF can also be called intelligent management function, intelligent function, entity, or intelligent network element; no specific limitation is made in this application.
[0100] It should be noted that the communication system shown in Figure 1 above is merely an example and does not limit the scope of this application.
[0101] It should be noted that in the communication system shown in Figure 1 above, intelligent agents or functions can be deployed independently or in combination. This application does not limit the deployment form of intelligent agents or functions.
[0102] In a 5G communication system, the main components include terminal equipment, access network equipment, and network functions (NFs). Messages transmitted by terminal equipment or traditional network elements (e.g., access network equipment and NFs) are 3GPP-standardized signaling messages, also known as command interface standard signaling messages. Each signaling message explicitly defines multiple Information Elements (IEs), each consisting of one or more bytes. For example, consider a non-access stratum (NAS) message sent by a terminal equipment to a network function, as shown in Figure 2, which illustrates the structure of a NAS message. It should be noted that the first byte (the first 8 bits) of the NAS message shown in Figure 2 contains the Extended Protocol Discriminator (EPD) IE, whose defined values are shown in Figure 3, with different values indicating different meanings. Other IE values are similar, all being predefined binary values. When an NF receives a NAS message from a terminal equipment, the terminal equipment can parse each IE according to predefined rules to determine the meaning and parameters carried by the NAS message.
[0103] The communication system provided in this application includes a first entity, a second entity, and a third entity. The first entity can be an MPF (Multi-Level Function) as described above, or a device within an MPF. For example, a device within an MPF can be a chip, chip system, functional module, processing unit, control unit, or integrated circuit, etc., and this application does not limit the specific implementation. In the embodiment shown in Figure 4 below, the first entity is described as an MPF. The second entity can be an intelligent agent or function as described above. For example, the second entity is a first intelligent network element, or a device within a first intelligent network element. For example, a device within a first intelligent network element can be a chip, chip system, functional module, processing unit, control unit, or integrated circuit, etc. In the embodiment shown in Figure 4 below, the second entity is described as a first intelligent network element. The third entity can be a terminal device, access network device, or traditional network element, or a device corresponding to a terminal device, access network device, or traditional network element, respectively. For example, a chip, chip system, functional module, processing unit, control unit, or integrated circuit, etc., corresponding to a terminal device, access network device, or traditional network element, respectively. In the embodiment shown in Figure 4 below, the third entity is described as an access network device, etc. The embodiment shown in Figure 4 is described below. Figure 4 is a schematic diagram of an embodiment of the communication method of this application. Referring to Figure 4, the method includes:
[0104] 401. The first intelligent network element sends a first message to the MPF. Correspondingly, the MPF receives the first message from the first intelligent network element.
[0105] The format of the first message is the first format. The first format means that the message is a semantic message carried in the form of natural language, and the message is represented in an unstructured or semi-structured manner. For example, the first intelligent network element is a connected intelligent agent, and the first message is a sensing function configuration message. This first message can be represented as: configuring the base station with the identifier 2739 to collect sensing data at the location [35.2, 110.5] and the time [8, 17].
[0106] Optionally, the embodiment shown in FIG4 further includes step 401a. Step 401a may be performed before step 402.
[0107] 401a, MPF receives the first configuration information.
[0108] The first configuration information is used to configure the first mapping relationship. Please refer to the relevant description below for details on the first mapping relationship. Optionally, the first configuration information is also used to configure a first threshold. Please refer to the relevant description below for details on the first threshold.
[0109] Optionally, the MPF receives first configuration information from network elements in the core network or network elements in the management plane.
[0110] 402. MPF determines the semantic similarity between the first message and each first format message indicated in the first mapping relationship.
[0111] The first mapping relationship includes a mapping relationship between at least one first-format message and at least one second-format message. A first-format message can be understood as a message represented using a first format. A second-format message can be understood as a message represented using a second format. The second format refers to a message represented in binary format, which is a structured message. In this paper, the first-format message can be referred to as a declarative interface message, and the second-format message can be referred to as a command-based interface standard signaling message.
[0112] Optionally, the first mapping relationship can be represented by a table. For example, the first mapping relationship can be shown in Table 1:
[0113] Table 1
[0114] Specifically, MPF can calculate the semantic similarity between the first message and each of the first format messages shown in Table 1. In one possible implementation, MPF converts the first message into a first vector and converts one of the first format messages shown in Table 1 into a second vector. Then, MPF calculates the cosine of the angle between the first vector and the second vector. This cosine value represents the semantic similarity between the first message and the first format message. The smaller the cosine value, the higher the semantic similarity. The calculation method for the semantic similarity between the first message and the other first format messages in Table 1 is similar and will not be elaborated here. In another possible implementation, MPF inputs the first message and one of the first format messages shown in Table 1 into an artificial intelligence (AI) model to obtain the semantic similarity output by the AI model. The calculation method for the semantic similarity between the first message and the other first format messages in Table 1 is similar and will not be elaborated here.
[0115] 403. MPF selects the target first format message based on the semantic similarity between the first message and each first format message indicated in the first mapping relationship.
[0116] The target first format message is one of the first format messages indicated in the first mapping relationship. For example, the target first format message is the first format message with the highest semantic similarity to the first message among the first format messages indicated in the first mapping relationship. For example, as shown in Table 1, MPF determines the semantic similarity between the first message and each of the first format messages in Table 1. Then, MPF selects the first format message with the highest semantic similarity to the first message as the target first format message.
[0117] In this embodiment, different messages sent by the same intelligent network element have the same format, but their structures may differ. Messages sent by different intelligent network elements have the same format, but their structures may differ. Therefore, the MPF can calculate the semantic similarity between the messages sent by the intelligent network element and each of the first format messages in Table 1. Then, the MPF selects the first format message with the highest semantic similarity to the message sent by the intelligent network element in Table 1 based on the semantic similarity between the messages sent by the intelligent network element and each of the first format messages in Table 1.
[0118] 404. If the semantic similarity between the first message and the target first format message is greater than or equal to the first threshold, then the MPF sends the second format message corresponding to the target first format message in the first mapping relationship to the access network device.
[0119] Optionally, step 404 above can be replaced by: if the semantic similarity between the first message and the target first format message is greater than a first threshold, then the MPF sends the second format message corresponding to the target first format message in the first mapping relationship to the access network device.
[0120] Optionally, the first threshold value ranges from (0,1).
[0121] Optionally, the value of the first threshold is determined based on the accuracy requirements of the communication system for message format translation. For example, if the accuracy requirement is high, the first threshold is larger. For example, the first threshold can be 0.9 or 0.95. For example, the first message is a sensing function configuration message. This first message can be represented as: configuring a base station with identifier 2739 to collect sensing data at location [35.2, 110.5] and time [8, 17]. MPF calculates the semantic similarity between the first message and each first format message in Table 1. The target first format message is "Configure a base station with identifier [BS ID] to collect sensing data at position within time period [time period]" in Table 1. Therefore, the second format message corresponding to the target first format message is "Sensing Function configuration [BS ID, time period, position]" shown in Table 1. For access network devices, the access network devices can execute the sensing process to obtain sensing data.
[0122] It should be noted that if the MPF is directly connected to the access network device, the MPF can send the second format message corresponding to the target first format message in the first mapping relationship to the access network device. If the MPF is not directly connected to the access network device, the MPF can send the second format message corresponding to the target first format message in the first mapping relationship to the access network device through other functional network elements of the core network. For example, as shown in Figure 1, MPF111 can send the second format message corresponding to the target first format message in the first mapping relationship to access network device 102 through AM103.
[0123] 405. If the semantic similarity between the first message and the target first format message is less than a first threshold, then the MPF sends a second message to the first intelligent network element. The second message indicates that the first message does not have a matching second format message.
[0124] Specifically, if the semantic similarity between the first message and each of the first format messages shown in Table 1 above is very small, it means that the first message cannot be translated into a second format message. Therefore, the MPF can send a second message to the first intelligent network element to indicate that there is no matching second format message for the first message.
[0125] Optionally, the second message may also carry information from the target first format message.
[0126] Optionally, step 405 above can be described as follows: if the semantic similarity between the first message and the target first format message is less than or equal to a first threshold, then the MPF sends a second message to the first intelligent network element.
[0127] Optionally, the embodiment shown in FIG4 further includes steps 406 to 407. Steps 406 to 407 may be performed after step 405.
[0128] 406. The first intelligent network element sends a third message to the MPF. Correspondingly, the MPF receives the third message from the first intelligent network element.
[0129] The third message is obtained by updating the first message based on the second message. For example, the second message may also carry information from the target first format message, and the first intelligent network element may update the first message by referring to the information in the target first format message.
[0130] 407. MPF sends the second format message corresponding to the third message to the access network equipment.
[0131] Specifically, after receiving the third message, the MPF can determine the second format message corresponding to the third message using a process similar to steps 402 to 404 described above. The MPF then sends the second format message corresponding to the third message to the access network device.
[0132] It should be noted that if the MPF is directly connected to the access network device, the MPF can send the second-format message corresponding to the third message to the access network device. If the MPF is not directly connected to the access network device, the MPF can send the second-format message corresponding to the third message to the access network device through other network functions of the core network. For example, as shown in Figure 1, MPF111 can send the second-format message corresponding to the third message to access network device 102 through AM103.
[0133] In this embodiment, the MPF receives a first message from a first intelligent network element, the first message being in a first format. Then, the MPF determines the semantic similarity between the first message and each first format message indicated in a first mapping relationship. This first mapping relationship includes a mapping relationship between at least one first format message and at least one second format message. The MPF selects a target first format message based on the semantic similarity between the first message and each first format message indicated in the first mapping relationship. The target first format message is one of the first format messages indicated by the first mapping relationship. If the semantic similarity between the first message and the target first format message is greater than or equal to a first threshold, the MPF sends the second format message corresponding to the target first format message in the first mapping relationship to the access network device. Therefore, the technical solution of this application introduces an MPF, which can select a target first format message based on the semantic similarity between the first message and each first format message indicated in the first mapping relationship. If the semantic similarity between the first message and the target first format message is greater than or equal to a first threshold, the MPF sends the second format message corresponding to the target first format message in the first mapping relationship to the access network device. This achieves the translation of the received first message into a target second format message. The first message (i.e., the declarative interface message) is converted into a command interface standard signaling message so that the access network device can understand the first message, thereby realizing communication between the first intelligent network element and the access network device.
[0134] The communication system to which the technical solution provided in this application is applicable includes a first entity, a fourth entity, and a fifth entity. The first entity can be the MPF (Multi-Level Function) mentioned above, or a device within the MPF. For example, a device within the MPF can be a chip, chip system, functional module, processing unit, control unit, or integrated circuit, etc. In the embodiment shown in Figure 5 below, the first entity is described as an MPF. The fourth entity can be a terminal device, access network device, or traditional network element, or the fourth entity can be a device corresponding to the terminal device, access network device, or traditional network element respectively. For example, a chip, chip system, functional module, processing unit, control unit, or integrated circuit in a terminal device; a chip, chip system, functional module, processing unit, control unit, or integrated circuit in an access network device; or a chip, chip system, functional module, processing unit, control unit, or integrated circuit in a traditional network element. In the embodiment shown in Figure 5 below, the fourth entity is described as a terminal device, etc. The fifth entity can be the intelligent agent or function mentioned above. For example, the fifth entity is a second intelligent network element, or a device within the second intelligent network element. For example, the device in the second intelligent network element can be a chip, chip system, functional module, processing unit, control unit, or integrated circuit, etc., within the second intelligent network element. The embodiment shown in Figure 5 below uses the fifth entity as an example of the second intelligent network element. The embodiment shown in Figure 5 is described below. Figure 5 is a schematic diagram of another embodiment of the communication method of this application. Referring to Figure 5, the method includes:
[0135] 501. The terminal device sends a second message to the MPF. Correspondingly, the MPF receives the second message from the terminal device.
[0136] The second message uses the second format. Please refer to the previous section for an explanation of the second format; it will not be repeated here. For example, the second message is an application network access request signaling. This signaling is used by a terminal device to request access to an application network. Optionally, the application network access request signaling carries the terminal device's identifier, the application network's identifier, and / or security parameters.
[0137] Optionally, the embodiment shown in FIG5 further includes step 501a. Step 501a may be performed before step 502.
[0138] 501a, MPF receives the second configuration information.
[0139] The second configuration information is used to configure the first mapping relationship. Please refer to the previous section for details on the first mapping relationship; it will not be repeated here.
[0140] Optionally, the MPF receives second configuration information from network elements in the core network or network elements in the management plane.
[0141] 502. MPF determines the first format message corresponding to the second message based on the first mapping relationship.
[0142] The terminal device sends a second-format message according to the prescribed standard. Therefore, the MPF can determine the first-format message corresponding to the second message based on the first mapping relationship. For example, as shown in Table 1 above, the second message is: "Application network access request [application network ID, TMSI, security parameters, etc]". Then, as shown in Table 1, the first-format message corresponding to the second message is: "The UE identified as [TMSI] requests access to the application network identified as [application network ID], carrying security parameters [security parameters]".
[0143] 503. The MPF sends a first-format message corresponding to the second message to the second intelligent network element. Correspondingly, the second intelligent network element receives the first-format message corresponding to the second message from the MPF.
[0144] For example, the second message is an application network access request signaling, the second intelligent network element is a connecting agent, and the MPF can send the first format message corresponding to the second message to the connecting agent. As shown in Table 1, the first format message corresponding to the second message is: "The UE identified as [TMSI] requests access to the application network identified as [application network ID], carrying [security parameters]". For the connecting agent, the connecting agent can process this application network access request.
[0145] In this embodiment, the MPF receives a second message from a terminal device, the second message being in a second format. The MPF determines the first format message corresponding to the second message based on a first mapping relationship. The first mapping relationship includes a mapping relationship between at least one first format message and at least one second format message. The MPF sends the first format message corresponding to the second message to the second intelligent network element. This application introduces an MPF, which can receive a second message from a terminal device. The MPF determines the first format message corresponding to the second message based on the first mapping relationship, thereby translating the second message into a first format message. That is, translating the second message (command interface standard signaling message) into a first format message (i.e., declarative interface message) so that the second intelligent network element can understand the second message, thus enabling communication between the terminal device and the second intelligent network element.
[0146] The communication system to which the technical solution provided in this application applies includes a first entity and a sixth entity. The first entity can be the MPF (Multi-Level Function) mentioned above, or a device within the MPF. For example, a device within the MPF can be a chip, chip system, functional module, processing unit, control unit, or integrated circuit, etc., and this application does not limit the specific implementation. In the embodiment shown in Figure 6 below, the first entity is described as an MPF. The sixth entity is an intelligent agent or function with an AI model. For example, the sixth entity is a third intelligent network element, or a device within the third intelligent network element. For example, a device within the third intelligent network element can be a chip, chip system, functional module, processing unit, control unit, or integrated circuit, etc. In the embodiment shown in Figure 6 below, the technical solution of this application is described using the sixth entity as a third intelligent network element as an example.
[0147] Please refer to Figure 6. The method includes:
[0148] 601. MPF receives the third message.
[0149] The third message can be in either the first or second format. Please refer to the preceding sections for details on the first and second formats.
[0150] In one possible implementation, the third message originates from an intelligent network element, and in this case, the format of the third message is the first format. In another possible implementation, the third message originates from a terminal device, and in this case, the format of the third message is the second format. Please refer to the relevant descriptions in the embodiments shown in Figures 7 and 8 below for details.
[0151] Optionally, the embodiment shown in FIG6 further includes step 601a. Step 601a may be performed before step 602.
[0152] 601a, MPF receives third configuration information.
[0153] The third configuration information is used to configure the prompt template library. This prompt template library includes at least one prompt template format. For example, the library includes at least one prompt template format that converts a first-format message into a second-format message, and at least one prompt template format that converts a second-format message into a first-format message. For example, as shown in Figure 9, the input field in this prompt template format allows input of information from a third message.
[0154] 602. MPF determines the prompt template format based on the third message.
[0155] For example, the third message is in the first format. MPF can select a prompt template format from the prompt template library that converts the first format message into a second format message as that prompt template format. As another example, the third message is in the second format. MPF can select a prompt template format from the prompt template library that converts the second format message into a first format message as that prompt template format.
[0156] 603. MPF generates the first prompt based on the prompt template format and the third message.
[0157] For example, as shown in Figure 9, MPF writes the information from the third message into the input field of the prompt template format shown in Figure 9 to obtain the first prompt.
[0158] 604. The MPF sends a first notification to the third intelligent network element. Correspondingly, the third intelligent network element receives the first notification from the MPF.
[0159] Optionally, the embodiment shown in FIG6 further includes step 605. Step 605 may be performed after step 604.
[0160] 605. The third intelligent network element sends a fourth message to the MPF. Correspondingly, the MPF receives the fourth message from the third intelligent network element.
[0161] Specifically, after receiving the first prompt, the third intelligent network element uses the first prompt as an input parameter to the AI model and obtains the fourth message output by the AI model.
[0162] It should be noted that steps 604 to 605 above illustrate the technical solution of this application by taking the AI model deployed in the third intelligent network element, i.e., outside the MPF. If the AI model is built into the third intelligent network element, step 604 above will not be executed, and the MPF will input the first prompt to the AI model to obtain the fourth message output by the AI model.
[0163] In this embodiment, the MPF receives a third message. The format of the third message is either a first format or a second format. Then, the MPF determines the prompt template format based on the third message. If the third message is in the first format, the prompt template format is used to convert the third message into a second format message, or if the third message is in the second format, the prompt template format is used to convert the third message into a first format message. Then, the MPF generates a first prompt based on the prompt template format and the third message; the MPF sends the first prompt to the third intelligent network element. Thus, the technical solution of this application introduces an MPF, which can call a third intelligent network element, which has an AI model with message translation capabilities; or, the MPF has an AI model with message translation capabilities. When the MPF receives a declarative interface message or a command interface standard signaling message, the MPF selects a suitable prompt template format from the prompt template library and inputs the received message into the prompt template format to obtain a first prompt. Then, the MPF sends the first prompt to the third intelligent network element. The MPF receives a fourth message from the third intelligent network element. This implements the translation of declarative interface messages into command interface standard signaling messages, or the translation of command interface standard messages into declarative interface messages.
[0164] Optionally, in the embodiment shown in Figure 6, the third message in step 601 originates from a seventh entity. The seventh entity can be a terminal device, an access network device, a traditional network element, or a smart network element. Alternatively, the seventh entity can be a device corresponding to the terminal device, access network device, traditional network element, or smart network element, respectively. For example, it can be a chip, chip system, functional module, processing unit, control unit, or integrated circuit corresponding to the terminal device, access network device, traditional network element, or smart network element, respectively. The embodiment shown in Figure 7 illustrates the technical solution of this application by taking the third message originating from a fourth smart network element as an example. The embodiment shown in Figure 8 illustrates the technical solution of this application by taking the third message originating from a terminal device as an example.
[0165] Figure 7 is a schematic diagram of another embodiment of the communication method of this application. Referring to Figure 7, the method includes:
[0166] 701. The fourth intelligent network element sends a third message to the MPF. Correspondingly, the MPF receives the third message from the fourth intelligent network element.
[0167] For example, the fourth intelligent network element is the connected intelligent agent, and the third message is the base station sensing function configuration message. For example, the base station sensing function configuration message is expressed as: the base station with the identifier 2739 collects sensing data at the location [35.2, 110.5] and the time [8, 17].
[0168] Step 701a is similar to step 601a in the embodiment shown in Figure 6 above, and will not be described again here. Steps 702 to 705 are similar to steps 602 to 605 in the embodiment shown in Figure 6 above, and will not be described again here.
[0169] Optionally, the embodiment shown in FIG7 further includes step 706. Step 706 may be performed after step 705.
[0170] 706. The MPF sends a fourth message to the access network device. Correspondingly, the access network device receives the fourth message from the MPF.
[0171] In this implementation, the MPF sends a fourth message to the access network device, translating the third message into a fourth message that the access network device can understand. This enables communication between the fourth intelligent network element and the access network device.
[0172] The technical solution of this application will be described below with reference to the embodiment shown in Figure 8, taking the third message originating from a terminal device as an example. Figure 8 is a schematic diagram of another embodiment of the communication method of this application. Referring to Figure 8, the method includes:
[0173] 801. The terminal device sends a third message to the MPF. Correspondingly, the MPF receives the third message from the terminal device.
[0174] Step 801a is similar to step 601a in the embodiment shown in Figure 6 above, and will not be described again here. Steps 802 to 805 are similar to steps 602 to 605 in the embodiment shown in Figure 6 above, and will not be described again here.
[0175] Optionally, the embodiment shown in FIG8 further includes step 806. Step 806 may be performed after step 805.
[0176] 806. The MPF sends a fourth message to the fourth intelligent network element. Correspondingly, the fourth intelligent network element receives the fourth message from the MPF.
[0177] In this implementation, the MPF sends a fourth message to the fourth intelligent network element, translating the third message into a fourth message, which the fourth intelligent network element can understand. This enables communication between the fourth intelligent network element and the terminal device.
[0178] The communication device involved in this application is described below.
[0179] Figure 10 is a schematic diagram of a communication device according to an embodiment of this application. Referring to Figure 10, the communication device 1000 includes a transceiver module 1001 and a processing module 1002.
[0180] The communication device 1000 includes a first entity, or components (e.g., chips), modules, or units within the first entity.
[0181] The communication device 1000 can be used to execute all or all of the steps of the MPF execution in the embodiments shown in Figures 4 to 8 above. For details, please refer to the relevant descriptions in the embodiments shown in Figures 4 to 8 above.
[0182] The processing module 1002 is used for data processing. The transceiver module 1001 is used to implement the corresponding communication functions.
[0183] Optionally, the transceiver module 1001 may include a sending module and a receiving module. The sending module is used to perform the sending operation in the above method embodiments. The receiving module is used to perform the receiving operation in the above method embodiments.
[0184] It should be noted that the communication device 1000 may include a transmitting module but not a receiving module. Alternatively, the communication device 1000 may include a receiving module but not a transmitting module. Specifically, it depends on whether the above-described scheme executed by the communication device 1000 includes both transmitting and receiving actions.
[0185] Optionally, the communication device 1000 may further include a storage module, which can be used to store instructions and / or data. The processing module 1002 can read the instructions and / or data in the storage module so that the communication device 1000 can implement the aforementioned method embodiments.
[0186] The communication device 1000 can be used to perform the actions performed by the MPF in the above embodiments. The processing module 1002 is used to perform processing-related operations on the MPF side in the above method embodiments. The transceiver module 1001 is used to perform reception-related operations on the MPF side in the above method embodiments.
[0187] For example, the communication device 1000 is used to execute the following scheme:
[0188] The transceiver module 1001 is used to receive a first message from a second entity, wherein the format of the first message is a first format;
[0189] The processing module 1002 is used to determine the semantic similarity between the first message and each first format message indicated in the first mapping relationship, wherein the first mapping relationship includes a mapping relationship between at least one first format message and at least one second format message; and to select a target first format message based on the semantic similarity between the first message and each first format message indicated in the first mapping relationship, wherein the target first format message is one of the first format messages indicated by the first mapping relationship.
[0190] The transceiver module 1001 is further configured to send a second format message corresponding to the target first format message in the first mapping relationship to the third entity if the semantic similarity between the first message and the target first format message is greater than or equal to a first threshold.
[0191] For example, the communication device 1000 is used to execute the following scheme:
[0192] The transceiver module 1001 is used to receive a second message from a fourth entity, the second message being in a second format; determine a first format message corresponding to the second message according to a first mapping relationship, the first mapping relationship including a mapping relationship between at least one first format message and at least one second format message; and send the first format message corresponding to the second message to a fifth entity.
[0193] For example, the communication device 1000 is used to execute the following scheme:
[0194] The transceiver module 1001 is used to receive a third message, which is in either the first or second format.
[0195] The processing module 1002 is used to determine the prompt template format based on the third message, wherein the third message is in the first format and the prompt template format is used to convert the third message into a second format message, or the third message is in the second format and the prompt template format is used to convert the third message into a first format message; and to generate a first prompt based on the prompt template format and the third message.
[0196] The transceiver module 1003 is also used to send the first prompt to the sixth entity.
[0197] This application still applies to other implementation methods, and this application does not limit the specific implementation methods.
[0198] It should be understood that the specific procedures for each module to perform the above-mentioned corresponding processes have been described in detail in the above method embodiments, and will not be repeated here for the sake of brevity.
[0199] The processing module 1002 in the above embodiments can be implemented by at least one processor or processor-related circuitry. The transceiver module 1001 can be implemented by a transceiver or transceiver-related circuitry. The transceiver module 1001 can also be referred to as a communication module or communication interface. The storage module can be implemented by at least one memory.
[0200] Figure 11 is a schematic diagram of a communication device according to an embodiment of this application. Referring to Figure 11, the communication device 1100 includes a transceiver module 1101. Optionally, the communication device 1100 also includes a processing module 1102.
[0201] The communication device 1100 includes a second entity, or components (e.g., chips), modules, or units within the second entity.
[0202] The communication device 1100 can be used to execute all or part of the steps performed by the first intelligent network element in the embodiment shown in FIG4 above, or the communication device 1100 can be used to execute all or part of the steps performed by the first intelligent network element in the embodiment shown in FIG4 above. For details, please refer to the relevant description in the embodiment shown in FIG5 above.
[0203] The processing module 1102 is used for data processing. The transceiver module 1101 is used to implement the corresponding communication functions.
[0204] Optionally, the transceiver module 1101 may include a sending module and a receiving module. The sending module is used to perform the sending operation in the above method embodiments. The receiving module is used to perform the receiving operation in the above method embodiments.
[0205] It should be noted that the communication device 1100 may include a transmitting module but not a receiving module. Alternatively, the communication device 1100 may include a receiving module but not a transmitting module. Specifically, it depends on whether the above-described scheme executed by the communication device 1100 includes both transmitting and receiving actions.
[0206] Optionally, the communication device 1100 may further include a storage module, which can be used to store instructions and / or data. The processing module 1102 can read the instructions and / or data in the storage module so that the communication device 1100 can implement the aforementioned method embodiments.
[0207] The communication device 1100 can be used to perform the actions performed by the first intelligent network element in the above embodiment. The processing module 1102 is used to perform processing-related operations on the first intelligent network element side in the above method embodiment. The transceiver module 1101 is used to perform reception-related operations on the second intelligent network element side in the above method embodiment.
[0208] For example, the communication device 1100 is used to execute the following scheme:
[0209] The transceiver module 1101 is used to send a first message to a first entity, the first message being in a first format; and to receive a second message from the first entity, the second message being used to indicate that the first message does not have a matching second format message.
[0210] For other implementation methods, please refer to the relevant descriptions in the embodiments shown in Figure 4, which will not be repeated here.
[0211] It should be understood that the specific procedures for each module to perform the above-mentioned corresponding processes have been described in detail in the above method embodiments, and will not be repeated here for the sake of brevity.
[0212] The processing module 1102 in the above embodiments can be implemented by at least one processor or processor-related circuitry. The transceiver module 1101 can be implemented by a transceiver or transceiver-related circuitry. The transceiver module 1101 can also be referred to as a communication module or communication interface. The storage module can be implemented by at least one memory.
[0213] Figure 12 is a schematic diagram of a communication device according to an embodiment of this application. Referring to Figure 12, the communication device 1200 includes a transceiver module 1201 and a processing module 1202.
[0214] The communication device 1200 includes a sixth entity, or components (e.g., chips), modules, or units within the sixth entity.
[0215] The communication device 1200 can be used to execute all or all of the steps performed by the third intelligent network element in the embodiments shown in Figures 6 to 8 above. For details, please refer to the relevant descriptions in the embodiments shown in Figures 6 to 8 above.
[0216] The processing module 1202 is used for data processing. The transceiver module 1201 is used to implement the corresponding communication functions.
[0217] Optionally, the transceiver module 1201 may include a sending module and a receiving module. The sending module is used to perform the sending operation in the above method embodiments. The receiving module is used to perform the receiving operation in the above method embodiments.
[0218] It should be noted that the communication device 1200 may include a transmitting module but not a receiving module. Alternatively, the communication device 1200 may include a receiving module but not a transmitting module. Specifically, it depends on whether the above-described scheme executed by the communication device 1200 includes both transmitting and receiving actions.
[0219] Optionally, the communication device 1200 may further include a storage module, which can be used to store instructions and / or data. The processing module 1202 can read the instructions and / or data in the storage module so that the communication device 1200 can implement the aforementioned method embodiments.
[0220] The communication device 1200 can be used to perform the actions performed by the third intelligent network element in the above embodiments. The processing module 1202 is used to perform processing-related operations on the third intelligent network element side in the above method embodiments. The transceiver module 1201 is used to perform reception-related operations on the third intelligent network element side in the above method embodiments.
[0221] For example, the communication device 1200 is used to execute the following scheme:
[0222] The transceiver module 1201 is used to receive a first prompt from a first entity. The first prompt is generated based on a prompt template format and a third message. The prompt template format is determined based on the third message, and the format of the third message is either a first format or a second format.
[0223] The processing module 1202 is used to input the first prompt into the first model and obtain the fourth message output by the first model. The third message is in the first format and the fourth message is in the second format corresponding to the third message, or the third message is in the second format and the fourth message is in the first format corresponding to the third message.
[0224] For other implementation methods, please refer to the relevant descriptions of the embodiments shown in Figures 6 to 8.
[0225] It should be understood that the specific procedures for each module to perform the above-mentioned corresponding processes have been described in detail in the above method embodiments, and will not be repeated here for the sake of brevity.
[0226] The processing module 1202 in the above embodiments can be implemented by at least one processor or processor-related circuitry. The transceiver module 1201 can be implemented by a transceiver or transceiver-related circuitry. The transceiver module 1201 can also be referred to as a communication module or communication interface. The storage module can be implemented by at least one memory.
[0227] This application also provides another communication device, and FIG13 is another structural schematic diagram of the communication device according to an embodiment of this application. Referring to FIG13, the communication device 1300 includes a processor 1301.
[0228] Optionally, the communication device 1300 may also include a memory 1302.
[0229] Optionally, the communication device 1300 may also include a transceiver 1303.
[0230] In one possible implementation, the processor 1301, memory 1302, and transceiver 1303 are connected via a bus, and the memory 1302 stores computer instructions.
[0231] In one possible implementation, when the communication device 1300 includes a first entity, or a component (e.g., a chip), module, or unit within the first entity, the communication device 1300 can be used to perform the steps of the MPF execution in the above method embodiments, as described in the relevant descriptions in the above method embodiments.
[0232] In this implementation, the processing module 1002 in the embodiment shown in FIG10 can be the processor 1301, and the transceiver module 1001 in the embodiment shown in FIG10 can be the transceiver 1303.
[0233] In another possible implementation, when the communication device 1300 includes a second entity, components (e.g., chips), modules, or units within the second entity, the communication device 1300 can be used to perform the steps executed by the first intelligent network element in the above method embodiments, as described in the relevant descriptions in the above method embodiments.
[0234] In this implementation, the processing module 1102 in the embodiment shown in FIG11 can be the processor 1301, and the transceiver module 1101 in the embodiment shown in FIG11 can be the transceiver 1303.
[0235] In another possible implementation, when the communication device 1300 includes a sixth entity, components (e.g., chips), modules, or units within the sixth entity, the communication device 1300 can be used to perform the steps executed by the third intelligent network element in the above method embodiments, as described in the relevant descriptions in the above method embodiments.
[0236] In this implementation, the processing module 1202 in the embodiment shown in FIG12 can be the processor 1301, and the transceiver module 1201 in the embodiment shown in FIG12 can be the transceiver 1303.
[0237] This application also provides a communication system comprising a first entity, a second entity, and a third entity. The first entity can be used to execute all or part of the steps performed by the MPF in the embodiment shown in FIG. 4. The second entity can be used to execute all or part of the steps performed by the first intelligent network element in the embodiment shown in FIG. 4. The third entity can be used to execute all or part of the steps performed by the access network device in the embodiment shown in FIG. 4.
[0238] This application also provides another communication system, which includes a first entity, a fourth entity, and a fifth entity. The first entity can be used to perform all or part of the steps performed by the MPF in the embodiment shown in FIG. 5. The fourth entity can be used to perform all or part of the steps performed by the terminal device in the embodiment shown in FIG. 5. The fifth entity can be used to perform all or part of the steps performed by the second intelligent network element in the embodiment shown in FIG. 5.
[0239] This application also provides another communication system, which includes a first entity and a sixth entity. The first entity can be used to perform all or part of the steps executed by the MPF in the embodiments shown in Figures 6 to 8. The sixth entity can be used to perform all or part of the steps executed by the third intelligent network element in the embodiments shown in Figures 6 to 8.
[0240] Optionally, the communication system further includes a seventh entity, which can be used to perform all or part of the steps performed by the fourth intelligent network element in the embodiment shown in FIG. 7. Alternatively, the seventh entity can be used to perform all or part of the steps performed by the terminal device in the embodiment shown in FIG. 8.
[0241] This application also provides a computer program product including computer instructions, which, when run on a computer, causes the computer to perform the methods of the embodiments shown in Figures 4 to 8 above.
[0242] This application also provides a computer-readable storage medium including computer instructions that, when executed on a computer, cause the computer to perform the methods of the embodiments shown in Figures 4 to 8 above.
[0243] This application also provides a chip device, including a processor, for calling a computer program or computer instructions stored in a memory to cause the processor to execute the method of the embodiments shown in Figures 4 to 8 above.
[0244] Optionally, the processor is coupled to the memory via an interface.
[0245] Optionally, the chip device may also include a memory in which computer programs or computer instructions are stored.
[0246] The processor mentioned above can be a general-purpose central processing unit, a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits used to control the execution of a program for controlling the methods of the embodiments shown in Figures 4 to 8. The memory mentioned above can be read-only memory (ROM) or other types of static storage devices capable of storing static information and instructions, such as random access memory (RAM).
[0247] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between apparatuses or units through some interfaces, and may be electrical, mechanical, or other forms.
[0248] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0249] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0250] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the part of the technical solution that makes an essential contribution, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may 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 this application.
[0251] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A communication method, characterized in that, The method is applied to a first entity, or the method is applied to a device within the first entity; the method includes: Receive a first message from a second entity, wherein the format of the first message is a first format; Determine the semantic similarity between the first message and each first format message indicated in the first mapping relationship, wherein the first mapping relationship includes a mapping relationship between at least one first format message and at least one second format message; A target first format message is selected based on the semantic similarity between the first message and each first format message indicated in the first mapping relationship, wherein the target first format message is one of the first format messages indicated by the first mapping relationship; If the semantic similarity between the first message and the target first format message is greater than or equal to the first threshold, then the second format message corresponding to the target first format message in the first mapping relationship is sent to the third entity.
2. The method according to claim 1, characterized in that, The method further includes: If the semantic similarity between the first message and the target first format message is less than a first threshold, then a second message is sent to the second entity, the second message being used to indicate that the first message does not have a matching second format message.
3. The method according to claim 1 or 2, characterized in that, The target first format message is the first format message with the greatest semantic similarity to the first message among the first format messages indicated by the first mapping relationship.
4. The method according to any one of claims 1 to 3, characterized in that, The second message also carries relevant information about the target first format message.
5. The method according to any one of claims 1 to 4, characterized in that, After sending the second message to the first intelligent network element, the method further includes: Receive a third message from the second entity, the third message being obtained by updating the first message based on the second message.
6. The method according to any one of claims 1 to 5, characterized in that, The method further includes: Receive first configuration information, which is used to configure the first mapping relationship.
7. The method according to claim 6, characterized in that, The first configuration information is also used to configure the first threshold.
8. A communication method, characterized in that, The method is applied to a second entity, or the method is applied to a device in the second entity; the method includes: Send a first message to the first entity, wherein the format of the first message is a first format; Receive a second message from the first entity, the second message being used to indicate that the first message does not have a matching second format message.
9. The method according to claim 8, characterized in that, The second message also carries information about the target first format message, which is selected based on the semantic similarity between the first message and each first format message indicated in the first mapping relationship. The target first format message is one of the first format messages indicated by the first mapping relationship, which includes a mapping relationship between at least one first format message and at least one second format message.
10. The method according to claim 9, characterized in that, The target first format message is the first format message with the greatest semantic similarity to the first message among the first format messages indicated by the first mapping relationship.
11. The method according to any one of claims 8 to 10, characterized in that, The method further includes: A third message is sent to the first entity, the third message being obtained by updating the first message based on the second message.
12. A communication method, characterized in that, The method is applied to a first entity, or the method is applied to a device within the first entity; the method includes: Receive a second message from the terminal device, the second message being in a second format; The first format message corresponding to the second message is determined according to the first mapping relationship, wherein the first mapping relationship includes a mapping relationship between at least one first format message and at least one second format message; Send the first format message corresponding to the second message to the fifth entity.
13. The method according to claim 12, characterized in that, The method further includes: Receive second configuration information, which is used to configure the first mapping relationship.
14. A communication method, characterized in that, The method is applied to a first entity, or the method is applied to a device within the first entity; the method includes: Receive a third message, wherein the format of the third message is either a first format or a second format; The prompt template format is determined based on the third message, wherein the third message is a first format and the prompt template format is used to convert the third message into a second format message, or the third message is a second format and the prompt template format is used to convert the third message into a first format message. A first prompt is generated based on the prompt template format and the third message; Send the first prompt to the sixth entity.
15. The method according to claim 14, characterized in that, The method further includes: Receive the fourth message from the sixth entity, wherein if the third message is in a first format, the fourth message is a second format message corresponding to the third message; or, if the third message is in a second format, the fourth message is a first format message corresponding to the third message.
16. The method according to claim 14 or 15, characterized in that, The method further includes: Receive third configuration information, which is used to configure a prompt template library, the prompt template library including at least one prompt template format.
17. The method according to any one of claims 14 to 16, characterized in that, The receipt of the third message includes: Receive the third message from the seventh entity.
18. A communication method, characterized in that, The method is applied to a sixth entity, or the method is applied to a device within the sixth entity; the method includes: Receive a first prompt from a first entity, the first prompt being generated based on a prompt template format and a third message, the prompt template format being determined based on the third message, the format of the third message being either a first format or a second format; The first prompt is input into the first model to obtain the fourth message output by the first model. The third message is in the first format, and the fourth message is in the second format corresponding to the third message, or the third message is in the second format, and the fourth message is in the first format corresponding to the third message.
19. A communication device, characterized in that, The communication device includes a module for performing transmit / receive operations of the method as described in any one of claims 1 to 7 and a module for performing processing operations of the method as described in any one of claims 1 to 7; or, The communication device includes a module for performing transmit and receive operations of the method as described in any one of claims 8 to 11; or, The communication device includes a module for performing the transmit / receive operations as described in claim 12 or 13 and a module for performing the processing operations as described in claim 12 or 13; or, The communication device includes a module for performing transmit / receive operations of the method as described in any one of claims 14 to 17 and a module for performing processing operations of the method as described in any one of claims 14 to 17; or, The communication device includes a module for performing the transmit and receive operations as described in claim 18.
20. A communication device, characterized in that, The communication device includes a processor for executing a computer program or computer instructions in a memory such that the method as claimed in any one of claims 1 to 7 is implemented, or the method as claimed in any one of claims 8 to 11 is implemented, or the method as claimed in claim 12 or 13 is implemented, or the method as claimed in any one of claims 14 to 17 is implemented, or the method as claimed in claim 18 is implemented.
21. The apparatus according to claim 20, characterized in that, The communication device also includes a transceiver, and the processor and the transceiver are interconnected via a line.
22. A computer-readable storage medium, characterized in that, It stores a computer program that, when executed, causes the method as described in any one of claims 1 to 18 to be implemented.
23. A communication system, characterized in that, It includes one or more of the following means: means for implementing the method as claimed in any one of claims 1 to 7, means for implementing the method as claimed in any one of claims 8 to 11, means for implementing the method as claimed in claim 12 or 13, means for implementing the method as claimed in any one of claims 14 to 17, and means for implementing the method as claimed in claim 18.