Data processing method, model training method, and related device

By adjusting the number of calls of the first machine learning model module, sub-data of various data volumes are generated, which solves the problems of waste of storage space and poor adaptability to changes in data volume in the existing technology, and achieves improvements in flexibility and efficiency.

WO2024197810A1PCT designated stage expired Publication Date: 2024-10-03HUAWEI TECH CO LTD

Patent Information

Application Number
PCT/CN2023/085467
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

In the existing technology, the number of output channels of the machine learning model is fixed, which leads to the need to replace the model when the amount of data changes, resulting in a waste of storage space, and it is difficult to be compatible with multiple data amount values.

Method used

By designing a data processing method and using the adjustment of the number of module calls in the first machine learning model to generate sub-data of various data volumes, the need to store multiple models is reduced.

Benefits of technology

It achieves the ability to be compatible with multiple data volume values, reduces storage space overhead, and improves the flexibility and efficiency of data processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023085467_03102024_PF_FP_ABST
    Figure CN2023085467_03102024_PF_FP_ABST
Patent Text Reader

Abstract

A data processing method, a model training method and a related device, which can apply artificial intelligence technology to the field of communications. The method comprises: acquiring a value of T, T representing the number of sub-data included in output data of a first machine learning model; inputting first data into the first machine learning model to obtain second data generated by the first machine learning model, the second data comprising T pieces of sub-data, the first machine learning model comprising one or more modules, and each piece of the sub-data being obtained by calling the module in the first machine learning model for at least one time; and according to the value of T, flexibly adjusting the number of times of calling the module in the first machine learning model so as to generate T pieces of sub-data. Therefore, the first machine learning model can be compatible with various values of T, such that storing a plurality of machine learning models is not needed, thereby reducing the overhead of storage space.
Need to check novelty before this filing date? Find Prior Art

Description

A data processing method, model training method and related equipment Technical Field

[0001] The present application relates to the field of communications, and in particular to a data processing method, a model training method, and related equipment. Background Art

[0002] Artificial Intelligence (AI) is the theory, methods, technologies, and application systems that use digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use that knowledge to achieve optimal results. AI also encompasses the study of the design principles and implementation methods of various intelligent machines, enabling them to perceive, reason, and make decisions.

[0003] Applying AI technology to wireless communications is one application of AI, for example, using machine learning models to perform modulation, coding, or other tasks. For example, data to be processed can be input into a machine learning model to generate processed data output by the model. This processed data includes T sub-data, where T is an integer greater than or equal to 1.

[0004] However, the value of T can be flexibly determined according to actual conditions. In related technologies, the number of output channels of each machine learning model is fixed, which means that the machine learning model can only output a fixed number of sub-data. When T changes, another machine learning model needs to be used for processing, and multiple machine learning models need to be stored, resulting in a large storage space overhead. Therefore, a machine learning model that can be compatible with multiple values ​​of T is urgently needed.

[0005] Summary of the Invention

[0006] The embodiments of the present application provide a data processing method, a model training method, and related equipment. Each time a module in a first machine learning model is called at least once, a sub-data can be obtained. The number of calls of the module in the first machine learning model can be flexibly adjusted according to the value of T to generate T sub-data. In this way, the first machine learning model can be compatible with multiple values ​​of T, and there is no need to store multiple machine learning models, thereby reducing the storage space overhead.

[0007] The first aspect of the present application provides a data processing method that can apply artificial intelligence technology to the field of communications. The method is applied to the first device side. The first device can be a device or a component that can be configured in the device (such as a chip, a chip system, etc.). The method includes: the first device obtains the value of T, T represents the number of sub-data included in the output data of the first machine learning model, and T is an integer greater than or equal to 1; the first device inputs the first data into the first machine learning model to obtain the second data generated by the first machine learning model, and the second data includes T sub-data. Wherein, the first machine learning model includes one or more modules, and each time a module in the first machine learning model is called at least once, a sub-data is obtained; illustratively, each time a module in the first machine learning model is called, one module in the first machine learning model can be called, or multiple modules can be called. In this implementation, since a sub-data can be obtained each time a module in the first machine learning model is called at least once, after obtaining the value of T, the number of calls to the module in the first machine learning model can be flexibly adjusted according to the value of T to generate T sub-data, so that the first machine learning model can be compatible with multiple values ​​of T, and there is no need to store multiple machine learning models, reducing the storage space overhead.

[0008] In one possible implementation, the function of the first machine learning model includes any one or more of the following combinations: encoding, modulation, and generating a reference signal. For example, if the function of the first machine learning model is encoding, the first data is the data that needs to be encoded, and the second data is the encoded data. For another example, if the function of the first machine learning model is modulation, the first data is the data that needs to be modulated, and the second data is the modulated data. For another example, if the function of the first machine learning model is to generate a reference signal, the first data may be the index number of multiple reference signals, and the second data may be a reference signal. For another example, if the function of the first machine learning model is encoding and modulation, the first data is the data that needs to be encoded and modulated, and the second data is the encoded and modulated data, etc.

[0009] In this implementation, multiple functions of the first machine learning model are provided, which expands the application scenarios of this solution and improves the implementation flexibility of this solution.

[0010] In one possible implementation, the multiple modules in the first machine learning model include a first module and at least one second module, and the first device inputs the first data into the first machine learning model to obtain the second data output by the first machine learning model, including: the first device inputs the first data into the first module to obtain the first sub-data generated by the first module, and the first sub-data is one of T sub-data; the first feature information of the first data is input into the second module to obtain the second sub-data generated by the second module, and the second sub-data is one of T sub-data. The first feature information includes the feature information generated when the module in the first machine learning model was last called to process data; illustratively, the first feature information can be the feature information generated when the first module in the first machine learning model was last called to process data, or it can be the feature information generated when the second module in the first machine learning model was last called to process data.

[0011] In this implementation, the first machine learning model includes a first module and at least one second module. The input of the first module of the first machine learning model is the entire first data, and the input of the second module is the feature information obtained when the module of the first machine learning model was called last time. The input when the second module is called for the first time is the feature information obtained when the entire first data is processed by the first module. Therefore, each time the feature information input into the second module refers to the entire first data, that is, when generating each sub-data in the T sub-data, the information of the entire first data is referred to, which is conducive to obtaining second data with better performance; and each time the second module is called once, one second sub-data among the T sub-data can be obtained, which is conducive to quickly obtaining the T sub-data included in the second data.

[0012] In one possible implementation, the multiple modules in the first machine learning model include a first module and at least one third module, and the first device inputs the first data into the first machine learning model to obtain the second data output by the first machine learning model, including: the first device inputs the first data into the first module, generates first sub-data through the first module, the first sub-data is one of T sub-data, and the process of generating the first sub-data through the first module includes feature extraction of the first data, that is, the feature information of the first data can be obtained in the process of generating the first sub-data through the first module; the first device calls the third module multiple times to obtain third sub-data generated by the third module, the third sub-data is one of T sub-data, wherein the input of the third module includes the feature information of the first data, and the feature information of the first data is updated multiple times in the process of calling the third module multiple times. Exemplarily, when the first device calls the third module for the first time, the feature information of the first data input to the third module is obtained in the process of generating the first sub-data by the first module; when the first device calls the third module for the second time and thereafter, the feature information of the first data input to the third module is obtained in the process of the previous call to the third module.

[0013] In this implementation, the third module is called multiple times to update the characteristic information of the first data multiple times, and then a third sub-data is generated based on the latest updated characteristic information of the first data. After multiple updates to the first data, it is helpful to have a more thorough understanding of the first data, thereby generating sub-data with better performance.

[0014] In one possible implementation, the first device inputs the first feature information into the second module to obtain second sub-data generated by the second module, including: the first device performs a linear transformation on the first feature information through the second module, and processes it with a first activation function to obtain the transformed feature information; performs a linear transformation on the transformed feature information, and processes it with a second activation function to obtain the second sub-data.

[0015] In this implementation, since the above method is simple and easy to implement, it is not only beneficial to reduce the computer resources consumed in the process of generating the second data; but also the number of parameters used in the second module shown in the above method is relatively small, which is beneficial to reduce the communication resources consumed when transmitting the parameters of the first machine learning model.

[0016] In one possible implementation, at least one second module includes multiple second modules, wherein at least two of the multiple second modules use different parameters; that is, each time the first device calls the second module, it can generate one second sub-data, but different second modules may be called during the process of generating T-1 second data. Exemplarily, "two second modules using different parameters" may include any of the following differences: the same type of parameters are used in the two second modules, but the parameter values ​​used in the two second modules are not exactly the same; or the types of parameters used in the two second modules are not exactly the same, etc.

[0017] In this implementation, multiple second modules can be used in the first machine learning model, and at least two of the multiple second modules use different parameters, that is, T-1 second sub-data are generated by different second modules, which is conducive to the matching between the parameters of the second module and the generated second sub-data, and thus conducive to obtaining second data with better performance.

[0018] In one possible implementation, a first device inputs first data into a first module to obtain first sub-data generated by the first module, which may include: the first device obtains the first sub-data generated by the first module by calling the first module once or multiple times. Optionally, each time the first device calls the first module to process the input data, the first device may perform a linear transformation on the input data through the first module and process it using a third activation function to obtain transformed input data; and perform a linear transformation on the transformed input data and process it using a fourth activation function to obtain a processing result of the first module. The input data of the first module may be the first data or feature information of the first data.

[0019] In one possible implementation, before the first device inputs the first data into the first machine learning model, the method further includes: the first device obtains the data to be processed and a value of H, where H is an integer greater than or equal to 1, and H indicates the length of the first data; if the length of the data to be processed is less than H, the data to be processed is padded to obtain first data, and the length of the first data is H. In this implementation, when the length of the data to be processed is less than H, the data to be processed is padded to obtain first data with a length of H, and then the first data with a length of H is input into the first machine learning model, so that regardless of the length of the data to be processed, the first machine learning model processes the first data with a length of H, which is not only conducive to compatibility with data to be processed of any length, but also helps reduce the difficulty of the first machine learning model in data processing, so as to obtain second data with better performance.

[0020] In one possible implementation, the first data includes data to be processed and padding data, the padding data including first identification information, the first identification information being used to identify a value of T and / or a value of K, where K is the length of the data to be processed and is an integer greater than or equal to 1. In other words, the first identification information can be used to identify a value of T and a value of K, or can be used to identify a value of T or a value of K. Exemplarily, after obtaining the value of T and / or the value of K, the first device can use a first function to process the value of T and / or the value of K to obtain the first identification information. The first function must satisfy conditions including: limiting the value of the first identification information to within a preset range, and being able to map different values ​​of T and / or K to different values. In other words, the value generated by the first function can uniquely identify a particular value of T and / or K, or can distinguish different values ​​of T and / or K.

[0021] In this implementation, the first data carries first identification information for identifying the value of T and / or the value of K. The first machine learning model can process the first data according to the value of T and / or the value of K, that is, according to the length of the output data of the first machine learning model and / or the length of the actual data to be processed, and then the second data output by the first machine learning model is conducive to obtaining second data with better performance.

[0022] In one possible implementation, the size of the parameters in the first machine learning model is related to the value of H and the value of G, where G is the length of each sub-data. In this implementation, the size of the parameters in the first machine learning model is designed based on the length of the first data and the length of each sub-data in the T sub-data. This helps reduce the number of parameters in the first machine learning model while meeting output requirements, and helps further reduce the communication resources consumed by transmitting the parameters of the first machine learning model.

[0023] In one possible implementation, the parameters corresponding to the first machine learning model and / or the identification information of the aforementioned parameters may be carried in signaling to enable the parameters corresponding to the first machine learning model and / or the identification information of the aforementioned parameters to be transmitted between different devices. Optionally, the parameters corresponding to the first machine learning model are carried in one or more of the following information: downlink control information DCI, uplink control information UCI, sidelink control information SCI, radio resource control RRC signaling, or media access control control element MAC CE. And / or, the identification information of the parameters is carried in any one or more of the following information: DCI, UCI, SCI, RRC signaling, MAC CE, physical broadcast channel PBCH, or physical random access channel PRACH.

[0024] In this implementation, compared with transmitting at least one set of parameters of the first machine learning model and / or the identification information of each set of parameters in a data packet, transmitting the identification information of the aforementioned at least one set of parameters and / or each set of parameters in a signaling has higher transmission efficiency and consumes less computer resources; in addition, this solution provides a variety of signaling that can be used to transmit the identification information of the aforementioned at least one set of parameters and / or each set of parameters, thereby improving the implementation flexibility of this solution.

[0025] In one possible implementation, the second device is a receiving end of the second data, and the second device contains multiple sets of parameters corresponding to the first machine learning model and identification information for each set of parameters. The method further includes: the first device sends second identification information to the second device, and the second identification information is used to indicate a set of parameters used by the first machine learning model in the first device. In this implementation, the second device contains multiple sets of parameters of the first machine learning model and identification information for each set of parameters. The first device only needs to send the second identification information to the second device, and the second device can know which set of parameters is used by the first machine learning model in the first device. The communication resources occupied by transmitting the second identification information are relatively small, which is conducive to reducing the consumed communication resources.

[0026] In the second aspect, the present application provides a data processing method that can apply artificial intelligence technology to the field of communications. The method is applied to the second device side. The second device can be a device or a component that can be configured in the device (such as a chip, a chip system, etc.). The method includes: the second device obtains the second data, and then generates the first data based on the second data. The second data includes T sub-data, T is an integer greater than or equal to 1, and the second data is generated by the first machine learning model in the first device. The first machine learning model includes one or more modules, and each module in the first machine learning model is called at least once to obtain a sub-data. Exemplarily, after obtaining the received signal, the second device can denoise the received signal and obtain the received second data (that is, the estimated second data) from the denoised received signal. For example, if the second data is encoded data, that is, the function of the first machine learning model is encoding, then the denoised received signal is demodulated to obtain the received second data; for another example, if the second data is modulated data, that is, the function of the first machine learning model is modulation, or the function of the first machine learning model is encoding and modulation, then the denoised received signal can be directly determined as the second data.

[0027] In one possible implementation, the parameters corresponding to the first machine learning model are carried in one or more of the following information: downlink control information DCI, uplink control information UCI, sidelink control information SCI, radio resource control RRC signaling or media access control control element MAC CE; and / or, the identification information of the parameters is carried in any one or more of the following information: DCI, UCI, SCI, RRC signaling, MAC CE, physical broadcast channel PBCH or physical random access channel PRACH.

[0028] In one possible implementation, a second device contains third data, the third data including multiple sets of parameters corresponding to a first machine learning model and identification information for each set of parameters. The method further includes: the second device receiving second identification information sent by the first device; and determining, based on the second identification information and the third data, a set of parameters used by the first machine learning model in the first device. The second device generates the first data based on the second data, including: the second device may demodulate and / or decode the received second data based on the set of parameters used by the first machine learning model in the first device to generate estimated first data.

[0029] The specific implementation methods, meanings of terms and beneficial effects of the steps in each possible implementation method of the second aspect of this application can be referred to the first aspect and will not be repeated here.

[0030] In a third aspect, the present application provides a model training method that can apply artificial intelligence technology to the field of communications. The method is applied to a training device, which can be a device or a component configurable in the device (such as a chip, chip system, etc.). The method includes: the training device obtains training data from a training data set, wherein the training data is used to obtain first data and the value of T, where T is an integer greater than or equal to 1; illustratively, the training data can include data to be processed and the value of T, and the data to be processed is used to obtain the first data, for example, the data to be processed and the first data are the same, or the first data is obtained after the data to be processed is padded; T is used to indicate the number of sub-data included in the output data of the first machine learning model, and at least two training data in the training data set include different values ​​of T. The training device inputs the first data into the first machine learning model to obtain second data generated by the first machine learning model, the second data including T sub-data, wherein the first machine learning model includes multiple modules, and each module in the first machine learning model is called at least once to obtain a sub-data generated by the module; based on the second data and the loss function, the first machine learning model is trained to obtain the trained first machine learning model.

[0031] In one possible implementation, when the function of the first machine learning model includes encoding and / or modulation, the second data is used to determine the signal to be sent, and the training device trains the first machine learning model based on the second data and the loss function, including: the training device obtains a received signal corresponding to the signal to be sent, demodulates and / or decodes the received signal corresponding to the signal to be sent to obtain estimated data corresponding to the data to be processed; the training device trains the first machine learning model according to the estimated data and the loss function, and the loss function indicates the similarity between the estimated data and the data to be processed.

[0032] Exemplarily, the training device obtaining a received signal corresponding to the signal to be transmitted may include: the training device multiplies the signal to be transmitted by a channel matrix, and adds the multiplication result to noise to obtain the received signal, wherein the aforementioned steps are intended to simulate the process of the signal to be transmitted being transmitted through the channel. Alternatively, if the aforementioned steps are performed by two training devices in cooperation, the training device obtaining a received signal corresponding to the signal to be transmitted may include: the first training device sending the signal to be transmitted to the second training device, and the second training device receiving the received signal.

[0033] In this implementation, a specific implementation method for training the first machine learning model is provided when the functions of the first machine learning model include encoding and / or modulation, which reduces the implementation difficulty of this solution, and the loss function uses the similarity between the estimated data and the data to be processed, that is, the goal of the loss function is to obtain estimated data with better performance. The loss function is more in line with the actual needs when sending data between devices, and the second data output by the trained first machine learning model is more in line with actual needs.

[0034] In one possible implementation, when the second data is a reference signal, the training device trains the first machine learning model based on the second data and the loss function, including: the training device obtains a received reference signal corresponding to the reference signal, and generates predicted channel information based on the received reference signal corresponding to the reference signal; the training device trains the first machine learning model according to the loss function, and the loss function indicates the similarity between the predicted channel information and the correct channel information.

