Communication method and communication apparatus

By matching the model structure and data dimensions of the first and second devices, the problem of AI model mismatch was solved, improving communication efficiency and quality.

WO2026016739A1PCT designated stage Publication Date: 2026-01-22HUAWEI TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/102930
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-07-19
Filing Date
2025-06-24
Publication Date
2026-01-22

AI Technical Summary

Technical Problem

In the field of communications, the associated AI models may fail to match, leading to a decrease in the efficiency or quality of communication between devices.

Method used

By instructing the first device to train a portion of the model structure or the dimension of the output data of the first model, the output layer of the first device is matched with the input layer of the second device, ensuring that the dimension of the output data of the first model is the same as the dimension of the input data of the second model, thereby improving the model matching.

Benefits of technology

This improves the communication efficiency and quality between devices, enabling the second device to better process the output data of the first model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025102930_22012026_PF_FP_ABST
    Figure CN2025102930_22012026_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the field of communications, and provides a communication method and a communication apparatus, which are conducive to improving the matching between associated models when the associated models are provided in different devices. The method comprises: receiving first information from a second device, wherein the first information is used for indicating part of a first model structure used by a first device to train a first model, and the part of the first model structure comprises a model structure of an output layer, or the first information is used for indicating a dimension of first model output data or a dimension of second model input data; and determining the first model structure on the basis of the first information.
Need to check novelty before this filing date? Find Prior Art

Description

Communication method and communication apparatus

[0001] The present application claims priority to the Chinese patent application No. 202410979487.6, filed on July 19, 2024, and entitled "Communication method and communication apparatus", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD

[0002] Embodiments of the present application relate to the field of communication, in particular to a communication method and a communication apparatus. BACKGROUND

[0003] At present, artificial intelligence (AI) models are widely used in the field of communication. For example, in some application scenarios, associated models can be set in different electronic devices to process information transmitted between electronic devices, thereby improving the communication efficiency or communication quality between electronic devices. The associated models can be understood as the output data of one model being the input data of another model. For example, model 1 can be set in one electronic device, and model 2 can be set in another electronic device, the output data of model 1 being the input data of model 2, and so on.

[0004] However, the associated models may not match, so that the associated models cannot be jointly used to process information transmitted between devices, thereby affecting the communication efficiency or communication quality between devices. SUMMARY

[0005] The present application provides a communication method and a communication apparatus. The second device can indicate to the first device the part of the first model structure or the dimension of the output data of the first model used by the first device to train the first model, so that the output layer of the first model in the first device matches the input layer of the second model in the second device, or the dimension of the first model output data in the first device is the same as the dimension of the second model input data in the second device, which is conducive to improving the matching of the associated models.

[0006] In a first aspect, the present application provides a communication method, comprising: receiving first information from a second device; wherein the first information is used to indicate part of a first model structure used by a first device to train a first model, the part of the first model structure including a model structure of an output layer; or, the first information is used to indicate a dimension of output data of the first model or a dimension of input data of a second model; determining a first model structure based on the first information.

[0007] In a possible implementation, the method is performed by a first communication device. The first communication device can be a first device or a chip or circuit applied to the first device, etc. The first device can be a terminal device or a network device, for example.

[0008] In one case, the first device is a terminal device and the second device is a network device; in another case, the first device is a network device and the second device is a terminal device.

[0009] In the communication method, the second device indicates the model structure of the output layer of the first model to the first device, so that the model structure of the output layer of the first model trained by the first device can be the same as the model structure of the input layer of the second model trained by the second device; or, the second device indicates the dimension of the output data of the first model or the dimension of the input data of the second model to the first device, so that the dimension of the output data of the first model trained by the first device can be the same as the dimension of the input data of the second model trained by the second device. In this way, the output layer of the first model trained by the first device matches the input layer of the second model trained by the second device, so that the first model and the second model match each other. Further, the second device can process the output data of the first model based on the second model. This helps to improve the communication efficiency or communication quality between the first device and the second device.

[0010] With reference to the first aspect, in some embodiments of the first aspect, the part of the first model structure is the model structure of the last n network layers in the first model, and n is a positive integer.

[0011] Since the output data of the first model is the input data of the second model, the effect of processing the data by the second device based on the second model is related to the structure and form of the output data of the first model, and the structure and form of the output data of the first model are usually related to the last n network layers. Therefore, the second device indicates the model structure of the last n network layers to the first device, which helps to match the first model and the second model, so that the effect of processing the output data of the first model based on the second model by the second device can be better.

[0012] With reference to the first aspect, in some embodiments of the first aspect, the model structure of the last n network layers includes: the type of each network layer in the last n network layers and / or the number of neurons included in each network layer in the last n network layers.

[0013] In this way, the type of the input layer of the second model can be the same as the type of the output layer of the first model, and / or the number of neurons included in the input layer of the second model can be the same as the number of neurons included in the output layer of the first model. This makes the first model and the second model have higher matching.

[0014] With reference to the first aspect, in some embodiments of the first aspect, the method further includes: receiving second information from the second device; wherein the second information is used to indicate all or part of a model structure of a second model, and all or part of the model structure of the second model is used to train the first model; or the second information is used to indicate all or part of the model structure of the second model and model parameters of the second model, and all or part of the model structure of the second model and the model parameters of the second model are used to train the first model.

[0015] In this way, the first device can determine the second model based on all or part of the model structure of the second model, or the first device can determine the second model based on all or part of the model structure of the second model and the model parameters of the second model. Thus, the first device can train the first model based on the second model.

[0016] With reference to the first aspect, in some embodiments of the first aspect, the method further includes: receiving information from the second device indicating that the first device performs model training alone.

[0017] In this way, the first device can perform model training based on the first model structure alone.

[0018] With reference to the first aspect, in some embodiments of the first aspect, the method further includes: sending third information to the second device, the third information being used to indicate a model structure supported by the first device and / or a dimension of output data; wherein part of the first model structure is determined by the second device based on the third information, and / or the dimension of the first model output data or the dimension of the second model input data is determined by the second device based on the third information.

[0019] In this way, the second device can determine the first information based on the third information, so that the part of the first model structure indicated by the second device to the first device is the model structure supported by the first device, or the dimension of the first model output data or the dimension of the second model input data indicated by the second device to the first device is the dimension of the output data supported by the first device, so that the first device has a higher efficiency in training the first model based on the first model structure.

[0020] With reference to the first aspect, in some embodiments of the first aspect, the method further includes: sending fourth information to the second device, the fourth information being used to indicate that the first device supports performing model training, or the fourth information being used to indicate that the first device does not support performing model training.

[0021] In this way, the second device can determine whether the first device can perform model training.

[0022] With reference to the first aspect, in some embodiments of the first aspect, the fourth information is used to indicate that the first device does not support model training, and the fourth information is further used to indicate a reason why the first device does not support model training and / or a first time length, the first time length being a time length during which the first device does not support model training.

[0023] In this way, the second device can determine the reason why the first device does not support model training, and / or the second device can determine the time length during which the first device does not support model training.

[0024] With reference to the first aspect, in some embodiments of the first aspect, the method further includes training the first model based on the first model structure.

[0025] In this way, the model structure of the output layer of the first model trained by the first device can be the same as the model structure of the input layer of the second model, or the dimension of the output data of the first model trained by the first device can be the same as the dimension of the input data of the second model. This makes the matching of the first model and the second model higher.

[0026] With reference to the first aspect, in some embodiments of the first aspect, the first model is a model for encoding, and the second model is a model for decoding.

[0027] In this way, the second device can better decode the encoded data output by the first model based on the second model.

[0028] The second aspect provides another communication method, which includes determining first information, wherein the first information is used to indicate a partial first model structure of a first model used by a first device to train the first model, the partial first model structure including a model structure of an output layer; or the first information is used to indicate a dimension of output data of the first model or a dimension of input data of a second model; and sending the first information to the first device.

[0029] In a possible implementation, the method is performed by a second communication apparatus. The second communication apparatus can be a second device or a chip or circuit applied to a second device.

[0030] With reference to the second aspect, in some embodiments of the second aspect, the partial first model structure is a model structure of n last network layers in the first model, n being a positive integer.

[0031] With reference to the second aspect, in some embodiments of the second aspect, the model structure of the n last network layers includes a type of each network layer in the n last network layers and / or a number of neurons included in each network layer in the n last network layers.

[0032] With reference to the second aspect, in some embodiments of the second aspect, the method further includes: sending, to the first device, second information; wherein the second information is used to indicate all or part of a model structure of the second model, the all or part of the model structure of the second model being used to train the first model; or the second information is used to indicate all or part of a model structure of the second model and a model parameter of the second model, the all or part of the model structure of the second model and the model parameter of the second model being used to train the first model.

[0033] With reference to the second aspect, in some embodiments of the second aspect, the method further includes: sending, to the first device, information used to indicate that the first device performs model training alone.

[0034] With reference to the second aspect, in some embodiments of the second aspect, the method further includes: receiving third information from the first device, the third information being used to indicate a model structure and / or a dimension of output data supported by the first device; wherein the part of the first model structure is determined by the second device based on the third information, and / or the dimension of the first model output data or the dimension of the second model input data is determined by the second device based on the third information.

[0035] With reference to the second aspect, in some embodiments of the second aspect, the method further includes: receiving fourth information from the first device, the fourth information being used to indicate that the first device supports performing model training, or the fourth information being used to indicate that the first device does not support performing model training.

[0036] With reference to the second aspect, in some embodiments of the second aspect, the fourth information is used to indicate that the first device does not support performing model training, and the fourth information is further used to indicate a reason and / or a first time length for which the first device does not support performing model training.

[0037] With reference to the second aspect, in some embodiments of the second aspect, the first model is a model used for encoding, and the second model is a model used for decoding.

[0038] The third aspect provides yet another communication method, which includes: determining fifth information; wherein the fifth information is used to indicate part of a second model structure of a second device used to train a second model, the part of the second model structure including a model structure of an input layer; or the fifth information is used to indicate a dimension of first model output data or a dimension of second model input data; and sending the fifth information to the second device.

[0039] In a possible implementation, the method is performed by a first communication apparatus. The first communication apparatus can be the first device or can be a chip or circuitry applied to the first device.

[0040] With reference to the third aspect, in some embodiments of the third aspect, the partial second model structure is a model structure of the first m network layers in the second model, m being a positive integer.

[0041] With reference to the third aspect, in some embodiments of the third aspect, the model structure of the first m network layers comprises: a type of each of the first m network layers and / or a number of neurons included in each of the first m network layers.

[0042] With reference to the third aspect, in some embodiments of the third aspect, the method further comprises: sending, to the second device, sixth information; wherein the sixth information is used to indicate all or part of the model structure of the first model, the all or part of the model structure of the first model being used to train the second model; or the sixth information is used to indicate the all or part of the model structure of the first model and the model parameters of the first model, the all or part of the model structure of the first model and the model parameters of the first model being used to train the second model.

[0043] With reference to the third aspect, in some embodiments of the third aspect, the method further comprises: sending, to the second device, information used to indicate that the second device performs model training alone.

[0044] With reference to the third aspect, in some embodiments of the third aspect, the method further comprises: receiving seventh information from the second device, the seventh information being used to indicate a model structure supported by the second device and / or a dimension of input data; wherein the partial second model structure is determined by the first device based on the seventh information, and / or the dimension of the first model output data or the dimension of the second model input data is determined by the first device based on the seventh information.

[0045] With reference to the third aspect, in some embodiments of the third aspect, the method further comprises: receiving eighth information from the second device, the eighth information being used to indicate that the second device supports performing model training, or the eighth information being used to indicate that the second device does not support performing model training.

[0046] With reference to the third aspect, in some embodiments of the third aspect, the eighth information is used to indicate that the second device does not support performing model training, and the eighth information is further used to indicate one or more of the following: a reason why the second device does not support performing model training, a first time point, a second time length or a second time point, the first time point being a time point at which the first device requests the second device to perform model training again, the second time length being a duration during which the first device is prohibited from requesting the second device to perform model training, and the second time point being a time point at which the second device can start training the second model.

[0047] With reference to the third aspect, in some embodiments of the third aspect, the first model is a model used for encoding, and the second model is a model used for decoding.

[0048] In a fourth aspect, the present application provides a further communication method, comprising: receiving fifth information from the first device; wherein the fifth information is used to indicate a partial second model structure used by the second device to train the second model, the partial second model structure comprising a model structure of an input layer; or the fifth information is used to indicate a dimension of the first model output data or a dimension of the second model input data; determining the second model structure based on the fifth information.

[0049] In a possible implementation, the method is performed by the second communication apparatus. The second communication apparatus can be the second device or a chip or circuit applied to the second device.

[0050] In combination with the fourth aspect, in some embodiments of the fourth aspect, the partial second model structure is a model structure of the first m network layers in the second model, m being a positive integer.

[0051] In combination with the fourth aspect, in some embodiments of the fourth aspect, the model structure of the first m network layers comprises: a type of each of the first m network layers and / or a number of neurons included in each of the first m network layers.

[0052] In combination with the fourth aspect, in some embodiments of the fourth aspect, the method further comprises: receiving sixth information from the first device; wherein the sixth information is used to indicate all or part of the model structure of the first model, the all or part of the model structure of the first model being used to train the second model; or the sixth information is used to indicate all or part of the model structure of the first model and a model parameter of the first model, the all or part of the model structure of the first model and the model parameter of the first model being used to train the second model.

[0053] In combination with the fourth aspect, in some embodiments of the fourth aspect, the method further comprises: receiving information from the first device indicating that the second device performs model training alone.

[0054] In combination with the fourth aspect, in some embodiments of the fourth aspect, the method further comprises: sending seventh information to the first device, the seventh information being used to indicate a model structure and / or a dimension of input data supported by the second device; wherein the partial second model structure is determined by the first device based on the seventh information, and / or the dimension of the first model output data or the dimension of the second model input data is determined by the first device based on the seventh information.

[0055] In combination with the fourth aspect, in some embodiments of the fourth aspect, the method further comprises: sending eighth information to the first device, the eighth information being used to indicate that the second device supports performing model training, or the eighth information being used to indicate that the second device does not support performing model training.

[0056] In some embodiments of the fourth aspect, in combination with the fourth aspect, the eighth information is used to indicate that the second device does not support model training, and the eighth information is further used to indicate one or more of the following: a reason why the second device does not support model training, the first time, the second time length, or the second time, the first time being a time when the first device requests the second device to perform model training again, the second time length being a duration during which the first device is prohibited from requesting the second device to perform model training, and the second time being a time when the second device can start training the second model.

[0057] In some embodiments of the fourth aspect, in combination with the fourth aspect, the method further includes training the second model based on the second model structure.

[0058] In some embodiments of the fourth aspect, in combination with the fourth aspect, the first model is a model for encoding, and the second model is a model for decoding.

[0059] In a fifth aspect, a communication apparatus is provided, which is configured to execute the method in any possible implementation manner of the first aspect, the second aspect, the third aspect, or the fourth aspect. Specifically, the communication apparatus includes modules for executing the method in any possible implementation manner of the first aspect, the second aspect, the third aspect, or the fourth aspect.

[0060] In a sixth aspect, another communication apparatus is provided, which includes a processor and a memory coupled with the processor. The processor is configured to execute instructions in the memory to implement the method in any possible implementation manner of the first aspect, the second aspect, the third aspect, or the fourth aspect. Optionally, the apparatus further includes the memory. Optionally, the apparatus further includes a communication interface, and the processor is coupled with the communication interface.

[0061] In a seventh aspect, a processor is provided, which includes an input circuit, an output circuit, and a processing circuit. The processing circuit is configured to receive a signal through the input circuit and transmit a signal through the output circuit, so that the processor executes the method in any possible implementation manner of the first aspect, the second aspect, the third aspect, or the fourth aspect.

[0062] In the implementation process, the processor can be a chip, the input circuit can be an input pin, the output circuit can be an output pin, and the processing circuit can be a transistor, a gate circuit, a flip-flop, and various logic circuits, etc. The input signal received by the input circuit can be received and input by, for example but not limited to, a receiver, the signal output by the output circuit can be output to and transmitted by, for example but not limited to, a transmitter, and the input circuit and the output circuit can be the same circuit, which is used as the input circuit and the output circuit at different times. The embodiments of the present application do not limit the specific implementation of the processor and various circuits.

[0063] In an eighth aspect, a processing apparatus is provided, including a processor and a memory. The processor is configured to read instructions stored in the memory, and is configured to receive a signal via a receiver, and transmit a signal via a transmitter, to perform the method in any possible implementation of the first aspect, the second aspect, the third aspect, or the fourth aspect.

[0064] Optionally, the processor is one or more, and the memory is one or more.

[0065] Optionally, the memory is integrated with the processor, or the memory is disposed separately from the processor.

[0066] In a specific implementation process, the memory can be a non-transitory memory, such as a read only memory (ROM), which can be integrated on the same chip as the processor, or can be disposed on different chips respectively, and the embodiments of the present application do not limit the type of memory and the setting mode of the memory and the processor.

[0067] It should be understood that the relevant data interaction process, such as transmitting the indication information, can be the process of outputting the indication information from the processor, and the receiving the capability information can be the process of receiving the input capability information by the processor. Specifically, the data processed and output can be output to the transmitter, and the input data received by the processor can come from the receiver. The transmitter and the receiver can be collectively referred to as a transceiver.

[0068] The processing apparatus in the eighth aspect described above can be a chip, and the processor can be implemented by hardware or software. When implemented by hardware, the processor can be a logic circuit, an integrated circuit, etc. When implemented by software, the processor can be a general-purpose processor, which is configured to read software codes stored in the memory to implement the processor. The memory can be integrated in the processor, or can exist independently from the processor.

[0069] In a ninth aspect, a computer program product is provided, including a computer program (which can also be referred to as code or instructions), which, when executed by a computer, causes the computer to perform the method in any possible implementation of the first aspect, the second aspect, the third aspect, or the fourth aspect.

[0070] In a tenth aspect, a computer readable storage medium is provided, which stores a computer program (which can also be referred to as code or instructions), which, when executed on a computer, causes the computer to perform the method in any possible implementation of the first aspect, the second aspect, the third aspect, or the fourth aspect. BRIEF DESCRIPTION OF DRAWINGS

[0071] FIG. 1 is a schematic diagram of a neural network;

[0072] FIG. 2 is a schematic diagram of a communication system to which embodiments of the present application are applicable;

[0073] FIG. 3 is a schematic diagram of a process of reporting CSI by a terminal device;

[0074] FIG. 4 is a schematic diagram of a process of a communication method provided by embodiments of the present application;

[0075] FIG. 5 is a schematic diagram of a process of a model training method provided by embodiments of the present application;

[0076] FIG. 6 is a schematic diagram of a process of another communication method provided by embodiments of the present application;

[0077] FIG. 7 is a schematic diagram of another communication system to which embodiments of the present application are applicable;

[0078] FIG. 8 is a schematic diagram of a process of yet another communication method provided by embodiments of the present application;

