Data processing method and device, terminal device and readable storage medium
By obtaining the environmental information of the intelligent machine, determining the communication target and adjusting the computing power and computing model according to the channel quality, the problem of difficult intelligent communication between intelligent machines is solved, and efficient and timely intelligent communication is achieved.
Patent Information
- Application Number
- CN202311782045.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-22
- Publication Date
- 2025-04-18
AI Technical Summary
The prior art is difficult to achieve effective intelligent communication between intelligent machines, mainly because intelligent machines cannot effectively judge the communication target and lack sufficient computing power and timeliness during data processing.
The communication target is determined by acquiring the environment information of the device, and the required computing power and computing model are determined based on the communication target and channel quality, and a computing power request message is sent to the corresponding device to complete the communication task.
Effective intelligent communication between intelligent machines is realized, and the timeliness of intelligent communication is met by dynamically adjusting computing power and computing models.
Smart Images

Figure CN119847721A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a data processing method, device, terminal device and readable storage medium. Background Art
[0002] In the existing communication system, semantic information is introduced into the intelligent machine communication system to establish a semantic communication system, which changes the goal of the communication system from focusing on symbols to focusing on the intrinsic meaning of information, thereby improving the ability of intelligent machines to understand the intrinsic meaning of information. Since communication systems often have specific communication goals and different communication scenarios have different communication requirements, intelligent machines cannot effectively judge the communication goals. At the same time, since the interconnection between intelligent machines will generate a large amount of data, intelligent machines often do not have sufficient computing power to process data, and usually have timeliness requirements. Therefore, it is difficult for existing communication systems to achieve effective intelligent communication between intelligent machines. Summary of the invention
[0003] The purpose of the present invention is to provide a data processing method, device, terminal device and readable storage medium to solve the problem that the communication system in the prior art is difficult to achieve effective intelligent communication between intelligent machines.
[0004] To achieve the above object, an embodiment of the present invention provides a data processing method, which is applied to a first device and includes:
[0005] Determine a communication target of a first communication task of the first device according to the acquired environment information of the first device; the communication target includes a communication scenario of the first device and communication data to be transmitted;
[0006] Determine a first computing power request message according to the communication target and the channel quality between the first device and the second device; the first computing power request message includes a first computing power required to complete the first communication task, and a category and name of a required first computing model;
[0007] Sending the first computing power request message to the second device, where the first computing power request message is used to instruct the second device to process the first communication task;
[0008] Receive a computing power response message sent by the second device.
[0009] Further, determining the first computing power request message according to the communication target and the channel quality between the first device and the second device includes:
[0010] According to the channel quality between the first device and the second device and the communication target, determining, by a second computing model, a target computing model in the first database of the first device as the first computing model;
[0011] The second calculation model is used to characterize the corresponding relationship between the channel quality and the data transmission accuracy between the first device and the second device.
[0012] Furthermore, the environmental information includes at least one of the following:
[0013] Visual sensor information, force sensor information, tactile sensor information, proximity sensor information, auditory sensor information and infrared sensor information.
[0014] Furthermore, the computing power response message includes the following:
[0015] first indication information, used to indicate a processing result of the first communication task by the second device;
[0016] second indication information, used to indicate that the first computing model does not exist in the second database of the second device, and that the second available computing power of the second device is greater than or equal to the first computing power;
[0017] third indication information, used to indicate that the first computing model exists in the second database of the second device, and that the second available computing power of the second device is less than the first computing power;
[0018] The fourth indication information is used to indicate that the first computing model does not exist in the second database and that the second available computing power of the second device is less than the first computing power.
[0019] Furthermore, when the computing power response message is the second indication information, the method further includes:
[0020] comparing a first available computing power of the first device with a second computing power required to transmit the first computing model;
[0021] When the first available computing power is greater than or equal to the second computing power, the first computing model is sent to the second device; or, when the first available computing power is less than the second computing power, the model request message is sent to a third device, and the model request message is used to instruct the third device to send the first computing model to the second device.
[0022] Further, when the computing power response message is the third indication information or the fourth indication information, the method further includes:
[0023] Sending a second computing power request message to a third device;
[0024] The second computing power request message includes the first computing power required to complete the first communication task, the category and name of the required first computing model, and the second computing power request message is used to instruct the third device to process the first communication task.
[0025] To achieve the above object, an embodiment of the present invention provides a data processing method, which is applied to a second device and includes:
[0026] Receive a first computing power request message sent by a first device; the first computing power request message includes a first computing power required to complete a first communication task, and a category and name of a required first computing model;
[0027] Determine, according to the first computing power request message, whether the first computing model exists in the second database of the second device, and whether the second available computing power of the second device is greater than the first computing power, and obtain a determination result;
[0028] Send a computing power response message to the first device according to the determination result.
[0029] Furthermore, the computing power response message includes at least one of the following:
[0030] first indication information, used to indicate a processing result of the first communication task by the second device;
[0031] second indication information, used to indicate that the first computing model does not exist in the second database, and that the second available computing power is greater than or equal to the first computing power;
[0032] third indication information, used to indicate that the first computing model does not exist in the second database, and that the second available computing power is less than the first computing power;
[0033] The fourth indication information is used to indicate that the first computing model exists in the second database and that the second available computing power is less than the first computing power.
[0034] Furthermore, when the computing power response message is the second indication information, the method further includes the following item:
[0035] receiving the first computing model sent by the first device, processing the communication task according to the first computing model, and sending the obtained processing result to the first device;
[0036] Receive the first computing model sent by the third device, process the first communication task according to the first computing model, and send the obtained processing result to the first device.
[0037] Further, when the computing power response message is the third indication information or the fourth indication information, the method further includes:
[0038] receiving a processing result for the first communication task sent by a third device;
[0039] The processing result is sent to the first device.
[0040] To achieve the above object, an embodiment of the present invention provides a data processing apparatus, applied to a first device, comprising:
[0041] A first determination module, configured to determine a communication target of a first communication task of the first device according to the acquired environment information of the first device; the communication target includes a communication scenario of the first device and communication data to be transmitted;
[0042] A second determination module is used to determine a first computing power request message according to the communication target and the channel quality between the first device and the second device; the first computing power request message includes a first computing power required to complete the first communication task, and a category and name of a required first computing model;
[0043] A first sending module, used to send the first computing power request message to the second device, where the first computing power request message is used to instruct the second device to process the first communication task;
[0044] The first receiving module is used to receive the computing power response message sent by the second device.
[0045] To achieve the above object, an embodiment of the present invention provides a data processing method, which is applied to a second device and includes:
[0046] A second receiving module is used to receive a first computing power request message sent by the first device; the first computing power request message includes a first computing power required to complete the first communication task, and a category and name of a required first computing model;
[0047] a judgment module, configured to judge, according to the first computing power request message, whether the first computing model exists in the second database of the second device, and whether the second available computing power of the second device is greater than the first computing power, to obtain a judgment result;
[0048] The second sending module is used to send a computing power response message to the first device according to the judgment result.
[0049] To achieve the above object, an embodiment of the present invention provides a mobile terminal, including a processor and a transceiver, wherein:
[0050] The processor is used to determine a communication target of a first communication task of the first device according to the acquired environment information of the first device; the communication target includes a communication scenario of the first device and communication data to be transmitted;
[0051] Determine a first computing power request message according to the communication target and the channel quality between the first device and the second device; the first computing power request message includes a first computing power required to complete the first communication task, and a category and name of a required first computing model;
[0052] The transceiver is used to send the first computing power request message to the second device, where the first computing power request message is used to instruct the second device to process the first communication task;
[0053] Receive a computing power response message sent by the second device.
[0054] To achieve the above object, an embodiment of the present invention provides a mobile terminal, including a processor and a transceiver, wherein:
[0055] The transceiver is used to receive a first computing power request message sent by a first device; the first computing power request message includes a first computing power required to complete a first communication task, and a category and name of a required first computing model;
[0056] The transceiver is further configured to cause the processor to determine, according to the first computing power request message, whether the first computing model exists in the second database of the second device, and whether the second available computing power of the second device is greater than the first computing power, to obtain a determination result;
[0057] Send a computing power response message to the first device according to the determination result.
[0058] To achieve the above-mentioned purpose, an embodiment of the present invention provides a terminal device, including a transceiver, a processor, a memory, and a program or instruction stored in the memory and executable on the processor; when the processor executes the program or instruction, the data processing method as described above is implemented.
[0059] To achieve the above objective, an embodiment of the present invention provides a readable storage medium on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps in the data processing method described above are implemented.
[0060] The beneficial effects of the above technical solution of the present invention are as follows:
[0061] The data processing method of the embodiment of the present invention can determine the communication scenario of the current first communication task of the first device and the communication data to be transmitted by acquiring the environmental information of the first device, that is, it can determine the communication target of the first device; and determine the first computing power required to complete the first communication task, the category and name of the required first computing model according to the communication target and the channel quality between the first device and the second device, so as to send the first computing power request message to the second device so that the second device processes the first communication task; and determine the processing status of the first communication task by the second device by receiving the computing power response message sent by the second device. The scheme of the present invention solves the problem that it is difficult for the communication system in the prior art to realize effective intelligent communication between intelligent machines by determining the communication scenario of the first communication task and the computing power and first computing model required to complete the first communication task. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] Figure 1 is a flow chart of a data processing method applied to a first device according to an embodiment of the present invention;
[0063] Figure 2 This is one of the logical schematic diagrams of the data processing method applied to the first device according to an embodiment of the present invention;
[0064] Figure 3 The second logical diagram of the data processing method applied to the first device according to the embodiment of the present invention;
[0065] Figure 4 The third logical diagram of the data processing method applied to the first device according to the embodiment of the present invention;
[0066] Figure 5 is a flow chart of a data processing method applied to a second device according to an embodiment of the present invention;
[0067] Figure 6 This is a flowchart of a data processing method applied to a third device according to an embodiment of the present invention;
[0068] Figure 7 The second flowchart of the data processing method applied to the third device according to the embodiment of the present invention;
[0069] Figure 8 is a logical schematic diagram of a data processing method applied to a third device according to an embodiment of the present invention;
[0070] Fig. 9 A schematic diagram of the structure of a data processing system according to an embodiment of the present invention;
[0071] Fig.10A schematic diagram of the structure of a data processing device applied to a first device according to an embodiment of the present invention;
[0072] Fig.11 is a structural schematic diagram of a data processing device applied to a second device according to an embodiment of the present invention;
[0073] Fig.12 This is one of the structural schematic diagrams of a mobile terminal according to an embodiment of the present invention;
[0074] Fig.13 This is one of the structural schematic diagrams of a mobile terminal according to an embodiment of the present invention;
[0075] Fig.14 It is a schematic diagram of the structure of a terminal device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0076] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.
[0077] It should be understood that the references to "one embodiment" or "an embodiment" throughout the specification mean that the specific features, structures, or characteristics associated with the embodiment are included in at least one embodiment of the present invention. Therefore, the references to "in one embodiment" or "in an embodiment" appearing throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0078] In various embodiments of the present invention, it should be understood that the size of the serial numbers of the following 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 invention.
[0079] Additionally, the terms "system" and "network" are often used interchangeably herein.
[0080] In the embodiments provided in the present application, it should be understood that "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean determining B only according to A, and B can also be determined according to A and / or other information.
[0081] like Figure 1 As shown, a data processing method according to an embodiment of the present invention is applied to a first device, comprising the following steps:
[0082] Step 101: determining a communication target of a first communication task of the first device according to the acquired environment information of the first device; the communication target includes a communication scenario of the first device and communication data to be transmitted;
[0083] Step 102: determining a first computing power request message according to the communication target and the channel quality between the first device and the second device; the first computing power request message includes a first computing power required to complete the first communication task, and a category and name of a required first computing model;
[0084] Step 103: Send the first computing power request message to the second device, where the first computing power request message is used to instruct the second device to process the first communication task;
[0085] Step 104: Receive a computing power response message sent by the second device.
[0086] In one embodiment of the present invention, the communication scenario of the first device is semantic communication, and the first communication task is a semantic communication task.
[0087] It should be noted that the first device is equipped with intelligent sensing devices (such as visual sensors, force sensors, tactile sensors, proximity sensors, auditory sensors, infrared sensors, etc.) to sense the surrounding environment and obtain perception information.
[0088] Optionally, the environmental information includes at least one of the following:
[0089] Visual sensor information, force sensor information, tactile sensor information, proximity sensor information, auditory sensor information and infrared sensor information.
[0090] Optionally, determining a communication target of a first communication task of the first device according to the acquired environment information of the first device includes:
[0091] Determine, according to the environmental information, a communication scenario of a first communication task (current communication task) of the first device using knowledge reasoning;
[0092] The size of communication data that the first device needs to transmit to the second device is determined according to the first communication task.
[0093] Optionally, determining the first computing power request message according to the communication target and the channel quality between the first device and the second device includes:
[0094] Determining, according to the communication target, a first computing model required to complete the first communication task;
[0095] According to the first communication target and the first computing model, a first computing power required to complete the first communication task through the first computing model is determined.
[0096] The data processing method of the embodiment of the present invention can determine the communication scenario of the current first communication task of the first device and the communication data to be transmitted by acquiring the environmental information of the first device, that is, it can determine the communication target of the first device; and determine the first computing power required to complete the first communication task, the category and name of the required first computing model according to the communication target and the channel quality between the first device and the second device, so as to send the first computing power request message to the second device so that the second device processes the first communication task; and determine the processing status of the first communication task by the second device by receiving the computing power response message sent by the second device. The scheme of the present invention solves the problem that it is difficult for the communication system in the prior art to realize effective intelligent communication between intelligent machines by determining the communication scenario of the first communication task and the computing power and first computing model required to complete the first communication task.
[0097] Optionally, determining the first computing power request message according to the communication target and the channel quality between the first device and the second device includes:
[0098] According to the channel quality between the first device and the second device and the communication target, determining, by a second computing model, a target computing model in the first database of the first device as the first computing model;
[0099] The second calculation model is used to characterize the corresponding relationship between the channel quality and the data transmission accuracy between the first device and the second device.
[0100] It should be noted that the first database of the first device is a pre-built computing model database, and the first database is built using a machine learning method by utilizing the generalization capability and flexible structure of a deep neural network.
[0101] Optionally, the first database has at least one of the following characteristics:
[0102] Information processing models (computational models) storing information in multiple modalities;
[0103] Have a hierarchical structure;
[0104] The first database may be updated according to the newly acquired information;
[0105] It can be extended using transfer learning methods to adapt to dynamic communication environments;
[0106] It is a local private knowledge base with information privacy protection measures, which stores private data that is shared with only some users.
[0107] In an embodiment of the present invention, the channel quality between the first device and the second device may be a signal-to-noise ratio between the first device and the second device.
[0108] Optionally, the second calculation model is:
[0109]
[0110] f(x) is the accuracy of information transmission, x is the signal-to-noise ratio representing the quality of the transmission channel, and α1, α2, and α3 are model parameters.
[0111] It should be noted that the second calculation model is a deformation function of the sigmoid function, which has a lower calculation difficulty and is convenient for high-order derivative analysis.
[0112] Specifically, according to the channel quality between the first device and the second device and the communication target, determining, by using a second computing model, a target computing model in a first database of the first device as the first computing model includes:
[0113] Solving the model parameters of the second model by using a regression method, thereby obtaining function curves of different parameters, and then obtaining an SNR intersection point as a dividing point of different calculation models;
[0114] The first calculation model is selected from the first database according to the communication target, the channel quality and the demarcation point.
[0115] Optionally, the computing power response message includes the following:
[0116] first indication information, used to indicate a processing result of the first communication task by the second device;
[0117] second indication information, used to indicate that the first computing model does not exist in the second database of the second device, and that the second available computing power of the second device is greater than or equal to the first computing power;
[0118] third indication information, used to indicate that the first computing model exists in the second database of the second device, and that the second available computing power of the second device is less than the first computing power;
[0119] The fourth indication information is used to indicate that the first computing model does not exist in the second database and that the second available computing power of the second device is less than the first computing power.
[0120] In one embodiment of the present invention, the second indication information may be "no, greater than", which is used to indicate that the first computing model does not exist in the second database of the second device, and the second device has sufficient second available computing power to process the first communication task;
[0121] The third indication information may be “yes, less than”, which is used to indicate that the first computing model exists in the second database of the second device, and the second device does not have sufficient second available computing power to process the first communication task;
[0122] The fourth indication information may be “no, less than”, which is used to indicate that the first computing model does not exist in the second database and the second device does not have sufficient second available computing power to process the first communication task.
[0123] Optionally, when the computing power response message is the second indication information, the method further includes:
[0124] comparing a first available computing power of the first device with a second computing power required to transmit the first computing model;
[0125] When the first available computing power is greater than or equal to the second computing power, the first computing model is sent to the second device; or, when the first available computing power is less than the second computing power, the model request message is sent to a third device, and the model request message is used to instruct the third device to send the first computing model to the second device.
[0126] Optionally, the first device and the second device are smart terminal devices, and the third device is at least one edge-side device.
[0127] In the data processing method of the embodiment of the present invention, the first device can determine whether the first computing model required for processing the first communication task exists in the second database of the second device and whether the second device has sufficient computing power to process the first communication task based on the computing power response message fed back by the second device; and, when it is determined that the first computing model does not exist in the second database and there is sufficient computing power, the first device determines whether to send the first computing model to the second device by itself or to schedule the first computing model to a third device based on its own second available computing power. The solution of the present invention can realize effective intelligent communication between devices and coordination between the first database of the first device and the second database of the second device by scheduling the first computing model by the first device itself or the third device.
[0128] Optionally, when the computing power response message is the third indication information or the fourth indication information, the method further includes:
[0129] Sending a second computing power request message to a third device;
[0130] The second computing power request message includes the first computing power required to complete the first communication task, the category and name of the required first computing model, and the second computing power request message is used to instruct the third device to process the first communication task.
[0131] In the data processing method of the embodiment of the present invention, the first device can determine whether the first computing model required for processing the first communication task exists in the second database of the second device and whether the second device has sufficient computing power to process the first communication task based on the computing power response message fed back by the second device; and if it is determined that the second device does not have sufficient computing power to process the first communication task, the first communication task is unloaded to the third device (edge side). The solution of the present invention can ensure the timeliness of communication task processing between devices and reduce the burden on terminal-side devices.
[0132] In one embodiment of the present invention, the logic of the data processing method is as follows: Figure 2 As shown:
[0133] The first device acquires (senses) the external environment to obtain the environmental information;
[0134] Determining, according to the environmental information, a communication target of a current first communication task of the first device through knowledge reasoning;
[0135] Determine, according to the communication target and the channel quality information between the first device and the second device, a first computing power and a first computing model required to complete the first communication task (i.e., determine the first computing power request message);
[0136] Send the first computing power request message to the second device.
[0137] In one embodiment of the present invention, the logic of the data processing method is as follows: Figure 3 As shown:
[0138] Determining whether the computing power response message indicates that a second available computing power of the second device is less than the first computing power;
[0139] If it is less than, the first device sends a second computing power request message to the third device to offload the first communication task to the third device;
[0140] If not less than, determining whether the computing power response message indicates that the first computing model exists in the second database;
[0141] If not, a model request message is sent to the third device to instruct the third device to send the first model to the second device;
[0142] If so, receiving a processing result of the first communication task sent by the second device.
[0143] In one embodiment of the present invention, the logic of the data processing method is as follows: Figure 4 As shown:
[0144] After receiving the computing power response message which is the second indication information (i.e., the second device has sufficient available computing power to process the first communication task, but does not have the first computing model for processing the first communication task), the first device determines whether the first available computing power is sufficient to send the first computing model to the second device;
[0145] If it is sufficient, the first computing model is sent to the second device; if it is not sufficient, a model request message is sent to the third device so that the third device sends the first computing model to the second device.
[0146] like Figure 5 As shown, an embodiment of the present invention provides a data processing method, which is applied to a second device and includes the following steps:
[0147] Step 501: receiving a first computing power request message sent by a first device; the first computing power request message includes a first computing power required to complete a first communication task, and a category and name of a required first computing model;
[0148] Step 502: According to the first computing power request message, determine whether the first computing model exists in the second database of the second device, and whether the second available computing power of the second device is greater than the first computing power, and obtain a determination result.
[0149] Step 503: Send a computing power response message to the first device according to the judgment result.
[0150] According to the data processing method of the embodiment of the present invention, the second device can determine whether there is a first computing model for processing the first communication task in the second database, and whether the second available computing power of the second device can process the first communication task by receiving the first computing power request message sent by the first device; and after obtaining the judgment result, the judgment result is fed back to the first device in the form of a computing power response message.
[0151] Optionally, the computing power response message includes at least one of the following:
[0152] first indication information, used to indicate a processing result of the first communication task by the second device;
[0153] second indication information, used to indicate that the first computing model does not exist in the second database, and that the second available computing power is greater than or equal to the first computing power;
[0154] third indication information, used to indicate that the first computing model does not exist in the second database, and that the second available computing power is less than the first computing power;
[0155] The fourth indication information is used to indicate that the first computing model exists in the second database and that the second available computing power is less than the first computing power.
[0156] Optionally, when the computing power response message is the second indication information, the method further includes the following item:
[0157] receiving the first computing model sent by the first device, processing the communication task according to the first computing model, and sending the obtained processing result to the first device;
[0158] Receive the first computing model sent by the third device, process the first communication task according to the first computing model, and send the obtained processing result to the first device.
[0159] The data processing method of the embodiment of the present invention, when the computing power response message is the second indication information, determines that the first computing model does not exist in the second database of the second device, but the second device has sufficient computing power to process the first communication task, so that the first device determines whether the first device or the third device sends the first computing model to the second device based on its own first available computing power, so that the second device completes the first communication task. The problem that the communication system in the prior art is difficult to achieve effective intelligent communication between intelligent machines is solved.
[0160] Optionally, when the computing power response message is the third indication information or the fourth indication information, the method further includes:
[0161] receiving a processing result for the first communication task sent by a third device;
[0162] The processing result is sent to the first device.
[0163] The data processing method of the embodiment of the present invention, when the computing power response message is the second indication information, determines that the second device does not have enough computing power to process the first communication task. Therefore, regardless of whether the first model exists in the second database of the second device, the second device cannot process the first communication task. The first device can send a second computing power request message to the third device according to the computing power response message, thereby offloading the processing task of the first communication task to the third device, improving the processing efficiency of the first communication task, and solving the problem that the existing communication system is difficult to achieve real-time and effective intelligent communication between intelligent machines.
[0164] like Figure 6 As shown, an embodiment of the present invention provides a data processing method, which is applied to a third device and includes the following steps:
[0165] Step 601, receiving a second computing power request message sent by a first device; the second computing power request message includes a first computing power required to complete a first communication task, and a category and name of a required first computing model;
[0166] Step 602: Process the first communication task according to the second computing power request message to obtain a processing result;
[0167] Step 603: Send the processing result to the second device.
[0168] The data processing method of the embodiment of the present invention can offload the first communication task that cannot be processed by the second device to the third device by receiving the second computing power request message sent by the first device, thereby reducing the burden on the second device and realizing effective and real-time intelligent communication between devices.
[0169] Optionally, processing the first communication task according to the second computing power request message includes:
[0170] Determine, according to the second computing power request message, a fourth device in a device cluster including a plurality of the third devices;
[0171] Processing the first communication task by the fourth device to obtain a task processing result;
[0172] The task processing result is sent to the second device.
[0173] Optionally, determining, according to the second computing power request message, a fourth device in a device cluster including a plurality of the third devices includes:
[0174] Determine a first device evaluation index value of each of the third devices in the device cluster;
[0175] The device with the highest evaluation index value of the first device among the plurality of third devices is selected as the fourth device;
[0176] Wherein, the first equipment evaluation index value is calculated by the following method:
[0177]
[0178] Wherein, m=1, 2, ..., M (M≤K), represents the mth third device in the device cluster; R 1 represents the benefit obtained by the mth third device sending the task processing result to the second device; R 2 represents the time consumption benefit of the mth third device sending the task processing result to the second device; R 3 represents the distance consumption benefit of the mth third device sending the task processing result to the second device; a+b+c=1 is R 1 , R 2 , R 3 The proportion of attention.
[0179] like Figure 7 As shown, an embodiment of the present invention provides a data processing method, which is applied to a third device and includes the following steps:
[0180] Step 701, receiving a model request message sent by a first device;
[0181] Step 702: Send a first computing model required to complete the first communication task to the second device according to the model request message.
[0182] Optionally, sending, according to the model request message, a first computing model required to complete the first communication task to the second device includes:
[0183] Determine, according to the model request message, a fifth device in a device cluster including a plurality of the third devices;
[0184] The first computing model required to complete the first communication task is sent to the second device through the fifth device.
[0185] Optionally, determining, according to the model request message, a fifth device in a device cluster including a plurality of the third devices comprises:
[0186] Determine a second device evaluation index value of each of the third devices in the device cluster;
[0187] The device with the highest evaluation index value of the second device among the plurality of third devices is selected as the fifth device;
[0188] The second device evaluation index value is calculated by the following method:
[0189]
[0190] Wherein, n=1, 2, ..., N (N≤L), represents the nth third device in the device cluster; T 1 represents the benefit obtained by the computing power required for the nth third device to send the required model to the second device; T 2 T represents the time consumption benefit required for the nth third device to send the required model to the second device; 3 represents the distance consumption benefit required for the nth third device to send the required model to the second device; α+β+γ=1 is T 1 , T 2 , T 3 The proportion of attention.
[0191] The logic diagram of the data processing method of the embodiment of the present invention is as follows Figure 8 As shown:
[0192] The third device processes the first communication task according to the received second computing power request message sent by the first device, and sends the obtained task processing result to the second device; or
[0193] The third device sends the first computing model to the second device according to the received model request message sent by the first device.
[0194] In one embodiment of the present invention, a data processing system, such as Fig. 9 As shown,
[0195] The first device and the second device both have a database for storing a calculation model, and the first device has the first database, and the second device has the second database;
[0196] The first device and the second device can mutually confirm the computing model and computing power;
[0197] The third device is a device cluster composed of at least one device, and each of the third devices also has a third database for storing calculation models, and the third database can store all calculation models in the first database and the second database through data synchronization.
[0198] like Fig.10 As shown, an embodiment of the present invention provides a data processing apparatus 1000, which is applied to a first device and includes:
[0199] A first determination module 1001 is used to determine a communication target of a first communication task of the first device according to the acquired environment information of the first device; the communication target includes a communication scenario of the first device and communication data to be transmitted;
[0200] The second determination module 1002 is used to determine a first computing power request message according to the communication target and the channel quality between the first device and the second device; the first computing power request message includes a first computing power required to complete the first communication task, and a category and name of a required first computing model;
[0201] A first sending module 1003 is used to send the first computing power request message to the second device, where the first computing power request message is used to instruct the second device to process the first communication task;
[0202] The first receiving module 1004 is used to receive the computing power response message sent by the second device.
[0203] like Fig.11 As shown, an embodiment of the present invention provides a data processing method 1100, which is applied to a second device, including:
[0204] The second receiving module 1101 is used to receive a first computing power request message sent by the first device; the first computing power request message includes the first computing power required to complete the first communication task, and the category and name of the required first computing model;
[0205] A determination module 1102 is configured to determine, according to the first computing power request message, whether the first computing model exists in the second database of the second device, and whether the second available computing power of the second device is greater than the first computing power, to obtain a determination result;
[0206] The second sending module 1103 is used to send a computing power response message to the first device according to the judgment result.
[0207] like Fig.12 As shown, a mobile terminal 1200 according to an embodiment of the present invention includes a processor 1210 and a transceiver 1220, wherein:
[0208] The processor is used to determine a communication target of a first communication task of the first device according to the acquired environment information of the first device; the communication target includes a communication scenario of the first device and communication data to be transmitted;
[0209] Determine a first computing power request message according to the communication target and the channel quality between the first device and the second device; the first computing power request message includes a first computing power required to complete the first communication task, and a category and name of a required first computing model;
[0210] The transceiver is used to send the first computing power request message to the second device, where the first computing power request message is used to instruct the second device to process the first communication task;
[0211] Receive a computing power response message sent by the second device.
[0212] like Fig.13 As shown, a mobile terminal 1300 according to an embodiment of the present invention includes a processor 1310 and a transceiver 1320, wherein:
[0213] The transceiver is used to receive a first computing power request message sent by a first device; the first computing power request message includes a first computing power required to complete a first communication task, and a category and name of a required first computing model;
[0214] The transceiver is further configured to cause the processor to determine, according to the first computing power request message, whether the first computing model exists in the second database of the second device, and whether the second available computing power of the second device is greater than the first computing power, to obtain a determination result;
[0215] Send a computing power response message to the first device according to the determination result.
[0216] A terminal device according to another embodiment of the present invention, such as Fig.14 As shown, it includes a transceiver 1410, a processor 1400, a memory 1420, and a program or instruction stored in the memory 1420 and executable on the processor 1400; when the processor 1400 executes the program or instruction, the above-mentioned data processing method is implemented.
[0217] The transceiver 1410 is used to receive and send data under the control of the processor 1400 .
[0218] Among them, Fig.14In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 1400 and various circuits of memory represented by memory 1420 are linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 1410 may be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium. For different user devices, the user interface 1430 may also be an interface capable of externally and internally connecting required devices, and the connected devices include but are not limited to a keypad, a display, a speaker, a microphone, a joystick, and the like.
[0219] The processor 1400 is responsible for managing the bus architecture and general processing, and the memory 1420 can store data used by the processor 1400 when performing operations.
[0220] A readable storage medium according to an embodiment of the present invention stores a program or instruction thereon. When the program or instruction is executed by a processor, the steps in the data processing method described above are implemented and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0221] The processor is the processor in the terminal device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0222] It should be further explained that the terminals described in this specification include but are not limited to smart phones, tablet computers, etc., and many of the functional components described are called modules in order to more particularly emphasize the independence of their implementation methods.
[0223] In the embodiment of the present invention, module can be implemented with software so that it can be executed by various types of processors. For example, an executable code module of an identification can include one or more physical or logical blocks of computer instructions, for example, it can be constructed as an object, process or function. Nevertheless, the executable code of the identified module does not need to be physically located together, but can include different instructions stored in different positions, and when these instructions are logically combined together, it constitutes a module and realizes the specified purpose of the module.
[0224] In fact, executable code module can be a single instruction or many instructions, and can even be distributed on a plurality of different code segments, distributed among different programs, and distributed across a plurality of memory devices. Similarly, operating data can be identified in the module, and can be implemented and organized in the data structure of any appropriate type according to any appropriate form. The operating data can be collected as a single data set, or can be distributed in different locations (including on different storage devices), and can only be present on a system or network as an electronic signal at least in part.
[0225] When a module can be implemented by software, considering the level of existing hardware technology, a person skilled in the art can build a corresponding hardware circuit to implement the corresponding function of the module that can be implemented by software without considering the cost. The hardware circuit includes a conventional very large scale integration (VLSI) circuit or gate array and existing semiconductors such as logic chips, transistors, or other discrete components. The module can also be implemented by a programmable hardware device, such as a field programmable gate array, a programmable array logic, a programmable logic device, etc.
[0226] The above exemplary embodiments are described with reference to the accompanying drawings, and many different forms and embodiments are feasible without departing from the spirit and teachings of the present invention. Therefore, the present invention should not be constructed as a limitation of the exemplary embodiments proposed herein. More specifically, these exemplary embodiments are provided so that the present invention will be perfect and complete, and the scope of the present invention will be conveyed to those who are familiar with the technology. In these figures, the component sizes and relative sizes may be exaggerated for clarity. The terms used here are only based on the purpose of describing specific exemplary embodiments and are not intended to be limiting. As used herein, unless the text clearly indicates otherwise, the singular forms "one", "an" and "the" are intended to include these multiple forms. It will be further understood that the terms "including" and / or "comprising" when used in this specification indicate the presence of the features, integers, steps, operations, components and / or components, but do not exclude the presence or increase of one or more other features, integers, steps, operations, components, components and / or their groups. Unless otherwise indicated, when stated, a range of values includes the upper and lower limits of that range and any subranges therebetween.
[0227] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A data processing method, applied to a first device, characterized in that: include: Determining a communication target of a first communication task of the first device according to the acquired environment information of the first device; The communication target includes the communication scenario of the first device and the communication data to be transmitted; Determine a first computing power request message according to the communication target and the channel quality between the first device and the second device; the first computing power request message includes a first computing power required to complete the first communication task, and a category and name of a required first computing model; Sending the first computing power request message to the second device, where the first computing power request message is used to instruct the second device to process the first communication task; Receive a computing power response message sent by the second device.
2. The data processing method according to claim 1, characterized in that: The determining the first computing power request message according to the communication target and the channel quality between the first device and the second device includes: According to the channel quality between the first device and the second device and the communication target, determining, by a second computing model, a target computing model in the first database of the first device as the first computing model; The second calculation model is used to characterize the corresponding relationship between the channel quality and the data transmission accuracy between the first device and the second device.
3. The data processing method according to claim 1, characterized in that: The environmental information includes at least one of the following: Visual sensor information, force sensor information, tactile sensor information, proximity sensor information, auditory sensor information and infrared sensor information.
4. The data processing method according to claim 1, characterized in that: The computing power response message includes the following: first indication information, used to indicate a processing result of the first communication task by the second device; second indication information, used to indicate that the first computing model does not exist in the second database of the second device, and that the second available computing power of the second device is greater than or equal to the first computing power; third indication information, used to indicate that the first computing model exists in the second database of the second device, and that the second available computing power of the second device is less than the first computing power; The fourth indication information is used to indicate that the first computing model does not exist in the second database and that the second available computing power of the second device is less than the first computing power.
5. The data processing method according to claim 4, characterized in that: In a case where the computing power response message is the second indication information, the method further includes: comparing a first available computing power of the first device with a second computing power required to transmit the first computing model; When the first available computing power is greater than or equal to the second computing power, the first computing model is sent to the second device; or, when the first available computing power is less than the second computing power, the model request message is sent to a third device, and the model request message is used to instruct the third device to send the first computing model to the second device.
6. The data processing method according to claim 4, characterized in that: In a case where the computing power response message is the third indication information or the fourth indication information, the method further includes: Sending a second computing power request message to a third device; The second computing power request message includes the first computing power required to complete the first communication task, the category and name of the required first computing model, and the second computing power request message is used to instruct the third device to process the first communication task.
7. A data processing method, applied to a second device, characterized in that: include: Receive a first computing power request message sent by a first device; The first computing power request message includes the first computing power required to complete the first communication task, and the category and name of the required first computing model; Determine, according to the first computing power request message, whether the first computing model exists in the second database of the second device, and whether the second available computing power of the second device is greater than the first computing power, and obtain a determination result; Send a computing power response message to the first device according to the determination result.
8. The data processing method according to claim 7, characterized in that: The computing power response message includes at least one of the following: first indication information, used to indicate a processing result of the first communication task by the second device; second indication information, used to indicate that the first computing model does not exist in the second database, and that the second available computing power is greater than or equal to the first computing power; third indication information, used to indicate that the first computing model does not exist in the second database, and that the second available computing power is less than the first computing power; The fourth indication information is used to indicate that the first computing model exists in the second database and that the second available computing power is less than the first computing power.
9. The data processing method according to claim 8, characterized in that: When the computing power response message is the second indication information, the method further includes the following: receiving the first computing model sent by the first device, processing the communication task according to the first computing model, and sending the obtained processing result to the first device; Receive the first computing model sent by the third device, process the first communication task according to the first computing model, and send the obtained processing result to the first device.
10. The data processing method according to claim 8, characterized in that: In a case where the computing power response message is the third indication information or the fourth indication information, the method further includes: receiving a processing result for the first communication task sent by a third device; The processing result is sent to the first device.
11. A data processing device, applied to a first device, characterized in that: include: A first determining module, configured to determine a communication target of a first communication task of the first device according to the acquired environment information of the first device; The communication target includes the communication scenario of the first device and the communication data to be transmitted; A second determination module, configured to determine a first computing power request message according to the communication target and a channel quality between the first device and the second device; The first computing power request message includes the first computing power required to complete the first communication task, and the category and name of the required first computing model; A first sending module, used to send the first computing power request message to the second device, where the first computing power request message is used to instruct the second device to process the first communication task; The first receiving module is used to receive the computing power response message sent by the second device.
12. A data processing method, applied to a second device, characterized in that: include: A second receiving module, configured to receive a first computing power request message sent by a first device; The first computing power request message includes the first computing power required to complete the first communication task, and the category and name of the required first computing model; a judgment module, configured to judge, according to the first computing power request message, whether the first computing model exists in the second database of the second device, and whether the second available computing power of the second device is greater than the first computing power, to obtain a judgment result; The second sending module is used to send a computing power response message to the first device according to the judgment result.
13. A mobile terminal, characterized in that: include: transceivers and processors; The processor is used to determine a communication target of a first communication task of the first device according to the acquired environment information of the first device; The communication target includes the communication scenario of the first device and the communication data to be transmitted; Determine a first computing power request message according to the communication target and the channel quality between the first device and the second device; the first computing power request message includes a first computing power required to complete the first communication task, and a category and name of a required first computing model; The transceiver is used to send the first computing power request message to the second device, where the first computing power request message is used to instruct the second device to process the first communication task; Receive a computing power response message sent by the second device.
14. A mobile terminal, characterized in that: include: transceivers and processors; The transceiver is used to receive a first computing power request message sent by a first device; The first computing power request message includes the first computing power required to complete the first communication task, and the category and name of the required first computing model; The transceiver is further configured to cause the processor to determine, according to the first computing power request message, whether the first computing model exists in the second database of the second device, and whether the second available computing power of the second device is greater than the first computing power, to obtain a determination result; Send a computing power response message to the first device according to the determination result.
15. A terminal device, comprising: A transceiver, a processor, a memory, and a program or instruction stored in the memory and executable on the processor; characterized in that when the processor executes the program or instruction, the data processing method as described in any one of claims 1 to 6 is implemented; or, when the processor executes the program or instruction, the data processing method as described in any one of claims 7 to 10 is implemented.
16. A readable storage medium having a program or instruction stored thereon, characterized in that: When the program or instruction is executed by the processor, the steps in the data processing method as described in any one of claims 1 to 6 are implemented; or, when the program or instruction is executed by the processor, the steps in the data processing method as described in any one of claims 7 to 10 are implemented.