[go: up one dir, main page]

CN116595439A - A semantic communication method and computer equipment - Google Patents

A semantic communication method and computer equipment Download PDF

Info

Publication number
CN116595439A
CN116595439A CN202310559608.7A CN202310559608A CN116595439A CN 116595439 A CN116595439 A CN 116595439A CN 202310559608 A CN202310559608 A CN 202310559608A CN 116595439 A CN116595439 A CN 116595439A
Authority
CN
China
Prior art keywords
category
task
semantic model
pragmatic
semantic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310559608.7A
Other languages
Chinese (zh)
Inventor
许晓东
方泽川
孙梦颖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202310559608.7A priority Critical patent/CN116595439A/en
Publication of CN116595439A publication Critical patent/CN116595439A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting

Landscapes

  • Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Machine Translation (AREA)

Abstract

本申请提出了一种语义通信方法及计算机设备,在获得语用任务输入信源的新的模态类别的情况下,可以发送包括语用任务的任务类别以及新的模态类别的语义模型更新请求,接收第一切片,即与该任务类别和新的模态类别对应的部分第一语义模型,从而利用该第一切片,直接获得第二语义模型,以通过第二语义模型对该新的模态类别的输入信源执行上述语用任务。

This application proposes a semantic communication method and computer equipment, which can send semantic model updates including the task category of the pragmatic task and the new modal category in the case of obtaining a new modal category of the input source of the pragmatic task Request, receive the first slice, that is, the part of the first semantic model corresponding to the task category and the new modality category, so as to use the first slice to directly obtain the second semantic model, so as to use the second semantic model to The new modal class of input sources performs the above pragmatic tasks.

Description

一种语义通信方法及计算机设备A semantic communication method and computer equipment

技术领域technical field

本申请主要涉及人工智能应用领域,更具体地说是涉及一种语义通信方法及计算机设备。This application mainly relates to the application field of artificial intelligence, and more specifically relates to a semantic communication method and computer equipment.

背景技术Background technique

语义通信是一种可将用户的需求和信息含义融入通信过程中的全新架构,该架构有望成为未来万物智联网络的基础范式,从根本上解决基于数据的传统通信协议中存在的跨系统、跨协议、跨网络、跨人机不兼容和难互通等问题,真正实现万物透明智联通信。Semantic communication is a new architecture that can integrate user needs and information meaning into the communication process. This architecture is expected to become the basic paradigm of the future intelligent network of all things, and fundamentally solve the cross-system and cross-system problems existing in traditional data-based communication protocols. protocol, cross-network, cross-man-machine incompatibility and difficult intercommunication, and truly realize the transparent and intelligent communication of all things.

其中,在语义通信的实际应用中,通常需要针对特定语用任务的多模态类别各自的数据集,训练对应的语义模型,将其部署到通信网络的节点上,该节点才能够使用这多个语义模型,满足多模态数据的语义处理需求。但这无疑会增大节点的存储开销和内存容量要求,也会造成通信资源的巨大开销,无法大规模普及应用。Among them, in the practical application of semantic communication, it is usually necessary to train the corresponding semantic model for the respective data sets of multi-modal categories of specific pragmatic tasks, and deploy it to the node of the communication network, so that the node can use the multiple A semantic model to meet the semantic processing requirements of multi-modal data. But this will undoubtedly increase the storage overhead and memory capacity requirements of the nodes, and will also cause a huge overhead of communication resources, making it impossible to popularize applications on a large scale.

发明内容Contents of the invention

为了解决上述问题,本申请提供了以下技术方案:In order to solve the above problems, the application provides the following technical solutions:

一方面,本申请提出了一种语义通信方法,所述方法包括:On the one hand, the present application proposes a semantic communication method, the method comprising:

获得语用任务输入信源的新的模态类别;Obtain new modal categories of input sources for pragmatic tasks;

发送语义模型更新请求;所述语义模型更新请求包括所述语用任务的任务类别以及所述新的模态类别;sending a semantic model update request; the semantic model update request includes the task category of the pragmatic task and the new modality category;

接收第一切片;所述第一切片是与所述任务类别和所述新的模态类别对应的部分第一语义模型;receiving a first slice; the first slice is a part of a first semantic model corresponding to the task category and the new modality category;

利用所述第一切片,获得第二语义模型,以通过所述第二语义模型对所述输入信源执行所述语用任务。Using the first slice, a second semantic model is obtained, so as to perform the pragmatic task on the input information source through the second semantic model.

可选的,在所述获得语用任务输入信源的新的模态类别之前,所述方法还包括:Optionally, before the obtaining of the new modal category of the input source of the pragmatic task, the method further includes:

获得待执行的任一语用任务的任务类别,以及该语用任务的待处理输入信源的模态类别;Obtain the task category of any pragmatic task to be executed, and the modality category of the input source of the pragmatic task to be processed;

发送语义模型获取请求;所述语义模型获取请求包含所述任务类别以及所述模态类别;Send a semantic model acquisition request; the semantic model acquisition request includes the task category and the modal category;

接收第三语义模型;所述第三语义模型是已训练的与所述任务类别和所述模态类别对应的语义模型;receiving a third semantic model; the third semantic model is a trained semantic model corresponding to the task category and the modality category;

执行所述第三语义模型,以通过所述第三语义模型对所述待处理输入信源执行所述语用任务。Executing the third semantic model to perform the pragmatic task on the input information source to be processed through the third semantic model.

可选的,所述利用所述第一切片,获得第二语义模型,包括:Optionally, the obtaining a second semantic model by using the first slice includes:

利用所述第一切片,替换第三语义模型中的第三切片,得到第二语义模型;所述第三语义模型是指对原有模态类别的输入信源执行所述语用任务的语义模型。Using the first slice to replace the third slice in the third semantic model to obtain the second semantic model; the third semantic model refers to the implementation of the pragmatic task on the input source of the original modal category semantic model.

可选的,在所述获得语用任务输入信源的新的模态类别的情况下,所述方法还包括:Optionally, in the case of obtaining a new modal category of a pragmatic task input source, the method further includes:

确定已存储的至少一个候选切片;所述候选切片是针对所述语用任务训练得到的部分语义模型;Determine at least one candidate slice that has been stored; the candidate slice is a partial semantic model trained for the pragmatic task;

获得所述候选切片对应的候选模态类别;所述候选模态类别为用于训练对应的所述候选切片所属语义模型的数据集的模态类别;Obtaining a candidate modality category corresponding to the candidate slice; the candidate modality category is a modality category for training a data set corresponding to the semantic model to which the candidate slice belongs;

将所述新的模态类别与所述候选模态类别进行比较,得到对应的比较结果;Comparing the new modality category with the candidate modality category to obtain a corresponding comparison result;

确定所述比较结果为所述新的模态类别与任一所述候选模态类别相同,获得所述新的模态类别对应的所述候选切片确定为第一切片,执行所述利用所述第一切片,获得第二语义模型步骤;Determining that the comparison result is that the new modality category is the same as any of the candidate modality categories, obtaining the candidate slice corresponding to the new modality category is determined as the first slice, and performing the using the Describe the first slice, obtain the second semantic model step;

确定所述比较结果为所述新的模态类别与所有的所述候选模态类别都不同,或者确定未存储任一所述候选切片,执行所述发送语义模型更新请求步骤。If it is determined that the comparison result is that the new modality category is different from all the candidate modality categories, or it is determined that no candidate slice is stored, the step of sending a semantic model update request is performed.

一方面,本申请还提出了一种语义通信方法,所述方法包括:On the one hand, the present application also proposes a semantic communication method, the method comprising:

接收语义模型更新请求;所述语义模型更新请求是包括请求更新的语义模型执行语用任务的输入信源的新的模态类别,以及所述语用任务的任务类别;Receiving a semantic model update request; the semantic model update request is a new modal category including an input source that requests the updated semantic model to perform a pragmatic task, and a task category of the pragmatic task;

获得与所述任务类别和所述新的模态类别对应存储的第一切片;所述第一切片是通过属于所述新的模态类别的数据集,针对所述语用任务训练的部分第一语义模型;Obtaining a first slice stored corresponding to the task category and the new modality category; the first slice is trained for the pragmatic task through a data set belonging to the new modality category Part of the first semantic model;

发送所述第一切片,以使语义模型更新请求端利用所述第一切片,获得能够对具有所述新的模态类别的输入信源执行所述语用任务的第二语义模型。The first slice is sent, so that the semantic model update request end uses the first slice to obtain a second semantic model capable of performing the pragmatic task on the input information source with the new modality category.

可选的,所述方法还包括:Optionally, the method also includes:

接收语义模型获取请求;所述语义模型获取请求包含请求获取的语义模型待执行的语用任务的任务类别,以及该语用任务的待处理输入信源的模态类别;Receiving a semantic model acquisition request; the semantic model acquisition request includes the task category of the pragmatic task to be executed by the semantic model requested to be acquired, and the modal category of the input source of the pragmatic task to be processed;

获得与所述任务类别和所述模态类别对应的第三语义模型;obtaining a third semantic model corresponding to the task category and the modality category;

发送所述第三语义模型。Send the third semantic model.

可选的,所述方法还包括:Optionally, the method also includes:

接收多个语义模型;所述多个语义模型是针对同一任务类别的语用任务,通过不同模态类别的数据集训练得到;receiving a plurality of semantic models; the plurality of semantic models are for pragmatic tasks of the same task category, obtained through training of data sets of different modality categories;

对所述多个语义模型进行参数差异分析,得到所述多个语义模型各自包含的针对相同语用功能的切片;Performing parameter difference analysis on the multiple semantic models to obtain slices for the same pragmatic function included in the multiple semantic models;

将所述多个语义模型各自的所述切片与所述任务类别以及对应的所述模态类别进行关联后存储。The respective slices of the plurality of semantic models are associated with the task category and the corresponding modality category and stored.

可选的,在接收到任一所述语义模型获取请求的情况下,所述方法还包括:Optionally, when any semantic model acquisition request is received, the method further includes:

发送所述任务类别所关联存储的跨模态切片,以使语义模型获取请求端能够将接收到的所述跨模态切片确定为所述语用任务的候选切片进行存储;Sending the cross-modal slice associated with the task category, so that the semantic model acquisition request end can determine the received cross-modal slice as a candidate slice of the pragmatic task for storage;

其中,所述跨模态切片是指所述任务类别关联存储的多个语义模型中,除所请求获取的语义模型之外的语义模型包含的切片。Wherein, the cross-modal slice refers to a slice contained in semantic models other than the requested semantic model among the plurality of semantic models stored in association with the task category.

可选的,所述方法还包括:Optionally, the method also includes:

接收语义模型训练请求;所述语义模型训练请求包括所请求训练的语义模型待执行的语用任务的不同输入信源的多个模态类别,以及所述语用任务的任务类别;Receiving a semantic model training request; the semantic model training request includes multiple modal categories of different input sources of the pragmatic task to be performed by the semantic model requested to be trained, and the task category of the pragmatic task;

获得针对所述任务类别标注的所述多个模态类别各自的数据集;obtaining respective datasets of the plurality of modality categories labeled for the task category;

依据所述数据集,训练得到与所述任务类别和相应的所述模态类别对应的语义模型;According to the data set, train to obtain a semantic model corresponding to the task category and the corresponding modality category;

对训练得到的多个语义模型进行参数差异分析,获得所述多个语义模型各自包含的针对相同语用功能的切片;Perform parameter difference analysis on the multiple semantic models obtained through training, and obtain the slices for the same pragmatic function contained in each of the multiple semantic models;

将所述多个语义模型各自的所述切片与所述任务类别和对应的所述模态类别进行关联后存储。The respective slices of the plurality of semantic models are associated with the task category and the corresponding modality category and stored.

又一方面,本申请还提出了一种计算机设备,所述计算机设备包括收发器和处理器,其中:In yet another aspect, the present application also proposes a computer device, the computer device includes a transceiver and a processor, wherein:

在所述计算机设备被配置为通信网络中的任一边缘节点的情况下,所述处理器用于实现:In the case where the computer device is configured as any edge node in the communication network, the processor is configured to implement:

获得语用任务输入信源的新的模态类别;Obtain new modal categories of input sources for pragmatic tasks;

发送语义模型更新请求;所述语义模型更新请求包括所述语用任务的任务类别以及所述新的模态类别;sending a semantic model update request; the semantic model update request includes the task category of the pragmatic task and the new modality category;

接收第一切片;所述第一切片是与所述任务类别和所述新的模态类别对应的部分第一语义模型;receiving a first slice; the first slice is a part of a first semantic model corresponding to the task category and the new modality category;

利用所述第一切片,获得第二语义模型,以通过所述第二语义模型对所述输入信源执行所述语用任务;Obtaining a second semantic model by using the first slice, so as to perform the pragmatic task on the input information source through the second semantic model;

在所述计算机设备被配置为所述通信网络的云端的情况下,所述处理器用于实现:Where the computer device is configured as a cloud of the communication network, the processor is configured to:

接收语义模型更新请求;所述语义模型更新请求是包括请求更新的语义模型执行语用任务的输入信源的新的模态类别,以及所述语用任务的任务类别;Receiving a semantic model update request; the semantic model update request is a new modal category including an input source that requests the updated semantic model to perform a pragmatic task, and a task category of the pragmatic task;

获得与所述任务类别和所述新的模态类别对应存储的第一切片;所述第一切片是通过属于所述新的模态类别的数据集,针对所述语用任务训练的部分第一语义模型;Obtaining a first slice stored corresponding to the task category and the new modality category; the first slice is trained for the pragmatic task through a data set belonging to the new modality category Part of the first semantic model;

发送所述第一切片,以使语义模型更新请求端利用所述第一切片,获得能够对具有所述新的模态类别的输入信源执行所述语用任务的第二语义模型。The first slice is sent, so that the semantic model update request end uses the first slice to obtain a second semantic model capable of performing the pragmatic task on the input information source with the new modality category.

附图说明Description of drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only It is an embodiment of the present application, and those skilled in the art can also obtain other drawings according to the provided drawings without creative work.