[0079] FIG. 9 is a schematic diagram of a process of still another communication method provided by embodiments of the present application;

[0080] FIG. 10 is a schematic block diagram of a communication apparatus provided by embodiments of the present application;

[0081] FIG. 11 is a schematic block diagram of another communication apparatus provided by embodiments of the present application;

[0082] FIG. 12 is a schematic block diagram of a network element function division and protocol layer structure of an O-RAN device provided by embodiments of the present application. DETAILED DESCRIPTION

[0083] In order to make the purpose, technical solutions of the present application more clear and intuitive, the communication method and communication apparatus of embodiments of the present application will be described in detail below with reference to the drawings and embodiments. It should be understood that the embodiments described in the present application are only used to explain the present application and should not be used to limit the present application.

[0084] Before introducing the method and apparatus provided by embodiments of the present application, the following points will be explained first.

[0085] First, in the embodiments shown below, each term and English abbreviation, such as reference data or differential data, is an exemplary example given for convenience of description, and should not constitute any limitation on the present application. The present application does not exclude the possibility of defining other terms capable of achieving the same or similar functions in existing or future protocols.

[0086] Second, in the embodiments shown below, the first, second, and various numerical numbers are only for differentiation for convenience of description, and are not used to limit the scope of embodiments of the present application.

[0087] Thirdly, "at least one" means one or more, "multiple" means two or more. "And / or" describes the association relationship of the associated objects, which means that there can be three kinds of relationships, for example, A and / or B can represent: A exists alone, A and B exist together, and B exists alone, where A and B can be singular or plural. The character " / " generally represents that the associated objects before and after are in an "or" relationship. "At least one of the following" or similar expressions means any combination of these items, including any combination of single or multiple items. For example, at least one of a, b and c can represent: a, or b, or c, or a and b, or a and c, or b and c, or a, b and c, where a, b and c can be single or multiple.

[0088] It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or authorized by all parties, and the collection, use and processing of related data need to comply with relevant national and regional laws, regulations and standards, and provide corresponding operation portal for user to choose authorization or refusal.

[0089] The technical solutions of the embodiments of the present application can be applied to various communication systems, for example: long term evolution (LTE) system, LTE frequency division duplex (FDD) system, LTE time division duplex (TDD), universal mobile communication system (UMTS), 5th generation (5G) system or new radio (NR), or other future communication systems, etc.

[0090] The terminal device in the embodiments of the present application can also be referred to as: user equipment (UE), mobile station (MS), mobile terminal (MT), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device, etc.

[0091] The terminal device can be a device that provides voice / data connectivity to a user, for example, a handheld device with wireless connection function, a vehicle-mounted device, etc. At present, some examples of terminals are: mobile phones, tablet computers, notebook computers, palm computers, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, cellular phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), handheld devices with wireless communication function, computing devices or other processing devices connected to wireless modems, vehicle-mounted devices, wearable devices, terminal devices in 5G networks, or terminal devices in future evolved public land mobile networks (PLMNs), etc. The embodiments of the present application are not limited thereto.

[0092] By way of example and not limitation, in the embodiments of the present application, the terminal device can also be a wearable device. The wearable device can also be referred to as a wearable smart device, which is a general term for devices that are designed and developed by applying wearable technology to daily wear, such as glasses, gloves, watches, clothing, and shoes. The wearable device is a portable device that is directly worn on the body or integrated into the user's clothes or accessories. The wearable device is not only a hardware device, but also a device that realizes powerful functions through software support and data interaction and cloud interaction. The general wearable smart device includes devices with full functions, large sizes, and the ability to realize complete or partial functions without relying on smart phones, such as smart watches or smart glasses, and devices that focus on a certain type of application function and need to be used in conjunction with other devices such as smart phones, such as various smart wristbands and smart jewelry for monitoring vital signs.

[0093] In addition, in the embodiments of the present application, the terminal device can also be a terminal device in an internet of things (IoT) system. The IoT is an important part of future information technology development, and its main technical feature is to connect objects through communication technology and network, so as to realize the intelligent network of man-machine interconnection and object-object interconnection. The terminal device of the present application can also be a vehicle-mounted unit, a vehicle-mounted module, a vehicle-mounted component, a vehicle-mounted chip or a vehicle-mounted unit built in as one or more components or units in a vehicle. The vehicle can implement the method of the present application through the built-in vehicle-mounted unit, vehicle-mounted module, vehicle-mounted component, vehicle-mounted chip or vehicle-mounted unit. Therefore, the embodiments of the present application can be applied to the Internet of Vehicles, such as vehicle to everything (V2X), long term evolution-vehicle (LTE-V), vehicle-to-vehicle (V2V), etc.

[0094] In addition, the access network device in the embodiments of the present application can also be referred to as a wireless access network device, which can be a transmission reception point (TRP), and can also be an evolved NodeB (eNB or eNodeB) in an LTE system, and can also be a home evolved NodeB or home NodeB (HNB), a baseband unit (BBU), and can also be a wireless controller in a cloud radio access network (CRAN) scenario, or the access network device can be a relay station, an access point, a vehicle-mounted device, a wearable device, an access network device in a 5G network or an access network device in a future evolved PLMN network, etc., and can be an access point (AP) in a WLAN, a gNB in a new radio (NR) system, a satellite base station in a satellite communication system, etc., and the embodiments of the present application are not limited.

[0095] The access network device in the Ben embodiment can include a centralized unit (CU) node, or a distributed unit (DU) node, or an access network device including a CU node and a DU node, or an access network device of a control plane CU node (CU-CP node) and a user plane CU node (CU-UP node) and a DU node. The access network device including the CU node and the DU node can split the protocol layers of the access network device, and the functions of part of the protocol layers are controlled by the CU, and the functions of the remaining part or all of the protocol layers are distributed in the DU and controlled by the CU.

[0096] As an implementation manner, the CU deploys a radio resource control (RRC) layer, a packet data convergence protocol (PDCP) layer, and a service data adaptation protocol (SDAP) layer in the protocol stack. The DU deploys a radio link control (RLC) layer, a media access control (MAC) layer, and a physical layer (PHY) layer in the protocol stack. Therefore, the CU has the processing capability of RRC, PDCP, and SDAP. The DU has the processing capability of RLC, MAC, and PHY.

[0097] The above-mentioned function splitting is only an example and does not constitute a limitation on the CU and the DU. That is, there can be other function splitting manners between the CU and the DU, which are not described herein. The functions of the CU can be implemented by one entity or by different entities. For example, the functions of the CU can be further split, for example, the control plane (CP) and the user plane (UP) are separated, that is, the control plane of the CU (CU-CP) and the user plane of the CU (CU-UP). For example, the CU-CP and the CU-UP can be implemented by different functional entities, and the CU-CP and the CU-UP can be coupled with the DU to jointly complete the functions of the access network device.

[0098] In a possible mode, the CU-CP is responsible for the control plane function, mainly including the RRC and the PDCP-C, where the PDCP-C is mainly responsible for the encryption and decryption of the control plane data, the integrity protection, the data transmission, and the like. The CU-UP is responsible for the user plane function, mainly including the SDAP and the PDCP-U, where the SDAP is mainly responsible for processing the data of the core network device and mapping the data flow to a bearer. The PDCP-U is mainly responsible for the encryption and decryption of the data plane, the integrity protection, the header compression, the sequence number maintenance, the data transmission, and the like. The CU-CP and the CU-UP are connected through an E1 interface. The CU-CP represents the access network device connected through the interface between the core network device and the access network device and the core network device. The CU-CP is connected with the DU through an F1-C (control plane). The CU-UP is connected with the DU through an F1-U (user plane). In addition, there is also a possible implementation that the PDCP-C is also in the CU-UP, which is not limited in the application.

[0099] The core network device in the embodiments of the application refers to a device in a core network (CN) that provides service support for a terminal device. At present, the core network device can be: an access and mobility management function (AMF) entity, a session management function (SMF) entity, a user plane function (UPF) entity, and the like, which are not listed one by one here. Among them, the AMF entity can be responsible for access management and mobility management of the terminal device; the SMF entity can be responsible for session management, such as session establishment of a user; and the UPF entity can be a functional entity of the user plane, mainly responsible for connecting external networks. It should be noted that the entity in the application can also be referred to as a network element or a functional entity, for example, the AMF entity can also be referred to as an AMF network element or an AMF functional entity, and for example, the SMF entity can also be referred to as an SMF network element or an SMF functional entity, and the like, which are not limited in the application.

[0100] First, some technical terms and symbols involved in the application are introduced.

[0101] 1. Artificial intelligence (AI) is a technology proposed in the 1950s to perform complex calculations by simulating the human brain. Through artificial intelligence technology, a machine can have human intelligence. For example, a machine can use the software and hardware of a computer to simulate certain intelligent behavior of a human being. In order to realize artificial intelligence, a machine learning method or other methods can be adopted, which are not limited.

[0102] 2. A neural network (NN), also known as a model, intelligent model, or neural network model, is a specific implementation of machine learning. A neural network is a computational model that simulates the structure and function of the human brain, composed of multiple layers of nodes (or "neurons"). These nodes are connected by weights and can process and analyze complex data. For example, according to the universal approximation theorem, a neural network can theoretically approximate any continuous function, thus enabling it to learn arbitrary mappings. Therefore, neural networks can accurately abstract and model complex, high-dimensional problems.

[0103] Neural networks have a wide range of applications in artificial intelligence, such as image recognition, speech recognition, natural language processing, and communication systems. Common types of neural networks include feedforward neural networks, convolutional neural networks (CNNs), recurrent neural networks (RNNs), generative adversarial networks (GANs), Transformer models, and long short-term memory (LSTM) models.

[0104] Neural networks can run on electronic devices, efficiently enabling artificial intelligence functions through hardware acceleration (such as GPUs or dedicated AI accelerator chips) and optimized software algorithms.

[0105] 3. Network Layers: Neural networks generally consist of multiple layers, which can be referred to as multiple network layers. A network layer can be understood as a basic building block in a neural network. Each network layer may contain one or more neurons. These neurons are connected to neurons in the preceding and following layers via weights. The main function of a network layer is to receive input data, perform specific calculations or transformations, and pass the results to the next layer. The following are some common types of network layers: input layer, hidden layer, and output layer.

[0106] It should be noted that, in the embodiments of the present application, two continuous network layers (or two adjacent network layers) can be understood as that the two network layers are connected by neurons and there is no other network layer between the two neurons. In addition, the front and back order of the network layers is described in the order from input to output. That is, the input layer is the first network layer, and the output layer is the last network layer. For example, in two network layers, the former layer represents a network layer closer to the input layer, and the latter layer represents a network layer closer to the output layer. In addition, for the s-th network layer, the smaller the s is, the closer the network layer is to the input layer, for example, the first layer is the input layer, and the second layer is the layer after the input layer; the larger the s is, the farther the network layer is from the input layer, for example, in the third network layer and the second network layer, the second network layer is closer to the input layer, and s is a positive integer. For the sake of brevity, this will not be described again hereinafter.

[0107] In one implementation, the neural network can include an input layer and an output layer. The input layer of the neural network transmits the result of the neuron processing of the received input to the output layer, and the output layer obtains the output result of the neural network.

[0108] In another implementation, the neural network includes an input layer, a hidden layer and an output layer. The input layer of the neural network transmits the result of the neuron processing of the received input to the intermediate hidden layer, the hidden layer transmits the calculation result to the output layer or the adjacent hidden layer, and finally the output layer obtains the output result of the neural network. A neural network can include one or more layers of sequentially connected hidden layers, without limitation. For example, as shown in FIG. 1, the neural network includes network layers of an input layer, a hidden layer and an output layer. The number of network layers included in the hidden layer is 2. Each network layer in the input layer, the hidden layer and the output layer includes a plurality of neurons.

[0109] 4. Neuron, the basic computing unit of the neural network. Each neuron performs a weighted sum operation on its input values and generates an output through an activation function. The main components of a neuron include: input weights, that is, each input data has a corresponding weight, indicating its importance in the calculation; bias, that is, an additional parameter for adjusting the value of the output; and activation function, that is, a nonlinear function for introducing nonlinear characteristics, so that the neural network can handle complex patterns.

[0110] Activation functions play a crucial role in each neuron of the hidden and output layers. Common activation functions include the Sigmoid function, Tanh function, rectified linear unit (ReLU) function, Softmax function, and leaky ReLU, among others.

[0111] It should be understood that, where the weights can also be referred to as weight matrices, the biases can also be referred to as bias vectors, and the like, which are not specifically limited in the present application.

[0112] 5、The input layer is the first layer of the neural network and is used to receive external input data. The number of neurons in the input layer is usually the same as the number of features of the input data.

[0113] 6、The hidden layer is located between the input layer and the output layer. The neural network can include one or more hidden layers. The neurons in the hidden layer perform a non-linear transformation on the input data through an activation function, thereby capturing complex patterns and features.

[0114] 7、The output layer is the last layer of the neural network and is responsible for outputting the final prediction result.

[0115] Common types of network layers can include, but are not limited to, fully connected layers (dense layers), convolutional layers, pooling layers, and recurrent layers, among others. That is, the input layer, hidden layer, or output layer can be any type of network layer described above.

[0116] 8、The fully connected layer (dense layer), each neuron in the fully connected layer is connected to all neurons in the previous layer.

[0117] 9、The convolutional layer (convolutional layer), commonly used for processing image data, extracts local features through convolution operations.

[0118] 10、The pooling layer (pooling layer), commonly used to reduce data dimensionality and computational complexity while preserving important features.

[0119] 11、The recurrent layer (recurrent layer), commonly used for processing sequence data such as time series or natural language processing tasks, capable of capturing temporal dependencies.

[0120] 12、Loss function, during the training process of a model, a loss function can be defined. The loss function describes the gap or difference between the output value of the model and the ideal target value. The specific form of the loss function is not limited in the present disclosure. The training process of the model is a process of adjusting part or all of the parameters (model parameters) of the model so that the value of the loss function is less than a threshold value or meets the target requirement. For example, the model is a neural network, and one or more of the following parameters can be adjusted during the training process: the number of layers of the neural network, the width of the neural network, the connection relationship between layers, the weight of neurons, the activation function of neurons, or the bias in the activation function, so that the difference between the output of the neural network and the ideal target value is as small as possible.

[0121] 13、Model parameters, are variables learned through optimization algorithms (such as gradient descent) during the training process, which determine the behavior and performance of the model. The specific meaning and form of the model parameters depend on the type and structure of the model. Model parameters may include, but are not limited to, neuron weights, neuron biases, neuron activation functions, or inter-layer connection relationships.

[0122] 14、Encoder, mainly used to encode the original channel status information (CSI) to reduce data volume and improve transmission efficiency. The encoder can use various encoding techniques (such as linear predictive coding, vector quantization, etc.) to compress the CSI.

[0123] The encoded (compressed) CSI is easier to transmit and has lower bandwidth requirements.

[0124] 15、Quantizer, which can be used to discretize continuous CSI, i.e., map continuous signal values to a finite set of discrete values. The quantization process introduces a certain quantization error, but can reduce the data volume.

[0125] It can be understood that the quantizer is usually designed according to the characteristics of the channel and the requirements of the system to minimize the data volume while ensuring the accuracy of the CSI.

[0126] 16、Decoder, mainly used to restore the received encoded data to the original data, which can be understood as the inverse process of the encoding of the CSI by the encoder. In the context of CSI, the decoder decodes the encoded CSI into quantized CSI data.

[0127] 17. The dequantizer is mainly used to restore quantized discrete data to a form as close as possible to the original continuous data. In the context of CSI, the dequantizer converts the quantized CSI back to continuous CSI. This process can be understood as the inverse process of discretizing continuous CSI.

[0128] 18. The dimension of the input data, also known as the input dimension, can be used to describe the shape and structure of the data received by the model.

[0129] 19. The dimension of the output data, also known as the output dimension, can be used to describe the shape and structure of the data output by the model.

[0130] 20. Line of sight (LOS) refers to the distance between the transmitter and receiver where the signal propagates in a straight line without any obstructions.

[0131] Under LOS conditions, the signal propagation path is the shortest and the path loss is the least, therefore the signal strength is stronger.

[0132] 21. Non-line of sight (NLOS) refers to a situation where there are obstacles in the propagation path of a signal between the transmitter and receiver. The signal needs to bypass the obstacles through reflection, refraction, scattering, etc., to reach the receiver.

[0133] Under NLOS conditions, the signal propagation path is longer and the path loss is greater, resulting in weaker signal strength.

[0134] It should be understood that LOS can also be called within line of sight, and NLOS can also be called outside line of sight; this application does not make any specific limitation in this regard.

[0135] 22. User Equipment Assistance Information (UAI): Terminal devices can proactively inform network devices of their internal status through UAI messages, which helps network devices to understand the status of terminal devices in a timely manner.

[0136] 23. Minimization Drive Test (MDT): An automated drive test technology that uses network-configured terminal devices to collect, report, and preprocess measurement data. The terminal devices enable Global Positioning System (GPS) and support MDT functionality, automatically reporting MDT data containing user location information to the network devices. MDT data can be used for big data analytics.

[0137] In the embodiments of the present application, each term and English abbreviation, such as AI, NN, CNN, UAI, and the like, is an exemplary example given for the convenience of description, and should not constitute any limitation on the present application. The present application does not exclude the possibility of defining other terms capable of achieving the same or similar functions in existing or future protocols.

[0138] To facilitate understanding of the embodiments of the present application, the communication system applicable to the embodiments of the present application is described in detail below in conjunction with FIG. 2.

[0139] FIG. 2 is a schematic diagram of a communication system 200 applicable to the embodiments of the present application. As shown in FIG. 2, the communication system 200 can include at least one network device, such as the network device 210 shown in FIG. 2, and at least one terminal device, such as the terminal device 220 shown in FIG. 2. The network device 210 and the terminal device 220 can communicate through a wireless link. In one possible case, the network device 210 can act as a sending end, and the terminal device 220 can act as a receiving end, and the network device 210 sends signals to the terminal device 220. In another possible case, the network device 210 can act as a receiving end, and the terminal device 220 can act as a sending end, and the terminal device 220 sends signals to the network device 210.

[0140] FIG. 2 exemplarily shows one network device 210 and one terminal device 220. Optionally, the communication system 200 can further include multiple network devices and / or multiple terminal devices. The network device 210 can be a router, a base station, or the like, and the terminal device 220 can be a mobile phone, a tablet computer, a smart bracelet, or the like, and the embodiments of the present application do not limit this.

[0141] Each of the above communication devices, such as the network device 210 or the terminal device 220 in FIG. 2, can be configured with multiple antennas. The multiple antennas can include at least one transmitting antenna for transmitting signals and at least one receiving antenna for receiving signals. In addition, each communication device additionally includes a transmitter chain and a receiver chain, and those skilled in the art can understand that they can each include multiple components (such as a processor, a modulator, a multiplexer, a demodulator, a demultiplexer, or an antenna, etc.) related to signal transmission and reception. Therefore, the network device 210 and the terminal device 220 can communicate through multiple antenna technology.