[0035] Exemplarily, the training device obtaining a received reference signal corresponding to the reference signal may include: the training device multiplying the reference signal by a channel matrix and adding the multiplication result to noise to obtain the received reference signal, wherein the aforementioned steps are intended to simulate the process of the reference signal being transmitted through the channel. Alternatively, if the aforementioned steps are performed by two training devices in cooperation, the training device obtaining a received reference signal corresponding to the reference signal may include: the first training device sending the reference signal to the second training device, and the second training device receiving the received reference signal.

[0036] This implementation method also provides a specific implementation method for training the first machine learning model when the function of the first machine learning model is to generate a reference signal, which expands the application scenarios of this solution and improves the implementation flexibility of this solution.

[0037] In the third aspect of this application, the training device can also be used to execute the steps performed by the first device in the first aspect and various possible implementation methods of the first aspect. The specific implementation methods, meanings of terms and beneficial effects brought about by the steps in various possible implementation methods of the third aspect can all be referred to the first aspect and will not be repeated here.

[0038] In a fourth aspect, the present application provides a data processing device that can apply artificial intelligence technology to the field of communications, the data processing device including a processing module; wherein the processing module is configured to obtain a value of T, where T is an integer greater than or equal to 1, and T represents the number of sub-data included in the output data of the first machine learning model;

[0039] The processing module is also used to input the first data into the first machine learning model to obtain second data generated by the first machine learning model, where the second data includes T sub-data, wherein the first machine learning model includes one or more modules, and each time a module in the first machine learning model is called at least once, one sub-data is obtained.

[0040] In one possible implementation, the functionality of the first machine learning model includes any one or a combination of the following: encoding, modulation, or generating a reference signal.

[0041] In one possible implementation, the multiple modules in the first machine learning model include a first module and at least one second module, and the processing module is specifically used to: input the first data into the first module to obtain the first sub-data generated by the first module, and the first sub-data is one of the T sub-data; input the first feature information into the second module to obtain the second sub-data generated by the second module, wherein the first feature information includes the feature information generated when the module in the first machine learning model was last called for data processing, the second sub-data is one of the T sub-data, and the module in the first machine learning model last called is the first module or the second module.

[0042] In one possible implementation, the multiple modules in the first machine learning model include a first module and at least one third module, and the processing module is specifically used to: input the first data into the first module, generate first sub-data through the first module, the first sub-data is one of T sub-data, and the process of generating the first sub-data through the first module includes feature extraction of the first data; call the third module multiple times to obtain third sub-data generated by the third module, the third sub-data is one of T sub-data, wherein the input of the third module includes feature information of the first data, and the feature information of the first data is updated multiple times in the process of calling the third module multiple times.

[0043] In one possible implementation, the processing module is specifically used to: perform a linear transformation on the first feature information through the second module, and process it using a first activation function to obtain the transformed feature information; perform a linear transformation on the transformed feature information, and process it using a second activation function to obtain second sub-data.

[0044] In a possible implementation, the at least one second module includes a plurality of second modules, wherein parameters adopted by at least two second modules among the plurality of second modules are different.

[0045] In one possible implementation, the processing module is further used to obtain the data to be processed and the value of H, where H is an integer greater than or equal to 1, and H indicates the length of the first data; the processing module is further used to pad the data to be processed if the length of the data to be processed is less than H to obtain the first data, and the length of the first data is H.

[0046] In one possible implementation, the first data includes data to be processed and padding data, the padding data includes first identification information, the first identification information is used to identify the value of T and / or the value of K, K is the length of the data to be processed, and K is an integer greater than or equal to 1.

[0047] In one possible implementation, the size of the parameters in the first machine learning model is related to the value of H and the value of G, where G is the length of each sub-data.

[0048] In one possible implementation, the parameters corresponding to the first machine learning model are carried in one or more of the following information: downlink control information DCI, uplink control information UCI, sidelink control information SCI, radio resource control RRC signaling or media access control control element MAC CE; and / or, the identification information of the parameters is carried in any one or more of the following information: DCI, UCI, SCI, RRC signaling, MAC CE, physical broadcast channel PBCH or physical random access channel PRACH.

[0049] In one possible implementation, a data processing device is applied to a first device, and a second device is a receiving end of second data. The second device contains multiple sets of parameters corresponding to the first machine learning model and identification information of each set of parameters. The data processing device also includes: a transceiver module for sending second identification information to the second device, and the second identification information is used to indicate a set of parameters adopted by the first machine learning model in the first device.

[0050] In the fourth aspect of this application, the specific implementation methods, meanings of terms and beneficial effects of the steps in each possible implementation method of the fourth aspect can all be referred to the first aspect and will not be repeated here.

[0051] In a fifth aspect, the present application provides a data processing device that can apply artificial intelligence technology to the field of communications. The data processing device includes a processing module; wherein the processing module is used to obtain second data; and generate first data based on the second data. The second data includes T sub-data, where T is an integer greater than or equal to 1. The second data is generated by a first machine learning model in a first device, and the first machine learning model includes one or more modules. Each time a module in the first machine learning model is called at least once, one sub-data is obtained.

[0052] In one possible implementation, the parameters corresponding to the first machine learning model are carried in one or more of the following information: downlink control information DCI, uplink control information UCI, sidelink control information SCI, radio resource control RRC signaling or media access control control element MAC CE; and / or, the identification information of the parameters is carried in any one or more of the following information: DCI, UCI, SCI, RRC signaling, MAC CE, physical broadcast channel PBCH or physical random access channel PRACH.

[0053] In one possible implementation, the data processing device is applied to a second device. The second device contains third data, which includes multiple sets of parameters corresponding to a first machine learning model and identification information for each set of parameters. The data processing device further includes: a transceiver module for receiving second identification information sent by the first device; and a processing module for determining a set of parameters used by the first machine learning model in the first device based on the second identification information and the third data. The processing module is specifically configured to generate the first data based on the set of parameters used by the first machine learning model in the first device and the second data.

[0054] In the fifth aspect of this application, the specific implementation methods, meanings of terms and beneficial effects of the steps in each possible implementation method of the fifth aspect can all be referred to the second aspect and will not be repeated here.

[0055] In a sixth aspect, the present application provides a model training device that can apply artificial intelligence technology to the field of communications. The model training device includes a processing module; wherein the processing module is used to obtain training data from a training data set, wherein the training data is used to obtain first data and the value of T, T is an integer greater than or equal to 1, and at least two training data in the training data set include different values ​​of T; the processing module is also used to input the first data into a first machine learning model to obtain second data generated by the first machine learning model, the second data includes T sub-data, wherein the first machine learning model includes multiple modules, and each time a module in the first machine learning model is called at least once, a sub-data generated by the module is obtained; the processing module is also used to train the first machine learning model based on the second data and the loss function to obtain the trained first machine learning model.

[0056] In one possible implementation, the functionality of the first machine learning model includes any one or a combination of the following: encoding, modulation, or generating a reference signal.

[0057] In one possible implementation, the multiple modules in the first machine learning model include a first module and at least one second module, and the processing module is specifically used to: input the first data into the first module to obtain the first sub-data generated by the first module, and the first sub-data is one of the T sub-data; input the first feature information into the second module to obtain the second sub-data generated by the second module, wherein the first feature information includes the feature information generated when the module in the first machine learning model was last called for data processing, the second sub-data is one of the T sub-data, and the module in the first machine learning model last called is the first module or the second module.

[0058] In one possible implementation, the processing module is further used to obtain the data to be processed from the training data; the processing module is further used to obtain the value of H, where H is an integer greater than or equal to 1, and H indicates the length of the first data; the processing module is further used to pad the data to be processed if the length of the data to be processed is less than H to obtain the first data, and the length of the first data is H.

[0059] In one possible implementation, when the function of the first machine learning model includes encoding and / or modulation, the second data is used to determine the signal to be sent, and the processing module is specifically used to: demodulate and / or decode the received signal corresponding to the signal to be sent to obtain estimated data corresponding to the data to be processed; train the first machine learning model based on the estimated data and the loss function, and the loss function indicates the similarity between the estimated data and the data to be processed.

[0060] In one possible implementation, when the second data is a reference signal, the processing module is specifically used to: generate predicted channel information based on a received reference signal corresponding to the reference signal; and train the first machine learning model according to the loss function, where the loss function indicates the similarity between the predicted channel information and the correct channel information.

[0061] In the sixth aspect of this application, the specific implementation methods, meanings of terms and beneficial effects of the steps in each possible implementation method of the sixth aspect can all be referred to the first aspect and will not be repeated here.

[0062] In the seventh aspect, the present application provides a communication system that can apply artificial intelligence technology to the field of communications. The communication system may include a data processing device as in the fourth aspect and a data processing device as in the fifth aspect.

[0063] In one possible implementation, the communication system further includes a training device for the model as in the fifth aspect.

[0064] In an eighth aspect, the present application provides a data processing method that can apply artificial intelligence technology to the field of communications, the method comprising: a third device obtaining a first signaling, wherein the first signaling carries at least one set of parameters used by a first machine learning model and indication information corresponding to each set of parameters, the indication information being used to indicate the position of multiple parameters included in each set of parameters in the first machine learning model; and sending the first signaling to the first device. The third device and the second device can be the same device or different devices, which is not limited in this application.

[0065] In this implementation, when at least one set of parameters of the first machine learning model is transmitted via signaling, the signaling not only carries the aforementioned at least one set of parameters, but also carries indication information corresponding to each set of parameters. The indication information is used to indicate the position of multiple parameters included in each set of parameters in the first machine learning module, so that after receiving the signaling, the first device can understand how to use the parameters carried in the signaling and transmit at least one set of parameters of the first machine learning model by signaling, which is conducive to reducing the communication resources consumed during the parameter transmission process and improving the efficiency of the parameter transmission process.

[0066] In a possible implementation manner, the first signaling is any one of the following: downlink control information DCI, uplink control information UCI, sidelink control information SCI, radio resource control RRC signaling, or medium access control element MAC CE.

[0067] Ninthly, the present application provides a data processing method that can apply artificial intelligence technology to the field of communications, and the method includes: a first device receives a first signaling, wherein the first signaling carries at least one set of parameters adopted by a first machine learning model and indication information corresponding to each set of parameters, and the indication information is used to indicate the position of multiple parameters included in each set of parameters in the first machine learning model.

[0068] In a possible implementation manner, the first signaling is any one of the following: downlink control information DCI, uplink control information UCI, sidelink control information SCI, radio resource control RRC signaling, or medium access control element MAC CE.

[0069] In the tenth aspect, an embodiment of the present application provides a device comprising at least one processor, wherein the at least one processor is coupled to a memory, and the memory is used to store programs or instructions; and the at least one processor is used to execute programs or instructions, so that the aforementioned device executes the method in any of the above aspects.

[0070] In the eleventh aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer executes the method in any of the above aspects.

[0071] In a twelfth aspect, an embodiment of the present application provides a computer program product, which includes a program. When the program is run on a computer, it enables the computer to execute the method in any of the above aspects.

[0072] In a thirteenth aspect, the present application provides a chip system, which includes a processor for supporting a communication device to implement the functions involved in the above aspects, for example, sending or processing the data and / or information involved in the above methods. In one possible design, the chip system also includes a memory for storing program instructions and data necessary for the communication device. The chip system can be composed of a chip or can include a chip and other discrete devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0073] FIG1 is a schematic diagram of an architecture of a wireless communication system provided in an embodiment of the present application;

[0074] FIG2 is a schematic diagram of another architecture of a wireless communication system provided in an embodiment of the present application;

[0075] FIG3 is a flow chart of a data processing method provided in an embodiment of the present application;

[0076] FIG4 is another schematic diagram of a data processing method provided in an embodiment of the present application;

[0077] FIG5 is a schematic diagram of a process for determining a set of parameters used by a first machine learning model by a first device and a second device according to an embodiment of the present application;

[0078] FIG6 is a schematic diagram of a process for a first device according to an embodiment of the present application to obtain a set of parameters used by a first machine learning model;

[0079] FIG7 is a schematic diagram of first data provided in an embodiment of the present application;

[0080] FIG8 is a schematic diagram of generating T sub-data using a first machine learning model according to an embodiment of the present application;

[0081] FIG9 is a schematic diagram of a training method for a model provided in an embodiment of the present application;

[0082] FIG10 is a schematic structural diagram of a data processing device provided in an embodiment of the present application;

[0083] FIG11 is another structural diagram of a data processing device provided in an embodiment of the present application;

[0084] FIG12 is a schematic diagram of a training device for a model provided in an embodiment of the present application;

[0085] FIG13 is a schematic diagram of a device provided in an embodiment of the present application;

[0086] FIG14 is another schematic diagram of the device provided in an embodiment of the present application;

[0087] FIG15 is a schematic structural diagram of a chip provided in an embodiment of the present application. DETAILED DESCRIPTION

[0088] The following describes the embodiments of the present application in conjunction with the accompanying drawings. Obviously, the embodiments described are only part of the embodiments of the present application, rather than all the embodiments. Those skilled in the art will appreciate that with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0089] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects (for example, to distinguish objects in the same embodiment), and are not necessarily used to describe a specific order or sequence. In different embodiments, the objects defined by "first", "second", etc. (such as "first device" and "second device") may refer to different objects. It should be understood that the data used in this way can be interchangeable under appropriate circumstances so that the embodiments described herein can be implemented in an order other than that illustrated or described herein.

[0090] In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or modules is not necessarily limited to those steps or modules explicitly listed, but may include other steps or modules that are not explicitly listed or that are inherent to the process, method, product, or device. The naming or numbering of steps in this application does not mean that the steps in the method flow must be executed in the time / logical sequence indicated by the naming or numbering. The named or numbered process steps can be executed in a different order according to the technical purpose to be achieved, as long as the same or similar technical effects can be achieved.

[0091] In the embodiments of the present application, "sending" and "receiving" indicate the direction of signal transmission. For example, "sending information to XX device" can be understood as the destination of the information being XX device, which can include direct sending through the air interface, as well as indirect sending through the air interface by other units or modules. "Receiving information from YY device" can be understood as the source of the information being YY device, which can include direct receiving from YY device through the air interface, as well as indirect receiving from YY device through the air interface from other units or modules. "Sending" can also be understood as the "output" of the chip interface, and "receiving" can also be understood as the "input" of the chip interface. In other words, sending and receiving can be performed between devices or within a device, for example, between components, modules, chips, software modules or hardware modules within the device through a bus, trace or interface. It is understandable that information may undergo necessary processing, such as encoding, modulation, etc., between the source and destination of the information, but the destination can understand the valid information from the source. Similar expressions in this application can be understood similarly and will not be repeated.

[0092] In the embodiments of the present application, "indication" may include direct indication and indirect indication, and may also include explicit indication and implicit indication. The information indicated by a certain information (such as the indication information described below) is called information to be indicated. In the specific implementation process, there are many ways to indicate the information to be indicated, such as but not limited to, the information to be indicated can be directly indicated, such as the information to be indicated itself or the index of the information to be indicated. The information to be indicated can also be indirectly indicated by indicating other information, wherein there is an association between the other information and the information to be indicated; it is also possible to indicate only a part of the information to be indicated, while the other parts of the information to be indicated are known or agreed in advance, for example, the indication of specific information can be achieved with the help of the arrangement order of each information agreed in advance (such as predefined by the protocol), thereby reducing the indication overhead to a certain extent. The present application does not limit the specific method of indication. It is understandable that, for the sender of the indication information, the indication information can be used to indicate the information to be indicated, and for the receiver of the indication information, the indication information can be used to determine the information to be indicated.

[0093] This application can apply artificial intelligence technology to the field of communications, and optionally, can apply artificial intelligence technology to the application scenario of signal transmission. For example, a machine learning model can be used to perform any one or more of the following tasks: encoding, modulation, generating reference signals, or other tasks in the field of communications.

[0094] Before describing in detail the data processing method provided by this application, the scenario in which the method provided by the embodiment of this application is applied is first introduced. Please refer to Figure 1, which is a schematic diagram of the architecture of a wireless communication system provided by an embodiment of this application. The method provided by this application can be applied to a wireless communication system. As shown in Figure 1, the wireless communication system includes a network device 101 and a mobile station (MS) 102. Among them, a wireless connection can be established between the network device 101 and each terminal device, and a wireless connection can also be established between each terminal device.

[0095] Network device 101 may refer to a device that provides wireless access services in a wireless network. For example, network device 101 may be a device that connects mobile station 102 to a wireless network, and may also be referred to as a base station. The base station may be various forms of macro base stations, micro base stations, relay stations, or access points. In wireless communication systems employing different wireless access technologies, the name of network device 101 with base station functionality may vary. For example, a base station may be referred to as an evolved Node B (eNB), a Node B (NB), the next generation Node B (gNB) in a fifth generation (5G) communication system, a home base station (e.g., a home evolved Node B or HNB), a baseband unit (BBU), a wireless fidelity (Wi-Fi) access point (AP), a transmission reception point (TRP), or a radio network controller (RNC). In another possible scenario, multiple network nodes collaborate to facilitate wireless access, with different network nodes implementing portions of the base station's functionality. For example, a network node may be a centralized unit (CU), a distributed unit (DU), a CU-control plane (CP), a CU-user plane (UP), or a radio unit (RU). The CU and DU may be separately configured or included in the same network element, such as a baseband unit (BBU). The RU may be included in a radio frequency device or radio frequency unit, such as a remote radio unit (RRU), an active antenna unit (AAU), or a remote radio head (RRH). 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 meanings. For example, in the ORAN system, CU may also be called open CU (O-CU), DU may also be called open DU (O-DU), CU-CP may also be called open CU-CP (O-CU-CP), CU-UP may also be called open CU-UP (O-CU-UP), and RU may also be called open RU (O-RU).Among them, any unit among CU (or CU-CP, CU-UP), DU and RU can be implemented by software module, hardware module, or a combination of software module and hardware module. The embodiment of the present application does not limit the specific device form of network device 101.