图1为本申请提出的语义通信方法的可选实施例一的流程示意图;FIG. 1 is a schematic flowchart of an optional embodiment 1 of the semantic communication method proposed by the present application;

图2为本申请提出的语义通信方法中,实现相同语用任务的不同语义模型的分割处理过程示意图;Fig. 2 is a schematic diagram of the segmentation processing process of different semantic models that realize the same pragmatic task in the semantic communication method proposed by the present application;

图3为本申请提出的语义通信方法的可选实施例二的流程示意图;FIG. 3 is a schematic flowchart of an optional embodiment 2 of the semantic communication method proposed by the present application;

图4为本申请提出的语义通信方法的可选实施例三的流程示意图;FIG. 4 is a schematic flowchart of an optional third embodiment of the semantic communication method proposed by the present application;

图5为本申请提出的语义通信方法的可选实施例四的流程示意图;FIG. 5 is a schematic flowchart of an optional fourth embodiment of the semantic communication method proposed by the present application;

图6为本申请提出的语义通信方法的可选实施例五的流程示意图;FIG. 6 is a schematic flowchart of an optional fifth embodiment of the semantic communication method proposed by the present application;

图7为本申请提出的语义通信方法的可选实施例六的流程示意图;FIG. 7 is a schematic flowchart of an optional sixth embodiment of the semantic communication method proposed by the present application;

图8为适用于本申请提出的语义通信方法的计算机设备的一可选示例的硬件结构示意图。FIG. 8 is a schematic diagram of a hardware structure of an optional example of a computer device suitable for the semantic communication method proposed in this application.

具体实施方式Detailed ways

针对背景技术部分描述的内容,在多模态数据的语义通信场景下,为了降低对通信网络中各边缘节点的存储开销和内存容量要求,以及不同节点之间收发完整语义模型所造成的通信资源开销,提出调整针对单一模态的语义模型架构,通过多模态数据集,训练适用于多模态数据的一个语义模型,将多模态数据统一在一个语义空间内,实现对多模态数据处理,这样,各边缘节点可以部署这样的一个语义模型,就可以对不同模态数据执行同一语用任务。For the content described in the background technology section, in the semantic communication scenario of multi-modal data, in order to reduce the storage overhead and memory capacity requirements of each edge node in the communication network, and the communication resources caused by sending and receiving complete semantic models between different nodes Overhead, it is proposed to adjust the semantic model architecture for a single modality, train a semantic model suitable for multi-modal data through multi-modal data sets, unify multi-modal data in a semantic space, and realize multi-modal data In this way, each edge node can deploy such a semantic model, and can perform the same pragmatic task on different modal data.

然而,在这种语义通信过程中,由于所使用的针对多模态数据的语义模型的扩展能力较差,所适用处理的数据模态类别有限,且对边缘节点的存储、运算能力也有一定要求,这样,在实际通信网络中的边缘节点的配置很难保证扩展性、硬件成本开销等方面的综合性能,这也会限制这种语义通信方法的适用范围。However, in this semantic communication process, due to the poor scalability of the semantic model used for multi-modal data, the types of data modes that can be processed are limited, and there are also certain requirements for the storage and computing capabilities of edge nodes. , in this way, the configuration of edge nodes in the actual communication network is difficult to guarantee the comprehensive performance in terms of scalability, hardware cost overhead, etc., which will also limit the scope of application of this semantic communication method.

为了进一步改善上述问题,本申请提出对通过每一模态类别的数据集训练得到的语义模型进行切片,获得针对相同语用功能的跨模态切片,即确定每个模态类别的语义模型包含的切片(即该语义模型的部分),这样,在任一语用任务的输入信源的模态更新后,可以直接获取新的模态类别对应语义模型的切片,实现语义模型更新,获得用于处理新的模态类别的输入数据的语义模型,相对于传输新的模态类别对应的完整语义模型,本申请传输的切片是部分语义模型,大大降低了通信资源开销,以及边缘节点对语义模型的存储开销和内存容量要求。In order to further improve the above problems, this application proposes to slice the semantic model obtained through the training of the data set of each modality category to obtain cross-modal slices for the same pragmatic function, that is, to determine that the semantic model of each modality category contains The slice of the semantic model (that is, the part of the semantic model), so that after the modality of the input source of any pragmatic task is updated, the slice of the semantic model corresponding to the new modality category can be obtained directly, so as to realize the semantic model update and obtain the information used for Process the semantic model of the input data of the new modal category. Compared with transmitting the complete semantic model corresponding to the new modal category, the slice transmitted by this application is a partial semantic model, which greatly reduces the communication resource overhead, and the edge node’s semantic model Storage overhead and memory capacity requirements.

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

参照图1,为本申请提出的语义通信方法的可选实施例一的流程示意图,该方法可以适用于通信网络的任一边缘节点,该边缘节点可以支持云计算服务的边缘侧,可以是具有一定数据处理能力的终端设备或者服务器,如靠近本地终端的通信网络侧构建的业务平台,能够提供存储、计算和网络等资源,可以将部分关键业务应用下沉接入网络边缘,以减少网络传输和多级转发带来的带宽和时延损耗,本申请对通信网络的系统架构及其应用原理不做详述,本申请可以依据通信网络的应用场景确定边缘节点的设备类型。Referring to FIG. 1 , it is a schematic flowchart of an optional embodiment 1 of the semantic communication method proposed in this application. This method can be applied to any edge node of the communication network, and the edge node can support the edge side of the cloud computing service, and can have A terminal device or server with a certain data processing capability, such as a business platform built on the communication network side close to the local terminal, can provide resources such as storage, computing, and network, and can sink some key business applications to the edge of the network to reduce network transmission. In addition to the bandwidth and delay loss caused by multi-stage forwarding, this application does not describe the system architecture of the communication network and its application principles in detail. This application can determine the device type of the edge node according to the application scenario of the communication network.

基于此,在通信网络的语义通信场景下,如图1所示,任一边缘节点所执行的语义通信方法可以包括但并不局限于以下步骤:Based on this, in the semantic communication scenario of the communication network, as shown in Figure 1, the semantic communication method performed by any edge node may include but not limited to the following steps:

步骤S11,获得语用任务输入信源的新的模态类别;Step S11, obtaining a new modal category of the input source of the pragmatic task;

在边缘节点执行任一语用任务(如图像语义分割任务或语义识别任务等,本申请对语义通信场景不做限制)的情况下,用于不同任务类别的语用任务的语义模型结构差别往往比较大,可以在首次执行该任务类别的语用任务时,直接依据其任务类别以及当前的待处理输入信源的模态类别,从针对该任务类别的语用任务所训练的至少一个语义模型中,获得能够处于待处理输入信源的输入数据的语义模型,将该语义模型部署在该边缘节点中,在接收到来自该输入信源的输入数据后,该边缘节点就可以执行该语义模型对该输入数据执行该语用任务,满足语义通信需求。When edge nodes perform any pragmatic tasks (such as image semantic segmentation tasks or semantic recognition tasks, etc., this application does not limit the semantic communication scenarios), the semantic model structures used for different task categories of pragmatic tasks are often different relatively large, when the pragmatic task of the task category is executed for the first time, directly according to the task category and the modality category of the current input source to be processed, at least one semantic model trained for the pragmatic task of the task category In , the semantic model of the input data that can be in the input source to be processed is obtained, and the semantic model is deployed in the edge node. After receiving the input data from the input source, the edge node can execute the semantic model Performing the pragmatic task on the input data satisfies semantic communication requirements.

其中,上述输入信源可以是输入数据的来源,如数据采集设备、数据传输设备、数据存储设备、数据输入设备或支持某应用服务的通信服务器等至少一个设备,本申请对输入信源的类别及其所提供的输入数据的模态类别等不做限制,可视情况而定。Wherein, the above-mentioned input information source may be the source of input data, such as at least one device such as data collection equipment, data transmission equipment, data storage equipment, data input equipment, or a communication server supporting a certain application service. The category of the input information source in this application There are no restrictions on the modal category of the input data provided by it, and it depends on the situation.

在上述语义通信过程中,若上述语用任务的输入信源模态更新,如针对该语用任务的当前输入信源的模态类别,与上一输入信源的模态类别不同,可以得到当前输入信源的模态类别,为了区别上一输入信源的模态类别,可以描述为该语用任务输入信源的新的模态类别。In the above semantic communication process, if the input source modality of the above pragmatic task is updated, for example, the modal category of the current input source for this pragmatic task is different from the modal category of the previous input source, we can get The modal category of the current input source, in order to distinguish the modal category of the previous input source, can be described as a new modal category of the pragmatic task input source.

可选的,在上述语义通信过程中,也可能是在语用任务的输入信源不变的情况下,来自该输入信源的当前输入数据的模态类别,与上一输入数据的模态类别不同,确定该语用任务的输入信源模态更新,可以将当前输入数据(即待执行语用任务的待处理数据)的模态类别记为该语用任务输入信源的新的模态类别。因此,本申请对上述步骤S11的语用任务输入信源的新的模态类别的确定方式不做限制,可视情况而定。Optionally, in the above semantic communication process, it is also possible that when the input source of the pragmatic task remains unchanged, the modality category of the current input data from the input source is different from the modality of the previous input data different categories, to determine the modal update of the input source of the pragmatic task, the modal category of the current input data (that is, the data to be processed for the pragmatic task to be executed) can be recorded as the new mode of the input source of the pragmatic task state category. Therefore, the present application does not limit the way of determining the new modal category of the pragmatic task input source in the above step S11, and it depends on the situation.

步骤S12,发送语义模型更新请求;该语义模型更新请求包括语用任务的任务类别以及新的模态类别;Step S12, sending a semantic model update request; the semantic model update request includes the task category of the pragmatic task and the new modality category;

继上述分析,在确定来自语用任务输入信源的输入数据的模态更新,得到对应的新的模态类别的情况下,用于处理该语用任务输入信源的原有模态类别的输入数据的语义模型,不再适用于处理该新的模态类别的输入数据,需要获得适用于处理该新的模态类别的输入数据的语义模型,因此,该边缘节点可以发送包含该语用任务的任务类别及其输入信源的新的模态类别的语义模型更新请求,以请求获得与该新的模态类别对应的语义模型。Following the above analysis, in the case of determining the modal update of the input data from the input source of the pragmatic task and obtaining the corresponding new modal category, the original modal category used to process the input source of the pragmatic task The semantic model of the input data, which is no longer suitable for processing the input data of the new modality category, needs to obtain the semantic model of the input data suitable for processing the new modality category. Therefore, the edge node can send a The task category of the task and the semantic model update request of the new modality category of the input information source, so as to request to obtain the semantic model corresponding to the new modality category.

可选的,边缘节点可以向通信网络的云端发送语义模型更新请求,以使得云端可以依据该语义模型更新请求包含的任务类别和新的模态类别,确定对应的第一语义模型,其可以是通过针对该语用任务标注的该新的模态类别对应的数据集进行训练得到,本申请对各模态类别的数据集一一对应的语义模型的训练实现过程不做详述。Optionally, the edge node can send a semantic model update request to the cloud of the communication network, so that the cloud can determine the corresponding first semantic model according to the task category and the new mode category included in the semantic model update request, which can be It is obtained by training the data set corresponding to the new modal category labeled with the pragmatic task, and this application does not describe in detail the training implementation process of the semantic model corresponding to the data set of each modal category.

在另一种可能的实现方式中,在通信网络的其他边缘节点存储有针对语用任务的新模态类别对应的第一语义模型的情况下,边缘节点也可以向该其他边缘节点发送语义模型更新请求,以请求实现对该边缘节点中不适用于处理该新的模态类别的输入数据的语义模型的更新,获得所需的语义模型。可选的,在边缘节点本地存储有针对该语用任务的不同模态类别对应的语义模型中的分片的情况下,边缘节点可以向本地存储设备发送语义模型更新请求,以请求获得新的模态类别对应的分片,构成所需的语义模型。In another possible implementation, when other edge nodes of the communication network store the first semantic model corresponding to the new modal category of the pragmatic task, the edge node can also send the semantic model to the other edge node The update request is to request to update the semantic model in the edge node that is not suitable for processing the input data of the new modality category, so as to obtain the required semantic model. Optionally, in the case where the edge node locally stores the fragments in the semantic model corresponding to the different modal categories of the pragmatic task, the edge node may send a semantic model update request to the local storage device to request to obtain a new The shards corresponding to the modal categories constitute the required semantic model.

由此可见,在不同的应用场景下,边缘节点可以向不同对象发送语义模型更新请求,以请求实现对该边缘节点中不适用于处理该新的模态类别的输入数据的语义模型的更新。应该理解,边缘节点向不同对象发送该语义模型更新请求,所采用的通信方式(如传输语义模型更新请求所遵循的通信协议类别)可以不同,可以依据实际通信需求确定,本申请对步骤S12的具体实现过程不做详述。It can be seen that, in different application scenarios, the edge node can send semantic model update requests to different objects, so as to request to update the semantic model in the edge node that is not suitable for processing the input data of the new modality category. It should be understood that when the edge node sends the semantic model update request to different objects, the communication method adopted (such as the type of communication protocol followed by the transmission of the semantic model update request) can be different, and can be determined according to the actual communication requirements. The specific implementation process is not described in detail.

步骤S13,接收第一切片;该第一切片可以是与任务类别和新的模态类别对应的部分第一语义模型;Step S13, receiving a first slice; the first slice may be a part of the first semantic model corresponding to the task category and the new modality category;