[0142] Optionally, the above communication system 200 can further include a network controller, a mobile management entity, and other network entities, and the embodiments of the present application are not limited thereto.

[0143] It should also be understood that the method provided by the embodiments of the present application can be applied to various communication systems including a 5G new radio (NR) system, and the communication system 200 is only an example. The present application does not limit the specific architecture of the applicable system, nor the number and form of various devices contained in each communication system.

[0144] At present, in order to improve the network performance and user experience, artificial intelligence is widely used in the field of communication. Exemplarily, an AI model can be applied in NR, through intelligent collection and analysis of data, the network performance and user experience can be improved. The AI model can be understood as a model for realizing AI function. The AI model can be set in a network device, or can be set in a terminal device.

[0145] The application architecture of the AI model in the NR will be described in detail below in combination with FIG. 3.

[0146] FIG. 3 is a schematic diagram of an application architecture of an AI model in NR according to an embodiment of the present application. As shown in FIG. 3, a data set (data source) module stores input data from gNB, gNB-CU, gNB-DU, UE or other management entities as a database for AI model training and data analysis inference. The model training module gives the optimal AI model (trained AI model) by analyzing the training data provided by the data set module; wherein the training data can be part or all of the data in the database. Based on the inference data provided by the data set module, the model inference module can use the optimal AI model to give a reasonable prediction for network operation, or can guide the network device to make a strategy adjustment. The strategy adjustment can be uniformly planned by the actor module entity, and sent to multiple network entities for operation. At the same time, after the adjusted strategy is applied, the specific performance of the network entity running data, etc. will be input to the database again for storage.

[0147] It should be understood that the AI model can be a complete AI model that can be independently run in a terminal device or a network device (without limiting its format and compilation environment); or can be a functional module running in a terminal device or a network device, which can be used to obtain a specific output or input, or can be other non-AI related functional modules, which are not limited by the present application.

[0148] In the field of communication, different terminal devices can be configured to perform different functions. For example, a terminal device can be configured to perform channel measurement or MDT measurement, etc. In order to implement various different functions, the terminal device can set an AI model for implementing various functions. For example, the terminal device can be configured to perform channel measurement, and the terminal device can be provided with a model for implementing the channel measurement function, etc. The AI model provided in the terminal device can be configured by the network device, or can be determined (or selected) by the terminal device from AI models respectively used to implement various different functions.

[0149] In different application environments, the terminal device can select different AI models. The application environment can include, but is not limited to, one or more of the following: an application related to the macro physical properties of the terminal device, such as the speed, moving direction or geographic location of the terminal device; an application related to the software and hardware properties of the terminal device, such as the effective power, computing power, storage space or supported AI model compilation environment of the terminal device; an application related to the channel environment in which the terminal device is located, such as an urban macro (urban macro) environment, an urban micro (urban micro) environment or an indoor hotspot (indoor hotspot); an application related to the communication configuration of the terminal device and the network device, such as the number of receive antennas of the terminal device or the number of transmit antenna ports of the network device; or an application related to the time-frequency domain resources of air interface communication, such as carrier frequency, subcarrier spacing or bandwidth, etc.

[0150] The specific application of AI model in NR is exemplified as follows.

[0151] 1. The AI model can be applied to energy saving.

[0152] Exemplarily, the network device can obtain information such as the load, energy consumption and energy efficiency of the current cell and the neighboring cell, and can also obtain information such as the trajectory and measurement result of the terminal device, so as to predict the network device load by using the information and the AI model. In addition, the network device can combine the cell purpose and / or key performance indicator (KPI) requirements, etc., and take appropriate energy saving measures in a timely manner without affecting network coverage and user access. For example, the energy saving strategy can include, but is not limited to, one or more of the following: deactivating the cell, turning off the carrier, turning off the channel, turning off the time slot or reducing the transmission power, etc.

[0153] However, when the network coverage is affected or cannot meet the UE access demand and / or service demand, the network device needs to update the current energy saving strategy, or directly restore to the normal working state (i.e. not using the energy saving strategy). In addition, the network device can re-predict the network device load, for example, the network device can update the AI model used for predicting the network device load, so as to re-predict the network device load based on the updated AI model.

[0154] 2. The AI model can be applied in load balancing.

[0155] For example, the network device can collect the load, energy consumption and energy efficiency of the current cell and neighboring cells, and the trajectory and measurement results of the terminal device, and use the information and the AI model to predict the network device load. In addition, the network device can determine and implement a load balancing strategy in combination with the AI model and the cell usage and / or KPI requirements. The load balancing strategy is, for example, to select part of the UEs, i.e. to switch the part of the UEs to the neighboring cells, or to receive the part of the UEs from the neighboring cells. In this way, the load balancing between the network devices in the whole slice network can be achieved, and the situation that part of the network devices are overloaded while part of the network devices are idle can be reduced.

[0156] However, in some cases, for example, the selected part of the UEs is unreasonable or the target cell of the UE switching is unreasonable, resulting in UE cell switching failure or UE service being affected; or the AI model is inaccurate in predicting the network device load, resulting in poor load balancing effect; or temporary load abnormal change occurs, resulting in the original load balancing strategy no longer applicable. At this time, it is necessary to exit the use of the current load balancing strategy or modify the current load balancing strategy, and the network device can re-predict the network device load, for example, the network device can update the AI model used for predicting the network device load, so as to re-predict the network device load based on the updated AI model.

[0157] 3. The AI model can be applied in mobility optimization.

[0158] For example, the network device inputs the historical trajectory information of the UE and the measurement information of the UE into the AI model, and outputs the future trajectory of the UE, so as to realize the prediction of the future trajectory of the UE. Based on the predicted trajectory, the network device can determine whether the UE performs cell switching. In addition, in the case where the UE performs cell switching, the network device can issue a switching configuration in advance, and can instruct the target cell to prepare access resources. In this way, the delay of the UE in the switching process can be reduced, and the probability of switching failure and access failure can also be reduced.

[0159] However, when the UE future trajectory output by the AI model is wrong, it will cause UE handover failure, resulting in UE service interruption. In this case, the network device can retrain the AI model or replace the AI model, so as to improve the accuracy of predicting the future trajectory of the UE.

[0160] 4. The AI model can be applied in positioning accuracy enhancements.

[0161] Exemplarily, the network device can obtain raw data from a reference UE set (or controlled) by the operator. The raw data can include, but is not limited to, one or more of the following: GPS coordinates, signal strength, time stamp, etc. The raw data can come from multiple reference UEs in different locations, so as to cover data of different geographical areas and environmental conditions.

[0162] The location management node (LMF, non-RAN side node) and the network device can respectively perform AI model training based on the raw data. Assuming that the AI model trained by the LMF is AI model 1, the LMF can predict the positioning (longitude and latitude, etc.) of the UE based on the AI model 1, and the input data of the AI model 1 can be, for example, the signal strength and / or signal arrival time reported by the UE, etc. Assuming that the AI model trained by the network device is AI model 2, the network device can determine whether the LOS condition or the NLOS condition between the sending end and the receiving end based on the AI model 2, and the input data of the AI model 2 can be, for example, the signal strength reported by the UE, etc.

[0163] 5. The AI model can be applied in channel state information reference signal (CSI-RS) feedback enhancement.

[0164] Exemplarily, as shown in FIG. 3, a trained encoder and quantizer can be set in the terminal device. The encoder and quantizer can be trained by the network device based on UE capability information and network device requirements and instructed to the terminal device.

[0165] The terminal device can perform channel measurement based on the reference signal (such as CSI-RS) from the network device to obtain initial CSI; the terminal device performs discretization on the initial CSI based on the quantizer to obtain discrete CSI; and performs encoding (or compression) processing on the discrete CSI based on the encoder to obtain encoded CSI; and the terminal device sends the encoded CSI to the network device.

[0166] The network device can be provided with a decoder and a dequantizer. The network device decodes (or decompresses) the encoded CSI from the terminal device based on the decoder to obtain discrete CSI, and processes the discrete CSI based on the dequantizer to obtain the recovered initial CSI.

[0167] It can be understood that the recovered initial CSI can be infinitely close to the initial CSI, and there can also be a certain error between the two. Moreover, the closer the recovered initial CSI is to the initial CSI, the better the effect of transmitting the CSI by the terminal device and the network device in the above manner, which helps to make the communication quality between the terminal device and the network device better.

[0168] The functions of the encoder and / or the quantizer, and the functions of the decoder and / or the dequantizer can be implemented by AI models. Illustratively, the terminal device is provided with a trained AI model for discretizing the CSI, which can implement the function of the quantizer described above, and the network device is provided with a trained AI model for de-discretizing the discrete CSI, which can implement the function of the dequantizer described above. And / or, the terminal device can be provided with a trained AI model for encoding the CSI, which can implement the function of the encoder described above; and the network device is provided with a trained AI model for decoding the encoded CSI, which can implement the function of the decoder described above.

[0169] As shown in FIG. 3, the output data of the AI model implementing the function of the encoder is the input data of the AI model implementing the function of the decoder. For ease of description, the plurality of models having such a relationship are referred to as associated models hereinafter.

[0170] It should be understood that the associated models can be two models, for example, the AI model implementing the function of the encoder and the AI model implementing the function of the decoder; or the associated models can also be more models, for example, three AI models, for example, model a, model b and model c, the output data of the model a and the output data of the model b can be the input data of the model c. The three models can be understood as associated models. The number of associated models is not limited in the embodiments of the present application.

[0171] It should also be understood that in the associated models, the output data of some models is the input data of other models. For ease of description, the some models are referred to as first part models, and the other models are referred to as second part models, the output data of the first part models is the input data of the second part models. For example, the AI model implementing the function of the encoder can be understood as the first part model, and the AI model implementing the function of the decoder can be understood as the second part model.

[0172] It should be noted that in the embodiments of the present application, the names defined for the purpose of description do not constitute a limitation on the embodiments of the present application, and the defined names are examples. The names can be replaced by other names.

[0173] In some scenarios, the associated models set in different devices can be mismatched. The associated models can also be understood as the output layer of the first part model and the input layer of the second part model are mismatched. The mismatch can be that the output data of the first part model cannot be successfully used as the input data of the second part model. For example, the dimensions of the output data of the first part model and the dimensions of the input data of the second part model are different, resulting in that the accuracy of the second part data processing input data is low or the input data cannot be normally processed.

[0174] Next, taking the first part model as an AI model implementing an encoder function and the second part model as an AI model implementing a decoder function as an example, the associated model mismatching is illustrated.

[0175] For the purpose of description, the AI model implementing the encoder function is referred to as a compression model, and the AI model implementing the decoder function is referred to as a decompression model.

[0176] It can be understood that the compression model can be a neural network, also referred to as an encoder, decoder, or encoding model, etc. The decompression model can also be a neural network, also referred to as a decoder, encoder, or decoding model, etc. The type and name of the compression model and the decompression model are not limited in the present application.

[0177] As shown in FIG. 3, the output data of the compression model set in the terminal device is the input data of the decompression model set in the network device. If the output layer of the compression model and the input layer of the decompression model are mismatched, for example, the type of the output layer of the compression model and the type of the input layer of the decompression model are different, and / or the dimensions of the output data of the compression model and the dimensions of the input data of the decompression model are different, etc., it can result in that the success rate of the network device decoding the encoded CSI based on the decompression model is low.

[0178] In order to solve the above problems, at present, the protocol can agree on the model structure 1 of the first part model and the model structure 2 of the second part model, so that the first part model trained based on the model structure 1 and the second part model trained based on the model structure 2 are matched.

[0179] With the first part model as an AI model for implementing an encoder function and the second part model as an AI model for implementing a decoder function as an example, in a case where the model structure 1 and the model structure 2 agreed by the protocol match each other, the compression model trained based on the model structure 1 and the model structure 2 matches the decompression model. In this way, the form and structure of the encoded CSI output by the compression model are the same as the form and structure of the input data recognizable by the decompression model, so that the success rate of the network device in decoding the encoded CSI output by the compression model based on the decompression model is relatively high.

[0180] However, in different application scenarios, the model structure of the applicable first part model and / or the model structure of the applicable second part model may change. For example, in the application scenario 1, the model structure of the applicable first part model is the first model structure; in the application scenario 2, the model structure of the applicable first part model is the second model structure, and so on. It is difficult for the protocol to agree on the model structure applicable in all application scenarios. Moreover, with the development of communication technology, the model structure of the first part model and / or the second part model agreed by the protocol may no longer be applicable. In this way, after the first part model is trained based on the model structure of the first part model agreed by the protocol, and the second part model is trained based on the model structure of the second part model agreed by the protocol, the accuracy and / or success rate of the data processed by the first part model and the second part model is relatively low, for example, the difference between the recovered initial CSI obtained by the network device based on the decompression model and the initial CSI is relatively large, resulting in a relatively poor channel measurement effect. In addition, the model structure agreed by the protocol may limit the performance of the first part model and the second part model, so that in some application scenarios, the effect of the data processed by each device based on the first part model or the second part model is relatively poor.

[0181] Therefore, the application provides a communication method. In the case that output data of a first model is input data of a second model, in order to match an output layer of the first model trained by a first device with an input layer of the second model trained by a second device, the second device can indicate a partial model structure of the first model or a dimension of the first model output data to the first device, the partial model structure of the first model including a model structure of the output layer. In this way, the model structure of the input layer adopted by the second model trained by the second model can be the same as the model structure of the output layer adopted by the first model, or the dimension of the second model input data can be the same as the dimension of the first model output data. The first model and the second model are matched. Furthermore, the second device can process the output data of the first model based on the second model, which helps to make the processing effect of the first model output data by the second device based on the second model better. For example, assuming that the second model is a decompression model and the first model is a compression model, the success rate of the decompression model in decoding the encoded CSI is higher, and it helps to make the recovered initial CSI closer to the initial CSI.

[0182] In addition, with the development of communication technology, in different application scenarios, in order to meet the communication needs of the first device and the second device, the partial model structure of the first model or the dimension of the first model output data indicated by the second device to the first device can be different. In addition to the partial model structure of the first model indicated by the second device, the remaining partial model structure of the first model can be determined by the first device according to the needs. It can be seen that the communication method of the application helps to meet the communication needs in different scenarios on the premise of matching the first model and the second model. In addition, the first device also has a certain autonomy, so that the first device can determine the remaining partial model structure of the first model according to its own needs. Such a method has less limitation on the performance of the first model and the second model.

[0183] In one case, the first device can be a terminal device, and the second device can be a network device. The output data of the first model trained by the terminal device is the input data of the second model trained by the network device. The first model is, for example, the compression model in the above, and the second model is, for example, the decompression model in the above, etc.

[0184] In another case, the first device can be a network device, and the second device can be a terminal device. The output data of the first model trained by the network device is the input data of the second model trained by the terminal device. For example, the network device processes the initial downlink information based on the first model to output the processed downlink information, and the terminal device processes the processed downlink information based on the second model to obtain the initial downlink information, etc.

[0185] For the sake of brevity, the device types of the first device and the second device will not be described in detail below.

[0186] In addition to the above-mentioned communication method, similarly, the application also provides another communication method. In order to match the output layer of the first model trained by the first device with the input layer of the second model trained by the second device, the first device can also indicate the partial model structure of the second model or the dimension of the second model input data to the second device, the partial model structure of the second model including the model structure of the input layer. In this way, the model structure of the input layer adopted by the second model trained by the second device can be the same as the model structure of the output layer adopted by the first model trained by the first device, or the dimension of the second model input data can be the same as the dimension of the first model output data. So that the first model and the second model are matched.

[0187] It should be understood that the other communication method is similar to the effect of the above-mentioned communication method, and can refer to the description above, which will not be repeated here.

[0188] The communication method of the application will be described in detail below in combination with FIGS. 4 to 12. The embodiments shown in the application show the communication method provided by the application from the perspective of device interaction. The specific form and number of each device shown are only examples and should not constitute any limitation on the implementation of the method provided by the application. Below, the first device and the second device are taken as an example to explain the communication method of the embodiment of the application in detail.

[0189] It should be understood that the first device can be the first device itself, or a chip, chip system or processor supporting the first device to implement the communication method, or a logic module or software capable of implementing all or part of the first device; the second device can be the second device itself, or a chip, chip system or processor supporting the second device to implement the communication method, or a logic module or software capable of implementing all or part of the second device, which is not limited by the application.

[0190] FIG. 4 is a flow diagram of the communication method 400 provided by the embodiment of the application. The method 400 is applicable to the system 200, and the method 400 includes the following steps:

[0191] S401, the second device determines the second model structure, and / or the second device trains the second model.

[0192] The second model structure is a model structure of the second model. In S401, the second device can determine the second model structure, but the second model is not trained completely; or the second device trains the second model; or the second device determines the second model structure and trains the second model based on the second model structure. For example, the second device determines the second model structure before training the second model, and then trains the second model based on the second model structure. The second model structure can be determined by the second device according to an application scenario, for example, according to the type of a task that the second device needs to process based on the second model.

[0193] In this way, the second device can determine the first information based on the second model structure or the second model. For example, the model structure of the first model output layer is determined based on the model structure of the second model structure or the input layer of the second model, and the model structure of the first model output layer is the model structure of the input layer of the second model structure or the second model; or the dimension of the first model output data is determined based on the dimension of the second model structure or the second model input data, and the dimension of the first model output data is the dimension of the second model structure or the second model input data. So that the first model trained by the first device matches the second model.

[0194] It should be noted that S401 is optional. That is, before the second device sends the first information to the first device, the second device can also not determine the second model structure and not train the second model. Alternatively, S401 can be replaced by the second device determining the dimension of the second model input data, etc.

[0195] It should be understood that in the embodiments of the present application, the model structure can be understood as part other than the model parameters. The model structure may, for example, but not limited to, include the type of each network layer, the positional relationship of the network layers, or the number of neurons included in each network layer, etc. The positional relationship of the network layers can also be understood as the front and back positional relationship of the network layers. For example, the network layer closer to the input layer is closer to the front, and the network layer closer to the output layer is closer to the back, etc. The model structure can also be referred to as a structure, etc. The embodiments of the present application do not make specific limitations thereto.

[0196] In S402, the second device sends the first information to the first device. The first information is used to indicate part of the first model structure used by the first device to train the first model, and the part of the first model structure includes the model structure of the output layer; or the first information is used to indicate the dimension of the first model output data or the dimension of the second model input data. Correspondingly, the first device receives the first information from the second device.

[0197] The input data of the second model is the output data of the first model. The first model and the second model are associated models. The first model or the second model can be a feedforward neural network, a CNN, an RNN, a GAN, a Transformer model, or an LSTM model.

[0198] The first model structure is a model structure of the first model. The partial first model structure represents part of the first model structure. For example, the entire first model structure includes X layers of network layers, where X is an integer greater than or equal to 2. The partial first model structure is a model structure of v layers of network layers in the X layers of network layers, where v is a positive integer less than X. The v layers of network layers include the output layer of the first model. When v is 1, the partial first model structure is a model structure of the output layer of the first model.