[0096] Mobile station 102 is a wireless terminal capable of receiving scheduling information and indication information sent by network device 101. Mobile station 102 may be a handheld device with wireless communication capabilities, a vehicle-mounted device, a wearable device, a computing device, or other processing device connected to a wireless modem.

[0097] The mobile station 102 can communicate with one or more core networks or the Internet via a wireless access network (RAN). For example, the mobile station 102 can be a portable, pocket-sized, handheld, computer-embedded, or vehicle-mounted mobile device that exchanges voice and / or data with the wireless access network. For example, the mobile station 102 can be a user agent, a cellular phone, a smart phone, a personal digital assistant (PDA), a tablet personal computer (Tablet PC), a wireless modem, a handset, a laptop computer, a personal communication service (PCS) phone, a remote station, an access point (AP), a remote terminal, an access terminal, customer premises equipment (CPE), a terminal, user equipment (UE), or a mobile terminal (MT).

[0098] For another example, the mobile station 102 may also be a wearable device, which is a general term for wearable devices that are intelligently designed and developed using wearable technology for everyday wear, such as glasses, gloves, watches, clothing, and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothing or accessories. Wearable devices are not just hardware devices, but also achieve powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include those that are fully functional, large in size, and can achieve full or partial functions without relying on smartphones, such as smart watches or smart glasses, as well as those that focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various smart bracelets, smart helmets, and smart jewelry for vital sign monitoring.

[0099] For another example, the mobile station 102 may also be a drone, a robot, a terminal device in device-to-device communication (D2D), a terminal device in vehicle-to-everything (V2X), a virtual reality (VR) device, an augmented reality (AR) device, a wireless terminal in industrial control, a terminal device in self-driving, a terminal device in remote medical care, a terminal device in a smart grid, a wireless terminal in a smart city, a terminal device in a smart home, etc.

[0100] In addition, the mobile station 102 may also be a terminal device in a communication system after the 5G communication system (for example, a sixth generation (6G) communication system, etc.) or a terminal device in a future evolved public land mobile network (PLMN), etc. The embodiment of the present application does not limit the device form of the mobile station 102.

[0101] In some application scenarios, the network device 101 can send downlink data to each terminal device, or each terminal device can also send uplink data to the network device 101; the network device 101 or each terminal device may use a machine learning model in the process of sending data, and the data processing method provided in this application can be adopted.

[0102] In other application scenarios, each terminal device can also send data to each other. In the process of sending data, each terminal device may use a machine learning model, and the data processing method provided in this application can be adopted.

[0103] Please continue to refer to Figure 2, which is another architectural diagram of the wireless communication system provided in an embodiment of the present application. As shown in Figure 2, in a smart home scenario, various smart home products are connected through a wireless network to enable data to be transmitted between smart home products. In Figure 2, taking smart home products such as smart TVs, smart air purifiers, smart water dispensers, smart speakers, and sweeping robots as examples, these smart home products are all connected to the same wireless network through a wireless router, thereby enabling data interaction between various smart home products. In addition to the smart home products in the above examples, other types of smart home products may also be included in actual applications, such as smart refrigerators, smart range hoods, smart curtains, and other smart home products. This embodiment does not limit the types of smart home products.

[0104] In addition, different smart home products can also be directly connected wirelessly without the need to access the same wireless network through a wireless router. For example, the smart home products can be connected wirelessly via Bluetooth.

[0105] In addition to the scenarios described in Figures 1 and 2 above, the method provided in the embodiments of the present application can also be applied to other communication system scenarios. For example, in a smart factory scenario, different devices (such as intelligent robots, lathes, transport vehicles, etc.) are connected via a wireless network and transmit data to each other via the wireless network. The embodiments of the present application do not limit the specific scenarios in which the data processing method is applied.

[0106] It should be noted that the wireless communication systems mentioned in the embodiments of the present application include but are not limited to: fifth generation mobile communication technology (5G) communication system, 6G communication system, satellite communication system, short-range communication system, narrowband Internet of Things system (NB-IoT), global system for mobile communications (GSM), enhanced data rate for GSM evolution system (EDGE), wideband code division multiple access system (WCDMA), code division multiple access 2000 system (CDMA2000), time division synchronous code division multiple access system (TD-SCDMA) and long term evolution system (LTE). The embodiments of the present application do not limit the specific architecture of the wireless communication system.

[0107] In the above-mentioned application scenarios, when a certain device needs to send data, the data processing method provided by the present application can be adopted. Specifically, please refer to Figure 3, which is a flow chart of the data processing method provided by the embodiment of the present application. As shown in Figure 3, 301, the first device obtains the value of T, T is an integer greater than or equal to 1, and T represents the number of sub-data included in the output data of the first machine learning model. 302, the first device inputs the first data into the first machine learning model to obtain the second data generated by the first machine learning model, and the second data includes T sub-data; wherein the first machine learning model includes one or more modules, and each time a module in the first machine learning model is called at least once, one sub-data in the T sub-data is obtained; illustratively, each time a module in the first machine learning model is called, one module in the first machine learning model may be called, or multiple modules may be called.

[0108] Exemplarily, the first device can be any device that needs to send data in the above-mentioned multiple application scenarios; for example, the first device can be the network device 101 or the mobile station 102 in Figure 1; for another example, the first device can be the smart home or wireless router in Figure 2; or, the first device can also be other devices that need to send data, etc. The form of the first device is not limited in the embodiments of the present application.

[0109] Optionally, the function of the first machine learning model includes any one or more of the following combinations: encoding, modulation, reference signal generation or other functions. For example, if the function of the first machine learning model is encoding, the first data is the data to be encoded, and the second data is the encoded data. For another example, if the function of the first machine learning model is modulation, the first data is the data to be modulated, and the second data is the modulated data. For another example, if the function of the first machine learning model is to generate reference signals, the first data may be the index number of multiple reference signals, and the second data may be a reference signal. For another example, if the function of the first machine learning model is encoding and modulation, the first data is the data to be encoded and modulated, and the second data is the encoded and modulated data, etc. When the first machine learning model has other functions, the first data and the second data may be expressed as other types of data, etc., which is not limited in the embodiments of the present application.

[0110] In an embodiment of the present application, since one sub-data can be obtained each time a module in the first machine learning model is called at least once, after obtaining the value of T, the number of calls of the module in the first machine learning model can be flexibly adjusted according to the value of T to generate T sub-data, so that the first machine learning model can be compatible with multiple values ​​of T, and there is no need to store multiple machine learning models, thereby reducing the storage space overhead.

[0111] In the embodiment of the present application, the detailed implementation process of the inference phase of the above-mentioned first machine learning model is first introduced below, and then the detailed implementation process of the training phase of the first machine learning model is introduced. Among them, the "inference phase of the first machine learning model" is the process of using the first machine learning model to process data; the "training phase of the first machine learning model" is the process of iteratively training the first machine learning model using training data. The process of iteratively training the first machine learning model is also the process of iteratively updating the parameters adopted by the first machine learning model. After iteratively training the first machine learning model using the training data, one or more sets of trained parameters corresponding to the first machine learning model can be obtained, and the aforementioned parameters obtained in the training phase will be used in the inference phase.

[0112] 1. Reasoning Stage

[0113] Specifically, please refer to FIG4 , which is another schematic diagram of the data processing method provided in an embodiment of the present application. As shown in FIG4 , the data processing method includes steps 401 to 411 .

[0114] 401. The first device obtains a set of parameters used by the first machine learning model.

[0115] In an embodiment of the present application, before the first device uses the first machine learning model to process data, it is necessary to first determine a set of trained parameters adopted by the first machine learning model; illustratively, the aforementioned set of trained parameters includes the parameters required by all modules in the first machine learning model.

[0116] The first device can obtain a set of parameters used by the first machine learning model in various ways. In one implementation, multiple sets of trained parameters of the first machine learning model and identification information of each set of trained parameters can be predefined. For example, the "identification information of each set of trained parameters" can also be referred to as the index number of each set of trained parameters.

[0117] In order to understand this solution more intuitively, the corresponding relationship between multiple sets of trained parameters of the first machine learning model and the identification information of each set of trained parameters is shown in Table 1 below. In Table 1, a set of parameters used in the first machine learning model includes the following multiple parameters as an example: U, W, θ s , V and θ0. Exemplarily, the parameters used in the process of extracting features from the input data of the first machine learning model to obtain feature information of the input data include U and θ s , the parameters used in the process of updating the feature information of the input data include W and θ s , the parameters used in the process of generating multiple sub-data in the output data of the first machine learning model according to the feature information of the input data include V and θ0.

[0118] Table 1

[0119] In the second row of Table 1, Matrix-U0 represents a value of parameter U, Matrix-W0 represents a value of parameter W, and Vector-s0 represents parameter θ. sA value of , Matrix-V0 represents a value of parameter V, Vector-o0 represents a value of parameter θ0, Matrix-U0, Matrix-W0, Vector-s0, Matrix-V0 and Vector-o0 represent a set of parameters of the first machine learning model, and the index number "0" in the second row of Table 1 represents the identification information of the aforementioned set of parameters. The third and fourth rows in Table 1 can be understood by referring to the above explanation of the first row in Table 1. It should be noted that the examples in Table 1 are only for the convenience of understanding, and the correspondence between each set of parameters in the multiple sets of parameters of the first machine learning model and the identification information is not used to limit this solution.

[0120] Optionally, different groups of parameters in the multiple groups of trained parameters of the first machine learning model correspond to different indicator ranges of at least one first preset indicator. For example, the at least one first preset indicator may include any one or more of the following indicators: a moving speed of the terminal device, a maximum value of multipath delay spread, a peak to average power ratio (PAPR), or other indicators, etc. The specific indicators used are not limited in the embodiments of the present application.

[0121] For example, the set of parameters corresponding to a terminal device's mobile speed being greater than or equal to a speed threshold may differ from the set of parameters corresponding to a terminal device's mobile speed being less than the speed threshold. Another example is the set of parameters corresponding to a maximum multipath delay spread being greater than a threshold value 1, which differs from the set of parameters corresponding to a maximum multipath delay spread being less than the threshold value 1. Another example is the set of parameters corresponding to a PAPR value being within range 1, which differs from the set of parameters corresponding to a PAPR value being within range 2.

[0122] In order to understand this solution more intuitively, the corresponding relationship between multiple groups of different trained parameters and different scenarios and different indicator ranges of the first preset indicator is shown in Table 2 below.

[0123] Table 2

[0124] Among them, the high-speed mobile scenario represents that the moving speed of the terminal device is greater than or equal to the speed threshold, the low-speed mobile scenario represents that the moving speed of the terminal device is less than the speed threshold, the large multipath delay spread represents that the maximum value of the multipath delay spread is greater than the threshold 1, and the small multipath delay spread represents that the maximum value of the multipath delay spread is less than the threshold 1. Table 2 takes the 8 groups of parameters of the pre-defined first machine learning model as an example. The 8 groups of parameters are parameter 1, parameter 2, parameter 3, parameter 4, parameter 5, parameter 6, parameter 7 and parameter 8. Different groups of parameters in the 8 groups of parameters of the first machine learning model correspond to different scenarios and different indicator ranges of the first preset indicator. It should be noted that the examples in Table 2 are only for the convenience of understanding the relationship between different groups of parameters in the multiple groups of trained parameters of the first machine learning model. The specific number of groups of pre-defined parameters and the specific usage methods can be flexibly set in combination with the actual scenarios, and are not limited here.

[0125] In one case, if the first device is a terminal device, in an implementation method (hereinafter referred to as implementation method one for the convenience of description), before executing step 401, the first device (i.e., the terminal device) is deployed with multiple identification information corresponding to the parameters of the first machine learning model and a first rule. The first rule indicates the correspondence between different indicator ranges of at least one first preset indicator of different identification information in the multiple identification information corresponding to the parameters of the first machine learning model. Since the multiple identification information corresponding to the parameters of the first machine learning model include the identification information of each group of parameters in the multiple groups of parameters of the first machine learning model, the meaning of the first rule can be understood by referring to the "correspondence between different groups of parameters in the multiple groups of trained parameters and different indicator ranges of at least one first preset indicator" disclosed in the above description, which will not be repeated here; the first device can determine a second identification information from the multiple identification information corresponding to the parameters of the first machine learning model based on the value of at least one first preset indicator and the first rule. The second identification information is the identification information of a group of parameters adopted by the first machine learning model in the first device. It should be noted that the concept of "first identification information" will be used in subsequent descriptions, and the meaning of the first identification information will also be explained in the subsequent descriptions, so it will not be repeated here; for the various forms of base stations and terminal devices, please refer to the above descriptions, so it will not be repeated here.

[0126] The first device may send second identification information to the base station. After receiving the second identification information sent by the first device, the base station may send a set of trained parameters pointed to by the second identification information to the first device. The set of trained parameters sent by the base station is a set of trained parameters used by the first machine learning model in the first device. Step 401 may include: the first device is able to obtain the set of trained parameters sent by the base station, and thereby determine the obtained set of parameters as the set of parameters used by the first machine learning model.

[0127] Optionally, the base station may send the second identification information and a set of parameters pointed to by the second identification information to the first device. Correspondingly, the first device can obtain the second identification information and the set of parameters pointed to by the second identification information, and the first device determines the obtained set of parameters as the set of parameters used by the first machine learning model.

[0128] It should be noted that in the above implementation, if the second device that communicates data with the first device (that is, the above-mentioned terminal device) is the above-mentioned base station, then in the process of the first device obtaining a set of trained parameters adopted by the first machine learning model, the second device has also determined which set of parameters is adopted by the first machine learning model in the first device.

[0129] If the second device that communicates data with the first device (i.e., the above-mentioned terminal device) is another terminal device, then after step 401, the first device can also send a set of parameters adopted by the first machine learning model (hereinafter referred to as "a set of target parameters" for the convenience of description) to the second device, so that the second device can determine which set of parameters is adopted by the first machine learning model in the first device.

[0130] If the first device is a terminal device, in another implementation (hereinafter referred to as implementation method two for the convenience of description), the first device may be configured with at least one third identification information corresponding to the parameters of the first machine learning model. Each third identification information in the aforementioned at least one third identification information is identification information of a set of parameters that can be adopted by the first machine learning model. The set of parameters pointed to by each third identification information in the aforementioned at least one third identification information all conforms to the hardware capabilities of the first device, that is, the hardware capabilities of the first device can support the execution of the set of parameters pointed to by each third identification information. Before executing step 401, the first device may send all the third identification information configured above to the base station. Correspondingly, after receiving the at least one third identification information sent by the first device, the base station may obtain a set of trained parameters pointed to by each third identification information (that is, a set of parameters that can be adopted by the first machine learning model). The base station sends the at least one set of trained parameters of the first machine learning model corresponding one-to-one to the at least one third identification information to the first device, and the first device receives the at least one set of parameters corresponding one-to-one to the at least one third identification information.

[0131] Step 401 may include: the first device may select a set of target parameters adopted by the first machine learning model from at least one set of parameters corresponding one-to-one to at least one third identification information.

[0132] Exemplarily, different third identification information in at least one third identification information can correspond to different indicator ranges of at least one second preset indicator. The first device can determine a second identification information from multiple third identification information corresponding to the parameters of the first machine learning model based on the value of at least one second preset indicator, and then select a group of target parameters corresponding to a second identification information from at least one group of parameters corresponding one-to-one to at least one third identification information.

[0133] Among them, the specific implementation method of "the first device can determine a second identification information from multiple third identification information corresponding to the parameters of the first machine learning model based on the value of at least one second preset indicator" can refer to the above description of the specific implementation method of "the first device can determine a second identification information from multiple identification information corresponding to the parameters of the first machine learning model based on the value of at least one first preset indicator", which will not be repeated here.

[0134] The meaning of "at least one second preset indicator" may be the same as or different from the category of "at least one first preset indicator". The specific category of "at least one second preset indicator" may be flexibly set according to actual conditions and is not limited here.

[0135] Optionally, if the second device that communicates data with the first device (i.e., the above-mentioned terminal device) is the above-mentioned base station, then after step 401, the first device may also send a second identification information determined by the above-mentioned first device from at least one third identification to the base station (i.e., an example of the second device). Correspondingly, the base station receives the second identification information sent by the first device, so that the second device can determine which set of parameters is adopted by the first machine learning model in the first device.

[0136] If the second device that communicates data with the first device (i.e., the above-mentioned terminal device) is another terminal device, then after step 401, the first device can also send a set of target parameters adopted by the first machine learning model to the second device, so that the second device can determine which set of parameters is adopted by the first machine learning model in the first device.

[0137] In another case, if the first device is a base station (hereinafter referred to as implementation method three for the convenience of description), and the second device that communicates data with the first device is a terminal device, since the base station can be deployed with multiple sets of trained parameters of the first machine learning model and identification information of each set of trained parameters, step 401 may include: the base station (that is, an example of the first device) can determine a set of target parameters adopted by the first machine learning model from the multiple sets of trained parameters of the first machine learning model based on the value of at least one first preset indicator.

[0138] Exemplarily, the first device (i.e., the base station) can determine a second identification information from multiple identification information corresponding to the first machine learning model based on the value of at least one first preset indicator, and then determine a set of parameters pointed to by the second identification information, thereby determining a set of target parameters adopted by the first machine learning model.