如上文对本申请技术方案的相关描述,若边缘节点需要处理语用任务的某模态类别的输入数据,都获取对应的完整语义模型,将会增加该边缘节点的存储开销和内存容量要求,也会在不同边缘节点之间传输语义模型时增加通信资源开销,为了解决该技术问题,在按照上述方法请求更新语义模型的情况下,可以请求获得适用于处理该语用任务输入信源的新的模态类别的输入数据的第一语义模型中的第一切片,即用于实现该新的模态类别的输入数据的语用功能的部分第一语义模型,其区别于用于处理原有模态类别的输入数据的语义模型中,实现该原有模态类别的输入数据的相同语用功能的切片。As described above in relation to the technical solution of this application, if an edge node needs to process the input data of a certain modal category of a pragmatic task, the corresponding complete semantic model will be obtained, which will increase the storage overhead and memory capacity requirements of the edge node, and also It will increase the communication resource overhead when transmitting the semantic model between different edge nodes. In order to solve this technical problem, in the case of requesting to update the semantic model according to the above method, you can request to obtain a new input source suitable for processing the pragmatic task. The first slice in the first semantic model of the input data of the modal category, that is, the part of the first semantic model used to realize the pragmatic function of the input data of the new modal category, which is different from the one used to process the original In the semantic model of the input data of the modal category, a slice that realizes the same pragmatic function of the input data of the original modal category.

这样,边缘节点可以接收云端或其他边缘节点或本地存储设备等设备发送的第一切片,该第一切片的存储容量远小于整个第一语义模型的存储容量,相对于接收完整的第一语义模型,大大降低了数据传输资源的消耗,以及对该边缘节点的存储资源的占用。In this way, the edge node can receive the first slice sent by the cloud or other edge nodes or local storage devices. The storage capacity of the first slice is much smaller than the storage capacity of the entire first semantic model. The semantic model greatly reduces the consumption of data transmission resources and the storage resources of the edge nodes.

在本申请实际应用中,对于训练得到的各语义模型的切割处理,得到对应的分片的实现过程,可以由云端或训练该语义模型的对象实现,本申请对各语义模型的分片获取过程及其执行对象不做限制,可视情况而定。In the actual application of this application, for the segmentation process of each semantic model obtained by training, the realization process of obtaining the corresponding fragmentation can be realized by the cloud or the object that trains the semantic model. This application describes the fragmentation acquisition process of each semantic model There are no restrictions on its execution objects, and it depends on the situation.

步骤S14,利用该第一切片,获得第二语义模型,以通过该第二语义模型对新的模态类别的输入信源执行语用任务。Step S14, using the first slice to obtain a second semantic model, so as to perform a pragmatic task on the input information source of the new modality category through the second semantic model.

在边缘节点按照上述方法获得第一切片后,可以利用该第一切片替换历史执行的针对相同语用任务的第三语义模型中的第三切片,构成针对该语用任务输入信源的新的模态类别的第二语义模型,这样,就可以执行该第二语义模型对来自该输入信源的新的模态类别的输入数据执行语用任务,满足语义通信需求。After the edge node obtains the first slice according to the above method, the first slice can be used to replace the third slice in the third semantic model for the same pragmatic task that has been executed in history to form the input information source for the pragmatic task The second semantic model of the new modality category, in this way, the second semantic model can be executed to perform a pragmatic task on the input data of the new modality category from the input information source, so as to meet the semantic communication requirement.

示例性的,如图2所示,结合上述分析,对于每个语义模型切割后可以包括基础部分和切片,假设针对相同语用任务的不同模态类别的数据集,训练得到一一对应的语义模型A和语义模型B,经过不同语义模型的参数差异分析(如数据相关性的差异等,本申请对差异分析的内容不做限制,可视情况而定)后,语义模型A可以切割为基础部分A和切片A,语义模型B可以切割为基础部分B和切片B。Exemplarily, as shown in Figure 2, combined with the above analysis, each semantic model can include basic parts and slices after cutting, assuming that data sets of different modal categories for the same pragmatic task are trained to obtain one-to-one semantic correspondence Model A and semantic model B, after parameter difference analysis of different semantic models (such as differences in data correlation, etc., this application does not limit the content of difference analysis, depending on the situation), semantic model A can be cut as the basis Part A and slice A, semantic model B can be cut into basic part B and slice B.

其中,基础部分A和基础部分B的网络结构可以相同或基本相同,能够相互替换使用,切片A和切片B可以是实现相同语用功能的部分语义模型,但两者之间的模型参数差异较大,如对应的网络结构及其参数差异较大,无法直接替换实现同一模态类别的数据的语义处理。本申请对语义模型切割得到的基础部分和切片的网络结构和参数不做详述,可视情况而定。Among them, the network structure of basic part A and basic part B can be the same or basically the same, and can be used interchangeably. Slice A and slice B can be partial semantic models that realize the same pragmatic function, but the difference in model parameters between the two If the corresponding network structure and its parameters are quite different, it cannot directly replace the semantic processing of data of the same modal category. This application does not describe in detail the network structure and parameters of the basic parts and slices obtained by cutting the semantic model, and it depends on the situation.

基于此,在边缘节点确定首次执行语用任务的情况下,依据当前待处理输入信源的模态类别A以及任务类别,获得对应的语义模型A后,可以通过该语义模型A对模态类别A的输入数据执行该语用任务。在获得该语用任务的输入信源的模态类别B后,即上述新的模态类别为模态类别B,若继续通过语义模型A对模态类别B的输入数据执行语用任务,无法满足语义通信要求,因此,本申请可以按照上文描述的方法,获得针对该语用任务的模态类别B对应的切片B(即上述第一切片),之后,如图2所示,切片B可以与语义模型A中的基本部分A构成语义模型C(即上述第二语义模型),即由切片B替换语义模型A中的切片A,得到语义模型C。Based on this, when the edge node determines to execute the pragmatic task for the first time, after obtaining the corresponding semantic model A according to the modal category A and task category of the input source to be processed, the semantic model A can be used to analyze the modal category A's input data performs this pragmatic task. After obtaining the modal category B of the input source of the pragmatic task, that is, the above-mentioned new modal category is modal category B, if we continue to perform the pragmatic task on the input data of the modal category B through the semantic model A, we cannot Satisfy the semantic communication requirements, therefore, the present application can obtain the slice B corresponding to the modal category B for the pragmatic task according to the method described above (that is, the above-mentioned first slice), and then, as shown in Figure 2, the slice B can form a semantic model C (that is, the second semantic model) with the basic part A in the semantic model A, that is, the slice A in the semantic model A is replaced by the slice B to obtain the semantic model C.

如上述分析,切片A和切片B能够实现相同语用功能,区别在于更适用于处于对应模态类别的数据处理,两者对应的语义模型A和语义模型B中的基础部分基本相同,所以说,上述基础部分A和切片B构成的语义模型C的性能,与包含基础部分B和切片B的语义模型B的性能非常相近,如语义模型C和语义模型B的输出准确率之间的差值小于阈值(其可以是很小的数值,具体大小不做限制),语义模型C可以替换语义模型B,实现对模态类别B的输入数据执行相同语用任务,满足语义通信需求。As analyzed above, slice A and slice B can achieve the same pragmatic function, the difference is that they are more suitable for data processing in the corresponding modal category, and the basic parts of the corresponding semantic model A and semantic model B are basically the same, so , the performance of the semantic model C composed of the above basic part A and slice B is very similar to the performance of the semantic model B including the basic part B and slice B, such as the difference between the output accuracy of semantic model C and semantic model B is less than the threshold (it can be a very small value, and the specific size is not limited), semantic model C can replace semantic model B to implement the same pragmatic task on the input data of modal category B, and meet the semantic communication requirements.

可见,对于执行语用任务的边缘节点,在需要处理语用任务输入信源的输入数据的模态类别为新的模态类别的情况下,只需要按照上文描述的方法获取跨模态切片,如上述切片B,构成用于处于该新的模态类别的输入数据的第二语义模型,如上述语义模型C,相对于直接获取新的模态类别对应的完整语义模型,如上述语义模型B,在增强该边缘节点处理多模态数据能力的同时,大大降低了对边缘节点的内存容量要求以及对通信资源带来的开销。It can be seen that for edge nodes that perform pragmatic tasks, if the modal category that needs to process the input data of the input source of the pragmatic task is a new modal category, it only needs to obtain cross-modal slices according to the method described above , such as the above-mentioned slice B, constituting the second semantic model for the input data in the new modal category, such as the above-mentioned semantic model C, compared to directly obtaining the complete semantic model corresponding to the new modal category, such as the above-mentioned semantic model B. While enhancing the ability of the edge node to process multi-modal data, it greatly reduces the memory capacity requirements of the edge node and the overhead of communication resources.

参照图3,为本申请提出的语义通信方法的可选实施例二的流程示意图,本实施例仍可以从通信网络的边缘节点侧进行描述,如图3所示,该方法可以包括:Referring to FIG. 3 , it is a schematic flowchart of an optional embodiment 2 of the semantic communication method proposed in this application. This embodiment can still be described from the edge node side of the communication network. As shown in FIG. 3 , the method may include:

步骤S31,获得待执行的任一语用任务的任务类别,以及该语用任务的待处理输入信源的模态类别;Step S31, obtaining the task category of any pragmatic task to be executed, and the modality category of the input source of the pragmatic task to be processed;

步骤S32,发送语义模型获取请求;该语义模型获取请求可以包含上述任务类别以及模态类别;Step S32, sending a semantic model acquisition request; the semantic model acquisition request may include the above task category and modal category;

在实际应用中,对于语义通信应用中的任一语用任务,可以预先通过不同模态类别的数据集,即针对相同语用任务标注的不同模态类别各自的数据集,训练得到对应模态类别的语义模型,经过差异分析,确定针对该语用任务的各语义模型中的切片。In practical applications, for any pragmatic task in semantic communication applications, the corresponding modality can be obtained through training in advance through data sets of different modal categories, that is, data sets of different modal categories labeled for the same pragmatic task. Semantic models of categories, after differential analysis, determine slices in each semantic model for this pragmatic task.

如上述示例中,通过模态类别A的数据集A,以及模态类别B的数据集B,分别训练得到实现相同语用任务的对应语义模型A和语义模型B,再对语义模型A和语义模型B进行切割,获得语义模型A中的切片A以及语义模型B中的切片B,可以与对应的模态类别进行关联后存储。As in the above example, through the dataset A of modal category A and the dataset B of modal category B, the corresponding semantic model A and semantic model B for the same pragmatic task are respectively trained, and then semantic model A and semantic Model B cuts to obtain slice A in semantic model A and slice B in semantic model B, which can be associated with the corresponding modality category and stored.

应该理解,对于上述这一种语用任务的其他模态类别的数据集,也可以训练得到对应的语义模型,将其分割得到对应模态类别的切片,实现过程类似,本申请不做一一详述。由此可见,用于实现相同语用任务的不同模态类别一一对应的语义模型,可以分割得到使用相同语用功能的切片,将其与对应的模态类别进行关联后存储,以发送至通信网络中的各边缘节点,按照上文描述的方法,使得该边缘节点获得用于处理对应模态类别的输入数据的语义模型,对该模态类别的输入数据执行该语用任务。It should be understood that for the above-mentioned data sets of other modal categories of pragmatic tasks, the corresponding semantic model can also be trained to obtain slices corresponding to the modal categories. The implementation process is similar, and this application does not do it one by one. detail. It can be seen that the semantic model used to realize the one-to-one correspondence between different modal categories for the same pragmatic task can be segmented to obtain slices using the same pragmatic function, which are associated with the corresponding modal categories and stored for sending to Each edge node in the communication network, according to the method described above, enables the edge node to obtain a semantic model for processing the input data of the corresponding modality category, and perform the pragmatic task on the input data of the modality category.

且,在需要对新增模态类别的数据执行上述语用任务,可以按照上文描述的方法,通过针对该语用任务标注的该新增模态类别的数据集,训练得到新的语义模型,对其分割得到实现上述语用功能的切片,将切片发送至对应的边缘节点,快速获得针对该新增模态类别的语义模型,实现对该新增模态类别的输入数据的语义处理,即可满足语义通信需求,增加了边缘节点的语义模型扩展性。Moreover, when it is necessary to perform the above-mentioned pragmatic task on the data of the newly added modal category, a new semantic model can be obtained by training the data set of the newly added modal category marked for the pragmatic task according to the method described above , segment it to obtain slices that realize the above pragmatic functions, send the slices to the corresponding edge nodes, quickly obtain the semantic model for the newly added modal category, and realize the semantic processing of the input data for the newly added modal category, It can meet the needs of semantic communication and increase the scalability of the semantic model of edge nodes.

基于上述分析,对于通信网络中的任一边缘节点,在其首次执行任一语用任务的情况下,即该边缘节点未部署实现该语用任务的任一语义模型的情况下,需要先在该边缘节点中部署用于实现该语用任务的语义模型,对此,为了获得能够精准处理该语用任务当前的待处理输入信源的输入数据的语义模型,可以获得语用任务的任务类别,以及当前的待处理输入信源的模态类别,发送包含该任务类别和模态类别的语义模型获取请求,即语义模型部署请求,如向通信网络的云端或具有所请求获取的语义模型的其他边缘节点发送该语义模型获取请求等,本申请对语义模型获取请求的发送方式不做限制,可视情况而定。Based on the above analysis, for any edge node in the communication network, when it executes any pragmatic task for the first time, that is, if the edge node has not deployed any semantic model to realize the pragmatic task, it needs to be first The semantic model used to implement the pragmatic task is deployed in the edge node. For this, in order to obtain the semantic model that can accurately process the input data of the current input source of the pragmatic task, the task category of the pragmatic task can be obtained , and the modal category of the current input source to be processed, send a semantic model acquisition request including the task category and modal category, that is, a semantic model deployment request, such as to the cloud of the communication network or with the requested semantic model. Other edge nodes send the semantic model acquisition request, etc. This application does not limit the sending method of the semantic model acquisition request, which depends on the situation.

步骤S33,接收第三语义模型;该第三语义模型可以是已训练的与上述任务类别和模态类别对应的语义模型;Step S33, receiving a third semantic model; the third semantic model may be a trained semantic model corresponding to the above-mentioned task category and modality category;

步骤S34,执行第三语义模型,以通过第三语义模型对待处理输入信源执行语用任务;Step S34, executing the third semantic model, so as to perform pragmatic tasks on the input source to be processed through the third semantic model;