[0199] It should be understood that, for the convenience of description, the output layer of the first model is referred to as the first output layer hereinafter. The input layer of the second model is referred to as the first input layer. This will not be described again hereinafter.

[0200] In addition, the v layers of network layers can be consecutive v layers of network layers, such as the i-th layer of network layer, the i+1-th layer of network layer, …, the i+v-1-th layer of network layer, and the like, where i is a positive integer. The v layers of network layers can also be completely discontinuous network layers, that is, any two network layers are not adjacent. Alternatively, the v layers of network layers include partially continuous network layers and partially discontinuous network layers, and the like. For example, the v layers of network layers include the j-th layer of network layer, the j+1-th layer of network layer, the j+2-th layer of network layer, the j+5-th layer of network layer, and the j+7-th layer of network layer, where the j-th layer of network layer, the j+1-th layer of network layer, and the j+2-th layer of network layer are three consecutive layers of network layers, and the j+5-th layer of network layer and the j+7-th layer of network layer are discontinuous network layers, where j is a positive integer.

[0201] It should be understood that, regardless of which of the above cases the v layers of network layers are, the v layers of network layers include the first output layer. For the other network layers in the v layers of network layers other than the first output layer, the present embodiments do not limit the positions and quantities of the other network layers.

[0202] In one possible case, before S402, the second device performs S401. S402 can be implemented, for example, by the following possible implementation.

[0203] In the first possible implementation, the first information is used to indicate the partial first model structure.

[0204] The partial first model structure includes a model structure of the first output layer, that is, includes the dimension of the first model output data. The dimension of the first model output data is the same as the dimension of the second model input data.

[0205] In this possible implementation, the partial first model structure can be determined by the second device according to the second model structure or the second model. For example, the second device can determine the model structure of the first output layer based on the model structure of the first input layer, so as to match the first input layer with the first output layer. Alternatively, since the dimension of the first model output data is the same as the dimension of the second model input data, the second model structure includes the dimension of the second model input data, the second device can determine the dimension of the first model output data based on the dimension of the second model input data, and then determine the partial first model structure based on the dimension of the first model output data. The partial first model structure includes the dimension of the first model output data which is the same as the dimension of the second model input data included in the second model structure.

[0206] It can be understood that the partial first model structure includes the model structure of the first output layer, and the second model structure includes the model structure of the first input layer. For the model structure of the first output layer and the model structure of the first input layer, the dimension of the output data included in the model structure of the first output layer (i.e., the dimension of the first model output data) is the same as the dimension of the input data included in the model structure of the first input layer (i.e., the dimension of the second model input data). The content in the model structure of the first output layer other than the dimension of the output data can be the same as or different from the content in the model structure of the first input layer other than the dimension of the input data, or can be partially the same. The embodiments of the present application do not make specific limitations on this.

[0207] In the second possible implementation, the first information is used to indicate the dimension of the first model output data or the dimension of the second model input data.

[0208] The dimension of the first model output data is the same as the dimension of the second model input data. Therefore, when the first information is used to indicate the dimension of the first model output data, the first device can determine the dimension of the first model output data. Alternatively, when the first information is used to indicate the dimension of the second model input data, since the dimension of the first model output data is the same as the dimension of the second model input data, the first device can determine the dimension of the first model output data based on the dimension of the second model input data.

[0209] In this possible implementation, the first information can be determined by the second device based on the dimension of the second model input data, and the second model structure includes the dimension of the second model input data. For example, the second device can determine the dimension of the output data of the first model based on the dimension of the second model input data, etc.

[0210] In another possible case, S401 is optional content, i.e., before S402, the second device does not perform S401. Then S402 can be implemented, for example, through the following possible implementation.

[0211] In a third possible implementation, the first information is used to indicate a partial first model structure.

[0212] In this possible implementation, the partial first model structure can be determined by the second device according to an application scenario. For example, the second device can determine the partial first model structure based on a load condition of the second device and / or a compression rate required by a service, etc.

[0213] Alternatively, in some possible implementations, S401 can also be replaced by the second device determining a dimension of the second model input data.

[0214] Since the dimension of the second model input data is the same as that of the first model output data, the second device can determine the dimension of the first model output data based on the dimension of the second model input data. For the remaining content of the partial first model other than the dimension of the first model output data, the second device can determine according to an application scenario. For example, the second device can determine the remaining content based on a load condition of the second device and / or a compression rate required by a service, etc.

[0215] And, optionally, S401 can be executed after S402, and then the second model structure determined by the second device is determined based on the partial first model structure. Since the dimension of the second model input data is the same as that of the first model output data, the second device can determine the dimension of the second model input data. Further, the second model structure is determined based on the dimension of the second model input data. Then, the second device can train the second model based on the second model structure.

[0216] Optionally, the model structure of the first input layer can be the same as that of the first output layer. In this way, the first input layer and the first output layer are completely matched, so that the second device can successfully process the output data of the first model based on the second model. Alternatively, the dimension of the second model input data included in the second model structure is the same as that of the first model output data. The content of the second model structure other than the dimension of the second model input data can be determined by the second device based on a load condition of the second device and / or a compression rate required by a service, etc.

[0217] In a fourth possible implementation, the first information is used to indicate a dimension of the first model output data.

[0218] In this possible implementation, the dimension of the first model output data can be determined by the second device according to an application scenario. For example, the second device can determine the dimension of the first model output data based on a load condition of the second device and / or a compression rate required by a service, etc.

[0219] Alternatively, in some possible implementation, S401 can also be replaced by determining, by the second device, the dimension of the second model input data.

[0220] In this way, the second device can indicate the dimension of the second model structure input data to the first device through the first information; or the second device determines the dimension of the first model output data based on the dimension of the second model structure input data, and indicates the dimension of the first model output data to the first device through the first information.

[0221] The dimension of the first model output data is the same as the dimension of the second model input data. Therefore, S401 can be performed after S402, for example, the second device trains the second model after S402, and the dimension of the second model input data is the same as the dimension of the first model output data.

[0222] S403, the first device determines the first model structure based on the first information.

[0223] The first model structure can be understood as the whole model structure of the first model. That is, the first device determines the whole first model structure based on the partial first model structure. Alternatively, the first device determines the whole first model structure based on the dimension of the first model output data. In this way, the first output layer can match the first input layer, or the dimension of the output data of the first model structure is the same as the dimension of the input data of the second model structure.

[0224] Subsequently, the method 400 further comprises S404, the first device trains the first model based on the first model structure.

[0225] Since the first model is trained based on the first model structure, the model structure of the first model trained by the first device is the first model structure.

[0226] The communication method of the present application, the second device indicates the model structure of the output layer of the first model to the first device, so that the model structure of the output layer of the first model trained by the first device can be the same as the model structure of the input layer of the second model trained by the second device; or, the second device indicates the dimension of the first model output data or the dimension of the second model input data to the first device, so that the dimension of the first model output data trained by the first device can be the same as the dimension of the second model input data trained by the second device. In this way, the output layer of the first model trained by the first device matches the input layer of the second model trained by the second device, so that the first model and the second model are matched. Further, the second device can process the first model output data based on the second model. The first device and the second device can jointly process the information transmitted between the first device and the second device based on the first model and the second model respectively, so that the communication efficiency between the first device and the second device is higher or the communication quality is better.

[0227] In addition, part of the first model structure or the dimension of the first model output data (or replaced by the dimension of the second model input data) can be determined by the second device according to the application scenario, so that the first model and the second model are suitable for the current application scenario; for example, the second device determines part of the first model structure or the dimension of the first model output data (or replaced by the dimension of the second model input data) based on the load condition of the second device and / or the compression rate of the service requirement, so that the first model trained by the first device and the second model trained by the second device can meet the compression rate of the service requirement and can adapt to the current load condition of the second device. In addition, with the development of communication technology, in order to meet different needs, the second device can indicate different part of the first model structure or the dimension of the first model output data (or replaced by the dimension of the second model input data).

[0228] In addition, since the second device does not indicate all the first model structure to the first device, the first device can also determine the remaining part of the first model structure autonomously. In this way, the first model structure constructed by the first device is suitable for the application scenario where the first device is located, which facilitates to meet the needs of the first device.

[0229] Next, part of the first model structure will be described in detail.

[0230] As an optional embodiment, part of the first model structure is the model structure of the last n network layers in the first model, and n is a positive integer.

[0231] Among them, the last n network layers include the output layer of the first model, that is, the first output layer, and the last n network layers are the n network layers closest to the first output layer.

[0232] In an example, n can be 1, and the n last network layers can be the first output layer. In another example, n can be 2, and the n last network layers can be the first output layer and a hidden layer closest to the first output layer.

[0233] Since the output data of the first model is the input data of the second model, the effect of the second device processing the data based on the second model is related to the structure and form of the output data of the first model, and the structure and form of the output data of the first model are usually related to the n last network layers. Therefore, the second device helps to match the first model and the second model by indicating the model structure of the n last network layers to the first device, so that the effect of the second device processing the output data of the first model based on the second model can be better. For example, the first model is a compression model, and the second model is a decompression model. The higher the matching of the first model and the second model, the closer the initial CSI recovered by the second device based on the decompression model to the initial CSI determined by the first device.

[0234] On the basis of the above-mentioned embodiments, optionally, the model structure of the n last network layers comprises: a type of each network layer in the n last network layers and / or a number of neurons included in each network layer in the n last network layers.

[0235] The type of the network layer may, for example, be one of a fully connected layer, a convolutional layer, a pooling layer, or a recurrent layer. The number of neurons can be any positive integer. The neurons are related to the type of the first model, for example, the first model can be a CNN, and each network layer in the n last network layers includes neurons in the CNN; the first model can be a Transformer model, and each network layer in the n last network layers includes neurons in the Transformer model; or, the first model can be an LSTM model, and each network layer in the n last network layers includes neurons in the LSTM model, and the like.

[0236] In an example, n can be 1, and the n last network layers can be the first output layer. The model structure of the first output layer (part of the first model structure) comprises: a type of the first output layer and / or a number of neurons included in the first output layer. The type of the first output layer may, for example, be a fully connected layer, and the number of neurons included in the first output layer may, for example, be ten neurons, and the like. The dimension of the output data of the first model may, for example, be 1x10 or 10x1, and the like.

[0237] In order to make the input layer (the first input layer) of the second model more matched with the first output layer, the model structure of the first output layer can comprise the type of the first output layer and the number of neurons included in the first output layer. In this way, the type of the first input layer can be the same as the type of the first output layer, and the number of neurons included in the first input layer can be the same as the number of neurons included in the first output layer.

[0238] In another example, n can be 2, and the last n network layers are the first output layer and the 1st hidden layer closest to the first output layer, which is referred to as the first hidden layer for convenience of description. The model structure of the last n network layers (part of the first model structure) includes: the type of the first output layer and / or the number of neurons included in the first output layer, and the type of the first hidden layer and the number of neurons included in the first hidden layer. The type of the first output layer can be, for example, a fully connected layer, and the number of neurons included in the first output layer can be, for example, ten neurons, and the like. The dimension of the first model output data is, for example, 1x10 or 10x1, and the like. The first hidden layer can include, for example, 15 neurons.

[0239] In order to make the first input layer and the first output layer more matched, in the case where n is greater than 2, the last n network layers include the first output layer and other network layers. The model structure of the last n network layers (part of the first model structure) can include: the type of the first output layer and the number of neurons included in the first output layer, and the type of each of the other network layers and / or the number of neurons included in each of the other network layers.

[0240] It can be understood that n can also be greater, the type of each network layer can also be other types, and the number of neurons included in each network layer can also be other numbers, which are not listed one by one here for the sake of brevity.

[0241] Next, the manner in which the first device trains the first model, S404, is described in detail.

[0242] Since the first model and the second model are associated models, S404 can be implemented in the following manner: the first device trains the first model based on the first model structure and the second model structure.

[0243] Exemplarily, as shown in FIG. 5, the model structure of the first model is the first model structure determined by the first device, and the model structure of the second model is the second model structure. The first device inputs initial data to the first model, and the first model outputs processed data; the first device inputs the processed data to the second model, and the second model outputs recovered initial data.

[0244] The closer the recovered initial data is to the initial data, the more ideal the data processing effect of the first model and the second model is. For example, the first model is a compression model, and the second model is a decompression model, and the initial data can be initial CSI, the processed data is encoded CSI, and the recovered initial data is the CSI decompressed by the second model, that is, the initial CSI recovered by the second model.

[0245] It should be understood that the initial data can be data in a dataset. The dataset is a dataset used for training the first model and / or the second model. The dataset can be sent by the second device to the first device, so that the first device training the first model and the second device training the second model can use the same dataset.

[0246] For example, the method 400 further includes that the second device sends information 1 to the first device, the information 1 being used to indicate the dataset. Correspondingly, the first device receives the information 1 from the second device.

[0247] It should be understood that the information 1 and the first information can be carried in the same signaling or in different signaling. Moreover, when the information 1 and the first information are carried in the same signaling, the information 1 and the first information can be carried in the same or different fields of the signaling, which is not limited in the present application.

[0248] Alternatively, the dataset can also be acquired by the first device in other manners. For brevity, they are not listed one by one here.

[0249] Then, the first device can calculate a loss factor based on the initial data and the recovered initial data. The loss factor can be used to represent the training effect of the first model. When the loss factor meets a preset condition, the first device can determine that the first model is trained. When the loss factor does not meet the preset condition, the first device can update the model parameters of the first model based on the loss factor to obtain an updated first model. Then, the first device can continue to input the initial data into the updated first model and repeatedly execute the above operations until it is determined that the loss factor meets the preset condition.

[0250] It should be noted that, for the second model structure used in the process of training the first model by the first device, the second model structure can be a model structure constructed by the first device itself. For example, the first device determines the model structure of the first input layer based on the part of the first model structure indicated by the first information, that is, the model structure of the first input layer is the same as the model structure of the first output layer included in the part of the first model structure. Or, the first device determines the dimension of the second model input data based on the dimension of the first model output data or the dimension of the second model input data indicated by the first information.

[0251] Alternatively, the second model structure can be indicated by the second device through signaling, which is as follows.

[0252] As an optional embodiment, the method 400 further includes: the second device sending second information to the first device. The second information is used to indicate all or part of the model structure of the second model, and the all or part of the model structure of the second model is used to train the first model; or the second information is used to indicate all or part of the model structure of the second model and the model parameters of the second model, and the all or part of the model structure of the second model and the model parameters of the second model are used to train the first model. Correspondingly, the first device receives the second information from the second device.

[0253] In this way, when the second information indicates all the model structure of the second model, i.e., all the second model structure, the first device can obtain all the second model structure. When the second information indicates part of the model structure of the second model, i.e., part of the second model structure, the first device can obtain part of the second model structure, and for the remaining part of the second model structure, the first device can construct it by itself according to the application scenario. For example, the second model structure includes Y layers of network layers, Y being an integer greater than or equal to 2, and the second information can indicate h layers of network layers in the Y layers of network layers, h being a positive integer less than Y. The first device can construct the remaining Y-h layers of network layers in the Y layers of network layers by itself.

[0254] Also, when the second information indicates all or part of the model structure of the second model but does not indicate the model parameters of the second model, the model parameters of the second model can be determined by the first device. In this way, the data amount of the second information is small, so that the signaling overhead is small.

[0255] When the second information indicates all or part of the model structure of the second model and indicates the model parameters of the second model, the model parameters of the second model shown in FIG. 5 are the model parameters indicated by the second information, and the model structure of the second model is constructed based on all or part of the model structure indicated by the second information. Exemplarily, the second device can indicate all or part of the model structure of the second model and indicate the model parameters of the second model to the first device through the second information after training the second model. In this way, the first device can determine the second model based on all or part of the model structure of the second model and the model parameters of the second model indicated by the second information, and the second model determined by the first device is approximate to the second model trained by the second device. The first device can train the first model based on the second model, which helps to make the trained first model and the second model trained by the second device better matched.

[0256] It should be noted that the second information and the first information can be carried in the same signaling or in different signaling. Also, when the second information and the first information are carried in the same signaling, the second information and the first information can be carried in the same or different fields of the signaling, which is not limited in the present application.

[0257] Alternatively, in some possible implementation, the second information can also be understood as the first information. That is, the first information in S402 can also be replaced by the second information. In this case, the model structure of the second model indicated by the second information includes the model structure of the first input layer, and the model structure of the first input layer is the same as the model structure of the first output layer. Therefore, the second information can also be understood as the model structure of the first output layer indicated by the second device to the first device.

[0258] On the basis of the above-mentioned embodiments, the method 400 further includes: the second device sending information for indicating the first device to perform model training alone to the first device. Correspondingly, the first device receives the information for indicating the first device to perform model training alone from the second device.

[0259] The model training alone can also be understood as that the first device can construct the first model structure and the second model structure by itself, and perform model training based on the first model structure and the second model structure. The second model structure can be constructed by the first device based on the first information, or can be constructed by the first device based on the second information. The process of the model training performed by the first device can refer to the process shown in FIG. 5, which will not be described herein again.

[0260] It should be understood that the information for indicating the first device to perform model training alone and the second information can be carried in the same or different signaling, and the information for indicating the first device to perform model training alone and the first information can also be carried in the same or different signaling. The present application does not make a specific limitation in this regard.

[0261] On the basis of the above-mentioned embodiments, the second device can also indicate the model parameters of the first model to the first device, so that the first device can train the first model based on the model parameters of the first model.

[0262] Exemplarily, the method 400 further includes: the second device sending information 2 for indicating the model parameters of the first model to the first device. Correspondingly, the first device receives the information 2 from the second device.

[0263] It should be understood that the information 2 and the first information can be carried in the same signaling, or can be carried in different signaling. And when the information 2 and the first information are carried in the same signaling, the information 2 and the first information can be carried in the same or different fields of the signaling. The present application does not make a specific limitation in this regard.

[0264] It should be noted that the above are all described by taking the first device training the first model as an example. In some possible implementation, the first model can be trained by other devices, for example, the third device. And the third device can send the trained first model to the first device after training the first model. In this case, the third device trains the first model in a manner similar to the process shown in FIG. 5, and the description above can be referred to, and details are not described herein.

[0265] And in this case, the first device can send the first information and / or the second information to the third device, so that the third device can construct the first model structure and / or the second model structure based on the first information and / or the second information. The present application does not make specific limitation on this.

[0266] Wherein, the third device can be a server, or other types of devices. The data set used by the third device to train the first model can be sent by the first device to the third device, or can be obtained by the third device in other ways. The present application does not make specific limitation on this.

[0267] In addition, the capability of the first device can affect whether the first device can train the first model. Therefore, the first device can also improve the efficiency of model training in the following manner.

[0268] As an optional embodiment, the method 400 further includes: the first device sends third information to the second device, the third information being used to indicate the model structure supported by the first device and / or the dimension of the output data; wherein the part of the first model structure is determined by the second device based on the third information, and / or the dimension of the first model output data or the dimension of the second model input data is determined by the second device based on the third information. Correspondingly, the second device receives the third information from the first device.