[0139] Optionally, after step 401, the first device (i.e., the base station) may also send a set of target parameters adopted by the aforementioned first machine learning model to the second device (i.e., the terminal device communicating with the base station), so that the second device can determine which set of parameters is adopted by the first machine learning model in the first device.

[0140] In another implementation (hereinafter referred to as implementation four for the convenience of description), before the first device and the second device communicate data, both the first device and the second device already have multiple sets of trained parameters of the first machine learning model and identification information of each set of trained parameters. Exemplarily, the first device can send multiple sets of trained parameters of the first machine learning model and identification information of each set of trained parameters to the second device. For example, the base station (an example of the first device) can send multiple sets of trained parameters of the first machine learning model and identification information of each set of trained parameters to the terminal device (an example of the second device); for another example, the terminal device (an example of the first device) can send multiple sets of trained parameters of the first machine learning model and identification information of each set of trained parameters to the base station (an example of the second device); for another example, the first terminal device (an example of the first device) can send multiple sets of trained parameters of the first machine learning model and identification information of each set of trained parameters to the second terminal device (an example of the second device)

[0141] Alternatively, the network equipment and mobile station in the wireless communication system have been pre-configured with multiple groups of trained parameters of the first machine learning model and identification information of each group of trained parameters, and the network equipment and mobile station in the wireless communication system include a first device and a second device.

[0142] Then step 401 may include: the first device may obtain a set of target parameters from multiple sets of trained parameters of the first machine learning model. For example, the first device may determine a second identification information from multiple identification information corresponding to the parameters of the first machine learning model based on the value of at least one first preset indicator, and then determine the set of parameters pointed to by the second identification information, thereby determining the set of parameters used by the first machine learning model. The specific implementation of the aforementioned steps can be found in the above description and will not be repeated here.

[0143] Optionally, after step 401, the first device may further transmit the aforementioned second identification information to the second device, and the second device correspondingly receives the second identification information transmitted by the first device. The second device may determine which set of parameters is used by the first machine learning model in the first device based on the received second identification information and third data, where the third data includes multiple sets of parameters corresponding to the first machine learning model in the second device and identification information for each set of parameters. The specific configurations of the first and second devices can be flexibly determined based on actual application scenarios and are not limited here.

[0144] In order to understand the present solution more intuitively, please refer to Figure 5, which is a flow chart of a first device and a second device provided in an embodiment of the present application determining a set of parameters adopted by the first machine learning model. As shown in Figure 5, 501, the first device sends multiple sets of parameters of the first machine learning model and identification information of each set of parameters to the second device. 502, the first device sends second identification information to the second device. 503, the second device determines the set of parameters adopted by the first machine learning model in the first device based on the second identification and the third data, and the third data includes multiple sets of parameters of the first machine learning model and identification information of each set of parameters. It should be understood that the example in Figure 5 is only for the convenience of understanding the present solution and is not used to limit the present solution.

[0145] In an embodiment of the present application, there are multiple sets of parameters of the first machine learning model and identification information of each set of parameters in the second device. The first device only needs to send the second identification information to the second device, and the second device can know which set of parameters is used by the first machine learning model in the first device. The communication resources occupied by transmitting the second identification information are relatively small, which is conducive to reducing the consumed communication resources.

[0146] It should be noted that the embodiment of the present application does not limit the execution order between the above-mentioned operation of "the second device determines which set of parameters is adopted by the first machine learning model in the first device" and the subsequent steps 402 to 411. The operation of "the second device determines which set of parameters is adopted by the first machine learning model in the first device" can be performed before or after any step 402 to 411.

[0147] In another implementation, only a set of trained parameters of the first machine learning model can be defined in advance, and the aforementioned set of trained parameters of the first machine learning model can be pre-configured in the first device. Then, when the first device needs to use the first machine learning model, the set of parameters adopted by the first machine learning model can be directly obtained locally.

[0148] In an embodiment of the present application, in order to enable the first device to obtain a set of trained parameters adopted by the first machine learning model, and in order to enable the second device that communicates data with the first device to determine what parameters are adopted by the first machine learning model in the first device, it may be necessary to send the trained parameters corresponding to the first machine learning model and / or identification information of the aforementioned parameters between different devices.

[0149] For example, in the above-mentioned implementation method one, the terminal device (that is, an example of the first device) can send second identification information (that is, identification information of the trained parameters corresponding to the first machine learning model) to the base station. For another example, the base station can send a set of trained parameters pointed to by the second identification information to the terminal device, that is, a set of target parameters adopted by the first machine learning model. For another example, the terminal device (that is, an example of the first device) can send a set of target parameters adopted by the first machine learning model to another terminal device (that is, an example of the second device).

[0150] For another example, in the above-mentioned implementation method 2, the terminal device (that is, an example of the first device) can send at least one third identification information (that is, identification information of the trained parameters corresponding to the first machine learning model) to the base station. For another example, the base station sends at least one set of trained parameters of the first machine learning model corresponding to the at least one third identification information to the terminal device (that is, an example of the first device). For another example, if the second device that performs data communication with the first device (that is, the above-mentioned terminal device) is the above-mentioned base station, the first device can also send the above-mentioned second identification information to the base station (that is, an example of the second device). For another example, if the second device that performs data communication with the first device (that is, the above-mentioned terminal device) is another terminal device, the first device can also send a set of target parameters used by the first machine learning model to the second device, and so on. The situations in the above-mentioned implementation methods 3 and 4 are no longer listed one by one here. For details, please refer to the descriptions in the above-mentioned various implementation methods.

[0151] In one implementation, the trained parameters corresponding to the first machine learning model and / or identification information of the aforementioned parameters can be carried in the signaling, that is, in the above-mentioned implementations, the trained parameters corresponding to the first machine learning model and / or identification information of the aforementioned parameters are sent between different devices by sending signaling.

[0152] When different devices transmit trained parameters corresponding to the first machine learning model by sending signaling, each signaling can carry at least one set of trained parameters of the first machine learning model. Optionally, the trained parameters corresponding to the first machine learning model can be carried in one or more of the following information: downlink control information (DCI), uplink control information (UCI), sidelink control information (SCI), radio resource control (RRC) signaling, media access control control element (MAC CE) or other types of signaling, which are not exhaustive here.

[0153] For example, in the above-mentioned implementation method one, the base station can send a DCI, RRC or MAC CE carrying a set of trained parameters pointed to by the second identification information to the terminal device (that is, an example of the first device); correspondingly, the first device can obtain a set of trained parameters pointed to by the second identification information from the aforementioned DCI, RRC or MAC CE.

[0154] For another example, in the above-mentioned implementation method one, the terminal device (that is, an example of the first device) can carry a set of target parameters adopted by the first machine learning model in SCI, RRC or MAC CE and send it to another terminal device (that is, an example of the second device); correspondingly, the second device can obtain the set of target parameters adopted by the aforementioned first machine learning model from SCI, RRC or MAC CE.

[0155] For another example, in the above-mentioned implementation method 2, the base station can carry each third identification information and a set of trained parameters pointed to by each third identification information in DCI, RRC or MAC CE and send it to the terminal device (that is, an example of the first device); correspondingly, the first device can obtain each third identification information and a set of trained parameters pointed to by each third identification information from DCI, RRC or MAC CE.

[0156] For another example, in the above-mentioned implementation method four, the terminal device (an example of the first device) can carry each group of trained parameters of the first machine learning model and the identification information of each group of trained parameters in the UCI, RRC or MAC CE and send them to the base station (an example of the second device); correspondingly, the base station can obtain each group of trained parameters of the first machine learning model and the identification information of each group of trained parameters from the UCI, RRC or MAC CE, etc.

[0157] It should be noted that the situations in which the trained parameters corresponding to the first machine learning model are carried through signaling in the above-mentioned various implementation methods are not described in detail here. For other situations in which the trained parameters corresponding to the first machine learning model are carried through signaling in the above-mentioned various implementation methods, please refer to the above description for understanding.

[0158] For example, when at least one set of trained parameters of a first machine learning model is carried by signaling (hereinafter referred to as "first signaling" for ease of description), the first signaling may carry at least one set of parameters adopted by the first machine learning model and indication information corresponding to each set of parameters, and the indication information corresponding to each set of parameters is used to indicate the position of multiple parameters included in each set of parameters in the first machine learning model. Optionally, the first signaling is any one of the following: DCI, UCI, SCI, RRC, MAC CE or other types of signaling.

[0159] For example, in the above-mentioned implementation method one, when the base station needs to send a set of trained parameters pointed to by the second identification information to the first device, the base station can send a first signaling to the first device. Correspondingly, the first device can receive the first signaling sent by the base station and obtain a set of parameters adopted by the first machine learning model from the first signaling.

[0160] For another example, in the second implementation method mentioned above, when the base station needs to send a set of trained parameters pointed to by each third identification information to the first device, the base station can send one or more first signalings to the first device, each first signaling carrying a third identification information and a set of parameters pointed to by the third identification information, and so on. Other situations in the above implementation methods are not listed one by one here.

[0161] In an embodiment of the present application, when at least one set of parameters of the first machine learning model is transmitted via signaling, the signaling not only carries the aforementioned at least one set of parameters, but also carries indication information corresponding to each set of parameters. The indication information is used to indicate the position of multiple parameters included in each set of parameters in the first machine learning module, so that after receiving the signaling, the first device can understand how to use the parameters carried in the signaling and transmit at least one set of parameters of the first machine learning model by signaling, which is conducive to reducing the communication resources consumed during the parameter transmission process and improving the efficiency of the parameter transmission process.

[0162] Optionally, the indication information corresponding to each group of parameters may include the layer number of each parameter in each group of parameters in the first machine learning model, and the parameter value used when operating in the layer. Exemplarily, the name of each parameter in the first signaling may be consistent with the name of each parameter in the first machine learning model, and the information carried by the first signaling may include the following:

[0163] {Layer[1]: {Matrix U1_1: {u11(1,1),u11(1,2),u11(2,1),u11(2,2),…}, Matrix U1_2: {u12(1,1),u12(1,2),u12(1,3),u12(2,1),…}, Vector b1_1: {b11(1),b11(2),…}}

[0164] Layer [2,3,4]: {matrix U2_1: {u21(1,1),u12(1,2),u21(2,1),u12(2,2),…}, matrix U2_2: {u22(1,1),u22(1,2),u22(1,3),u22(2,1),…}, vector b2_1: {b21(1),b21(2),…}}

[0165] Layer[5]: {matrix U3_1: {u31(1,1),u31(1,2),u31(1,3),…}, matrix U3_2: {u32(1,1),u32(1,2),u33(2,1),…}, vector b3_1: {b31(1),b31(2),…}}}

[0166] The above information represents the parameters used in the first neural network layer of the first machine learning model, including matrix U1_1, matrix U1_2 and vector b1_1. The values ​​of matrix U1_1 are {u11(1,1), u11(1,2), u11(2,1), u11(2,2),…}, the values ​​of matrix U1_2 are {u12(1,1), u12(1,2), u12(1,3), u12(2,1),…}, the values ​​of vector b1_1 are b11(1), b11(2),…}, etc. The meanings of the parameters used in the second to fifth neural network layers of the first machine learning model can be understood in combination with the above description and will not be elaborated here.

[0167] To more intuitively understand this solution, the following uses MAC CE and RRC as examples to illustrate the specific format of carrying a set of parameters for the first machine learning model in the MAC CE and RRC. First, refer to Table 3 below, which shows the format of the set of parameters for the first machine learning model in the MAC CE.

[0168] Table 3

[0169] The R in Table 3 represents a meaningless parameter, which means that R will not be used in the first machine learning model. In Table 3, the first machine learning model includes two neural network layers as an example. In the first row of Table 3 (that is, the first row of MAC CE), the parameters used by the first neural network layer of the first machine learning model are first stated, including U0, W0, θ s0 , V0 and θ o0 , and the values ​​of the five parameters used by the first neural network layer of the first machine learning model are shown in the second to sixth rows respectively. The seventh row of Table 3 (that is, the seventh row of MAC CE) states that the parameters used by the second neural network layer of the first machine learning model include U1, W1, θ s1 , V1 and θ o1 , and the values ​​of the five parameters used in the second neural network layer of the first machine learning model are shown in the eighth to twelfth rows. Since the parameters used in the first machine learning model of the first device are also U0, W0, θ s0 , V0, θ o0 , U1, W1, θ s1 , V1 and θ o1 , then after receiving the MAC CE, the first device can determine the value of each parameter in the first machine learning model. It should be understood that the examples in Table 3 are only for the convenience of understanding this solution and are not used to limit this solution.

[0170] Next, when one or more groups of parameters of the first machine learning model are carried through RRC, the content carried in RRC may be as follows:

[0171] Among them, matrixU SEQUENCE{} means that the values ​​of the parameters in {} are all matrices, Ui0j0 represents the parameter in the i0th row and j0th column of the parameter matrixU of the first machine learning model, and REAL in Ui0j0,REAL represents that the value type of the parameter Ui0j0 is a real number; similarly, Ui1j1 represents the parameter in the i1th row and j1th column of the parameter matrixU of the first machine learning model, and REAL in Ui1j1,REAL represents that the value type of the parameter Ui1j1 is a real number. vector SEQUENCE{} means that the values ​​of the parameters in {} are all vectors, v0 is the 0th parameter of the parameter vector of the first machine learning model, and REAL in v0,REAL represents that the value type of the parameter v0 is a real number; v1 is the 1st parameter of the parameter vector of the first machine learning model, and REAL in v1,REAL represents that the value type of the parameter v1 is a real number. Using the above method, RRC can carry a set of parameters of the first machine learning model, and after obtaining RRC, the position of each parameter in a set of parameters in the first machine learning model can also be known. It should be understood that the above examples are only for the convenience of understanding this solution and are not used to limit this solution.

[0172] To understand this solution more intuitively, please refer to Figure 6, which is a flow chart of the first device obtaining a set of parameters adopted by the first machine learning model provided in an embodiment of the present application. 601. The first device sends UCI to the base station, and the UCI carries second identification information. 602. The base station obtains a set of parameters pointed to by the second identification information, that is, a set of parameters adopted by the first machine learning model. 603. The base station obtains DUI, which carries a set of parameters pointed to by the second identification information and indication information corresponding to the aforementioned set of parameters, and the indication information corresponding to the aforementioned set of parameters is used to indicate the position of multiple parameters included in the aforementioned set of parameters in the first machine learning model. 604. The base station sends the DUI to the first device, and correspondingly, the first device receives the DUI. It should be noted that the UCI and DUI in Figure 6 can also be replaced by other types of signaling. The example in Figure 6 is only for the convenience of understanding this solution and is not used to limit this solution.

[0173] When different devices transmit identification information of trained parameters corresponding to the first machine learning model by sending signaling, optionally, the identification information of the parameters is carried in any one or more of the following information: DCI, UCI, SCI, RRC signaling, MAC CE, physical broadcast channel (PBCH), physical random access channel (PRACH) or other types of signaling, which are not listed here exhaustively.

[0174] For example, in the above-mentioned implementation method one, the terminal device (that is, an example of the first device) can carry the second identification information in the UCI, MAC CE or PRACH and send it to the base station. For another example, in the above-mentioned implementation method four, if the first device is a base station and the second device is a terminal device, the base station can carry the second identification information in the DCI, MAC CE or PBCH and send it to the terminal device. For another example, in the above-mentioned implementation method four, if the first device and the second device are both terminal devices, the first terminal device can carry the second identification information in the SCI or MAC CE and send it to the second terminal device, and so on; it should be noted that the various implementation methods mentioned above in which the identification information of the trained parameters corresponding to the first machine learning model is carried by signaling are not described one by one here. For other situations in which the aforementioned identification information is carried by signaling in the various implementation methods mentioned above, please refer to the aforementioned description for understanding.

[0175] In an embodiment of the present application, compared with transmitting at least one set of parameters of the first machine learning model and / or identification information of each set of parameters in a data packet, transmitting the identification information of the aforementioned at least one set of parameters and / or each set of parameters in a signaling has higher transmission efficiency and consumes less computer resources; in addition, the present solution provides a variety of signaling that can be used to transmit the identification information of the aforementioned at least one set of parameters and / or each set of parameters, thereby improving the implementation flexibility of the present solution.

[0176] In another implementation, the trained parameters corresponding to the first machine learning model and / or identification information of the aforementioned parameters may be carried in a data packet. That is, in the above implementations, the trained parameters corresponding to the first machine learning model and / or identification information of the aforementioned parameters are transmitted between different devices by sending data packets.

[0177] For example, in the above-mentioned implementation method one, the terminal device (also an example of the first device) can send a first data packet carrying the second identification information to the base station, and correspondingly, the base station can obtain the second identification information from the first data packet. For another example, the base station can send a second data packet to the terminal device (also an example of the first device), and the second data packet carries a set of trained parameters pointed to by the second identification information; the terminal device can obtain the aforementioned set of target parameters adopted by the first machine learning model from the second data packet. For another example, the terminal device (also an example of the first device) can send a third data packet to another terminal device (also an example of the second device), and the third data packet carries a set of target parameters adopted by the first machine learning model; the second device can obtain a set of target parameters adopted by the first machine learning model in the first device from the third data packet, and so on.

[0178] It should be noted that the specific implementation methods of Implementation Method 2, Implementation Method 3 and Implementation Method 4 are not described one by one here. The specific implementation methods of Implementation Method 2, Implementation Method 3 and Implementation Method 4 can be understood by referring to the above description of Implementation Method 1.