继上述分析,对于未部署实现上述语用任务的任一语义模型的边缘节点,可以按照上文描述的方法,获得用于精准处理该语用任务的待处理输入信源的输入数据的完整语义模型,即上述第三语义模型,将其部署在该边缘节点中,使得该边缘节点可以执行该第三语义模型,对来自该待处理输入信源的输入数据执行语用任务,实现过程本申请不做详述。Following the above analysis, for edge nodes that have not deployed any semantic model to implement the above pragmatic tasks, the complete semantics of the input data of the input source to be processed for the precise processing of the pragmatic task can be obtained according to the method described above. model, that is, the above-mentioned third semantic model, which is deployed in the edge node, so that the edge node can execute the third semantic model, perform pragmatic tasks on the input data from the input source to be processed, and realize the process of this application Do not elaborate.

在本申请提出的又一些实施例中,在边缘节点首次实现某一语用任务的情况下,所发送的语义模型获取请求也可以包含该语用任务的任务类别,接收该任务类别对应的任一语义模型,后续确定该语用任务的输入信源的模态类别后,若其与用于训练该语义模型的数据集的模态类别不同,相对于是获得该语用任务输入信源的新的模态类别,可以按照描述的方法获取跨模态切片,据此获得处理该语用任务的输入信源的输入数据的语义模型。In some other embodiments proposed by this application, when an edge node implements a certain pragmatic task for the first time, the semantic model acquisition request sent may also include the task category of the pragmatic task, and any task corresponding to the task category may be received. A semantic model, after determining the modal category of the input information source of the pragmatic task, if it is different from the modal category of the data set used to train the semantic model, it is relatively new to obtain the input information source of the pragmatic task The modal category of the modal category can be obtained according to the described method to obtain the cross-modal slice, and thus obtain the semantic model of the input data of the input source for processing the pragmatic task.

步骤S35,获得该语用任务输入信源的新的模态类别;Step S35, obtaining a new modal category of the input source of the pragmatic task;

步骤S36,发送语义模型更新请求;该语义模型更新请求包括语用任务的任务类别以及新的模态类别;Step S36, sending a semantic model update request; the semantic model update request includes the task category of the pragmatic task and the new modality category;

步骤S37,接收第一切片;该第一切片可以是与上述任务类别和新的模态类别对应的部分第一语义模型;Step S37, receiving a first slice; the first slice may be a part of the first semantic model corresponding to the above-mentioned task category and the new modality category;

关于步骤S35-步骤S37的实现过程,可以参照上文实施例对应部分的描述,本实施例不做详述。Regarding the implementation process of step S35-step S37, reference may be made to the description of the corresponding part of the above embodiment, and this embodiment will not describe in detail.

示例性的,以图像语义分割任务这一种语用任务为例进行说明,实现图像语义分割的语义模型可以采用但并不局限于Deeplab网络结构,结合上述图2对应示例的描述内容,上述数据集A可以是cityscapes数据集(即城市景观数据集),数据集B可以是gta5数据集(即游戏场景数据集),本申请对这两种模态的数据集的获取方式及其包含的数据内容不做详述。本实施例可以对同一信源域的不同数据集进行拓展,以获得用于对相应模态类别的数据进行图像语义分割处理的语义模型。As an example, take the pragmatic task of image semantic segmentation task as an example for illustration. The semantic model for realizing image semantic segmentation can adopt but is not limited to the Deeplab network structure. Combined with the description content of the corresponding example in Figure 2 above, the above data Set A can be a cityscapes dataset (that is, a cityscape dataset), and dataset B can be a gta5 dataset (that is, a game scene dataset). The method of obtaining these two modal datasets and the data contained in this application The content is not detailed. In this embodiment, different data sets in the same information source domain can be expanded to obtain a semantic model for performing image semantic segmentation processing on data of a corresponding modality category.

具体地,可以通过cityscapes数据集对Deeplab网络(即一种通用初始语义模型)进行模型训练,得到对应的语义模型A;通过gta5数据集对Deeplab网络进行模型训练,得到对应的语义模型B,之后,可以通过但并不局限于CCA(Canonical Correlation Analysis,典型相关分析)方式,衡量这两个数据集分别对应的网络参数差异,差异大的模型部分进行切割,得到对应语义模型中的切片,关于不同语义模型的分割实现方法本申请不做限制,可视情况而定。Specifically, the Deeplab network (that is, a general initial semantic model) can be model-trained through the cityscapes dataset to obtain the corresponding semantic model A; the Deeplab network can be model-trained through the gta5 dataset to obtain the corresponding semantic model B, and then , it is possible to measure the network parameter difference corresponding to the two data sets through but not limited to CCA (Canonical Correlation Analysis, canonical correlation analysis), and cut the part of the model with a large difference to obtain the slice in the corresponding semantic model. The methods for realizing the segmentation of different semantic models are not limited in this application, and may be determined according to circumstances.

之后,可以按照上述方法,将针对gta5数据集的语义模型A的切片A,替换通过cityscapes数据集训练得到的语义模型B的切片B,得到语义模型C后,若采用MIoU(MeanIntersection over Union,平均交并比)作为语义分割评价指标,衡量语义模型的性能指标。在利用来自gta5数据集的测试数据集,对语义模型C进行图像语义分割功能的性能测试,即:Afterwards, according to the above method, the slice A of the semantic model A for the gta5 dataset can be replaced with the slice B of the semantic model B obtained through the training of the cityscapes dataset, and after obtaining the semantic model C, if MIoU (MeanIntersection over Union, average Intersection and union ratio) is used as the semantic segmentation evaluation index to measure the performance index of the semantic model. Using the test data set from the gta5 data set, the semantic model C is tested for the performance of the image semantic segmentation function, namely:

通过语义模型C对gta5测试数据集进行语义分割,所得到的MIoU评分可以为0.507。此外,通过上述语义模型A对cityscapes测试数据集进行语义分割,得到的MIoU评分可以为0.693;通过语义模型A对gta5测试数据集进行语义分割,所得到的MIoU评分可以为0.256。其中,MIoU评分可以是对应测试数据标注的真实值集,与模型输出的预测值集的交集和并集之间的比值,或按照一定规则据此得到的分数,通常情况下,该MIoU评分越高,对应的语义分割效果越好,对应语义模型的性能越高,因此,若MIoU评分等于1,通过对应语义模型对相应测试数据进行语义分割处理过程中,对应的语义分割信息被完全恢复;若MIoU评分等于0,对应语义模型的语义分割失败。The gta5 test data set is semantically segmented through the semantic model C, and the obtained MIoU score can be 0.507. In addition, the cityscapes test dataset is semantically segmented through the above semantic model A, and the obtained MIoU score can be 0.693; the gta5 test dataset is semantically segmented through the semantic model A, and the obtained MIoU score can be 0.256. Among them, the MIoU score can be the ratio between the actual value set labeled by the corresponding test data and the intersection and union of the predicted value set output by the model, or the score obtained according to certain rules. Usually, the MIoU score is higher. Higher, the better the corresponding semantic segmentation effect and the higher the performance of the corresponding semantic model. Therefore, if the MIoU score is equal to 1, the corresponding semantic segmentation information is completely restored during the semantic segmentation process of the corresponding test data through the corresponding semantic model; If the MIoU score is equal to 0, the semantic segmentation of the corresponding semantic model fails.

经过上述语义模型性能测试结果可知,通过某一模态类别对应的语义模型,对另一模态类别的数据执行相同语用任务,所得到的语义通信结果很差,即该语义模型对该另一模态类别的数据的语义处理性能很差,所以,在相同语用任务的输入信源的模态更新的情况下,需要获得针对新的模态类别的输入信源的语义模型,在该获取过程中,为了降低对边缘节点的存储开销和内存容量的要求,可以不用直接获取针对新的模态类别的输入信源的完整语义模型,而是获取新的模态类别对应的实现相同语用功能的部分语义模型,即与实现相同语用任务的其他模态类别的语义模型的较大差异部分,记为切片。Through the performance test results of the above semantic model, it can be seen that the semantic communication results obtained by performing the same pragmatic task on the data of another modal category through the semantic model corresponding to a certain modal category The semantic processing performance of the data of a modality category is very poor, so, in the case of the modality update of the input source of the same pragmatic task, it is necessary to obtain a semantic model for the input source of the new modality category, in which In the acquisition process, in order to reduce the storage overhead and memory capacity requirements of edge nodes, it is not necessary to directly obtain the complete semantic model of the input source for the new modal category, but to obtain the corresponding semantic model of the new modal category that implements the same semantic model. The part of the semantic model that uses the function, that is, the part that is relatively different from the semantic model of other modal categories that achieve the same pragmatic task, is recorded as a slice.

如上述测试结果可知,上述利用第一切片和第三语义模型的基础部分所构成的第二语义模型的性能,与通过新模态类别的数据集训练的实现相同语用任务的第一语义模型的性能相近,如上述MIoU评分之间的差值小于评分阈值(其数值较小,具体大小可视情况而定),因此,本申请通过第二语义模型对新的模态类别的输入信源执行语用任务,能够满足语义通信要求。As can be seen from the above test results, the performance of the second semantic model composed of the first slice and the basic part of the third semantic model is as good as that of the first semantic The performance of the model is similar, as the difference between the above-mentioned MIoU scores is less than the score threshold (the value is small, and the specific size depends on the situation). Sources perform pragmatic tasks and can satisfy semantic communication requirements.

步骤S38,利用该第一切片,替换第三语义模型中的第三切片,得到第二语义模型;Step S38, using the first slice to replace the third slice in the third semantic model to obtain the second semantic model;

步骤S39,执行该第二语义模型,以通过第二语义模型对新的模态类别的输入信源执行语用任务。Step S39, execute the second semantic model, so as to perform pragmatic tasks on the input information source of the new modal category through the second semantic model.

如上述分析,第三语义模型是指对原有模态类别的输入信源执行语用任务的语义模型,在确定该语用任务的输入信源的模态类别发生变化,得到该语用任务输入信源的新的模态类别的情况下,由于第三语义模型不再适用于对新的模态类别的输入数据执行语用任务,本申请可以从与该语用任务的任务类别对应的不同模态类别各自的切片(即不同部分语义模型)中,获取与该新的模态类别对应的第一切片,直接由这种跨模态切片与第三语义模型中的基础部分,直接构成第二语义模型,即适用于对新的模态类别的输入数据执行语用任务的语义模型,满足对新的模态类别的输入数据的语义通信需求。As analyzed above, the third semantic model refers to the semantic model that executes the pragmatic task on the input source of the original modal category. When the modal category of the input source of the pragmatic task is determined to change, the pragmatic task can be obtained. In the case of a new modal category of the input source, since the third semantic model is no longer suitable for performing pragmatic tasks on the input data of the new modal category, the application can start from the task category corresponding to the pragmatic task In the slices of different modal categories (that is, different parts of the semantic model), the first slice corresponding to the new modal category is obtained, and the cross-modal slice and the basic part in the third semantic model are directly obtained. A second semantic model is formed, that is, a semantic model suitable for performing pragmatic tasks on the input data of the new modality category, and satisfies the semantic communication requirements for the input data of the new modality category.

由此可见,在边缘节点对不同模态数据执行相同语用任务的场景下,不需要获取针对该语用任务的不同模态类别各自对应的完整语义模型,只需要获得新的模态类别对应的切片,即跨模态切片,替换原有模态类别对应的语义模型中的切片,即可得到用于对新的模态类别的输入数据执行语用任务的完整语义模型,降低了对边缘节点的存储容量和通信资源的开销,以及对该边缘节点的内存容量要求,便于实现边缘节点的语义模型扩展,满足边缘节点上高效处理多模态数据的语义通信需求。It can be seen that in the scenario where the edge node performs the same pragmatic task on different modal data, it is not necessary to obtain the complete semantic model corresponding to the different modal categories for the pragmatic task, but only needs to obtain the new modal category corresponding The slices, that is, cross-modal slices, replace the slices in the semantic model corresponding to the original modal category, and a complete semantic model for performing pragmatic tasks on the input data of the new modal category can be obtained, which reduces the need for edge The storage capacity of the node and the overhead of communication resources, as well as the memory capacity requirements of the edge node, facilitate the expansion of the semantic model of the edge node and meet the semantic communication requirements of efficiently processing multi-modal data on the edge node.

参照图4,为本申请提出的语义通信方法的可选实施例三的流程示意图,本实施例可以对上文提出的语义通信方法中,边缘节点如何获得第一切片的实现过程进行细化描述,但并不局限于本实施例描述的细化实现方法,如图4所示,该方法可以包括:Referring to FIG. 4 , it is a schematic flowchart of the third optional embodiment of the semantic communication method proposed in this application. This embodiment can refine the implementation process of how the edge node obtains the first slice in the semantic communication method proposed above. Description, but not limited to the detailed implementation method described in this embodiment, as shown in Figure 4, the method may include:

步骤S41,获得该语用任务输入信源的新的模态类别;Step S41, obtaining a new modal category of the input source of the pragmatic task;

步骤S42,确定是否存储针对该语用任务的候选切片,若是,进入步骤S43;若否,执行步骤S49;Step S42, determine whether to store candidate slices for the pragmatic task, if so, enter step S43; if not, execute step S49;

本申请实施例中,上述候选切片可以是针对该语用任务训练得到的部分语义模型,结合上文实施例相应部分的描述,针对相同的语用任务,可以通过不同模态类别的数据集,训练得到实现该语用任务对应的语义模型,经过对实现相同语用任务的不同语义模型之间的差异分析,确定各语义模型中实现相同语用功能的切片。In the embodiment of the present application, the above-mentioned candidate slices may be part of the semantic model trained for the pragmatic task. In combination with the description of the corresponding part of the above embodiment, for the same pragmatic task, data sets of different modal categories may be used. After training, the semantic model corresponding to the pragmatic task is obtained. After analyzing the differences between different semantic models that realize the same pragmatic task, the slices that realize the same pragmatic function in each semantic model are determined.