[0269] Wherein, the model structure supported by the first device includes at least one model structure, and the dimension of the output data supported by the first device includes at least one dimension.

[0270] Method 1: In the case where the third information is used to indicate the model structure supported by the first device, the second device can determine the part of the first model structure based on the model structure supported by the first device.

[0271] The model structure supported by the first device can include at least one model structure supported by the first device. Each of the at least one model structure can be a model structure of part of the network layers in the first model structure. For example, when the first model structure includes X network layers, one of the at least one model structure includes a model structure of q network layers, and the q network layers belong to part of the X network layers. The model structure of the q network layers can be the same as or different from the number of network layers included in the part of the first model structure indicated by the first information. For example, the part of the first model structure includes n network layers. The q and the n can be the same or different. The X is an integer greater than or equal to 2, and the q and the n are positive integers less than the X.

[0272] The part of the first model structure indicated by the first information can be determined according to the at least one model structure. For example, the part of the first model structure indicated by the first information can be determined according to one of the at least one model structure.

[0273] Suppose that the part of the first model structure indicated by the first information is determined according to the first one of the at least one model structure, the part of the first model structure can be the same as the first one of the at least one model structure. In this way, the part of the first model structure determined by the second device is the model structure supported by the first device.

[0274] Alternatively, the part of the first model structure indicated by the first information includes the first one of the at least one model structure. For example, the part of the first model structure includes a model structure of n network layers, and the first one of the at least one model structure can include a model structure of q network layers, and the n network layers can include the q network layers. In this way, the second device can autonomously determine a model structure of other network layers (n-q network layers) on the basis of the model structure supported by the first device, so that the part of the first model structure indicated by the second device can also meet the requirements of the second device.

[0275] It should be noted that the number of network layers included in any two of the at least one model structure can be the same or different. For example, the model structure supported by the first device includes a first one of the at least one model structure, a second one of the at least one model structure, and a third one of the at least one model structure; the first one of the at least one model structure includes a model structure of 3 network layers, the second one of the at least one model structure includes a model structure of 1 network layer, and the third one of the at least one model structure includes a model structure of 3 network layers. The number of network layers included in each of the at least one model structure is not limited in the present application.

[0276] Optionally, each of the at least one model structure can include a model structure of an output layer.

[0277] In this way, the second device can determine the model structure of at least one output layer supported by the first device, so that the second device can determine the model structure of the first output layer based on the at least one model structure. The model structure of the first output layer included in the part of the first model structure indicated by the first information is the model structure of the output layer supported by the first device, so that the probability of the first device successfully training the first model is higher.

[0278] It should be further noted that, in order to match the second model input layer with the first model output layer, the model structure of the second model input layer needs to be the same as the model structure of the first model output layer. Therefore, the second device can also determine the part of the first model structure according to the self requirement and / or the model structure supported by the second device, and the model structure supported by the first device.

[0279] For example, assuming that the model structure supported by the first device includes the model structure of at least one output layer, the second device determines the model structure of the first model output layer as one of the model structure of at least one output layer, which is also the model structure of the second model input layer, which can also be the model structure supported by the second device. For example, the model structure of at least one output layer supported by the first device includes: the model structure of output layer 1, the model structure of output layer 2 and the model structure of output layer 3; assuming that the model structure of the input layer supported by the second device includes: the model structure of input layer 1 and the model structure of input layer 2. If the model structure of input layer 2 is the same as the model structure of output layer 1, the second device can determine the model structure of output layer 1 as the model structure of the first output layer, that is, the model structure of the first input layer.

[0280] In this way, the second model structure can be the model structure supported by the second device, so that the probability of the second device successfully training the second model is higher.

[0281] In the case that the third information is used to indicate that the first device supports the dimension of the output data, the second device can determine the dimension of the first model output data or the dimension of the second model input data based on the dimension of the output data supported by the first device.

[0282] It can be understood that the dimension of the first model output data and the dimension of the second model input data are the same, so that the second device determines the dimension of the first model output data based on the dimension of the output data supported by the first device, that is, the second device determines the dimension of the second model input data based on the dimension of the output data supported by the first device.

[0283] For example, the first device sends third information to the second device before the second device determines the second model structure, so that the second device can determine that the first device supports the dimension of the output data based on the third information, and then the second device determines the dimension of the second model input data to belong to the dimension of the output data supported by the first device. Moreover, the dimension of the first model output data or the dimension of the second model input data indicated by the second device to the first device belongs to the dimension of the output data supported by the first device.

[0284] In this way, the dimension of the first model output data or the dimension of the second model input data indicated by the second device is the dimension of the output data supported by the first device, so that the probability of the first device successfully training the first model is higher.

[0285] In the manner 2, optionally, the second device can also determine the dimension of the first model output data or the dimension of the second model input data based on the dimension of the output data supported by the first device and the dimension of the input data supported by the second device.

[0286] Since the dimension of the first model output data and the dimension of the second model input data are the same, in order to make the second device successfully train the second model, the dimension of the second model input data needs to be the dimension of the input data supported by the second device. Therefore, through the above manner, not only the first device can support the dimension of the first model output data, but also the second device can support the dimension of the second model input data. It helps to make the probability of the first device successfully training the first model higher, and helps to make the probability of the second device successfully training the second model higher.

[0287] In the manner 3, in the case that the third information is used to indicate the model structure supported by the first device, the model structure supported by the first device can include the model structure of the output layer, and the model structure of the output layer can include the dimension of the output data of the output layer. Therefore, the second device can also determine the dimension of the first model output data or the dimension of the second model input data based on the model structure supported by the first device.

[0288] Wherein, the model structure supported by the first device can refer to the description in the manner 1.

[0289] In the case that the model structure supported by the first device is at least one model structure, the model structure supported by the first device can include at least one dimension of the output data, and the at least one dimension of the output data is the dimension of the output data supported by the first device. The dimension of the first model output data or the dimension of the second model input data can be one of the at least one dimension of the output data.

[0290] For example, the model structure supported by the first device is at least one model structure, including a first model structure, a second model structure, and a third model structure. The first model structure includes a first dimension of output data, the second model structure includes a second dimension of output data, and the third model structure includes a third dimension of output data. The dimension of the first model output data or the dimension of the second model input data can be the second dimension of output data.

[0291] In the third mode, the second device can determine at least one dimension of output data supported by the first device based on the model structure supported by the first device. Optionally, the second device can further determine the dimension of the first model output data or the dimension of the second model input data based on the at least one dimension of output data and the dimension of input data supported by the second device.

[0292] The dimension of the first model output data and the dimension of the second model input data are the same. The dimension of the first model output data or the dimension of the second model input data determined by the second device can be one of the at least one dimension of output data, and the second device supports the dimension of the second model input data. For example, the at least one dimension of output data supported by the first device includes a first dimension of output data, a second dimension of output data, and a third dimension of output data. The dimension of input data supported by the second device is the same as the first dimension of output data. The second device can determine the first dimension of output data (or the dimension of input data supported by the second device) as the dimension of the first model output data or the dimension of the second model input data.

[0293] In the fourth mode, the third information is used to indicate the case where the first device supports the dimension of output data. The second device can determine part of the first model structure based on the dimension of output data supported by the first device. The dimension of output data of the first model structure belongs to the dimension of output data supported by the first device.

[0294] In the fourth mode, in the part of the first model structure, the content other than the dimension of output data of the first model structure can be determined by the second device. For example, the second device can determine the content other than the dimension of output data of the first model structure according to the application scenario. For example, the part of the first model structure includes a model structure of n layers of network layers. The dimension of the first model output data in the model structure of n layers of network layers is determined based on the dimension of output data supported by the first device. The remaining content in the model structure of n layers of network layers is determined by the second device.

[0295] On the basis of the above embodiments, in the case where the first device is a terminal device and the second device is a network device, the third information can be carried in the UE capability information.

[0296] In this way, the second device can determine the model structure supported by the first device and / or the dimension of the output data supported by the first device based on the UE capability information before determining the first information, which helps the second device to indicate the partial first model structure supported by the first device or the dimension of the output data to the first device.

[0297] Optionally, the third information can also be a response to the information 3. For example, the method 400 further includes that the second device sends the information 3 to the first device, the information 3 being used to request the model structure supported by the first device and / or the dimension of the output data supported by the first device. Correspondingly, the first device receives the information 3 from the second device. And the first device sends the third information to the second device in response to the information 3.

[0298] The information 3 can also be understood as information used to request the UE capability information, which is carried in a message such as a capability enqiry message, for example.

[0299] In this way, the second device can send the information 3 to the first device before determining the first information, so that the second device can obtain the partial first model structure supported by the first device and / or the dimension of the output data supported by the first device.

[0300] It should be noted that in the above embodiment, the first information can also be understood as a request sent by the second device to the first device, the request being used to request the first device to perform model training. In order to enable the second device to determine whether the first device can perform model training, the first device can send a response to the second device, which is as follows.

[0301] As an optional embodiment, the method 400 further includes that the first device sends fourth information to the second device, the fourth information being used to indicate that the first device supports performing model training, or the fourth information being used to indicate that the first device does not support performing model training. Correspondingly, the second device receives the fourth information from the first device.

[0302] The fourth information can be understood as a response to the first information. In the case where the fourth information is used to indicate that the first device supports performing model training, the fourth information can be an acknowledgement (ACK) message, for example. In the case where the fourth information is used to indicate that the first device does not support performing model training, the fourth information can be a negative acknowledgement (NACK) message, for example.

[0303] In one case, the first device can send the fourth information to the second device after receiving the first information and before training the first model to completion.

[0304] Exemplarily, the first device can determine whether the first device supports the partial first model structure according to a model structure supported by the first device; for example, if the first device determines not to support the partial first model structure, the first device can send fourth information to the second device, and the fourth information is used to indicate that the first device does not support model training, and the fourth information can be a NACK message. If the first device determines to support the partial first model structure, the first device can send fourth information to the second device, and the fourth information is used to indicate that the first device supports model training, and the fourth information can be an ACK message.

[0305] Alternatively, the first device can determine whether the first device supports the dimension of the first model output data indicated by the first information according to the dimension of the output data supported by the first device (if the first information indicates the dimension of the second model input data, since the dimension of the first model output data is the same as the dimension of the second model input data, the first information can also be understood as indicating the dimension of the first model output data); if the first device determines not to support the dimension of the first model output data, the first device can send fourth information to the second device, and the fourth information is used to indicate that the first device does not support model training, and the fourth information can be a NACK message. If the first device determines to support the dimension of the first model output data, the first device can send fourth information to the second device, and the fourth information is used to indicate that the first device supports model training, and the fourth information can be an ACK message.

[0306] In this case, the first device can train the first model in an online training manner, and can respond to the first information through the fourth information. The online training manner can also be understood as a training manner in which the first device updates the model parameters of the first model in real time. For example, the first device trains and updates the first model immediately after obtaining data, which is sample data used to train the first model.

[0307] In addition to the first device not supporting the partial first model structure and / or the first device not supporting the dimension of the first model output data, the first device can also determine not to support model training based on other manners. Exemplarily, before sending the fourth information to the second device, the first device determines that the power is lower than a first threshold value, etc. The first threshold value can be a preset positive number, and the first threshold value is greater than 0 or less than 1.

[0308] Optionally, in the case where the fourth information is used to indicate that the first device does not support model training, the fourth information is also used to indicate the reason why the first device does not support model training and / or a first duration, the first duration being a duration during which the first device does not support model training.

[0309] The reason for not supporting model training may be, for example but not limited to, one or more of the following: the partial first model structure is not supported, the dimension of the first model output data is not supported, or the power is low (e.g., the power is lower than a first threshold).

[0310] It should be noted that, in a case where the partial first model structure indicated by the first information is determined by the second device based on the model structure supported by the first device (the third information), since the partial first model structure is the model structure supported by the first device, the reason for not supporting model training indicated by the fourth information does not include that the partial first model structure is not supported. Similarly, in a case where the dimension of the first model output data or the dimension of the second model input data indicated by the first information is determined by the second device based on the dimension of the output data supported by the first device (the third information), since the dimension of the first model output data is the dimension of the output data supported by the first device, the reason for not supporting model training indicated by the fourth information does not include that the dimension of the first model output data is not supported.

[0311] The first time length is a time length during which the first device does not support model training, and the first time length may be, for example, 30 minutes, 1 hour, or 3 hours, or the like. Alternatively, the first time length may also be replaced by a time length during which the first device does not support the partial first model structure. That is, during the first time length, the first device cannot train the first model based on the partial first model structure.

[0312] To enable the second device to determine the time at which the first device can perform model training, in a case where the fourth information is used to indicate the first time length, the fourth information may also be used to indicate a starting time at which the first device does not support model training, and then the second device can determine that, from the starting time, during the first time length, the first device does not support model training.

[0313] Alternatively, in a case where the first device supports model training, the first device may also send the fourth information to the second device after the first model training is completed. The fourth information may also be understood as information indicating that the first model training is completed.

[0314] In this case, the fourth information may be carried in a UAI, for example.

[0315] In this way, the second device can determine that the first device has trained the first model, and then the second device and the first device can perform communication based on the trained first model and the trained second model.

[0316] The embodiment of the present application also provides another communication method 600, which will be described in detail below in combination with FIG. 6.

[0317] FIG. 6 is a flow diagram of a communication method 600 according to an embodiment of the present application. The method 600 is applicable to the system 200. The method 600 includes the following steps:

[0318] S601, the first device determines the first model structure, and / or the first device trains the first model.

[0319] It can be understood that in S601, the first device can determine the first model structure, but the first model is not trained; or the first device trains the first model; or the first device determines the first model structure and trains the first model based on the first model structure. For example, the first device determines the first model structure before training the first model, and then trains the first model based on the first model structure. The first model structure can be determined by the first device according to the application scenario, for example, according to the type of task that the first device needs to process based on the first model.

[0320] In this way, the first device can determine the fifth information based on the first model structure or the first model. For example, the model structure of the second model input layer is determined based on the model structure of the output layer in the first model structure or the first model, and the model structure of the second model input layer is the model structure of the output layer in the first model structure or the first model. Or, the dimension of the second model input data is determined based on the dimension of the output data in the first model structure or the first model, and the dimension of the second model input data is the dimension of the output data in the first model structure or the first model. So that the second model trained by the second device matches the first model.

[0321] It should be noted that S601 is optional. That is, before the first device sends the fifth information to the second device, the first device can also not determine the first model structure and not train the first model. Or, S601 can be replaced by the first device determining the dimension of the first model output data, etc.

[0322] It should be understood that in the method 600, the understanding of the first model structure and the second model structure can refer to the description in the method 400, and the understanding of the first model and the second model can also refer to the description in the method 400, which will not be repeated here.

[0323] S602, the first device sends the fifth information to the second device. Wherein, the fifth information is used to indicate part of the second model structure used by the second device to train the second model, and the part of the second model structure includes the model structure of the input layer; or, the fifth information is used to indicate the dimension of the first model output data or the dimension of the second model input data. Correspondingly, the second device receives the fifth information from the first device.

[0324] The second model structure is a model structure of the second model. The partial second model structure is a partial model structure in the total second model structure. For example, the total second model structure includes Y layers of network layers, Y being an integer greater than or equal to 2. The partial second model structure is a model structure of o layers of network layers in the Y layers of network layers, o being a positive integer less than Y. The o layers of network layers include an input layer of the second model. In a case where o is 1, the partial second model structure is a model structure of the input layer of the second model.

[0325] It should be understood that, for the convenience of description, the output layer of the first model in the method 600 is still referred to as the first output layer. The input layer of the second model is referred to as the first input layer. This will not be described again hereinafter.

[0326] In addition, the o layers of network layers can be consecutive o layers of network layers, for example, the i-th layer of network layers, the (i+1)-th layer of network layers, …, the (i+o-1)-th layer of network layers, i being a positive integer. The o layers of network layers can also be completely discontinuous network layers, that is, any two network layers are not adjacent. Alternatively, the o layers of network layers include partially continuous network layers and partially discontinuous network layers, etc. For example, the o layers of network layers include the j-th layer of network layers, the (j+1)-th layer of network layers, the (j+2)-th layer of network layers, the (j+5)-th layer of network layers, and the (j+7)-th layer of network layers, wherein the j-th layer of network layers, the (j+1)-th layer of network layers, and the (j+2)-th layer of network layers are three consecutive layers of network layers, and the (j+5)-th layer of network layers and the (j+7)-th layer of network layers are discontinuous network layers, j being a positive integer.

[0327] It should be understood that, in any of the above cases, the o layers of network layers include the first input layer. For other network layers in the o layers of network layers other than the first input layer, the present embodiment does not limit the positions and the number of the other network layers.

[0328] In a possible case, before S602, the first device performs S601. S602 can be implemented, for example, by the following possible implementation.

[0329] In the first possible implementation, the fifth information is used to indicate the partial second model structure.

[0330] The partial second model structure includes a model structure of the first input layer, that is, a dimension of the second model input data. The dimension of the first model output data is the same as the dimension of the second model input data.

[0331] In this possible implementation, the partial second model structure can be determined by the first device according to the first model structure or the first model. For example, the first device can determine the model structure of the first input layer based on the model structure of the first output layer, so as to match the first output layer with the first input layer. Alternatively, the first model structure includes the dimension of the first model output data, the first device can determine the dimension of the second model input data based on the dimension of the first model output data, and then determine the partial second model structure based on the dimension of the second model input data. The partial second model structure includes the dimension of the second model input data which is the same as the dimension of the first model output data included in the first model structure.

[0332] It can be understood that the partial second model structure includes the model structure of the first input layer, and the first model structure includes the model structure of the first output layer. For the model structure of the first output layer and the model structure of the first input layer, the dimension of the output data included in the model structure of the first output layer (i.e., the dimension of the first model output data) is the same as the dimension of the input data included in the model structure of the first input layer (i.e., the dimension of the second model input data). The content of the model structure of the first output layer except for the dimension of the output data can be the same as or different from the content of the model structure of the first input layer except for the dimension of the input data, or can be partially the same. The embodiments of the present application do not make specific limitations on this.

[0333] In the second possible implementation, the fifth information is used to indicate the dimension of the second model input data or the dimension of the first model output data.

[0334] The dimension of the second model input data is the same as the dimension of the first model output data. Therefore, when the fifth information is used to indicate the dimension of the second model input data, the second device can determine the dimension of the second model input data. Alternatively, when the fifth information is used to indicate the dimension of the first model output data, the second device can determine the dimension of the second model input data based on the dimension of the first model output data since the dimension of the first model output data is the same as the dimension of the second model input data.

[0335] In this possible implementation, the fifth information can be determined by the first device based on the dimension of the first model output data, and the first model structure includes the dimension of the first model output data. For example, the first device can determine the dimension of the output data of the second model based on the dimension of the first model output data, etc.

[0336] In another possible case, S601 is optional content, i.e., the first device does not perform S601 before S602. Then S602 can be implemented, for example, through the following possible implementation.

[0337] In the third possible implementation, the fifth information is used to indicate the partial second model structure.