[0179] Optionally, during the data transmission between the first device and the second device, the first machine learning model may be retrained to optimize the parameters used in the first machine learning model, and the first device may obtain an updated set of parameters for the first machine learning model. Optionally, after obtaining the updated set of parameters for the first machine learning model, the first device may send the updated set of parameters for the first machine learning model to the second device.

[0180] For example, in one implementation, regardless of whether the first device is a terminal device or a base station, the base station retrains the first machine learning model to obtain an updated set of parameters for the first machine learning model. In one scenario, if the first device is a terminal device, the first device may send a request to the base station requesting the base station to retrain the first machine learning model. The base station then sends the updated set of parameters for the first machine learning model to the first device. Optionally, the first device may also send the updated set of parameters to the second device.

[0181] In another case, if the first device is a base station, after obtaining a set of updated parameters of the first machine learning model, the base station can also send the aforementioned set of updated parameters to the second device, so that the second device can determine the set of updated parameters adopted by the first machine learning model in the first device.

[0182] In another implementation, the first device retrains the first machine learning model to obtain a set of updated parameters of the first machine learning model. Optionally, the first device also sends the set of updated parameters of the first machine learning model to the second device.

[0183] For example, if the first device is a terminal device and the second device is a base station, then after the terminal device retrains the first machine learning model and obtains a set of updated parameters for the first machine learning model, it can send the aforementioned set of updated parameters to the base station. For another example, if the first device is a first terminal device and the second device is a second terminal device, then after the first terminal device retrains the first machine learning model and obtains a set of updated parameters for the first machine learning model, it can send the aforementioned set of updated parameters to the second terminal device, and so on. Various situations are not exhaustively listed here.

[0184] It should be noted that the method of sending "a set of updated parameters of the first machine learning model" between the various devices in the above-mentioned various implementation methods can be found in the above description and will not be repeated here.

[0185] 402. The first device obtains a value of T, where T is an integer greater than or equal to 1, and T represents the number of sub-data included in the output data of the first machine learning model.

[0186] In an embodiment of the present application, T represents the number of sub-data included in the output data of the first machine learning model. For example, if the task performed by the first machine learning model is modulation, the output data of the first machine learning model is modulated data, and the modulated data may include T groups of modulated symbols. For another example, if the task performed by the first machine learning model is encoding, the output data of the first machine learning model is encoded data, and the encoded data may include T groups of encoded bit data. For another example, if the task performed by the first machine learning model is to generate a reference signal, the output data of the first machine learning model is a reference signal, and T may represent the length of the aforementioned reference signal. For example, the length of the reference signal may indicate the number of symbols included in the reference signal.

[0187] 403. The first device obtains data to be processed.

[0188] 404. The first device determines whether the length of the data to be processed is less than H. If the determination result is yes, the process proceeds to step 405; if the determination result is no, the process proceeds to step 406, where H indicates the length of the first data.

[0189] In an embodiment of the present application, step 404 is an optional step. The first device can also obtain the length of the data to be processed and the value of H. The length of the data to be processed can be K, where K is an integer greater than or equal to 1, and H indicates the length of the first data, that is, H indicates the expected length of the input data of the first machine learning model, and H is an integer greater than or equal to 1.

[0190] After obtaining the values ​​of K and H, the first device may determine whether K is less than H; if the determination result is yes, proceed to step 405; if the determination result is no, proceed to step 406.

[0191] Optionally, the length of the data to be processed may be the number of bits of the data to be processed. For example, if the task performed by the first machine learning model is encoding, the data to be processed is data that needs to be encoded, and the length of the data to be processed may be the number of bits of the data that needs to be encoded. For another example, if the task performed by the first machine learning model is modulation, the data to be processed is data that needs to be modulated, and the length of the data to be processed may be the number of bits of the data that needs to be modulated. For another example, if the task performed by the first machine learning model is encoding and modulation, the data to be processed is data that needs to be encoded and modulated, and the length of the data to be processed is the number of bits of the data that needs to be encoded and modulated. For another example, if the task performed by the first machine learning model is to generate a reference signal, the data to be processed includes the index numbers of multiple reference signals, and the length of the data to be processed is the number of bits of the index numbers of the aforementioned multiple reference signals, and so on.

[0192] Alternatively, if the task performed by the first machine learning model is to generate a reference signal, the data to be processed includes the index numbers of multiple reference signals, and the length of the data to be processed can be the number of the aforementioned multiple reference signals, etc. The meaning of "the length of the data to be processed" can be flexibly determined based on actual conditions and is not limited here.

[0193] 405. The first device fills the data to be processed to obtain first data, where the length of the first data is H.

[0194] In the embodiment of the present application, step 405 is an optional step. If the first device determines that the length of the data to be processed is less than H, the first device can pad the data to be processed to obtain first data. If the length of the first data is H, the first data may include the data to be processed and the padding data. In the embodiment of the present application, when the length of the data to be processed is less than H, the data to be processed is padded to obtain first data of length H, and then the first data of length H is input into the first machine learning model. Therefore, regardless of the length of the data to be processed, the first machine learning model processes the first data of length H, which is not only compatible with data to be processed of any length, but also helps reduce the difficulty of the first machine learning model in data processing to obtain second data with better performance.

[0195] In one case, the padding data may include first identification information, and the first identification information is used to identify the value of T and / or the value of K. That is, the first identification information can be used to identify the value of T and the value of K, or can be used to identify the value of T, or can be used to identify the value of K. The value of T is the number of sub-data included in the output data of the first machine learning model, K is the length of the data to be processed, and both T and K are integers greater than or equal to 1.

[0196] Exemplarily, after obtaining the value of T and / or the value of K, the first device may use a first function to process the value of T and / or the value of K to obtain first identification information. The conditions that the first function needs to meet include: limiting the value of the first identification information to a preset range, and being able to map different values ​​of T and / or K to different values, that is, the value generated by the first function can uniquely identify a certain value of T and / or value of K, or in other words, the value generated by the first function can distinguish different values ​​of T and / or value of K.

[0197] Exemplarily, the first function may be a binary function, a linear function, or a nonlinear function. For example, taking the first identification information as an example for identifying the value of T and the value of K, an example of the first function is disclosed as follows: f(T,K)=1–2*((K-3)*11+(T-4)) / 98; (1)

[0198] Wherein, f(T, K) represents an example of the first function. The example in formula (1) is only for the convenience of understanding this solution and is not used to limit this solution.

[0199] In an embodiment of the present application, the first data carries first identification information for identifying the value of T and / or the value of K, then the first machine learning model can process the first data according to the value of T and / or the value of K, that is, according to the length of the output data of the first machine learning model and / or the length of the actual data to be processed, and then the second data output by the first machine learning model is conducive to obtaining second data with better performance.

[0200] Optionally, if there is remaining space in the padding data after carrying the first identification information, in one case, the padding data may also carry identification information of the first device. Exemplarily, if the first device is a terminal device, the first device may be the identification information of the terminal device; if the first device is a base station, the first device may be the identification information of the base station; for example, the identification information of the first device may be a radio network temporary identity (RNTI), a cell identity (ID), a physical cell identity (PCI), or other types of identification information, etc., which are not exhaustive here.

[0201] In another case, the padding data may also carry invalid information. For example, the remaining space in the padding data may be filled with 0, 1 or other values. The example here is only for the convenience of understanding this solution and is not used to limit this solution.

[0202] In order to further understand the present solution, an example of the code used by the first device when performing the above-mentioned filling operation is disclosed below. The data to be processed are b0, b1, ..., b K-1 :

[0203] As can be seen from the above code, in the process of filling the data to be processed, i is taken from 0 to H-1 in sequence. If i is less than K, b is obtained from the data to be processed. i , and b i Convert to c i And put it into the first data, c i Represents the i+1th data in the first data; if i is greater than or equal to K and less than H-1, 0 is filled into the first data; if i is equal to H-1, the first identification information is filled into the first data. The meaning of the first identification information can be found in the above description and will not be elaborated here. It should be understood that the examples here are only for the convenience of understanding this solution and are not used to limit this solution.

[0204] For a more intuitive understanding of this solution, please refer to Figure 7, which is a schematic diagram of the first data provided in an embodiment of this application. As shown in Figure 7, the first data includes the data to be processed, zeros for padding, and the first identification information. The example in Figure 7 is only for the convenience of understanding this solution and is not intended to limit this solution.

[0205] In another case, the padding data may include identification information of the first device but not the first identification information. In another case, the padding data may carry only invalid information.

[0206] 406. The first device merges the first identification information and the data to be processed to obtain first data. The first identification information is used to identify the value of T and / or the value of K, where K is the length of the data to be processed and K is an integer greater than or equal to 1.

[0207] In an embodiment of the present application, step 406 is an optional step. If the first device determines that the length of the data to be processed is equal to H, the first device may also fuse the first identification information and the data to be processed to obtain the first data. For the meaning of the first identification information, please refer to the above description and will not be elaborated here.

[0208] Exemplarily, “fusing the first identification information and the data to be processed” includes but is not limited to: concatenating, adding or fusing the first identification information and the data to be processed, etc., which is not limited here.

[0209] It should be noted that steps 404 to 406 are all optional steps. If steps 404 to 406 are not performed, the data to be processed can be directly determined as the first data. Alternatively, steps 404 and 405 can be omitted and only step 406 can be performed.

[0210] Alternatively, steps 404 and 405 may be performed, and step 406 may not be performed. Then, when the first device determines that the length of the data to be processed is equal to H, the data to be processed may be directly determined as the first data.

[0211] 407. The first device inputs the first data into the first machine learning model to obtain second data generated by the first machine learning model, where the second data includes T sub-data, wherein the first machine learning model includes one or more modules, and each time a module in the first machine learning model is called at least once, one sub-data is obtained.

[0212] In an embodiment of the present application, after the first device obtains the first data, in one implementation, the first device may directly input the first data into the first machine learning model. In another implementation, the first device may also scramble the first data using the identification information of the first device and input the scrambled first data into the first machine learning model. The meaning of the identification information of the first device can be found in the above description and is not further elaborated here.

[0213] “One sub-data is obtained at least once each time a module in the first machine learning model is called” means that one sub-data among T sub-data can be obtained each time a module in the first machine learning model is called at least once, or, one sub-data among T sub-data can be obtained each time multiple modules in the first machine learning model are called at least once.

[0214] The function of the first machine learning model includes any one or more of the following combinations: encoding, modulation, or generating a reference signal. For example, if the function of the first machine learning model is encoding, then the T sub-data represent T groups of encoded bit data, and each group of encoded bit data may include one or more bit data. For another example, if the function of the first machine learning model is modulation, then the T sub-data represent T groups of modulated symbols, and each group of modulated symbols may include one or more symbols. For another example, if the function of the first machine learning model is encoding and modulation, then the T sub-data represent T groups of encoded and modulated symbols, and each group of encoded and modulated symbols may include one or more symbols. For another example, if the function of the first machine learning model is to generate a reference signal, then the T sub-data may represent T groups of symbols in the reference signal, etc. It should be understood that the examples here are only for the convenience of understanding this solution and are not used to limit this solution.

[0215] In the embodiments of the present application, multiple functions of the first machine learning model are provided, which expands the application scenarios of the present solution and improves the implementation flexibility of the present solution.

[0216] In one case, the first machine learning model may include a first module and at least one second module, and the difference between the first module and the second module includes: the initial input of the first module is the first data or the scrambled first data, and the initial input of the second module is the feature information of the first data (or the scrambled first data).

[0217] Exemplarily, each time the second module in the first machine learning model is called once, one of the T sub-data can be obtained. Step 407 may include: the first device inputs the first data (or the scrambled first data) into the first module to obtain first sub-data generated by the first module, where the first sub-data is one of the T sub-data; the first device can obtain feature information of the first data during the process of using the first module to generate the first sub-data. The first device inputs the first feature information into the second module to obtain second sub-data generated by the second module, where the first feature information includes feature information generated when the module in the first machine learning model was last called to perform data processing, and the second sub-data is one of the T sub-data. In an embodiment of the present application, the first machine learning model includes a first module and at least one second module. The input of the first module of the first machine learning model is the entire first data, and the input of the second module is the feature information obtained when the module of the first machine learning model was called last time. The input when the second module is called for the first time is the feature information obtained when the entire first data is processed by the first module. Therefore, each time the feature information input into the second module refers to the entire first data, that is, when generating each sub-data in the T sub-data, the information of the entire first data is referred to, which is conducive to obtaining second data with better performance; and each time the second module is called once, one second sub-data among the T sub-data can be obtained, which is conducive to quickly obtaining the T sub-data included in the second data.

[0218] Regarding the acquisition process of the "first sub-data," specifically, the first device may obtain the first sub-data generated by the first module by calling the first module once or multiple times. Optionally, if the first device obtains the first sub-data generated by the first module by calling the first module multiple times, the first characteristic information input when the second module is first called is the characteristic information generated when the first module is last called. In one implementation, the first device inputs the first data (or the scrambled first data) into the first module, processes the first data (or the scrambled first data), and then directly outputs the first sub-data.

[0219] For example, the first module may use a convolutional neural network, a recurrent neural network, a fully connected neural network or other types of neural networks, etc., which are not limited here.

[0220] Optionally, the process of the first device using the first module to process the first data (or the first data after scrambling) may include: the first device performs a linear transformation on the first data (or the first data after scrambling) through the first module, and processes it using a third activation function to obtain characteristic information of the first data (or the first data after scrambling); performs a linear transformation on the characteristic information of the first data (or the first data after scrambling), and processes it using a fourth activation function to obtain the first sub-data generated by the first module.

[0221] Exemplarily, the activation function in the first machine learning module can be any of the following: tanh(x), max(min(a*x,+1),-1), sin(x) or other types of activation functions, etc. The examples here are only used to prove the feasibility of this solution and are not used to limit this solution.

[0222] The third activation function and the fourth activation function can use the same activation function or different activation functions. The specific settings can be flexibly made based on actual conditions and are not limited in the embodiments of the present application.

[0223] In another implementation, the first device inputs the first data (or the scrambled first data) into the first module, and processes the first data (or the scrambled first data) through the first module. The first device obtains the second characteristic information of the first data (or the scrambled first data) obtained in the aforementioned processing process, inputs the second characteristic information into the first module again, and processes the second characteristic information through the first module; the first device repeats the aforementioned steps of "obtaining the second characteristic information obtained in the process of the last call of the first module to process the data, inputting the second characteristic information into the first module again, and processing the second characteristic information through the first module" at least once, and uses the processing result of the last call of the first module to process the second characteristic information as the first sub-data.

[0224] Exemplarily, each time the first device processes input data using the first module, the process may include: the first device performing a linear transformation on the input data using the first module and processing the data using a third activation function to obtain transformed input data; and performing a linear transformation on the transformed input data and processing the data using a fourth activation function to obtain a processing result of the first module. The input data of the first module may be the first data (or the scrambled first data), or feature information of the first data (or the scrambled first data).

[0225] Regarding the acquisition process of "each second sub-data", specifically, each time the first device calls the second module, it will input the first characteristic information into the second module, and the first characteristic information will be processed by the second module to obtain the second sub-data generated by the second module. The second sub-data is one of the T sub-data.

[0226] Among them, the first feature information is the feature information generated when the module in the first machine learning model was last called for data processing; exemplarily, the first feature information can be the feature information generated when the first module in the first machine learning model was last called for data processing, or it can be the feature information generated when the second module in the first machine learning model was last called for data processing.

[0227] Exemplarily, each second module can use a convolutional neural network, a recurrent neural network, a fully connected neural network or other types of neural networks, etc., which are not limited here.

[0228] Optionally, each time the first device processes the first feature information using the second module, the process may include: the first device performing a linear transformation on the first feature information using the second module and processing the first feature information using a first activation function to obtain transformed feature information; and performing a linear transformation on the transformed feature information and processing the second activation function to obtain second sub-data generated by the second module. Both the first activation function and the second activation function are activation functions within the first machine learning model, and the specific activation function to be used can be flexibly set based on actual circumstances.

[0229] In an embodiment of the present application, a specific implementation method for the second module to perform data processing is provided. Since the above method is simple and easy to implement, it is not only beneficial to reduce the computer resources consumed in the process of generating the second data; but also the number of parameters used in the second module shown in the above method is relatively small, which is beneficial to reduce the communication resources consumed when transmitting the parameters of the first machine learning model.

[0230] To further understand the present solution, an example of a code for a first device to generate T sub-data is disclosed below. The T sub-data include x (0) ,x (1) ,…,x (T-1) In the following code, the first machine learning model includes a first module and a second module. A first sub-data is obtained by calling the first module once, and T-1 second sub-data are obtained by calling the second module T-1 times:

[0231] Refer to the above code, the parameters used in the first module include U, θ s , V and θ o , the parameters used in the second module include W, θs , V and θ o ,θ′ s represents θ s The transpose of θ′ o represents θ o In this example, the values ​​of the parameters used by the first module and the second module are the same, that is, the values ​​of U in the first module and W in the second module are the same. Where c represents the first data, c′ represents the transpose of the first data, Uc′+θ′ s represents the linear transformation of the first transposed data, s′0=tanh(Uc′+θ′ s ) represents the first data after the transposition is linearly transformed and processed by the third activation function to obtain the transformed first data s′0 (that is, the feature information s′0 of the first data). o′0=Vs′0+θ′ o represents o′0 obtained after linear transformation of the feature information s′0 of the first data, o0 represents the transpose of o′0, and exp(j2πo0) represents the first sub-data x0 obtained by processing o0 with the fourth activation function.