可选的,在通信网络中云端获得实现相同语用任务的多个语义模型及其包含的切片后,可以确定通信网络的各边缘节点对应的跨模态切片,即除该语义模型之外的其他语义模型包含的切片,再将各跨模态切片发送至对应的边缘节点,边缘节点可以将接收到的跨模态切片确定为该语用任务的候选切片,将其与对应的语用任务的任务类别,以及能够执行该语用任务的输入数据的模态类别进行关联后存储。Optionally, after obtaining multiple semantic models and the slices included in the cloud for the same pragmatic task in the communication network, the cross-modal slices corresponding to each edge node of the communication network can be determined, that is, the semantic models other than the semantic model Slices contained in other semantic models, and then send each cross-modal slice to the corresponding edge node, the edge node can determine the received cross-modal slice as the candidate slice of the pragmatic task, and compare it with the corresponding pragmatic task The task category and the modality category of the input data that can perform the pragmatic task are associated and stored.

步骤S43,获得该候选切片对应的候选模态类别;Step S43, obtaining the candidate modality category corresponding to the candidate slice;

其中,候选模态类别为用于训练对应的候选切片所属语义模型的数据集的模态类别,可以配置不同模态标识等方式来表示一一对应的模态类别,本申请对不同模态类别的表示方式不做限制。Among them, the candidate modality category is the modality category of the data set used to train the semantic model to which the corresponding candidate slice belongs, and different modality identifiers can be configured to represent one-to-one corresponding modality categories. This application applies to different modality categories The expression method is not limited.

步骤S44,将该新的模态类别与候选模态类别进行比较,得到对应的比较结果;Step S44, comparing the new modal category with the candidate modal category to obtain a corresponding comparison result;

步骤S45,依据比较结果,确定是否存在与新的模态类别相同的任一候选模态类别相同,若存在,进入步骤S46;若否,执行步骤S47;Step S45, according to the comparison result, determine whether there is any candidate modal category that is the same as the new modal category, and if so, proceed to step S46; if not, execute step S47;

步骤S46,获得该新的模态类别对应的候选切片确定为第一切片;Step S46, obtaining the candidate slice corresponding to the new modality category and determining it as the first slice;

继上述分析,边缘节点需要获得针对语用任务输入信源的新的模态类别的跨模态切片(如上述第一切片)的情况下,可以先检查本地是否存储有候选切片,若存储了候选切片,可以检测本次是否已存储该跨模态切片,可以按照但并不局限于上文描述的比较方式实现,若存储有该跨模态切片,可以直接从边缘节点的存储设备中读取该跨模态切片。Following the above analysis, when an edge node needs to obtain a cross-modal slice of a new modal category (such as the first slice above) for the input source of a pragmatic task, it can first check whether there is a candidate slice stored locally. Candidate slices are found, and it can be detected whether the cross-modal slice has been stored this time. It can be implemented according to but not limited to the comparison method described above. If the cross-modal slice is stored, it can be directly obtained from the storage device of the edge node. Read the cross-modal slice.

步骤S47,发送语义模型更新请求;该语义模型更新请求包括语用任务的任务类别以及新的模态类别;Step S47, sending a semantic model update request; the semantic model update request includes the task category of the pragmatic task and the new modality category;

步骤S48,接收第一切片;该第一切片可以是与上述任务类别和新的模态类别对应的部分第一语义模型;Step S48, receiving a first slice; the first slice may be a part of the first semantic model corresponding to the above-mentioned task category and the new modality category;

在边缘节点未存储候选切片,或者经过对边缘节点自身存储的候选切片的候选模态类别与获得的新的模态类别之间的比较,确定边缘节点未存储该新的模态类别对应的候选切片的情况下,可以向通信网络中的云端或其他边缘节点发送语义模型更新请求,以请求获得用于对新的模态类别的输入数据实现语用任务的第一切片,实现过程可以参照上下文相应部分的描述,本实施例不做详述。The edge node does not store candidate slices, or after comparing the candidate modality category of the candidate slice stored in the edge node itself with the obtained new modality category, it is determined that the edge node does not store the candidate corresponding to the new modality category In the case of slicing, a semantic model update request can be sent to the cloud or other edge nodes in the communication network to request to obtain the first slice used to implement the pragmatic task for the input data of the new modality category. The implementation process can refer to The description of the corresponding part of the context is not described in detail in this embodiment.

步骤S49,利用该第一切片,获得第二语义模型,以通过该第二语义模型对新的模态类别的输入信源执行语用任务。Step S49, using the first slice to obtain a second semantic model, so as to perform a pragmatic task on the input information source of the new modality category through the second semantic model.

关于步骤S49的实现过程,可以参照上文实施例相应部分的描述,本实施例不做详述。Regarding the implementation process of step S49, reference may be made to the description of the corresponding part of the above embodiment, and this embodiment will not describe it in detail.

结合上文从边缘节点侧描述的语义通信方法,下面将从通信网络的云端侧描述该语义通信方法的实现过程,该云端可以是支持云计算服务的云服务器,其是边缘计算得管控端,实现通信网络中的不同边缘节点的通信管理,本申请对云端的结构及其基本功能不做详述。Combined with the semantic communication method described above from the edge node side, the implementation process of the semantic communication method will be described from the cloud side of the communication network. The cloud can be a cloud server that supports cloud computing services, which is the control end of edge computing. To realize the communication management of different edge nodes in the communication network, this application does not describe the structure and basic functions of the cloud in detail.

参照图5,为本申请提出的语义通信方法的可选实施例四的流程示意图,如图5所示,云端执行的语义通信方法可以包括:Referring to FIG. 5 , it is a schematic flowchart of an optional embodiment 4 of the semantic communication method proposed in this application. As shown in FIG. 5 , the semantic communication method executed on the cloud may include:

步骤S51,接收语义模型更新请求;该语义模型更新请求是包括请求更新的语义模型执行语用任务的输入信源的新的模态类别,以及该语用任务的任务类别;Step S51, receiving a semantic model update request; the semantic model update request is a new modal category including an input source for requesting the updated semantic model to perform a pragmatic task, and a task category of the pragmatic task;

本申请实施例中,在任一边缘节点(即语义模型更新请求端)获得语用任务输入信源的新的模态类别后,为了实现对该新的模态类别的输入数据的语用任务,可以向云端发送对应的语义模型更新请求,实现过程可以参照上文边缘节点侧执行的语义通信方法的描述内容,本实施例不做详述。In the embodiment of the present application, after any edge node (that is, the semantic model update request end) obtains a new modal category of the input source of the pragmatic task, in order to realize the pragmatic task of the input data of the new modal category, The corresponding semantic model update request can be sent to the cloud, and the implementation process can refer to the description of the semantic communication method executed on the edge node side above, which will not be described in detail in this embodiment.

步骤S52,获得与任务类别和该新的模态类别对应存储的第一切片;第一切片是通过属于该新的模态类别的数据集,针对语用任务训练的部分第一语义模型;Step S52, obtaining the first slice stored corresponding to the task category and the new modality category; the first slice is part of the first semantic model trained for the pragmatic task through the data set belonging to the new modality category ;

结合上文实施例对同一语用任务的不同模态类别的多种语义模型的差异分析,获得多个语义模型各自的切片的相关描述内容,云端可以获得这多个语义模型的切片,将其与对应语用任务的任务类别和模态类别进行关联后存储,这样,云端接收到任一语义模型更新请求后,可以按照不同切片与任务类别和模态类别之间的关联关系,获得与该请求包含的任务类别和新的模态类别关联的第一切片。Combined with the above-mentioned embodiment of the difference analysis of multiple semantic models of different modal categories for the same pragmatic task, the relevant description content of the respective slices of multiple semantic models is obtained, and the cloud can obtain the slices of these multiple semantic models, and store them It is associated with the task category and modal category of the corresponding pragmatic task and stored, so that after the cloud receives any semantic model update request, it can obtain the relationship between different slices and task categories and modal categories according to the The request contains the first slice associated with the task class and the new modal class.

需要说明,关于上述针对任一语用任务的不同模态类别的数据集,训练一一对应的语义模型,再进一步分割得到切片的实现过程,以及该实现过程的执行对象(如云端和/或至少一个边缘节点),可以参照但并不局限于上下文相应部分的描述,本实施例在此不做详述。It should be noted that, regarding the above-mentioned data sets of different modal categories for any pragmatic task, training a one-to-one corresponding semantic model, and then further segmenting to obtain the implementation process of the slice, and the execution object of the implementation process (such as the cloud and/or at least one edge node), reference may be made to but not limited to the description of the corresponding part of the context, and this embodiment will not be described in detail here.

步骤S53,发送该第一切片,以使语义模型更新请求端利用第一切片,获得能够对具有新的模态类别的输入信源执行语用任务的第二语义模型。Step S53 , sending the first slice, so that the semantic model update requester uses the first slice to obtain a second semantic model capable of performing pragmatic tasks on the input information source with the new modality category.

可见,在任一边缘节点需要对相同语用任务的输入信源的新的模态类别的输入数据进行处理的情况下,云端只需要将该新的模态类别对应的部分语义模型即第一切片反馈至该边缘节点,相对于发送整个语义模型模,大大减小了传输数据量,降低了对通信资源的消耗,同时也降低了该传输数据对接收端的存储开销和内存使用量,降低对边缘节点的存储开销和内存容量要求,增大了适用范围。It can be seen that when any edge node needs to process the input data of a new modal category of the input source of the same pragmatic task, the cloud only needs to process the part of the semantic model corresponding to the new modal category, that is, the first everything Compared with sending the entire semantic model module, it greatly reduces the amount of transmitted data and reduces the consumption of communication resources. At the same time, it also reduces the storage overhead and memory usage of the transmitted data on the receiving end. The storage overhead and memory capacity requirements of edge nodes increase the scope of application.

对于接收第一切片的边缘节点,可以直接将其替换针对原有模态类别的第三语义模型的第三切片,得到用于对新的模态类别的输入数据执行语用任务的第二语义模型,且该第二语义模型的性能,与通过该新的模态类别的数据集训练得到的第一语义模型的性能差异较小,使用第二语义模型可以满足对新的模态类别的输入数据的语义通信需求,提高了边缘节点的语义模型扩展性,满足多模态数据的语义通信。For the edge node receiving the first slice, it can directly replace the third slice of the third semantic model for the original modality category, and obtain the second slice for performing pragmatic tasks on the input data of the new modality category. Semantic model, and the performance of the second semantic model is less different from the performance of the first semantic model obtained through the training of the data set of the new modality category. Using the second semantic model can meet the requirements for the new modality category. The semantic communication requirements of input data improve the scalability of the semantic model of edge nodes and meet the semantic communication of multi-modal data.

参照图6,为本申请提出的语义通信方法的可选实施例五的流程示意图,该实施例仍可以从云端侧进行描述,如图6所示,该语义通信方法可以包括:Referring to FIG. 6 , it is a schematic flowchart of an optional embodiment five of the semantic communication method proposed in this application. This embodiment can still be described from the cloud side. As shown in FIG. 6 , the semantic communication method may include:

步骤S61,接收多个语义模型;该多个语义模型可以是针对同一任务类别的语用任务,通过不同模态类别的数据集训练得到;Step S61, receiving a plurality of semantic models; the plurality of semantic models may be for pragmatic tasks of the same task category and obtained through training of data sets of different modal categories;

步骤S62,对该多个语义模型进行参数差异分析,得到多个语义模型各自包含的针对相同语用功能的切片;Step S62, performing parameter difference analysis on the multiple semantic models to obtain the slices for the same pragmatic function included in the multiple semantic models;

步骤S63,将该多个语义模型各自的切片与任务类别以及对应的模态类别进行关联后存储;Step S63, associating the respective slices of the plurality of semantic models with task categories and corresponding modal categories and storing them;

结合上文实施例对应部分的描述,如图2所示,可以针对相同语用任务标注的不同模态类别的数据集,之后,通过每一数据集训练得到实现该语用任务的一语义模型,通过如参数相关性差异分析,确定参数差异较大的部分,据此实现对语义模型的分割,获得不同语义模型中针对相同语用功能的切片,为了方便后续边缘节点获取跨模态切片,可以将得到的针对相同语用任务的各语义模型的切片,与该语用任务的任务类型以及训练使用的数据集所属的模态类别进行关联后存储,具体存储方式本申请不做限制,可视情况而定。Combined with the description of the corresponding part of the above embodiment, as shown in Figure 2, data sets of different modal categories can be labeled for the same pragmatic task, and then a semantic model for realizing the pragmatic task can be obtained through training each data set , such as parameter correlation difference analysis, determine the part with large parameter difference, and then realize the segmentation of the semantic model, and obtain slices for the same pragmatic function in different semantic models. In order to facilitate subsequent edge nodes to obtain cross-modal slices, The obtained slices of each semantic model for the same pragmatic task can be associated with the task type of the pragmatic task and the modality category to which the data set used for training belongs, and then stored. The specific storage method is not limited in this application, and can be It depends.

在一些实施例中,对于上述实现相同语用任务的多个语义模型,可以由云端按照上文描述的方法训练得到,也可以由一个或多个边缘节点,和/或能够接入边缘节点的终端设备训练得到,再将训练得到的语义模型发送至云端,以使得云端可以获得多个语义模型各自的切片。其中,在云端接收多个边缘节点发送的已训练的多个语义模型的情况下,不同边缘节点可以训练相同语用任务的不同模态类别对应的语义模型,避免重复训练造成资源浪费,实现过程本申请不做详述。In some embodiments, the above-mentioned multiple semantic models that implement the same pragmatic task can be trained by the cloud according to the method described above, or can be obtained by one or more edge nodes, and/or those that can access the edge nodes The terminal device is trained, and then the trained semantic model is sent to the cloud, so that the cloud can obtain slices of multiple semantic models. Among them, when the cloud receives multiple trained semantic models sent by multiple edge nodes, different edge nodes can train semantic models corresponding to different modal categories of the same pragmatic task, avoiding resource waste caused by repeated training, and the implementation process This application does not describe in detail.