[0338] In this possible implementation, the partial second model structure can be determined by the first device according to an application scenario. For example, the first device can determine the partial second model structure based on a load condition of the second device and / or a compression rate required by a service.

[0339] Alternatively, in some possible implementations, S601 can also be replaced by the first device determining a dimension of the first model output data.

[0340] Since the dimension of the second model input data is the same as the dimension of the first model output data, the first device can determine the dimension of the second model input data based on the dimension of the first model output data. For the remaining content in the partial second model other than the dimension of the second model input data, the first device can determine the remaining content according to an application scenario. For example, the first device can determine the remaining content based on a load condition of the second device and / or a compression rate required by a service.

[0341] And, optionally, S601 can be executed after S602, and then the first model structure determined by the first device is determined based on the partial second model structure. Since the dimension of the second model input data is the same as the dimension of the first model output data, the first device can determine the dimension of the first model output data. Then, the first model structure is determined based on the dimension of the first model output data. Then, the first device can train the first model based on the first model structure.

[0342] Optionally, the model structure of the first input layer can be the same as the model structure of the first output layer. In this way, the first input layer and the first output layer are completely matched, so that the second device can successfully process the output data of the first model based on the second model. Alternatively, the dimension of the first model output data included in the first model structure is the same as the dimension of the second model input data. The content in the first model structure other than the dimension of the first model output data can be determined by the first device based on a load condition of the second device and / or a compression rate required by a service.

[0343] In the fourth possible implementation, the fifth information is used to indicate a dimension of the second model output data.

[0344] In this possible implementation, the dimension of the second model input data can be determined by the first device according to an application scenario. For example, the first device can determine the dimension of the second model input data based on a load condition of the second device and / or a compression rate required by a service.

[0345] Alternatively, in some possible implementations, S601 can also be replaced by the first device determining a dimension of the first model output data.

[0346] In this way, the first device can indicate the dimension of the first model structure output data to the second device through the fifth information; or the first device determines the dimension of the second model input data based on the dimension of the first model structure output data, and indicates the dimension of the second model input data to the second device through the fifth information.

[0347] The dimension of the second model input data is the same as the dimension of the first model output data. Therefore, S601 can be executed after S602, for example, the first device trains the first model after S602, and the dimension of the first model output data is the same as the dimension of the second model input data.

[0348] S603, the second device determines the second model structure based on the fifth information.

[0349] The second model structure can be understood as the entire model structure of the second model. That is, the second device determines the entire second model structure based on part of the second model structure. Or, the second device determines the entire second model structure based on the dimension of the second model output data. In this way, the first output layer can match the first input layer, or the dimension of the first model structure output data is the same as the dimension of the second model structure input data.

[0350] After that, the method 600 further includes S604, the second device trains the second model based on the second model structure.

[0351] Since the second model is trained based on the second model structure, the model structure of the second model trained by the second device is the second model structure.

[0352] The communication method of the present application, the first device indicates the model structure of the second model input layer to the second device, so that the model structure of the output layer used by the first model trained by the first device can be the same as the model structure of the input layer used by the second model trained by the second device; or, the first device indicates the dimension of the second model input data or the dimension of the first model output data to the second device, so that the dimension of the second model input data trained by the second device can be the same as the dimension of the first model output data trained by the first device. In this way, the output layer of the first model trained by the first device matches the input layer of the second model trained by the second device, so that the first model and the second model are matched. Further, the second device can process the first model output data based on the second model.

[0353] In addition, the dimension of the partial second model structure or the second model input data (or alternatively the dimension of the first model output data) can be determined by the first device according to an application scenario, so that the first model and the second model are suitable for the current application scenario; for example, the first device determines the dimension of the partial second model structure or the second model input data (or alternatively the dimension of the first model output data) based on the load condition of the second device and / or the compression rate of the service requirement, so that the first model trained by the first device and the second model trained by the second device can meet the compression rate of the service requirement and can adapt to the load condition of the second device. In addition, with the development of communication technology, in order to meet different requirements, the first device can indicate different dimensions of the partial second model structure or the second model input data (or alternatively the dimension of the first model output data).

[0354] In addition, since the first device does not indicate the entire second model structure to the second device, the second device can also autonomously determine the remaining partial second model structure. In this way, the second model structure constructed by the second device is suitable for the application scenario in which the second device is located, facilitating the meeting of the requirements of the second device.

[0355] In the following, the partial second model structure is described in detail.

[0356] As an optional embodiment, the partial second model structure is the model structure of the first m network layers in the second model, and m is a positive integer.

[0357] The first m network layers include the input layer of the second model, i.e., the first input layer, and the first m network layers are the m network layers closest to the first input layer.

[0358] In an example, m can be 1, and the first m network layers are the first input layer. In another example, m can be 2, and the first m network layers can be the first input layer and a hidden layer closest to the first input layer.

[0359] Since the output data of the first model is the input data of the second model, the effect of the second device processing data based on the second model is related to the structure and form of the output data of the first model, and the structure and form of the second model input data are usually related to the first m network layers. Therefore, by indicating the model structure of the first m network layers to the second device, the first device helps to match the first model and the second model, so that the effect of the second device processing the output data of the first model based on the second model can be better. For example, the first model is a compression model, and the second model is a decompression model. The higher the matching of the first model and the second model, the closer the initial CSI recovered by the second device based on the decompression model to the initial CSI determined by the first device.

[0360] On the basis of the above-mentioned embodiments, optionally, the model structure of the first m-layer network layer comprises: a type of each network layer in the first m-layer network layer and / or a number of neurons included in each network layer in the first m-layer network layer.

[0361] The type of the network layer may, for example, be one of a fully connected layer, a convolutional layer, a pooling layer or a recurrent layer. The number of neurons may be any positive integer. The neurons are related to the type of the second model, for example, the second model may be a CNN, and the neurons included in each network layer in the first m-layer network layer are neurons in the CNN; the second model may be a Transformer model, and the neurons included in each network layer in the first m-layer network layer are neurons in the Transformer model; or, the second model may be an LSTM model, and the neurons included in each network layer in the first m-layer network layer are neurons in the LSTM model, and the like.

[0362] In an example, m may be 1, and the first m-layer network layer is a first input layer. The model structure (part of the second model structure) of the first input layer comprises: a type of the first input layer and / or a number of neurons included in the first input layer. The type of the first input layer may, for example, be a fully connected layer, and the number of neurons included in the first input layer may, for example, be ten neurons, and the like. The dimension of the second model input data may, for example, be 1x10 or 10x1, and the like.

[0363] In order to make the first input layer more matched with the first output layer, the model structure of the first input layer may comprise the type of the first input layer and the number of neurons included in the first input layer. In this way, the type of the first input layer may be the same as the type of the first output layer, and the number of neurons included in the first input layer may be the same as the number of neurons included in the first output layer.

[0364] In another example, m may be 2, and the first m-layer network layer is a first input layer and a 1-layer hidden layer closest to the first input layer, which is referred to as a second hidden layer for ease of description. The model structure (part of the second model structure) of the first m-layer network layer comprises: a type of the first input layer and / or a number of neurons included in the first input layer, and a type of the second hidden layer and a number of neurons included in the second hidden layer. The type of the first input layer may, for example, be a fully connected layer, and the number of neurons included in the first input layer may, for example, be ten neurons, and the like. The dimension of the second model input data may, for example, be 1x10 or 10x1, and the like. The second hidden layer may, for example, comprise 15 neurons.

[0365] To make the first input layer and the first output layer more matched, in the case that m is greater than 2, the first m-layer network layer includes the first input layer and other network layers. The model structure (part of the second model structure) of the first m-layer network layer can include: the type of the first input layer and the number of neurons included in the first input layer, and the type of each network layer in the other network layers and / or the number of neurons included in each network layer in the other network layers.

[0366] It can be understood that m can also be greater, the type of each network layer can also be other types, and the number of neurons included in each network layer can also be other numbers. For the sake of brevity, they will not be listed one by one here.

[0367] Next, the way in which the second device trains the second model, S604, is described in detail.

[0368] Since the first model and the second model are associated models, S604 can be implemented in the following way: the second device trains the first model based on the first model structure and the second model structure.

[0369] It should be understood that the way in which the second device trains the second model is similar to the way in which the first device trains the first model, and the way in which the second device trains the second model can also refer to the process shown in FIG. 5. The difference is that the second device updates the model parameters of the second model based on the loss factor. For the sake of brevity, it will not be repeated here.

[0370] It should be understood that the second model can also be trained based on initial data, which can be data in a dataset. The dataset can also be sent by the first device to the second device, so that the first device trains the first model and the second device trains the second model can use the same dataset.

[0371] For example, the method 600 further includes: the first device sends information 4 to the second device, the information 4 being used to indicate the dataset. Correspondingly, the second device receives the information 4 from the first device.

[0372] It should be understood that the information 4 and the fifth information can be carried in the same signaling or in different signaling. And when the information 4 and the fifth information are carried in the same signaling, the information 4 and the fifth information can be carried in the same or different fields of the signaling, which is not limited in the present application.

[0373] Alternatively, the dataset can also be obtained by the second device in other ways. For the sake of brevity, they will not be listed one by one here.

[0374] It should be noted that, for the first model structure used by the second device in the process of training the second model, the first model structure can be a model structure constructed by the second device itself. For example, the second device determines the model structure of the first output layer based on the part of the second model structure indicated by the fifth information, that is, the model structure of the first output layer is the same as the model structure of the input layer included in the part of the second model structure. Or, the second device determines the dimension of the first model output data based on the dimension of the first model output data or the dimension of the second model input data indicated by the fifth information.

[0375] Alternatively, the first model structure can be indicated by the first device through signaling, specifically as follows.

[0376] As an optional embodiment, the method 600 further includes: the first device sends sixth information to the second device. Wherein, the sixth information is used to indicate all or part of the model structure of the first model, and all or part of the model structure of the first model is used to train the second model; or, the sixth information is used to indicate all or part of the model structure of the first model and the model parameters of the first model, and all or part of the model structure of the first model and the model parameters of the first model are used to train the second model. Correspondingly, the second device receives the sixth information from the first device.

[0377] In this way, in the case that the sixth information indicates the whole model structure of the first model, that is, the whole first model structure, the second device can obtain the whole first model structure. In the case that the sixth information indicates part of the model structure of the first model, that is, part of the first model structure, the second device can obtain part of the first model structure, and for the remaining part of the first model structure, the second device can construct it according to the application scenario. For example, the first model structure includes X layer network layers, X is an integer greater than or equal to 2, and the sixth information can indicate u layer network layers in the X layer network layers, u is a positive integer less than X. The second device can construct the remaining X-u layer network layers in the X layer network layers.

[0378] And, in the case that the sixth information indicates all or part of the model structure of the first model, but does not indicate the model parameters of the first model, the model parameters of the first model can be determined by the second device. In this way, the data amount of the sixth information is small, so that the signaling overhead is small.

[0379] In a case that the sixth information indicates the model structure of the first model in whole or in part, and indicates the model parameters of the first model, the model parameters of the first model shown in FIG. 5 are the model parameters indicated by the sixth information, and the model structure of the first model is constructed based on the model structure indicated by the sixth information in whole or in part. Exemplarily, the first device can indicate the model structure of the first model in whole or in part, and indicate the model parameters of the first model to the second device through the sixth information after training the first model. In this way, the second device can determine the first model based on the model structure of the first model indicated by the sixth information in whole or in part and the model parameters of the first model, and the first model determined by the second device is close to the first model trained by the first device. The second device can train the second model based on the first model, which helps to make the trained second model and the second model trained by the first device better matched.

[0380] It should be noted that the sixth information and the fifth information can be carried in the same signaling, or can be carried in different signaling. Moreover, in a case that the sixth information and the fifth information are carried in the same signaling, the sixth information and the fifth information can be carried in the same or different fields of the signaling, which is not limited in the present application.

[0381] Alternatively, in some possible implementation, the sixth information can also be understood as the fifth information. That is, the fifth information in S602 can also be replaced by the sixth information. In this case, the model structure of the first model indicated by the sixth information in whole or in part includes the model structure of the first output layer, which is the same as the model structure of the first input layer. Therefore, the sixth information can also be understood as the model structure of the first input layer (the input layer of the second model) indicated by the first device to the second device.

[0382] On the basis of the above-mentioned embodiments, optionally, the method 600 further includes that the first device sends information for indicating the second device to separately perform model training to the second device. Correspondingly, the second device receives the information for indicating the second device to separately perform model training from the first device.

[0383] Wherein, separately performing model training can also be understood as that the second device can construct the first model structure and the second model structure by itself, and perform model training based on the first model structure and the second model structure. The first model structure can be constructed by the second device based on the fifth information, or can be constructed by the second device based on the sixth information. The process of model training performed by the second device can refer to the process shown in FIG. 5, which is not described herein again.

[0384] It should be understood that the information for instructing the second device to train the model alone and the sixth information can be carried in the same or different signaling, and the information for instructing the second device to train the model alone and the fifth information can also be carried in the same or different signaling. The present application does not make specific limitation on this.

[0385] On the basis of the above-mentioned embodiments, the first device can further indicate the model parameters of the second model to the second device, so that the second device can train the second model based on the model parameters of the second model.

[0386] Exemplarily, the method 600 further includes that the first device sends information 5 to the second device, the information 5 being used for indicating the model parameters of the second model. Correspondingly, the second device receives the information 5 from the first device.

[0387] It should be understood that the information 5 and the fifth information can be carried in the same signaling or in different signaling. And when the information 5 and the fifth information are carried in the same signaling, the information 5 and the fifth information can be carried in the same or different fields of the signaling. The present application does not make specific limitation on this.

[0388] It should be understood that the above are all described by taking the second device training the second model as an example. In some possible implementation manners, the second model can be trained by other devices, for example, the fourth device. And the fourth device can send the trained second model to the second device after training the second model. In this case, the fourth device trains the second model in a manner similar to the process shown in FIG. 5, and reference can be made to the description above, which will not be repeated here.

[0389] And in this case, the second device can send the fifth information and / or the sixth information to the fourth device, so that the fourth device can construct the first model structure and / or the second model structure based on the fifth information and / or the sixth information. The present application does not make specific limitation on this.

[0390] Wherein, the fourth device can be a server, or other types of devices. The data set used by the fourth device to train the second model can be sent by the second device to the fourth device, or can be acquired by the fourth device through other manners. The present application does not make specific limitation on this.

[0391] In addition, the capability of the second device can affect whether the second device can train the second model. Therefore, the second device can further improve the efficiency of model training in the following manner.

[0392] As an optional embodiment, the method 600 further includes: the second device sends seventh information to the first device, the seventh information being used to indicate the model structure supported by the second device and / or the dimension of the input data; wherein the partial second model structure is determined by the first device based on the seventh information, and / or the dimension of the second model input data or the dimension of the first model output data is determined by the first device based on the seventh information. Correspondingly, the first device receives the seventh information from the second device.

[0393] The model structure supported by the second device includes at least one model structure, and the dimension of the input data supported by the second device includes at least one dimension.

[0394] In the first mode, in the case where the seventh information is used to indicate the model structure supported by the second device, the first device can determine the partial second model structure based on the model structure supported by the second device.

[0395] The model structure supported by the second device can include at least one model structure supported by the second device. Each model structure in the at least one model structure can be the model structure of the partial network layer in the second model structure. For example, in the case where the second model structure includes Y layers of network layers, one model structure in the at least one model structure includes the model structure of p layers of network layers, and the p layers of network layers belong to the partial network layers in the Y layers of network layers. The model structure of the p layers of network layers can be the same as or different from the number of network layers included in the partial second model structure indicated by the fifth information. For example, the partial second model structure indicated by the fifth information includes m layers of network layers. The p and the m can be the same or different. Y is an integer greater than or equal to 2, and p and m are positive integers less than Y.

[0396] The partial second model structure indicated by the fifth information can be determined according to the at least one model structure. For example, the partial second model structure indicated by the fifth information can be determined according to one model structure in the at least one model structure.

[0397] Suppose the partial second model structure indicated by the fifth information is determined according to the second model structure in the at least one model structure, the partial second model structure can be the same as the second model structure. In this way, the partial second model structure determined by the first device is the model structure supported by the second device.

[0398] Alternatively, the partial second model structure indicated by the fifth information comprises a second model structure. For example, the partial second model structure comprises a model structure of m-layer network layers, and the second model structure can comprise a model structure of p-layer network layers, and the m-layer network layers can comprise the p-layer network layers. In this way, the first device can autonomously determine a model structure of other partial network layers (m-p-layer network layers) on the basis of the model structure supported by the second device, so that the partial second model structure indicated by the first device can also meet the requirement of the first device.

[0399] It should be noted that the number of network layers included in any two model structures in the at least one model structure can be the same or different. For example, the model structures supported by the second device comprise a first model structure, a second model structure, and a third model structure; the first model structure comprises a model structure of 3-layer network layers, the second model structure comprises a model structure of 1-layer network layers, and the third model structure comprises a model structure of 3-layer network layers, etc. The number of network layers included in each model structure is not limited in the present application.

[0400] Optionally, each model structure in the at least one model structure supported by the second device can comprise a model structure of the first input layer (the input layer of the second model).

[0401] In this way, the first device can determine the model structure of the at least one input layer supported by the second device, so that the first device can determine the model structure of the first input layer on the basis of the model structure of the at least one input layer. The model structure of the first input layer included in the partial second model structure indicated by the fifth information is the model structure of the input layer supported by the second device, so that the probability of successfully training the second model by the second device is higher.

[0402] It should be further noted that, in order to match the second model input layer with the first model output layer, the model structure of the second model input layer needs to be the same as the model structure of the first model output layer. Therefore, the first device can also determine the partial second model structure according to the requirement of the first device and / or the model structure supported by the first device, and the model structure supported by the second device.

[0403] Exemplarily, assuming that the model structure supported by the second device includes at least one input layer model structure, the first device determines the model structure of the second model input layer as one of the at least one input layer model structure, which is also the model structure of the first model output layer, which can also be the model structure supported by the first device. For example, the at least one input layer model structure supported by the second device includes: input layer model structure 1, input layer model structure 2, and input layer model structure 3; and assuming that the output layer model structure supported by the first device includes: output layer model structure 1 and output layer model structure 2. If the output layer model structure 2 is the same as the input layer model structure 1, the device can determine the input layer model structure 1 as the first input layer model structure, that is, the first output layer model structure.

[0404] In this way, the first model structure can be the model structure supported by the first device, so that the probability of successfully training the first model by the first device is higher.

[0405] In the second mode, when the seventh information is used to indicate that the second device supports the dimension of the input data, the first device can determine the dimension of the first model output data or the dimension of the second model input data based on the dimension of the input data supported by the second device.

[0406] It can be understood that the dimension of the first model output data and the dimension of the second model input data are the same, so the first device determines the dimension of the second model input data based on the dimension of the input data supported by the second device, that is, the first device determines the dimension of the first model output data based on the dimension of the input data supported by the second device.

