Methods and equipment for data processing, computer-readable recording media, and communication systems.
Patent Information
- Application Number
- VN1202307231
- Authority / Receiving Office
- VN · VN
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-03-22
- Filing Date
- 2022-02-24
- Publication Date
- 2026-11-04
- Estimated Expiration
- 2042-02-24
AI Technical Summary
When existing neural networks are deployed in device clusters, they have high computational complexity, resulting in low data processing efficiency.
By dynamically adjusting the scale and parameter set of the neural network according to the number of nodes, the computational complexity and amount of calculations of the neural network are reduced, and a neural network structure with permutation invariance is used to improve data processing efficiency.
It effectively reduces the computational complexity and amount of calculations of the neural network, improves data processing efficiency, simplifies the processing process, and ensures the accuracy of the output results regardless of the input order.
Smart Images

Figure VN1202307231_0
Abstract
Description
Data processing method and device
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on March 22, 2021, with application number 202110304438.9 and application name “Data Processing Method and Device”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of communications, and in particular to a data processing method and device. Background Art
[0003] With the development of artificial intelligence (AI) technology, neural networks can be deployed in a clustered fashion. For example, each node in a cluster can deploy a complete neural network, with the network scale of the complete neural network matching the cluster size. This allows each node to independently train the complete neural network and use it to complete the corresponding cluster services.
[0004] However, since each node deploys a complete neural network, the computational complexity of the neural network is high, the amount of computation is large, and the data processing efficiency is low.
[0005] Summary of the Invention
[0006] The embodiments of the present application provide a data processing method and device that can reduce the computational complexity and amount of computation of a neural network, thereby improving data processing efficiency.
[0007] To achieve the above objectives, this application adopts the following technical solutions:
[0008] In a first aspect, a data processing method is provided. The method is applied to a first node. The first node and a second node are in an adjacency relationship, and the first node and the second node are used to perform the same type of task. The method includes: obtaining first data and determining a processing result of the first data using a first neural network. The first neural network is determined based on a combination of first neural network parameter sets. The number of first neural network parameter sets in the combination is positively correlated with the number of second nodes.
[0009] Based on the method described in the first aspect, multiple nodes can perform the same type of tasks. The first node can determine the number of first neural network parameter sets based on the number of neighboring nodes in the multiple nodes, such as the number of second nodes, and then determine the first neural network. The network scale of the first neural network can be positively correlated with the number of second nodes to cooperate with the second nodes to perform the same type of tasks. For example, since the network scale of the complete neural network matches the cluster scale, that is, matches the number of nodes in the device cluster, when the number of neighboring nodes is less than the number of nodes in the device cluster, the network scale of the first neural network is also less than the network scale of the complete neural network, so it can reduce the computational complexity and amount of the neural network and improve data processing efficiency.
[0010] In a possible design solution, the first neural network may include: N hidden layers. The i-th hidden layer may include M i A subset of parameters. i There can be m parameter subsets in the M parameter subsets that are the same. i The parameter subsets can be determined based on the combination of the first neural network parameter set. N is a positive integer, i is a positive integer less than or equal to N, M is an integer greater than 1, and m is an integer less than or equal to M. i and an integer greater than 1. That is, the first neural network can be determined based on a combination of the same parameter subset. In this way, the amount of calculation can be effectively reduced to quickly determine the first neural network.
[0011] Optionally, the first neural network parameter set may include: a first parameter subset and / or a second parameter subset. In other words, the first neural network may be determined based on a combination of the two parameter subsets. This further reduces computational complexity, allowing for faster determination of the first neural network.
[0012] Furthermore, the neural network structure of the i-th hidden layer can be expressed as:
[0013] Among them, W i-1,i It can be used to represent the neural network structure of the i-th hidden layer. i-1,i It can be determined according to the first parameter subset corresponding to the i-th hidden layer, i-1,iIt can be determined based on the second parameter subset corresponding to the i-th hidden layer. It should be understood that this symmetrical structure of the i-th hidden layer can make the first neural network have permutation invariance. For example, if the input order of the first data changes, the order of the processing results output by the first neural network will also change accordingly, while the processing results themselves remain unchanged, so that no matter what order the first data is input, the first neural network can output the correct processing results. Therefore, compared with a neural network that does not have permutation invariance, the first neural network with permutation invariance can omit the step of adjusting the input order to simplify the processing flow, thereby improving data processing efficiency.
[0014] Furthermore, W i-1,i The number of rows in can be positively correlated with the number of second nodes, W i-1,i The number of columns in can be positively correlated with the number of second nodes. For example, W i-1,i The number of rows in can be equal to the sum of the number of the first node and the second node, and W i-1,i The number of columns in can be equal to the sum of the number of the first node and the second node, so that the first node can quickly determine the first neural network according to the sum of the number.
[0015] In one possible design, if the number of second nodes changes from a first number to a second number, then in the combination of the first neural network parameter sets, the number of the first parameter subset can be correspondingly adjusted from the third number to the fourth number, and the number of the second parameter subset can be correspondingly adjusted from the fifth number to the sixth number. In this way, the network scale of the first neural network can be dynamically adjusted based on the change in the number of second nodes, so that the first neural network can dynamically maintain an optimal network scale, thereby avoiding network scale redundancy and further improving data processing efficiency.
[0016] In one possible design, after determining the processing result of the first data, the method described in the first aspect may further include determining a second neural network parameter set and transmitting the second neural network parameter set. The second neural network parameter set may be determined based on the processing result and the first neural network, such as by updating the first neural network based on the processing result to obtain the second neural network parameter set. This allows for training and updating of the first neural network, resulting in higher accuracy of the first neural network and more accurate output of the processing result.
[0017] In one possible design, the second node can be determined by one or more of the following: the region where the node is located, the node type, the network to which the node belongs, or the users served by the node. This allows the first node to flexibly adjust the number of second nodes based on actual business needs to ensure that the first node and second nodes can cooperate to perform the same type of tasks, thereby improving task reliability.
[0018] In a second aspect, a data processing method is provided. The method is applied to a first node. The first node and a second node are adjacent to each other and are used to perform the same type of task. The method includes obtaining a first neural network parameter set, determining a first neural network based on a combination of the first neural network parameter sets, and then determining a processing result of the first data using the first neural network. The number of first neural network parameter sets in the combination is positively correlated with the number of second nodes.
[0019] Based on the method described in the second aspect, since multiple nodes can perform the same type of tasks, the first node can determine the number of first neural network parameter sets based on the number of neighboring nodes in the multiple nodes, such as the number of second nodes, and then determine the first neural network. In this way, the network scale of the first neural network can be positively correlated with the number of second nodes to cooperate with the second nodes to perform the same type of tasks. For example, when the number of neighboring nodes is less than the number of nodes in the device cluster, the first neural network is only a part of the complete neural network, and the network scale of the first neural network is also smaller than the network scale of the complete neural network, thereby reducing the training complexity and training computation of the neural network and improving training efficiency.
[0020] In a third aspect, a data processing method is provided. The method is applied to a first device. The method includes determining a first neural network parameter set and transmitting the first neural network parameter set. The first neural network is determined based on a combination of the first neural network parameter sets. The number of first neural network parameter sets in the combination is positively correlated with the number of second nodes. The second node and the first node are adjacent to each other and are used to perform the same type of task.
[0021] Based on the method described in the third aspect, since the first neural network is determined based on a combination of the first neural network parameter set, the number of parameters in the first neural network parameter set can be smaller than the number of parameters of the first neural network. Compared to sending all neural network parameters of the first neural network, sending the first neural network parameter set can effectively reduce data communication volume, thereby improving communication efficiency.
[0022] In one possible design, after sending the first neural network parameter set, the method of the third aspect may further include: obtaining a second neural network parameter set. The second neural network parameter set may be determined based on the processing results of the first data and the first neural network.
[0023] Optionally, after obtaining the second neural network parameter set, the method described in the third aspect may further include: determining a fourth neural network parameter set based on the second neural network parameter set and the third neural network parameter set. The third neural network parameter set may be determined by the second node. The fourth neural network parameter set may be used to update the first neural network. In this way, the training results of the first node and the second node are aggregated to speed up the training of the first neural network so that the first neural network can converge more quickly, thereby shortening the training time and improving the training efficiency. In addition, since the number of parameters in the second neural network parameter set and the number of parameters in the third neural network parameter set are both smaller than the number of parameters in the first neural network, aggregating the parameters in the second neural network parameter set and the parameters in the third neural network parameter set can effectively reduce the amount of computation and increase the aggregation speed compared to aggregating all the neural network parameters of the neural network.
[0024] In a fourth aspect, a data processing device is provided. The device is applied to a first node. The first node and a second node are in an adjacency relationship, and the first node and the second node are used to perform the same type of task. The device includes a transceiver module and a processing module. The transceiver module is used to obtain first data. The processing module is used to determine a processing result of the first data using a first neural network. The first neural network is determined based on a combination of first neural network parameter sets. The number of first neural network parameter sets in the combination is positively correlated with the number of second nodes.
[0025] In a possible design solution, the first neural network may include: N hidden layers. The i-th hidden layer may include M i A subset of parameters. i There can be m parameter subsets in the M parameter subsets that are the same. i The parameter subsets can be determined based on the combination of the first neural network parameter set. N is a positive integer, i is a positive integer less than or equal to N, M i is an integer greater than 1, and m is an integer less than or equal to M and greater than 1.
[0026] Optionally, the first neural network parameter set may include: a first parameter subset and / or a second parameter subset.
[0027] Furthermore, the neural network structure of the i-th hidden layer can be expressed as:
[0028] Among them, W i-1,i It can be used to represent the neural network structure of the i-th hidden layer. i-1,i It can be determined according to the first parameter subset corresponding to the i-th hidden layer, i-1,iIt can be determined according to the second parameter subset corresponding to the i-th hidden layer.
[0029] Furthermore, W i-1,i The number of rows in can be positively correlated with the number of second nodes, W i-1,i The number of columns in may be positively correlated with the number of second nodes.
[0030] In one possible design scheme, if the number of second nodes changes from the first number to the second number, then in the combination of the first neural network parameter set, the number of the first parameter subsets can be adjusted from the third number to the fourth number, and the number of the second parameter subsets can be adjusted from the fifth number to the sixth number.
[0031] In one possible design, after the processing module determines the processing result of the first data, the processing module is further configured to determine a second neural network parameter set. The transceiver module is further configured to transmit the second neural network parameter set. The second neural network parameter set may be determined based on the processing result and the first neural network.
[0032] In one possible design, the second node may be determined by one or more of the following: the region where the node is located, the type of the node, the network to which the node belongs, or the user served by the node.
[0033] Optionally, the transceiver module may include a receiving module and a sending module, wherein the sending module is used to implement the sending function of the device described in the fourth aspect, and the receiving module is used to implement the receiving function of the device described in the fourth aspect.
[0034] Optionally, the apparatus described in the fourth aspect may further include a storage module, wherein the storage module stores a program or instruction. When the processing module executes the program or instruction, the apparatus may execute the method described in the first aspect.
[0035] It should be noted that the device described in the fourth aspect can be a terminal device or a network device, or a chip (system) or other parts or components that can be set in a terminal device or a network device, or a device that includes a terminal device or a network device. This application does not limit this.
[0036] In addition, the technical effects of the device described in the fourth aspect can refer to the technical effects of the method described in the first aspect, and will not be repeated here.
[0037] In a fifth aspect, a data processing device is provided. The device is applied to a first node. The first node and a second node are in an adjacency relationship, and the first node and the second node are used to perform the same type of task. The device includes a transceiver module and a processing module. The transceiver module is configured to obtain a first neural network parameter set. The processing module is configured to determine a first neural network based on a combination of the first neural network parameter sets, and then determine a processing result of the first data using the first neural network. The number of first neural network parameter sets in the combination is positively correlated with the number of second nodes.
[0038] Optionally, the transceiver module may include a receiving module and a sending module, wherein the sending module is used to implement the sending function of the device described in the fifth aspect, and the receiving module is used to implement the receiving function of the device described in the fifth aspect.
[0039] Optionally, the apparatus described in the fifth aspect may further include a storage module, wherein the storage module stores a program or instruction. When the processing module executes the program or instruction, the apparatus may execute the method described in the second aspect.
[0040] It should be noted that the device described in the fifth aspect can be a terminal device or a network device, or a chip (system) or other parts or components that can be set in a terminal device or a network device, or a device that includes a terminal device or a network device. This application does not limit this.
[0041] In addition, the technical effects of the device described in the fifth aspect can refer to the technical effects of the method described in the second aspect, and will not be repeated here.
[0042] In a sixth aspect, a data processing apparatus is provided. The apparatus is applied to a first device. The apparatus includes a transceiver module and a processing module. The processing module is configured to determine a first neural network parameter set. The transceiver module is configured to transmit the first neural network parameter set. The first neural network is determined based on a combination of the first neural network parameter sets. The number of first neural network parameter sets in the combination is positively correlated with the number of second nodes. The second node and the first node are adjacent to each other and are configured to perform the same type of task.
[0043] In one possible design, after the transceiver module sends the first neural network parameter set, the transceiver module is further configured to obtain a second neural network parameter set. The second neural network parameter set may be determined based on the processing results of the first data and the first neural network.
[0044] Optionally, after the transceiver module obtains the second neural network parameter set, the processing module is further configured to determine a fourth neural network parameter set based on the second neural network parameter set and the third neural network parameter set. The third neural network parameter set may be determined by the second node. The fourth neural network parameter set may be used to update the first neural network.
[0045] Optionally, the transceiver module may include a receiving module and a sending module, wherein the sending module is used to implement the sending function of the device described in the sixth aspect, and the receiving module is used to implement the receiving function of the device described in the sixth aspect.
[0046] Optionally, the apparatus described in the sixth aspect may further include a storage module, wherein the storage module stores a program or instruction. When the processing module executes the program or instruction, the apparatus may execute the method described in the third aspect.
[0047] It should be noted that the device described in the sixth aspect can be a terminal device or a network device, or a chip (system) or other parts or components that can be set in a terminal device or a network device, or a device that includes a terminal device or a network device. This application does not limit this.
[0048] In addition, the technical effects of the device described in the sixth aspect can refer to the technical effects of the method described in the third aspect, and will not be repeated here.
[0049] In a seventh aspect, a data processing device is provided, comprising: a processor coupled to a memory, the processor configured to execute a computer program stored in the memory, so that the device performs the method described in any possible implementation of the first to third aspects.
[0050] In one possible design solution, the apparatus described in the seventh aspect may further include a transceiver. The transceiver may be a transceiver circuit or an interface circuit. The transceiver may be used for the apparatus described in the seventh aspect to communicate with other apparatuses.
[0051] In the present application, the device described in the seventh aspect can be a terminal device or network device in the first aspect, the second aspect, or the third aspect, or a chip (system) or other parts or components that can be set in the terminal device or network device, or a device that includes the terminal device or network device.
[0052] In addition, the technical effects of the device described in the seventh aspect can refer to the technical effects of the method described in any one of the implementation methods of the first to third aspects, and will not be repeated here.
[0053] In an eighth aspect, a data processing device is provided. The device includes: a processor and a memory; the memory is used to store a computer program, and when the processor executes the computer program, the device executes the method described in any one of the implementation modes of the first to third aspects.
[0054] In one possible design solution, the apparatus described in the eighth aspect may further include a transceiver. The transceiver may be a transceiver circuit or an interface circuit. The transceiver may be used for the apparatus described in the eighth aspect to communicate with other apparatuses.
[0055] In the present application, the device described in the eighth aspect can be a terminal device or network device in the first aspect, the second aspect, or the third aspect, or a chip (system) or other parts or components that can be set in the terminal device or network device, or a device that includes the terminal device or network device.
[0056] In addition, the technical effects of the device described in the eighth aspect can refer to the technical effects of the method described in any one of the implementation methods of the first to third aspects, and will not be repeated here.
[0057] In a ninth aspect, a data processing device is provided. The device includes a processor and an interface circuit. The interface circuit is configured to receive code instructions and transmit them to the processor; the processor is configured to execute the code instructions to perform the method described in any one of the implementations of aspects 1 to 3.
[0058] Optionally, the apparatus described in aspect 9 may further include: a receiver and a transmitter. The receiver is used to implement the receiving function of the apparatus, and the transmitter is used to implement the transmitting function of the apparatus. Optionally, the transmitter and receiver may be integrated into a single device, such as a transceiver. The transceiver is used to implement both the transmitting and receiving functions of the apparatus.
[0059] Optionally, the apparatus described in the ninth aspect may further include a memory storing a program or instruction. When the processor described in the ninth aspect executes the program or instruction, the apparatus may execute the method described in any one of the implementations of the first to third aspects.
[0060] In the present application, the device described in the ninth aspect can be a terminal device or network device in the first aspect, the second aspect, or the third aspect, or a chip (system) or other parts or components that can be set in the terminal device or network device, or a device that includes the terminal device or network device.
[0061] In addition, the technical effects of the device described in the ninth aspect can refer to the technical effects of the method described in any one of the implementation methods of the first to third aspects, and will not be repeated here.
[0062] In a tenth aspect, a data processing device is provided. The device includes a processor and a transceiver, wherein the transceiver may be a transceiver circuit or an interface circuit, the transceiver being configured to exchange information between the device and another device, and the processor executing program instructions to perform the method described in any one of the implementations of aspects 1 to 3.
[0063] Optionally, the apparatus described in the tenth aspect may further include a memory storing a program or instruction. When the processor described in the tenth aspect executes the program or instruction, the apparatus may execute the method described in any one of the implementations of the first to third aspects.
[0064] In the present application, the device described in the tenth aspect can be a terminal device or network device in the first aspect, the second aspect, or the third aspect, or a chip (system) or other parts or components that can be set in the terminal device or network device, or a device that includes the terminal device or network device.
[0065] In addition, the technical effects of the device described in the tenth aspect can refer to the technical effects of the method described in any one of the implementation methods of the first to third aspects, and will not be repeated here.
[0066] In an eleventh aspect, a communication system is provided. The communication system includes one or more terminal devices and one or more network devices. The terminal device or network device is configured to execute the method described in any one of the implementations of the first to third aspects.
[0067] In the twelfth aspect, a computer-readable storage medium is provided, comprising: a computer program or instructions; when the computer program or instructions are run on a computer, the computer executes the method described in any possible implementation method of the first to third aspects.
[0068] In a thirteenth aspect, a computer program product is provided, comprising a computer program or instructions, which, when executed on a computer, enables the computer to execute the method described in any possible implementation method of the first to third aspects. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] FIG1 is a schematic diagram of the architecture of a communication system according to an embodiment of the present application;
[0070] FIG2 is a flow chart of a data processing method according to an embodiment of the present application;
[0071] FIG3 is a first schematic diagram of the architecture of a neural network provided in an embodiment of the present application;
[0072] FIG4 is a second schematic diagram of the architecture of the communication system provided in an embodiment of the present application;
[0073] FIG5 is a second schematic diagram of the architecture of a neural network provided in an embodiment of the present application;
[0074] FIG6 is a schematic diagram of a frame structure of a data processing method provided in an embodiment of the present application;
[0075] FIG7 is a second flow chart of the data processing method provided in an embodiment of the present application;
[0076] FIG8 is a third flow chart of the data processing method provided in an embodiment of the present application;
[0077] FIG9 is a first structural diagram of a data processing device provided in an embodiment of the present application;
[0078] FIG10 is a second structural diagram of the data processing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0079] First, the technical terms involved in the embodiments of this application are introduced.
[0080] Permutation invariance
[0081] Among them, permutation invariance means that when the input order of input parameters changes, the output order of output results also changes accordingly, but the output results themselves do not change.
[0082] For example, for an equation Y=f(X) with permutation invariance, if the input parameters are X=[x2,x1,…,x K ], then the output of the equation Y=f(X) can be Y=[y1,y2,…,y K ]. Where K is an integer greater than 1, y1 is the output result of x1, y2 is the output result of x2, and so on. K is x K If the order of input parameters changes to X=[x2,x1,…,x K ], then the output result of the equation Y = f(X) is just the output order changes accordingly, such as the output order can be Y = [y2, y1, ..., y K ], but the output result itself will not change, such as y1 is still the output result of x1, y2 is still the output result of x2, and so on. K Still x K The output result is .
[0083] The technical solution in this application will be described below with reference to the accompanying drawings.
[0084] The technical solutions of the embodiments of the present application can be applied to various communication systems, including but not limited to: wireless fidelity (WiFi) systems, vehicle to everything (V2X) communication systems, device-to-device (D2D) communication systems, Internet of Vehicles communication systems, narrowband Internet of Things (NB-IoT) systems, 4th generation (4G) mobile communication systems, such as long term evolution (LTE) systems, fifth generation (5G) mobile communication systems, such as new radio (NR) systems, and future communication systems, such as sixth generation (6G) mobile communication systems.
[0085] This application will present various aspects, embodiments, or features in the context of systems that may include multiple devices, components, modules, etc. It should be understood and appreciated that each system may include additional devices, components, modules, etc., and / or may not include all of the devices, components, modules, etc. discussed in conjunction with the figures. Furthermore, combinations of these aspects may also be used.
[0086] Additionally, in the embodiments of this application, words such as "exemplarily" and "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" in this application should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of the word "exemplary" is intended to present concepts in a concrete manner.
[0087] In the embodiments of the present application, “of”, “corresponding”, “relevant” and “corresponding” may sometimes be used interchangeably. It should be noted that when the distinction between them is not emphasized, the meanings they intend to express are consistent.
[0088] In the embodiments of the present application, sometimes a subscript such as W1 may be mistakenly written as a non-subscript form such as W1. When the difference is not emphasized, the meanings to be expressed are the same.
[0089] The network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field will know that with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0090] To facilitate understanding of the embodiments of the present application, a communication system applicable to the embodiments of the present application is first described in detail using the communication system shown in Figure 1 as an example. For example, Figure 1 is a schematic diagram of the architecture of a communication system applicable to the data processing method provided in the embodiments of the present application.
[0091] As shown in Figure 1, the communication system includes multiple nodes. The multiple nodes can form a device cluster. Each node can be a terminal device or a network device.
[0092] The terminal device is a terminal that accesses the communication system and has transceiver functions, or a chip or chip system that can be installed in the terminal. The terminal device can also be called user equipment, access terminal, subscriber unit, user station, mobile station, mobile station (MS), remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device. The terminal device in the embodiments of the present application can be a mobile phone, a cellular phone, a smart phone, a tablet computer, a wearable device, a wireless modem, a handset, a laptop computer, machine type communication (MTC), a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, a vehicle-mounted terminal, a road side unit (RSU) with terminal function, etc. The terminal device of the present application can also be a vehicle-mounted module, vehicle-mounted module, vehicle-mounted component, vehicle-mounted chip or vehicle-mounted unit built into the vehicle as one or more components or units. The vehicle can implement the data processing method provided by the present application through the built-in vehicle-mounted module, vehicle-mounted module, vehicle-mounted component, vehicle-mounted chip or vehicle-mounted unit.
[0093] The network device is a device located on the network side of the communication system and having transceiver capabilities, or a chip or chip system that can be installed in the device. The network device includes, but is not limited to, an access point (AP) and a base station (BS) in a wireless fidelity (WiFi) system. The access point can be a home gateway, router, server, switch, bridge, etc. A base station may be a macro base station, a micro base station (also known as a small station), a relay station, an evolved Node B (eNB), a radio network controller (RNC), a Node B (NB), a home base station (e.g., a home evolved Node B, or a home Node B, HNB), a wireless relay node, a wireless backhaul node, a transmission and reception point (TRP or transmission point, TP), etc. It may also be a 5G, such as a gNB in a new radio (NR) system, or a transmission point (TRP or TP), one or a group of antenna panels (including multiple antenna panels) of a base station in a 5G system, or a network node constituting a gNB or a transmission point, such as an active antenna unit (AAU), a baseband unit (BBU), a remote radio unit (RRU), or a distributed unit (DU), an RSU with base station functions, etc. The BBU and RRU can be placed in different locations. For example, the RRU can be placed in an area with high traffic volume, while the BBU can be placed in a central equipment room. Alternatively, the BBU and RRU can be placed in the same equipment room. Furthermore, the BBU and RRU can be separate components within the same rack.
[0094] Furthermore, Figure 1 is a schematic diagram of the architecture of a communication system. Among them, the lines in Figure 1 can represent the communication connection relationship between the nodes in the communication system. As shown in Figure 1, among the multiple nodes of the communication system, each node can deploy the above-mentioned neural network with permutation invariance, so that multiple nodes can cooperate to perform the same type of tasks (hereinafter referred to as the first type of tasks) through their respective neural networks. For example, among the 6 nodes shown in Figure 1, nodes 1-node 5 can jointly provide services for a terminal device, or nodes 1-node 5 can cooperate to complete their respective power control. In this way, it can be considered that nodes 1-node 5 belong to the same device cluster. However, since node 6 cannot provide services for the terminal device, or cannot cooperate with nodes 1-node 5 to complete the power control of node 6, node 6 does not belong to the device cluster.
[0095] The neural network parameters of each node may be issued by a first device, which may be a device other than the aforementioned multiple nodes in the communication system, or may be one or more of the aforementioned multiple nodes.
[0096] Among them, the network scale of the neural network of each node can be determined based on the nodes that have an adjacent relationship with the node, such as based on the number of neighbor nodes. Among them, the number of neighbor nodes of each node is positively correlated with the network scale of the neural network of the node. For example, in Figure 1, if node 1 has two neighbor nodes (node 3 and node 4) and node 2 has one neighbor node (node 5), then when cooperating to perform the first type of task, node 1 can interact with two neighbor nodes for data, while node 2 only interacts with one neighbor node for data. In this case, the amount of data interaction of node 1 can be greater than the amount of data interaction of node 2, resulting in the amount of data processed by node 1 being greater than the amount of data processed by node 2. Since the amount of data processed by node 1 is greater than the amount of data processed by node 2, the network scale of the neural network of node 1 should be greater than the network scale of the neural network of node 2 to ensure that node 1 can process large quantities of data.
[0097] For ease of understanding, in the following method embodiments, this application takes the first device, the first node, and the second node in a communication system as an example, where the first device, the first node, and the second node are different devices, to specifically introduce the implementation principle of the first device sending the above-mentioned neural network parameters and multiple nodes cooperating to perform the same type of tasks through a neural network.
[0098] It should be noted that the solutions in the embodiments of the present application can also be applied to other communication systems, and the corresponding names can also be replaced by the names of corresponding functions in other communication systems.
[0099] It should be understood that FIG1 is only a simplified schematic diagram for ease of understanding, and the communication system may also include other network devices and / or other terminal devices, which are not shown in FIG1 .
[0100] The data processing method provided in the embodiment of the present application will be described in detail below with reference to Figures 2 to 8.
[0101] For example, Figure 2 is a flowchart diagram of a data processing method according to an embodiment of the present application. The data processing method can be applied to communication between any two nodes in the device cluster shown in Figure 1, such as communication between a first node and a second node.
[0102] As shown in FIG2 , the data processing method includes the following steps:
[0103] S201: A first node obtains first data.
[0104] The first data may include: data of the first node and / or data of the second node.
[0105] Among them, the first node and the second node can be used to perform the first type of task, and the first node and the second node have an adjacent relationship, for example, the second node can be a neighbor node of the first node. Among them, the second node can be determined by one or more of the following: the area where the node is located, the type of node, the network to which the node belongs, or the user served by the node. Optionally, the second node can also be determined based on the signal-to-noise ratio (SNR) of the wireless link, the capacity (capacity) of the channel, the node computing power, load conditions, synchronization capabilities, etc., without limitation. For ease of understanding, the following is an example of determining the second node based on the area where the node is located, the type of node, the network to which the node belongs, or the user served by the node.
[0106] Scenario A: The second node is determined by the region where the node is located.
[0107] The locational relationship of the regions where nodes reside can represent the connectivity of nodes within the network. If two nodes are located in adjacent regions and can communicate directly with each other, they are directly connected. Thus, one node can be the next-hop node of another. For another example, if two nodes are located in regions separated by other regions, and communication between the two nodes requires passing through other nodes, the two nodes are indirectly connected through other nodes. Thus, one node can be the next-n-hop node of another, where n is an integer greater than 1. In this case, the locational relationship of the regions where nodes reside can represent the hop count relationship between the nodes. Thus, two nodes whose hop count between them is within a preset number of hops can be considered to be adjacent. The preset number of hops can be set based on actual needs, such as 1, 2, or 3 hops, and is not limited to this. Therefore, a first node can determine a second node based on the regions where the nodes reside by determining, based on the hop count relationship between the nodes, the node within the preset number of hops from the first node, i.e., the second node. For example, the first node can determine a node for executing the first type of task from the device cluster based on the task type of each node, and then determine a second node from the nodes for executing the first type of task based on the hop count relationship between the nodes.
[0108] Specifically, the first node may determine the task type of each node in the device cluster through a centralized method or a distributed method, thereby determining a node for executing the first type of task.
[0109] Among them, the centralized method means that a central control device that knows the task type of each node can broadcast indication information to the device cluster. For example, the central control device can broadcast indication information to the device cluster through a broadcast channel, such as a physical broadcast channel (PBCH), and / or a control channel, such as a physical downlink control channel (PDCCH). Among them, the central control device can be a node, a core network element, a user equipment (UE), etc. in the device cluster, and this is not limited. The indication information can indicate the task type of each node, and can be carried in a system information block (SIB), a radio resource control (RRC) signaling, and a downlink control information (DCI). In this way, the first node can determine the node used to perform the first type of task from the device cluster based on the task type indicated by the indication information of the central control node. For ease of understanding, the following is a specific introduction through an example in conjunction with Figure 1.
[0110] For example, the instruction information broadcast by the central control node may indicate: Node 1 {Task 1, Task 2}, Node 2 {Task 1, Task 2, Task 3}, Node 3 {Task 2, Task 3}, Node 4 {Task 2, Task 4}, Node 5 {Task 1, Task 2}, and Node 6 {Task 3, Task 4}. If the first type of task is Task 2, the first node, such as Node 1, may determine Nodes 2-5 as nodes for executing the first type of task.
[0111] Optionally, the instruction information broadcast by the central control node may also indicate: Task 1 {node 1, node 2, node 5}, Task 2 {node 2, node 3, node 4, node 5}, Task 3 {node 2, node 3, node 6}, Task 4 {node 4, node 6}. In this way, nodes 2-5 may also be determined as nodes for executing the first type of tasks.
[0112] It should be understood that if the central control device is a node in a device cluster and is the same device as the first node, the first node can directly determine the node for executing the first type of task.
[0113] The above-mentioned distributed method means that each node in the device cluster can broadcast the indication information of the node to the device cluster. For example, each node can broadcast the indication information of the node to the device cluster through a device-to-device (D2D) communication link, such as a physical sidelink control channel (PSCCH) carried in a sidelink communication (sidelink), a physical sidelink share channel (PSSCH), etc. The indication information can indicate the task type of the node and can be carried in the sidelink control information (SCI). In this way, the first node can determine the node used to perform the first type of task from the device cluster based on the task type indicated by the indication information of each node in the device cluster. For ease of understanding, the above example will be further introduced in conjunction with Figure 1 below.
[0114] For example, the indication information broadcast by node 1 may indicate: Node 1 {Task 1, Task 2}, the indication information broadcast by node 2 may indicate: Node 2 {Task 1, Task 2, Task 3}, the indication information broadcast by node 3 may indicate: Node 3 {Task 2, Task 3}, the indication information broadcast by node 4 may indicate: Node 4 {Task 2, Task 4}, the indication information broadcast by node 5 may indicate: Node 5 {Task 1, Task 2}, and the indication information broadcast by node 6 may indicate: Node 6 {Task 3, Task 4}. If the first type of task is Task 2, the first node, such as node 1, may also determine nodes 2-5 as nodes for executing the first type of task.
[0115] Furthermore, after the first node determines the node for executing the first type of task, it can determine the second node from the nodes for executing the first type of task based on the connection relationship. For ease of understanding, the above example will be further described below in conjunction with FIG1 .
[0116] For example, if the preset hop count is 1, then a first node, such as node 1, can determine from the connection relationship shown in Figure 1 that the hop counts between node 1 and nodes 3 and 4, respectively, are equal to the preset hop counts, thereby determining nodes 3 and 4 as the second node. If the preset hop count is 2, node 1 can determine nodes 3-node 5 as the second node. If the preset hop count is 3, node 1 can determine nodes 2-node 5 as the second node.
[0117] It should be understood that the above method for determining the second node is merely exemplary and not limiting. For example, the first node may first determine a node in the device cluster that satisfies the hop count relationship based on the hop count relationship, and then determine the second node from the nodes that satisfy the hop count relationship based on the type of the first task.
[0118] Scenario B: The second node is determined by the node type
[0119] The type of the node may be a device type. If the device types of two nodes are the same, such as both nodes are base stations, the two nodes may be considered to have an adjacency relationship. Conversely, if the device types of the two nodes are different, such as one node is a base station and the other is a security gateway, the two nodes may be considered to have no adjacency relationship. In this way, the first node may determine the second node based on the device type of the first node. For example, the first node may determine the node for performing the first type of task from the device cluster based on the task type of each node, and then determine the second node from the nodes for performing the first type of task based on the device type of the first node. This will be described in detail below.
[0120] Specifically, the first node may also determine a node for executing the first type of task from the device cluster through a centralized method or a distributed method, and determine the second node from the nodes for executing the first type of task.
[0121] Unlike the centralized approach described in Scenario A above, in Scenario B, the instructions broadcast by the central control device can indicate not only the task type of each node but also the device type of each node. Thus, a first node can determine a node from the device cluster that is to perform a first type of task based on the task type indicated by the instruction from the central control node, and can also determine a second node from the nodes that are to perform the first type of task based on the device type indicated by the instruction. For easier understanding, the above example will be further described below in conjunction with Figure 1.
[0122] For example, the indication information broadcast by the central control node may indicate that the device type of node 1 is type 1, the device type of node 2 is type 2, the device type of node 3 is type 1, the device type of node 4 is type 1, and the device type of node 5 is type 2. In this way, a first node, such as node 1, can determine from nodes 2-5 that nodes 3 and 4 have the same device type as node 1, and thus determine that nodes 3 and 4 are second nodes.
[0123] Optionally, the indication information broadcast by the central control node may further indicate: type 1 {node 1, node 3, node 4}, type 2 {node 2, node 5}, thereby also determining that node 3 and node 4 are second nodes.
[0124] On the other hand, unlike the distributed approach described in Scenario A above, in Scenario B, the indication information broadcast by each node can indicate not only the node's task type but also its device type. Thus, a first node can determine a node from the device cluster that is to execute a first type of task based on the task type indicated by the indication information from each node in the device cluster. Furthermore, a second node can be determined from the nodes that are to execute the first type of task based on the device type indicated by the indication information. For easier understanding, the above example will be further described below in conjunction with Figure 1.
[0125] For example, if the indication information broadcast by node 1 indicates that the device type of node 1 is type 1, the indication information broadcast by node 2 indicates that the device type of node 2 is type 2, the indication information broadcast by node 3 indicates that the device type of node 3 is type 1, the indication information broadcast by node 4 indicates that the device type of node 4 is type 1, and the indication information broadcast by node 5 indicates that the device type of node 5 is type 2, then the first node, such as node 1, can also determine that node 3 and node 4 are second nodes.
[0126] It should be understood that the above method for determining the second node is merely exemplary and not limiting. For example, the first node may first determine a node of the same type from the device cluster based on the device type of the first node, and then determine the second node from the same type of node based on the type of the first task.
[0127] Scenario C: The second node is determined by the network to which the node belongs
[0128] The network to which the node belongs can be the physical network to which the node belongs, such as an access network or a core network, or a logical network, such as a network slice. Taking network slicing as an example, if two nodes belong to the same network slice, the two nodes can be considered to have an adjacency relationship. Conversely, if two nodes belong to two different network slices, the two nodes can be considered to have no adjacency relationship. In this way, the first node can determine the second node based on the network slice to which the first node belongs. For example, the first node can determine the node used to perform the first type of task from the device cluster based on the type of each node, and then determine the second node from the nodes used to perform the first type of task based on the network slice to which the first node belongs. The details are described below.
[0129] Specifically, the first node may also determine a node for executing the first type of task from the device cluster through a centralized method or a distributed method, and determine the second node from the nodes for executing the first type of task.
[0130] On the one hand, unlike the centralized approach described in Scenario A above, in Scenario C, the indication information broadcast by the central control device can not only indicate the task type of each node, but also the network slice to which each node belongs. In this way, the first node can determine the node for performing the first type of task from the device cluster based on the task type indicated by the indication information from the central control node, and then determine the second node from the nodes for performing the first type of task based on the network slice indicated by the indication information. For easier understanding, the above example is further described below in conjunction with Figure 1.
[0131] For example, the indication information broadcast by the central control node indicates that: node 1 belongs to network slice 1, node 2 belongs to network slice 2, node 3 belongs to network slice 1, node 4 belongs to network slice 1, and node 5 belongs to network slice 1. In this way, the first node, such as node 1, can determine from nodes 2-node 5 that nodes 3-node 5 belong to the same network slice as node 1, thereby determining that nodes 3-node 5 are the second nodes.
[0132] Optionally, the indication information broadcast by the central control node may also indicate: network slice 1 {node 1, node 3, node 4}, network slice 2 {node 2, node 5}, so that node 3 and node 4 can also be determined as the second node.
[0133] On the other hand, unlike the distributed approach described in Scenario A above, in Scenario C, the indication information broadcast by each node can indicate not only the node's task type but also the network slice to which the node belongs. In this way, the first node can determine a node from the device cluster that is used to perform the first type of task based on the task type indicated by the indication information of each node in the device cluster, and then determine a second node from the nodes used to perform the first type of task based on the network slice indicated by the indication information. For ease of understanding, the above example is further described below in conjunction with Figure 1.
[0134] For example, the indication information broadcast by node 1 indicates that node 1 belongs to network slice 1, the indication information broadcast by node 2 indicates that node 2 belongs to network slice 2, the indication information broadcast by node 3 indicates that node 3 belongs to network slice 1, the indication information broadcast by node 4 indicates that node 4 belongs to network slice 1, and the indication information broadcast by node 5 indicates that node 5 belongs to network slice 1. In this way, the first node, such as node 1, can also determine that nodes 3-5 are second nodes.
[0135] It should be understood that the above method of determining the second node is merely exemplary and not limiting. For example, the first node may first determine a node belonging to the same network slice from the device cluster based on the network slice to which the first node belongs, and then determine the second node from the nodes belonging to the same network slice based on the type of the first type of task.
[0136] Scenario D: The second node is determined by the user served by the node
[0137] The services provided by nodes to users can be access services, network services, etc. If two nodes provide services to the same user, the two nodes are considered to have an adjacent relationship; conversely, if the two nodes provide services to different users, the two nodes are considered to have no adjacent relationship. The same user can be the same user, the same type of user, a user in the same multicast group, a user in the same area, etc. For example, taking TRP nodes as an example, if two TRP nodes provide data transmission services to the same user, the two TRPs can be considered to have an adjacent relationship; conversely, if the two TRPs provide data transmission services to two different users, the two TRPs are considered to have no adjacent relationship. The details are explained below.
[0138] Specifically, in scenario D, a user can broadcast instructions to multiple nodes, indicating which nodes serve the user. In this way, the first node can determine the second node from among the nodes used to perform the first type of task based on the service node indicated by the instructions broadcast by the user. Optionally, in scenario D, the node performing the first type of task can be determined using the centralized or distributed method described above. For specific implementation details, please refer to the relevant descriptions in any of scenarios AC above and will not be repeated here. For ease of understanding, the above example will be further described below in conjunction with Figure 1.
[0139] For example, the indication information broadcast by the user may indicate that: node 1 serves user 1, node 2 serves user 1, node 3 serves user 1, node 4 serves user 1, and node 5 serves user 1. In this way, a first node, such as node 1, can determine from nodes 2-node 5 that nodes 2-node 5 serve the same user as node 1, and thus determine that node 2-node 5 is the second node.
[0140] Optionally, the indication information broadcast by the user may further indicate that user 1 receives services from {node 2, node 3, node 4, node 5}. In this way, nodes 2 to 5 may also be determined as the second nodes.
[0141] It should be understood that the above method for determining the second node is merely exemplary and not limiting. For example, the first node may first determine a node serving the same user from the device cluster based on the instruction information sent by the user, and then determine the second node from the nodes serving the same user based on the type of the first task.
[0142] Furthermore, as described above, since the first data may include data of the first node and / or data of the second node, the first node may obtain the data of the first node locally, and the first node may obtain the data of the second node from the second node. The first node may then proceed to execute S302 described below.
[0143] S202: The first node determines a processing result of the first data through a first neural network.
[0144] The first neural network may be determined by the first node based on a combination of first neural network parameter sets. The number of first neural network parameter sets in the combination is positively correlated with the number of second nodes. The first neural network parameter set may be a parameter set preconfigured by the first node, or may be a parameter set obtained from the first device.
[0145] The first neural network parameter set may include: a first parameter subset and / or a second parameter subset. The first parameter subset and the second parameter subset are two different parameter subsets.
[0146] Alternatively, if the first neural network includes N hidden layers, the first parameter subset and the second parameter subset may be N groups. Thus, the i-th group of the first parameter subset and the second parameter subset may be used to determine the neural network structure of the i-th hidden layer.
[0147] Specifically, since the output vector h corresponding to the i-th hidden layer i , the output vector h corresponding to the i-1th hidden layer i-1 The relationship between can be expressed by the following formula (1):
[0148] h i =σ(w i-1,i h i-1 +b i );(1)
[0149] Among them, w i-1,i It can be a matrix and can be determined based on a set of neural network parameters corresponding to the i-th hidden layer, such as a set of neuron weight parameters. i It can be a matrix and can be determined based on another set of neural network parameters corresponding to the i-th hidden layer, such as the set of bias parameters of the neuron. σ can be an activation function, such as a rectified linear unit (ReLU) or a hyperbolic tangent function. N is a positive integer, and i is an integer less than or equal to N.
[0150] So, if you set W i-1,i =[w i-1,i b i ], and set all output vectors H corresponding to the i-th hidden layer i =[h i 1] T , then all output vectors H corresponding to the i-th hidden layer i , all output vectors H corresponding to the i-1th hidden layer i-1 The relationship between can be expressed by the following formula (2):
[0151] H i =σ(W i-1,i H i-1 );(2)
[0152] Among them, W i-1,i It can be a matrix, which can be determined according to the i-th group of first parameter subsets and second parameter subsets to represent the neural network structure of the i-th hidden layer.
[0153] Figure 3 is a schematic diagram of the neural network structure of the first neural network. As shown in Figure 3, the first column of parameters [x1, x2, ..., x K ] is the input parameter, the i-th column parameter For the output vector, the last column of parameters
[0154] [y1,y2,…,y K ] is the output result, the matrix W corresponding to the i-th hidden layer i-1,i The line between two adjacent columns of parameters can represent the corresponding operation of formula (2). For example, between the first column of parameters and the second column of parameters, that is, the input parameters [x1, x2, ..., x K ] and the output vector Between, is the matrix W corresponding to the first hidden layer 0,1 , and between the second and third column parameters, that is, the output vector and the output vector Between, is the matrix W corresponding to the second hidden layer 1,2 By analogy, between the parameters in column i-1 and column i, that is, the output vector and the output vector The matrix W corresponding to the i-th hidden layer is between i-1,i , and between the parameters in column i and column i+1, that is, the output vector And the output results [y1,y2,…,y K ] is the matrix W corresponding to the i-th hidden layer i,i+1 . So we can see that the matrix W i-1,i The superscript of can represent the matrix W i-1,i Position in the first neural network. And, for each column parameter, it can also be understood as: output vector is the matrix W 0,1 Processing input parameters [x1, x2, ..., x K ] OK, output vector is the matrix W 0,1 Processing output vector OK, and so on, output vector is the matrix W i-1,i Processing output vector Determine and output the result [y1,y2,…,y K ] is the matrix W i,i+1 Processing output vector Sure.
[0155] It should be noted that for the matrix W 0,1 , matrix W 0,1The first line is used to process the data of the first node, such as processing the input parameter X1, the matrix W 0,1 The second to Kth lines are used to process the data of the second node, such as processing the input parameters [x2,…,x K ], which ensures that the data of each node can be processed correctly.
[0156] Among them, the matrix W i-1,i The matrix S may be included i-1,i and matrix O i-1,i , and the matrix S i-1,i and matrix O i-1,i are two different matrices. Thus, the first parameter subset of the i-th group can be used to determine the matrix S i-1,i , such as determining the matrix S according to the first parameter subset of the i-th group and the parameter structure of each parameter in the first parameter subset of the i-th group i-1,i , the i-th group of second parameter subsets can be used to determine the matrix O i-1,i , such as determining the matrix O according to the parameter structure of each parameter in the i-th group of second parameter subsets and the i-th group of second parameter subsets. i-1,i Among them, the parameter structure of each parameter in the first parameter subset of the i-th group can be used to determine the parameter structure of each parameter in the first parameter subset of the i-th group in the matrix S i-1,i The parameter structure of each parameter in the i-th group of second parameter subsets can be used to determine the position of each parameter in the i-th group of second parameter subsets in the matrix O i-1,i In addition, the above parameter structure can be pre-configured by the first node, or can be obtained from the first device. For example, the first device can package and send the first neural network parameter set and the above parameter structure, or send the matrix S i-1,i and matrix O i-1,i .
[0157] It should be understood that because the first neural network is determined based on a combination of the first neural network parameter set, the number of parameters of the first neural network should be greater than the number of parameters in the first neural network parameter set. Thus, compared to sending all neural network parameters of the neural network, sending the first neural network parameter set can effectively reduce data communication volume, thereby improving communication efficiency.
[0158] Furthermore, the first node can determine the architecture of the first neural network as shown in FIG3 , and according to the matrix S i-1,i and matrix O i-1,i The combination of determines the neural network structure of the i-th hidden layer, such as determining the matrix W i-1,i As shown in the following formula (3).
[0159]
[0160] In this way, the first neural network can be a neural network with a symmetric network structure and possess the above-mentioned permutation invariance.
[0161] It can be seen that due to the conventional structure of the neural network, such as the neural network without permutation invariance, it is necessary to adjust the input order of the data to output the correct processing results. In contrast, the first neural network with permutation invariance does not adjust the input order of the data and can also output the correct processing results. In other words, compared with the neural network with conventional structure, the first neural network can omit the step of adjusting the input order to simplify the processing flow, thereby improving data processing efficiency. For example, in the resource scheduling scenario, if the input parameter X K is the status information of the Kth device, such as channel status information, cache status information, historical scheduling information, etc., then the output result y K It can be the scheduling priority of the Kth device. If the input order of the state information is changed, such as changing the input order from X=[x1,x2,…,x K ] changes to X=[x2,x1,…,x K ], then the order of the first neural network output scheduling priority changes accordingly, such as the output order changes from Y=[y1,y2,…,y K ] changes to Y=[y2,y1,…,y K ], and the value of each device's scheduling priority will not change due to the change of input order. For example, in the power control scenario, if the input parameter x K is the status information of the Kth device, such as the channel matrix, signal interference matrix, power control strategy of the previous round, etc., then the output result y K It can be the power control strategy of the Kth device in this round. If the input order of the state information is changed, such as changing the input order from X=[x1,x2,…,x K ] changes to X=[x2,x1,…,x K ], then the order of the first neural network output power control strategy changes accordingly, such as the output order changes from Y=[y1,y2,…,y K ] changes to Y=[y2,y1,…,y K ], and the power control strategy of each device in this round will not change due to the change of input order.
[0162] For ease of understanding, the following describes in detail how the first node is based on the matrix S i-1,i and matrix O i-1,i Combination, determine the matrix W i-1,i .
[0163] Since the number of the second nodes is positively correlated with the number of the first neural network parameter sets in the above combination, the number of the second nodes is also positively correlated with the number of the first parameter subset and / or the second parameter subset in the above combination. And since the first parameter subset can determine the matrix S i-1,i , the second parameter subset can determine the matrix O i-1,i , the number of the second node can also be combined with the matrix S in the above i-1,i and matrix O i-1,i Furthermore, the matrix S i-1,i and matrix O i-1,i Can be combined into matrix W i-1,i , the number of the second nodes, and the above combination matrix S i-1,i and matrix O i-1,i Based on the positive correlation between the number of i-1,i The size of is positively correlated. Thus, the matrix W i-1,i The number of rows of can be positively correlated with the number of second nodes, such as the matrix W i-1,i The number of rows of can be the sum of the number of the first node and the number of the second node, and the matrix W i-1,i The number of columns of can be positively correlated with the number of second nodes, such as the matrix W i-1,i The number of columns may also be the sum of the number of first nodes and second nodes.
[0164] Based on the above principle, the first node can be calculated based on the number of the second nodes and the matrix W i-1,i The positive correlation between the size of i-1,i The size of the first node can be calculated based on the matrix W i-1,i The size of the matrix W is determined i-1,i In the matrix S i-1,i The number of S i , and the matrix O i-1,i The number of O i . Thus, the first node according to S i Matrix S i-1,i and / or O i Matrix O i-1,i By combining the parameters of the first neural network, the neural network structure of the i-th hidden layer can be determined, thereby determining the first neural network, so as to achieve the determination of the first neural network according to the combination of the first neural network parameter set. For ease of understanding, the above example will be further described below in conjunction with Figure 1.
[0165] For example, in the above scenario A or scenario B, the first node may be node 1, and the second node may include node 3 and node 4, that is, the number of the second nodes is 2, then node 1 can be based on the number of the second nodes and the matrix W i-1,iThe positive correlation between the size of i-1,i The size of is 3*3. Among them, the matrix W of size 3*3 i-1,i It can be 3 matrices S i-1,i and 6 matrices O i-1,i In this way, node 1 can determine the neural network structure of the i-th hidden layer as shown in the following formula (5):
[0166]
[0167] In the above scenario C, since the first node can be node 1, and the second node can include nodes 3 to 5, that is, the number of second nodes is 3, node 1 can be combined with the matrix W according to the number of second nodes. i-1,i The positive correlation between the size of i-1,i The size of is 4*4. Among them, the matrix W of size 4*4 i-1,i It can be 4 matrices S i-1,i and 12 matrices O i-1,i In this way, node 1 can determine the neural network structure of the i-th hidden layer as shown in the following formula (6):
[0168]
[0169] In the above scenario D, since the first node can be node 1, and the second nodes include nodes 2 to 5, that is, the number of second nodes is 4, node 1 can be based on the number of second nodes and matrix W i-1,i The positive correlation between the size of i-1,i The size of is 5*5. Among them, the matrix W of size 5*5 i-1,i It can be 5 matrices S i-1,i and 20 matrices O i-1,i In this way, node 1 can determine the neural network structure of the i-th hidden layer as shown in the following formula (7):
[0170]
[0171] It should be understood that the above-described method for determining the first neural network is merely exemplary and not limiting. For example, if the first neural network parameter set includes two or more parameter subsets, the first node may also determine the first neural network based on a combination of the two or more parameter subsets.
[0172] It should also be understood that since the i-th hidden layer can be determined based on a combination of the first neural network parameter set, for example, it can be determined based on a combination of one or more parameter subsets, then the i-th hidden layer includes M iAmong the parameter subsets, m parameter subsets may be the same. Wherein, m is an integer less than or equal to M and greater than 1. For example, in the i-th hidden layer shown in the above formula (5), not only 3 first parameter subsets are the same, but also 9 second parameter subsets are the same. For another example, in the i-th hidden layer shown in the above formula (6), not only 4 first parameter subsets are the same, but also 12 second parameter subsets are the same. For another example, in the i-th hidden layer shown in the above formula (7), not only 5 first parameter subsets are the same, but also 20 second parameter subsets are the same. In other words, the first neural network can be determined based on a combination of the same parameter subsets. In this way, the amount of calculation can be effectively reduced to quickly determine the first neural network.
[0173] Furthermore, according to the above description of the neural network structure of the first neural network, the first hidden layer can process the first data, thereby outputting the processing result of the first hidden layer. Then, the second hidden layer can process the processing result of the first hidden layer, thereby outputting the processing result of the second hidden layer. And so on. Finally, the i-th hidden layer can process the processing result of the i-1-th hidden layer, thereby outputting the processing result of the i-th hidden layer, i.e., the processing result of the first data. The processing result of the first data may include: the processing result of the data of the first node and / or the processing result of the data of the second node.
[0174] Optionally, in the first implementation scenario of the embodiment shown in FIG2 , if the number of the second nodes changes from the first number to the second number, then in the combination of the first neural network parameter set, the number of the first parameter subsets can be correspondingly adjusted from the third number to the fourth number, as shown in the above matrix W i-1,i In the matrix S i-1,i The number of can be adjusted from the third number to the fourth number, and the number of the second parameter subsets can be adjusted from the fifth number to the sixth number, as shown in the above matrix W i-1,i In the matrix O i-1,i The number of nodes can be adjusted from the fifth number to the sixth number accordingly. If the number of second nodes changes from the first number to the second number. In this way, the network scale of the first neural network can be dynamically adjusted according to the change in the number of second nodes, so that the first neural network can dynamically maintain the optimal network scale, avoid network scale redundancy, and further improve data processing efficiency.
[0175] In one possible implementation, the first node can determine whether the number of second nodes has changed using the aforementioned centralized method or distributed method. For example, each node in the central control device or device cluster can periodically broadcast indication information. In this way, the first node can determine the number of second nodes in this cycle based on the indication information, and determine whether the number of second nodes has changed based on the number of this cycle and the number of the previous cycle. If the first node determines that the number of second nodes has changed, such as determining that it has changed from the first number to the second number, the matrix W can be transformed based on the second number. i-1,i In the matrix S i-1,i The number of is adjusted from the third number to the fourth number, and the above matrix W i-1,i In the matrix O i-1,i The number of nodes is adjusted from the fifth number to the sixth number. i-1,i and the sixth number of matrices O i-1,i The network size of the first neural network is dynamically adjusted by combining the first node and the second node according to the instruction information. For the specific implementation of determining the number of the second node in this cycle according to the instruction information, please refer to the relevant introduction in the above scenarios A to D, and combine the fourth number of matrices S i-1,i and the sixth number of matrices O i-1,i For the specific implementation, please refer to the relevant introduction in the above "S302", which will not be repeated here. For ease of understanding, the above example will be further introduced in conjunction with Figure 1.
[0176] For example, in the above scenario A or scenario B, the first node may be node 1, and the second node may include node 3 and node 4. If node 1 determines that node 6 is a newly added second node according to the indication information, such as the indication information broadcast by the central control device, then the second node may further include node 3, node 4 and node 6. In this way, node 1 may determine that the number of second nodes changes from 2 to 3, and calculate the number of second nodes according to the number of second nodes and the matrix W. i-1,i The positive correlation between the size of i-1,i The size of is changed from 3*3 to 4*4, thus further determining the matrix S i-1,i The number of S i is changed from 3 to 4, and the matrix O i-1,i The number of O i is changed from 6 to 12. Thus, node 1 can be based on the 4 matrices S i-1,i and 12 matrices O i-1,i By combining the above formula (5), the neural network structure of the i-th hidden layer is adjusted from the structure shown in the above formula (6) to the structure shown in the above formula, so as to expand the network scale of the first neural network.
[0177] In the above scenario C, the first node may be node 1, and the second node includes nodes 3 to 5. If node 1 determines that node 6 is a newly added second node based on indication information, such as indication information broadcast by the node, the second node may further include nodes 3 to 6. In this way, node 1 may determine that the number of second nodes changes from 3 to 4, and calculate the number of second nodes based on the number of second nodes and the matrix W. i-1,i The positive correlation between the size of i-1,i The size of the matrix S is changed from 4*4 to 5*5, so that the matrix S i-1,i The number of S i is changed from 4 to 5, and the matrix O i-1,i The number of O i is changed from 12 to 20. Thus, node 1 can be based on the 5 matrices S i-1,i and 20 matrices O i-1,i By combining the above formula (6), the neural network structure of the i-th hidden layer is adjusted from the structure shown in the above formula (7) to the structure shown in the above formula (7) to expand the network scale of the first neural network.
[0178] In another possible implementation, the first node can determine whether the number of second nodes has changed by performing a reachability test. For example, the first node can periodically test the reachability of each second node to determine whether there are unreachable nodes in this period. If the first node determines that there are unreachable nodes in this period, it can further determine the change in the number of second nodes, such as determining the change from the first number to the second number. The second number is the first number minus the number of unreachable nodes. In this way, the first node can convert the above matrix W into i-1,i In the matrix S i-1,i The number of is adjusted from the third number to the fourth number, and the above matrix W i-1,i In the matrix O i-1,i The number of is adjusted from the fifth number to the sixth number accordingly. In this way, the first node can be adjusted according to the fourth number of matrix S i-1,i and the sixth number of matrices O i-1,i The network size of the first neural network is dynamically adjusted by combining the fourth number of matrices S i-1,i and the sixth number of matrices O i-1,i The specific implementation can also refer to the relevant introduction in the above "S302", which will not be repeated here.
[0179] For ease of understanding, the above example will be further described below in conjunction with Figure 1 and Figure 4. Figure 4 shows changes in the connection relationship of each node in the communication system.
[0180] For example, in the above scenario D, the first node may be node 1, and the second node may include nodes 2 to 5. As shown in Figure 4, if node 1 determines that node 3 is unreachable through reachability detection, the second node may further include nodes 2, 4, and 5. In this way, node 1 may determine that the number of second nodes changes from 4 to 3, and calculate the number of nodes based on the number of second nodes and the matrix W. i-1,i The positive correlation between the size of i-1,i The size of is changed from 5*5 to 4*4, thus further determining the matrix S i-1,i The number of S i is changed from 5 to 4, and the matrix O i-1,i The number of O i is changed from 20 to 12. Thus, node 1 can be based on the 4 matrices S i-1,i and 12 matrices O i-1,i By combining the above formula (7), the neural network structure of the i-th hidden layer is adjusted from the structure shown in the above formula (6) to the structure shown in the above formula, so as to reduce the network scale of the first neural network.
[0181] Optionally, in combination with the above-mentioned first implementation scenario, in the second implementation scenario of the embodiment shown in FIG2 , after S302 , the method shown in FIG1 may further include: Step 1, the first node determines a second neural network parameter set.
[0182] The second neural network parameter set may be determined by the first node based on the processing result and the first neural network. For example, the first neural network may be updated based on the processing result to obtain the second neural network parameter set, thereby enabling training and updating of the first neural network. The processing result is the result of processing the first data determined by the first neural network. The second neural network parameter set may include a third parameter subset and / or a fourth parameter subset. Methods for training the first neural network may include supervised learning and reinforcement learning, which are described below.
[0183] a. Supervised Learning
[0184] Supervised learning can also be called supervised training or learning with a teacher. Supervised learning means: using the loss between the processing result of the first data and the data label of the first data to update the first neural network, so that the loss between the processing result and the data label of the subsequent output of the first neural network can become smaller and smaller, and finally convergence is achieved. Among them, the processing result is the result estimated by the first neural network, and the data label is the actual result. For example, if the first data is the status information of the device, such as channel status information, cache status information, historical scheduling information, etc., and the processing result is the estimated scheduling priority, then the data label can be the actual scheduling priority of the device. For another example, if the first data is the user's portrait information, such as business type, business volume, business survival time period, etc., and the processing result is the estimated user type, then the data label can be the actual user type of the user.
[0185] Specifically, in one possible implementation, a first node can use the data from the first node to train a first neural network. This allows the first and second nodes to exchange their respective data without having to exchange the data labels corresponding to their data. This reduces the amount of data communication between the first and second nodes, thereby improving communication efficiency. For easier understanding, this is explained below with reference to Figure 5.
[0186] FIG5 shows the overall structure of the first neural network in the first scenario. The first scenario is a scenario in which the first neural network is trained using the data of the first node, the data of the second node, and the label of the data of the first node. As shown in FIG5 , the i-th hidden layer of the first neural network can output the processing result y1 of the data of the first node. If the data label of the first node is z1, the first node can determine the loss as loss = D(y1, z1). Wherein, D() can be a loss function, such as a cross entropy function, a mean square error function, etc. Further, the first node can use the loss function to derive the parameters in the neural network parameter set of the first neural network, thereby obtaining the corresponding gradient, and update the first neural network through the reverse transfer of the gradient, such as updating the first neural network parameter set to the second neural network parameter set. In this way, the first node can update the neural network structure of the i-th hidden layer according to the combination of the second neural network parameter set to achieve the training of the first neural network. The updated neural network structure of the i-th hidden layer can be shown as follows (8):
[0187]
[0188] Among them, S i-1,i′ It can be determined based on the third parameter subset in the second neural network parameter set and the above parameter structure. i-1,i′ It can be determined based on the fourth parameter subset in the second neural network parameter set and the above parameter structure.
[0189] In another possible implementation, the first node can train the first neural network using the first node's data and the labels corresponding to the data, and the second node's data and the labels corresponding to the data. In this way, the first and second nodes can exchange not only data but also the data labels corresponding to their respective data. This allows the first node to use more data to train the first neural network, enabling the first neural network to converge more quickly, thereby improving the training effect of the first neural network and shortening the training time. For easier understanding, this is explained below in conjunction with Figure 3.
[0190] Figure 3 shows the overall structure of the first neural network in the second scenario. The second scenario is a scenario where the first neural network is trained using the data labels of the first node and the second node. As shown in Figure 3, the i-th hidden layer of the first neural network can output the processing results of the data of the first node and the second node, such as processing result y1-processing result y K , a total of K processing results. Correspondingly, the data labels corresponding to the data of the first node and the second node can also be K. Among them, the kth processing result y k The corresponding data label is z k , k is a positive integer less than or equal to K. In this way, the first node can determine the loss as Furthermore, the first node can use the loss function to derive the neural network parameter set of the first neural network to obtain the corresponding gradient, and update the first neural network by backpropagating the gradient, such as updating the first neural network parameter set to the second neural network parameter set. In this way, the first node can also update the neural network structure of the i-th hidden layer based on the combination of the second neural network parameter set to achieve training of the first neural network. The updated neural network structure of the i-th hidden layer can also be shown as shown in the above formula (8).
[0191] b. Reinforcement Learning
[0192] Reinforcement learning can also be called reinforcement learning, evaluation learning or enhanced learning. Reinforcement learning means: in the absence of labels, using the benefits generated by the processing results to update the first neural network, so that the benefits generated by the subsequent processing results output by the first neural network can become larger and larger, and eventually convergence is achieved. Among them, the benefits can reflect the rationality of the processing results. The more reasonable the processing results, the greater the benefits. For example, if the first data is the status information of the device, such as the channel matrix, the signal interference matrix, the power control strategy of the previous round, etc., and the processing result is the power control strategy of the device in this round, then after the device executes the power control strategy of this round, the benefit of the device can be represented by the data throughput and packet loss rate of the device, such as r=THP+α*(1-PL). Among them, THP is the data throughput, PL is the packet loss rate, and α is a constant. It can be seen that if the power control strategy of the device in this round is more reasonable, the data throughput of the device is greater and / or the packet loss rate is lower, then the benefit will be greater.
[0193] Specifically, in one possible implementation, the first node can use the processing result of the data of the first node to generate revenue and train the first neural network. For ease of understanding, the following continues with reference to FIG5 for further description.
[0194] Among them, the overall structure of the first neural network in the third scenario can also be shown in Figure 5. As shown in Figure 5, the i-th hidden layer of the first neural network can output the processing result y1 of the data of the first node. If the benefit of the first node is r1, the first node can use the benefit r1 to derive the neural network parameter set of the first neural network, thereby obtaining the corresponding gradient, and update the first neural network through the reverse transfer of the gradient, such as updating the first neural network parameter set to the second neural network parameter set. In this way, the first node can also update the neural network structure of the i-th hidden layer according to the combination of the second neural network parameter set to achieve training of the first neural network. Among them, the neural network structure after the i-th hidden layer is updated can also be shown as the above formula (8).
[0195] In another possible implementation, the first node can use the processing results of the data of the first node and the second node to generate revenue and train the first neural network. For ease of understanding, the following continues with reference to FIG5 .
[0196] The overall structure of the first neural network in the third scenario can also be shown in Figure 5. As shown in Figure 5, on the one hand, the i-th hidden layer of the first neural network can output the processing results of the data of the first node and the second node, such as the processing result y1, so that the first node can determine a benefit r1 corresponding to the processing result y1. On the other hand, the first node can receive benefits from each second node, such as benefit r2-benefit r k, a total of K-1 benefits. Among them, the realization principle of each second node determining the benefit of the second node can refer to the relevant introduction of the first node determining the benefit r1, which will not be repeated here. In this way, the first node obtains a total of K benefits. Among them, the kth benefit is r k Then, the first node can determine the global benefit as Or Among them, β can be a constant, r′ k Can be used to adjust the return r k balance to ensure the benefits k Can have a reasonable impact on the overall benefits. For example, if the benefits r k For r k =THP k +α*(1-PL k ), then r′ k Can be Among them, THP k is the data throughput of the kth device, PL k is the packet loss rate of the kth device, and α is the fairness indicator of the communication system. Furthermore, the first node can use the global benefit to derive the neural network parameter set of the first neural network, thereby obtaining the corresponding gradient, and update the first neural network through the reverse propagation of the gradient, such as updating the first neural network parameter set to the second neural network parameter set. In this way, the first node can also update the neural network structure of the i-th hidden layer based on the combination of the second neural network parameter set to achieve training of the first neural network. The updated neural network structure of the i-th hidden layer can also be shown in the above formula (8).
[0197] It should be understood that since the training methods of the first to fourth scenarios are different, in the above formula (8), the matrix S i-1,i′ and matrix O i-1,i′ The values in the first to fourth scenarios described above may also differ. Furthermore, each second node sending its revenue is merely an example and not intended to be limiting. For example, each second node may also send its processing results, so that the first node can determine its revenue based on the processing results of each second node.
[0198] It should also be understood that the above description uses the example of a first node performing a training session and is not intended to be limiting. In practice, the process for the first node to use a neural network can be illustrated in Figure 6. As shown in Figure 6, when a first-type task needs to be executed, the first node can determine the first neural network and enter the training phase, repeating the aforementioned training process until the first neural network converges. The first node can then enter the inference phase to use the first neural network to execute the first-type task. Subsequently, as the data type and channel state change, the accuracy of the first neural network may gradually decline. The first node can then re-enter the training phase, and so on, until the first-type task is completed. After the first-type task is completed, the first node can release the first neural network to conserve resources and improve resource utilization. In other words, the lifetime of the first neural network can be the lifetime of the first-type task, which can also be referred to as a superframe. Thus, in the next n superframes, where n can be a positive integer, the first node can re-determine the neural network based on the nth-type task, such as the second-type task, and so on.
[0199] Optionally, in combination with the above-mentioned second implementation scenario, in the third implementation scenario of the embodiment shown in FIG2 , after step 1, the method may further include: step 2, the first node sends a second neural network parameter set.
[0200] The first node may send the second neural network parameter set to the first device. Correspondingly, the first device may receive the second neural network parameter set from the first node. In this way, the first device may perform neural network aggregation operations. For example, the first device may determine a fourth neural network parameter set based on the second neural network parameter set and the third neural network parameter set.
[0201] The third neural network parameter set is determined by the second node and may include the fifth parameter subset and / or the sixth parameter subset. The fourth neural network parameter set may include the seventh parameter subset and / or the eighth parameter subset, and may be used by the first device to update the first neural network parameter set.
[0202] It should be understood that the specific implementation of the second node determining the third neural network parameter set can refer to the relevant description of the first node determining the second neural network parameter set in "Step 1" above, and will not be repeated here. The following is a detailed description of the first device performing the neural network aggregation operation.
[0203] Specifically, the first device may perform a weighted summation of the second neural network parameter set and the third neural network parameter set based on the respective weights of the first node and the second node to determine a fourth neural network parameter set. For example, the first device may perform a weighted summation of the third parameter subset and the fifth parameter subset based on the respective weights of the first node and the second node to determine a seventh parameter subset, and perform a weighted summation of the fourth parameter subset and the sixth parameter subset to determine an eighth parameter subset. The weights of the first node and the second node may be determined based on the amount of data of the first node and the second node, and / or based on the importance of the data of the first node and the second node, without limitation. For example, if the amount of data used by each node in training the neural network is greater and / or the importance of the data is greater, the weight of the node will be correspondingly greater; conversely, if the amount of data used by each node in training the neural network is smaller and / or the importance of the data is less, the weight of the node will be correspondingly smaller, to ensure that the neural network parameter set of each node has a reasonable impact on the aggregation of neural network parameters.
[0204] Afterward, the first device may transmit the fourth neural network parameter set. For example, the first device transmits the fourth neural network parameter set so that the first node can obtain the fourth neural network parameter set and update the first neural network based on the fourth neural network parameter set. The specific implementation of updating the first neural network based on the fourth neural network parameter set can be referenced to the relevant description in S302 above and will not be repeated here.
[0205] It should be understood that because the aggregation operation can integrate the training results of each node, it can increase the training speed of the first neural network, allowing the first neural network to converge more quickly, thereby shortening the training time and improving training efficiency. In addition, because the number of parameters in the second neural network parameter set and the third neural network parameter set is smaller than the number of parameters in the first neural network, compared to aggregating all the parameters of the first neural network, aggregating the second neural network parameter set and the third neural network parameter set can effectively reduce the amount of computation and increase the aggregation speed.
[0206] It should also be understood that the first node sending the second neural network parameter set is only an exemplary manner and is not intended to be limiting. For example, the first node may also send the above matrix S to the first device. i-1,i′ and matrix O i-1,i′ In addition, the first device sending the fourth neural network parameter set to the first node is only an exemplary manner and is not intended to be limiting. For example, the first device may also send the matrix S to the first node. i-1,i″′ and matrix O i-1,i″′ . Among them, the matrix S i-1,i″′ It can be determined according to the seventh parameter subset and the parameter structure, the matrix Oi-1,i″′ It can be determined based on the eighth parameter subset and the parameter structure.
[0207] The above is an introduction to the principle of the data processing method provided by the present application in conjunction with Figures 2 to 6. The following is a detailed introduction to the application of this method in actual scenarios in conjunction with Figures 7 and 8.
[0208] Please refer to Figure 7, which shows a flow chart of a data processing method in a power control scenario. For ease of understanding, the following description is based on a first network device and a second network device as an example. The first network device and the second network device are any two nodes among the aforementioned multiple nodes. As shown in Figure 7, the data processing method may include:
[0209] S701: A first network device determines an adjacency relationship.
[0210] The first network device may determine that there is an adjacency relationship between the first network device and the second network device. Specific implementation of S701 may refer to the relevant introduction in the above “S301” and will not be repeated here.
[0211] S702: The second network device determines an adjacency relationship.
[0212] Similarly, the second network device can also determine that there is an adjacency relationship between the second network device and the first network device. Specific implementation of S702 can also refer to the relevant introduction in the above “S301”, which will not be repeated here.
[0213] S703: The first device sends a first neural network parameter set, and the first network device and the second network device receive the first neural network parameter set from the first device.
[0214] In one possible implementation, the first device may transmit the first neural network parameter set in a non-directional manner. For example, the first device may periodically broadcast a first broadcast message. The first neural network parameter set may be carried in the first broadcast message. In this way, the first network device and the second network device may receive the first broadcast message and thereby obtain the first neural network parameter set.
[0215] In another possible implementation, the first device may send the first neural network parameter set in a targeted manner. For example, after receiving a first request message from a first network device, the first device may send a first response message carrying the first neural network parameter set to the first device, so that the first network device receives the first response message and obtains the first parameter subset and the second parameter subset. Similarly, after receiving a second request message from a second network device, the first device may also send a second response message carrying the first neural network parameter set to the second device, so that the second network device receives the second response message and obtains the first neural network parameter set.
[0216] The first device may also send the parameter structure of the first neural network parameter set to the first network device and the second network device, or may also send the matrix S to the first network device and the second network device. i-1,i and matrix O i-1,i For specific implementation, please refer to the relevant introduction in S302 above, which will not be repeated here. In addition, the execution order of S701-S703 is not limited.
[0217] S704: The first network device determines a first neural network.
[0218] The first network device may combine the first neural network parameter sets based on the positive correlation between the number of second network devices and the number of first neural network parameter sets, thereby determining the first neural network. Furthermore, the specific implementation of S704 can refer to the relevant description in S302 above and will not be repeated here.
[0219] S705: The second network device determines a second neural network.
[0220] Similarly, the second network device may also combine the first neural network parameter set according to the positive correlation between the number of the first network devices and the number of the first neural network parameter set, thereby determining the second neural network.
[0221] In addition, the specific implementation of S705 can also refer to the relevant introduction in the above S302, which will not be repeated here.
[0222] S706 , the first network device sends the data of the first network device to the second network device, and the second network device receives the data from the first network device.
[0223] The data of the first network device may be one or more of the following data of the first network device: a channel matrix, a signal interference matrix, or a power control strategy of a previous round, which is not limited.
[0224] S707 : The first network device sends the data label of the first network device to the second network device, and the second network device receives the data label from the first network device.
[0225] The data tag of the first network device may be the actual power control strategy of the first network device in this round. S707 is an optional step. For example, if the second network device trains the second neural network using supervised learning, S707 may be executed. Otherwise, if the second network device trains the second neural network using reinforcement learning, S707 may not be executed.
[0226] S708 : The second network device sends the data of the second network device to the first network device, and the first network device receives the data from the second network device.
[0227] The data of the second network device may be one or more of the following data of the second network device: a channel matrix, a signal interference matrix, or a power control strategy of a previous round, which is not limited.
[0228] S709 : The second network device sends the data label of the second network device to the first network device, and the first network device receives the data label from the second network device.
[0229] The data tag of the second network device may be the actual power control strategy of the second network device in this round. S709 is also optional. For example, if the first network device trains the first neural network using supervised learning, S709 may be executed. Otherwise, if the first network device trains the first neural network using reinforcement learning, S709 may not be executed. Furthermore, the order in which S704-S709 are executed is not limited.
[0230] S710: The first network device trains a first neural network using data of the first network device and data of the second network device.
[0231] Specifically, the first network device may train the first neural network using supervised learning or reinforcement learning to obtain the second neural network parameter set. The specific implementation of S710 may refer to the relevant introduction in step 2 above and will not be repeated here.
[0232] S711: The second network device trains a second neural network using the data of the first network device and the data of the second network device.
[0233] Specifically, the second network device may also train the second neural network using supervised learning or reinforcement learning to obtain the third neural network parameter set. The specific implementation of S711 may also refer to the relevant introduction in step 2 above and will not be repeated here.
[0234] S712: The first network device sends a second neural network parameter set to the first device, and the first device receives the second neural network parameter set from the first network device.
[0235] S713: The second network device sends a third neural network parameter set to the first device, and the first device receives the third neural network parameter set from the second network device.
[0236] The first network device may also send the matrix S to the first device. i-1,i′ and matrix O i-1,i′ , the second network device can also send the above matrix S to the first device i-1,i″ and O i-1,i″ , which is not limited to this. For specific implementation, please refer to the relevant introduction in the above step 2, which will not be repeated here. In addition, the execution order of S712 and S713 is not limited.
[0237] S714: The first device determines a fourth neural network parameter set.
[0238] Among them, the fourth neural network parameter set can be determined by the first device, aggregating the second neural network parameter set and the third neural network parameter set. The specific implementation can refer to the relevant introduction in the above step 2, which will not be repeated here.
[0239] S715: The first device sends a fourth neural network parameter set, and the first network device and the second network device receive the fourth neural network parameter set from the first device.
[0240] The first device may also send the structural parameters of the fourth neural network parameter set, or may also send the matrix S i-1,i″′ and matrix O i-1,i″ , which is not limited. Among them, the matrix S i-1,i″′ It can be the first device aggregation matrix S i-1,i′ and S i-1,i″ Determined, matrix O i-1,i″′ It can be the first device aggregation matrix O i-1,i′ and O i-1,i″ In addition, the specific implementation of S715 can refer to the relevant introduction in the above step 2 and S703, which will not be repeated here.
[0241] S716: The first network device updates the first neural network.
[0242] The first network device may update the first neural network according to the fourth neural network parameter set. Furthermore, the specific implementation of S716 may refer to the relevant introduction in step 2 above and will not be repeated here.
[0243] S717, the second network device updates the second neural network.
[0244] The second network device may update the second neural network according to the fourth neural network parameter set. Furthermore, the specific implementation of S717 may refer to the relevant introduction in step 2 above and will not be repeated here.
[0245] It should be understood that after S716, the first network device may continue to train the first neural network, i.e., iteratively execute the relevant steps in S706-S716 above, until the training of the first neural network is completed, thereby entering the inference phase to perform the power control task. Alternatively, after S716, the first network device may also enter the inference phase. Similarly, after S717, the second network device may also continue to train the second neural network, i.e., iteratively execute the relevant steps in S707-S717 above, until the training of the second neural network is completed, thereby entering the inference phase to perform the power control task. Alternatively, after S717, the second network device may also enter the inference phase.
[0246] S718: The first network device releases the first neural network.
[0247] Among them, if the power control task ends, that is, a superframe time ends, the first network device can release the first neural network, such as deleting the neural network parameter set of the first neural network, so as to avoid resource redundancy of the first network device and improve the resource utilization of the first network device.
[0248] S719, the second network device releases the second neural network.
[0249] Among them, if the power control task ends, that is, a superframe time ends, the second network device can also release the second neural network, such as deleting the neural network parameter set of the second neural network to avoid resource redundancy on the second network device, thereby improving the resource utilization of the second network device.
[0250] In addition, S718 and S719 are optional steps. For example, if other tasks need to be performed after the superframe time ends, the first neural network and the second neural network can be released; otherwise, the first neural network and the second neural network can be retained.
[0251] Please refer to Figure 8, which shows a flow chart of a data processing method in a multi-transmission / reception point (multi-TRP) scenario. For ease of understanding, the following is an introduction using a terminal device and the first TRP and the second TRP among multiple TRPs as examples. The first TRP and the second TRP are any two nodes among the multiple nodes mentioned above. As shown in Figure 8, the data processing method may include:
[0252] S801, the terminal device obtains the channel measurement results of multiple TRPs.
[0253] Since the terminal device can be located within the signal coverage of multiple TRPs, the terminal device can perform channel measurement to obtain channel measurement results for multiple TRPs. For example, the channel measurement result can be the signal strength between the terminal device and each TRP.
[0254] S802: The terminal device broadcasts a first message to multiple TRPs, and the first TRP and the second TRP receive the first message from the terminal device.
[0255] The first message may carry the above-mentioned channel measurement result, such as an SCI message. In this way, both the first TRP and the second TRP may receive the first message, thereby obtaining the channel measurement result.
[0256] S803: The first TRP determines the adjacency relationship.
[0257] Specifically, the first TRP can determine that there is an adjacency relationship between the first TRP and the second TRP based on the above-mentioned channel measurement results. For example, if the channel measurement result indicates that the signal strength between the first TRP and the second TRP and the terminal device is greater than the signal strength threshold, then the first TRP and the second TRP can provide data transmission services to the terminal device, so the first TRP can determine that there is an adjacency relationship between the first TRP and the second TRP. For another example, if the channel measurement result indicates that the signal strength between the first TRP and the terminal device is greater than the signal strength threshold, and indicates that the signal strength between the third TRP (not shown in the figure) and the terminal device is less than the signal strength threshold, then the third TRP may not be able to provide data transmission services to the user, so the first TRP can determine that there is no adjacency relationship between the first TRP and the third TRP. In addition, the first TRP can also determine that there is an adjacency relationship between the first TRP and the second TRP through the other methods mentioned above. For specific implementation, please refer to the relevant introduction in the above-mentioned "S301", which will not be repeated here.
[0258] S804: The second TRP determines the adjacency relationship.
[0259] Similarly, the second TRP can also determine that the second TRP and the first TRP have an adjacent relationship based on the above channel measurement results. In addition, the specific implementation of S804 can also refer to the relevant introduction in the above "S301", which will not be repeated here.
[0260] S805: The first device sends a first neural network parameter set, and the first TRP and the second TRP receive the first neural network parameter set from the first device.
[0261] The specific implementation of S805 can refer to the relevant introduction in S703 above, which will not be repeated here. In addition, the execution order of S801-S805 is not limited.
[0262] S806: The first TRP determines the first neural network.
[0263] The first TRP may combine the first neural network parameter set based on the positive correlation between the number of second TRPs and the number of first neural network parameter sets, thereby determining the first neural network. Furthermore, the specific implementation of S806 may refer to the relevant description in S302 above and will not be repeated here.
[0264] S807, the second TRP determines the second neural network.
[0265] Similarly, the second TRP can also be determined by combining the first neural network parameter set based on the positive correlation between the number of first TRPs and the number of first neural network parameter sets. Furthermore, the specific implementation of S807 can also refer to the relevant description of S302 above and will not be repeated here.
[0266] S808, the first TRP sends the data of the first TRP to the second TRP, and the second TRP receives the data from the first TRP.
[0267] The data of the first TRP may be one or more of the following data of the first TRP: channel strength, channel matrix, or load, which is not limited.
[0268] S809, the first TRP sends the data label of the first TRP to the second TRP, and the second TRP receives the data label from the first TRP.
[0269] The data tag of the first TRP may indicate whether the first TRP actually provides data transmission services to the terminal device. For example, it may be 0 or 1, where 0 indicates that the first TRP does not actually provide data transmission services to the terminal device, and 1 indicates that the first TRP actually provides data transmission services to the terminal device. Furthermore, step S809 is optional. For example, if the second TRP trains the second neural network using supervised learning, step S809 may be executed. Otherwise, if the second TRP trains the second neural network using reinforcement learning, step S809 may not be executed.
[0270] S810, the second TRP sends the data of the second TRP to the first TRP, and the first TRP receives the data from the second TRP.
[0271] The data of the second TRP may be one or more of the following data of the second TRP: channel strength, channel matrix, or load, which is not limited.
[0272] S811, the second TRP sends the data label of the second TRP to the first TRP, and the first TRP receives the data label from the second TRP.
[0273] Specifically, the data tag of the second TRP may be whether the second TRP actually provides data transmission services to the terminal device. For example, it may be 0 or 1, where 0 indicates that the second TRP does not actually provide data transmission services to the terminal device, and 1 indicates that the second TRP actually provides data transmission services to the terminal device. In addition, S811 is also an optional step. For example, if the first TRP uses supervised learning to train the first neural network, S811 may be executed. Otherwise, if the first TRP uses reinforcement learning to train the first neural network, S811 may not be executed. In addition, the execution order of S806-S811 is not limited.
[0274] S812: The first TRP trains a first neural network using the data of the first TRP and the data of the second TRP.
[0275] Specifically, the first TRP can obtain, based on the first neural network, the results of processing the first TRP's data and the second TRP's data by the first neural network. For example, the processing result can be the probability that the first TRP provides data transmission services to the terminal device, and the probability can be between 0 and 1. In this way, the first TRP can train the first neural network using supervised learning or reinforcement learning to obtain the aforementioned set of parameters for the second neural network. For example, if supervised learning is used, the first TRP can determine the loss between the probability and whether the first TRP actually provides data transmission services to the terminal device, and use this loss to train the first neural network. For another example, if reinforcement learning is used, the first TRP can determine whether to provide data transmission services to the terminal device based on the probability. In this way, the first TRP can obtain parameters such as the terminal device's data throughput, packet loss rate, or latency when the first TRP provides or does not provide data transmission services, and then determine the benefits based on these parameters, and use these benefits to train the first neural network. The specific implementation of S812 can refer to the relevant description in step 2 above and will not be repeated here.
[0276] S813, the second TRP uses the data of the first TRP and the data of the second TRP to train the second neural network.
[0277] Specifically, the second TRP can obtain, based on the second neural network, the results of processing the data of the first and second TRPs by the second neural network. For example, the processing result can be the probability that the second TRP will provide data transmission services to the terminal device. In this way, the second TRP can train the second neural network using supervised learning or reinforcement learning to obtain the aforementioned third neural network parameter set. For example, if supervised learning is used, the second TRP can determine the loss between the probability and whether the second TRP actually provides data transmission services to the terminal device, and use this loss to train the first neural network. For another example, if reinforcement learning is used, the second TRP can determine whether to provide data transmission services to the terminal device based on the probability. In this way, the second TRP can obtain parameters such as the data throughput, packet loss rate, or latency of the terminal device when the second TRP provides or does not provide data transmission services, and then determine the benefits based on these parameters, and use these benefits to train the first neural network. The specific implementation of S813 can refer to the relevant description in step 2 above and will not be repeated here.
[0278] S814, the first TRP sends a second neural network parameter set to the first device, and the first device receives the second neural network parameter set from the first TRP.
[0279] S815, the second TRP sends a third neural network parameter set to the first device, and the first device receives the third neural network parameter set from the second TRP.
[0280] The first TRP may also send the above matrix S to the first device. i-1,i′ and matrix O i-1,i′ , the second TRP can also send the above matrix S to the first device i-1,i″ and O i-1,i″ , which is not limited to this. For specific implementation, please refer to the relevant introduction in the above step 2, which will not be repeated here. In addition, the execution order of S814 and S815 is not limited.
[0281] S816: The first device determines a fourth neural network parameter set.
[0282] The specific implementation of S816 may refer to the relevant introduction in the above step 2, which will not be repeated here.
[0283] S817: The first device sends a fourth neural network parameter set.
[0284] The specific implementation of S817 may refer to the relevant introduction in the above steps 2, S703 and S715, which will not be repeated here.
[0285] S818, the first TRP updates the first neural network.
[0286] The first TRP may update the first neural network according to the fourth neural network parameter set. Furthermore, the specific implementation of S818 may refer to the relevant introduction in step 2 above, and will not be repeated here.
[0287] S819, the second TRP updates the second neural network.
[0288] The second TRP may also update the second neural network according to the fourth neural network parameter set. In addition, the specific implementation of S819 can refer to the relevant introduction in the above step 2, which will not be repeated here.
[0289] It should be understood that after S818, the first TRP can continue to train the first neural network, that is, iteratively execute the relevant steps in S808-S818 above until the training of the first neural network is completed, thereby entering the inference phase to perform multiple TRP tasks. Alternatively, after S818, the first TRP can also enter the inference phase. Similarly, after S819, the second TRP can also continue to train the second neural network, that is, iteratively execute the relevant steps in S809-S819 above until the training of the second neural network is completed, thereby entering the inference phase to perform multiple TRP tasks. Alternatively, after S819, the second TRP can also enter the inference phase.
[0290] S820: The first TRP releases the first neural network.
[0291] Among them, if the multi-TRP task ends, that is, a superframe time ends, the first TRP can release the first neural network, such as deleting the neural network parameter set of the first neural network to avoid resource redundancy of the first TRP and improve the resource utilization of the first TRP.
[0292] S821, the second TRP releases the second neural network.
[0293] Among them, if the multi-TRP task ends, that is, a superframe time ends, the second TRP can release the second neural network, such as deleting the neural network parameter set of the second neural network to avoid resource redundancy of the second TRP, thereby improving the resource utilization of the second TRP.
[0294] In addition, S820 and S821 are optional steps. For example, if other tasks need to be performed after the superframe time ends, the first neural network and the second neural network can be released; otherwise, the first neural network and the second neural network can be retained.
[0295] Based on the data processing method shown in any one of Figures 2, 7, or 8, it can be seen that since multiple nodes can perform the same type of task, the first node can determine the number of first neural network parameter sets based on the number of neighboring nodes in the multiple nodes, such as the number of second nodes, and then determine the first neural network. In this way, the network scale of the first neural network can be positively correlated with the number of second nodes to cooperate with the second nodes to perform the same type of task. For example, when the number of neighboring nodes is less than the number of nodes in the device cluster, the first neural network is only a part of the complete neural network, and the network scale of the first neural network is also smaller than the network scale of the complete neural network, which can reduce the computational complexity and amount of the neural network and improve data processing efficiency.
[0296] The data processing method provided by the embodiment of the present application is described in detail above in conjunction with Figures 2 to 8. In order to implement the various functions in the method provided by the embodiment of the present application, the terminal equipment and the network equipment may include a hardware structure and / or a software module, and implement the above functions in the form of a hardware structure, a software module, or a hardware structure plus a software module. Whether a function of the above functions is executed in the form of a hardware structure, a software module, or a hardware structure plus a software module depends on the specific application and design constraints of the technical solution. The following describes in detail a data processing device for executing the data processing method provided by the embodiment of the present application in conjunction with Figures 9 and 10.
[0297] For example, Figure 9 is a structural diagram of a data processing device according to an embodiment of the present application. As shown in Figure 9, the data processing device 900 includes a processing module 901 and a transceiver module 902. For ease of illustration, Figure 9 only shows the main components of the data processing device.
[0298] In some embodiments, the data processing device 900 may be applicable to the communication system shown in Figure 1, performing the function of the first node in the method shown in Figure 2, performing the function of the first network device or the second network device in the method shown in Figure 7, or performing the function of the first TRP or the second TRP in the method shown in Figure 8.
[0299] If the data processing device 900 is the first node, the transceiver module 902 is used to execute S201 , and the processing module 901 is used to execute S202 .
[0300] If the data processing device 900 is the first network device or the second network device, the transceiver module 902 is used to execute S703, S706-S709, S712-S713, and S715, and the processing module 901 is used to execute S701-S702, S704-S705, S710-S711, and S716-S719.
[0301] If the data processing device 900 is the first TRP or the second TRP, the transceiver module 902 is used to execute S802, S805, S808-S811, S814-S815, and S817, and the processing module 901 is used to execute S802-S804, S806-S807, S812-S813, and S818-S820.
[0302] Optionally, the transceiver module 902 may include a receiving module and a sending module (not shown in FIG9 ). The receiving module is used to implement the receiving function of the data processing device 900 . The sending module is used to implement the sending function of the data processing device 900 .
[0303] Optionally, the data processing device 900 may further include a storage module (not shown in FIG9 ) storing a program or instruction. When the processing module 901 executes the program or instruction, the data processing device 900 may perform the method shown in any one of FIG2 , FIG7 , or FIG8 .
[0304] It should be understood that the processing module 901 involved in the data processing device 900 can be implemented by a processor, processor-related circuit components or logic circuits, and can be a processor or a processing unit; the transceiver module 902 can be implemented by a transceiver, transceiver-related circuit components or input and output interfaces, and can be a transceiver or a transceiver unit.
[0305] It should be noted that the data processing device 900 can be a terminal device or a network device, or a chip (system) or other parts or components that can be set in the terminal device or network device, or a device that includes a terminal device or a network device. This application does not limit this.
[0306] In addition, the technical effects of the data processing device 900 can refer to the technical effects of the method shown in any one of Figures 2, 7, or 8, and will not be repeated here.
[0307] In some other embodiments, the data processing apparatus 900 may be applicable to the communication system shown in FIG. 1 , and execute the function of the first device in the method shown in any one of FIG. 2 , FIG. 7 , or FIG. 8 .
[0308] Among them, the transceiver module 902 is used to execute steps such as S703, S712-S713, S715, S805, S814-S815, and S817.
[0309] The processing module 901 is used to execute steps S714, S816, etc.
[0310] Optionally, the data processing device 900 may further include a storage module (not shown in FIG9 ) storing a program or instruction. When the processing module 901 executes the program or instruction, the data processing device 900 may perform the method shown in any one of FIG2 , FIG7 , or FIG8 .
[0311] It should be understood that the processing module 901 involved in the data processing device 900 can be implemented by a processor or processor-related circuit components, which can be a processor or a processing unit; the transceiver module 902 can be implemented by a transceiver or transceiver-related circuit components, which can be a transceiver or a transceiver unit.
[0312] It should be noted that the data processing device 900 can be a terminal device or a network device, or a chip (system) or other parts or components that can be set in the terminal device or network device, or a device that includes a terminal device or a network device. This application does not limit this.
[0313] In addition, the technical effects of the data processing device 900 can refer to the technical effects of the method shown in any one of Figures 2, 7, or 8, and will not be repeated here.
[0314] For example, FIG10 is a second structural diagram of a data processing device 1000 provided in an embodiment of the present application. The data processing device 1000 may be a terminal device or a network device, or may be a chip (system) or other component or assembly that can be provided in a terminal device or a network device. As shown in FIG10 , the communication may include a processor 1001. Optionally, the data processing device 1000 may further include a memory 1002 and / or a transceiver 1003. The processor 1001 is coupled to the memory 1002 and the transceiver 1003, for example, by a communication bus.
[0315] The following is a detailed introduction to the various components of the data processing device 1000 with reference to FIG10 :
[0316] The processor 1001 is the control center of the data processing device 1000 and can be a single processor or a collective term for multiple processing elements. For example, the processor 1001 can be one or more central processing units (CPUs), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application, such as one or more digital signal processors (DSPs) or one or more field programmable gate arrays (FPGAs).
[0317] Optionally, the processor 1001 may execute various functions of the data processing device 1000 by running or executing software programs stored in the memory 1002 and calling data stored in the memory 1002, such as various possible implementation methods in the above method embodiments.
[0318] In a specific implementation, as an embodiment, the processor 1001 may include one or more CPUs, such as CPU0 and CPU1 shown in FIG10 .
[0319] In a specific implementation, as an embodiment, the data processing apparatus 1000 may also include multiple processors, such as the processor 1001 and the processor 1004 shown in FIG10 . Each of these processors may be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). The processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0320] The memory 1002 is used to store the software program for executing the solution of the present application, and the execution is controlled by the processor 1001. The specific implementation method can refer to the above method embodiment and will not be repeated here.
[0321] Alternatively, the memory 1002 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, an optical disc storage (including a compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 1002 may be integrated with the processor 1001 or exist independently and be coupled to the processor 1001 via an interface circuit (not shown in FIG. 10 ) of the data processing device 1000. This embodiment of the present application does not specifically limit this.
[0322] Transceiver 1003 is used for communication with other devices. For example, if data processing device 1000 is a terminal device, transceiver 1003 can be used to communicate with a network device or another terminal device. For another example, if data processing device 1000 is a network device, transceiver 1003 can be used to communicate with a terminal device or another network device.
[0323] Optionally, the transceiver 1003 may include a receiver and a transmitter (not shown separately in FIG10 ), wherein the receiver is used to implement a receiving function, and the transmitter is used to implement a sending function.
[0324] Optionally, the transceiver 1003 can be integrated with the processor 1001, or can exist independently and be coupled to the processor 1001 through the interface circuit of the data processing device 1000 (not shown in Figure 10). This embodiment of the present application does not specifically limit this.
[0325] It should be noted that the structure of the data processing device 1000 shown in FIG10 does not constitute a limitation on the device. The actual device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0326] In addition, the technical effects of the data processing device 1000 can refer to the technical effects of the methods described in the above method embodiments, and will not be repeated here.
[0327] The above implementation can be implemented in whole or in part by software, hardware (such as circuits), firmware or any other combination. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When a computer instruction or computer program is loaded or 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 device. 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 one website, computer, server or data center to another website, computer, server or data center via a wired (such as infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state drive.
[0328] Based on the same concept as the above-mentioned method embodiment, the embodiment of the present application also provides a computer-readable storage medium, which stores a computer program, and the computer program is executed by hardware (such as a processor, etc.) to implement part or all of the steps of any method performed by any device in the embodiment of the present application.
[0329] Based on the same concept as the above method embodiment, the embodiment of the present application also provides a computer program product including program instructions. When the computer program product is run on a computer, the computer is enabled to execute part or all of the steps of any one of the above methods.
[0330] Based on the same concept as the above-mentioned method embodiment, the present application also provides a chip or chip system, which may include a processor. The chip may also include a memory (or storage module) and / or a transceiver (or communication module), or the chip is coupled with a memory (or storage module) and / or a transceiver (or communication module), wherein the transceiver (or communication module) can be used to support the chip for wired and / or wireless communication, and the memory (or storage module) can be used to store a program, and the processor calls the program to implement the above-mentioned method embodiment, the operation performed by the above-mentioned first device and / or node in any possible implementation of the method embodiment. The chip system may include the above chip, and may also include the above chip and other discrete devices, such as a memory (or storage module) and / or a transceiver (or communication module).
[0331] Based on the same concept as the above method embodiment, the present application also provides a communication system, which may include the above first device and / or node. The communication system can be used to implement the operations performed by the first device and / or node in the above method embodiment or any possible implementation of the method embodiment. Exemplarily, the communication system may have the structure shown in Figure 1.
[0332] It should be understood that the term "and / or" as used herein simply describes a relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A alone, A and B together, or B alone. A and B can be singular or plural. Furthermore, the character " / " as used herein generally indicates an "or" relationship between the associated objects, but it may also indicate an "and / or" relationship. For specific understanding, please refer to the context.
[0333] In this application, "at least one" means one or more, and "plurality" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or plural.
[0334] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0335] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0336] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described systems, devices and units can refer to the corresponding processes in the above-described method embodiments and will not be repeated here.
[0337] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0338] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0339] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0340] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The above-mentioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0341] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any modifications or substitutions that can be readily conceived by a person skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. A data processing method, characterized in that, applied to a first node, where there is an adjacency relationship between the first node and a second node, and the first node and the second node are used to perform the same type of task. The method includes: Obtaining first data; Determining a processing result of the first data through a first neural network, where the first neural network is determined according to a combination of a first neural network parameter set, and the number of the first neural network parameter sets in the combination is positively correlated with the number of the second nodes.
2. The data processing method according to claim 1, characterized in that, The first neural network includes: N hidden layers, and the i-th hidden layer includes M i parameter subsets. Among the M i parameter subsets, m parameter subsets are the same. The M i parameter subsets are determined according to the combination of the first neural network parameter set. N is a positive integer, i is a positive integer less than or equal to N, M i is an integer greater than 1, and m is an integer less than or equal to M and greater than 1.
3. The data processing method according to claim 1 or 2, characterized in that, The first neural network parameter set includes: a first parameter subset and / or a second parameter subset.
4. The data processing method according to claim 3, characterized in that, The neural network structure of the i-th hidden layer is represented as: Among them, the W i-1,i is used to represent the neural network structure of the i-th hidden layer, and the S i-1,i is determined according to the first parameter subset corresponding to the i-th hidden layer, and the O i-1,i is determined according to the second parameter subset corresponding to the i-th hidden layer.
5. The data processing method according to claim 4, characterized in that, The number of rows in the W i-1,i is positively correlated with the number of the second nodes, and the number of columns in the W i-1,i is positively correlated with the number of the second nodes.
6. The data processing method according to claim 3 or 4, characterized in that, If the number of the second nodes changes from a first number to a second number, then in the combination of the first neural network parameter sets, the number of the first parameter subsets is correspondingly adjusted from a third number to a fourth number, and the number of the second parameter subsets is correspondingly adjusted from a fifth number to a sixth number.
7. The data processing method according to any one of claims 1-6, characterized in that, After determining the processing result of the first data, the method further includes: Determining a second neural network parameter set, where the second neural network parameter set is determined according to the processing result and the first neural network; Sending the second neural network parameter set.
8. The data processing method according to any one of claims 1-7, characterized in that, The second node is determined by one or more of the following: the region where the node is located, the type of the node, the network to which the node belongs, or the user served by the node.
9. A data processing method, characterized in that, applied to a first device, the method includes: Determining a first neural network parameter set, where a first neural network is determined according to a combination of the first neural network parameter sets, and the number of the first neural network parameter sets in the combination is positively correlated with the number of second nodes, and there is an adjacency relationship between the second node and the first node, and the second node and the first node are used to perform the same type of task; Sending the first neural network parameter set.
10. The data processing method according to claim 9, characterized in that, After sending the first neural network parameter set, the method further includes: Obtaining a second neural network parameter set, where the second neural network parameter set is determined according to the processing result of the first data and the first neural network.
11. The data processing method according to claim 9 or 10, characterized in that, After obtaining the second neural network parameter set, the method further includes: Determine a fourth neural network parameter set according to the second neural network parameter set and the third neural network parameter set, where the third neural network parameter set is determined by the second node, and the fourth neural network parameter set is used to update the first neural network.
12. A data processing method, Characterized in that, Applied to a first node, the first node and the second node have an adjacency relationship, and the first node and the second node are used to perform the same type of task. The method includes: Obtain a first neural network parameter set; Determine a first neural network according to the combination of the first neural network parameter sets, where the number of the first neural network parameter sets in the combination is positively correlated with the number of the second nodes; Determine the processing result of the first data through the first neural network.
13. A data processing device, Characterized in that, Applied to a first node, the first node and the second node have an adjacency relationship, and the first node and the second node are used to perform the same type of task. The device includes: a transceiver module and a processing module, where, The transceiver module is used to obtain first data; The processing module is used to determine the processing result of the first data through a first neural network, where the first neural network is determined according to the combination of the first neural network parameter sets, and the number of the first neural network parameter sets in the combination is positively correlated with the number of the second nodes.
14. The data processing device according to claim 13, Characterized in that, The first neural network includes: N hidden layers, and the i-th hidden layer includes M i parameter subsets. Among the M i parameter subsets, m parameter subsets are the same. The M i parameter subsets are determined according to the combination of the first neural network parameter set. N is a positive integer, i is a positive integer less than or equal to N, M i is an integer greater than 1, and m is an integer less than or equal to M and greater than 1.
15. The data processing device according to claim 13 or 14, Characterized in that, The first neural network parameter set includes: a first parameter subset and / or a second parameter subset.
16. The data processing device according to claim 15, Characterized in that, The neural network structure of the i-th hidden layer is represented as: Among them, the W i-1,i is used to represent the neural network structure of the i-th hidden layer, and the S i-1,i is determined according to the first subset of parameters corresponding to the i-th hidden layer, and the O i-1,i is determined according to the second subset of parameters corresponding to the i-th hidden layer.
17. The data processing device according to claim 16, Characterized in that, The number of rows in the W i-1,i is positively correlated with the number of the second nodes, and the number of columns in the W i-1,i is positively correlated with the number of the second nodes.
18. The data processing device according to claim 16 or 17, Characterized in that, If the number of the second nodes changes from a first number to a second number, then in the combination of the first neural network parameter sets, the number of the first parameter subsets is correspondingly adjusted from a third number to a fourth number, and the number of the second parameter subsets is correspondingly adjusted from a fifth number to a sixth number.
19. The data processing device according to any one of claims 13-18, Characterized in that, After the processing module determines the processing result of the first data, The processing module is further used to determine a second neural network parameter set, where the second neural network parameter set is determined according to the processing result and the first neural network; The transceiver module is further used to send the second neural network parameter set.
20. The data processing device according to any one of claims 13-19, Characterized in that, The second node is determined by one or more of the following: the area where the node is located, the type of the node, the network to which the node belongs, or the user served by the node.
21. A data processing device, Characterized in that, Applied to a first device, the apparatus includes: a transceiver module and a processing module, wherein, The processing module is configured to determine a first set of neural network parameters, wherein a first neural network is determined according to a combination of the first set of neural network parameters, and the number of the first set of neural network parameters in the combination is positively correlated with the number of second nodes, and there is an adjacency relationship between the second node and the first node, and the second node and the first node are used to perform the same type of task; The transceiver module is configured to send the first set of neural network parameters.
22. The data processing apparatus according to claim 21, wherein, After the transceiver module sends the first set of neural network parameters, The transceiver module is further configured to obtain a second set of neural network parameters, wherein the second set of neural network parameters is determined according to the processing result of the first data and the first neural network.
23. The data processing apparatus according to claim 21 or 22, wherein, After the transceiver module obtains the second set of neural network parameters, The processing module is further configured to determine a fourth set of neural network parameters according to the second set of neural network parameters and a third set of neural network parameters, wherein the third set of neural network parameters is determined by the second node, and the fourth set of neural network parameters is used to update the first neural network.
24. A data processing apparatus, wherein, Applied to a first node, there is an adjacency relationship between the first node and a second node, and the first node and the second node are used to perform the same type of task, the apparatus includes: a transceiver module and a processing module, wherein, The transceiver module is configured to obtain a first set of neural network parameters; The processing module is configured to determine a first neural network according to a combination of the first set of neural network parameters, wherein the number of the first set of neural network parameters in the combination is positively correlated with the number of the second nodes; The processing module is further configured to determine a processing result of the first data through the first neural network.
25. A data processing apparatus, wherein, including: A processor, the processor is coupled to a memory; The processor is configured to execute a computer program stored in the memory, so that the apparatus executes the method according to any one of claims 1-8, or executes the method according to any one of claims 9-11, or executes the method according to claim 12.
26. A data processing apparatus, wherein, including: A processor and a memory; The memory is configured to store computer instructions, and when the processor executes the instructions, the apparatus executes the method according to any one of claims 1-8, or executes the method according to any one of claims 9-11, or executes the method according to claim 12.
27. A data processing apparatus, wherein, including: A processor and an interface circuit; wherein, The interface circuit is configured to receive code instructions and transmit them to the processor; The processor is configured to run the code instructions to perform the method according to any one of claims 1-8, or to perform the method according to any one of claims 9-11, or to perform the method according to claim 12.
28. A data processing device, characterized in that it includes a processor and a transceiver, the transceiver is used for information interaction between the device and other devices, and the processor executes program instructions to perform the method according to any one of claims 1-8, or to perform the method according to any one of claims 9-11, or to perform the method according to claim 12.
29. A computer-readable storage medium, characterized in that the computer-readable storage medium includes a computer program or instructions, and when the computer program or instructions are run on a computer, the method according to any one of claims 1-12 is executed.
30. A computer program product, characterized in that the computer program product includes: a computer program or instructions, and when the computer program or instructions are run on a computer, the method according to any one of claims 1-12 is executed.
31. A computer program, which when run on a computer, causes the method according to any one of claims 1-12 to be executed.
32. A communication system, characterized in that it includes the device according to any one of claims 13 to 20 and the device according to claims 21 to 23.