可选的,在任一边缘节点或终端设备针对语用任务训练得到多个模态类别各自的语义模型的情况下,可以按照但并不局限于上文描述的方法,对多个语义模型进行参数差异分析,实现对多个语义模型的分割处理,得到各模态类别对应的切片,之后,再将这多个语义模型及其包含的切片发送至云端进行存储。Optionally, in the case where any edge node or terminal device obtains the semantic models of multiple modal categories for pragmatic tasks, the multiple semantic models can be parameterized according to but not limited to the method described above. Difference analysis realizes the segmentation processing of multiple semantic models, obtains slices corresponding to each modality category, and then sends the multiple semantic models and the slices they contain to the cloud for storage.

步骤S64,接收语义模型获取请求;该语义模型获取请求包含请求获取的语义模型待执行的语用任务的任务类别,以及该语用任务的待处理输入信源的模态类别;Step S64, receiving a semantic model acquisition request; the semantic model acquisition request includes the task category of the pragmatic task to be executed by the semantic model requested to be acquired, and the modal category of the input source of the pragmatic task to be processed;

步骤S65,获得与该任务类别和模态类别对应的第三语义模型;Step S65, obtaining a third semantic model corresponding to the task category and the modality category;

步骤S66,发送该第三语义模型,以使得语义模型获取请求端执行该第三语义模型,对待处理输入信源执行语用任务;Step S66, sending the third semantic model, so that the semantic model acquisition requester executes the third semantic model, and executes the pragmatic task of the input information source to be processed;

结合上文边缘节点侧实施例对应部分的描述内容,任一边缘节点需要首次执行某语用任务的情况下,由于该边缘节点中未部署实现该语用任务的任一语义模型,需要先获取能够实现该语用任务的语义模型,云端获得该边缘节点发送的语义模型获取请求后,可以解析该语义模型获取请求,得到所要实现的语用任务的任务类别,以及该语用任务的待处理输入信源的模态类别,之后,可以从所存储的针对该语用任务的不同模态类别的语义模型中,选定该待处理输入信源的模态类别对应的语义模型,记为第三语义模型,将其发送至对应的边缘节点(即语义模型获取请求端)进行部署。Combined with the description of the corresponding part of the above edge node side embodiment, when any edge node needs to execute a certain pragmatic task for the first time, since no semantic model for implementing the pragmatic task is deployed in the edge node, it is necessary to obtain The semantic model of the pragmatic task can be realized. After the cloud obtains the semantic model acquisition request sent by the edge node, it can parse the semantic model acquisition request to obtain the task category of the pragmatic task to be implemented and the pending processing of the pragmatic task. Input the modal category of the information source, and then, from the stored semantic models of different modal categories for the pragmatic task, select the semantic model corresponding to the modal category of the input source to be processed, denoted as the first Three semantic models are sent to the corresponding edge nodes (that is, the semantic model acquisition request end) for deployment.

可选的,为了满足终端设备通过其他边缘节点,实现对待处理输入信源执行语用任务,云端也可以将获得的第三语义模型下发送至通信网络中的各边缘节点进行部署,这样,终端设备向任一边缘节点发送针对该语用任务的同一模态类别的数据,该边缘节点可以通过第三语义模型对该数据执行该语用任务。Optionally, in order for the terminal device to perform pragmatic tasks on the input source to be processed through other edge nodes, the cloud can also send the obtained third semantic model to each edge node in the communication network for deployment. In this way, the terminal The device sends data of the same modality category for the pragmatic task to any edge node, and the edge node can perform the pragmatic task on the data through the third semantic model.

在又一些实施例中,云端按照上述方法存储针对同一语用任务的不同模态类别的多个切片后,可以确定各边缘节点的跨模态切片的模态类别,即该边缘节点已部署语义模型对应的模态类别之外的其他模态类别,之后,可以发送该语用任务的任务类别关联存储的跨模态切片(即该语用任务的任务类别关联存储的多个语义模型中,除所请求获取的语义模型之外的语义模型包含的切片),如将该跨模态切片发送至对应的边缘节点作为候选切片进行存储。In some other embodiments, after the cloud stores multiple slices of different modal categories for the same pragmatic task according to the above method, the modal category of the cross-modal slice of each edge node can be determined, that is, the edge node has deployed semantic Other modal categories other than the modal category corresponding to the model, after that, you can send the cross-modal slices stored in the task category association of the pragmatic task (that is, in the multiple semantic models stored in the task category association storage of the pragmatic task, Slices included in the semantic model other than the requested semantic model), such as sending the cross-modal slice to the corresponding edge node as a candidate slice for storage.

步骤S67,接收语义模型更新请求;Step S67, receiving a semantic model update request;

继上述分析,对于上述语义模型获取请求端或其他边缘节点,确定语用任务输入信源的模态更新,得到新的模态类别后,可以向云端发送语义模型更新请求,或者是确定本地未存储该新的模态类别对应的候选切片的情况下,向云端发送该语义模型更新请求,以请求获得实现该语用任务的新的模态类别对应的切片,本申请对语义模型更新请求的发送对象及其触发条件不做限制,可视情况而定。Following the above analysis, for the above semantic model acquisition request end or other edge nodes, determine the modal update of the input source of the pragmatic task, and after obtaining the new modal category, you can send a semantic model update request to the cloud, or determine the local unavailable In the case of storing the candidate slice corresponding to the new modal category, send the semantic model update request to the cloud to request to obtain the slice corresponding to the new modal category that realizes the pragmatic task. There are no restrictions on the sending object and its triggering conditions, and it depends on the situation.

步骤S68,获得与语用任务的任务类别及其输入信源的新的模态类别对应存储的第一切片;Step S68, obtaining the first slice stored corresponding to the task category of the pragmatic task and the new modality category of the input information source;

步骤S69,将第一切片发送至语义模型更新请求端,以利用第一切片,获得能够对具有新的模态类别的输入信源执行语用任务的第二语义模型。Step S69, sending the first slice to the semantic model update request end, so as to use the first slice to obtain a second semantic model capable of performing pragmatic tasks on the input source with the new modality category.

通过语义模型更新请求包含的内容,云端查询到语义模型更新请求端(如任一边缘节点等)对新的模态类别的输入信源执行语用任务的第一切片后,只需要将第一切片反馈至语义模型更新请求端,使其按照上文描述的方法,获得第二语义模型,实现对新模态数据的语义处理。Through the content contained in the semantic model update request, after the cloud query finds that the semantic model update request end (such as any edge node, etc.) performs the first slice of the pragmatic task on the input source of the new modality category, it only needs to add the second All slices are fed back to the requester for updating the semantic model, so that it can obtain the second semantic model according to the method described above, and realize the semantic processing of the new modal data.

由于第一切片是第一语用模型的部分,其数据量远小于整个第一语义模型的数据量,这样,云端向边缘节点发送第一切片,相对于发送完整的第一语义模型,大大降低了对通信资源的消耗,对于接收第一切片的边缘节点来说,也降低了存储开销和内存容量要求。Since the first slice is part of the first pragmatic model, its data volume is much smaller than the data volume of the entire first semantic model. In this way, compared with sending the complete first semantic model, the cloud sends the first slice to the edge node. The consumption of communication resources is greatly reduced, and storage overhead and memory capacity requirements are also reduced for edge nodes receiving the first slice.

在本申请提出的又一些实施例中,结合上文各实施例描述的语义通信方法,通信网络中的第一节点训练实现语用任务的语义模型之前,可以查询其他边缘节点和云端是否已训练实现该语用任务的语义模型,以及已训练的语义模型训练所使用的数据集所属的模态类别等,可以通过发送语义模型查询请求实现,确定通信网络的第二节点(即区别于第一节点的至少一个边缘节点)或云服务器已经训练用于实现该语用任务的一定数量的语义模型,可以将包含已训练语义模型对应的模态类别的语义模型训练信息反馈至第一节点,以使得第一节点可以训练其他模态类别的语义模型,再发送至云端,由云端按照上述方法确定各语义模型包含的切片。In some other embodiments proposed by this application, combined with the semantic communication methods described in the above embodiments, before the first node in the communication network trains the semantic model for realizing the pragmatic task, it can query whether other edge nodes and the cloud have been trained The semantic model for realizing the pragmatic task, and the modal category to which the data set used for training the trained semantic model belongs, etc., can be realized by sending a semantic model query request to determine the second node of the communication network (that is, different from the first At least one edge node of the node) or a certain number of semantic models that have been trained by the cloud server to realize the pragmatic task, the semantic model training information containing the modal category corresponding to the trained semantic model can be fed back to the first node, to This enables the first node to train semantic models of other modal categories, and then sends them to the cloud, and the cloud determines the slices included in each semantic model according to the above method.

在确定第二节点或云端已经训练得到实现该语用任务的所有模态类别的多个语义模型,即已训练针对该语用任务的预设数量模态类别的语义模型,也就是确定接收到的语义模型的数量等于预设模态类别数量,可以向第一节点发送语义模型训练通知信息,以通知第一节点不用再训练实现该语用任务的语义模型,可以按照上文描述的方法,直接获取所需语义模型。It is determined that the second node or the cloud has trained multiple semantic models for all the modal categories of the pragmatic task, that is, the semantic models for the preset number of modal categories for the pragmatic task have been trained, that is, it is determined that the received The number of semantic models is equal to the number of preset modal categories, and the semantic model training notification information can be sent to the first node to notify the first node that there is no need to retrain the semantic model to realize the pragmatic task. According to the method described above, Get the desired semantic model directly.

其中,对于训练得到语义模型的边缘节点或终端设备,可以直接将语义模型上报至云端进行分割处理,也可以分割得到对应的切片后,将该语义模型及其切片发送至云端进行存储,本申请对相同语用任务的不同模态类别对应的多个语义模型的训练实现过程,以及执行该训练甚至语义模型分割处理的执行对象不做限制,可以依据实际场景需求确定。Among them, for the edge nodes or terminal devices that have obtained the semantic model after training, the semantic model can be directly reported to the cloud for segmentation processing, or the corresponding slices can be obtained after segmentation, and the semantic model and its slices can be sent to the cloud for storage. This application There are no restrictions on the training implementation process of multiple semantic models corresponding to different modal categories of the same pragmatic task, and the execution objects for performing the training and even semantic model segmentation processing, which can be determined according to actual scene requirements.

基于上述分析,参照图7所示,为本申请提出的语义通信方法的可选实施例六的流程示意图,该实施例可以对语义模型的训练实现过程及其分割过程进行描述,该方法可以云端执行,如图7所示,该语义通信方法可以包括:Based on the above analysis, referring to FIG. 7 , it is a schematic flow diagram of an optional embodiment six of the semantic communication method proposed by this application. This embodiment can describe the training implementation process of the semantic model and its segmentation process. This method can be used in the cloud Execution, as shown in Figure 7, the semantic communication method may include:

步骤S71,接收语义模型训练请求;Step S71, receiving a semantic model training request;

如上述分析,语义模型训练请求可以包括所请求训练的语义模型待执行的语用任务的不同输入信源的多个模态类别,以及该语用任务的任务类别,该语义模型训练请求可以由任一边缘节点发送,本申请对其生成或触发发送方式不做限制。As analyzed above, the semantic model training request may include multiple modal categories of different input sources of the pragmatic task to be performed by the semantic model requested to be trained, and the task category of the pragmatic task, and the semantic model training request may be composed of Any edge node sends, this application does not limit its generation or trigger sending method.

步骤S72,获得针对任务类别标注的多个模态类别各自的数据集;Step S72, obtaining respective datasets of multiple modal categories marked for the task category;

步骤S73,依据不同的数据集,训练得到与任务类别和相应的模态类别对应的语义模型;Step S73, according to different data sets, train to obtain the semantic model corresponding to the task category and the corresponding mode category;

结合图2所示训练过程,针对相同语用任务标注的数据集A和数据集B,甚至是更多的数据集,可以通过同一数据集中的训练数据,对初始语义模型进行训练学习,得到用于对相应模态类别的数据实现该语用任务的语义模型,如数据集A对应的语义模型A,数据集B对应的语义模型B,训练实现过程不做详述。Combined with the training process shown in Figure 2, for datasets A and B marked with the same pragmatic task, or even more datasets, the initial semantic model can be trained and learned through the training data in the same dataset, and the useful The semantic model of the pragmatic task is implemented for the data of the corresponding modal category, such as the semantic model A corresponding to the data set A, and the semantic model B corresponding to the data set B. The training and implementation process will not be described in detail.

步骤S74,对训练得到的多个语义模型进行参数差异分析,获得多个语义模型各自包含的针对相同语用功能的切片;Step S74, performing parameter difference analysis on the multiple semantic models obtained through training, and obtaining the slices for the same pragmatic function included in the multiple semantic models;

步骤S75,将多个语义模型各自的切片与任务类别和对应的模态类别进行关联后存储。Step S75 , associating the respective slices of the multiple semantic models with the task category and the corresponding modality category and storing them.

关于步骤S74和步骤S75的实现过程,以及依据查询跨模态切片,实现边缘节点中已有语义模型的更新,得到用于处理新模态类别的输入数据的语义模型的实现过程,可以参照上文实施例对应部分的描述,本实施例不做详述。Regarding the implementation process of step S74 and step S75, as well as the implementation process of updating the existing semantic model in the edge node and obtaining the semantic model used to process the input data of the new modal category according to the query cross-modal slice, you can refer to the above The description of the corresponding part of the embodiment of the text is not described in detail in this embodiment.

可选的,在获得针对该语用任务的新模态类别的数据集后,仍可以按照上文描述的方案训练得到对应的语义模型,将其与已训练的其他语义模型进行差异分析,得到新训练得到的语义模型包含的切片,添加到云端的存储空间中,以使得边缘节点可以支持对该新模态类别的数据执行语用任务,提高了边缘节点的语义模型的扩展性。Optionally, after obtaining the data set of the new modal category for the pragmatic task, the corresponding semantic model can still be trained according to the scheme described above, and the difference analysis between it and other trained semantic models can be obtained. The slices contained in the newly trained semantic model are added to the storage space of the cloud, so that the edge nodes can support the execution of pragmatic tasks on the data of the new modal category, and the scalability of the semantic model of the edge nodes is improved.