[0407] For example, the second device sends the seventh information to the first device before the first device determines the first model structure, so that the first device can determine the dimension of the input data supported by the second device based on the seventh information, and the dimension of the first model output data determined by the first device can belong to the dimension of the input data supported by the second device. Moreover, the dimension of the second model input data or the dimension of the first model output data indicated by the first device to the second device belongs to the dimension of the input data supported by the second device.

[0408] In this way, the dimension of the second model input data or the dimension of the first model output data indicated by the first device is the dimension of the input data supported by the second device, so that the probability of successfully training the second model by the second device is higher.

[0409] In the second mode, optionally, the first device can also determine the dimension of the first model output data or the dimension of the second model input data based on the dimension of the input data supported by the second device and the dimension of the output data supported by the first device.

[0410] Since the dimension of the first model output data and the dimension of the second model input data are the same, in order to make the first device successfully train the first model, the dimension of the first model output data needs to be the dimension of the output data supported by the first device. Therefore, in the above manner, not only does the second device support the dimension of the second model input data, but also the first device supports the dimension of the first model output data. This helps to make the probability of the first device successfully training the first model higher, and helps to make the probability of the second device successfully training the second model higher.

[0411] In the third manner, in the case that the seventh information is used to indicate the model structure supported by the second device, the model structure supported by the second device can include the model structure of the input layer, and the model structure of the input layer can include the dimension of the input layer input data. Therefore, the first device can also determine the dimension of the first model output data or the dimension of the second model input data based on the model structure supported by the second device.

[0412] In the third manner, in the case that the seventh information is used to indicate the model structure supported by the second device, the model structure supported by the second device can include the model structure of the input layer, and the model structure of the input layer can include the dimension of the input layer input data. Therefore, the first device can also determine the dimension of the first model output data or the dimension of the second model input data based on the model structure supported by the second device.

[0413] In the case that the model structure supported by the second device is at least one model structure, the model structure supported by the second device can include at least one dimension of input data, and the at least one dimension of input data is the dimension of the input data supported by the second device. The dimension of the first model output data or the dimension of the second model input data can be one of the at least one dimension of input data.

[0414] For example, the model structure supported by the second device is at least one model structure, including a first model structure, a second model structure, and a third model structure. The first model structure includes a dimension of input data 1, the second model structure includes a dimension of input data 2, the third model structure includes a dimension of input data 3, and the dimension of the first model output data or the dimension of the second model input data can be the dimension of input data 2.

[0415] In the third manner, the first device can determine at least one dimension of input data supported by the second device based on the model structure supported by the second device. Optionally, the first device can also determine the dimension of the first model output data or the dimension of the second model input data based on the at least one dimension of input data and the dimension of the output data supported by the first device.

[0416] The dimension of the first model output data and the dimension of the second model input data are the same. The dimension of the first model output data or the dimension of the second model input data determined by the first device can be one of the dimensions of the at least one input data, and the first device supports the dimension of the first model output data. For example, the dimensions of the at least one input data supported by the second device include input data dimension 1, input data dimension 2, and input data dimension 3; the dimension of the output data supported by the first device is the same as the input data dimension 1, and the first device can determine the input data dimension 1 (or the dimension of the output data supported by the first device) as the dimension of the second model input data or the dimension of the first model output data.

[0417] In the fourth mode, the first device can determine part of the second model structure based on the dimensions of the input data supported by the second device when the seventh information indicates that the second device supports the dimension of the input and output data. The dimension of the input data of the second model structure belongs to the dimensions of the input data supported by the second device.

[0418] In the fourth mode, in the part of the second model structure, the content other than the dimension of the input data of the second model structure can be determined by the first device. For example, the first device can determine the content other than the dimension of the input data of the second model structure according to the application scenario. For example, the part of the second model structure includes a model structure of m layers of network layers, the dimension of the input data of the second model is determined based on the dimensions of the input data supported by the second device, and the remaining content in the model structure of the m layers of network layers is determined by the first device.

[0419] Optionally, the seventh information can also be a response to information 5. For example, the method 600 further includes: the first device sends information 5 to the second device, and the information 5 is used to request the model structure supported by the second device and / or the dimension of the input data. Correspondingly, the second device receives the information 5 from the first device. And the second device sends the seventh information to the first device in response to the information 5.

[0420] In this way, the first device can send information 5 to the second device before determining the fifth information, so that the first device can obtain part of the second model structure or the dimension of the input data supported by the second device.

[0421] It should be noted that in the above embodiment, the fifth information can also be understood as a request sent by the first device to the second device, and the request is used to request the second device to perform model training. In order to enable the first device to determine whether the second device can perform model training, the second device can send a response to the first device, as follows.

[0422] As an optional embodiment, the method 600 further includes: the second device sending eighth information to the first device, the eighth information being used to indicate that the second device supports model training, or the eighth information being used to indicate that the second device does not support model training. Correspondingly, the first device receives the eighth information from the second device.

[0423] The eighth information can be understood as a response to the fifth information. In the case where the eighth information is used to indicate that the second device supports model training, the eighth information can be, for example, an ACK message. In the case where the eighth information is used to indicate that the second device does not support model training, the eighth information can be, for example, a NACK message.

[0424] In one case, the second device can send the eighth information to the first device after receiving the fifth information and before training the second model is completed.

[0425] Exemplarily, the second device can determine whether the second device supports the second model structure according to a model structure supported by the second device; for example, if the second device judges that part of the second model structure is not supported, the second device can send the eighth information to the first device, and the eighth information is used to indicate that the second device does not support model training, then the eighth information can be a NACK message. If the second device judges that part of the second model structure is supported, the second device can send the eighth information to the first device, and the eighth information is used to indicate that the second device supports model training, then the eighth information can be an ACK message.

[0426] Alternatively, the second device can determine whether the second device supports the dimension of the second model input data indicated by the fifth information (if the fifth information indicates the dimension of the first model output data, since the dimension of the first model output data is the same as the dimension of the second model input data, the fifth information can also be understood as indicating the dimension of the second model input data) according to the dimension of the input data supported by the second device; for example, if the second device judges that the dimension of the second model input data is not supported, the second device can send the eighth information to the first device, and the eighth information is used to indicate that the second device does not support model training, then the eighth information can be a NACK message. If the second device judges that the dimension of the second model input data is supported, the second device can send the eighth information to the first device, and the eighth information is used to indicate that the second device supports model training, then the eighth information can be an ACK message.

[0427] Optionally, when the eighth information is used to indicate that the second device does not support model training, the eighth information is also used to indicate one or more of the following: the reason why the second device does not support model training, the first moment, the second duration, or the second moment, wherein the first moment is the moment when the first device requests the second device to perform model training again, the second duration is the duration during which the first device is prohibited from requesting the second device to perform model training, and the second moment is the moment when the second device can start training the second model.

[0428] The reasons for not supporting model training include, but are not limited to, one or more of the following: not supporting certain second model structures, not supporting the dimensionality of the second model input data, or insufficient model training resources (e.g., too many devices requesting model training at the same time).

[0429] It should be noted that, when the second model structure indicated in the fifth information is determined by the first device based on the model structure supported by the second device (seventh information), since the second model structure is a model structure supported by the second device, the reason indicated in the eighth information for not supporting model training does not include not supporting the second model structure. Similarly, when the dimension of the first model output data or the dimension of the second model input data indicated in the fifth information is determined by the first device based on the dimension of the input data supported by the second device (seventh information), since the dimension of the second model input data is the dimension of the input data supported by the second device, the reason indicated in the eighth information for not supporting model training does not include not supporting the dimension of the second model input data.

[0430] The first moment can be a future moment. Since the second device does not support model training when it receives the fifth information from the first device, the second device can indicate to the first device through the eighth information that model training can begin at a first moment later than the moment the second device receives the fifth information. In this way, the first device can send the fifth information to the second device again at the first moment to request the second device to perform model training again.

[0431] The second duration is the duration during which the second device does not support model training. For example, the second duration could be 30 minutes, 1 hour, or 3 hours.

[0432] In order for the first device to determine when the second device can perform model training, if the eighth information is used to indicate the second duration, the eighth information can also be used to indicate the start time when the second device does not support model training. Then the first device can determine that from the start time, the second device does not support model training within the second duration.

[0433] Alternatively, the second duration can be replaced with a period of time during which the second device does not support model training. For example, the eighth message could indicate the start and end times when the second device does not support model training. In this case, the first device can determine that from the start time to the end time, the second device does not support model training. Thus, the first device can send the fifth message to the second device again after the end time to request model training from the second device once more.

[0434] It should be noted that when the eighth information is used to indicate the first time point, the eighth information may not indicate the second duration; or, when the eighth information is used to indicate the second duration, the eighth information may not indicate the first time point. That is, the first device can determine the time when it can request the second device to perform model training again based on the first time point or the second duration, so the second device can indicate one of the first time point or the second duration to the first device.

[0435] The second moment can be a future moment. Since the second device does not support model training when it receives the fifth information from the first device, it can indicate to the first device via the eighth information that the second model training can begin at a second moment, which is later than the moment the second device receives the fifth information. In this way, the first device can determine when to start training the second model at the second moment.

[0436] When the eighth information is used to indicate the second time point, it can be understood that the eighth information is also used to indicate that the second device has successfully received the fifth information (request to train the model) from the first device, and to indicate that the second device is waiting to train the second model, and that the second device can start training the second model after the second time point.

[0437] Since the eighth message indicates that the second device is waiting to train the second model when it is used to indicate the second time point, and the second device can start training the second model at the second time point, the first device does not need to request the second device to train the model again in this case. Therefore, the eighth message may not indicate the first time point and the second duration.

[0438] Therefore, the eighth information can be used to indicate any of the following: the reason why the second device does not support model training and / or the first moment; the reason why the second device does not support model training and / or the second duration; or, the reason why the second device does not support model training and / or the second moment.

[0439] In another scenario, if the second device supports model training, it can also send an eighth message to the first device after the second model training is complete. This eighth message can also be understood as an indication that the second model training is complete.

[0440] In this way, the first device can determine that the second device has completed training the second model, thereby enabling the second device and the first device to communicate based on the trained first model and the trained second model.

[0441] It is understood that the communication methods provided in the embodiments of this application, such as method 400 and method 600, can be applied to communication system 200. One of the first and second devices performing method 400 or method 600 can be understood as a network device. This network device is also known as an access network device. The access network device can adopt an O-RAN architecture, and an access network device adopting an O-RAN architecture can also be called an O-RAN device.

[0442] In the case that the network device 210 in the communication system 200 is an O-RAN device, the system to which this application embodiment applies also includes a communication system 700. As shown in FIG7, the communication system 700 may include at least one open distributed unit (O-DU), such as the open distributed unit 710 shown in FIG7; it may also include at least one open radio unit (O-RU), such as the open radio unit 720 shown in FIG7; the communication system 700 may also include at least one terminal device, such as the terminal device 730 shown in FIG7. The open distributed unit 710 and the open radio unit 720 can be understood, for example, as the network device 210 in the communication system 200; the terminal device 730 can be understood, for example, as the terminal device 220 in the communication system 200.

[0443] The open processing unit 710 has baseband processing capabilities and complete protocol layer functions, primarily responsible for higher-level protocol functions such as data encryption and integrity protection. It also has physical layer high-level processing capabilities.

[0444] The open wireless unit 720 has physical layer signal processing capabilities and is mainly responsible for transmitting and receiving radio frequency signals.

[0445] The open processing unit 710 can transmit information to the open wireless unit 720 through the fronthaul interface; the open wireless unit 720 can transmit information to the open processing unit 710 through the fronthaul interface.

[0446] The open wireless unit 720 and the terminal device 730 can communicate via a wireless link. In one possible scenario, the open wireless unit 720 can act as a transmitter and the terminal device 730 can act as a receiver, with the open wireless unit 720 sending signals to the terminal device 730; in another possible scenario, the open wireless unit 720 can act as a receiver and the terminal device 730 can act as a transmitter, with the terminal device 730 sending signals to the open wireless unit 720.

[0447] When the communication method provided in this application embodiment is applied to the communication system 700, the implementation of the communication method can be as shown in FIG8 or FIG9, for example.

[0448] First, taking the application of communication method 400 in communication system 700 and the second device as an example, the method of applying the communication method provided in this application to an O-RAN device will be explained.

[0449] Figure 8 is a flowchart illustrating a communication method 800 provided in an embodiment of this application. As shown in Figure 8, method 800 includes the following steps:

[0450] S801. The terminal device sends third information to the O-DU via the O-RU. The third information indicates the model structure supported by the terminal device and / or the dimension of the output data. Specifically, a portion of the first model structure is determined by the O-DU based on the third information, and / or the dimension of the first model output data or the dimension of the second model input data is determined by the O-DU based on the third information. Correspondingly, the O-DU receives the third information from the terminal device.

[0451] In this context, the terminal device can be understood as the first device in method 400. Furthermore, the understanding of the third information, the first model, the second model, the first model structure, and the second model structure can be found in the description of method 400.

[0452] The O-RU to O-DU can be understood as the second device in method 400. That is, the O-RU is used to perform the steps of interaction between the second device and the first device. For example, the second device sending information to the first device can be understood as the O-RU sending information to the terminal device, and the first device sending information to the second device can be understood as the terminal device sending information to the O-RU.

[0453] The O-DU is used to perform the information processing steps of the second device. For example, the O-RU can send the third information received from the terminal device to the O-DU through the fronthaul interface, so that the O-DU can determine part of the first model structure based on the third information, or determine the dimension of the first model output data or the dimension of the second model input data based on the third information.

[0454] S802, O-DU determines the structure of the second model, and / or, the O-DU device trains the second model.

[0455] It should be understood that the implementation of S802 is similar to that of S401, that is, the step of the second device performing information processing is executed by O-DU. The implementation of S802 can be referred to the description above, and will not be repeated here.

[0456] S803 and O-DU send first information to the terminal device via O-RU. The first information indicates a portion of the first model structure used by the terminal device for training the first model, including the output layer model structure; or, the first information indicates the dimension of the first model output data or the dimension of the second model input data. Correspondingly, the terminal device receives the first information from the O-DU.

[0457] It should be understood that the implementation of S803 is similar to that of S402. That is, after the O-DU determines the first information, it can be sent to the terminal device through the O-RU. The implementation of S803 can be referred to the description above, and will not be repeated here.

[0458] S804. The terminal device determines the first model structure based on the first information.

[0459] S805, the terminal device trains the first model based on the first model structure.

[0460] The implementation methods of S804 and S805 are similar to those of S403 and S404, and can be referred to the description above, so they will not be repeated here.

[0461] It should be understood that the implementation of method 800 is similar to that of method 400, except that the information processing step of the second device in method 400 can be understood as being performed by the O-DU, for example, the second model is trained by the O-DU. In method 400, the second device sending information to the first device can be understood as the O-DU determining the information and sending it to the O-RU via the fronthaul interface, and the O-RU then sending the information to the terminal device. For example, the second device sending second information to the first device in method 400 can be understood as the O-DU determining the second information and sending it to the O-RU via the fronthaul interface, and the O-RU then sending the second information to the terminal device; similarly, the second device sending first information to the first device in method 400 can be understood as the O-DU determining the first information and sending it to the O-RU via the fronthaul interface, and the O-RU then sending the first information to the terminal device. The specific implementation of method 800 can be found in the description of method 400, and will not be repeated here.

[0462] Furthermore, in method 400, sending information from the first device to the second device can also be understood as the terminal device sending the information to the O-RU, and then the O-RU sending the information to the O-DU through the fronthaul interface, so that the O-DU can process the information. For example, in method 400, sending third information from the first device to the second device can also be understood as the terminal device sending third information to the O-RU, and then the O-RU sending the third information to the O-DU through the fronthaul interface, so that the O-DU can determine the first information based on the third information.

[0463] It should be noted that, for the fourth information, the terminal device can send the fourth information to the O-RU; correspondingly, the O-RU can receive the fourth information from the terminal device. Since the fourth information is a response to the first information, after receiving the fourth information from the terminal device, the O-RU can process the fourth information itself, or the O-RU can send the fourth information to the O-DU so that the O-DU can process the fourth information.

[0464] Next, taking the application of communication method 600 in communication system 700 and the second device as an example, the method of applying the communication method provided in this application to an O-RAN device will be described.

[0465] Figure 9 is a flowchart illustrating a communication method 900 provided in an embodiment of this application. As shown in Figure 9, method 900 includes the following steps:

[0466] S901, the O-DU transmits seventh information through the O-RU terminal device. This seventh information indicates the model structure supported by the O-DU and / or the dimensions of the input data. Specifically, a portion of the second model structure is determined by the terminal device based on the seventh information, and / or the dimensions of the first model output data or the dimensions of the second model input data are determined by the terminal device based on the seventh information. Correspondingly, the terminal device receives the seventh information from the O-DU.

[0467] In this context, the terminal device can be understood as the first device in method 600. Furthermore, the understanding of the seventh information, the first model, the second model, the first model structure, and the second model structure can be found in the description within method 600.

[0468] The O-RU to O-DU can be understood as the second device in method 600. That is, the O-RU is used to perform the steps of interaction between the second device and the first device. For example, the second device sending information to the first device can be understood as the O-RU sending information to the terminal device, and the first device sending information to the second device can be understood as the terminal device sending information to the O-RU. The O-DU is used to perform the steps of information processing by the second device.

[0469] S902, The terminal device determines the structure of the first model, and / or the terminal device trains the first model.

[0470] It should be understood that the implementation of S902 is similar to that of S601, that is, the step of the second device performing information processing is executed by O-DU. The implementation of S902 can be referred to the description above, and will not be repeated here.

[0471] S903. The terminal device sends fifth information to the O-DU via the O-RU. The fifth information indicates a portion of the second model structure used by the O-DU for training the second model, including the model structure of the input layer; or, the fifth information indicates the dimension of the first model's output data or the dimension of the second model's input data. Correspondingly, the O-DU receives the fifth information from the terminal device.

[0472] It should be understood that the implementation of S903 is similar to that of S602, that is, the O-DU performs the step of training the second model. Therefore, the O-RU sends the fifth information to the O-DU. The implementation of S903 can be referred to the description above, and will not be repeated here.

[0473] S904 and O-DU determine the second model structure based on the fifth information.

[0474] S905 and O-DU are based on the second model structure and train the second model.

[0475] The implementation methods of S904 and S905 are similar to those of S603 and S604, and can be referred to the description above, so they will not be repeated here.

[0476] It should be understood that the implementation of method 900 is similar to that of method 600, except that the information processing steps of the second device in method 600 can all be understood as being performed by the O-DU. The sending of information from the second device to the first device in method 600 can be understood as the O-DU sending the information to the O-RU via the fronthaul interface, and the O-RU then sending the information to the terminal device. That is, the step of determining the information to be sent to the terminal device can be performed by the O-DU, and then sent to the terminal device via the O-RU. For example, the sending of the seventh information from the second device to the first device in method 600 can be understood as the O-DU determining the seventh information and sending the seventh information to the O-RU via the fronthaul interface, and the O-RU sending the seventh information to the terminal device. In method 600, the sending of information from the first device to the second device can be understood as the terminal device sending the information to the O-RU; the O-RU then sending the information to the O-DU via the fronthaul interface so that the O-DU can process the information. For example, in method 600, the first device sending the fifth information to the second device can be understood as the terminal device sending the fifth information to the O-RU, and the O-RU then sending the fifth information to the O-DU through the fronthaul interface. The specific implementation of method 900 can be found in the description of method 600, and will not be repeated here.