[0232] For each T-1 second sub-data from 1 to T-1, s′ t-1 Represents the first feature information, that is, the feature information generated when the module in the first machine learning model was called last time to process data. The processing method is similar to that of the first module. s′ t =tanh(Ws′ t-1 +θ′ s ) represents the first feature information subjected to linear transformation and processed using the first activation function to obtain the transformed feature information s′ t ; o′ t =Vs′ t +θ′ o Represents the transformed feature information s′ t After linear transformation, we get o′ t , o t Represents o′ t The transpose of exp(j2πo t ) represents the use of the second activation function to t Processing is performed to obtain a second sub-data x t , repeatedly calling the second module T-1 times can obtain T-1 second sub-data.

[0233] It should be noted that the example here in which the first machine learning model only includes a first module and a second module, and the parameters used in the first module and the second module are consistent, is only an example to facilitate understanding of this solution. In actual application, the parameters used in the first module and the second module may also be inconsistent, and the first machine learning model may also include multiple second modules.

[0234] For a more intuitive understanding of this solution, please refer to Figure 8, which is a schematic diagram of generating T sub-data using a first machine learning model provided in an embodiment of the present application. In Figure 8, taking the example of obtaining one sub-data among the T sub-data each time a module (i.e., the first module or the second module) in the first machine learning model is called once, as shown in Figure 8, after the first data is input into the first machine learning model, the first data can be linearly transformed by the first module, and processed using the third activation function to obtain S0 (i.e., the feature information of the first data), S0 is linearly transformed to obtain O0, and after processing O0, a first sub-data generated by the first module is obtained.

[0235] S0 generated in the process of calling the first module to process the first data is input into the second module of the first machine learning model, S0 is linearly transformed by the second module, and is processed by the first activation function to obtain S1 (that is, the updated feature information of the first data), S1 is linearly transformed to obtain O1, and after processing O1, the first second sub-data generated by the second module is obtained.

[0236] In the process of generating T-1 second sub-data, the feature information generated when the module of the first machine learning model was called last time (that is, S t-1 ) is input into the second module. For example, if the second module of the first machine learning model is called for the first time, the feature information (S t-1 An example) is input into the second module; if it is the second to T-1th time that the second module is called, the feature information (S t-1 Another example) input the second module currently called. t-1 Perform linear transformation and use the first activation function to process S t (i.e., the updated feature information of the first data), t Perform linear transformation to get O t , for O tAfter processing, the Tth sub-data generated by the second module is obtained. Then, T-1 second sub-data can be obtained by calling the second module T-1 times. T-1 second sub-data and 1 first sub-data can constitute T sub-data in the second data. The example in Figure 8 is only for the convenience of understanding this solution and is not used to limit this solution.

[0237] Optionally, the first machine learning model may include multiple second modules, wherein at least two of the multiple second modules use different parameters. That is, each time the first device calls a second module, it can generate one second sub-data, but different second modules may be called during the process of generating T-1 second data.

[0238] The meaning of "two second modules using different parameters" may include any of the following differences: the two second modules use parameters of the same type, but the parameter values ​​used in the two second modules are not exactly the same; or the types of parameters used in the two second modules are not exactly the same, etc., which are not exhaustive here. "The two second modules use the same parameters" means that the two second modules use parameters of exactly the same type and that the values ​​of each parameter are exactly the same.

[0239] For example, multiple second modules may include a second module 1, a second module 2, and a second module 3. If the value of T is 8, 7 second sub-data need to be generated. Each second module can be used to generate the same number (for example, 3) of second sub-data, that is, the second module 1 is used to generate the first 3 second data, the second module 2 is used to generate the 4th, 5th and 6th second sub-data, and the second module 3 is used to generate the 7th second sub-data.

[0240] For another example, the multiple second modules may include a second module 1, a second module 2, and a second module 3. If the value of T is 8, 7 second sub-data need to be generated. The number of second sub-data generated by each second module may also be different, that is, the second module 1 is used to generate the first 3 second data, the second module 2 is used to generate the 4th and 5th second sub-data, and the second module 3 is used to generate the 6th and 7th second sub-data. It should be noted that the examples here are only for the convenience of understanding this solution and are not used to limit this solution.

[0241] To further understand this solution, an example of a code when the first device uses multiple second modules to generate T-1 second sub-data is disclosed below:

[0242] Among them, for s′ t-1 ,W,θ′ s , V and θ′ o The meaning of can refer to the above description, which will not be repeated here.t Represents the t+1th sub-data among the T sub-data included in the second data, and the θ used by different second modules s and θ o The same, different second modules use different W and V, W t mod τ and V t mod τ Represents the periodic call of τ second modules, and there are τ groups of different parameters in τ second modules. t mod τ Specifically, it can be expressed as W0, W1…W τ-1 , V t mod τ Specifically, it can be expressed as V0, V1…V τ-1 , τ groups of different parameters include W0 and V0, W1 and V1...W τ-1 and V τ-1 , one cycle generates τ second sub-data through τ second modules, and the next cycle re-adopts the τ second modules. For example, the first machine learning model can include three second modules: second module 1, second module 2 and second module 3. Then, these three second modules can be called cyclically. After generating one second sub-data through the second module 1 (that is, using W1 and V1), and then generating one second sub-data through the second module 2 (that is, using W2 and V2), and then generating one second sub-data through the second module 3 (that is, using W0 and V0), the second module 1 can be called again, and so on. It should be understood that the examples here are only for the convenience of understanding this solution and are not used to limit this solution.

[0243] In an embodiment of the present application, multiple second modules can be used in the first machine learning model, and at least two of the multiple second modules use different parameters, that is, T-1 second sub-data are generated by different second modules, which is conducive to the matching between the parameters of the second module and the generated second sub-data, and thus is conducive to obtaining second data with better performance.

[0244] In another embodiment, the first machine learning model may include a first module and at least one third module. The difference between the first module and the third module is that the initial input of the first module is the first data or the scrambled first data, and the initial input of the third module is feature information of the first data (or the scrambled first data). The meaning of the "third module" is similar to that of the "second module" and can be understood by referring to the above description and is not further described here.

[0245] Exemplarily, each time the third module in the first machine learning model is called multiple times, one of the T sub-data can be obtained, then step 407 may include: the first device inputs the first data (or the first data after interference) into the first module, and generates the first sub-data through the first module, and the first sub-data is one of the T sub-data; the specific implementation method of the aforementioned steps can be found in the above description and will not be repeated here. The first device calls the third module multiple times to obtain the third sub-data generated by the third module, and the third sub-data is one of the T sub-data, wherein the input of the third module includes the feature information of the first data, and the feature information of the first data (or the first data after interference) is updated multiple times in the process of calling the third module multiple times.

[0246] The "process of the third module processing input data" is similar to the "process of the second module processing input data," differing in that each time the first device calls the second module, it uses the processing result generated by the second module as the second sub-data. However, the first device needs to call the third module multiple times, repeatedly updating the feature information of the first data (or the first data after interference) during these calls, before using the processing result obtained from the last call to the third module as the third sub-data. The third sub-data, second sub-data, and first sub-data are all sub-data included in the second data. The meaning of the sub-data can be found in the above description and is not elaborated here.

[0247] Exemplarily, the first device inputs the characteristic information of the first data (or the first data after interference) into the third module, and processes the first data through the third module, wherein the aforementioned processing includes updating the characteristic information of the first data. The first device inputs the updated characteristic information of the first data (or the first data after interference) into the third module again, and processes the updated characteristic information of the first data (or the first data after interference) through the third module again, wherein the aforementioned processing includes updating the characteristic information of the first data (or the first data after interference) again. The first device repeats the aforementioned operation at least once, and when the number of times the characteristic information of the first data (or the first data after interference) is processed using the third module reaches a preset number, a third sub-data generated by the third module is obtained.

[0248] To further understand this solution, an example of code used when generating a third sub-data using a third module is disclosed below:

[0249] Among them, for W, θ′ s , V, θ′ o and x t The meaning of s′ can be found in the above description and will not be elaborated here.tl-1 Represents the characteristic information of the first data generated when the third module was last called, s′ tN represents the updated feature information of the first data generated after the feature information of the first data is updated N times, x t Represents a third sub-data generated after calling the third module N times, where N is an integer greater than or equal to 2. The example here is only for the convenience of understanding this solution and is not used to limit this solution.

[0250] In an embodiment of the present application, after calling the third module multiple times to update the characteristic information of the first data multiple times, a third sub-data is generated based on the latest updated characteristic information of the first data. After multiple updates to the first data, it is helpful to have a more thorough understanding of the first data, thereby generating sub-data with better performance.

[0251] Optionally, the size of the parameters in the first machine learning model is related to the value of H and the value of G, where H is the length of the first data and G is the length of each sub-data in the T sub-data.

[0252] For example, if the function of the first machine learning model is encoding, then the T sub-data represent T groups of encoded bit data, and G represents the number of bits in each group of encoded bit data. For another example, if the function of the first machine learning model is modulation, then the T sub-data represent T groups of modulated symbols, and G represents the number of symbols in each group of modulated symbols. For another example, if the function of the first machine learning model is encoding and modulation, then the T sub-data represent T groups of modulated symbols, and G represents the number of symbols in each group of modulated symbols. For another example, if the function of the first machine learning model is to generate a reference signal, then the T sub-data can represent T groups of symbols in the reference signal, and G represents the number of symbols in each group of symbols, etc. It should be understood that the examples here are only for the convenience of understanding this solution and are not used to limit this solution.

[0253] For example, the value of H is 12, the value of G is 12, and the parameters used in the first machine learning model may include U, W, θ s , V, and θ o , then it can be That is, U is a 12 by 12 matrix, the size of U is 12 in length and width, the size of W and V is the same as that of U, θ s is a 1 by 12 vector, θ s The dimensions are width 1 and length 12, θ o The size and θ s The same size.

[0254] For another example, the value of H is 6, the value of G is 6, and the parameters used in the first machine learning model may include U, W, θ s , V, and θo , then it can be That is, U is a 6 by 6 matrix, the size of U is 6 in length and width, the size of W and V is the same as that of U, θ s is a 1 by 6 vector, θ s The dimensions are width 1 and length 6, θ o The size and θ s The same size.

[0255] For another example, the value of H is 12, the value of G is 6, and the parameters used in the first machine learning model may include U, W, θ s , V, and θ o , then it can be For,W,θ s , V, and θ o The explanation of the size can be found in the above description and will not be repeated here. It should be noted that the examples here are only for the convenience of understanding this solution and are not used to limit this solution.

[0256] In an embodiment of the present application, the size of the parameters in the first machine learning model is designed based on the length of the first data and the length of each sub-data in the T sub-data, which is beneficial to reducing the number of parameters in the first machine learning model while meeting the output requirements, and is beneficial to further reducing the communication resources consumed by transmitting the parameters of the first machine learning model.

[0257] 408. The first device determines a signal to be sent according to the second data.

[0258] In an embodiment of the present application, after generating the second data using the first machine learning model, the first device may further determine a signal to be transmitted based on the second data. For example, if the function of the first machine learning model is encoding, the second data is encoded data, and the first device needs to modulate the second data to obtain the signal to be transmitted.

[0259] For another example, if the function of the first machine learning model is modulation, the second data is modulated data, and the first device can also use truncation to rate match the second data to obtain the signal to be sent.

[0260] For another example, if the function of the first machine learning model is coding and modulation, the second data is the encoded and modulated data, and the first device can also use a truncation method to rate match the second data to obtain the signal to be sent.

[0261] For another example, if the function of the first machine learning model is to generate a reference signal, the second data is the reference signal, and the first device can determine the reference signal as the signal to be sent.

[0262] It should be noted that the first device may also perform other operations in the process of obtaining the second data and determining the signal to be sent according to the second data, which is not limited here.

[0263] 409. The first device sends the signal to be sent to the second device.

[0264] 410. The second device obtains second data, where the second data includes T sub-data, where T is an integer greater than or equal to 1. The second data is generated by a first machine learning model in the first device, where the first machine learning model includes one or more modules. Each time a module in the first machine learning model is called, one sub-data is obtained at least once.

[0265] In an embodiment of the present application, in some application scenarios, if the function of the first machine learning model is encoding and / or modulation, the second device can denoise the received signal after obtaining the received signal corresponding to the signal to be sent, and obtain the received second data (i.e., the estimated second data) from the denoised received signal. For the meaning of the second data, please refer to the above description and will not go into details here.

[0266] For example, if the second data is encoded data, that is, the function of the first machine learning model is encoding, then the denoised received signal is demodulated to obtain the received second data. For another example, if the second data is modulated data, that is, the function of the first machine learning model is modulation, or the function of the first machine learning model is encoding and modulation, then the denoised received signal can be directly determined as the second data.

[0267] In other application scenarios, if the function of the first machine learning model is to generate a reference signal, the second device can determine the estimated channel information based on the received signal after obtaining the received signal (that is, the received second data) corresponding to the signal to be sent.

[0268] 411. The second device generates first data based on the second data.

[0269] In an embodiment of the present application, after obtaining the received second data, the second device may generate estimated first data based on the received second data. Optionally, the second device may obtain a set of parameters used by the first machine learning model in the first device. The specific implementation of the aforementioned steps can be found in the description of step 401. The second device may demodulate and / or decode the second data based on the set of parameters used by the first machine learning model in the first device to generate the estimated first data.

[0270] Exemplarily, in one implementation, the second device demodulates and / or decodes the second data based on a set of parameters adopted by the first machine learning model in the first device, which may include: after obtaining a set of parameters adopted by the first machine learning model, the second device can determine what operations the first device has performed on the first data using the first machine learning model, and then use an estimation algorithm to perform an inverse operation on the second data to achieve demodulation and / or decoding of the second data, where the aforementioned inverse operation is the inverse operation of the operation performed on the first data using the first machine learning model.

[0271] For example, the estimation algorithm may be any of the following: maximum likelihood estimation algorithm, maximum a posteriori probability estimation or other types of estimation algorithms, etc. The examples given here are only for facilitating the understanding of this solution and are not intended to limit this solution.

[0272] In another implementation, the second device demodulates and / or decodes the second data based on a set of parameters adopted by the first machine learning model in the first device, which may include: after obtaining the set of parameters adopted by the first machine learning model, the second device may obtain a second machine learning model corresponding to the first machine learning model, input the second data into the second machine learning model, and demodulate and / or decode the second data through the second machine learning model. It should be noted that the second device may also obtain the estimated first data in other ways. The examples here are only used to demonstrate the feasibility of this solution and are not used to limit this solution.

[0273] 2. Training Phase

[0274] Specifically, please refer to Figure 9, which is a schematic diagram of the training method of the model provided in an embodiment of the present application. As shown in Figure 9, the training method of the model includes steps 901 to 903.

[0275] 901. Acquire training data from a training data set, wherein the training data is used to obtain first data and a value of T, where T is an integer greater than or equal to 1, and at least two training data in the training data set include different values ​​of T.

[0276] In an embodiment of the present application, a training data set may be present in the training device. During each training process, the training device may obtain one or more training data from the training data set. Each training data may include a value of T, where T represents the number of sub-data included in the output data of the first machine learning model, and at least two training data in the training data set may include different values ​​of T.

[0277] Exemplarily, each training data may also include data to be processed, and the training device may directly determine the aforementioned data to be processed as the first data; or, the first data may be obtained based on the aforementioned data to be processed using the method shown in steps 403 to 406 in the corresponding embodiment of Figure 4. The specific implementation method can refer to the description in the corresponding embodiment of Figure 4 above, and the meaning of the noun in step 901 can also be understood in conjunction with the description in the corresponding embodiment of Figure 4, which will not be repeated here.

[0278] 902. Input the first data into the first machine learning model to obtain second data generated by the first machine learning model, where the second data includes T sub-data, wherein the first machine learning model includes multiple modules, and each time a module in the first machine learning model is called at least once, a sub-data generated by the module is obtained.

[0279] In the embodiment of the present application, the training device inputs the first data into the first machine learning model to obtain the second data generated by the first machine learning model. The specific implementation of step 902 and the meaning of the terms in step 902 can be found in the description of step 407 in the corresponding embodiment of FIG. 4 , and are not described in detail here. It should be noted that the training device in steps 901 and 902 can be a terminal device or a base station, and the specific setting can be flexibly determined according to actual conditions.

[0280] 903. Based on the second data and the loss function, train the first machine learning model to obtain a trained first machine learning model.

[0281] In the embodiment of the present application, after obtaining the second data, the training device can train the first machine learning model based on the second data and the loss function to obtain a trained first machine learning model. It should be noted that step 903 can be performed by the same device or by different devices.

[0282] In one implementation, step 903 is performed by the same device, and the training device in step 903 can be a terminal device or a base station. In one case, the function of the first machine learning model includes encoding and / or modulation, and step 903 includes: denoising a received signal corresponding to the signal to be transmitted to obtain a denoised received signal, demodulating and / or decoding the denoised received signal to obtain estimated data corresponding to the data to be processed; and training the first machine learning model based on the estimated data and a first loss function, where the first loss function indicates the similarity between the estimated data and the data to be processed.

[0283] Specifically, in one implementation, the function of the first machine learning model is modulation. After obtaining the second data (that is, the modulated data), the training device can directly determine the second data as the signal to be sent; the training device obtains the received signal corresponding to the signal to be sent, denoises the received signal to obtain the denoised received signal, and demodulates the denoised received signal to obtain the estimated data corresponding to the data to be processed. The training device generates the similarity between the data to be processed and the estimated data, that is, obtains the function value of the first loss function, and uses the function value of the first loss function to update the weight parameters of the first machine learning model, thereby realizing one training of the first machine learning model. Exemplarily, the first loss function can be a cross entropy loss function, an L1 loss function, or other types of loss functions, etc., which can be flexibly determined in combination with the actual application scenario, and is not limited in the embodiments of the present application.

[0284] Exemplarily, the training device obtaining a received signal corresponding to the signal to be sent may include: the training device multiplies the signal to be sent with the channel matrix, and adds the result of the multiplication to the noise to obtain the received signal, and the aforementioned steps are for simulating the process of the signal to be sent being transmitted through the channel.

[0285] It should be noted that in the process of multiple training of the first machine learning model, the same channel matrix and noise can be used, or different channel matrices and / or different noises can be used. Different channel matrices and / or different noises are used to simulate channel environments with different signal-to-noise ratios.

[0286] In another implementation, the function of the first machine learning model is encoding. After obtaining the second data (i.e., the encoded data), the training device can also modulate the second data to obtain a signal to be transmitted. The training device obtains a received signal corresponding to the signal to be transmitted, denoises the received signal to obtain a denoised received signal, and demodulates and decodes the denoised received signal to obtain estimated data corresponding to the data to be processed in the training data. The training device trains the first machine learning model based on the data to be processed, the estimated data, and the first loss function. The aforementioned steps and the specific implementation of "the training device obtains a received signal corresponding to the signal to be transmitted" can be found in the above description and will not be repeated here.

[0287] In another implementation, the function of the first machine learning model is modulation. After obtaining the second data (i.e., the modulated data), the training device can use a truncation method to rate match the second data to obtain the signal to be transmitted. The training device obtains a received signal corresponding to the signal to be transmitted, denoises the received signal to obtain a denoised received signal, and demodulates the denoised received signal to obtain estimated data corresponding to the data to be processed in the training data. The subsequent steps performed by the training device can be found in the above description and are not repeated here.

[0288] In another implementation, the function of the first machine learning model is encoding and modulation. After obtaining the second data (i.e., the encoded and modulated data), the training device can use a truncation method to rate match the second data to obtain the signal to be sent; the training device obtains the received signal corresponding to the signal to be sent, denoises the received signal to obtain a denoised received signal, and demodulates and decodes the denoised received signal to obtain estimated data corresponding to the data to be processed in the training data. The subsequent steps performed by the training device can be found in the above description and will not be repeated here.

[0289] In another case, the function of the first machine learning model is to generate a reference signal, and the second data is the reference signal. The training device can generate a received reference signal corresponding to the reference signal, and generate predicted channel information based on the received reference signal corresponding to the reference signal. The specific implementation method of "the training device generates a received reference signal corresponding to the reference signal" is similar to the specific implementation method of "the training device generates a received signal corresponding to the signal to be sent", the difference being that "the signal to be sent" is replaced by "reference signal", and "the received signal" is replaced by "the received reference signal", which will not be repeated here.

[0290] The training device trains the first machine learning model based on a second loss function, where the second loss function indicates the similarity between the predicted channel information and the correct channel information. Exemplarily, the training device calculates the similarity between the predicted channel information and the correct channel information to obtain a function value of the second loss function, and uses the function value of the second loss function to update weight parameters of the first machine learning model, thereby completing a single training of the first machine learning model.

[0291] In another implementation, step 903 is performed jointly by two training devices (hereinafter referred to as the first training device and the second training device for ease of description). For example, the first training device may be a base station, and the second training device may be a terminal device that requests the base station to retrain the first machine learning model; for another example, the first training device may be the first device, and the second training device may be the second device.

[0292] In one case, the functions of the first machine learning model include encoding and / or modulation. Compared with step 903 performed by the same device, the difference of this implementation method mainly lies in the implementation method of "obtaining a received signal corresponding to the signal to be sent". For example, after the first training device obtains the signal to be sent based on the second data, the signal to be sent is sent to the second training device. The second training device receives the received signal, and then the second training device obtains estimated data corresponding to the data to be processed; the first machine learning model is trained according to the estimated data and the first loss function.

[0293] In an embodiment of the present application, a specific implementation method for training the first machine learning model is provided when the functions of the first machine learning model include encoding and / or modulation, which reduces the implementation difficulty of this solution, and the loss function adopts the similarity between the estimated data and the data to be processed, that is, the goal of the loss function is to obtain estimated data with better performance. The loss function is more in line with the actual needs when sending data between devices, and the second data output by the trained first machine learning model is more in line with actual needs.

[0294] In another case, the function of the first machine learning model is to generate a reference signal. Compared with step 903 performed by the same device, the difference of this implementation method mainly lies in the implementation method of "obtaining a received reference signal corresponding to the reference signal". For example, after obtaining the reference signal, the first training device sends the reference signal to the second training device; after the second training device obtains the received reference signal, it generates predicted channel information based on the received reference signal; the second training device trains the first machine learning model according to the loss function.

[0295] In an embodiment of the present application, a specific implementation method for training the first machine learning model when the function of the first machine learning model is to generate a reference signal is also provided, which expands the application scenarios of this solution and improves the implementation flexibility of this solution.

[0296] The training device repeatedly executes steps 901 to 903 to iteratively train the first machine learning model until the convergence condition of the first loss function is met, thereby obtaining a set of trained parameters of the first machine learning model.

[0297] In addition, the training device can also use multiple different training data sets to train the first machine learning model separately, thereby obtaining multiple sets of trained parameters of the first machine learning model.

[0298] In the embodiment of the present application, not only is an implementation method of the first machine learning model in the inference phase provided, but also an implementation method of the first machine learning model in the training phase is provided, thereby reducing the difficulty of implementing this solution.

[0299] On the basis of the embodiments corresponding to Figures 1 to 9 above, please refer to Figure 10, which is a schematic diagram of a data processing device provided in an embodiment of the present application. The data processing device 1000 can implement the function of the first device in the above method embodiment, and therefore can also achieve the beneficial effects possessed by the above method embodiment. The data processing device 1000 may include a processing module 1001; wherein, the processing module 1001 is used to obtain the value of T, T is an integer greater than or equal to 1, and T represents the number of sub-data included in the output data of the first machine learning model; the processing module 1001 is also used to input the first data into the first machine learning model to obtain the second data generated by the first machine learning model, the second data including T sub-data, wherein the first machine learning model includes one or more modules, and each time a module in the first machine learning model is called at least once, one sub-data is obtained.

[0300] Optionally, the functions of the first machine learning model include any one or a combination of the following: encoding, modulation, and generating a reference signal.

[0301] Optionally, the multiple modules in the first machine learning model include a first module and at least one second module, and the processing module 1001 is specifically used to: input the first data into the first module to obtain first sub-data generated by the first module, and the first sub-data is one of T sub-data; input the first feature information into the second module to obtain second sub-data generated by the second module, wherein the first feature information includes the feature information generated when the module in the first machine learning model was last called for data processing, the second sub-data is one of T sub-data, and the module in the first machine learning model last called is the first module or the second module.

[0302] Optionally, the multiple modules in the first machine learning model include a first module and at least one third module, and the processing module 1001 is specifically used to: input the first data into the first module, generate first sub-data through the first module, the first sub-data is one of T sub-data, and the process of generating the first sub-data through the first module includes feature extraction of the first data; call the third module multiple times to obtain third sub-data generated by the third module, the third sub-data is one of T sub-data, wherein the input of the third module includes feature information of the first data, and the feature information of the first data is updated multiple times in the process of calling the third module multiple times.

[0303] Optionally, the processing module 1001 is specifically used to: perform a linear transformation on the first feature information through the second module, and process it using a first activation function to obtain the transformed feature information; perform a linear transformation on the transformed feature information, and process it using a second activation function to obtain second sub-data.

[0304] Optionally, the at least one second module includes multiple second modules, wherein parameters adopted by at least two second modules in the multiple second modules are different.

[0305] Optionally, the processing module 1001 is further used to obtain the value of the data to be processed and H, where H is an integer greater than or equal to 1, and H indicates the length of the first data; the processing module 1001 is also used to pad the data to be processed if the length of the data to be processed is less than H to obtain the first data, and the length of the first data is H.

[0306] Optionally, the first data includes data to be processed and padding data, the padding data includes first identification information, the first identification information is used to identify the value of T and / or the value of K, K is the length of the data to be processed, and K is an integer greater than or equal to 1.

[0307] Optionally, the size of the parameters in the first machine learning model is related to the value of H and the value of G, where G is the length of each sub-data.

[0308] Optionally, the parameters corresponding to the first machine learning model are carried in one or more of the following information: downlink control information DCI, uplink control information UCI, sidelink control information SCI, radio resource control RRC signaling or media access control control element MAC CE; and / or, the identification information of the parameter is carried in any one or more of the following information: DCI, UCI, SCI, RRC signaling, MAC CE, physical broadcast channel PBCH or physical random access channel PRACH.

[0309] Optionally, the data processing device 1000 is applied to the first device, and the second device is the receiving end of the second data. The second device has multiple groups of parameters corresponding to the first machine learning model and identification information of each group of parameters, please refer to Figure 10. The data processing device 1000 may also include: a transceiver module 1002, used to send second identification information to the second device, and the second identification information is used to indicate a set of parameters adopted by the first machine learning model in the first device.

[0310] Please refer to Figure 11, which is another schematic diagram of the data processing device provided in an embodiment of the present application. The data processing device 1100 can implement the functions of the second device in the above-mentioned method embodiment, and thus can also achieve the beneficial effects possessed by the above-mentioned method embodiment. The data processing device 1100 may include a processing module 1101; wherein the processing module 1101 is used to obtain second data; and generate first data based on the second data. The second data includes T sub-data, T is an integer greater than or equal to 1, and the second data is generated by the first machine learning model in the first device. The first machine learning model includes one or more modules, and each time a module in the first machine learning model is called at least once, a sub-data is obtained.

[0311] In one possible implementation, the parameters corresponding to the first machine learning model are carried in one or more of the following information: downlink control information DCI, uplink control information UCI, sidelink control information SCI, radio resource control RRC signaling or media access control control element MAC CE; and / or, the identification information of the parameters is carried in any one or more of the following information: DCI, UCI, SCI, RRC signaling, MAC CE, physical broadcast channel PBCH or physical random access channel PRACH.

[0312] In one possible implementation, the data processing device is applied to a second device, and the second device contains third data. The third data includes multiple sets of parameters corresponding to the first machine learning model and identification information for each set of parameters. Referring to FIG11 , the data processing device 1100 may further include: a transceiver module 1102 for receiving second identification information sent by the first device; and a processing module 1101 for determining a set of parameters used by the first machine learning model in the first device based on the second identification information and the third data. Processing module 1101 is specifically configured to generate first data based on the set of parameters used by the first machine learning model in the first device and the second data.

[0313] Please refer to Figure 12, which is a schematic diagram of a model training device provided in an embodiment of the present application. The model training device 1200 can implement the functions of the model training device in the above-mentioned method embodiment, and thus can also achieve the beneficial effects possessed by the above-mentioned method embodiment. The model training device 1200 may include a processing module 1201; wherein, the processing module 1201 is used to obtain training data from a training data set, wherein the training data is used to obtain the first data and the value of T, T is an integer greater than or equal to 1, and the values ​​of T included in at least two training data in the training data set are different; the processing module 1201 is also used to input the first data into the first machine learning model to obtain the second data generated by the first machine learning model, the second data including T sub-data, wherein the first machine learning model includes multiple modules, and each module in the first machine learning model is called at least once to obtain a sub-data generated by the module; the processing module 1201 is also used to train the first machine learning model based on the second data and the loss function to obtain the trained first machine learning model.

[0314] In one possible implementation, the functionality of the first machine learning model includes any one or a combination of the following: encoding, modulation, or generating a reference signal.

[0315] In one possible implementation, the multiple modules in the first machine learning model include a first module and at least one second module, and the processing module 1201 is specifically used to: input the first data into the first module to obtain the first sub-data generated by the first module, and the first sub-data is one of the T sub-data; input the first feature information into the second module to obtain the second sub-data generated by the second module, wherein the first feature information includes the feature information generated when the module in the first machine learning model was last called for data processing, the second sub-data is one of the T sub-data, and the module in the first machine learning model last called is the first module or the second module.

[0316] In one possible implementation, the processing module 1201 is further used to obtain the data to be processed from the training data; the processing module 1201 is further used to obtain the value of H, where H is an integer greater than or equal to 1, and H indicates the length of the first data; the processing module 1201 is further used to pad the data to be processed if the length of the data to be processed is less than H to obtain the first data, and the length of the first data is H.

[0317] In one possible implementation, when the function of the first machine learning model includes encoding and / or modulation, the second data is used to determine the signal to be sent, and the processing module 1201 is specifically used to: demodulate and / or decode the received signal corresponding to the signal to be sent to obtain estimated data corresponding to the data to be processed; train the first machine learning model based on the estimated data and the loss function, and the loss function indicates the similarity between the estimated data and the data to be processed.

[0318] In one possible implementation, when the second data is a reference signal, based on the second data and the loss function, the processing module 1201 is specifically used to: generate predicted channel information according to the received reference signal corresponding to the reference signal; train the first machine learning model according to the loss function, and the loss function indicates the similarity between the predicted channel information and the correct channel information.

[0319] Please refer to Figure 13, which is a schematic diagram of an apparatus provided in an embodiment of the present application. The communication apparatus 1300 may be specifically the apparatus as a terminal device in the above embodiment, and the example shown in Figure 13 is implemented by the terminal device (or a component in the terminal device).

[0320] Herein, a possible logical structure diagram of the communication device 1300 is shown. The communication device 1300 may include but is not limited to at least one processor 1301 and a communication port 1302 .

[0321] Optionally, the device may further include at least one of a memory 1303 and a bus 1304 . In an embodiment of the present application, the at least one processor 1301 is used to control and process the actions of the communication device 1300 .

[0322] In addition, the processor 1301 can be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field-programmable gate array, or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a digital signal processor and a microprocessor, and so on. Those skilled in the art will clearly understand that for the sake of convenience and brevity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0323] It should be noted that when the first device, the second device or the training device involved in the above embodiments is specifically manifested as a terminal device, the device 1300 shown in Figure 13 can be used to implement the steps implemented by the terminal device in the aforementioned method embodiment. The specific implementation methods of the device 1300 shown in Figure 13 to perform the aforementioned steps can refer to the description in the aforementioned method embodiment, and will not be repeated here one by one.

[0324] Please refer to Figure 14, which is another schematic diagram of an apparatus provided in an embodiment of the present application. Apparatus 1400 may specifically be the apparatus as a network device in the aforementioned embodiment. The example shown in Figure 14 illustrates a network device implemented via a network device (or a component in a network device). That is, when the first apparatus, second apparatus, or training device involved in the aforementioned embodiment is specifically a network device, the apparatus 1400 shown in Figure 14 may be used for implementation. For example, when the first apparatus, second apparatus, or training device is a base station, the apparatus 1400 shown in Figure 14 may be used for implementation.

[0325] The structure of the communication device can refer to the structure shown in Figure 14. The device 1400 includes at least one processor 1411 and at least one network interface 1412. Further optionally, the communication device also includes at least one memory 1414, at least one transceiver 1413 and one or more antennas 1415. The processor 1411, the memory 1414, the transceiver 1413 and the network interface 1412 are connected, for example, via a bus. In the embodiment of the present application, the connection may include various interfaces, transmission lines or buses, etc., which are not limited in this embodiment. The antenna 1415 is connected to the transceiver 1413. The network interface 1412 is used to enable the communication device to communicate with other communication devices through a communication link. For example, the network interface 1412 may include a network interface between the communication device and the core network device, such as an S1 interface, and the network interface may include a network interface between the communication device and other communication devices (such as other network devices or core network devices), such as an X2 or Xn interface.

[0326] Processor 1411 is primarily used to process communication protocols and communication data, control the entire communication device, execute software programs, and process software program data, for example, to support the communication device in performing the actions described in the embodiments. The communication device may include a baseband processor and a central processing unit. The baseband processor is primarily used to process communication protocols and communication data, while the central processing unit is primarily used to control the entire terminal device, execute software programs, and process software program data. Processor 1411 in Figure 14 may integrate the functions of both a baseband processor and a central processing unit. Those skilled in the art will appreciate that the baseband processor and the central processing unit may also be independent processors interconnected via a bus or other technology. Those skilled in the art will appreciate that a terminal device may include multiple baseband processors to accommodate different network standards, multiple central processing units to enhance its processing capabilities, and various components of the terminal device may be connected via various buses. The baseband processor may also be referred to as a baseband processing circuit or a baseband processing chip. The central processing unit may also be referred to as a central processing circuit or a central processing chip. The functionality for processing communication protocols and communication data may be built into the processor or stored in memory as a software program, which is executed by the processor to implement the baseband processing functionality.

[0327] The memory is primarily used to store software programs and data. Memory 1414 can exist independently and be connected to processor 1411. Alternatively, memory 1414 and processor 1411 can be integrated together, for example, within a single chip. Memory 1414 can store program code for executing the technical solutions of the embodiments of the present application, and execution is controlled by processor 1411. The various computer program codes executed can also be considered drivers for processor 1411.

[0328] Figure 14 shows only one memory and one processor. In an actual terminal device, there may be multiple processors and multiple memories. The memory may also be referred to as a storage medium or a storage device. The memory may be a storage element on the same chip as the processor, i.e., an on-chip storage element, or an independent storage element, which is not limited in the present embodiment.

[0329] The transceiver 1413 can be used to support the reception or transmission of radio frequency signals between the communication device and the terminal. The transceiver 1413 can be connected to the antenna 1415. The transceiver 1413 includes a transmitter Tx and a receiver Rx. Specifically, one or more antennas 1415 can receive radio frequency signals. The receiver Rx of the transceiver 1413 is used to receive the radio frequency signal from the antenna, convert the radio frequency signal into a digital baseband signal or a digital intermediate frequency signal, and provide the digital baseband signal or digital intermediate frequency signal to the processor 1411 so that the processor 1411 can further process the digital baseband signal or digital intermediate frequency signal, such as demodulation and decoding. In addition, the transmitter Tx in the transceiver 1413 is also used to receive a modulated digital baseband signal or digital intermediate frequency signal from the processor 1411, convert the modulated digital baseband signal or digital intermediate frequency signal into a radio frequency signal, and transmit the radio frequency signal through one or more antennas 1415. Specifically, the receiver Rx can selectively perform one or more stages of down-mixing and analog-to-digital conversion on the RF signal to obtain a digital baseband signal or a digital intermediate frequency signal. The order of the down-mixing and analog-to-digital conversion processes is adjustable. The transmitter Tx can selectively perform one or more stages of up-mixing and digital-to-analog conversion on the modulated digital baseband signal or digital intermediate frequency signal to obtain a RF signal. The order of the up-mixing and digital-to-analog conversion processes is adjustable. The digital baseband signal and the digital intermediate frequency signal may be collectively referred to as digital signals.

[0330] The transceiver 1413 may also be referred to as a transceiver unit, a transceiver, a transceiver device, etc. Optionally, a device in the transceiver unit that implements a receiving function may be referred to as a receiving unit, and a device in the transceiver unit that implements a transmitting function may be referred to as a transmitting unit. That is, the transceiver unit includes a receiving unit and a transmitting unit. The receiving unit may also be referred to as a receiver, an input port, a receiving circuit, etc., and the transmitting unit may be referred to as a transmitter, a transmitter, or a transmitting circuit, etc.

[0331] Exemplarily, when the first device, the second device or the training device involved in the above embodiments is specifically manifested as a base station, the device 1400 shown in Figure 14 can be used to implement the steps implemented by the base station in the aforementioned method embodiment. The specific implementation methods of the device 1400 shown in Figure 14 to perform the aforementioned steps can all be referred to the description in the aforementioned method embodiment, and will not be repeated here one by one.

[0332] A computer-readable storage medium is also provided in an embodiment of the present application, which stores a program for signal processing. When the computer-readable storage medium is run on a computer, the computer executes the steps executed by the first device in the method described in the embodiments shown in Figures 3 to 8 above, or the computer executes the steps executed by the second device in the method described in the embodiments shown in Figures 3 to 8 above, or the computer executes the steps executed by the training device in the method described in the embodiment shown in Figure 9 above.

[0333] Also provided in an embodiment of the present application is a computer program product, which, when executed on a computer, enables the computer to execute the steps executed by the first device in the method described in the embodiments shown in Figures 3 to 8 above, or enables the computer to execute the steps executed by the second device in the method described in the embodiments shown in Figures 3 to 8 above, or enables the computer to execute the steps executed by the training device in the method described in the embodiment shown in Figure 9 above.

[0334] The first device, the second device, the training device, the data processing device or the model training device provided in the embodiments of the present application can be specifically a chip, and the chip includes: a processing unit and a communication unit. The processing unit can be, for example, a processor, and the communication unit can be, for example, an input / output interface, a pin or a circuit. The processing unit can execute the computer-executable instructions stored in the storage unit to enable the chip to perform the data processing method described in the embodiments shown in Figures 3 to 8 above, or to enable the chip to perform the model training method described in the embodiment shown in Figure 9 above. Optionally, the storage unit is a storage unit within the chip, such as a register, a cache, etc. The storage unit can also be a storage unit located outside the chip within the wireless access device, such as a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM), etc.

[0335] Specifically, see Figure 15 , which is a schematic diagram of the structure of a chip provided in an embodiment of the present application. The chip can be implemented as a neural network processor NPU 150. NPU 150 is mounted on the host CPU (host CPU) as a coprocessor and is assigned tasks by the host CPU. The core of the NPU is the arithmetic circuit 150, which controls the arithmetic circuit 1503 through the controller 1504 to extract matrix data from the memory and perform multiplication operations.

[0336] In some implementations, arithmetic circuit 1503 includes multiple processing units (PEs). In some implementations, arithmetic circuit 1503 is a two-dimensional systolic array. Arithmetic circuit 1503 can also be a one-dimensional systolic array or other electronic circuitry capable of performing mathematical operations such as multiplication and addition. In some implementations, arithmetic circuit 1503 is a general-purpose matrix processor.

[0337] For example, assume there are input matrix A, weight matrix B, and output matrix C. The arithmetic circuit retrieves the corresponding data of matrix B from weight memory 1502 and caches it on each PE in the arithmetic circuit. The arithmetic circuit retrieves the data of matrix A from input memory 1501 and performs a matrix operation on matrix B. The partial or final matrix result is stored in accumulator 1508.

[0338] Unified memory 1506 is used to store input and output data. Weight data is directly transferred to weight memory 1502 through the Direct Memory Access Controller (DMAC) 1505. Input data is also transferred to unified memory 1506 through the DMAC.

[0339] BIU stands for Bus Interface Unit 1510 , which is used for interaction between the AXI bus, DMAC, and instruction fetch buffer (IFB) 1509 .

[0340] The bus interface unit 1510 (BIU) is used for the instruction fetch memory 1509 to obtain instructions from the external memory, and is also used for the storage unit access controller 1505 to obtain the original data of the input matrix A or the weight matrix B from the external memory.

[0341] DMAC is mainly used to transfer input data in the external memory DDR to the unified memory 1506 or transfer weight data to the weight memory 1502 or transfer input data to the input memory 1501.

[0342] The vector calculation unit 1507 includes multiple operation processing units. When necessary, it further processes the output of the operation circuit, such as vector multiplication, vector addition, exponential operation, logarithmic operation, size comparison, etc. It is mainly used for non-convolutional / fully connected layer network calculations in neural networks, such as batch normalization, pixel-level summation, and upsampling of feature planes.

[0343] In some implementations, the vector calculation unit 1507 can store the processed output vector to the unified memory 1506. For example, the vector calculation unit 1507 can apply a linear function and / or a nonlinear function to the output of the operation circuit 1503, such as linear interpolation of the feature plane extracted by the convolution layer, or accumulate a vector of values ​​to generate an activation value. In some implementations, the vector calculation unit 1507 generates a normalized value, a pixel-level summed value, or both. In some implementations, the processed output vector can be used as an activation input to the operation circuit 1503, such as for use in subsequent layers in a neural network.

[0344] An instruction fetch buffer 1509 connected to the controller 1504 is used to store instructions used by the controller 1504;

[0345] Unified memory 1506, input memory 1501, weight memory 1502, and instruction fetch memory 1509 are all on-chip memories. External memories are private to the NPU hardware architecture.

[0346] Among them, the operations of each layer in the first machine learning model can be performed by the operation circuit 1503 or the vector calculation unit 1507.

[0347] The processor mentioned in any of the above places can be a general-purpose central processing unit, a microprocessor, an ASIC, or one or more integrated circuits for controlling the execution of the program of the above-mentioned first aspect method.

[0348] It should also be noted that the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed across multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment. In addition, in the drawings of the device embodiments provided in this application, the connection relationship between the modules indicates that there is a communication connection between them, which can be specifically implemented as one or more communication buses or signal lines.

[0349] Through the description of the above embodiments, those skilled in the art can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course can also be implemented by special hardware including application-specific integrated circuits, special CPUs, special memories, special components, etc. In general, all functions performed by computer programs can be easily implemented with corresponding hardware, and the specific hardware structures used to implement the same function can also be diverse, such as analog circuits, digital circuits or special circuits, etc. However, for the present application, software program implementation is a better implementation method in most cases. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer's floppy disk, USB flash drive, mobile hard disk, ROM, RAM, magnetic disk or optical disk, etc., and includes a number of instructions to enable a computer device (which can be a personal computer, training equipment, or network equipment, etc.) to execute the methods described in each embodiment of the present application.

[0350] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware, or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.

[0351] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website, a computer, a training device or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website, a computer, a training device or a data center. The computer-readable storage medium can be any available medium that a computer can store or a data storage device such as a training device, a data center, etc. that includes one or more available media integrations. The available medium can be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)).

Claims

1. A data processing method, characterized in that: The method comprises: Obtain a value of T, where T is an integer greater than or equal to 1, and T represents the number of sub-data included in the output data of the first machine learning model; Input the first data into the first machine learning model to obtain second data generated by the first machine learning model, where the second data includes the T sub-data, wherein the first machine learning model includes one or more modules, and each time a module in the first machine learning model is called at least once, one sub-data is obtained.

2. The method according to claim 1, characterized in that The functions of the first machine learning model include any one or a combination of the following: encoding, modulation, and generating a reference signal.

3. The method according to claim 1 or 2, characterized in that: The plurality of modules in the first machine learning model include a first module and at least one second module, and the step of inputting the first data into the first machine learning model to obtain the second data output by the first machine learning model includes: Inputting the first data into the first module to obtain first sub-data generated by the first module, where the first sub-data is one of the T sub-data; The first feature information is input into the second module to obtain second sub-data generated by the second module, wherein the first feature information includes feature information generated when the module in the first machine learning model was last called for data processing, the second sub-data is one of the T sub-data, and the module in the first machine learning model last called is the first module or the second module.

4. The method according to claim 1 or 2, characterized in that: The plurality of modules in the first machine learning model include a first module and at least one third module, and the step of inputting the first data into the first machine learning model to obtain the second data output by the first machine learning model includes: Inputting the first data into the first module, generating first sub-data through the first module, wherein the first sub-data is one of the T sub-data, and the process of generating the first sub-data through the first module includes extracting features from the first data; The third module is called multiple times to obtain third sub-data generated by the third module, where the third sub-data is one of the T sub-data, wherein the input of the third module includes characteristic information of the first data, and the characteristic information of the first data is updated multiple times in the process of calling the third module multiple times.

5. The method according to claim 3, characterized in that: The step of inputting the first feature information into the second module to obtain second sub-data generated by the second module includes: Performing a linear transformation on the first feature information through the second module and processing it with a first activation function to obtain transformed feature information; The transformed feature information is linearly transformed and processed using a second activation function to obtain the second sub-data.

6. The method according to claim 3, characterized in that The at least one second module includes a plurality of second modules, wherein parameters adopted by at least two second modules among the plurality of second modules are different.

7. The method according to claim 1 or 2, characterized in that: Before inputting the first data into the first machine learning model, the method further includes: Obtaining the data to be processed and a value of H, where H is an integer greater than or equal to 1, and H indicates the length of the first data; If the length of the data to be processed is less than H, the data to be processed is padded to obtain the first data, and the length of the first data is H.

8. The method according to claim 7, characterized in that The first data includes the data to be processed and padding data, the padding data includes first identification information, the first identification information is used to identify the value of T and / or the value of K, the K is the length of the data to be processed, and the K is an integer greater than or equal to 1.

9. The method according to claim 7, characterized in that: The size of the parameters in the first machine learning model is related to the value of H and the value of G, where G is the length of each sub-data.

10. The method according to claim 1 or 2, characterized in that: The parameters corresponding to the first machine learning model are carried in one or more of the following information: downlink control information DCI, uplink control information UCI, sidelink control information SCI, radio resource control RRC signaling or media access control control element MAC CE; and / or, The identification information of the parameter is carried in any one or more of the following information: DCI, UCI, SCI, RRC signaling, MAC CE, physical broadcast channel PBCH or physical random access channel PRACH.

11. The method according to claim 1 or 2, characterized in that: The method is applied to a first device side, a second device is a receiving end of the second data, the second device has multiple groups of parameters corresponding to the first machine learning model and identification information of each group of the parameters, and the method further includes: Send second identification information to the second device, where the second identification information is used to indicate a set of parameters adopted by the first machine learning model in the first device.

12. A data processing method, characterized in that: The method comprises: Acquire second data, wherein the second data includes T sub-data, where T is an integer greater than or equal to 1, and the second data is generated by a first machine learning model in the first device, where the first machine learning model includes one or more modules, and each module in the first machine learning model is called at least once to obtain one sub-data; Generate first data according to the second data.

13. The method according to claim 12, characterized in that The parameters corresponding to the first machine learning model are carried in one or more of the following information: downlink control information DCI, uplink control information UCI, sidelink control information SCI, radio resource control RRC signaling or media access control control element MAC CE; and / or, The identification information of the parameter is carried in any one or more of the following information: DCI, UCI, SCI, RRC signaling, MAC CE, physical broadcast channel PBCH or physical random access channel PRACH.

14. The method according to claim 12, characterized in that The method is applied to a second device side, the second device has third data, the third data includes multiple groups of parameters corresponding to the first machine learning model and identification information of each group of the parameters, and the method further includes: receiving second identification information sent by the first device; Determine, according to the second identification information and the third data, a set of parameters adopted by the first machine learning model in the first device; Generating the first data according to the second data includes: According to a set of the parameters and the second data adopted by the first machine learning model in the first device, The first data is generated.

15. A model training method, characterized in that: The method comprises: Acquire training data from a training data set, wherein the training data is used to obtain the first data and a value of T, wherein T is an integer greater than or equal to 1, and at least two of the training data in the training data set include different values ​​of T; Inputting the first data into the first machine learning model to obtain second data generated by the first machine learning model, wherein the second data includes the T sub-data, wherein the first machine learning model includes multiple modules, and each module in the first machine learning model is called at least once to obtain one sub-data generated by the module; Based on the second data and the loss function, the first machine learning model is trained to obtain the trained first machine learning model.

16. The method according to claim 15, characterized in that The functions of the first machine learning model include any one or a combination of the following: encoding, modulation, and generating a reference signal.

17. The method according to claim 15 or 16, characterized in that The plurality of modules in the first machine learning model include a first module and at least one second module, and the step of inputting the first data into the first machine learning model to obtain the second data output by the first machine learning model includes: Inputting the first data into the first module to obtain first sub-data generated by the first module, where the first sub-data is one of the T sub-data; The first feature information is input into the second module to obtain second sub-data generated by the second module, wherein the first feature information includes feature information generated when the module in the first machine learning model was last called for data processing, the second sub-data is one of the T sub-data, and the module in the first machine learning model last called is the first module or the second module.

18. The method according to claim 15 or 16, characterized in that Before inputting the first data into the first machine learning model, the method further includes: Acquire data to be processed from the training data; Obtaining a value of H, where H is an integer greater than or equal to 1, and H indicates the length of the first data; If the length of the data to be processed is less than H, the data to be processed is padded to obtain the first data, and the length of the first data is H.

19. The method according to claim 18, characterized in that In a case where the function of the first machine learning model includes coding and / or modulation, the second data is used to determine a signal to be sent, and the training of the first machine learning model based on the second data and the loss function includes: Demodulating and / or decoding a received signal corresponding to the signal to be sent to obtain estimated data corresponding to the data to be processed; The first machine learning model is trained based on the estimated data and the loss function, wherein the loss function indicates the similarity between the estimated data and the data to be processed.

20. The method according to claim 15 or 16, characterized in that In a case where the second data is a reference signal, the training of the first machine learning model based on the second data and the loss function includes: generating predicted channel information based on a received reference signal corresponding to the reference signal; The first machine learning model is trained according to the loss function, wherein the loss function indicates a similarity between the predicted channel information and the correct channel information.

21. A data processing device, characterized in that: The data processing device comprises a processing module and a transceiver module; The processing module is used to perform the processing operation according to any one of claims 1 to 11, and the transceiver module is used to perform the transceiver operation according to any one of claims 1 to 11.

22. A data processing device, characterized in that: The data processing device comprises a processing module and a transceiver module; The processing module is used to perform the processing operation as claimed in any one of claims 12 to 14, and the transceiver module is used to perform the transceiver operation as claimed in any one of claims 12 to 14.

23. A model training device, characterized in that: The data processing device comprises a processing module for performing a processing operation as claimed in any one of claims 15 to 20.

24. A communication system, characterized in that: The communication system comprises: the data processing device according to claim 21 and the data processing device according to claim 22.

25. The system according to claim 24, characterized in that The communication system also includes: a training device for the model as described in claim 23.

26. A device, characterized in that The apparatus comprises at least one processor, the at least one processor being coupled to a memory, the memory being used to store programs or instructions; The at least one processor is used to execute the program or instruction so that the device implements the method as described in any one of claims 1 to 11; or, implements the method as described in any one of claims 12 to 14; or, implements the method as described in any one of claims 15 to 20.

27. A computer-readable storage medium, characterized in that: The readable storage medium stores instructions, which, when executed by a computer, cause the method of any one of claims 1 to 11 to be executed; or, cause the method of any one of claims 12 to 14 to be executed; or, cause the method of any one of claims 15 to 20 to be executed.

28. A computer program product, characterized in that The computer program product comprises instructions, which, when executed on a computer, cause the method of any one of claims 1 to 11 to be executed; or, cause the method of any one of claims 12 to 14 to be executed; or, cause the method of any one of claims 15 to 20 to be executed.

Citation Information

Patent Citations

  • Model training method, information extraction method, related device and storage medium

    CN113408208A

  • Deep learning model training method and related device

    CN114418129A

  • Sample data generation method and device, model training method and device, equipment and medium

    CN115470929A

  • Dynamic tuning of training parameters for machine learning algorithms

    US20190095785A1

  • Method and apparatus for controlling training data

    WO2022127867A1

Cited By

  • Pantograph-catenary physical variable prediction method, device and system and storage medium

    CN119150706A

  • Information processing method, model training method, and related device

    WO2026112936A1