可选的,本申请还提出了一种语义通信装置,其可以适用于通信网络的任一边缘节点,该装置可以包括:Optionally, this application also proposes a semantic communication device, which can be applied to any edge node of a communication network, and the device can include:

模态类别获得模块,用于获得语用任务输入信源的新的模态类别;A modal category obtaining module, used to obtain a new modal category of the input source of the pragmatic task;

语义模型更新请求发送模块,用于发送语义模型更新请求;所述语义模型更新请求包括所述语用任务的任务类别以及所述新的模态类别;A semantic model update request sending module, configured to send a semantic model update request; the semantic model update request includes the task category of the pragmatic task and the new modality category;

第一切片接收模块,用于接收第一切片;所述第一切片是与所述任务类别和所述新的模态类别对应的部分第一语义模型;A first slice receiving module, configured to receive a first slice; the first slice is a part of the first semantic model corresponding to the task category and the new modality category;

第二语义模型获得模块,用于利用所述第一切片,获得第二语义模型,以通过所述第二语义模型对所述输入信源执行所述语用任务。The second semantic model obtaining module is configured to use the first slice to obtain a second semantic model, so as to perform the pragmatic task on the input information source through the second semantic model.

关于上述边缘节点中各功能模块包含的功能单元,可以参照上文从边缘节点侧描述的语义通信方法的相关描述,本实施例在此不做详述。For the functional units contained in the functional modules in the above edge node, reference may be made to the relevant description of the semantic communication method described above from the edge node side, and this embodiment will not describe it in detail here.

可选的,本申请还提出了一种语义通信装置,其可以适用于通信网络的云端,该装置可以包括:Optionally, this application also proposes a semantic communication device, which can be applied to the cloud of a communication network, and the device can include:

语义模型更新请求接收模块,用于接收语义模型更新请求;所述语义模型更新请求包括请求更新的语义模型执行语用任务的输入信源的新的模态类别,以及所述语用任务的任务类别;A semantic model update request receiving module, configured to receive a semantic model update request; the semantic model update request includes a new modal category of an input source for requesting an updated semantic model to perform a pragmatic task, and a task of the pragmatic task category;

第一切片获得模块,用于获得与所述任务类别和所述新的模态类别对应存储的第一切片;所述第一切片是通过属于所述新的模态类别的数据集,针对所述语用任务训练的部分第一语义模型;A first slice obtaining module, configured to obtain a first slice stored corresponding to the task category and the new modality category; the first slice is obtained through a data set belonging to the new modality category , part of the first semantic model trained for the pragmatic task;

第一切片发送模块,用于发送所述第一切片,以使语义模型更新请求端利用所述第一切片,获得能够对具有所述新的模态类别的输入信源执行所述语用任务的第二语义模型。The first slice sending module is configured to send the first slice, so that the semantic model update request end can use the first slice to obtain the ability to execute the described input source with the new modality category. A second semantic model for pragmatic tasks.

关于上述云端的各功能模块包含的功能单元,可以参照上文从云端侧描述的语义通信方法的相关描述,本实施例在此不做详述。Regarding the functional units included in the functional modules of the above cloud, reference may be made to the relevant description of the semantic communication method described above from the cloud side, and details are not described in this embodiment here.

需要说明的是,关于上述各装置实施例中的各种模块、单元等,均可以作为程序模块存储在通信网络中对应侧设备的存储器中,由该侧设备中的处理器执行存储在存储器中的上述程序模块,以实现相应的功能,关于各程序模块及其组合所实现的功能,以及达到的技术效果,可以参照上述对应侧设备执行的方法实施例相应部分的描述,本实施例不再赘述。It should be noted that the various modules, units, etc. in the above-mentioned apparatus embodiments can all be stored as program modules in the memory of the corresponding side device in the communication network, and executed by the processor in the side device and stored in the memory. The above-mentioned program modules to realize the corresponding functions. For the functions realized by each program module and its combination, as well as the technical effects achieved, you can refer to the description of the corresponding part of the above-mentioned method embodiment executed by the corresponding side device, and this embodiment will not repeat.

本申请还提出了一种计算机可读存储介质,其上存储有至少一个计算机指令集,该计算机指令集可以被处理器加载执行,实现上述通信网络对应侧执行的语义通信方法。The present application also proposes a computer-readable storage medium, on which at least one computer instruction set is stored, and the computer instruction set can be loaded and executed by a processor to implement the above-mentioned semantic communication method executed by the corresponding side of the communication network.

参照图8,为适用于本申请提出的语义通信方法的计算机设备的一可选示例的硬件结构示意图,该计算机设备可以包括收发器81和处理器82,其中:Referring to FIG. 8 , it is a schematic diagram of the hardware structure of an optional example of a computer device suitable for the semantic communication method proposed in this application. The computer device may include a transceiver 81 and a processor 82, wherein:

收发器81可以用于实现信息的接收和发送,其可以是支持无线通信网络或有线通信网络的通信模块,如WIFI模块、5G/6G(第五代移动通信网络/第六代移动通信网络)模块、无线射频模块、短距离通信模块、GPRS模块等无线通信模块,或者是网络数据线等,可以依据通信网络中不同节点之间的通信方式确定,本申请对收发器81的组成结构不做限制。The transceiver 81 can be used to realize the receiving and sending of information, which can be a communication module supporting a wireless communication network or a wired communication network, such as a WIFI module, 5G/6G (fifth generation mobile communication network/sixth generation mobile communication network) module, wireless radio frequency module, short-distance communication module, GPRS module and other wireless communication modules, or network data lines, etc., can be determined according to the communication mode between different nodes in the communication network. limit.

在计算机设备被配置为通信网络中不同身份的设备的情况下,处理器82可以用于实现对应侧执行的语义通信方法。如计算机设备被配置为通信网络中的任一边缘节点的情况下,可以用于实现上述从边缘节点侧描述的语义通信方法;在计算机设备被配置为通信网络的云端的情况下,可以用于实现上述从云端侧描述的语义通信方法,实现过程参照上述对应侧实施例的描述内容,本实施例不做赘述。In the case that the computer devices are configured as devices of different identities in the communication network, the processor 82 can be used to realize the semantic communication method performed by the corresponding side. For example, if the computer device is configured as any edge node in the communication network, it can be used to implement the semantic communication method described above from the edge node side; if the computer device is configured as the cloud of the communication network, it can be used for To implement the semantic communication method described above from the cloud side, the implementation process refers to the description content of the above-mentioned embodiment on the corresponding side, and details are not described in this embodiment.

在本申请实际应用中,上述处理器82可以为中央处理器(Central ProcessingUnit,CPU)、特定应用集成电路(application-specific integrated circuit,ASIC)、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件等,语义通信方法的不同执行对象中的处理器82的类型可以相同,也可以不同,本申请不做限制。In the actual application of this application, the above-mentioned processor 82 may be a central processing unit (Central Processing Unit, CPU), a specific application integrated circuit (application-specific integrated circuit, ASIC), a digital signal processor (DSP), an application-specific integrated circuit (ASIC) ), off-the-shelf programmable gate array (FPGA) or other programmable logic devices, etc., the types of processors 82 in different execution objects of the semantic communication method may be the same or different, which is not limited in this application.

可选的,上述语义通信方法可以通过程序代码实现,上述处理器82可以包含存储设备,用于存储实现对应侧执行的语义通信方法的程序代码,处理器82可以通过执行该程序代码,实现对应侧执行的语义通信方法。Optionally, the above-mentioned semantic communication method may be implemented by program code, and the above-mentioned processor 82 may include a storage device for storing program code for implementing the semantic communication method executed by the corresponding side, and the processor 82 may execute the program code to realize the corresponding Semantic communication method executed on the side.

在又一些实施例中,计算机设备还可以包括存储器,其是独立于处理器81的器件,如高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件或其他易失性固态存储器件等,如上文描述的方法,其可以用于存储实现对应侧执行的语义通信方法的程序代码,由处理器82加载执行该程序代码,实现对应侧执行的语义通信方法。In some other embodiments, the computer device may also include a memory, which is a device independent of the processor 81, such as a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device or other volatile memory. A non-volatile solid-state storage device, etc., such as the method described above, can be used to store the program code for implementing the semantic communication method executed by the corresponding side, and the program code is loaded and executed by the processor 82 to realize the semantic communication method executed by the corresponding side.

应该理解的是,图8所示的计算机设备的结构并不构成对本申请实施例中计算机设备的限定,在实际应用中,计算机设备可以包括比图8所示的更多的部件,或者组合某些部件,如各种传感器构成的传感器模组、报警设备、电源模组等,在计算机设备为终端设备的情况下,还可以包括如感应触摸显示面板上的触摸事件的触摸感应单元、键盘、鼠标、摄像头、拾音器等至少一个输入组件,以及如显示器、扬声器、振动机构、灯等至少一个输出组件等,可以依据计算机设备的类型及其功能需求确定,本申请在此不做一一列举。It should be understood that the structure of the computer device shown in FIG. 8 does not constitute a limitation on the computer device in the embodiment of the present application. In practical applications, the computer device may include more components than those shown in FIG. 8 , or combine certain These components, such as sensor modules composed of various sensors, alarm equipment, power supply modules, etc., when the computer equipment is a terminal equipment, can also include touch sensing units such as touch events on the touch display panel, keyboards, At least one input component such as a mouse, a camera, and a pickup, and at least one output component such as a display, a speaker, a vibration mechanism, and a lamp, etc., can be determined according to the type of computer equipment and its functional requirements, and this application does not list them here.

需要说明的是,关于上述各实施例中,诸如第一、第二等之类的关系术语仅仅用来将一个操作、单元或模块与另一个操作、单元或模块区分开来,而不一定要求或者暗示这些单元、操作或模块之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法或者系统中还存在另外的相同要素。It should be noted that, in the above-mentioned embodiments, relative terms such as first, second, etc. are only used to distinguish one operation, unit or module from another operation, unit or module, and do not necessarily require Or imply any such actual relationship or order between these units, operations or modules. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method or system comprising a set of elements includes not only those elements but also other elements not expressly listed. elements, or elements inherent in such a process, method, or system. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method or system comprising said element.

且,如本申请和权利要求书中所示,除非上下文明确提示例外情形,“一”、“一个”、“一种”和/或“该”等词并非特指单数,也可包括复数。还有,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。And, as shown in the application and claims, words such as "a", "an", "an" and/or "the" are not specific to the singular and may include the plural, unless the context clearly suggests an exception. Also, unless otherwise specified, "/" means or, for example, A/B can mean A or B; "and/or" in this article is just an association relationship describing associated objects, indicating that there can be three A relationship, for example, A and/or B, can mean: A exists alone, A and B exist simultaneously, and B exists alone.

另外,本申请说明根据本申请的实施例的系统所执行的操作的流程图,其前面或后面操作不一定按照顺序来精确地执行。相反,可以按照倒序或同时处理各个步骤。同时,也可以将其他操作添加到这些过程中,或从这些过程移除某一步或数步操作。In addition, the present application illustrates a flow chart of operations performed by the system according to the embodiments of the present application, and the previous or subsequent operations are not necessarily performed in exact order. Instead, various steps may be processed in reverse order or simultaneously. At the same time, other operations can be added to these procedures, or a certain step or steps can be removed from these procedures.

最后,本说明书中各个实施例采用递进或并列的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置、计算机设备而言,由于其与实施例公开的方法对应,所以描述的比较简单,相关之处参见方法部分说明即可。Finally, each embodiment in this specification is described in a progressive or parallel manner, and each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other. As for the device and computer equipment disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and for the related parts, please refer to the description of the method part.