[0477] It should also be understood that the steps of the various embodiments described above can be coupled to each other, and this application does not limit this. Furthermore, the sequence number of each process does not imply the order of execution; the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0478] It should be noted that the order of the methods listed above does not imply the order of execution. The execution order of each process should be determined by its function and internal logic.

[0479] The communication method of the embodiments of this application has been described in detail above with reference to Figures 4 to 9. The communication device of the embodiments of this application will be described in detail below with reference to Figures 10 and 11. The communication device includes modules or units for executing the corresponding parts of each of the above embodiments. The modules or units can be software, hardware, or a combination of software and hardware. The following is only a brief illustrative description of the communication device; for details of the implementation, please refer to the description of the foregoing method embodiments, which will not be repeated below.

[0480] Figure 10 is a schematic block diagram of a communication device 1000 provided in an embodiment of this application. As shown in Figure 10, the communication device 1000 includes a transceiver module 1001 and a processing module 1002.

[0481] In one possible implementation, the communication device 1000 is used to implement the steps corresponding to the first device (or terminal device) in the above-described methods 400, 600, 800 or 900.

[0482] The transceiver module 1001 is used to receive first information from the second device; wherein the first information is used to indicate a portion of the first model structure used by the device 1000 to train the first model, the portion of the first model structure including the model structure of the output layer; or, the first information is used to indicate the dimension of the output data of the first model or the dimension of the input data of the second model; the processing module 1002 is used to determine the first model structure based on the first information.

[0483] Optionally, part of the first model structure is the model structure of the last n network layers in the first model, where n is a positive integer.

[0484] Optionally, the model structure of the last n network layers includes: the type of each network layer in the last n network layers and / or the number of neurons included in each network layer in the last n network layers.

[0485] Optionally, the transceiver module 1001 is further configured to receive second information from the second device; wherein the second information is used to indicate all or part of the model structure of the second model, and the all or part of the model structure of the second model is used to train the first model; or, the second information is used to indicate all or part of the model structure of the second model and the model parameters of the second model, and the all or part of the model structure of the second model and the model parameters of the second model are used to train the first model.

[0486] Optionally, the transceiver module 1001 is also configured to receive information from the second device for instructing the device 1000 to perform model training independently.

[0487] Optionally, the transceiver module 1001 is further configured to send third information to the second device, the third information being used to indicate the model structure and / or the dimension of the output data supported by the device 1000; wherein, a portion of the first model structure is determined by the second device based on the third information, and / or, the dimension of the first model output data or the dimension of the second model input data is determined by the second device based on the third information.

[0488] Optionally, the transceiver module 1001 is further configured to send a fourth message to the second device, the fourth message indicating that the device 1000 supports model training, or the fourth message indicating that the device 1000 does not support model training.

[0489] Optionally, the fourth information is used to indicate that the device 1000 does not support model training. The fourth information is also used to indicate the reason why the device 1000 does not support model training and / or the first duration, where the first duration is the duration during which the device 1000 does not support model training.

[0490] Optionally, the processing module 1002 is also used to train the first model based on the first model structure.

[0491] Optionally, the first model is a model used for encoding, and the second model is a model used for decoding.

[0492] In one possible implementation, the communication device 1000 is used to implement the steps corresponding to the second device (or network device) in the above-described methods 400, 600, 800 or 900.

[0493] It is understandable that for methods 800 and 900, the transceiver module 1001 can also be understood as an O-RU, and the processing module 1002 can also be understood as an O-DU.

[0494] The processing module 1002 is used to determine first information; wherein the first information is used to indicate a portion of the first model structure used by the first device to train the first model, the portion of the first model structure including the model structure of the output layer; or, the first information is used to indicate the dimension of the output data of the first model or the dimension of the input data of the second model; the transceiver module 1001 is used to send the first information to the first device.

[0495] Optionally, part of the first model structure is the model structure of the last n network layers in the first model, where n is a positive integer.

[0496] Optionally, the model structure of the last n network layers includes: the type of each network layer in the last n network layers and / or the number of neurons included in each network layer in the last n network layers.

[0497] Optionally, the transceiver module 1001 is further configured to send second information to the first device; wherein the second information is used to indicate all or part of the model structure of the second model, and the all or part of the model structure of the second model is used to train the first model; or, the second information is used to indicate all or part of the model structure of the second model and the model parameters of the second model, and the all or part of the model structure of the second model and the model parameters of the second model are used to train the first model.

[0498] Optionally, the transceiver module 1001 is further configured to send information to the first device instructing the first device to perform model training independently.

[0499] Optionally, the transceiver module 1001 is further configured to receive third information from the first device, the third information being used to indicate the model structure supported by the first device and / or the dimension of the output data; wherein, a portion of the first model structure is determined by the device 1000 based on the third information, and / or, the dimension of the first model output data or the dimension of the second model input data is determined by the device 1000 based on the third information.

[0500] Optionally, the transceiver module 1001 is further configured to receive fourth information from the first device, the fourth information being used to indicate that the first device supports model training, or the fourth information being used to indicate that the first device does not support model training.

[0501] Optionally, the fourth information is used to indicate that the first device does not support model training, and the fourth information is also used to indicate the reason why the first device does not support model training and / or the first duration, where the first duration is the duration during which the first device does not support model training.

[0502] Optionally, the first model is a model used for encoding, and the second model is a model used for decoding.

[0503] It should be understood that the communication device 1000 here is embodied in the form of a functional module. The term "module" here can refer to application-specific integrated circuits (ASICs), electronic circuits, processors (e.g., shared processors, proprietary processors, or group processors, etc.) and memories for executing one or more software or firmware programs, integrated logic circuits, and / or other suitable components supporting the described functions. In an alternative example, those skilled in the art will understand that the communication device 1000 can specifically be the terminal device or network device in the above embodiments. The communication device 1000 can be used to execute the various processes and / or steps corresponding to the first or second device in the above method embodiments; to avoid repetition, these will not be described again here.

[0504] The aforementioned communication device 1000 has the function of implementing the corresponding steps performed by the first or second device in the above method; the above functions can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions. In an embodiment of this application, the communication device 1000 in FIG10 can also be a chip, such as a System-on-a-Chip (SoC).

[0505] Figure 11 shows a schematic diagram of the structure of a communication device 1100 provided in an embodiment of this application. The communication device 1100 includes a processor 1101, a transceiver 1102, and a memory 1103. The processor 1101, transceiver 1102, and memory 1103 communicate with each other via internal interconnection paths. The memory 1103 stores instructions, such as computer-defined code. The processor 1101 executes the instructions stored in the memory 1103 to control the transceiver 1102 to send and / or receive signals.

[0506] It should be understood that the communication device 1100 may specifically be the first device or the second device in the above embodiments, and may be used to execute the various steps and / or processes corresponding to the first device or the second device in the above method embodiments. Optionally, the memory 1103 may include a read-only memory and a random access memory, and provide instructions and data to the processor. A portion of the memory may also include non-volatile random access memory. For example, the memory may also store device type information. The processor 1101 may be used to execute instructions stored in the memory, and when the processor 1101 executes instructions stored in the memory, the processor 1101 is used to execute the various steps and / or processes of the above method embodiments. The transceiver 1102 may include a transmitter 11021, a receiver 11022, and an antenna 11023. The transmitter 11021 may be used to implement the various steps and / or processes corresponding to the transceiver for performing the transmission action. For example, the transmitter 11021 may be used to transmit information to another device through the antenna 11023. Receiver 11022 can be used to implement the various steps and / or processes corresponding to the transceiver described above for performing the receiving action. For example, receiver 11022 can be used to receive information from another device via antenna 11023.

[0507] It should be understood that, in the embodiments of this application, the processor may be a central processing unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.

[0508] In implementation, each step of the above method can be completed by integrated logic circuits in the processor's hardware or by instructions in software. The steps of the method disclosed in the embodiments of this application can be directly manifested as execution by a hardware processor, or as a combination of hardware and software modules within the processor. The software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory, and the processor executes the instructions in the memory, combining them with its hardware to complete the steps of the above method. To avoid repetition, detailed descriptions are omitted here.

[0509] Figure 12 is a diagram showing the network element function division and protocol layer structure of an O-RAN device according to an embodiment of this application.

[0510] In some examples, the CU is a logical node that carries the Radio Resource Control (RRC) layer, Service Data Adaptation Protocol (SDAP) layer, Packet Data Convergence Protocol (PDCP) layer, and other control functions of the access network equipment. The CU connects to network nodes such as core network equipment through interfaces, which may be E2 interfaces, etc. Optionally, the CU may possess some of the functions of the core network equipment. The CU (e.g., PDCP layer and higher layers) connects to the DU (e.g., RLC layer and lower layers) through interfaces, which may be F1 interfaces, etc. In some examples, these interfaces (e.g., F1 interfaces) can provide control plane (C-Plane) and user plane (U-Plane) functions, such as interface management, system information management, UE context management, and RRC message transmission. F1AP is the application protocol of the F1 interface, defining the F1 signaling procedures in some examples. The F1 interface supports control plane F1-C and user plane F1-U.

[0511] In some examples, the CU can be split into CU-CP (control unit-control plane) and CU-UP (control unit-user plane). CU-CP is a logical node carrying the RRC layer and PDCP-C (control plane part of PDCP) layer, used to implement the CU's control plane functions. CU-CP can interact with network elements in the core network used to implement control plane functions. These network elements in the core network can be access and mobility function (AMF) network elements, such as the access and mobility management function (AMF) in a 5G system. AMF network elements are responsible for mobility management in the mobile network, such as terminal device location updates, terminal device registration with the network, and terminal device handover. CU-UP is a logical node carrying the SDAP layer and PDCP-U (user plane part of PDCP) layer, used to implement the CU's user plane functions. CU-UP can interact with network elements in the core network used to implement user plane functions. These network elements in the core network, such as the UPF (user plane function) in a 5G system, are responsible for data forwarding and receiving in terminal devices. The above CU and DU configurations are merely examples; the functions of the CU and DU can be configured as needed. For instance, the CU or DU can be configured to have more protocol layer functions, or only some protocol layer processing functions. For example, some RLC layer functions and protocol layer functions above the RLC layer can be placed in the CU, while the remaining RLC layer functions and protocol layer functions below the RLC layer can be placed in the DU. Furthermore, the functions of the CU or DU can be divided according to service type or other system requirements, such as by latency. Functions that require low latency can be placed in the DU, while functions that do not require low latency can be placed in the CU.

[0512] In some examples, a DU is a logical node that carries the radio link control (RLC) layer, medium access control (MAC) layer, higher physical layer (PHY) layer, and other functions. In some examples, a DU can control at least one RU. The DU connects to the RU through interfaces, which may be fronthaul interfaces. In some examples, the higher PHY layer includes the PHY layer processing, such as forward error correction (FEC) encoding and decoding, scrambling, modulation, and demodulation.

[0513] In some examples, the RU is a logical node carrying both lower physical layer (PHY) and radio frequency (RF) processing, also known as RF chain. In some examples, the RU can be a 3GPP transmission reception point (TRP), a remote radio head (RRH), or other similar entities. In some examples, the low-PHY includes PHY processing functions such as fast Fourier transform (FFT), inverse fast Fourier transform (IFFT), digital beamforming, and filtering. The RU communicates with one or more UEs via a radio link.

[0514] The DU and RU can be co-located or not. The DU and RU exchange control plane and user plane information via a lower-layer split-control, user, and synchronization (LLS-CUS) interface through a fronthaul link. LLS-CUS may include LLS-C and LLS-U interfaces, respectively providing the control plane (C-plane) and user plane (U-plane). In some examples, the control plane (C-plane) refers to real-time control between the DU and RU. The DU and RU exchange management information via an LLS-M interface on the fronthaul link; the management plane (M-plane) refers to non-real-time management operations between the DU and RU.

[0515] DU and RU can cooperate to implement the functions of the PHY layer. A DU can be connected to one or more RUs. The functions of DU and RU can be configured in various ways depending on the design. For example, a DU can be configured to implement baseband functions, and an RU can be configured to implement mid-RF functions. Another example is that a DU can be configured to implement higher-level functions in the PHY layer, and an RU can be configured to implement lower-level functions in the PHY layer, or to implement both lower-level and RF functions. Higher-level functions in the physical layer can include a portion of the physical layer's functions that are closer to the MAC layer, while lower-level functions in the physical layer can include another portion of the physical layer's functions that are closer to the mid-RF side.

[0516] In different systems, CU (or CU-CP and CU-UP), DU, or RU may have different names, but those skilled in the art will understand their meaning. For example, in an ORAN system, CU can also be called O-CU (open CU), DU can also be called O-DU, CU-CP can also be called O-CU-CP, CU-UP can also be called O-CU-UP, and RU can also be called O-RU. For ease of description, this application uses CU, CU-CP, CU-UP, DU, and RU as examples.

[0517] This application also provides a computer-readable storage medium for storing a computer program for implementing the methods shown in the above-described method embodiments.

[0518] This application also provides a computer program product, which includes a computer program (also referred to as code or instructions) that, when run on a computer, allows the computer to perform the methods shown in the above-described method embodiments.

[0519] Those skilled in the art will recognize that the modules and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0520] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and modules described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0521] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or modules may be electrical, mechanical, or other forms.

[0522] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0523] In addition, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module.

[0524] If the aforementioned functions are implemented as software functional modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0525] The above description is merely a specific embodiment of this application, but the protection scope of the embodiments of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the embodiments of this application should be included within the protection scope of the embodiments of this application. Therefore, the protection scope of the embodiments of this application should be determined by the protection scope of the claims.

Claims

1. A communication method characterized by comprising: The method comprises: receiving first information from a second device; wherein the first information is used to indicate a partial first model structure of a first device for training a first model, the partial first model structure comprising a model structure of an output layer; or, the first information is used to indicate a dimension of first model output data or a dimension of second model input data; determining a first model structure based on the first information.

2. The method of claim 1, wherein, The partial first model structure is a model structure of a last n-layer network layer in the first model, n being a positive integer.

3. The method of claim 2, wherein, The model structure of the last n-layer network layer comprises: a type of each network layer in the last n-layer network layer and / or a number of neurons included in each network layer in the last n-layer network layer.

4. The method according to any one of claims 1 to 3, characterized in that, The method further comprises: receiving second information from the second device; wherein the second information is used to indicate all or part of a model structure of the second model, the all or part of the model structure of the second model being used to train the first model; or, the second information is used to indicate all or part of a model structure of the second model and a model parameter of the second model, the all or part of the model structure of the second model and the model parameter of the second model being used to train the first model.

5. The method according to any one of claims 1 to 4, characterized in that, The method further comprises: receiving information from the second device indicating that the first device alone performs model training.

6. The method according to any one of claims 1 to 5, characterized in that, The method further comprises: sending third information to the second device, the third information being used to indicate a model structure and / or a dimension of output data supported by the first device; wherein the partial first model structure is determined by the second device based on the third information, and / or the dimension of the first model output data or the dimension of the second model input data is determined by the second device based on the third information.

7. The method according to any one of claims 1 to 6, characterized in that, The method further comprises: sending fourth information to the second device, the fourth information being used to indicate that the first device supports model training, or the fourth information being used to indicate that the first device does not support model training.

8. The method of claim 7, wherein, The fourth information is used to indicate that the first device does not support model training, and the fourth information is further used to indicate a reason and / or a first duration for which the first device does not support model training.

9. The method according to any one of claims 1 to 8, characterized in that, The method further comprises: training the first model based on the first model structure.

10. The method according to any one of claims 1 to 9, characterized in that, The first model is a model for encoding, and the second model is a model for decoding.

11. A communication method, comprising: The method comprises: determining first information; wherein the first information is used to indicate a partial first model structure of a first device for training a first model, the partial first model structure comprising a model structure of an output layer; or, the first information is used to indicate a dimension of first model output data or a dimension of second model input data; sending the first information to a first device.

12. The method of claim 11, wherein, The partial first model structure is a model structure of a last n-layer network layer in the first model, n being a positive integer.

13. The method of claim 12, wherein, The model structure of the last n network layers comprises: a type of each network layer in the last n network layers and / or a number of neurons included in each network layer in the last n network layers.

14. The method according to any one of claims 11 to 13, characterized in that, The method further comprises: sending second information to the first device; wherein the second information is used to indicate all or part of the model structure of the second model, and the all or part of the model structure of the second model is used to train the first model; or the second information is used to indicate all or part of the model structure of the second model and model parameters of the second model, and the all or part of the model structure of the second model and the model parameters of the second model are used to train the first model.

15. The method of claim 14, wherein, The method further comprises: sending information to the first device, the information being used to indicate that the first device performs model training alone.

16. The method according to any one of claims 11 to 15, characterized in that, The method further comprises: receiving third information from the first device, the third information being used to indicate a model structure supported by the first device and / or a dimension of output data; wherein the part of the first model structure is determined by the second device based on the third information, and / or the dimension of the first model output data or the dimension of the second model input data is determined by the second device based on the third information.

17. The method according to any one of claims 11 to 16, characterized in that, The method further comprises: receiving fourth information from the first device, the fourth information being used to indicate that the first device supports model training, or the fourth information being used to indicate that the first device does not support model training.

18. The method of claim 17, wherein, When the fourth information is used to indicate that the first device does not support model training, the fourth information is further used to indicate a reason and / or a first duration that the first device does not support model training, the first duration being a duration that the first device does not support model training.

19. The method according to any one of claims 11 to 18, characterized in that, The first model is a model for encoding, and the second model is a model for decoding.

20. A communications device, characterized by comprise: a processor coupled to the memory, the memory storing computer-executable instructions, and the processor executing the computer-executable instructions stored in the memory, so that the processor executes the method according to any one of claims 1 to 10, or executes the method according to any one of claims 11 to 19.

21. A computer-readable storage medium, characterized in that, a computer program for storing instructions for implementing the method according to any one of claims 1 to 10, or instructions for executing the method according to any one of claims 11 to 19.

22. A computer program product comprising computer program code in said computer program product, characterised in that, computer program code which, when run on a computer, causes the computer to implement the method according to any one of claims 1 to 10, or to execute the method according to any one of claims 11 to 19.

Citation Information

Patent Citations

  • Communication method and device

    CN115802370A

  • Communication method and communication device

    CN116233857A

  • AI network model determination method, information transmission method, device and communication equipment

    CN118233329A

  • Device and method for providing benchmark result of artificial intelligence based model

    KR102587263B1

  • Training method, model usage method, and wireless communication method and apparatus

    WO2024021075A1