对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本申请。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其它实施例中实现。因此,本申请将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the application. Therefore, the present application will not be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1.一种语义通信方法,所述方法包括:1. A semantic communication method, said method comprising: 获得语用任务输入信源的新的模态类别;Obtain new modal categories of input sources for pragmatic tasks; 发送语义模型更新请求;所述语义模型更新请求包括所述语用任务的任务类别以及所述新的模态类别;sending a semantic model update request; the semantic model update request includes the task category of the pragmatic task and the new modality category; 接收第一切片;所述第一切片是与所述任务类别和所述新的模态类别对应的部分第一语义模型;receiving a first slice; the first slice is a part of a first semantic model corresponding to the task category and the new modality category; 利用所述第一切片,获得第二语义模型,以通过所述第二语义模型对所述输入信源执行所述语用任务。Using the first slice, a second semantic model is obtained, so as to perform the pragmatic task on the input information source through the second semantic model. 2.根据权利要求1所述的方法,在所述获得语用任务输入信源的新的模态类别之前,所述方法还包括:2. The method according to claim 1, before said obtaining the new modality category of the pragmatic task input source, said method further comprises: 获得待执行的任一语用任务的任务类别,以及该语用任务的待处理输入信源的模态类别;Obtain the task category of any pragmatic task to be executed, and the modality category of the input source of the pragmatic task to be processed; 发送语义模型获取请求;所述语义模型获取请求包含所述任务类别以及所述模态类别;Send a semantic model acquisition request; the semantic model acquisition request includes the task category and the modal category; 接收第三语义模型;所述第三语义模型是已训练的与所述任务类别和所述模态类别对应的语义模型;receiving a third semantic model; the third semantic model is a trained semantic model corresponding to the task category and the modality category; 执行所述第三语义模型,以通过所述第三语义模型对所述待处理输入信源执行所述语用任务。Executing the third semantic model to perform the pragmatic task on the input information source to be processed through the third semantic model. 3.根据权利要求1或2所述的方法,所述利用所述第一切片,获得第二语义模型,包括:3. The method according to claim 1 or 2, said utilizing said first slice to obtain a second semantic model, comprising: 利用所述第一切片,替换第三语义模型中的第三切片,得到第二语义模型;所述第三语义模型是指对原有模态类别的输入信源执行所述语用任务的语义模型。Using the first slice to replace the third slice in the third semantic model to obtain the second semantic model; the third semantic model refers to the implementation of the pragmatic task on the input source of the original modal category semantic model. 4.根据权利要求1或2所述的方法,在所述获得语用任务输入信源的新的模态类别的情况下,所述方法还包括:4. The method according to claim 1 or 2, in the case of obtaining the new modality category of the pragmatic task input source, the method further comprises: 确定已存储的至少一个候选切片;所述候选切片是针对所述语用任务训练得到的部分语义模型;Determine at least one candidate slice that has been stored; the candidate slice is a partial semantic model trained for the pragmatic task; 获得所述候选切片对应的候选模态类别;所述候选模态类别为用于训练对应的所述候选切片所属语义模型的数据集的模态类别;Obtaining a candidate modality category corresponding to the candidate slice; the candidate modality category is a modality category for training a data set corresponding to the semantic model to which the candidate slice belongs; 将所述新的模态类别与所述候选模态类别进行比较,得到对应的比较结果;Comparing the new modality category with the candidate modality category to obtain a corresponding comparison result; 确定所述比较结果为所述新的模态类别与任一所述候选模态类别相同,获得所述新的模态类别对应的所述候选切片确定为第一切片,执行所述利用所述第一切片,获得第二语义模型步骤;Determining that the comparison result is that the new modality category is the same as any of the candidate modality categories, obtaining the candidate slice corresponding to the new modality category is determined as the first slice, and performing the using the Describe the first slice, obtain the second semantic model step; 确定所述比较结果为所述新的模态类别与所有的所述候选模态类别都不同,或者确定未存储任一所述候选切片,执行所述发送语义模型更新请求步骤。If it is determined that the comparison result is that the new modality category is different from all the candidate modality categories, or it is determined that no candidate slice is stored, the step of sending a semantic model update request is performed. 5.一种语义通信方法,所述方法包括:5. A semantic communication method, said method comprising: 接收语义模型更新请求;所述语义模型更新请求是包括请求更新的语义模型执行语用任务的输入信源的新的模态类别,以及所述语用任务的任务类别;Receiving a semantic model update request; the semantic model update request is a new modal category including an input source that requests the updated semantic model to perform a pragmatic task, and a task category of the pragmatic task; 获得与所述任务类别和所述新的模态类别对应存储的第一切片;所述第一切片是通过属于所述新的模态类别的数据集,针对所述语用任务训练的部分第一语义模型;Obtaining a first slice stored corresponding to the task category and the new modality category; the first slice is trained for the pragmatic task through a data set belonging to the new modality category Part of the first semantic model; 发送所述第一切片,以使语义模型更新请求端利用所述第一切片,获得能够对具有所述新的模态类别的输入信源执行所述语用任务的第二语义模型。The first slice is sent, so that the semantic model update request end uses the first slice to obtain a second semantic model capable of performing the pragmatic task on the input information source with the new modality category. 6.根据权利要求5所述的方法,所述方法还包括:6. The method of claim 5, further comprising: 接收语义模型获取请求;所述语义模型获取请求包含请求获取的语义模型待执行的语用任务的任务类别,以及该语用任务的待处理输入信源的模态类别;Receiving a semantic model acquisition request; the semantic model acquisition request includes the task category of the pragmatic task to be executed by the semantic model requested to be acquired, and the modal category of the input source of the pragmatic task to be processed; 获得与所述任务类别和所述模态类别对应的第三语义模型;obtaining a third semantic model corresponding to the task category and the modality category; 发送所述第三语义模型。Send the third semantic model. 7.根据权利要求5或6所述的方法,所述方法还包括:7. The method of claim 5 or 6, further comprising: 接收多个语义模型;所述多个语义模型是针对同一任务类别的语用任务,通过不同模态类别的数据集训练得到;receiving a plurality of semantic models; the plurality of semantic models are for pragmatic tasks of the same task category, obtained through training of data sets of different modality categories; 对所述多个语义模型进行参数差异分析,得到所述多个语义模型各自包含的针对相同语用功能的切片;Performing parameter difference analysis on the multiple semantic models to obtain slices for the same pragmatic function included in the multiple semantic models; 将所述多个语义模型各自的所述切片与所述任务类别以及对应的所述模态类别进行关联后存储。The respective slices of the plurality of semantic models are associated with the task category and the corresponding modality category and stored. 8.根据权利要求7所述的方法,在接收到任一所述语义模型获取请求的情况下,所述方法还包括:8. The method according to claim 7, in the case of receiving any one of the semantic model acquisition requests, the method further comprises: 发送所述任务类别所关联存储的跨模态切片,以使语义模型获取请求端能够将接收到的所述跨模态切片确定为所述语用任务的候选切片进行存储;Sending the cross-modal slice associated with the task category, so that the semantic model acquisition request end can determine the received cross-modal slice as a candidate slice of the pragmatic task for storage; 其中,所述跨模态切片是指所述任务类别关联存储的多个语义模型中,除所请求获取的语义模型之外的语义模型包含的切片。Wherein, the cross-modal slice refers to a slice contained in semantic models other than the requested semantic model among the plurality of semantic models stored in association with the task category. 9.根据权利要求5或6所述的方法,所述方法还包括:9. The method of claim 5 or 6, further comprising: 接收语义模型训练请求;所述语义模型训练请求包括所请求训练的语义模型待执行的语用任务的不同输入信源的多个模态类别,以及所述语用任务的任务类别;Receiving a semantic model training request; the semantic model training request includes multiple modal categories of different input sources of the pragmatic task to be performed by the semantic model requested to be trained, and the task category of the pragmatic task; 获得针对所述任务类别标注的所述多个模态类别各自的数据集;obtaining respective datasets of the plurality of modality categories labeled for the task category; 依据所述数据集,训练得到与所述任务类别和相应的所述模态类别对应的语义模型;According to the data set, train to obtain a semantic model corresponding to the task category and the corresponding modality category; 对训练得到的多个语义模型进行参数差异分析,获得所述多个语义模型各自包含的针对相同语用功能的切片;Perform parameter difference analysis on the multiple semantic models obtained through training, and obtain the slices for the same pragmatic function contained in each of the multiple semantic models; 将所述多个语义模型各自的所述切片与所述任务类别和对应的所述模态类别进行关联后存储。The respective slices of the plurality of semantic models are associated with the task category and the corresponding modality category and stored. 10.一种计算机设备,所述计算机设备包括收发器和处理器,其中:10. A computer device comprising a transceiver and a processor, wherein: 在所述计算机设备被配置为通信网络中的任一边缘节点的情况下,所述处理器用于实现:In the case where the computer device is configured as any edge node in the communication network, the processor is configured to implement: 获得语用任务输入信源的新的模态类别;Obtain new modal categories of input sources for pragmatic tasks; 发送语义模型更新请求;所述语义模型更新请求包括所述语用任务的任务类别以及所述新的模态类别;sending a semantic model update request; the semantic model update request includes the task category of the pragmatic task and the new modality category; 接收第一切片;所述第一切片是与所述任务类别和所述新的模态类别对应的部分第一语义模型;receiving a first slice; the first slice is a part of a first semantic model corresponding to the task category and the new modality category; 利用所述第一切片,获得第二语义模型,以通过所述第二语义模型对所述输入信源执行所述语用任务;Obtaining a second semantic model by using the first slice, so as to perform the pragmatic task on the input information source through the second semantic model; 在所述计算机设备被配置为所述通信网络的云端的情况下,所述处理器用于实现:Where the computer device is configured as a cloud of the communication network, the processor is configured to: 接收语义模型更新请求;所述语义模型更新请求是包括请求更新的语义模型执行语用任务的输入信源的新的模态类别,以及所述语用任务的任务类别;Receiving a semantic model update request; the semantic model update request is a new modal category including an input source that requests the updated semantic model to perform a pragmatic task, and a task category of the pragmatic task; 获得与所述任务类别和所述新的模态类别对应存储的第一切片;所述第一切片是通过属于所述新的模态类别的数据集,针对所述语用任务训练的部分第一语义模型;Obtaining a first slice stored corresponding to the task category and the new modality category; the first slice is trained for the pragmatic task through a data set belonging to the new modality category Part of the first semantic model; 发送所述第一切片,以使语义模型更新请求端利用所述第一切片,获得能够对具有所述新的模态类别的输入信源执行所述语用任务的第二语义模型。The first slice is sent, so that the semantic model update request end uses the first slice to obtain a second semantic model capable of performing the pragmatic task on the input information source with the new modality category.
CN202310559608.7A 2023-05-17 2023-05-17 A semantic communication method and computer equipment Pending CN116595439A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310559608.7A CN116595439A (en) 2023-05-17 2023-05-17 A semantic communication method and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310559608.7A CN116595439A (en) 2023-05-17 2023-05-17 A semantic communication method and computer equipment

Publications (1)

Publication Number Publication Date
CN116595439A true CN116595439A (en) 2023-08-15

Family

ID=87593236

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310559608.7A Pending CN116595439A (en) 2023-05-17 2023-05-17 A semantic communication method and computer equipment

Country Status (1)

Country Link
CN (1) CN116595439A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190050942A1 (en) * 2017-08-11 2019-02-14 American International Group, Inc. Systems and methods for dynamic real-time analysis from multi-modal data fusion for contextual risk identification
CN112292691A (en) * 2018-06-18 2021-01-29 谷歌有限责任公司 Methods and systems for improving cancer detection using deep learning
CN113656706A (en) * 2021-08-31 2021-11-16 平安医疗健康管理股份有限公司 Information pushing method and device based on multi-mode deep learning model
CN114694076A (en) * 2022-04-08 2022-07-01 浙江理工大学 Multi-modal emotion analysis method based on multi-task learning and stacked cross-modal fusion
CN115063585A (en) * 2022-05-30 2022-09-16 华为技术有限公司 Unsupervised semantic segmentation model training method and related device
DE102021110069A1 (en) * 2021-04-21 2022-10-27 Bayerische Motoren Werke Aktiengesellschaft Method, assistance device and motor vehicle for the semantic segmentation of a digital image and method for providing a correction model for the semantic segmentation
CN115759107A (en) * 2022-10-10 2023-03-07 北京邮电大学 Generation method, device, electronic device and medium of semantic communication system
US20230169351A1 (en) * 2021-12-06 2023-06-01 Beijing Baidu Netcom Science Technology Co., Ltd. Distributed training method based on end-to-end adaption, and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190050942A1 (en) * 2017-08-11 2019-02-14 American International Group, Inc. Systems and methods for dynamic real-time analysis from multi-modal data fusion for contextual risk identification
CN112292691A (en) * 2018-06-18 2021-01-29 谷歌有限责任公司 Methods and systems for improving cancer detection using deep learning
DE102021110069A1 (en) * 2021-04-21 2022-10-27 Bayerische Motoren Werke Aktiengesellschaft Method, assistance device and motor vehicle for the semantic segmentation of a digital image and method for providing a correction model for the semantic segmentation
CN113656706A (en) * 2021-08-31 2021-11-16 平安医疗健康管理股份有限公司 Information pushing method and device based on multi-mode deep learning model
US20230169351A1 (en) * 2021-12-06 2023-06-01 Beijing Baidu Netcom Science Technology Co., Ltd. Distributed training method based on end-to-end adaption, and device
CN114694076A (en) * 2022-04-08 2022-07-01 浙江理工大学 Multi-modal emotion analysis method based on multi-task learning and stacked cross-modal fusion
CN115063585A (en) * 2022-05-30 2022-09-16 华为技术有限公司 Unsupervised semantic segmentation model training method and related device
CN115759107A (en) * 2022-10-10 2023-03-07 北京邮电大学 Generation method, device, electronic device and medium of semantic communication system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CHEN DONG: "Semantic Communication System Based On Semantic Slice Models Propagation", IEEE JOURNAL ON SELECTED AREAS IN COMMUNICATIONS, vol. 41, no. 1, 31 January 2023 (2023-01-31), pages 202 - 213 *
孙梦颖: "智简语义通信的链路设计及关键技术研究", 中兴通讯技术, vol. 29, no. 4, 10 May 2023 (2023-05-10) *

Similar Documents

Publication Publication Date Title
US20250013642A1 (en) Method, Apparatus and System for Configurable Data Collection for Networked Data Analytics and Management
US11355123B2 (en) Network data aligning
Perera et al. Sensor search techniques for sensing as a service architecture for the internet of things
CN114610588A (en) Database performance analysis method and device, electronic equipment and storage medium
WO2022001918A1 (en) Method and apparatus for building predictive model, computing device, and storage medium
CN119312219B (en) Method for constructing hardware abstraction layer of chip platform
CN111104425B (en) Data processing method and device
CN114327857A (en) Operation data processing method and device, computer equipment and storage medium
CN106844538A (en) A kind of many attribute sort methods and device for being applied to Internet of Things search
CN110232106A (en) A kind of mass data storage and method for quickly retrieving based on MongoDB and Solr
CN111367996A (en) KV index-based thermal data increment synchronization method and device
US9183264B2 (en) Distributed configuration information management device and distributed configuration information management method using duplicates
CN115658348B (en) Micro-service calling method, related device and storage medium
CN115081624B (en) Neural network model adjustment method, device and computer readable storage medium
CN115565215B (en) Face recognition algorithm switching method and device and storage medium
CN111444249A (en) User portrait generation method, device and equipment based on thermal data and storage medium
CN116595439A (en) A semantic communication method and computer equipment
US20250086175A1 (en) Remote query processing for a federated query system based on predicted query processing duration
CN113992520B (en) Virtual network resource deployment method and system
CN113378035B (en) Label management method, label management device, server and computer storage medium
US12406030B1 (en) Managing resources using a graph inference model to infer tags
CN116244071B (en) Resource adjustment method, related equipment and storage medium
US20260037574A1 (en) Workload distribution between edge and core systems
CN119919198A (en) A method, device, equipment and computer program product for determining a target population
KR101442755B1 (en) Large Scale QoS-aware Web Service Composition method using Efficient Anytime Algorithm

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination